diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000000..619bbfa9fd03 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,51 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +Thanks for stopping by to let us know something could be better! + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. + +Please run down the following list and make sure you've tried the usual "quick fixes": + + - Search the issues already opened: https://github.com/googleapis/google-cloud-java/issues + - Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform + +If you are still having issues, please include as much information as possible: + +#### Environment details + +1. Specify the API at the beginning of the title. For example, "[vision]: ..."). + General, Core, and Other are also allowed as types +2. OS type and version: +3. Java version: +4. Version(s): + +#### Steps to reproduce + + 1. ? + 2. ? + +#### Code example + +```java +// example +``` + +#### Stack trace +``` +Any relevant stacktrace here. +``` + +#### External references such as API reference guides + +- ? + +#### Any additional information below + + +Following these steps guarantees the quickest resolution possible. + +Thanks! diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000000..603b90133b62 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,4 @@ +contact_links: + - name: Google Cloud Support + url: https://cloud.google.com/support/ + about: If you have a support contract with Google, please use the Google Cloud Support portal. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000000..754e30c68a00 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,21 @@ +--- +name: Feature request +about: Suggest an idea for this library + +--- + +Thanks for stopping by to let us know something could be better! + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. + +**Is your feature request related to a problem? Please describe.** +What the problem is. Example: I'm always frustrated when [...] + +**Describe the solution you'd like** +What you want to happen. + +**Describe alternatives you've considered** +Any alternative solutions or features you've considered. + +**Additional context** +Any other context or screenshots about the feature request. diff --git a/.github/workflows/shared_dependencies.yaml b/.github/workflows/shared_dependencies.yaml new file mode 100644 index 000000000000..daa13c47efc5 --- /dev/null +++ b/.github/workflows/shared_dependencies.yaml @@ -0,0 +1,33 @@ +on: + push: + branches: + - main + pull_request: + paths: + - 'java-shared-dependencies/**' +name: shared-dependencies version check +jobs: + upper-bound-check: + name: Shared Dependencies BOM upper-bound check + runs-on: ubuntu-latest + if: github.repository_owner == 'googleapis' + steps: + - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 + - uses: actions/setup-java@v1 + with: + java-version: 11 + - run: java -version + - name: Install Sharee Dependencies BOM locally + run: | + mvn -B -V -ntp install --also-make --projects \ + java-shared-dependencies,java-shared-dependencies/first-party-dependencies,java-shared-dependencies/third-party-dependencies + - name: Install java-core (part of java-shared-dependencies) locally + # Because java-core uses shared dependencies BOM, this comes later + run: | + mvn -B -V -ntp install -DskipTests --also-make -f java-core + - name: Check the BOM content satisfies the upper-bound-check test case + run: mvn -B -V -ntp verify -Dcheckstyle.skip + working-directory: java-shared-dependencies/upper-bound-check \ No newline at end of file diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 75958eef0ec6..5f198fc95a32 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -64,6 +64,34 @@ case ${JOB_TYPE} in echo "No Integration Tests to run" fi ;; + graalvm-aiplatform-presubmit) + module_list=("java-aiplatform") + printf "Running GraalVM checks for:\n%s\n" "${module_list}" + setup_cloud "$module_list" + install_modules + run_graalvm_tests "$module_list" + ;; + graalvm-compute-presubmit) + module_list=("java-compute") + printf "Running GraalVM checks for:\n%s\n" "${module_list}" + setup_cloud "$module_list" + install_modules + run_graalvm_tests "$module_list" + ;; + graalvm17-aiplatform-presubmit) + module_list=("java-aiplatform") + printf "Running GraalVM checks for:\n%s\n" "${module_list}" + setup_cloud "$module_list" + install_modules + run_graalvm_tests "$module_list" + ;; + graalvm17-compute-presubmit) + module_list=("java-compute") + printf "Running GraalVM checks for:\n%s\n" "${module_list}" + setup_cloud "$module_list" + install_modules + run_graalvm_tests "$module_list" + ;; graalvm) generate_graalvm_modules_list if [ ! -z "${module_list}" ]; then diff --git a/.kokoro/common.sh b/.kokoro/common.sh index 0d8284e13494..13f50907a107 100644 --- a/.kokoro/common.sh +++ b/.kokoro/common.sh @@ -102,7 +102,8 @@ function generate_modified_modules_list() { modified_module_list=() # If either parent pom.xml is touched, run ITs on all the modules parent_pom_modified=$(echo "${modified_files}" | grep -E '^google-cloud-(pom|jar)-parent/pom.xml$' || true) - if [[ (-n $parent_pom_modified) || ("${TEST_ALL_MODULES}" == "true") ]]; then + shared_dependencies_modified=$(echo "${modified_files}" | grep -E '^java-shared-dependencies' || true) + if [[ (-n $parent_pom_modified) || (-n $shared_dependencies_modified) || ("${TEST_ALL_MODULES}" == "true") ]]; then modified_module_list=(${maven_modules[*]}) echo "Testing the entire monorepo" else diff --git a/.kokoro/presubmit/graalvm-native-17-aiplatform.cfg b/.kokoro/presubmit/graalvm-native-17-aiplatform.cfg index 829adf3b4619..e259d3772b91 100644 --- a/.kokoro/presubmit/graalvm-native-17-aiplatform.cfg +++ b/.kokoro/presubmit/graalvm-native-17-aiplatform.cfg @@ -8,7 +8,7 @@ env_vars: { env_vars: { key: "JOB_TYPE" - value: "graalvm17" + value: "graalvm17-aiplatform-presubmit" } # TODO: remove this after we've migrated all tests and scripts diff --git a/.kokoro/presubmit/graalvm-native-17-compute.cfg b/.kokoro/presubmit/graalvm-native-17-compute.cfg index b2018f8c04e2..3bc7e3264bf1 100644 --- a/.kokoro/presubmit/graalvm-native-17-compute.cfg +++ b/.kokoro/presubmit/graalvm-native-17-compute.cfg @@ -8,7 +8,7 @@ env_vars: { env_vars: { key: "JOB_TYPE" - value: "graalvm17" + value: "graalvm17-compute-presubmit" } # TODO: remove this after we've migrated all tests and scripts diff --git a/.kokoro/presubmit/graalvm-native-aiplatform.cfg b/.kokoro/presubmit/graalvm-native-aiplatform.cfg index de47a07ea9c0..21de2221e148 100644 --- a/.kokoro/presubmit/graalvm-native-aiplatform.cfg +++ b/.kokoro/presubmit/graalvm-native-aiplatform.cfg @@ -8,7 +8,7 @@ env_vars: { env_vars: { key: "JOB_TYPE" - value: "graalvm" + value: "graalvm-aiplatform-presubmit" } # TODO: remove this after we've migrated all tests and scripts diff --git a/.kokoro/presubmit/graalvm-native-compute.cfg b/.kokoro/presubmit/graalvm-native-compute.cfg index b2018f8c04e2..c1dc3dce0c4a 100644 --- a/.kokoro/presubmit/graalvm-native-compute.cfg +++ b/.kokoro/presubmit/graalvm-native-compute.cfg @@ -3,12 +3,12 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.0" } env_vars: { key: "JOB_TYPE" - value: "graalvm17" + value: "graalvm-compute-presubmit" } # TODO: remove this after we've migrated all tests and scripts diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 96f1cd94983c..4c313f9349ec 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.3.0" + ".": "1.4.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 423fee18b523..4d577e822a95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,50 @@ # Changelog +## [1.4.0](https://github.com/googleapis/google-cloud-java/compare/v1.3.0...v1.4.0) (2023-02-03) + + +### ⚠ BREAKING CHANGES + +* [networkconnectivity] remove policy based routing API ([#9036](https://github.com/googleapis/google-cloud-java/issues/9036)) +* [vmwareengine] resource proto messages moved to new file ([#9044](https://github.com/googleapis/google-cloud-java/issues/9044)) + +### Features + +* [aiplatform] add service_networking.proto to aiplatform v1 ([#9073](https://github.com/googleapis/google-cloud-java/issues/9073)) ([3cebec3](https://github.com/googleapis/google-cloud-java/commit/3cebec3f6958dbf611473df55947b3d33d2ea6db)) +* [dialogflow-cx] added JSON_PACKAGE field to ExportAgentRequest ([#9025](https://github.com/googleapis/google-cloud-java/issues/9025)) ([10bb0cb](https://github.com/googleapis/google-cloud-java/commit/10bb0cb494f64b864408ede46834e1046351370c)) +* [documentai] added advanced_ocr_options field in OcrConfig ([#9042](https://github.com/googleapis/google-cloud-java/issues/9042)) ([f845147](https://github.com/googleapis/google-cloud-java/commit/f8451473516eb45bdd7251d3533c28da4a31e652)) +* [gke-multi-cloud] Added support for Azure workload identity federation ([#9055](https://github.com/googleapis/google-cloud-java/issues/9055)) ([374fd84](https://github.com/googleapis/google-cloud-java/commit/374fd84892fa30c77bb61c0eb50d02358c5cbcc1)) + + +### Bug Fixes + +* [certificatemanager] workaround crashes in gRPC for C++ ([#9033](https://github.com/googleapis/google-cloud-java/issues/9033)) ([2bf4ad6](https://github.com/googleapis/google-cloud-java/commit/2bf4ad6a6f59eec0b6944617721aa94352b25b0b)) +* [networkconnectivity] remove policy based routing API ([#9036](https://github.com/googleapis/google-cloud-java/issues/9036)) ([20c36b2](https://github.com/googleapis/google-cloud-java/commit/20c36b2df369868f5a07db98a40e8d2a7432f6e7)) +* [tpu] proper http bindings for v2 API ([#9035](https://github.com/googleapis/google-cloud-java/issues/9035)) ([ec05dad](https://github.com/googleapis/google-cloud-java/commit/ec05dad77119cf97adcfe1a7d067d2591e234b51)) +* **deps:** update dependency com.fasterxml.jackson:jackson-bom to v2.14.2 ([#9057](https://github.com/googleapis/google-cloud-java/issues/9057)) ([05c4183](https://github.com/googleapis/google-cloud-java/commit/05c4183a4151d82a472a5f1c289d8006e5deb999)) +* **deps:** update dependency com.google.api-client:google-api-client-bom to v2.2.0 ([#9058](https://github.com/googleapis/google-cloud-java/issues/9058)) ([6f02472](https://github.com/googleapis/google-cloud-java/commit/6f024724263bda464947ba1e377c157f5e88d1e9)) +* **deps:** update dependency com.google.api:gapic-generator-java-bom to v2.15.0 ([#9060](https://github.com/googleapis/google-cloud-java/issues/9060)) ([77d7442](https://github.com/googleapis/google-cloud-java/commit/77d7442a8d315c7826bbca2a0da8a8dce379a929)) +* **deps:** update dependency com.google.apis:google-api-services-cloudresourcemanager to v1-rev20230129-2.0.0 ([#9049](https://github.com/googleapis/google-cloud-java/issues/9049)) ([c56075c](https://github.com/googleapis/google-cloud-java/commit/c56075c32040b95b90508d8fcf09a44161255dd0)) +* **deps:** update dependency com.google.apis:google-api-services-dns to v1-rev20230126-2.0.0 ([#9047](https://github.com/googleapis/google-cloud-java/issues/9047)) ([1500a14](https://github.com/googleapis/google-cloud-java/commit/1500a144c3ee1f62701eb12ef8831fc07add06df)) +* **deps:** update dependency com.google.cloud:google-cloud-storage to v2.17.2 ([#9023](https://github.com/googleapis/google-cloud-java/issues/9023)) ([c82e099](https://github.com/googleapis/google-cloud-java/commit/c82e0999d622ca4a536a94b2d9bd1bb014f54abc)) +* **deps:** update dependency org.checkerframework:checker-qual to v3.30.0 ([#9063](https://github.com/googleapis/google-cloud-java/issues/9063)) ([30ebd0d](https://github.com/googleapis/google-cloud-java/commit/30ebd0dd699dc5499d2990a3935a97aff84ce171)) +* Outdated versioning info in README.md ([#979](https://github.com/googleapis/google-cloud-java/issues/979)) ([b92c43b](https://github.com/googleapis/google-cloud-java/commit/b92c43b0124f05431f547aeebdc7860a45accae3)) + + +### Documentation + +* [cloudoptimization] clarification for deprecated fields ([#9062](https://github.com/googleapis/google-cloud-java/issues/9062)) ([8816cde](https://github.com/googleapis/google-cloud-java/commit/8816cde0b23ef5e64adfbf75796ca0f17e537703)) +* [cloudtrace] Remove html formatting (cleanup) ([#9027](https://github.com/googleapis/google-cloud-java/issues/9027)) ([9591b89](https://github.com/googleapis/google-cloud-java/commit/9591b891f6fe7ad47f3a94e45da1b7823539d86a)) +* [container] Add clarification on whether `NodePool.version` is a required field ([#9074](https://github.com/googleapis/google-cloud-java/issues/9074)) ([2bccdf3](https://github.com/googleapis/google-cloud-java/commit/2bccdf3a5f68f27cf5ba914e6b5b0c00202cd6af)) +* [container] clarified wording around the NodePoolUpdateStrategy default behavior ([#9046](https://github.com/googleapis/google-cloud-java/issues/9046)) ([55e4de1](https://github.com/googleapis/google-cloud-java/commit/55e4de106b8f6fc41a706248ad3817d564367777)) +* [container] Improve `version` documentation for `NodePool` ([#9061](https://github.com/googleapis/google-cloud-java/issues/9061)) ([dd109d8](https://github.com/googleapis/google-cloud-java/commit/dd109d865193bfeb809cdcdd9a5043edac253e91)) +* [dataplex] Improvements to DataScan API documentation ([#9054](https://github.com/googleapis/google-cloud-java/issues/9054)) ([2396d77](https://github.com/googleapis/google-cloud-java/commit/2396d77e8d2f93169f9e04b8235f20c7560e3c04)) +* [dialogflow] Reformat some comments and documentation ([#9024](https://github.com/googleapis/google-cloud-java/issues/9024)) ([2c1bd38](https://github.com/googleapis/google-cloud-java/commit/2c1bd383046e895f30a4c720ebbef7a7c78c9e0c)) +* [speech] Clarified boost usage ([#9032](https://github.com/googleapis/google-cloud-java/issues/9032)) ([fd273d6](https://github.com/googleapis/google-cloud-java/commit/fd273d671446aedbb7662c48222f2b573cbf837a)) +* [vmwareengine] resource proto messages moved to new file ([#9044](https://github.com/googleapis/google-cloud-java/issues/9044)) ([32bd679](https://github.com/googleapis/google-cloud-java/commit/32bd679cb746824c37a8c9c408f430e3728fd0d0)) +* README.md to point to Cloud site ([#9034](https://github.com/googleapis/google-cloud-java/issues/9034)) ([67a0c22](https://github.com/googleapis/google-cloud-java/commit/67a0c22e4c00c1dec0f26ab170fa070898d52708)) +* **ruby:** [datalineage] fixed formatting for several literal expressions ([#9026](https://github.com/googleapis/google-cloud-java/issues/9026)) ([7d96c4e](https://github.com/googleapis/google-cloud-java/commit/7d96c4ed28ed2b34d61f0503dae4cea3b13bbd82)) + ## [1.3.0](https://github.com/googleapis/google-cloud-java/compare/v1.2.0...v1.3.0) (2023-01-23) diff --git a/README.md b/README.md index 330d3efdabf2..8344155075c7 100644 --- a/README.md +++ b/README.md @@ -405,7 +405,7 @@ ClusterControllerClient clusterControllerClient = ClusterControllerClient.create If you are using more than one Google Cloud client library, we recommend you use one of our Bill of Material (BOM) artifacts to help manage dependency versions. For more information, -see https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM. +see [Using the Cloud Client Libraries](https://cloud.google.com/java/docs/bom). ## Java Versions diff --git a/changelog.json b/changelog.json new file mode 100644 index 000000000000..16e2ebb5c3a1 --- /dev/null +++ b/changelog.json @@ -0,0 +1,280 @@ +{ + "repository": "googleapis/google-cloud-java", + "entries": [ + { + "changes": [ + { + "type": "docs", + "sha": "2c1bd383046e895f30a4c720ebbef7a7c78c9e0c", + "message": "[dialogflow] Reformat some comments and documentation", + "issues": [ + "9024" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-dialogflow", + "id": "8e6af2ff-350e-4a8c-afb7-faf31cfb776f", + "createTime": "2023-02-03T16:27:23.199Z" + }, + { + "changes": [ + { + "type": "feat", + "sha": "374fd84892fa30c77bb61c0eb50d02358c5cbcc1", + "message": "[gke-multi-cloud] Added support for Azure workload identity federation", + "issues": [ + "9055" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-gke-multi-cloud", + "id": "ffa29c13-edb0-4b10-886f-f66825901c1c", + "createTime": "2023-02-03T16:27:23.199Z" + }, + { + "changes": [ + { + "type": "docs", + "sha": "2396d77e8d2f93169f9e04b8235f20c7560e3c04", + "message": "[dataplex] Improvements to DataScan API documentation", + "issues": [ + "9054" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-dataplex", + "id": "8e1da2a8-2a07-41ca-a600-717879e2af73", + "createTime": "2023-02-03T16:27:23.199Z" + }, + { + "changes": [ + { + "type": "docs", + "sha": "32bd679cb746824c37a8c9c408f430e3728fd0d0", + "message": "[vmwareengine] resource proto messages moved to new file", + "issues": [ + "9044" + ], + "breakingChangeNote": "[vmwareengine] resource proto messages moved to new file ([#9044](https://github.com/googleapis/google-cloud-java/issues/9044))" + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-vmwareengine", + "id": "c69bceec-784a-4ae9-87ee-5d41bf58e745", + "createTime": "2023-02-03T16:27:23.199Z" + }, + { + "changes": [ + { + "type": "feat", + "sha": "f8451473516eb45bdd7251d3533c28da4a31e652", + "message": "[documentai] added advanced_ocr_options field in OcrConfig", + "issues": [ + "9042" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-document-ai", + "id": "5f817d23-415e-42cc-ba5a-4ee2908644aa", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "fix", + "sha": "20c36b2df369868f5a07db98a40e8d2a7432f6e7", + "message": "[networkconnectivity] remove policy based routing API", + "issues": [ + "9036" + ], + "breakingChangeNote": "[networkconnectivity] remove policy based routing API ([#9036](https://github.com/googleapis/google-cloud-java/issues/9036))" + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-networkconnectivity", + "id": "7d3da345-0f21-405a-a8ab-8f226265fdb8", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "fix", + "sha": "ec05dad77119cf97adcfe1a7d067d2591e234b51", + "message": "[tpu] proper http bindings for v2 API", + "issues": [ + "9035" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-tpu", + "id": "e13f52c6-4479-4910-86c6-8ccb0d16bf8e", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "fix", + "sha": "2bf4ad6a6f59eec0b6944617721aa94352b25b0b", + "message": "[certificatemanager] workaround crashes in gRPC for C++", + "issues": [ + "9033" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-certificate-manager", + "id": "4c354a46-d819-46c5-8087-7fc63656dd03", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "docs", + "sha": "fd273d671446aedbb7662c48222f2b573cbf837a", + "message": "[speech] Clarified boost usage", + "issues": [ + "9032" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-speech", + "id": "14b28276-bb46-404d-a39d-6283b7bf899f", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "docs", + "sha": "9591b891f6fe7ad47f3a94e45da1b7823539d86a", + "message": "[cloudtrace] Remove html formatting (cleanup)", + "issues": [ + "9027" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-trace", + "id": "ad2bf9cb-9eb3-464b-897b-cad49526a703", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "docs", + "sha": "7d96c4ed28ed2b34d61f0503dae4cea3b13bbd82", + "message": "[datalineage] fixed formatting for several literal expressions", + "issues": [ + "9026" + ], + "scope": "ruby" + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-datalineage", + "id": "f476efd7-115a-46d4-9995-02a57c206533", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "feat", + "sha": "10bb0cb494f64b864408ede46834e1046351370c", + "message": "[dialogflow-cx] added JSON_PACKAGE field to ExportAgentRequest", + "issues": [ + "9025" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-dialogflow-cx", + "id": "268bd46b-8d2e-472a-b7b6-e096cf87a655", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "docs", + "sha": "8816cde0b23ef5e64adfbf75796ca0f17e537703", + "message": "[cloudoptimization] clarification for deprecated fields", + "issues": [ + "9062" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-optimization", + "id": "ec738669-45b6-420a-9099-a9b5fe36540f", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "docs", + "sha": "2bccdf3a5f68f27cf5ba914e6b5b0c00202cd6af", + "message": "[container] Add clarification on whether `NodePool.version` is a required field", + "issues": [ + "9074" + ] + }, + { + "type": "docs", + "sha": "dd109d865193bfeb809cdcdd9a5043edac253e91", + "message": "[container] Improve `version` documentation for `NodePool`", + "issues": [ + "9061" + ] + }, + { + "type": "docs", + "sha": "55e4de106b8f6fc41a706248ad3817d564367777", + "message": "[container] clarified wording around the NodePoolUpdateStrategy default behavior", + "issues": [ + "9046" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-container", + "id": "616b4777-7daa-41da-a003-6b7c4e8d5abd", + "createTime": "2023-02-03T16:27:23.198Z" + }, + { + "changes": [ + { + "type": "feat", + "sha": "3cebec3f6958dbf611473df55947b3d33d2ea6db", + "message": "[aiplatform] add service_networking.proto to aiplatform v1", + "issues": [ + "9073" + ] + } + ], + "version": "1.4.0", + "language": "JAVA", + "artifactName": "com.google.cloud:google-cloud-aiplatform", + "id": "9cd1ac26-7485-4b2c-9bd9-cd35f08f9a32", + "createTime": "2023-02-03T16:27:23.198Z" + } + ], + "updateTime": "2023-02-03T16:27:23.199Z" +} \ No newline at end of file diff --git a/gapic-libraries-bom/pom.xml b/gapic-libraries-bom/pom.xml index fde7eeca556a..52d9ce510c00 100644 --- a/gapic-libraries-bom/pom.xml +++ b/gapic-libraries-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud gapic-libraries-bom pom - 1.3.0 + 1.4.0 Google Cloud Java BOM BOM for the libraries in google-cloud-java repository. Users should not @@ -15,7 +15,7 @@ google-cloud-pom-parent com.google.cloud - 1.3.0 + 1.4.0 ../google-cloud-pom-parent/pom.xml @@ -24,990 +24,997 @@ com.google.cloud google-cloud-accessapproval-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-identity-accesscontextmanager-bom - 1.10.0 + 1.11.0 pom import com.google.cloud google-cloud-aiplatform-bom - 3.10.0 + 3.11.0 pom import com.google.analytics google-analytics-admin-bom - 0.19.0 + 0.20.0 pom import com.google.analytics google-analytics-data-bom - 0.20.0 + 0.21.0 pom import com.google.cloud google-cloud-analyticshub-bom - 0.6.0 + 0.7.0 pom import com.google.cloud google-cloud-api-gateway-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-apigee-connect-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-apigee-registry-bom - 0.9.0 + 0.10.0 pom import com.google.cloud google-cloud-apikeys-bom - 0.7.0 + 0.8.0 pom import com.google.cloud google-cloud-appengine-admin-bom - 2.9.0 + 2.10.0 pom import com.google.area120 google-area120-tables-bom - 0.13.0 + 0.14.0 pom import com.google.cloud google-cloud-artifact-registry-bom - 1.8.0 + 1.9.0 pom import com.google.cloud google-cloud-asset-bom - 3.13.0 + 3.14.0 pom import com.google.cloud google-cloud-assured-workloads-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-automl-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-bare-metal-solution-bom - 0.9.0 + 0.10.0 pom import com.google.cloud google-cloud-batch-bom - 0.9.0 + 0.10.0 pom import com.google.cloud google-cloud-beyondcorp-appconnections-bom - 0.7.0 + 0.8.0 pom import com.google.cloud google-cloud-beyondcorp-appconnectors-bom - 0.7.0 + 0.8.0 pom import com.google.cloud google-cloud-beyondcorp-appgateways-bom - 0.7.0 + 0.8.0 pom import com.google.cloud google-cloud-beyondcorp-clientconnectorservices-bom - 0.7.0 + 0.8.0 pom import com.google.cloud google-cloud-beyondcorp-clientgateways-bom - 0.7.0 + 0.8.0 pom import com.google.cloud google-cloud-bigqueryconnection-bom - 2.11.0 + 2.12.0 pom import com.google.cloud google-cloud-bigquery-data-exchange-bom - 2.4.0 + 2.5.0 pom import com.google.cloud google-cloud-bigquerydatapolicy-bom - 0.6.0 + 0.7.0 pom import com.google.cloud google-cloud-bigquerydatatransfer-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-bigquerymigration-bom - 0.12.0 + 0.13.0 pom import com.google.cloud google-cloud-bigqueryreservation-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-cloud-billingbudgets-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-billing-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-binary-authorization-bom - 1.8.0 + 1.9.0 pom import com.google.cloud google-cloud-certificate-manager-bom - 0.12.0 + 0.13.0 pom import com.google.cloud google-cloud-channel-bom - 3.13.0 + 3.14.0 pom import com.google.cloud google-cloud-build-bom - 3.11.0 + 3.12.0 pom import com.google.cloud google-cloud-cloudcommerceconsumerprocurement-bom - 0.7.0 + 0.8.0 pom import com.google.cloud google-cloud-compute-bom - 1.19.0 + 1.20.0 pom import com.google.cloud google-cloud-contact-center-insights-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-containeranalysis-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-cloud-container-bom - 2.12.0 + 2.13.0 pom import com.google.cloud google-cloud-contentwarehouse-bom - 0.5.0 + 0.6.0 pom import com.google.cloud google-cloud-datacatalog-bom - 1.15.0 + 1.16.0 pom import com.google.cloud google-cloud-dataflow-bom - 0.13.0 + 0.14.0 pom import com.google.cloud google-cloud-dataform-bom - 0.8.0 + 0.9.0 pom import com.google.cloud google-cloud-data-fusion-bom - 1.9.0 + 1.10.0 pom import com.google.cloud google-cloud-datalabeling-bom - 0.129.0 + 0.130.0 pom import com.google.cloud google-cloud-datalineage-bom - 0.1.0 + 0.2.0 pom import com.google.cloud google-cloud-dataplex-bom - 1.7.0 + 1.8.0 pom import com.google.cloud google-cloud-dataproc-bom - 4.6.0 + 4.7.0 pom import com.google.cloud google-cloud-dataproc-metastore-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-cloud-datastream-bom - 1.8.0 + 1.9.0 pom import com.google.cloud google-cloud-debugger-client-bom - 1.9.0 + 1.10.0 pom import com.google.cloud google-cloud-deploy-bom - 1.7.0 + 1.8.0 pom import com.google.cloud google-cloud-dialogflow-cx-bom - 0.20.0 + 0.21.0 pom import com.google.cloud google-cloud-dialogflow-bom - 4.15.0 + 4.16.0 pom import com.google.cloud google-cloud-discoveryengine-bom - 0.5.0 + 0.6.0 pom import com.google.cloud google-cloud-distributedcloudedge-bom - 0.6.0 + 0.7.0 pom import com.google.cloud google-cloud-dlp-bom - 3.13.0 + 3.14.0 pom import com.google.cloud google-cloud-dms-bom - 2.8.0 + 2.9.0 pom import com.google.cloud google-cloud-document-ai-bom - 2.13.0 + 2.14.0 pom import com.google.cloud google-cloud-domains-bom - 1.6.0 + 1.7.0 pom import com.google.cloud google-cloud-enterpriseknowledgegraph-bom - 0.5.0 + 0.6.0 pom import com.google.cloud google-cloud-errorreporting-bom - 0.130.0-beta + 0.131.0-beta pom import com.google.cloud google-cloud-essential-contacts-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-eventarc-bom - 1.9.0 + 1.10.0 pom import com.google.cloud google-cloud-eventarc-publishing-bom - 0.9.0 + 0.10.0 pom import com.google.cloud google-cloud-filestore-bom - 1.10.0 + 1.11.0 pom import com.google.cloud google-cloud-functions-bom - 2.11.0 + 2.12.0 pom import com.google.cloud google-cloud-game-servers-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-gke-backup-bom - 0.8.0 + 0.9.0 pom import com.google.cloud google-cloud-gke-connect-gateway-bom - 0.10.0 + 0.11.0 pom import com.google.cloud google-cloud-gkehub-bom - 1.9.0 + 1.10.0 pom import com.google.cloud google-cloud-gke-multi-cloud-bom - 0.8.0 + 0.9.0 pom import com.google.cloud google-cloud-gsuite-addons-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-iam-admin-bom - 3.4.0 + 3.5.0 pom import com.google.cloud google-cloud-iamcredentials-bom - 2.9.0 + 2.10.0 + pom + import + + + com.google.cloud + google-iam-policy-bom + 1.8.0 pom import com.google.cloud google-cloud-ids-bom - 1.8.0 + 1.9.0 pom import com.google.cloud google-cloud-iot-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-kms-bom - 2.12.0 + 2.13.0 pom import com.google.cloud google-cloud-language-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-cloud-life-sciences-bom - 0.11.0 + 0.12.0 pom import com.google.cloud google-cloud-managed-identities-bom - 1.7.0 + 1.8.0 pom import com.google.cloud google-cloud-mediatranslation-bom - 0.15.0 + 0.16.0 pom import com.google.cloud google-cloud-memcache-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-monitoring-dashboard-bom - 2.11.0 + 2.12.0 pom import com.google.cloud google-cloud-monitoring-bom - 3.10.0 + 3.11.0 pom import com.google.cloud google-cloud-monitoring-metricsscope-bom - 0.3.0 + 0.4.0 pom import com.google.cloud google-cloud-networkconnectivity-bom - 1.8.0 + 1.9.0 pom import com.google.cloud google-cloud-network-management-bom - 1.10.0 + 1.11.0 pom import com.google.cloud google-cloud-network-security-bom - 0.12.0 + 0.13.0 pom import com.google.cloud google-cloud-notebooks-bom - 1.7.0 + 1.8.0 pom import com.google.cloud google-cloud-optimization-bom - 1.7.0 + 1.8.0 pom import com.google.cloud google-cloud-orchestration-airflow-bom - 1.9.0 + 1.10.0 pom import com.google.cloud google-cloud-orgpolicy-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-os-config-bom - 2.11.0 + 2.12.0 pom import com.google.cloud google-cloud-os-login-bom - 2.8.0 + 2.9.0 pom import com.google.cloud google-cloud-phishingprotection-bom - 0.40.0 + 0.41.0 pom import com.google.cloud google-cloud-policy-troubleshooter-bom - 1.8.0 + 1.9.0 pom import com.google.cloud google-cloud-private-catalog-bom - 0.11.0 + 0.12.0 pom import com.google.cloud google-cloud-profiler-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-publicca-bom - 0.6.0 + 0.7.0 pom import com.google.cloud google-cloud-recaptchaenterprise-bom - 3.6.0 + 3.7.0 pom import com.google.cloud google-cloud-recommendations-ai-bom - 0.16.0 + 0.17.0 pom import com.google.cloud google-cloud-recommender-bom - 2.11.0 + 2.12.0 pom import com.google.cloud google-cloud-redis-bom - 2.12.0 + 2.13.0 pom import com.google.cloud google-cloud-resourcemanager-bom - 1.11.0 + 1.12.0 pom import com.google.cloud google-cloud-resource-settings-bom - 1.9.0 + 1.10.0 pom import com.google.cloud google-cloud-retail-bom - 2.11.0 + 2.12.0 pom import com.google.cloud google-cloud-run-bom - 0.9.0 + 0.10.0 pom import com.google.cloud google-cloud-scheduler-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-secretmanager-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-securitycenter-bom - 2.17.0 + 2.18.0 pom import com.google.cloud google-cloud-securitycenter-settings-bom - 0.12.0 + 0.13.0 pom import com.google.cloud google-cloud-security-private-ca-bom - 2.11.0 + 2.12.0 pom import com.google.cloud google-cloud-service-control-bom - 1.9.0 + 1.10.0 pom import com.google.cloud google-cloud-servicedirectory-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-cloud-service-management-bom - 3.7.0 + 3.8.0 pom import com.google.cloud google-cloud-service-usage-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-shell-bom - 2.8.0 + 2.9.0 pom import com.google.cloud google-cloud-speech-bom - 4.4.0 + 4.5.0 pom import com.google.cloud google-cloud-storage-transfer-bom - 1.9.0 + 1.10.0 pom import com.google.cloud google-cloud-talent-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-cloud-tasks-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-texttospeech-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-cloud-tpu-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-cloud-trace-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-translate-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-video-intelligence-bom - 2.8.0 + 2.9.0 pom import com.google.cloud google-cloud-live-stream-bom - 0.11.0 + 0.12.0 pom import com.google.cloud google-cloud-video-stitcher-bom - 0.9.0 + 0.10.0 pom import com.google.cloud google-cloud-video-transcoder-bom - 1.8.0 + 1.9.0 pom import com.google.cloud google-cloud-vision-bom - 3.7.0 + 3.8.0 pom import com.google.cloud google-cloud-vmmigration-bom - 1.9.0 + 1.10.0 pom import com.google.cloud google-cloud-vmwareengine-bom - 0.3.0 + 0.4.0 pom import com.google.cloud google-cloud-vpcaccess-bom - 2.10.0 + 2.11.0 pom import com.google.cloud google-cloud-webrisk-bom - 2.8.0 + 2.9.0 pom import com.google.cloud google-cloud-websecurityscanner-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-workflow-executions-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-workflows-bom - 2.9.0 + 2.10.0 pom import com.google.cloud google-cloud-dns - 2.7.0 + 2.8.0 io.grafeas grafeas - 2.10.0 + 2.11.0 com.google.cloud google-cloud-notification - 0.127.0-beta + 0.128.0-beta diff --git a/generation/check_non_release_please_versions.sh b/generation/check_non_release_please_versions.sh index 206ba13d601f..5c45738ded2c 100755 --- a/generation/check_non_release_please_versions.sh +++ b/generation/check_non_release_please_versions.sh @@ -4,7 +4,10 @@ set -e violations=0 for pomFile in $(find . -mindepth 2 -name pom.xml | sort ); do - if [[ "${pomFile}" =~ .*google-cloud-jar-parent.* ]] || [[ "${pomFile}" =~ .*google-cloud-pom-parent.* ]] ||[[ "${pomFile}" =~ .*CoverageAggregator.* ]]; then + if [[ "${pomFile}" =~ .*google-cloud-jar-parent.* ]] || \ + [[ "${pomFile}" =~ .*google-cloud-pom-parent.* ]] || \ + [[ "${pomFile}" =~ .*CoverageAggregator.* ]] || \ + [[ "${pomFile}" =~ .*java-shared-dependencies*. ]]; then continue fi if [[ "${pomFile}" =~ .*owl-bot-postprocessor.* ]]; then diff --git a/generation/consolidate_config.sh b/generation/consolidate_config.sh index 64087822040c..8b5c5d0aac58 100755 --- a/generation/consolidate_config.sh +++ b/generation/consolidate_config.sh @@ -10,7 +10,9 @@ function runRegexOnPoms { perl_command=$1 search=$2 for pomFile in $(find . -mindepth 2 -maxdepth 3 -name pom.xml |sort --dictionary-order); do - if [[ $pomFile =~ .*google-cloud-jar-parent.* ]] || [[ $pomFile =~ .*google-cloud-pom-parent.* ]]; then + if [[ $pomFile =~ .*google-cloud-jar-parent.* ]] || \ + [[ $pomFile =~ .*google-cloud-pom-parent.* ]] || \ + [[ $pomFile =~ .*java-shared-dependencies.* ]]; then continue fi diff --git a/generation/generate_gapic_bom.sh b/generation/generate_gapic_bom.sh index 00a6baf69c33..d008389883b0 100755 --- a/generation/generate_gapic_bom.sh +++ b/generation/generate_gapic_bom.sh @@ -7,7 +7,7 @@ set -e bom_lines="" # For modules that produce BOMs for bom_directory in $(find . -maxdepth 3 -name 'google-*-bom' | sort --dictionary-order); do - if [[ "${bom_directory}" = *gapic-libraries-bom ]]; then + if [[ "${bom_directory}" = *gapic-libraries-bom ]] || [[ "${bom_directory}" = *google-cloud-core* ]]; then continue fi repo_metadata="${bom_directory}/../.repo-metadata.json" diff --git a/generation/merge_repository.sh b/generation/merge_repository.sh index 8a74a97deabb..02b2f11d009e 100755 --- a/generation/merge_repository.sh +++ b/generation/merge_repository.sh @@ -1,6 +1,20 @@ #!/bin/bash +# Merging repository to google-cloud-java using git-filter-repo. # https://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories +# +# Usage: +# cd google-cloud-java +# # edit the repository to merge. +# vim generation/repo.txt +# # use your account +# export USERNAME=XXX +# # Run the script +# ./generation/merge_repository.sh +# # Create a pull request. Ensure you MERGE the pull request. Not 'squash'. +# cd generation/monorepo/google-cloud-java-merged +# git checkout -b merge_repositories +# gh pr create --title 'chore: merge new repository into google-cloud-java' --body '' set -xe @@ -33,23 +47,25 @@ do git filter-repo --to-subdirectory-filter ${service} # setup owlbot files correctly to match monorepo configuration - cp ${service}/.github/.OwlBot.yaml ${service}/.OwlBot.yaml - rm ${service}/.github/.OwlBot.lock.yaml - rm ${service}/.github/.OwlBot.yaml - sed -i.bak '/docker/d' ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak - sed -i.bak '/image/d' ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak - - # In monorepo, the staging directory structure tells the destination module to - # which the OwlBot Java postprocessor copies the files. - sed -i.bak "s|owl-bot-staging|owl-bot-staging/${service}|" ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak - - text=$(grep '^.*api_shortname.*' ${service}/.repo-metadata.json) - text=$(echo "$text" | sed 's/\"//g; s/\,//g; s/^[[:space:]]*//' ) - text=${text/api_shortname/api-name} - echo -e "\n"$text>> ${service}/.OwlBot.yaml - git add . - git config --add secrets.allowed "dest.*src" - git commit -am "chore: setup owlbot configuration" + if [ -r "${service}/.github/.OwlBot.yaml" ]; then + cp ${service}/.github/.OwlBot.yaml ${service}/.OwlBot.yaml + rm ${service}/.github/.OwlBot.lock.yaml + rm ${service}/.github/.OwlBot.yaml + sed -i.bak '/docker/d' ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak + sed -i.bak '/image/d' ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak + + # In monorepo, the staging directory structure tells the destination module to + # which the OwlBot Java postprocessor copies the files. + sed -i.bak "s|owl-bot-staging|owl-bot-staging/${service}|" ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak + + text=$(grep '^.*api_shortname.*' ${service}/.repo-metadata.json) + text=$(echo "$text" | sed 's/\"//g; s/\,//g; s/^[[:space:]]*//' ) + text=${text/api_shortname/api-name} + echo -e "\n"$text>> ${service}/.OwlBot.yaml + git add . + git config --add secrets.allowed "dest.*src" + git commit -am "chore: setup owlbot configuration" + fi cd "../${merged_repository}" git remote add ${service} ../${service} @@ -158,4 +174,4 @@ git commit -m 'split repo - diff versions.txt' --allow-empty git add --all || true git commit -am 'split repo - diff everything else' --allow-empty -cd ../.. \ No newline at end of file +cd ../.. diff --git a/generation/set_parent_pom.sh b/generation/set_parent_pom.sh index 9396c7b6be7c..db187e575fd4 100755 --- a/generation/set_parent_pom.sh +++ b/generation/set_parent_pom.sh @@ -24,7 +24,10 @@ function replaceParent { # Then, apply the values as the parent pom of each module for module in $(find . -mindepth 2 -maxdepth 2 -name pom.xml | sort --dictionary-order | xargs dirname); do # example value of module is "./java-accessapproval" - if [[ "${module}" = *gapic-libraries-bom ]] || [[ "${module}" = *google-cloud-jar-parent ]] || [[ "${module}" = *google-cloud-pom-parent ]]; then + if [[ "${module}" = *gapic-libraries-bom ]] || \ + [[ "${module}" = *google-cloud-jar-parent ]] || \ + [[ "${module}" = *google-cloud-pom-parent ]] || \ + [[ "${module}" = *java-shared-dependencies ]]; then continue fi echo "Processing module $module" diff --git a/google-cloud-jar-parent/pom.xml b/google-cloud-jar-parent/pom.xml index 980aabe5b9e4..0ef25904e36e 100644 --- a/google-cloud-jar-parent/pom.xml +++ b/google-cloud-jar-parent/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-jar-parent com.google.cloud - 1.3.0 + 1.4.0 pom Google Cloud JAR Parent @@ -15,7 +15,7 @@ com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../google-cloud-pom-parent/pom.xml @@ -27,7 +27,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.2 + 3.2.0 pom import @@ -46,12 +46,12 @@ com.google.cloud google-cloud-storage - 2.17.1 + 2.17.2 com.google.apis google-api-services-dns - v1-rev20221110-2.0.0 + v1-rev20230126-2.0.0 com.google.apis @@ -61,7 +61,7 @@ com.google.apis google-api-services-cloudresourcemanager - v1-rev20220807-2.0.0 + v1-rev20230129-2.0.0 com.google.apis diff --git a/google-cloud-pom-parent/pom.xml b/google-cloud-pom-parent/pom.xml index d37eadcb52ba..e4e609c03bd4 100644 --- a/google-cloud-pom-parent/pom.xml +++ b/google-cloud-pom-parent/pom.xml @@ -5,7 +5,7 @@ 4.0.0 google-cloud-pom-parent com.google.cloud - 1.3.0 + 1.4.0 pom Google Cloud POM Parent https://github.com/googleapis/google-cloud-java diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md index 68998f8fde05..e213e0a32ba6 100644 --- a/java-accessapproval/README.md +++ b/java-accessapproval/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-accessapproval - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-accessapproval:2.9.0' +implementation 'com.google.cloud:google-cloud-accessapproval:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.10.0" ``` ## Authentication diff --git a/java-accessapproval/google-cloud-accessapproval-bom/pom.xml b/java-accessapproval/google-cloud-accessapproval-bom/pom.xml index 622427e70926..a9cf4e826d64 100644 --- a/java-accessapproval/google-cloud-accessapproval-bom/pom.xml +++ b/java-accessapproval/google-cloud-accessapproval-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-accessapproval-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-accessapproval - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-accessapproval-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-accessapproval-v1 - 2.10.0 + 2.11.0 diff --git a/java-accessapproval/google-cloud-accessapproval/pom.xml b/java-accessapproval/google-cloud-accessapproval/pom.xml index 2fff3609ff31..a656f852857a 100644 --- a/java-accessapproval/google-cloud-accessapproval/pom.xml +++ b/java-accessapproval/google-cloud-accessapproval/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-accessapproval - 2.10.0 + 2.11.0 jar Google Cloud Access Approval Java idiomatic client for Google Cloud accessapproval com.google.cloud google-cloud-accessapproval-parent - 2.10.0 + 2.11.0 google-cloud-accessapproval diff --git a/java-accessapproval/grpc-google-cloud-accessapproval-v1/pom.xml b/java-accessapproval/grpc-google-cloud-accessapproval-v1/pom.xml index 6ca76bac8032..31479b6b4621 100644 --- a/java-accessapproval/grpc-google-cloud-accessapproval-v1/pom.xml +++ b/java-accessapproval/grpc-google-cloud-accessapproval-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-accessapproval-v1 - 2.10.0 + 2.11.0 grpc-google-cloud-accessapproval-v1 GRPC library for grpc-google-cloud-accessapproval-v1 com.google.cloud google-cloud-accessapproval-parent - 2.10.0 + 2.11.0 diff --git a/java-accessapproval/pom.xml b/java-accessapproval/pom.xml index c11cac82866a..219125a8b2ad 100644 --- a/java-accessapproval/pom.xml +++ b/java-accessapproval/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-accessapproval-parent pom - 2.10.0 + 2.11.0 Google Cloud Access Approval Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-accessapproval-v1 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-accessapproval-v1 - 2.10.0 + 2.11.0 com.google.cloud google-cloud-accessapproval - 2.10.0 + 2.11.0 diff --git a/java-accessapproval/proto-google-cloud-accessapproval-v1/pom.xml b/java-accessapproval/proto-google-cloud-accessapproval-v1/pom.xml index ef4649a77f20..ef99ccc8ace1 100644 --- a/java-accessapproval/proto-google-cloud-accessapproval-v1/pom.xml +++ b/java-accessapproval/proto-google-cloud-accessapproval-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-accessapproval-v1 - 2.10.0 + 2.11.0 proto-google-cloud-accessapproval-v1beta1 PROTO library for proto-google-cloud-accessapproval-v1 com.google.cloud google-cloud-accessapproval-parent - 2.10.0 + 2.11.0 diff --git a/java-accessapproval/proto-google-cloud-accessapproval-v1/src/main/java/com/google/cloud/accessapproval/v1/AccessApprovalProto.java b/java-accessapproval/proto-google-cloud-accessapproval-v1/src/main/java/com/google/cloud/accessapproval/v1/AccessApprovalProto.java index 21ffefc91a7c..fdf2dcb4e68a 100644 --- a/java-accessapproval/proto-google-cloud-accessapproval-v1/src/main/java/com/google/cloud/accessapproval/v1/AccessApprovalProto.java +++ b/java-accessapproval/proto-google-cloud-accessapproval-v1/src/main/java/com/google/cloud/accessapproval/v1/AccessApprovalProto.java @@ -295,13 +295,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "count}Z+\022)/v1/{name=organizations/*/serv" + "iceAccount}\332A\004name\032Q\312A\035accessapproval.go" + "ogleapis.com\322A.https://www.googleapis.co" - + "m/auth/cloud-platformB\357\001\n\"com.google.clo" + + "m/auth/cloud-platformB\355\001\n\"com.google.clo" + "ud.accessapproval.v1B\023AccessApprovalProt" - + "oP\001ZLgoogle.golang.org/genproto/googleap" - + "is/cloud/accessapproval/v1;accessapprova" - + "l\252\002\036Google.Cloud.AccessApproval.V1\312\002\036Goo" - + "gle\\Cloud\\AccessApproval\\V1\352\002!Google::Cl" - + "oud::AccessApproval::V1b\006proto3" + + "oP\001ZJcloud.google.com/go/accessapproval/" + + "apiv1/accessapprovalpb;accessapprovalpb\252" + + "\002\036Google.Cloud.AccessApproval.V1\312\002\036Googl" + + "e\\Cloud\\AccessApproval\\V1\352\002!Google::Clou" + + "d::AccessApproval::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-accessapproval/proto-google-cloud-accessapproval-v1/src/main/proto/google/cloud/accessapproval/v1/accessapproval.proto b/java-accessapproval/proto-google-cloud-accessapproval-v1/src/main/proto/google/cloud/accessapproval/v1/accessapproval.proto index adeccff45a76..fae4db7a34cd 100644 --- a/java-accessapproval/proto-google-cloud-accessapproval-v1/src/main/proto/google/cloud/accessapproval/v1/accessapproval.proto +++ b/java-accessapproval/proto-google-cloud-accessapproval-v1/src/main/proto/google/cloud/accessapproval/v1/accessapproval.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AccessApproval.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/accessapproval/v1;accessapproval"; +option go_package = "cloud.google.com/go/accessapproval/apiv1/accessapprovalpb;accessapprovalpb"; option java_multiple_files = true; option java_outer_classname = "AccessApprovalProto"; option java_package = "com.google.cloud.accessapproval.v1"; diff --git a/java-accesscontextmanager/google-identity-accesscontextmanager-bom/pom.xml b/java-accesscontextmanager/google-identity-accesscontextmanager-bom/pom.xml index bb663f7d0425..c4443499a2d0 100644 --- a/java-accesscontextmanager/google-identity-accesscontextmanager-bom/pom.xml +++ b/java-accesscontextmanager/google-identity-accesscontextmanager-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-identity-accesscontextmanager-bom - 1.10.0 + 1.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,22 +27,22 @@ com.google.cloud google-identity-accesscontextmanager - 1.10.0 + 1.11.0 com.google.api.grpc grpc-google-identity-accesscontextmanager-v1 - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-identity-accesscontextmanager-v1 - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-identity-accesscontextmanager-type - 1.10.0 + 1.11.0 diff --git a/java-accesscontextmanager/google-identity-accesscontextmanager/pom.xml b/java-accesscontextmanager/google-identity-accesscontextmanager/pom.xml index 94c351d04700..42873161ba9b 100644 --- a/java-accesscontextmanager/google-identity-accesscontextmanager/pom.xml +++ b/java-accesscontextmanager/google-identity-accesscontextmanager/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-identity-accesscontextmanager - 1.10.0 + 1.11.0 jar Google Identity Access Context Manager Identity Access Context Manager n/a com.google.cloud google-identity-accesscontextmanager-parent - 1.10.0 + 1.11.0 google-identity-accesscontextmanager diff --git a/java-accesscontextmanager/grpc-google-identity-accesscontextmanager-v1/pom.xml b/java-accesscontextmanager/grpc-google-identity-accesscontextmanager-v1/pom.xml index 0251040abe2d..c3c51484e8e2 100644 --- a/java-accesscontextmanager/grpc-google-identity-accesscontextmanager-v1/pom.xml +++ b/java-accesscontextmanager/grpc-google-identity-accesscontextmanager-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-identity-accesscontextmanager-v1 - 1.10.0 + 1.11.0 grpc-google-identity-accesscontextmanager-v1 GRPC library for google-identity-accesscontextmanager com.google.cloud google-identity-accesscontextmanager-parent - 1.10.0 + 1.11.0 diff --git a/java-accesscontextmanager/pom.xml b/java-accesscontextmanager/pom.xml index fc386bc5e989..b8e941b2aba9 100644 --- a/java-accesscontextmanager/pom.xml +++ b/java-accesscontextmanager/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-identity-accesscontextmanager-parent pom - 1.10.0 + 1.11.0 Google Identity Access Context Manager Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -30,22 +30,22 @@ com.google.api.grpc proto-google-identity-accesscontextmanager-type - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-identity-accesscontextmanager-v1 - 1.10.0 + 1.11.0 com.google.api.grpc grpc-google-identity-accesscontextmanager-v1 - 1.10.0 + 1.11.0 com.google.cloud google-identity-accesscontextmanager - 1.10.0 + 1.11.0 diff --git a/java-accesscontextmanager/proto-google-identity-accesscontextmanager-type/pom.xml b/java-accesscontextmanager/proto-google-identity-accesscontextmanager-type/pom.xml index f6b8e63e6fea..b9fede81780e 100644 --- a/java-accesscontextmanager/proto-google-identity-accesscontextmanager-type/pom.xml +++ b/java-accesscontextmanager/proto-google-identity-accesscontextmanager-type/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-identity-accesscontextmanager-type - 1.10.0 + 1.11.0 proto-google-identity-accesscontextmanager-type PROTO library for proto-google-identity-accesscontextmanager-type com.google.cloud google-identity-accesscontextmanager-parent - 1.10.0 + 1.11.0 diff --git a/java-accesscontextmanager/proto-google-identity-accesscontextmanager-v1/pom.xml b/java-accesscontextmanager/proto-google-identity-accesscontextmanager-v1/pom.xml index c82fd8dbfa01..58b9575ac4ad 100644 --- a/java-accesscontextmanager/proto-google-identity-accesscontextmanager-v1/pom.xml +++ b/java-accesscontextmanager/proto-google-identity-accesscontextmanager-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-identity-accesscontextmanager-v1 - 1.10.0 + 1.11.0 proto-google-identity-accesscontextmanager-v1 PROTO library for proto-google-identity-accesscontextmanager-v1 com.google.cloud google-identity-accesscontextmanager-parent - 1.10.0 + 1.11.0 @@ -37,7 +37,7 @@ com.google.api.grpc proto-google-identity-accesscontextmanager-type - 1.10.0 + 1.11.0 diff --git a/java-aiplatform/README.md b/java-aiplatform/README.md index 15815136a095..4fbe8c7164f9 100644 --- a/java-aiplatform/README.md +++ b/java-aiplatform/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-aiplatform - 3.9.0 + 3.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-aiplatform:3.9.0' +implementation 'com.google.cloud:google-cloud-aiplatform:3.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.10.0" ``` ## Authentication diff --git a/java-aiplatform/google-cloud-aiplatform-bom/pom.xml b/java-aiplatform/google-cloud-aiplatform-bom/pom.xml index bfb89e36af3c..1b6fd93ea4dc 100644 --- a/java-aiplatform/google-cloud-aiplatform-bom/pom.xml +++ b/java-aiplatform/google-cloud-aiplatform-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-aiplatform-bom - 3.10.0 + 3.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-aiplatform - 3.10.0 + 3.11.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 3.10.0 + 3.11.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.26.0 + 0.27.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 3.10.0 + 3.11.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.26.0 + 0.27.0 diff --git a/java-aiplatform/google-cloud-aiplatform/pom.xml b/java-aiplatform/google-cloud-aiplatform/pom.xml index 54c9b1a9c2fb..5f1213047250 100644 --- a/java-aiplatform/google-cloud-aiplatform/pom.xml +++ b/java-aiplatform/google-cloud-aiplatform/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-aiplatform - 3.10.0 + 3.11.0 jar Google Cloud Vertex AI Java client for Google Cloud Vertex AI services. com.google.cloud google-cloud-aiplatform-parent - 3.10.0 + 3.11.0 google-cloud-aiplatform diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java index 4484658f1ce4..bfe3e6fc7cb3 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java @@ -2329,6 +2329,973 @@ public final void cancelHyperparameterTuningJob(CancelHyperparameterTuningJobReq return stub.cancelHyperparameterTuningJobCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   NasJob nasJob = NasJob.newBuilder().build();
+   *   NasJob response = jobServiceClient.createNasJob(parent, nasJob);
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location to create the NasJob in. Format: + * `projects/{project}/locations/{location}` + * @param nasJob Required. The NasJob to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasJob createNasJob(LocationName parent, NasJob nasJob) { + CreateNasJobRequest request = + CreateNasJobRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setNasJob(nasJob) + .build(); + return createNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   NasJob nasJob = NasJob.newBuilder().build();
+   *   NasJob response = jobServiceClient.createNasJob(parent, nasJob);
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location to create the NasJob in. Format: + * `projects/{project}/locations/{location}` + * @param nasJob Required. The NasJob to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasJob createNasJob(String parent, NasJob nasJob) { + CreateNasJobRequest request = + CreateNasJobRequest.newBuilder().setParent(parent).setNasJob(nasJob).build(); + return createNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   CreateNasJobRequest request =
+   *       CreateNasJobRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setNasJob(NasJob.newBuilder().build())
+   *           .build();
+   *   NasJob response = jobServiceClient.createNasJob(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 NasJob createNasJob(CreateNasJobRequest request) { + return createNasJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   CreateNasJobRequest request =
+   *       CreateNasJobRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setNasJob(NasJob.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.createNasJobCallable().futureCall(request);
+   *   // Do something.
+   *   NasJob response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createNasJobCallable() { + return stub.createNasJobCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]");
+   *   NasJob response = jobServiceClient.getNasJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasJob getNasJob(NasJobName name) { + GetNasJobRequest request = + GetNasJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString();
+   *   NasJob response = jobServiceClient.getNasJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasJob getNasJob(String name) { + GetNasJobRequest request = GetNasJobRequest.newBuilder().setName(name).build(); + return getNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   GetNasJobRequest request =
+   *       GetNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   NasJob response = jobServiceClient.getNasJob(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 NasJob getNasJob(GetNasJobRequest request) { + return getNasJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   GetNasJobRequest request =
+   *       GetNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.getNasJobCallable().futureCall(request);
+   *   // Do something.
+   *   NasJob response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getNasJobCallable() { + return stub.getNasJobCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (NasJob element : jobServiceClient.listNasJobs(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location to list the NasJobs from. Format: + * `projects/{project}/locations/{location}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNasJobsPagedResponse listNasJobs(LocationName parent) { + ListNasJobsRequest request = + ListNasJobsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listNasJobs(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   for (NasJob element : jobServiceClient.listNasJobs(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location to list the NasJobs from. Format: + * `projects/{project}/locations/{location}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNasJobsPagedResponse listNasJobs(String parent) { + ListNasJobsRequest request = ListNasJobsRequest.newBuilder().setParent(parent).build(); + return listNasJobs(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasJobsRequest request =
+   *       ListNasJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setReadMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   for (NasJob element : jobServiceClient.listNasJobs(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 ListNasJobsPagedResponse listNasJobs(ListNasJobsRequest request) { + return listNasJobsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasJobsRequest request =
+   *       ListNasJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setReadMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.listNasJobsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (NasJob element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listNasJobsPagedCallable() { + return stub.listNasJobsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasJobsRequest request =
+   *       ListNasJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setReadMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   while (true) {
+   *     ListNasJobsResponse response = jobServiceClient.listNasJobsCallable().call(request);
+   *     for (NasJob element : response.getNasJobsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listNasJobsCallable() { + return stub.listNasJobsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]");
+   *   jobServiceClient.deleteNasJobAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob resource to be deleted. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteNasJobAsync(NasJobName name) { + DeleteNasJobRequest request = + DeleteNasJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return deleteNasJobAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString();
+   *   jobServiceClient.deleteNasJobAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob resource to be deleted. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteNasJobAsync(String name) { + DeleteNasJobRequest request = DeleteNasJobRequest.newBuilder().setName(name).build(); + return deleteNasJobAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   DeleteNasJobRequest request =
+   *       DeleteNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   jobServiceClient.deleteNasJobAsync(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 deleteNasJobAsync( + DeleteNasJobRequest request) { + return deleteNasJobOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   DeleteNasJobRequest request =
+   *       DeleteNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   OperationFuture future =
+   *       jobServiceClient.deleteNasJobOperationCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final OperationCallable + deleteNasJobOperationCallable() { + return stub.deleteNasJobOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   DeleteNasJobRequest request =
+   *       DeleteNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.deleteNasJobCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteNasJobCallable() { + return stub.deleteNasJobCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best + * effort to cancel the job, but success is not guaranteed. Clients can use + * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or other methods to + * check whether the cancellation succeeded or whether the job completed despite cancellation. On + * successful cancellation, the NasJob is not deleted; instead it becomes a job with a + * [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and + * [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to `CANCELLED`. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]");
+   *   jobServiceClient.cancelNasJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob to cancel. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void cancelNasJob(NasJobName name) { + CancelNasJobRequest request = + CancelNasJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + cancelNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best + * effort to cancel the job, but success is not guaranteed. Clients can use + * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or other methods to + * check whether the cancellation succeeded or whether the job completed despite cancellation. On + * successful cancellation, the NasJob is not deleted; instead it becomes a job with a + * [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and + * [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to `CANCELLED`. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString();
+   *   jobServiceClient.cancelNasJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob to cancel. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void cancelNasJob(String name) { + CancelNasJobRequest request = CancelNasJobRequest.newBuilder().setName(name).build(); + cancelNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best + * effort to cancel the job, but success is not guaranteed. Clients can use + * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or other methods to + * check whether the cancellation succeeded or whether the job completed despite cancellation. On + * successful cancellation, the NasJob is not deleted; instead it becomes a job with a + * [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and + * [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to `CANCELLED`. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   CancelNasJobRequest request =
+   *       CancelNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   jobServiceClient.cancelNasJob(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void cancelNasJob(CancelNasJobRequest request) { + cancelNasJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best + * effort to cancel the job, but success is not guaranteed. Clients can use + * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or other methods to + * check whether the cancellation succeeded or whether the job completed despite cancellation. On + * successful cancellation, the NasJob is not deleted; instead it becomes a job with a + * [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and + * [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to `CANCELLED`. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   CancelNasJobRequest request =
+   *       CancelNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.cancelNasJobCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable cancelNasJobCallable() { + return stub.cancelNasJobCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasTrialDetail. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasTrialDetailName name =
+   *       NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]");
+   *   NasTrialDetail response = jobServiceClient.getNasTrialDetail(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasTrialDetail resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasTrialDetail getNasTrialDetail(NasTrialDetailName name) { + GetNasTrialDetailRequest request = + GetNasTrialDetailRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getNasTrialDetail(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasTrialDetail. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String name =
+   *       NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]")
+   *           .toString();
+   *   NasTrialDetail response = jobServiceClient.getNasTrialDetail(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasTrialDetail resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasTrialDetail getNasTrialDetail(String name) { + GetNasTrialDetailRequest request = GetNasTrialDetailRequest.newBuilder().setName(name).build(); + return getNasTrialDetail(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasTrialDetail. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   GetNasTrialDetailRequest request =
+   *       GetNasTrialDetailRequest.newBuilder()
+   *           .setName(
+   *               NasTrialDetailName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]")
+   *                   .toString())
+   *           .build();
+   *   NasTrialDetail response = jobServiceClient.getNasTrialDetail(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 NasTrialDetail getNasTrialDetail(GetNasTrialDetailRequest request) { + return getNasTrialDetailCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasTrialDetail. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   GetNasTrialDetailRequest request =
+   *       GetNasTrialDetailRequest.newBuilder()
+   *           .setName(
+   *               NasTrialDetailName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       jobServiceClient.getNasTrialDetailCallable().futureCall(request);
+   *   // Do something.
+   *   NasTrialDetail response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getNasTrialDetailCallable() { + return stub.getNasTrialDetailCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasJobName parent = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]");
+   *   for (NasTrialDetail element : jobServiceClient.listNasTrialDetails(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The name of the NasJob resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNasTrialDetailsPagedResponse listNasTrialDetails(NasJobName parent) { + ListNasTrialDetailsRequest request = + ListNasTrialDetailsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listNasTrialDetails(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String parent = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString();
+   *   for (NasTrialDetail element : jobServiceClient.listNasTrialDetails(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The name of the NasJob resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNasTrialDetailsPagedResponse listNasTrialDetails(String parent) { + ListNasTrialDetailsRequest request = + ListNasTrialDetailsRequest.newBuilder().setParent(parent).build(); + return listNasTrialDetails(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasTrialDetailsRequest request =
+   *       ListNasTrialDetailsRequest.newBuilder()
+   *           .setParent(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (NasTrialDetail element : jobServiceClient.listNasTrialDetails(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 ListNasTrialDetailsPagedResponse listNasTrialDetails( + ListNasTrialDetailsRequest request) { + return listNasTrialDetailsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasTrialDetailsRequest request =
+   *       ListNasTrialDetailsRequest.newBuilder()
+   *           .setParent(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       jobServiceClient.listNasTrialDetailsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (NasTrialDetail element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listNasTrialDetailsPagedCallable() { + return stub.listNasTrialDetailsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasTrialDetailsRequest request =
+   *       ListNasTrialDetailsRequest.newBuilder()
+   *           .setParent(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListNasTrialDetailsResponse response =
+   *         jobServiceClient.listNasTrialDetailsCallable().call(request);
+   *     for (NasTrialDetail element : response.getNasTrialDetailsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listNasTrialDetailsCallable() { + return stub.listNasTrialDetailsCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to @@ -4995,6 +5962,163 @@ protected ListHyperparameterTuningJobsFixedSizeCollection createCollection( } } + public static class ListNasJobsPagedResponse + extends AbstractPagedListResponse< + ListNasJobsRequest, + ListNasJobsResponse, + NasJob, + ListNasJobsPage, + ListNasJobsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListNasJobsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListNasJobsPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListNasJobsPagedResponse(ListNasJobsPage page) { + super(page, ListNasJobsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListNasJobsPage + extends AbstractPage { + + private ListNasJobsPage( + PageContext context, + ListNasJobsResponse response) { + super(context, response); + } + + private static ListNasJobsPage createEmptyPage() { + return new ListNasJobsPage(null, null); + } + + @Override + protected ListNasJobsPage createPage( + PageContext context, + ListNasJobsResponse response) { + return new ListNasJobsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListNasJobsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListNasJobsRequest, + ListNasJobsResponse, + NasJob, + ListNasJobsPage, + ListNasJobsFixedSizeCollection> { + + private ListNasJobsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListNasJobsFixedSizeCollection createEmptyCollection() { + return new ListNasJobsFixedSizeCollection(null, 0); + } + + @Override + protected ListNasJobsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListNasJobsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListNasTrialDetailsPagedResponse + extends AbstractPagedListResponse< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + NasTrialDetail, + ListNasTrialDetailsPage, + ListNasTrialDetailsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListNasTrialDetailsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListNasTrialDetailsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListNasTrialDetailsPagedResponse(ListNasTrialDetailsPage page) { + super(page, ListNasTrialDetailsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListNasTrialDetailsPage + extends AbstractPage< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + NasTrialDetail, + ListNasTrialDetailsPage> { + + private ListNasTrialDetailsPage( + PageContext + context, + ListNasTrialDetailsResponse response) { + super(context, response); + } + + private static ListNasTrialDetailsPage createEmptyPage() { + return new ListNasTrialDetailsPage(null, null); + } + + @Override + protected ListNasTrialDetailsPage createPage( + PageContext + context, + ListNasTrialDetailsResponse response) { + return new ListNasTrialDetailsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListNasTrialDetailsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + NasTrialDetail, + ListNasTrialDetailsPage, + ListNasTrialDetailsFixedSizeCollection> { + + private ListNasTrialDetailsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListNasTrialDetailsFixedSizeCollection createEmptyCollection() { + return new ListNasTrialDetailsFixedSizeCollection(null, 0); + } + + @Override + protected ListNasTrialDetailsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListNasTrialDetailsFixedSizeCollection(pages, collectionSize); + } + } + public static class ListBatchPredictionJobsPagedResponse extends AbstractPagedListResponse< ListBatchPredictionJobsRequest, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java index 21ca2b7f04f3..047ef2785385 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceSettings.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.core.ApiFunction; @@ -202,6 +204,50 @@ public UnaryCallSettings cancelDataLabeling return ((JobServiceStubSettings) getStubSettings()).cancelHyperparameterTuningJobSettings(); } + /** Returns the object with the settings used for calls to createNasJob. */ + public UnaryCallSettings createNasJobSettings() { + return ((JobServiceStubSettings) getStubSettings()).createNasJobSettings(); + } + + /** Returns the object with the settings used for calls to getNasJob. */ + public UnaryCallSettings getNasJobSettings() { + return ((JobServiceStubSettings) getStubSettings()).getNasJobSettings(); + } + + /** Returns the object with the settings used for calls to listNasJobs. */ + public PagedCallSettings + listNasJobsSettings() { + return ((JobServiceStubSettings) getStubSettings()).listNasJobsSettings(); + } + + /** Returns the object with the settings used for calls to deleteNasJob. */ + public UnaryCallSettings deleteNasJobSettings() { + return ((JobServiceStubSettings) getStubSettings()).deleteNasJobSettings(); + } + + /** Returns the object with the settings used for calls to deleteNasJob. */ + public OperationCallSettings + deleteNasJobOperationSettings() { + return ((JobServiceStubSettings) getStubSettings()).deleteNasJobOperationSettings(); + } + + /** Returns the object with the settings used for calls to cancelNasJob. */ + public UnaryCallSettings cancelNasJobSettings() { + return ((JobServiceStubSettings) getStubSettings()).cancelNasJobSettings(); + } + + /** Returns the object with the settings used for calls to getNasTrialDetail. */ + public UnaryCallSettings getNasTrialDetailSettings() { + return ((JobServiceStubSettings) getStubSettings()).getNasTrialDetailSettings(); + } + + /** Returns the object with the settings used for calls to listNasTrialDetails. */ + public PagedCallSettings< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings() { + return ((JobServiceStubSettings) getStubSettings()).listNasTrialDetailsSettings(); + } + /** Returns the object with the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings createBatchPredictionJobSettings() { @@ -557,6 +603,54 @@ public UnaryCallSettings.Builder cancelCustomJobS return getStubSettingsBuilder().cancelHyperparameterTuningJobSettings(); } + /** Returns the builder for the settings used for calls to createNasJob. */ + public UnaryCallSettings.Builder createNasJobSettings() { + return getStubSettingsBuilder().createNasJobSettings(); + } + + /** Returns the builder for the settings used for calls to getNasJob. */ + public UnaryCallSettings.Builder getNasJobSettings() { + return getStubSettingsBuilder().getNasJobSettings(); + } + + /** Returns the builder for the settings used for calls to listNasJobs. */ + public PagedCallSettings.Builder< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse> + listNasJobsSettings() { + return getStubSettingsBuilder().listNasJobsSettings(); + } + + /** Returns the builder for the settings used for calls to deleteNasJob. */ + public UnaryCallSettings.Builder deleteNasJobSettings() { + return getStubSettingsBuilder().deleteNasJobSettings(); + } + + /** Returns the builder for the settings used for calls to deleteNasJob. */ + public OperationCallSettings.Builder + deleteNasJobOperationSettings() { + return getStubSettingsBuilder().deleteNasJobOperationSettings(); + } + + /** Returns the builder for the settings used for calls to cancelNasJob. */ + public UnaryCallSettings.Builder cancelNasJobSettings() { + return getStubSettingsBuilder().cancelNasJobSettings(); + } + + /** Returns the builder for the settings used for calls to getNasTrialDetail. */ + public UnaryCallSettings.Builder + getNasTrialDetailSettings() { + return getStubSettingsBuilder().getNasTrialDetailSettings(); + } + + /** Returns the builder for the settings used for calls to listNasTrialDetails. */ + public PagedCallSettings.Builder< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings() { + return getStubSettingsBuilder().listNasTrialDetailsSettings(); + } + /** Returns the builder for the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings.Builder createBatchPredictionJobSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java index e553f7bc8194..57ac4ab1778a 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceClient.java @@ -1550,6 +1550,255 @@ public final UnaryCallable exportModelCallable() return stub.exportModelCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as + * well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location into which to copy the Model. Format: + * `projects/{project}/locations/{location}` + * @param sourceModel Required. The resource name of the Model to copy. That Model must be in the + * same Project. Format: `projects/{project}/locations/{location}/models/{model}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyModelAsync( + LocationName parent, ModelName sourceModel) { + CopyModelRequest request = + CopyModelRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setSourceModel(sourceModel == null ? null : sourceModel.toString()) + .build(); + return copyModelAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as + * well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   String sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location into which to copy the Model. Format: + * `projects/{project}/locations/{location}` + * @param sourceModel Required. The resource name of the Model to copy. That Model must be in the + * same Project. Format: `projects/{project}/locations/{location}/models/{model}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyModelAsync( + LocationName parent, String sourceModel) { + CopyModelRequest request = + CopyModelRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setSourceModel(sourceModel) + .build(); + return copyModelAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as + * well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location into which to copy the Model. Format: + * `projects/{project}/locations/{location}` + * @param sourceModel Required. The resource name of the Model to copy. That Model must be in the + * same Project. Format: `projects/{project}/locations/{location}/models/{model}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyModelAsync( + String parent, ModelName sourceModel) { + CopyModelRequest request = + CopyModelRequest.newBuilder() + .setParent(parent) + .setSourceModel(sourceModel == null ? null : sourceModel.toString()) + .build(); + return copyModelAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as + * well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   String sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location into which to copy the Model. Format: + * `projects/{project}/locations/{location}` + * @param sourceModel Required. The resource name of the Model to copy. That Model must be in the + * same Project. Format: `projects/{project}/locations/{location}/models/{model}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyModelAsync( + String parent, String sourceModel) { + CopyModelRequest request = + CopyModelRequest.newBuilder().setParent(parent).setSourceModel(sourceModel).build(); + return copyModelAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as + * well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   CopyModelRequest request =
+   *       CopyModelRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setSourceModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setEncryptionSpec(EncryptionSpec.newBuilder().build())
+   *           .build();
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(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 copyModelAsync( + CopyModelRequest request) { + return copyModelOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as + * well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   CopyModelRequest request =
+   *       CopyModelRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setSourceModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setEncryptionSpec(EncryptionSpec.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       modelServiceClient.copyModelOperationCallable().futureCall(request);
+   *   // Do something.
+   *   CopyModelResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + copyModelOperationCallable() { + return stub.copyModelOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be region-agnostic, as + * well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   CopyModelRequest request =
+   *       CopyModelRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setSourceModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setEncryptionSpec(EncryptionSpec.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = modelServiceClient.copyModelCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable copyModelCallable() { + return stub.copyModelCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Imports an externally generated ModelEvaluation. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java index 466ac8dd5c9c..2b71b7d13ea1 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceSettings.java @@ -163,6 +163,17 @@ public UnaryCallSettings exportModelSettings() { return ((ModelServiceStubSettings) getStubSettings()).exportModelOperationSettings(); } + /** Returns the object with the settings used for calls to copyModel. */ + public UnaryCallSettings copyModelSettings() { + return ((ModelServiceStubSettings) getStubSettings()).copyModelSettings(); + } + + /** Returns the object with the settings used for calls to copyModel. */ + public OperationCallSettings + copyModelOperationSettings() { + return ((ModelServiceStubSettings) getStubSettings()).copyModelOperationSettings(); + } + /** Returns the object with the settings used for calls to importModelEvaluation. */ public UnaryCallSettings importModelEvaluationSettings() { @@ -407,6 +418,18 @@ public UnaryCallSettings.Builder exportModelSetti return getStubSettingsBuilder().exportModelOperationSettings(); } + /** Returns the builder for the settings used for calls to copyModel. */ + public UnaryCallSettings.Builder copyModelSettings() { + return getStubSettingsBuilder().copyModelSettings(); + } + + /** Returns the builder for the settings used for calls to copyModel. */ + public OperationCallSettings.Builder< + CopyModelRequest, CopyModelResponse, CopyModelOperationMetadata> + copyModelOperationSettings() { + return getStubSettingsBuilder().copyModelOperationSettings(); + } + /** Returns the builder for the settings used for calls to importModelEvaluation. */ public UnaryCallSettings.Builder importModelEvaluationSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json index 89c0faaa7c61..1ed45476ee9a 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/gapic_metadata.json @@ -337,6 +337,9 @@ "CancelHyperparameterTuningJob": { "methods": ["cancelHyperparameterTuningJob", "cancelHyperparameterTuningJob", "cancelHyperparameterTuningJob", "cancelHyperparameterTuningJobCallable"] }, + "CancelNasJob": { + "methods": ["cancelNasJob", "cancelNasJob", "cancelNasJob", "cancelNasJobCallable"] + }, "CreateBatchPredictionJob": { "methods": ["createBatchPredictionJob", "createBatchPredictionJob", "createBatchPredictionJob", "createBatchPredictionJobCallable"] }, @@ -352,6 +355,9 @@ "CreateModelDeploymentMonitoringJob": { "methods": ["createModelDeploymentMonitoringJob", "createModelDeploymentMonitoringJob", "createModelDeploymentMonitoringJob", "createModelDeploymentMonitoringJobCallable"] }, + "CreateNasJob": { + "methods": ["createNasJob", "createNasJob", "createNasJob", "createNasJobCallable"] + }, "DeleteBatchPredictionJob": { "methods": ["deleteBatchPredictionJobAsync", "deleteBatchPredictionJobAsync", "deleteBatchPredictionJobAsync", "deleteBatchPredictionJobOperationCallable", "deleteBatchPredictionJobCallable"] }, @@ -367,6 +373,9 @@ "DeleteModelDeploymentMonitoringJob": { "methods": ["deleteModelDeploymentMonitoringJobAsync", "deleteModelDeploymentMonitoringJobAsync", "deleteModelDeploymentMonitoringJobAsync", "deleteModelDeploymentMonitoringJobOperationCallable", "deleteModelDeploymentMonitoringJobCallable"] }, + "DeleteNasJob": { + "methods": ["deleteNasJobAsync", "deleteNasJobAsync", "deleteNasJobAsync", "deleteNasJobOperationCallable", "deleteNasJobCallable"] + }, "GetBatchPredictionJob": { "methods": ["getBatchPredictionJob", "getBatchPredictionJob", "getBatchPredictionJob", "getBatchPredictionJobCallable"] }, @@ -388,6 +397,12 @@ "GetModelDeploymentMonitoringJob": { "methods": ["getModelDeploymentMonitoringJob", "getModelDeploymentMonitoringJob", "getModelDeploymentMonitoringJob", "getModelDeploymentMonitoringJobCallable"] }, + "GetNasJob": { + "methods": ["getNasJob", "getNasJob", "getNasJob", "getNasJobCallable"] + }, + "GetNasTrialDetail": { + "methods": ["getNasTrialDetail", "getNasTrialDetail", "getNasTrialDetail", "getNasTrialDetailCallable"] + }, "ListBatchPredictionJobs": { "methods": ["listBatchPredictionJobs", "listBatchPredictionJobs", "listBatchPredictionJobs", "listBatchPredictionJobsPagedCallable", "listBatchPredictionJobsCallable"] }, @@ -406,6 +421,12 @@ "ListModelDeploymentMonitoringJobs": { "methods": ["listModelDeploymentMonitoringJobs", "listModelDeploymentMonitoringJobs", "listModelDeploymentMonitoringJobs", "listModelDeploymentMonitoringJobsPagedCallable", "listModelDeploymentMonitoringJobsCallable"] }, + "ListNasJobs": { + "methods": ["listNasJobs", "listNasJobs", "listNasJobs", "listNasJobsPagedCallable", "listNasJobsCallable"] + }, + "ListNasTrialDetails": { + "methods": ["listNasTrialDetails", "listNasTrialDetails", "listNasTrialDetails", "listNasTrialDetailsPagedCallable", "listNasTrialDetailsCallable"] + }, "PauseModelDeploymentMonitoringJob": { "methods": ["pauseModelDeploymentMonitoringJob", "pauseModelDeploymentMonitoringJob", "pauseModelDeploymentMonitoringJob", "pauseModelDeploymentMonitoringJobCallable"] }, @@ -586,6 +607,9 @@ "BatchImportModelEvaluationSlices": { "methods": ["batchImportModelEvaluationSlices", "batchImportModelEvaluationSlices", "batchImportModelEvaluationSlices", "batchImportModelEvaluationSlicesCallable"] }, + "CopyModel": { + "methods": ["copyModelAsync", "copyModelAsync", "copyModelAsync", "copyModelAsync", "copyModelAsync", "copyModelOperationCallable", "copyModelCallable"] + }, "DeleteModel": { "methods": ["deleteModelAsync", "deleteModelAsync", "deleteModelAsync", "deleteModelOperationCallable", "deleteModelCallable"] }, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceStub.java index c9891404dac8..fc5859e23472 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcJobServiceStub.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.gax.core.BackgroundResource; @@ -36,11 +38,13 @@ import com.google.cloud.aiplatform.v1.CancelCustomJobRequest; import com.google.cloud.aiplatform.v1.CancelDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.CancelHyperparameterTuningJobRequest; +import com.google.cloud.aiplatform.v1.CancelNasJobRequest; import com.google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1.CreateCustomJobRequest; import com.google.cloud.aiplatform.v1.CreateDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1.CreateModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1.CreateNasJobRequest; import com.google.cloud.aiplatform.v1.CustomJob; import com.google.cloud.aiplatform.v1.DataLabelingJob; import com.google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest; @@ -48,12 +52,15 @@ import com.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1.DeleteNasJobRequest; import com.google.cloud.aiplatform.v1.DeleteOperationMetadata; import com.google.cloud.aiplatform.v1.GetBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1.GetCustomJobRequest; import com.google.cloud.aiplatform.v1.GetDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1.GetNasJobRequest; +import com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest; import com.google.cloud.aiplatform.v1.HyperparameterTuningJob; import com.google.cloud.aiplatform.v1.ListBatchPredictionJobsRequest; import com.google.cloud.aiplatform.v1.ListBatchPredictionJobsResponse; @@ -65,7 +72,13 @@ import com.google.cloud.aiplatform.v1.ListHyperparameterTuningJobsResponse; import com.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsRequest; import com.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsResponse; +import com.google.cloud.aiplatform.v1.ListNasJobsRequest; +import com.google.cloud.aiplatform.v1.ListNasJobsResponse; +import com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest; +import com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse; import com.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob; +import com.google.cloud.aiplatform.v1.NasJob; +import com.google.cloud.aiplatform.v1.NasTrialDetail; import com.google.cloud.aiplatform.v1.PauseModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1.ResumeModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest; @@ -262,6 +275,70 @@ public class GrpcJobServiceStub extends JobServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) .build(); + private static final MethodDescriptor createNasJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.JobService/CreateNasJob") + .setRequestMarshaller(ProtoUtils.marshaller(CreateNasJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(NasJob.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getNasJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.JobService/GetNasJob") + .setRequestMarshaller(ProtoUtils.marshaller(GetNasJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(NasJob.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listNasJobsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.JobService/ListNasJobs") + .setRequestMarshaller(ProtoUtils.marshaller(ListNasJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListNasJobsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteNasJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.JobService/DeleteNasJob") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteNasJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor cancelNasJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.JobService/CancelNasJob") + .setRequestMarshaller(ProtoUtils.marshaller(CancelNasJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getNasTrialDetailMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.JobService/GetNasTrialDetail") + .setRequestMarshaller( + ProtoUtils.marshaller(GetNasTrialDetailRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(NasTrialDetail.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listNasTrialDetailsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.JobService/ListNasTrialDetails") + .setRequestMarshaller( + ProtoUtils.marshaller(ListNasTrialDetailsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListNasTrialDetailsResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor createBatchPredictionJobMethodDescriptor = MethodDescriptor.newBuilder() @@ -514,6 +591,20 @@ public class GrpcJobServiceStub extends JobServiceStub { deleteHyperparameterTuningJobOperationCallable; private final UnaryCallable cancelHyperparameterTuningJobCallable; + private final UnaryCallable createNasJobCallable; + private final UnaryCallable getNasJobCallable; + private final UnaryCallable listNasJobsCallable; + private final UnaryCallable + listNasJobsPagedCallable; + private final UnaryCallable deleteNasJobCallable; + private final OperationCallable + deleteNasJobOperationCallable; + private final UnaryCallable cancelNasJobCallable; + private final UnaryCallable getNasTrialDetailCallable; + private final UnaryCallable + listNasTrialDetailsCallable; + private final UnaryCallable + listNasTrialDetailsPagedCallable; private final UnaryCallable createBatchPredictionJobCallable; private final UnaryCallable @@ -778,6 +869,77 @@ protected GrpcJobServiceStub( return params.build(); }) .build(); + GrpcCallSettings createNasJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createNasJobMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getNasJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getNasJobMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings listNasJobsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listNasJobsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteNasJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteNasJobMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings cancelNasJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(cancelNasJobMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings getNasTrialDetailTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getNasTrialDetailMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + listNasTrialDetailsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listNasTrialDetailsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); GrpcCallSettings createBatchPredictionJobTransportSettings = GrpcCallSettings.newBuilder() @@ -1086,6 +1248,45 @@ protected GrpcJobServiceStub( cancelHyperparameterTuningJobTransportSettings, settings.cancelHyperparameterTuningJobSettings(), clientContext); + this.createNasJobCallable = + callableFactory.createUnaryCallable( + createNasJobTransportSettings, settings.createNasJobSettings(), clientContext); + this.getNasJobCallable = + callableFactory.createUnaryCallable( + getNasJobTransportSettings, settings.getNasJobSettings(), clientContext); + this.listNasJobsCallable = + callableFactory.createUnaryCallable( + listNasJobsTransportSettings, settings.listNasJobsSettings(), clientContext); + this.listNasJobsPagedCallable = + callableFactory.createPagedCallable( + listNasJobsTransportSettings, settings.listNasJobsSettings(), clientContext); + this.deleteNasJobCallable = + callableFactory.createUnaryCallable( + deleteNasJobTransportSettings, settings.deleteNasJobSettings(), clientContext); + this.deleteNasJobOperationCallable = + callableFactory.createOperationCallable( + deleteNasJobTransportSettings, + settings.deleteNasJobOperationSettings(), + clientContext, + operationsStub); + this.cancelNasJobCallable = + callableFactory.createUnaryCallable( + cancelNasJobTransportSettings, settings.cancelNasJobSettings(), clientContext); + this.getNasTrialDetailCallable = + callableFactory.createUnaryCallable( + getNasTrialDetailTransportSettings, + settings.getNasTrialDetailSettings(), + clientContext); + this.listNasTrialDetailsCallable = + callableFactory.createUnaryCallable( + listNasTrialDetailsTransportSettings, + settings.listNasTrialDetailsSettings(), + clientContext); + this.listNasTrialDetailsPagedCallable = + callableFactory.createPagedCallable( + listNasTrialDetailsTransportSettings, + settings.listNasTrialDetailsSettings(), + clientContext); this.createBatchPredictionJobCallable = callableFactory.createUnaryCallable( createBatchPredictionJobTransportSettings, @@ -1332,6 +1533,59 @@ public UnaryCallable cancelDataLabelingJobC return cancelHyperparameterTuningJobCallable; } + @Override + public UnaryCallable createNasJobCallable() { + return createNasJobCallable; + } + + @Override + public UnaryCallable getNasJobCallable() { + return getNasJobCallable; + } + + @Override + public UnaryCallable listNasJobsCallable() { + return listNasJobsCallable; + } + + @Override + public UnaryCallable listNasJobsPagedCallable() { + return listNasJobsPagedCallable; + } + + @Override + public UnaryCallable deleteNasJobCallable() { + return deleteNasJobCallable; + } + + @Override + public OperationCallable + deleteNasJobOperationCallable() { + return deleteNasJobOperationCallable; + } + + @Override + public UnaryCallable cancelNasJobCallable() { + return cancelNasJobCallable; + } + + @Override + public UnaryCallable getNasTrialDetailCallable() { + return getNasTrialDetailCallable; + } + + @Override + public UnaryCallable + listNasTrialDetailsCallable() { + return listNasTrialDetailsCallable; + } + + @Override + public UnaryCallable + listNasTrialDetailsPagedCallable() { + return listNasTrialDetailsPagedCallable; + } + @Override public UnaryCallable createBatchPredictionJobCallable() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java index 53fa1a68b58f..73780bb43157 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/GrpcModelServiceStub.java @@ -31,6 +31,9 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse; +import com.google.cloud.aiplatform.v1.CopyModelOperationMetadata; +import com.google.cloud.aiplatform.v1.CopyModelRequest; +import com.google.cloud.aiplatform.v1.CopyModelResponse; import com.google.cloud.aiplatform.v1.DeleteModelRequest; import com.google.cloud.aiplatform.v1.DeleteModelVersionRequest; import com.google.cloud.aiplatform.v1.DeleteOperationMetadata; @@ -164,6 +167,14 @@ public class GrpcModelServiceStub extends ModelServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor copyModelMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1.ModelService/CopyModel") + .setRequestMarshaller(ProtoUtils.marshaller(CopyModelRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private static final MethodDescriptor importModelEvaluationMethodDescriptor = MethodDescriptor.newBuilder() @@ -306,6 +317,9 @@ public class GrpcModelServiceStub extends ModelServiceStub { private final OperationCallable< ExportModelRequest, ExportModelResponse, ExportModelOperationMetadata> exportModelOperationCallable; + private final UnaryCallable copyModelCallable; + private final OperationCallable + copyModelOperationCallable; private final UnaryCallable importModelEvaluationCallable; private final UnaryCallable< @@ -466,6 +480,16 @@ protected GrpcModelServiceStub( return params.build(); }) .build(); + GrpcCallSettings copyModelTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(copyModelMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); GrpcCallSettings importModelEvaluationTransportSettings = GrpcCallSettings.newBuilder() @@ -653,6 +677,15 @@ protected GrpcModelServiceStub( settings.exportModelOperationSettings(), clientContext, operationsStub); + this.copyModelCallable = + callableFactory.createUnaryCallable( + copyModelTransportSettings, settings.copyModelSettings(), clientContext); + this.copyModelOperationCallable = + callableFactory.createOperationCallable( + copyModelTransportSettings, + settings.copyModelOperationSettings(), + clientContext, + operationsStub); this.importModelEvaluationCallable = callableFactory.createUnaryCallable( importModelEvaluationTransportSettings, @@ -803,6 +836,17 @@ public UnaryCallable exportModelCallable() { return exportModelOperationCallable; } + @Override + public UnaryCallable copyModelCallable() { + return copyModelCallable; + } + + @Override + public OperationCallable + copyModelOperationCallable() { + return copyModelOperationCallable; + } + @Override public UnaryCallable importModelEvaluationCallable() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStub.java index ebe4351f944b..2132620dd9f0 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStub.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.gax.core.BackgroundResource; @@ -32,11 +34,13 @@ import com.google.cloud.aiplatform.v1.CancelCustomJobRequest; import com.google.cloud.aiplatform.v1.CancelDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.CancelHyperparameterTuningJobRequest; +import com.google.cloud.aiplatform.v1.CancelNasJobRequest; import com.google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1.CreateCustomJobRequest; import com.google.cloud.aiplatform.v1.CreateDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1.CreateModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1.CreateNasJobRequest; import com.google.cloud.aiplatform.v1.CustomJob; import com.google.cloud.aiplatform.v1.DataLabelingJob; import com.google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest; @@ -44,12 +48,15 @@ import com.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1.DeleteNasJobRequest; import com.google.cloud.aiplatform.v1.DeleteOperationMetadata; import com.google.cloud.aiplatform.v1.GetBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1.GetCustomJobRequest; import com.google.cloud.aiplatform.v1.GetDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1.GetNasJobRequest; +import com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest; import com.google.cloud.aiplatform.v1.HyperparameterTuningJob; import com.google.cloud.aiplatform.v1.ListBatchPredictionJobsRequest; import com.google.cloud.aiplatform.v1.ListBatchPredictionJobsResponse; @@ -61,7 +68,13 @@ import com.google.cloud.aiplatform.v1.ListHyperparameterTuningJobsResponse; import com.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsRequest; import com.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsResponse; +import com.google.cloud.aiplatform.v1.ListNasJobsRequest; +import com.google.cloud.aiplatform.v1.ListNasJobsResponse; +import com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest; +import com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse; import com.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob; +import com.google.cloud.aiplatform.v1.NasJob; +import com.google.cloud.aiplatform.v1.NasTrialDetail; import com.google.cloud.aiplatform.v1.PauseModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1.ResumeModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest; @@ -201,6 +214,49 @@ public UnaryCallable cancelDataLabelingJobC "Not implemented: cancelHyperparameterTuningJobCallable()"); } + public UnaryCallable createNasJobCallable() { + throw new UnsupportedOperationException("Not implemented: createNasJobCallable()"); + } + + public UnaryCallable getNasJobCallable() { + throw new UnsupportedOperationException("Not implemented: getNasJobCallable()"); + } + + public UnaryCallable listNasJobsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listNasJobsPagedCallable()"); + } + + public UnaryCallable listNasJobsCallable() { + throw new UnsupportedOperationException("Not implemented: listNasJobsCallable()"); + } + + public OperationCallable + deleteNasJobOperationCallable() { + throw new UnsupportedOperationException("Not implemented: deleteNasJobOperationCallable()"); + } + + public UnaryCallable deleteNasJobCallable() { + throw new UnsupportedOperationException("Not implemented: deleteNasJobCallable()"); + } + + public UnaryCallable cancelNasJobCallable() { + throw new UnsupportedOperationException("Not implemented: cancelNasJobCallable()"); + } + + public UnaryCallable getNasTrialDetailCallable() { + throw new UnsupportedOperationException("Not implemented: getNasTrialDetailCallable()"); + } + + public UnaryCallable + listNasTrialDetailsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listNasTrialDetailsPagedCallable()"); + } + + public UnaryCallable + listNasTrialDetailsCallable() { + throw new UnsupportedOperationException("Not implemented: listNasTrialDetailsCallable()"); + } + public UnaryCallable createBatchPredictionJobCallable() { throw new UnsupportedOperationException("Not implemented: createBatchPredictionJobCallable()"); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java index 573ddd32b35a..4fb8872ec704 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/JobServiceStubSettings.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.core.ApiFunction; @@ -55,11 +57,13 @@ import com.google.cloud.aiplatform.v1.CancelCustomJobRequest; import com.google.cloud.aiplatform.v1.CancelDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.CancelHyperparameterTuningJobRequest; +import com.google.cloud.aiplatform.v1.CancelNasJobRequest; import com.google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1.CreateCustomJobRequest; import com.google.cloud.aiplatform.v1.CreateDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1.CreateModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1.CreateNasJobRequest; import com.google.cloud.aiplatform.v1.CustomJob; import com.google.cloud.aiplatform.v1.DataLabelingJob; import com.google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest; @@ -67,12 +71,15 @@ import com.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1.DeleteNasJobRequest; import com.google.cloud.aiplatform.v1.DeleteOperationMetadata; import com.google.cloud.aiplatform.v1.GetBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1.GetCustomJobRequest; import com.google.cloud.aiplatform.v1.GetDataLabelingJobRequest; import com.google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1.GetNasJobRequest; +import com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest; import com.google.cloud.aiplatform.v1.HyperparameterTuningJob; import com.google.cloud.aiplatform.v1.ListBatchPredictionJobsRequest; import com.google.cloud.aiplatform.v1.ListBatchPredictionJobsResponse; @@ -84,8 +91,14 @@ import com.google.cloud.aiplatform.v1.ListHyperparameterTuningJobsResponse; import com.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsRequest; import com.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsResponse; +import com.google.cloud.aiplatform.v1.ListNasJobsRequest; +import com.google.cloud.aiplatform.v1.ListNasJobsResponse; +import com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest; +import com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse; import com.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob; import com.google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies; +import com.google.cloud.aiplatform.v1.NasJob; +import com.google.cloud.aiplatform.v1.NasTrialDetail; import com.google.cloud.aiplatform.v1.PauseModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1.ResumeModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest; @@ -152,7 +165,10 @@ public class JobServiceStubSettings extends StubSettings { /** The default scopes of the service. */ private static final ImmutableList DEFAULT_SERVICE_SCOPES = - ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); + ImmutableList.builder() + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/cloud-platform.read-only") + .build(); private final UnaryCallSettings createCustomJobSettings; private final UnaryCallSettings getCustomJobSettings; @@ -194,6 +210,19 @@ public class JobServiceStubSettings extends StubSettings deleteHyperparameterTuningJobOperationSettings; private final UnaryCallSettings cancelHyperparameterTuningJobSettings; + private final UnaryCallSettings createNasJobSettings; + private final UnaryCallSettings getNasJobSettings; + private final PagedCallSettings + listNasJobsSettings; + private final UnaryCallSettings deleteNasJobSettings; + private final OperationCallSettings + deleteNasJobOperationSettings; + private final UnaryCallSettings cancelNasJobSettings; + private final UnaryCallSettings + getNasTrialDetailSettings; + private final PagedCallSettings< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings; private final UnaryCallSettings createBatchPredictionJobSettings; private final UnaryCallSettings @@ -378,6 +407,82 @@ public Iterable extractResources( } }; + private static final PagedListDescriptor + LIST_NAS_JOBS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListNasJobsRequest injectToken(ListNasJobsRequest payload, String token) { + return ListNasJobsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListNasJobsRequest injectPageSize(ListNasJobsRequest payload, int pageSize) { + return ListNasJobsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListNasJobsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListNasJobsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListNasJobsResponse payload) { + return payload.getNasJobsList() == null + ? ImmutableList.of() + : payload.getNasJobsList(); + } + }; + + private static final PagedListDescriptor< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, NasTrialDetail> + LIST_NAS_TRIAL_DETAILS_PAGE_STR_DESC = + new PagedListDescriptor< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, NasTrialDetail>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListNasTrialDetailsRequest injectToken( + ListNasTrialDetailsRequest payload, String token) { + return ListNasTrialDetailsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListNasTrialDetailsRequest injectPageSize( + ListNasTrialDetailsRequest payload, int pageSize) { + return ListNasTrialDetailsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListNasTrialDetailsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListNasTrialDetailsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListNasTrialDetailsResponse payload) { + return payload.getNasTrialDetailsList() == null + ? ImmutableList.of() + : payload.getNasTrialDetailsList(); + } + }; + private static final PagedListDescriptor< ListBatchPredictionJobsRequest, ListBatchPredictionJobsResponse, BatchPredictionJob> LIST_BATCH_PREDICTION_JOBS_PAGE_STR_DESC = @@ -632,6 +737,44 @@ public ApiFuture getFuturePagedRespon } }; + private static final PagedListResponseFactory< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse> + LIST_NAS_JOBS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListNasJobsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_NAS_JOBS_PAGE_STR_DESC, request, context); + return ListNasJobsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> + LIST_NAS_TRIAL_DETAILS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + ListNasTrialDetailsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListNasTrialDetailsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create( + callable, LIST_NAS_TRIAL_DETAILS_PAGE_STR_DESC, request, context); + return ListNasTrialDetailsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + private static final PagedListResponseFactory< ListBatchPredictionJobsRequest, ListBatchPredictionJobsResponse, @@ -854,6 +997,50 @@ public UnaryCallSettings cancelDataLabeling return cancelHyperparameterTuningJobSettings; } + /** Returns the object with the settings used for calls to createNasJob. */ + public UnaryCallSettings createNasJobSettings() { + return createNasJobSettings; + } + + /** Returns the object with the settings used for calls to getNasJob. */ + public UnaryCallSettings getNasJobSettings() { + return getNasJobSettings; + } + + /** Returns the object with the settings used for calls to listNasJobs. */ + public PagedCallSettings + listNasJobsSettings() { + return listNasJobsSettings; + } + + /** Returns the object with the settings used for calls to deleteNasJob. */ + public UnaryCallSettings deleteNasJobSettings() { + return deleteNasJobSettings; + } + + /** Returns the object with the settings used for calls to deleteNasJob. */ + public OperationCallSettings + deleteNasJobOperationSettings() { + return deleteNasJobOperationSettings; + } + + /** Returns the object with the settings used for calls to cancelNasJob. */ + public UnaryCallSettings cancelNasJobSettings() { + return cancelNasJobSettings; + } + + /** Returns the object with the settings used for calls to getNasTrialDetail. */ + public UnaryCallSettings getNasTrialDetailSettings() { + return getNasTrialDetailSettings; + } + + /** Returns the object with the settings used for calls to listNasTrialDetails. */ + public PagedCallSettings< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings() { + return listNasTrialDetailsSettings; + } + /** Returns the object with the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings createBatchPredictionJobSettings() { @@ -1093,6 +1280,14 @@ protected JobServiceStubSettings(Builder settingsBuilder) throws IOException { settingsBuilder.deleteHyperparameterTuningJobOperationSettings().build(); cancelHyperparameterTuningJobSettings = settingsBuilder.cancelHyperparameterTuningJobSettings().build(); + createNasJobSettings = settingsBuilder.createNasJobSettings().build(); + getNasJobSettings = settingsBuilder.getNasJobSettings().build(); + listNasJobsSettings = settingsBuilder.listNasJobsSettings().build(); + deleteNasJobSettings = settingsBuilder.deleteNasJobSettings().build(); + deleteNasJobOperationSettings = settingsBuilder.deleteNasJobOperationSettings().build(); + cancelNasJobSettings = settingsBuilder.cancelNasJobSettings().build(); + getNasTrialDetailSettings = settingsBuilder.getNasTrialDetailSettings().build(); + listNasTrialDetailsSettings = settingsBuilder.listNasTrialDetailsSettings().build(); createBatchPredictionJobSettings = settingsBuilder.createBatchPredictionJobSettings().build(); getBatchPredictionJobSettings = settingsBuilder.getBatchPredictionJobSettings().build(); listBatchPredictionJobsSettings = settingsBuilder.listBatchPredictionJobsSettings().build(); @@ -1176,6 +1371,22 @@ public static class Builder extends StubSettings.Builder cancelHyperparameterTuningJobSettings; + private final UnaryCallSettings.Builder createNasJobSettings; + private final UnaryCallSettings.Builder getNasJobSettings; + private final PagedCallSettings.Builder< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse> + listNasJobsSettings; + private final UnaryCallSettings.Builder deleteNasJobSettings; + private final OperationCallSettings.Builder + deleteNasJobOperationSettings; + private final UnaryCallSettings.Builder cancelNasJobSettings; + private final UnaryCallSettings.Builder + getNasTrialDetailSettings; + private final PagedCallSettings.Builder< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings; private final UnaryCallSettings.Builder createBatchPredictionJobSettings; private final UnaryCallSettings.Builder @@ -1279,6 +1490,15 @@ protected Builder(ClientContext clientContext) { deleteHyperparameterTuningJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteHyperparameterTuningJobOperationSettings = OperationCallSettings.newBuilder(); cancelHyperparameterTuningJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createNasJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getNasJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listNasJobsSettings = PagedCallSettings.newBuilder(LIST_NAS_JOBS_PAGE_STR_FACT); + deleteNasJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteNasJobOperationSettings = OperationCallSettings.newBuilder(); + cancelNasJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getNasTrialDetailSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listNasTrialDetailsSettings = + PagedCallSettings.newBuilder(LIST_NAS_TRIAL_DETAILS_PAGE_STR_FACT); createBatchPredictionJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getBatchPredictionJobSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); listBatchPredictionJobsSettings = @@ -1322,6 +1542,13 @@ protected Builder(ClientContext clientContext) { listHyperparameterTuningJobsSettings, deleteHyperparameterTuningJobSettings, cancelHyperparameterTuningJobSettings, + createNasJobSettings, + getNasJobSettings, + listNasJobsSettings, + deleteNasJobSettings, + cancelNasJobSettings, + getNasTrialDetailSettings, + listNasTrialDetailsSettings, createBatchPredictionJobSettings, getBatchPredictionJobSettings, listBatchPredictionJobsSettings, @@ -1370,6 +1597,14 @@ protected Builder(JobServiceStubSettings settings) { settings.deleteHyperparameterTuningJobOperationSettings.toBuilder(); cancelHyperparameterTuningJobSettings = settings.cancelHyperparameterTuningJobSettings.toBuilder(); + createNasJobSettings = settings.createNasJobSettings.toBuilder(); + getNasJobSettings = settings.getNasJobSettings.toBuilder(); + listNasJobsSettings = settings.listNasJobsSettings.toBuilder(); + deleteNasJobSettings = settings.deleteNasJobSettings.toBuilder(); + deleteNasJobOperationSettings = settings.deleteNasJobOperationSettings.toBuilder(); + cancelNasJobSettings = settings.cancelNasJobSettings.toBuilder(); + getNasTrialDetailSettings = settings.getNasTrialDetailSettings.toBuilder(); + listNasTrialDetailsSettings = settings.listNasTrialDetailsSettings.toBuilder(); createBatchPredictionJobSettings = settings.createBatchPredictionJobSettings.toBuilder(); getBatchPredictionJobSettings = settings.getBatchPredictionJobSettings.toBuilder(); listBatchPredictionJobsSettings = settings.listBatchPredictionJobsSettings.toBuilder(); @@ -1420,6 +1655,13 @@ protected Builder(JobServiceStubSettings settings) { listHyperparameterTuningJobsSettings, deleteHyperparameterTuningJobSettings, cancelHyperparameterTuningJobSettings, + createNasJobSettings, + getNasJobSettings, + listNasJobsSettings, + deleteNasJobSettings, + cancelNasJobSettings, + getNasTrialDetailSettings, + listNasTrialDetailsSettings, createBatchPredictionJobSettings, getBatchPredictionJobSettings, listBatchPredictionJobsSettings, @@ -1529,6 +1771,41 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder + .createNasJobSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getNasJobSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listNasJobsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteNasJobSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .cancelNasJobSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getNasTrialDetailSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listNasTrialDetailsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .createBatchPredictionJobSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -1692,6 +1969,30 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(300000L)) .build())); + builder + .deleteNasJobOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(DeleteOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + builder .deleteBatchPredictionJobOperationSettings() .setInitialCallSettings( @@ -1905,6 +2206,56 @@ public UnaryCallSettings.Builder cancelCustomJobS return cancelHyperparameterTuningJobSettings; } + /** Returns the builder for the settings used for calls to createNasJob. */ + public UnaryCallSettings.Builder createNasJobSettings() { + return createNasJobSettings; + } + + /** Returns the builder for the settings used for calls to getNasJob. */ + public UnaryCallSettings.Builder getNasJobSettings() { + return getNasJobSettings; + } + + /** Returns the builder for the settings used for calls to listNasJobs. */ + public PagedCallSettings.Builder< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse> + listNasJobsSettings() { + return listNasJobsSettings; + } + + /** Returns the builder for the settings used for calls to deleteNasJob. */ + public UnaryCallSettings.Builder deleteNasJobSettings() { + return deleteNasJobSettings; + } + + /** Returns the builder for the settings used for calls to deleteNasJob. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + deleteNasJobOperationSettings() { + return deleteNasJobOperationSettings; + } + + /** Returns the builder for the settings used for calls to cancelNasJob. */ + public UnaryCallSettings.Builder cancelNasJobSettings() { + return cancelNasJobSettings; + } + + /** Returns the builder for the settings used for calls to getNasTrialDetail. */ + public UnaryCallSettings.Builder + getNasTrialDetailSettings() { + return getNasTrialDetailSettings; + } + + /** Returns the builder for the settings used for calls to listNasTrialDetails. */ + public PagedCallSettings.Builder< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings() { + return listNasTrialDetailsSettings; + } + /** Returns the builder for the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings.Builder createBatchPredictionJobSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java index 8453778fa532..d167d99f51f0 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStub.java @@ -27,6 +27,9 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse; +import com.google.cloud.aiplatform.v1.CopyModelOperationMetadata; +import com.google.cloud.aiplatform.v1.CopyModelRequest; +import com.google.cloud.aiplatform.v1.CopyModelResponse; import com.google.cloud.aiplatform.v1.DeleteModelRequest; import com.google.cloud.aiplatform.v1.DeleteModelVersionRequest; import com.google.cloud.aiplatform.v1.DeleteOperationMetadata; @@ -147,6 +150,15 @@ public UnaryCallable exportModelCallable() { throw new UnsupportedOperationException("Not implemented: exportModelCallable()"); } + public OperationCallable + copyModelOperationCallable() { + throw new UnsupportedOperationException("Not implemented: copyModelOperationCallable()"); + } + + public UnaryCallable copyModelCallable() { + throw new UnsupportedOperationException("Not implemented: copyModelCallable()"); + } + public UnaryCallable importModelEvaluationCallable() { throw new UnsupportedOperationException("Not implemented: importModelEvaluationCallable()"); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java index e9ec95f7b6b5..d6beff0face4 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/ModelServiceStubSettings.java @@ -50,6 +50,9 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse; +import com.google.cloud.aiplatform.v1.CopyModelOperationMetadata; +import com.google.cloud.aiplatform.v1.CopyModelRequest; +import com.google.cloud.aiplatform.v1.CopyModelResponse; import com.google.cloud.aiplatform.v1.DeleteModelRequest; import com.google.cloud.aiplatform.v1.DeleteModelVersionRequest; import com.google.cloud.aiplatform.v1.DeleteOperationMetadata; @@ -161,6 +164,10 @@ public class ModelServiceStubSettings extends StubSettings exportModelOperationSettings; + private final UnaryCallSettings copyModelSettings; + private final OperationCallSettings< + CopyModelRequest, CopyModelResponse, CopyModelOperationMetadata> + copyModelOperationSettings; private final UnaryCallSettings importModelEvaluationSettings; private final UnaryCallSettings< @@ -567,6 +574,17 @@ public UnaryCallSettings exportModelSettings() { return exportModelOperationSettings; } + /** Returns the object with the settings used for calls to copyModel. */ + public UnaryCallSettings copyModelSettings() { + return copyModelSettings; + } + + /** Returns the object with the settings used for calls to copyModel. */ + public OperationCallSettings + copyModelOperationSettings() { + return copyModelOperationSettings; + } + /** Returns the object with the settings used for calls to importModelEvaluation. */ public UnaryCallSettings importModelEvaluationSettings() { @@ -726,6 +744,8 @@ protected ModelServiceStubSettings(Builder settingsBuilder) throws IOException { mergeVersionAliasesSettings = settingsBuilder.mergeVersionAliasesSettings().build(); exportModelSettings = settingsBuilder.exportModelSettings().build(); exportModelOperationSettings = settingsBuilder.exportModelOperationSettings().build(); + copyModelSettings = settingsBuilder.copyModelSettings().build(); + copyModelOperationSettings = settingsBuilder.copyModelOperationSettings().build(); importModelEvaluationSettings = settingsBuilder.importModelEvaluationSettings().build(); batchImportModelEvaluationSlicesSettings = settingsBuilder.batchImportModelEvaluationSlicesSettings().build(); @@ -769,6 +789,10 @@ public static class Builder extends StubSettings.Builder exportModelOperationSettings; + private final UnaryCallSettings.Builder copyModelSettings; + private final OperationCallSettings.Builder< + CopyModelRequest, CopyModelResponse, CopyModelOperationMetadata> + copyModelOperationSettings; private final UnaryCallSettings.Builder importModelEvaluationSettings; private final UnaryCallSettings.Builder< @@ -836,6 +860,8 @@ protected Builder(ClientContext clientContext) { mergeVersionAliasesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); exportModelSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); exportModelOperationSettings = OperationCallSettings.newBuilder(); + copyModelSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + copyModelOperationSettings = OperationCallSettings.newBuilder(); importModelEvaluationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); batchImportModelEvaluationSlicesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getModelEvaluationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -861,6 +887,7 @@ protected Builder(ClientContext clientContext) { deleteModelVersionSettings, mergeVersionAliasesSettings, exportModelSettings, + copyModelSettings, importModelEvaluationSettings, batchImportModelEvaluationSlicesSettings, getModelEvaluationSettings, @@ -892,6 +919,8 @@ protected Builder(ModelServiceStubSettings settings) { mergeVersionAliasesSettings = settings.mergeVersionAliasesSettings.toBuilder(); exportModelSettings = settings.exportModelSettings.toBuilder(); exportModelOperationSettings = settings.exportModelOperationSettings.toBuilder(); + copyModelSettings = settings.copyModelSettings.toBuilder(); + copyModelOperationSettings = settings.copyModelOperationSettings.toBuilder(); importModelEvaluationSettings = settings.importModelEvaluationSettings.toBuilder(); batchImportModelEvaluationSlicesSettings = settings.batchImportModelEvaluationSlicesSettings.toBuilder(); @@ -916,6 +945,7 @@ protected Builder(ModelServiceStubSettings settings) { deleteModelVersionSettings, mergeVersionAliasesSettings, exportModelSettings, + copyModelSettings, importModelEvaluationSettings, batchImportModelEvaluationSlicesSettings, getModelEvaluationSettings, @@ -988,6 +1018,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder + .copyModelSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + builder .importModelEvaluationSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -1138,6 +1173,30 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(300000L)) .build())); + builder + .copyModelOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(CopyModelResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create( + CopyModelOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + return builder; } @@ -1240,6 +1299,20 @@ public UnaryCallSettings.Builder exportModelSetti return exportModelOperationSettings; } + /** Returns the builder for the settings used for calls to copyModel. */ + public UnaryCallSettings.Builder copyModelSettings() { + return copyModelSettings; + } + + /** Returns the builder for the settings used for calls to copyModel. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + CopyModelRequest, CopyModelResponse, CopyModelOperationMetadata> + copyModelOperationSettings() { + return copyModelOperationSettings; + } + /** Returns the builder for the settings used for calls to importModelEvaluation. */ public UnaryCallSettings.Builder importModelEvaluationSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java index 41d65ca53971..75e04d6d5341 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceClient.java @@ -2331,6 +2331,973 @@ public final void cancelHyperparameterTuningJob(CancelHyperparameterTuningJobReq return stub.cancelHyperparameterTuningJobCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   NasJob nasJob = NasJob.newBuilder().build();
+   *   NasJob response = jobServiceClient.createNasJob(parent, nasJob);
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location to create the NasJob in. Format: + * `projects/{project}/locations/{location}` + * @param nasJob Required. The NasJob to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasJob createNasJob(LocationName parent, NasJob nasJob) { + CreateNasJobRequest request = + CreateNasJobRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setNasJob(nasJob) + .build(); + return createNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   NasJob nasJob = NasJob.newBuilder().build();
+   *   NasJob response = jobServiceClient.createNasJob(parent, nasJob);
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location to create the NasJob in. Format: + * `projects/{project}/locations/{location}` + * @param nasJob Required. The NasJob to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasJob createNasJob(String parent, NasJob nasJob) { + CreateNasJobRequest request = + CreateNasJobRequest.newBuilder().setParent(parent).setNasJob(nasJob).build(); + return createNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   CreateNasJobRequest request =
+   *       CreateNasJobRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setNasJob(NasJob.newBuilder().build())
+   *           .build();
+   *   NasJob response = jobServiceClient.createNasJob(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 NasJob createNasJob(CreateNasJobRequest request) { + return createNasJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   CreateNasJobRequest request =
+   *       CreateNasJobRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setNasJob(NasJob.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.createNasJobCallable().futureCall(request);
+   *   // Do something.
+   *   NasJob response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createNasJobCallable() { + return stub.createNasJobCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]");
+   *   NasJob response = jobServiceClient.getNasJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasJob getNasJob(NasJobName name) { + GetNasJobRequest request = + GetNasJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString();
+   *   NasJob response = jobServiceClient.getNasJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasJob getNasJob(String name) { + GetNasJobRequest request = GetNasJobRequest.newBuilder().setName(name).build(); + return getNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   GetNasJobRequest request =
+   *       GetNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   NasJob response = jobServiceClient.getNasJob(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 NasJob getNasJob(GetNasJobRequest request) { + return getNasJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasJob + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   GetNasJobRequest request =
+   *       GetNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.getNasJobCallable().futureCall(request);
+   *   // Do something.
+   *   NasJob response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getNasJobCallable() { + return stub.getNasJobCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (NasJob element : jobServiceClient.listNasJobs(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location to list the NasJobs from. Format: + * `projects/{project}/locations/{location}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNasJobsPagedResponse listNasJobs(LocationName parent) { + ListNasJobsRequest request = + ListNasJobsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listNasJobs(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   for (NasJob element : jobServiceClient.listNasJobs(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location to list the NasJobs from. Format: + * `projects/{project}/locations/{location}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNasJobsPagedResponse listNasJobs(String parent) { + ListNasJobsRequest request = ListNasJobsRequest.newBuilder().setParent(parent).build(); + return listNasJobs(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasJobsRequest request =
+   *       ListNasJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setReadMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   for (NasJob element : jobServiceClient.listNasJobs(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 ListNasJobsPagedResponse listNasJobs(ListNasJobsRequest request) { + return listNasJobsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasJobsRequest request =
+   *       ListNasJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setReadMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.listNasJobsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (NasJob element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listNasJobsPagedCallable() { + return stub.listNasJobsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists NasJobs in 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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasJobsRequest request =
+   *       ListNasJobsRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setReadMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   while (true) {
+   *     ListNasJobsResponse response = jobServiceClient.listNasJobsCallable().call(request);
+   *     for (NasJob element : response.getNasJobsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listNasJobsCallable() { + return stub.listNasJobsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]");
+   *   jobServiceClient.deleteNasJobAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob resource to be deleted. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteNasJobAsync(NasJobName name) { + DeleteNasJobRequest request = + DeleteNasJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return deleteNasJobAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString();
+   *   jobServiceClient.deleteNasJobAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob resource to be deleted. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteNasJobAsync(String name) { + DeleteNasJobRequest request = DeleteNasJobRequest.newBuilder().setName(name).build(); + return deleteNasJobAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   DeleteNasJobRequest request =
+   *       DeleteNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   jobServiceClient.deleteNasJobAsync(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 deleteNasJobAsync( + DeleteNasJobRequest request) { + return deleteNasJobOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   DeleteNasJobRequest request =
+   *       DeleteNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   OperationFuture future =
+   *       jobServiceClient.deleteNasJobOperationCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final OperationCallable + deleteNasJobOperationCallable() { + return stub.deleteNasJobOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   DeleteNasJobRequest request =
+   *       DeleteNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.deleteNasJobCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteNasJobCallable() { + return stub.deleteNasJobCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best + * effort to cancel the job, but success is not guaranteed. Clients can use + * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob] or other methods + * to check whether the cancellation succeeded or whether the job completed despite cancellation. + * On successful cancellation, the NasJob is not deleted; instead it becomes a job with a + * [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and + * [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to `CANCELLED`. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]");
+   *   jobServiceClient.cancelNasJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob to cancel. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void cancelNasJob(NasJobName name) { + CancelNasJobRequest request = + CancelNasJobRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + cancelNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best + * effort to cancel the job, but success is not guaranteed. Clients can use + * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob] or other methods + * to check whether the cancellation succeeded or whether the job completed despite cancellation. + * On successful cancellation, the NasJob is not deleted; instead it becomes a job with a + * [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and + * [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to `CANCELLED`. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString();
+   *   jobServiceClient.cancelNasJob(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasJob to cancel. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void cancelNasJob(String name) { + CancelNasJobRequest request = CancelNasJobRequest.newBuilder().setName(name).build(); + cancelNasJob(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best + * effort to cancel the job, but success is not guaranteed. Clients can use + * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob] or other methods + * to check whether the cancellation succeeded or whether the job completed despite cancellation. + * On successful cancellation, the NasJob is not deleted; instead it becomes a job with a + * [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and + * [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to `CANCELLED`. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   CancelNasJobRequest request =
+   *       CancelNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   jobServiceClient.cancelNasJob(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void cancelNasJob(CancelNasJobRequest request) { + cancelNasJobCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Cancels a NasJob. Starts asynchronous cancellation on the NasJob. The server makes a best + * effort to cancel the job, but success is not guaranteed. Clients can use + * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob] or other methods + * to check whether the cancellation succeeded or whether the job completed despite cancellation. + * On successful cancellation, the NasJob is not deleted; instead it becomes a job with a + * [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a + * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`, and + * [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to `CANCELLED`. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   CancelNasJobRequest request =
+   *       CancelNasJobRequest.newBuilder()
+   *           .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .build();
+   *   ApiFuture future = jobServiceClient.cancelNasJobCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable cancelNasJobCallable() { + return stub.cancelNasJobCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasTrialDetail. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasTrialDetailName name =
+   *       NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]");
+   *   NasTrialDetail response = jobServiceClient.getNasTrialDetail(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasTrialDetail resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasTrialDetail getNasTrialDetail(NasTrialDetailName name) { + GetNasTrialDetailRequest request = + GetNasTrialDetailRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getNasTrialDetail(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasTrialDetail. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String name =
+   *       NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]")
+   *           .toString();
+   *   NasTrialDetail response = jobServiceClient.getNasTrialDetail(name);
+   * }
+   * }
+ * + * @param name Required. The name of the NasTrialDetail resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NasTrialDetail getNasTrialDetail(String name) { + GetNasTrialDetailRequest request = GetNasTrialDetailRequest.newBuilder().setName(name).build(); + return getNasTrialDetail(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasTrialDetail. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   GetNasTrialDetailRequest request =
+   *       GetNasTrialDetailRequest.newBuilder()
+   *           .setName(
+   *               NasTrialDetailName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]")
+   *                   .toString())
+   *           .build();
+   *   NasTrialDetail response = jobServiceClient.getNasTrialDetail(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 NasTrialDetail getNasTrialDetail(GetNasTrialDetailRequest request) { + return getNasTrialDetailCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a NasTrialDetail. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   GetNasTrialDetailRequest request =
+   *       GetNasTrialDetailRequest.newBuilder()
+   *           .setName(
+   *               NasTrialDetailName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       jobServiceClient.getNasTrialDetailCallable().futureCall(request);
+   *   // Do something.
+   *   NasTrialDetail response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getNasTrialDetailCallable() { + return stub.getNasTrialDetailCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   NasJobName parent = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]");
+   *   for (NasTrialDetail element : jobServiceClient.listNasTrialDetails(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The name of the NasJob resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNasTrialDetailsPagedResponse listNasTrialDetails(NasJobName parent) { + ListNasTrialDetailsRequest request = + ListNasTrialDetailsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listNasTrialDetails(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   String parent = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString();
+   *   for (NasTrialDetail element : jobServiceClient.listNasTrialDetails(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The name of the NasJob resource. Format: + * `projects/{project}/locations/{location}/nasJobs/{nas_job}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListNasTrialDetailsPagedResponse listNasTrialDetails(String parent) { + ListNasTrialDetailsRequest request = + ListNasTrialDetailsRequest.newBuilder().setParent(parent).build(); + return listNasTrialDetails(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasTrialDetailsRequest request =
+   *       ListNasTrialDetailsRequest.newBuilder()
+   *           .setParent(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (NasTrialDetail element : jobServiceClient.listNasTrialDetails(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 ListNasTrialDetailsPagedResponse listNasTrialDetails( + ListNasTrialDetailsRequest request) { + return listNasTrialDetailsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasTrialDetailsRequest request =
+   *       ListNasTrialDetailsRequest.newBuilder()
+   *           .setParent(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       jobServiceClient.listNasTrialDetailsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (NasTrialDetail element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listNasTrialDetailsPagedCallable() { + return stub.listNasTrialDetailsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List top NasTrialDetails of a NasJob. + * + *

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 (JobServiceClient jobServiceClient = JobServiceClient.create()) {
+   *   ListNasTrialDetailsRequest request =
+   *       ListNasTrialDetailsRequest.newBuilder()
+   *           .setParent(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListNasTrialDetailsResponse response =
+   *         jobServiceClient.listNasTrialDetailsCallable().call(request);
+   *     for (NasTrialDetail element : response.getNasTrialDetailsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listNasTrialDetailsCallable() { + return stub.listNasTrialDetailsCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to @@ -4997,6 +5964,163 @@ protected ListHyperparameterTuningJobsFixedSizeCollection createCollection( } } + public static class ListNasJobsPagedResponse + extends AbstractPagedListResponse< + ListNasJobsRequest, + ListNasJobsResponse, + NasJob, + ListNasJobsPage, + ListNasJobsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListNasJobsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListNasJobsPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListNasJobsPagedResponse(ListNasJobsPage page) { + super(page, ListNasJobsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListNasJobsPage + extends AbstractPage { + + private ListNasJobsPage( + PageContext context, + ListNasJobsResponse response) { + super(context, response); + } + + private static ListNasJobsPage createEmptyPage() { + return new ListNasJobsPage(null, null); + } + + @Override + protected ListNasJobsPage createPage( + PageContext context, + ListNasJobsResponse response) { + return new ListNasJobsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListNasJobsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListNasJobsRequest, + ListNasJobsResponse, + NasJob, + ListNasJobsPage, + ListNasJobsFixedSizeCollection> { + + private ListNasJobsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListNasJobsFixedSizeCollection createEmptyCollection() { + return new ListNasJobsFixedSizeCollection(null, 0); + } + + @Override + protected ListNasJobsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListNasJobsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListNasTrialDetailsPagedResponse + extends AbstractPagedListResponse< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + NasTrialDetail, + ListNasTrialDetailsPage, + ListNasTrialDetailsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListNasTrialDetailsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListNasTrialDetailsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListNasTrialDetailsPagedResponse(ListNasTrialDetailsPage page) { + super(page, ListNasTrialDetailsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListNasTrialDetailsPage + extends AbstractPage< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + NasTrialDetail, + ListNasTrialDetailsPage> { + + private ListNasTrialDetailsPage( + PageContext + context, + ListNasTrialDetailsResponse response) { + super(context, response); + } + + private static ListNasTrialDetailsPage createEmptyPage() { + return new ListNasTrialDetailsPage(null, null); + } + + @Override + protected ListNasTrialDetailsPage createPage( + PageContext + context, + ListNasTrialDetailsResponse response) { + return new ListNasTrialDetailsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListNasTrialDetailsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + NasTrialDetail, + ListNasTrialDetailsPage, + ListNasTrialDetailsFixedSizeCollection> { + + private ListNasTrialDetailsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListNasTrialDetailsFixedSizeCollection createEmptyCollection() { + return new ListNasTrialDetailsFixedSizeCollection(null, 0); + } + + @Override + protected ListNasTrialDetailsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListNasTrialDetailsFixedSizeCollection(pages, collectionSize); + } + } + public static class ListBatchPredictionJobsPagedResponse extends AbstractPagedListResponse< ListBatchPredictionJobsRequest, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java index d1c7434d3a35..4fa9a7959eb2 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceSettings.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.core.ApiFunction; @@ -203,6 +205,50 @@ public UnaryCallSettings cancelDataLabeling return ((JobServiceStubSettings) getStubSettings()).cancelHyperparameterTuningJobSettings(); } + /** Returns the object with the settings used for calls to createNasJob. */ + public UnaryCallSettings createNasJobSettings() { + return ((JobServiceStubSettings) getStubSettings()).createNasJobSettings(); + } + + /** Returns the object with the settings used for calls to getNasJob. */ + public UnaryCallSettings getNasJobSettings() { + return ((JobServiceStubSettings) getStubSettings()).getNasJobSettings(); + } + + /** Returns the object with the settings used for calls to listNasJobs. */ + public PagedCallSettings + listNasJobsSettings() { + return ((JobServiceStubSettings) getStubSettings()).listNasJobsSettings(); + } + + /** Returns the object with the settings used for calls to deleteNasJob. */ + public UnaryCallSettings deleteNasJobSettings() { + return ((JobServiceStubSettings) getStubSettings()).deleteNasJobSettings(); + } + + /** Returns the object with the settings used for calls to deleteNasJob. */ + public OperationCallSettings + deleteNasJobOperationSettings() { + return ((JobServiceStubSettings) getStubSettings()).deleteNasJobOperationSettings(); + } + + /** Returns the object with the settings used for calls to cancelNasJob. */ + public UnaryCallSettings cancelNasJobSettings() { + return ((JobServiceStubSettings) getStubSettings()).cancelNasJobSettings(); + } + + /** Returns the object with the settings used for calls to getNasTrialDetail. */ + public UnaryCallSettings getNasTrialDetailSettings() { + return ((JobServiceStubSettings) getStubSettings()).getNasTrialDetailSettings(); + } + + /** Returns the object with the settings used for calls to listNasTrialDetails. */ + public PagedCallSettings< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings() { + return ((JobServiceStubSettings) getStubSettings()).listNasTrialDetailsSettings(); + } + /** Returns the object with the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings createBatchPredictionJobSettings() { @@ -558,6 +604,54 @@ public UnaryCallSettings.Builder cancelCustomJobS return getStubSettingsBuilder().cancelHyperparameterTuningJobSettings(); } + /** Returns the builder for the settings used for calls to createNasJob. */ + public UnaryCallSettings.Builder createNasJobSettings() { + return getStubSettingsBuilder().createNasJobSettings(); + } + + /** Returns the builder for the settings used for calls to getNasJob. */ + public UnaryCallSettings.Builder getNasJobSettings() { + return getStubSettingsBuilder().getNasJobSettings(); + } + + /** Returns the builder for the settings used for calls to listNasJobs. */ + public PagedCallSettings.Builder< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse> + listNasJobsSettings() { + return getStubSettingsBuilder().listNasJobsSettings(); + } + + /** Returns the builder for the settings used for calls to deleteNasJob. */ + public UnaryCallSettings.Builder deleteNasJobSettings() { + return getStubSettingsBuilder().deleteNasJobSettings(); + } + + /** Returns the builder for the settings used for calls to deleteNasJob. */ + public OperationCallSettings.Builder + deleteNasJobOperationSettings() { + return getStubSettingsBuilder().deleteNasJobOperationSettings(); + } + + /** Returns the builder for the settings used for calls to cancelNasJob. */ + public UnaryCallSettings.Builder cancelNasJobSettings() { + return getStubSettingsBuilder().cancelNasJobSettings(); + } + + /** Returns the builder for the settings used for calls to getNasTrialDetail. */ + public UnaryCallSettings.Builder + getNasTrialDetailSettings() { + return getStubSettingsBuilder().getNasTrialDetailSettings(); + } + + /** Returns the builder for the settings used for calls to listNasTrialDetails. */ + public PagedCallSettings.Builder< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings() { + return getStubSettingsBuilder().listNasTrialDetailsSettings(); + } + /** Returns the builder for the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings.Builder createBatchPredictionJobSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java index d46934f6c084..14d08466c17c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClient.java @@ -1709,6 +1709,255 @@ public final UnaryCallable exportModelCallable() return stub.exportModelCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to be region-agnostic, + * as well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location into which to copy the Model. Format: + * `projects/{project}/locations/{location}` + * @param sourceModel Required. The resource name of the Model to copy. That Model must be in the + * same Project. Format: `projects/{project}/locations/{location}/models/{model}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyModelAsync( + LocationName parent, ModelName sourceModel) { + CopyModelRequest request = + CopyModelRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setSourceModel(sourceModel == null ? null : sourceModel.toString()) + .build(); + return copyModelAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to be region-agnostic, + * as well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   String sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location into which to copy the Model. Format: + * `projects/{project}/locations/{location}` + * @param sourceModel Required. The resource name of the Model to copy. That Model must be in the + * same Project. Format: `projects/{project}/locations/{location}/models/{model}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyModelAsync( + LocationName parent, String sourceModel) { + CopyModelRequest request = + CopyModelRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setSourceModel(sourceModel) + .build(); + return copyModelAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to be region-agnostic, + * as well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location into which to copy the Model. Format: + * `projects/{project}/locations/{location}` + * @param sourceModel Required. The resource name of the Model to copy. That Model must be in the + * same Project. Format: `projects/{project}/locations/{location}/models/{model}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyModelAsync( + String parent, ModelName sourceModel) { + CopyModelRequest request = + CopyModelRequest.newBuilder() + .setParent(parent) + .setSourceModel(sourceModel == null ? null : sourceModel.toString()) + .build(); + return copyModelAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to be region-agnostic, + * as well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   String sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString();
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(parent, sourceModel).get();
+   * }
+   * }
+ * + * @param parent Required. The resource name of the Location into which to copy the Model. Format: + * `projects/{project}/locations/{location}` + * @param sourceModel Required. The resource name of the Model to copy. That Model must be in the + * same Project. Format: `projects/{project}/locations/{location}/models/{model}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture copyModelAsync( + String parent, String sourceModel) { + CopyModelRequest request = + CopyModelRequest.newBuilder().setParent(parent).setSourceModel(sourceModel).build(); + return copyModelAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to be region-agnostic, + * as well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   CopyModelRequest request =
+   *       CopyModelRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setSourceModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setEncryptionSpec(EncryptionSpec.newBuilder().build())
+   *           .build();
+   *   CopyModelResponse response = modelServiceClient.copyModelAsync(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 copyModelAsync( + CopyModelRequest request) { + return copyModelOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to be region-agnostic, + * as well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   CopyModelRequest request =
+   *       CopyModelRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setSourceModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setEncryptionSpec(EncryptionSpec.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       modelServiceClient.copyModelOperationCallable().futureCall(request);
+   *   // Do something.
+   *   CopyModelResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + copyModelOperationCallable() { + return stub.copyModelOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies an already existing Vertex AI Model into the specified Location. The source Model must + * exist in the same Project. When copying custom Models, the users themselves are responsible for + * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to be region-agnostic, + * as well as making sure that any resources (e.g. files) it depends on remain accessible. + * + *

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 (ModelServiceClient modelServiceClient = ModelServiceClient.create()) {
+   *   CopyModelRequest request =
+   *       CopyModelRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setSourceModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString())
+   *           .setEncryptionSpec(EncryptionSpec.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = modelServiceClient.copyModelCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable copyModelCallable() { + return stub.copyModelCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Imports an externally generated ModelEvaluation. diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java index 5d90c9e37556..83f5c9fe07a8 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceSettings.java @@ -180,6 +180,17 @@ public UnaryCallSettings exportModelSettings() { return ((ModelServiceStubSettings) getStubSettings()).exportModelOperationSettings(); } + /** Returns the object with the settings used for calls to copyModel. */ + public UnaryCallSettings copyModelSettings() { + return ((ModelServiceStubSettings) getStubSettings()).copyModelSettings(); + } + + /** Returns the object with the settings used for calls to copyModel. */ + public OperationCallSettings + copyModelOperationSettings() { + return ((ModelServiceStubSettings) getStubSettings()).copyModelOperationSettings(); + } + /** Returns the object with the settings used for calls to importModelEvaluation. */ public UnaryCallSettings importModelEvaluationSettings() { @@ -439,6 +450,18 @@ public UnaryCallSettings.Builder exportModelSetti return getStubSettingsBuilder().exportModelOperationSettings(); } + /** Returns the builder for the settings used for calls to copyModel. */ + public UnaryCallSettings.Builder copyModelSettings() { + return getStubSettingsBuilder().copyModelSettings(); + } + + /** Returns the builder for the settings used for calls to copyModel. */ + public OperationCallSettings.Builder< + CopyModelRequest, CopyModelResponse, CopyModelOperationMetadata> + copyModelOperationSettings() { + return getStubSettingsBuilder().copyModelOperationSettings(); + } + /** Returns the builder for the settings used for calls to importModelEvaluation. */ public UnaryCallSettings.Builder importModelEvaluationSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json index 974be494bd53..238e96749d42 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json @@ -379,6 +379,9 @@ "CancelHyperparameterTuningJob": { "methods": ["cancelHyperparameterTuningJob", "cancelHyperparameterTuningJob", "cancelHyperparameterTuningJob", "cancelHyperparameterTuningJobCallable"] }, + "CancelNasJob": { + "methods": ["cancelNasJob", "cancelNasJob", "cancelNasJob", "cancelNasJobCallable"] + }, "CreateBatchPredictionJob": { "methods": ["createBatchPredictionJob", "createBatchPredictionJob", "createBatchPredictionJob", "createBatchPredictionJobCallable"] }, @@ -394,6 +397,9 @@ "CreateModelDeploymentMonitoringJob": { "methods": ["createModelDeploymentMonitoringJob", "createModelDeploymentMonitoringJob", "createModelDeploymentMonitoringJob", "createModelDeploymentMonitoringJobCallable"] }, + "CreateNasJob": { + "methods": ["createNasJob", "createNasJob", "createNasJob", "createNasJobCallable"] + }, "DeleteBatchPredictionJob": { "methods": ["deleteBatchPredictionJobAsync", "deleteBatchPredictionJobAsync", "deleteBatchPredictionJobAsync", "deleteBatchPredictionJobOperationCallable", "deleteBatchPredictionJobCallable"] }, @@ -409,6 +415,9 @@ "DeleteModelDeploymentMonitoringJob": { "methods": ["deleteModelDeploymentMonitoringJobAsync", "deleteModelDeploymentMonitoringJobAsync", "deleteModelDeploymentMonitoringJobAsync", "deleteModelDeploymentMonitoringJobOperationCallable", "deleteModelDeploymentMonitoringJobCallable"] }, + "DeleteNasJob": { + "methods": ["deleteNasJobAsync", "deleteNasJobAsync", "deleteNasJobAsync", "deleteNasJobOperationCallable", "deleteNasJobCallable"] + }, "GetBatchPredictionJob": { "methods": ["getBatchPredictionJob", "getBatchPredictionJob", "getBatchPredictionJob", "getBatchPredictionJobCallable"] }, @@ -430,6 +439,12 @@ "GetModelDeploymentMonitoringJob": { "methods": ["getModelDeploymentMonitoringJob", "getModelDeploymentMonitoringJob", "getModelDeploymentMonitoringJob", "getModelDeploymentMonitoringJobCallable"] }, + "GetNasJob": { + "methods": ["getNasJob", "getNasJob", "getNasJob", "getNasJobCallable"] + }, + "GetNasTrialDetail": { + "methods": ["getNasTrialDetail", "getNasTrialDetail", "getNasTrialDetail", "getNasTrialDetailCallable"] + }, "ListBatchPredictionJobs": { "methods": ["listBatchPredictionJobs", "listBatchPredictionJobs", "listBatchPredictionJobs", "listBatchPredictionJobsPagedCallable", "listBatchPredictionJobsCallable"] }, @@ -448,6 +463,12 @@ "ListModelDeploymentMonitoringJobs": { "methods": ["listModelDeploymentMonitoringJobs", "listModelDeploymentMonitoringJobs", "listModelDeploymentMonitoringJobs", "listModelDeploymentMonitoringJobsPagedCallable", "listModelDeploymentMonitoringJobsCallable"] }, + "ListNasJobs": { + "methods": ["listNasJobs", "listNasJobs", "listNasJobs", "listNasJobsPagedCallable", "listNasJobsCallable"] + }, + "ListNasTrialDetails": { + "methods": ["listNasTrialDetails", "listNasTrialDetails", "listNasTrialDetails", "listNasTrialDetailsPagedCallable", "listNasTrialDetailsCallable"] + }, "PauseModelDeploymentMonitoringJob": { "methods": ["pauseModelDeploymentMonitoringJob", "pauseModelDeploymentMonitoringJob", "pauseModelDeploymentMonitoringJob", "pauseModelDeploymentMonitoringJobCallable"] }, @@ -628,6 +649,9 @@ "BatchImportModelEvaluationSlices": { "methods": ["batchImportModelEvaluationSlices", "batchImportModelEvaluationSlices", "batchImportModelEvaluationSlices", "batchImportModelEvaluationSlicesCallable"] }, + "CopyModel": { + "methods": ["copyModelAsync", "copyModelAsync", "copyModelAsync", "copyModelAsync", "copyModelAsync", "copyModelOperationCallable", "copyModelCallable"] + }, "DeleteModel": { "methods": ["deleteModelAsync", "deleteModelAsync", "deleteModelAsync", "deleteModelOperationCallable", "deleteModelCallable"] }, diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceStub.java index fd5bd7a24def..e53650036b65 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcJobServiceStub.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.core.BetaApi; @@ -37,11 +39,13 @@ import com.google.cloud.aiplatform.v1beta1.CancelCustomJobRequest; import com.google.cloud.aiplatform.v1beta1.CancelDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.CancelHyperparameterTuningJobRequest; +import com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateCustomJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest; import com.google.cloud.aiplatform.v1beta1.CustomJob; import com.google.cloud.aiplatform.v1beta1.DataLabelingJob; import com.google.cloud.aiplatform.v1beta1.DeleteBatchPredictionJobRequest; @@ -49,12 +53,15 @@ import com.google.cloud.aiplatform.v1beta1.DeleteDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; import com.google.cloud.aiplatform.v1beta1.GetBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1beta1.GetCustomJobRequest; import com.google.cloud.aiplatform.v1beta1.GetDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.GetHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1beta1.GetModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1beta1.GetNasJobRequest; +import com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest; import com.google.cloud.aiplatform.v1beta1.HyperparameterTuningJob; import com.google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsRequest; import com.google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsResponse; @@ -66,7 +73,13 @@ import com.google.cloud.aiplatform.v1beta1.ListHyperparameterTuningJobsResponse; import com.google.cloud.aiplatform.v1beta1.ListModelDeploymentMonitoringJobsRequest; import com.google.cloud.aiplatform.v1beta1.ListModelDeploymentMonitoringJobsResponse; +import com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse; +import com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse; import com.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob; +import com.google.cloud.aiplatform.v1beta1.NasJob; +import com.google.cloud.aiplatform.v1beta1.NasTrialDetail; import com.google.cloud.aiplatform.v1beta1.PauseModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1beta1.ResumeModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest; @@ -265,6 +278,70 @@ public class GrpcJobServiceStub extends JobServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) .build(); + private static final MethodDescriptor createNasJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.JobService/CreateNasJob") + .setRequestMarshaller(ProtoUtils.marshaller(CreateNasJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(NasJob.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getNasJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.JobService/GetNasJob") + .setRequestMarshaller(ProtoUtils.marshaller(GetNasJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(NasJob.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listNasJobsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.JobService/ListNasJobs") + .setRequestMarshaller(ProtoUtils.marshaller(ListNasJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListNasJobsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteNasJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.JobService/DeleteNasJob") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteNasJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor cancelNasJobMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.JobService/CancelNasJob") + .setRequestMarshaller(ProtoUtils.marshaller(CancelNasJobRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getNasTrialDetailMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.JobService/GetNasTrialDetail") + .setRequestMarshaller( + ProtoUtils.marshaller(GetNasTrialDetailRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(NasTrialDetail.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listNasTrialDetailsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.JobService/ListNasTrialDetails") + .setRequestMarshaller( + ProtoUtils.marshaller(ListNasTrialDetailsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListNasTrialDetailsResponse.getDefaultInstance())) + .build(); + private static final MethodDescriptor createBatchPredictionJobMethodDescriptor = MethodDescriptor.newBuilder() @@ -521,6 +598,20 @@ public class GrpcJobServiceStub extends JobServiceStub { deleteHyperparameterTuningJobOperationCallable; private final UnaryCallable cancelHyperparameterTuningJobCallable; + private final UnaryCallable createNasJobCallable; + private final UnaryCallable getNasJobCallable; + private final UnaryCallable listNasJobsCallable; + private final UnaryCallable + listNasJobsPagedCallable; + private final UnaryCallable deleteNasJobCallable; + private final OperationCallable + deleteNasJobOperationCallable; + private final UnaryCallable cancelNasJobCallable; + private final UnaryCallable getNasTrialDetailCallable; + private final UnaryCallable + listNasTrialDetailsCallable; + private final UnaryCallable + listNasTrialDetailsPagedCallable; private final UnaryCallable createBatchPredictionJobCallable; private final UnaryCallable @@ -785,6 +876,77 @@ protected GrpcJobServiceStub( return params.build(); }) .build(); + GrpcCallSettings createNasJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createNasJobMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getNasJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getNasJobMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings listNasJobsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listNasJobsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteNasJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteNasJobMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings cancelNasJobTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(cancelNasJobMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings getNasTrialDetailTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getNasTrialDetailMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + listNasTrialDetailsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listNasTrialDetailsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); GrpcCallSettings createBatchPredictionJobTransportSettings = GrpcCallSettings.newBuilder() @@ -1093,6 +1255,45 @@ protected GrpcJobServiceStub( cancelHyperparameterTuningJobTransportSettings, settings.cancelHyperparameterTuningJobSettings(), clientContext); + this.createNasJobCallable = + callableFactory.createUnaryCallable( + createNasJobTransportSettings, settings.createNasJobSettings(), clientContext); + this.getNasJobCallable = + callableFactory.createUnaryCallable( + getNasJobTransportSettings, settings.getNasJobSettings(), clientContext); + this.listNasJobsCallable = + callableFactory.createUnaryCallable( + listNasJobsTransportSettings, settings.listNasJobsSettings(), clientContext); + this.listNasJobsPagedCallable = + callableFactory.createPagedCallable( + listNasJobsTransportSettings, settings.listNasJobsSettings(), clientContext); + this.deleteNasJobCallable = + callableFactory.createUnaryCallable( + deleteNasJobTransportSettings, settings.deleteNasJobSettings(), clientContext); + this.deleteNasJobOperationCallable = + callableFactory.createOperationCallable( + deleteNasJobTransportSettings, + settings.deleteNasJobOperationSettings(), + clientContext, + operationsStub); + this.cancelNasJobCallable = + callableFactory.createUnaryCallable( + cancelNasJobTransportSettings, settings.cancelNasJobSettings(), clientContext); + this.getNasTrialDetailCallable = + callableFactory.createUnaryCallable( + getNasTrialDetailTransportSettings, + settings.getNasTrialDetailSettings(), + clientContext); + this.listNasTrialDetailsCallable = + callableFactory.createUnaryCallable( + listNasTrialDetailsTransportSettings, + settings.listNasTrialDetailsSettings(), + clientContext); + this.listNasTrialDetailsPagedCallable = + callableFactory.createPagedCallable( + listNasTrialDetailsTransportSettings, + settings.listNasTrialDetailsSettings(), + clientContext); this.createBatchPredictionJobCallable = callableFactory.createUnaryCallable( createBatchPredictionJobTransportSettings, @@ -1339,6 +1540,59 @@ public UnaryCallable cancelDataLabelingJobC return cancelHyperparameterTuningJobCallable; } + @Override + public UnaryCallable createNasJobCallable() { + return createNasJobCallable; + } + + @Override + public UnaryCallable getNasJobCallable() { + return getNasJobCallable; + } + + @Override + public UnaryCallable listNasJobsCallable() { + return listNasJobsCallable; + } + + @Override + public UnaryCallable listNasJobsPagedCallable() { + return listNasJobsPagedCallable; + } + + @Override + public UnaryCallable deleteNasJobCallable() { + return deleteNasJobCallable; + } + + @Override + public OperationCallable + deleteNasJobOperationCallable() { + return deleteNasJobOperationCallable; + } + + @Override + public UnaryCallable cancelNasJobCallable() { + return cancelNasJobCallable; + } + + @Override + public UnaryCallable getNasTrialDetailCallable() { + return getNasTrialDetailCallable; + } + + @Override + public UnaryCallable + listNasTrialDetailsCallable() { + return listNasTrialDetailsCallable; + } + + @Override + public UnaryCallable + listNasTrialDetailsPagedCallable() { + return listNasTrialDetailsPagedCallable; + } + @Override public UnaryCallable createBatchPredictionJobCallable() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java index 1087a381ca08..1abb96761c53 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcModelServiceStub.java @@ -32,6 +32,9 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.aiplatform.v1beta1.BatchImportModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1beta1.BatchImportModelEvaluationSlicesResponse; +import com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata; +import com.google.cloud.aiplatform.v1beta1.CopyModelRequest; +import com.google.cloud.aiplatform.v1beta1.CopyModelResponse; import com.google.cloud.aiplatform.v1beta1.DeleteModelRequest; import com.google.cloud.aiplatform.v1beta1.DeleteModelVersionRequest; import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; @@ -180,6 +183,14 @@ public class GrpcModelServiceStub extends ModelServiceStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); + private static final MethodDescriptor copyModelMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.aiplatform.v1beta1.ModelService/CopyModel") + .setRequestMarshaller(ProtoUtils.marshaller(CopyModelRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + private static final MethodDescriptor importModelEvaluationMethodDescriptor = MethodDescriptor.newBuilder() @@ -332,6 +343,9 @@ public class GrpcModelServiceStub extends ModelServiceStub { private final OperationCallable< ExportModelRequest, ExportModelResponse, ExportModelOperationMetadata> exportModelOperationCallable; + private final UnaryCallable copyModelCallable; + private final OperationCallable + copyModelOperationCallable; private final UnaryCallable importModelEvaluationCallable; private final UnaryCallable< @@ -503,6 +517,16 @@ protected GrpcModelServiceStub( return params.build(); }) .build(); + GrpcCallSettings copyModelTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(copyModelMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); GrpcCallSettings importModelEvaluationTransportSettings = GrpcCallSettings.newBuilder() @@ -701,6 +725,15 @@ protected GrpcModelServiceStub( settings.exportModelOperationSettings(), clientContext, operationsStub); + this.copyModelCallable = + callableFactory.createUnaryCallable( + copyModelTransportSettings, settings.copyModelSettings(), clientContext); + this.copyModelOperationCallable = + callableFactory.createOperationCallable( + copyModelTransportSettings, + settings.copyModelOperationSettings(), + clientContext, + operationsStub); this.importModelEvaluationCallable = callableFactory.createUnaryCallable( importModelEvaluationTransportSettings, @@ -866,6 +899,17 @@ public UnaryCallable exportModelCallable() { return exportModelOperationCallable; } + @Override + public UnaryCallable copyModelCallable() { + return copyModelCallable; + } + + @Override + public OperationCallable + copyModelOperationCallable() { + return copyModelOperationCallable; + } + @Override public UnaryCallable importModelEvaluationCallable() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStub.java index 996217ae904e..23065703d037 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStub.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.core.BetaApi; @@ -33,11 +35,13 @@ import com.google.cloud.aiplatform.v1beta1.CancelCustomJobRequest; import com.google.cloud.aiplatform.v1beta1.CancelDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.CancelHyperparameterTuningJobRequest; +import com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateCustomJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest; import com.google.cloud.aiplatform.v1beta1.CustomJob; import com.google.cloud.aiplatform.v1beta1.DataLabelingJob; import com.google.cloud.aiplatform.v1beta1.DeleteBatchPredictionJobRequest; @@ -45,12 +49,15 @@ import com.google.cloud.aiplatform.v1beta1.DeleteDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; import com.google.cloud.aiplatform.v1beta1.GetBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1beta1.GetCustomJobRequest; import com.google.cloud.aiplatform.v1beta1.GetDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.GetHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1beta1.GetModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1beta1.GetNasJobRequest; +import com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest; import com.google.cloud.aiplatform.v1beta1.HyperparameterTuningJob; import com.google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsRequest; import com.google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsResponse; @@ -62,7 +69,13 @@ import com.google.cloud.aiplatform.v1beta1.ListHyperparameterTuningJobsResponse; import com.google.cloud.aiplatform.v1beta1.ListModelDeploymentMonitoringJobsRequest; import com.google.cloud.aiplatform.v1beta1.ListModelDeploymentMonitoringJobsResponse; +import com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse; +import com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse; import com.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob; +import com.google.cloud.aiplatform.v1beta1.NasJob; +import com.google.cloud.aiplatform.v1beta1.NasTrialDetail; import com.google.cloud.aiplatform.v1beta1.PauseModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1beta1.ResumeModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest; @@ -203,6 +216,49 @@ public UnaryCallable cancelDataLabelingJobC "Not implemented: cancelHyperparameterTuningJobCallable()"); } + public UnaryCallable createNasJobCallable() { + throw new UnsupportedOperationException("Not implemented: createNasJobCallable()"); + } + + public UnaryCallable getNasJobCallable() { + throw new UnsupportedOperationException("Not implemented: getNasJobCallable()"); + } + + public UnaryCallable listNasJobsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listNasJobsPagedCallable()"); + } + + public UnaryCallable listNasJobsCallable() { + throw new UnsupportedOperationException("Not implemented: listNasJobsCallable()"); + } + + public OperationCallable + deleteNasJobOperationCallable() { + throw new UnsupportedOperationException("Not implemented: deleteNasJobOperationCallable()"); + } + + public UnaryCallable deleteNasJobCallable() { + throw new UnsupportedOperationException("Not implemented: deleteNasJobCallable()"); + } + + public UnaryCallable cancelNasJobCallable() { + throw new UnsupportedOperationException("Not implemented: cancelNasJobCallable()"); + } + + public UnaryCallable getNasTrialDetailCallable() { + throw new UnsupportedOperationException("Not implemented: getNasTrialDetailCallable()"); + } + + public UnaryCallable + listNasTrialDetailsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listNasTrialDetailsPagedCallable()"); + } + + public UnaryCallable + listNasTrialDetailsCallable() { + throw new UnsupportedOperationException("Not implemented: listNasTrialDetailsCallable()"); + } + public UnaryCallable createBatchPredictionJobCallable() { throw new UnsupportedOperationException("Not implemented: createBatchPredictionJobCallable()"); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java index 350ceca16f5a..f61db9c462e2 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/JobServiceStubSettings.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.core.ApiFunction; @@ -55,11 +57,13 @@ import com.google.cloud.aiplatform.v1beta1.CancelCustomJobRequest; import com.google.cloud.aiplatform.v1beta1.CancelDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.CancelHyperparameterTuningJobRequest; +import com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateCustomJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1beta1.CreateModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest; import com.google.cloud.aiplatform.v1beta1.CustomJob; import com.google.cloud.aiplatform.v1beta1.DataLabelingJob; import com.google.cloud.aiplatform.v1beta1.DeleteBatchPredictionJobRequest; @@ -67,12 +71,15 @@ import com.google.cloud.aiplatform.v1beta1.DeleteDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest; import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; import com.google.cloud.aiplatform.v1beta1.GetBatchPredictionJobRequest; import com.google.cloud.aiplatform.v1beta1.GetCustomJobRequest; import com.google.cloud.aiplatform.v1beta1.GetDataLabelingJobRequest; import com.google.cloud.aiplatform.v1beta1.GetHyperparameterTuningJobRequest; import com.google.cloud.aiplatform.v1beta1.GetModelDeploymentMonitoringJobRequest; +import com.google.cloud.aiplatform.v1beta1.GetNasJobRequest; +import com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest; import com.google.cloud.aiplatform.v1beta1.HyperparameterTuningJob; import com.google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsRequest; import com.google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsResponse; @@ -84,8 +91,14 @@ import com.google.cloud.aiplatform.v1beta1.ListHyperparameterTuningJobsResponse; import com.google.cloud.aiplatform.v1beta1.ListModelDeploymentMonitoringJobsRequest; import com.google.cloud.aiplatform.v1beta1.ListModelDeploymentMonitoringJobsResponse; +import com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse; +import com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest; +import com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse; import com.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob; import com.google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies; +import com.google.cloud.aiplatform.v1beta1.NasJob; +import com.google.cloud.aiplatform.v1beta1.NasTrialDetail; import com.google.cloud.aiplatform.v1beta1.PauseModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1beta1.ResumeModelDeploymentMonitoringJobRequest; import com.google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest; @@ -153,7 +166,10 @@ public class JobServiceStubSettings extends StubSettings { /** The default scopes of the service. */ private static final ImmutableList DEFAULT_SERVICE_SCOPES = - ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); + ImmutableList.builder() + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/cloud-platform.read-only") + .build(); private final UnaryCallSettings createCustomJobSettings; private final UnaryCallSettings getCustomJobSettings; @@ -195,6 +211,19 @@ public class JobServiceStubSettings extends StubSettings deleteHyperparameterTuningJobOperationSettings; private final UnaryCallSettings cancelHyperparameterTuningJobSettings; + private final UnaryCallSettings createNasJobSettings; + private final UnaryCallSettings getNasJobSettings; + private final PagedCallSettings + listNasJobsSettings; + private final UnaryCallSettings deleteNasJobSettings; + private final OperationCallSettings + deleteNasJobOperationSettings; + private final UnaryCallSettings cancelNasJobSettings; + private final UnaryCallSettings + getNasTrialDetailSettings; + private final PagedCallSettings< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings; private final UnaryCallSettings createBatchPredictionJobSettings; private final UnaryCallSettings @@ -379,6 +408,82 @@ public Iterable extractResources( } }; + private static final PagedListDescriptor + LIST_NAS_JOBS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListNasJobsRequest injectToken(ListNasJobsRequest payload, String token) { + return ListNasJobsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListNasJobsRequest injectPageSize(ListNasJobsRequest payload, int pageSize) { + return ListNasJobsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListNasJobsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListNasJobsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListNasJobsResponse payload) { + return payload.getNasJobsList() == null + ? ImmutableList.of() + : payload.getNasJobsList(); + } + }; + + private static final PagedListDescriptor< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, NasTrialDetail> + LIST_NAS_TRIAL_DETAILS_PAGE_STR_DESC = + new PagedListDescriptor< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, NasTrialDetail>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListNasTrialDetailsRequest injectToken( + ListNasTrialDetailsRequest payload, String token) { + return ListNasTrialDetailsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListNasTrialDetailsRequest injectPageSize( + ListNasTrialDetailsRequest payload, int pageSize) { + return ListNasTrialDetailsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListNasTrialDetailsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListNasTrialDetailsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListNasTrialDetailsResponse payload) { + return payload.getNasTrialDetailsList() == null + ? ImmutableList.of() + : payload.getNasTrialDetailsList(); + } + }; + private static final PagedListDescriptor< ListBatchPredictionJobsRequest, ListBatchPredictionJobsResponse, BatchPredictionJob> LIST_BATCH_PREDICTION_JOBS_PAGE_STR_DESC = @@ -633,6 +738,44 @@ public ApiFuture getFuturePagedRespon } }; + private static final PagedListResponseFactory< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse> + LIST_NAS_JOBS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListNasJobsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_NAS_JOBS_PAGE_STR_DESC, request, context); + return ListNasJobsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> + LIST_NAS_TRIAL_DETAILS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + ListNasTrialDetailsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListNasTrialDetailsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create( + callable, LIST_NAS_TRIAL_DETAILS_PAGE_STR_DESC, request, context); + return ListNasTrialDetailsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + private static final PagedListResponseFactory< ListBatchPredictionJobsRequest, ListBatchPredictionJobsResponse, @@ -855,6 +998,50 @@ public UnaryCallSettings cancelDataLabeling return cancelHyperparameterTuningJobSettings; } + /** Returns the object with the settings used for calls to createNasJob. */ + public UnaryCallSettings createNasJobSettings() { + return createNasJobSettings; + } + + /** Returns the object with the settings used for calls to getNasJob. */ + public UnaryCallSettings getNasJobSettings() { + return getNasJobSettings; + } + + /** Returns the object with the settings used for calls to listNasJobs. */ + public PagedCallSettings + listNasJobsSettings() { + return listNasJobsSettings; + } + + /** Returns the object with the settings used for calls to deleteNasJob. */ + public UnaryCallSettings deleteNasJobSettings() { + return deleteNasJobSettings; + } + + /** Returns the object with the settings used for calls to deleteNasJob. */ + public OperationCallSettings + deleteNasJobOperationSettings() { + return deleteNasJobOperationSettings; + } + + /** Returns the object with the settings used for calls to cancelNasJob. */ + public UnaryCallSettings cancelNasJobSettings() { + return cancelNasJobSettings; + } + + /** Returns the object with the settings used for calls to getNasTrialDetail. */ + public UnaryCallSettings getNasTrialDetailSettings() { + return getNasTrialDetailSettings; + } + + /** Returns the object with the settings used for calls to listNasTrialDetails. */ + public PagedCallSettings< + ListNasTrialDetailsRequest, ListNasTrialDetailsResponse, ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings() { + return listNasTrialDetailsSettings; + } + /** Returns the object with the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings createBatchPredictionJobSettings() { @@ -1094,6 +1281,14 @@ protected JobServiceStubSettings(Builder settingsBuilder) throws IOException { settingsBuilder.deleteHyperparameterTuningJobOperationSettings().build(); cancelHyperparameterTuningJobSettings = settingsBuilder.cancelHyperparameterTuningJobSettings().build(); + createNasJobSettings = settingsBuilder.createNasJobSettings().build(); + getNasJobSettings = settingsBuilder.getNasJobSettings().build(); + listNasJobsSettings = settingsBuilder.listNasJobsSettings().build(); + deleteNasJobSettings = settingsBuilder.deleteNasJobSettings().build(); + deleteNasJobOperationSettings = settingsBuilder.deleteNasJobOperationSettings().build(); + cancelNasJobSettings = settingsBuilder.cancelNasJobSettings().build(); + getNasTrialDetailSettings = settingsBuilder.getNasTrialDetailSettings().build(); + listNasTrialDetailsSettings = settingsBuilder.listNasTrialDetailsSettings().build(); createBatchPredictionJobSettings = settingsBuilder.createBatchPredictionJobSettings().build(); getBatchPredictionJobSettings = settingsBuilder.getBatchPredictionJobSettings().build(); listBatchPredictionJobsSettings = settingsBuilder.listBatchPredictionJobsSettings().build(); @@ -1177,6 +1372,22 @@ public static class Builder extends StubSettings.Builder cancelHyperparameterTuningJobSettings; + private final UnaryCallSettings.Builder createNasJobSettings; + private final UnaryCallSettings.Builder getNasJobSettings; + private final PagedCallSettings.Builder< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse> + listNasJobsSettings; + private final UnaryCallSettings.Builder deleteNasJobSettings; + private final OperationCallSettings.Builder + deleteNasJobOperationSettings; + private final UnaryCallSettings.Builder cancelNasJobSettings; + private final UnaryCallSettings.Builder + getNasTrialDetailSettings; + private final PagedCallSettings.Builder< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings; private final UnaryCallSettings.Builder createBatchPredictionJobSettings; private final UnaryCallSettings.Builder @@ -1241,9 +1452,9 @@ public static class Builder extends StubSettings.BuildernewArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); definitions.put( "no_retry_5_codes", ImmutableSet.copyOf(Lists.newArrayList())); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -1260,6 +1471,8 @@ public static class Builder extends StubSettings.BuildernewUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(DeleteOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + builder .deleteBatchPredictionJobOperationSettings() .setInitialCallSettings( @@ -1926,6 +2227,56 @@ public UnaryCallSettings.Builder cancelCustomJobS return cancelHyperparameterTuningJobSettings; } + /** Returns the builder for the settings used for calls to createNasJob. */ + public UnaryCallSettings.Builder createNasJobSettings() { + return createNasJobSettings; + } + + /** Returns the builder for the settings used for calls to getNasJob. */ + public UnaryCallSettings.Builder getNasJobSettings() { + return getNasJobSettings; + } + + /** Returns the builder for the settings used for calls to listNasJobs. */ + public PagedCallSettings.Builder< + ListNasJobsRequest, ListNasJobsResponse, ListNasJobsPagedResponse> + listNasJobsSettings() { + return listNasJobsSettings; + } + + /** Returns the builder for the settings used for calls to deleteNasJob. */ + public UnaryCallSettings.Builder deleteNasJobSettings() { + return deleteNasJobSettings; + } + + /** Returns the builder for the settings used for calls to deleteNasJob. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + deleteNasJobOperationSettings() { + return deleteNasJobOperationSettings; + } + + /** Returns the builder for the settings used for calls to cancelNasJob. */ + public UnaryCallSettings.Builder cancelNasJobSettings() { + return cancelNasJobSettings; + } + + /** Returns the builder for the settings used for calls to getNasTrialDetail. */ + public UnaryCallSettings.Builder + getNasTrialDetailSettings() { + return getNasTrialDetailSettings; + } + + /** Returns the builder for the settings used for calls to listNasTrialDetails. */ + public PagedCallSettings.Builder< + ListNasTrialDetailsRequest, + ListNasTrialDetailsResponse, + ListNasTrialDetailsPagedResponse> + listNasTrialDetailsSettings() { + return listNasTrialDetailsSettings; + } + /** Returns the builder for the settings used for calls to createBatchPredictionJob. */ public UnaryCallSettings.Builder createBatchPredictionJobSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStub.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStub.java index 3721c8c57f34..d48fa3f91a31 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStub.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStub.java @@ -28,6 +28,9 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.aiplatform.v1beta1.BatchImportModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1beta1.BatchImportModelEvaluationSlicesResponse; +import com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata; +import com.google.cloud.aiplatform.v1beta1.CopyModelRequest; +import com.google.cloud.aiplatform.v1beta1.CopyModelResponse; import com.google.cloud.aiplatform.v1beta1.DeleteModelRequest; import com.google.cloud.aiplatform.v1beta1.DeleteModelVersionRequest; import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; @@ -166,6 +169,15 @@ public UnaryCallable exportModelCallable() { throw new UnsupportedOperationException("Not implemented: exportModelCallable()"); } + public OperationCallable + copyModelOperationCallable() { + throw new UnsupportedOperationException("Not implemented: copyModelOperationCallable()"); + } + + public UnaryCallable copyModelCallable() { + throw new UnsupportedOperationException("Not implemented: copyModelCallable()"); + } + public UnaryCallable importModelEvaluationCallable() { throw new UnsupportedOperationException("Not implemented: importModelEvaluationCallable()"); diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java index 49f51f2bd4d8..16800bd02f0c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/ModelServiceStubSettings.java @@ -50,6 +50,9 @@ import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.aiplatform.v1beta1.BatchImportModelEvaluationSlicesRequest; import com.google.cloud.aiplatform.v1beta1.BatchImportModelEvaluationSlicesResponse; +import com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata; +import com.google.cloud.aiplatform.v1beta1.CopyModelRequest; +import com.google.cloud.aiplatform.v1beta1.CopyModelResponse; import com.google.cloud.aiplatform.v1beta1.DeleteModelRequest; import com.google.cloud.aiplatform.v1beta1.DeleteModelVersionRequest; import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata; @@ -172,6 +175,10 @@ public class ModelServiceStubSettings extends StubSettings exportModelOperationSettings; + private final UnaryCallSettings copyModelSettings; + private final OperationCallSettings< + CopyModelRequest, CopyModelResponse, CopyModelOperationMetadata> + copyModelOperationSettings; private final UnaryCallSettings importModelEvaluationSettings; private final UnaryCallSettings< @@ -593,6 +600,17 @@ public UnaryCallSettings exportModelSettings() { return exportModelOperationSettings; } + /** Returns the object with the settings used for calls to copyModel. */ + public UnaryCallSettings copyModelSettings() { + return copyModelSettings; + } + + /** Returns the object with the settings used for calls to copyModel. */ + public OperationCallSettings + copyModelOperationSettings() { + return copyModelOperationSettings; + } + /** Returns the object with the settings used for calls to importModelEvaluation. */ public UnaryCallSettings importModelEvaluationSettings() { @@ -755,6 +773,8 @@ protected ModelServiceStubSettings(Builder settingsBuilder) throws IOException { mergeVersionAliasesSettings = settingsBuilder.mergeVersionAliasesSettings().build(); exportModelSettings = settingsBuilder.exportModelSettings().build(); exportModelOperationSettings = settingsBuilder.exportModelOperationSettings().build(); + copyModelSettings = settingsBuilder.copyModelSettings().build(); + copyModelOperationSettings = settingsBuilder.copyModelOperationSettings().build(); importModelEvaluationSettings = settingsBuilder.importModelEvaluationSettings().build(); batchImportModelEvaluationSlicesSettings = settingsBuilder.batchImportModelEvaluationSlicesSettings().build(); @@ -805,6 +825,10 @@ public static class Builder extends StubSettings.Builder exportModelOperationSettings; + private final UnaryCallSettings.Builder copyModelSettings; + private final OperationCallSettings.Builder< + CopyModelRequest, CopyModelResponse, CopyModelOperationMetadata> + copyModelOperationSettings; private final UnaryCallSettings.Builder importModelEvaluationSettings; private final UnaryCallSettings.Builder< @@ -884,6 +908,8 @@ protected Builder(ClientContext clientContext) { mergeVersionAliasesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); exportModelSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); exportModelOperationSettings = OperationCallSettings.newBuilder(); + copyModelSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + copyModelOperationSettings = OperationCallSettings.newBuilder(); importModelEvaluationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); batchImportModelEvaluationSlicesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); getModelEvaluationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -910,6 +936,7 @@ protected Builder(ClientContext clientContext) { deleteModelVersionSettings, mergeVersionAliasesSettings, exportModelSettings, + copyModelSettings, importModelEvaluationSettings, batchImportModelEvaluationSlicesSettings, getModelEvaluationSettings, @@ -944,6 +971,8 @@ protected Builder(ModelServiceStubSettings settings) { mergeVersionAliasesSettings = settings.mergeVersionAliasesSettings.toBuilder(); exportModelSettings = settings.exportModelSettings.toBuilder(); exportModelOperationSettings = settings.exportModelOperationSettings.toBuilder(); + copyModelSettings = settings.copyModelSettings.toBuilder(); + copyModelOperationSettings = settings.copyModelOperationSettings.toBuilder(); importModelEvaluationSettings = settings.importModelEvaluationSettings.toBuilder(); batchImportModelEvaluationSlicesSettings = settings.batchImportModelEvaluationSlicesSettings.toBuilder(); @@ -969,6 +998,7 @@ protected Builder(ModelServiceStubSettings settings) { deleteModelVersionSettings, mergeVersionAliasesSettings, exportModelSettings, + copyModelSettings, importModelEvaluationSettings, batchImportModelEvaluationSlicesSettings, getModelEvaluationSettings, @@ -1046,6 +1076,11 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")); + builder + .copyModelSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")); + builder .importModelEvaluationSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) @@ -1222,6 +1257,30 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(300000L)) .build())); + builder + .copyModelOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(CopyModelResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create( + CopyModelOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + return builder; } @@ -1341,6 +1400,20 @@ public UnaryCallSettings.Builder exportModelSetti return exportModelOperationSettings; } + /** Returns the builder for the settings used for calls to copyModel. */ + public UnaryCallSettings.Builder copyModelSettings() { + return copyModelSettings; + } + + /** Returns the builder for the settings used for calls to copyModel. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + CopyModelRequest, CopyModelResponse, CopyModelOperationMetadata> + copyModelOperationSettings() { + return copyModelOperationSettings; + } + /** Returns the builder for the settings used for calls to importModelEvaluation. */ public UnaryCallSettings.Builder importModelEvaluationSettings() { diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClientTest.java index 1c56d9dcdf60..69d8a7a254b8 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceClientTest.java @@ -120,6 +120,7 @@ public void createIndexEndpointTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -178,6 +179,7 @@ public void createIndexEndpointTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -236,6 +238,7 @@ public void getIndexEndpointTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); mockIndexEndpointService.addResponse(expectedResponse); @@ -283,6 +286,7 @@ public void getIndexEndpointTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); mockIndexEndpointService.addResponse(expectedResponse); @@ -418,6 +422,7 @@ public void updateIndexEndpointTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); mockIndexEndpointService.addResponse(expectedResponse); diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/JobServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/JobServiceClientTest.java index 642b4bb55c3b..26bdb1b83585 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/JobServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/JobServiceClientTest.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.gax.core.NoCredentialsProvider; @@ -1535,6 +1537,628 @@ public void cancelHyperparameterTuningJobExceptionTest2() throws Exception { } } + @Test + public void createNasJobTest() throws Exception { + NasJob expectedResponse = + NasJob.newBuilder() + .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString()) + .setDisplayName("displayName1714148973") + .setNasJobSpec(NasJobSpec.newBuilder().build()) + .setNasJobOutput(NasJobOutput.newBuilder().build()) + .setState(JobState.forNumber(0)) + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setError(Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .setEnableRestrictedImageTraining(true) + .build(); + mockJobService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + NasJob nasJob = NasJob.newBuilder().build(); + + NasJob actualResponse = client.createNasJob(parent, nasJob); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateNasJobRequest actualRequest = ((CreateNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(nasJob, actualRequest.getNasJob()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createNasJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + NasJob nasJob = NasJob.newBuilder().build(); + client.createNasJob(parent, nasJob); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createNasJobTest2() throws Exception { + NasJob expectedResponse = + NasJob.newBuilder() + .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString()) + .setDisplayName("displayName1714148973") + .setNasJobSpec(NasJobSpec.newBuilder().build()) + .setNasJobOutput(NasJobOutput.newBuilder().build()) + .setState(JobState.forNumber(0)) + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setError(Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .setEnableRestrictedImageTraining(true) + .build(); + mockJobService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + NasJob nasJob = NasJob.newBuilder().build(); + + NasJob actualResponse = client.createNasJob(parent, nasJob); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateNasJobRequest actualRequest = ((CreateNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(nasJob, actualRequest.getNasJob()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createNasJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String parent = "parent-995424086"; + NasJob nasJob = NasJob.newBuilder().build(); + client.createNasJob(parent, nasJob); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getNasJobTest() throws Exception { + NasJob expectedResponse = + NasJob.newBuilder() + .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString()) + .setDisplayName("displayName1714148973") + .setNasJobSpec(NasJobSpec.newBuilder().build()) + .setNasJobOutput(NasJobOutput.newBuilder().build()) + .setState(JobState.forNumber(0)) + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setError(Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .setEnableRestrictedImageTraining(true) + .build(); + mockJobService.addResponse(expectedResponse); + + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + + NasJob actualResponse = client.getNasJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNasJobRequest actualRequest = ((GetNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNasJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + client.getNasJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getNasJobTest2() throws Exception { + NasJob expectedResponse = + NasJob.newBuilder() + .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString()) + .setDisplayName("displayName1714148973") + .setNasJobSpec(NasJobSpec.newBuilder().build()) + .setNasJobOutput(NasJobOutput.newBuilder().build()) + .setState(JobState.forNumber(0)) + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setError(Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .setEnableRestrictedImageTraining(true) + .build(); + mockJobService.addResponse(expectedResponse); + + String name = "name3373707"; + + NasJob actualResponse = client.getNasJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNasJobRequest actualRequest = ((GetNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNasJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String name = "name3373707"; + client.getNasJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNasJobsTest() throws Exception { + NasJob responsesElement = NasJob.newBuilder().build(); + ListNasJobsResponse expectedResponse = + ListNasJobsResponse.newBuilder() + .setNextPageToken("") + .addAllNasJobs(Arrays.asList(responsesElement)) + .build(); + mockJobService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListNasJobsPagedResponse pagedListResponse = client.listNasJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNasJobsList().get(0), resources.get(0)); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNasJobsRequest actualRequest = ((ListNasJobsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNasJobsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listNasJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNasJobsTest2() throws Exception { + NasJob responsesElement = NasJob.newBuilder().build(); + ListNasJobsResponse expectedResponse = + ListNasJobsResponse.newBuilder() + .setNextPageToken("") + .addAllNasJobs(Arrays.asList(responsesElement)) + .build(); + mockJobService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListNasJobsPagedResponse pagedListResponse = client.listNasJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNasJobsList().get(0), resources.get(0)); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNasJobsRequest actualRequest = ((ListNasJobsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNasJobsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listNasJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteNasJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteNasJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockJobService.addResponse(resultOperation); + + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + + client.deleteNasJobAsync(name).get(); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteNasJobRequest actualRequest = ((DeleteNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteNasJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + client.deleteNasJobAsync(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 deleteNasJobTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteNasJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockJobService.addResponse(resultOperation); + + String name = "name3373707"; + + client.deleteNasJobAsync(name).get(); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteNasJobRequest actualRequest = ((DeleteNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteNasJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String name = "name3373707"; + client.deleteNasJobAsync(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 cancelNasJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockJobService.addResponse(expectedResponse); + + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + + client.cancelNasJob(name); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CancelNasJobRequest actualRequest = ((CancelNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void cancelNasJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + client.cancelNasJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelNasJobTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockJobService.addResponse(expectedResponse); + + String name = "name3373707"; + + client.cancelNasJob(name); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CancelNasJobRequest actualRequest = ((CancelNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void cancelNasJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String name = "name3373707"; + client.cancelNasJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getNasTrialDetailTest() throws Exception { + NasTrialDetail expectedResponse = + NasTrialDetail.newBuilder() + .setName( + NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]") + .toString()) + .setParameters("parameters458736106") + .setSearchTrial(NasTrial.newBuilder().build()) + .setTrainTrial(NasTrial.newBuilder().build()) + .build(); + mockJobService.addResponse(expectedResponse); + + NasTrialDetailName name = + NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]"); + + NasTrialDetail actualResponse = client.getNasTrialDetail(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNasTrialDetailRequest actualRequest = ((GetNasTrialDetailRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNasTrialDetailExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasTrialDetailName name = + NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]"); + client.getNasTrialDetail(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getNasTrialDetailTest2() throws Exception { + NasTrialDetail expectedResponse = + NasTrialDetail.newBuilder() + .setName( + NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]") + .toString()) + .setParameters("parameters458736106") + .setSearchTrial(NasTrial.newBuilder().build()) + .setTrainTrial(NasTrial.newBuilder().build()) + .build(); + mockJobService.addResponse(expectedResponse); + + String name = "name3373707"; + + NasTrialDetail actualResponse = client.getNasTrialDetail(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNasTrialDetailRequest actualRequest = ((GetNasTrialDetailRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNasTrialDetailExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String name = "name3373707"; + client.getNasTrialDetail(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNasTrialDetailsTest() throws Exception { + NasTrialDetail responsesElement = NasTrialDetail.newBuilder().build(); + ListNasTrialDetailsResponse expectedResponse = + ListNasTrialDetailsResponse.newBuilder() + .setNextPageToken("") + .addAllNasTrialDetails(Arrays.asList(responsesElement)) + .build(); + mockJobService.addResponse(expectedResponse); + + NasJobName parent = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + + ListNasTrialDetailsPagedResponse pagedListResponse = client.listNasTrialDetails(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNasTrialDetailsList().get(0), resources.get(0)); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNasTrialDetailsRequest actualRequest = ((ListNasTrialDetailsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNasTrialDetailsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasJobName parent = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + client.listNasTrialDetails(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNasTrialDetailsTest2() throws Exception { + NasTrialDetail responsesElement = NasTrialDetail.newBuilder().build(); + ListNasTrialDetailsResponse expectedResponse = + ListNasTrialDetailsResponse.newBuilder() + .setNextPageToken("") + .addAllNasTrialDetails(Arrays.asList(responsesElement)) + .build(); + mockJobService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListNasTrialDetailsPagedResponse pagedListResponse = client.listNasTrialDetails(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNasTrialDetailsList().get(0), resources.get(0)); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNasTrialDetailsRequest actualRequest = ((ListNasTrialDetailsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNasTrialDetailsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listNasTrialDetails(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void createBatchPredictionJobTest() throws Exception { BatchPredictionJob expectedResponse = diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockJobServiceImpl.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockJobServiceImpl.java index a0f58d0428ed..d1a71228ba0b 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockJobServiceImpl.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockJobServiceImpl.java @@ -379,6 +379,151 @@ public void cancelHyperparameterTuningJob( } } + @Override + public void createNasJob(CreateNasJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof NasJob) { + requests.add(request); + responseObserver.onNext(((NasJob) 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 CreateNasJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + NasJob.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getNasJob(GetNasJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof NasJob) { + requests.add(request); + responseObserver.onNext(((NasJob) 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 GetNasJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + NasJob.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listNasJobs( + ListNasJobsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListNasJobsResponse) { + requests.add(request); + responseObserver.onNext(((ListNasJobsResponse) 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 ListNasJobs, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListNasJobsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteNasJob( + DeleteNasJobRequest 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 DeleteNasJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void cancelNasJob(CancelNasJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) 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 CancelNasJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getNasTrialDetail( + GetNasTrialDetailRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof NasTrialDetail) { + requests.add(request); + responseObserver.onNext(((NasTrialDetail) 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 GetNasTrialDetail, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + NasTrialDetail.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listNasTrialDetails( + ListNasTrialDetailsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListNasTrialDetailsResponse) { + requests.add(request); + responseObserver.onNext(((ListNasTrialDetailsResponse) 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 ListNasTrialDetails, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListNasTrialDetailsResponse.class.getName(), + Exception.class.getName()))); + } + } + @Override public void createBatchPredictionJob( CreateBatchPredictionJobRequest request, diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockModelServiceImpl.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockModelServiceImpl.java index a5bd3ac81a32..4e69c0ba7fb7 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockModelServiceImpl.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/MockModelServiceImpl.java @@ -244,6 +244,26 @@ public void exportModel(ExportModelRequest request, StreamObserver re } } + @Override + public void copyModel(CopyModelRequest 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 CopyModel, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + @Override public void importModelEvaluation( ImportModelEvaluationRequest request, StreamObserver responseObserver) { diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ModelServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ModelServiceClientTest.java index 4f757179061d..bcc350c25447 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ModelServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ModelServiceClientTest.java @@ -242,6 +242,7 @@ public void getModelTest() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -308,6 +309,7 @@ public void getModelTest2() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -550,6 +552,7 @@ public void updateModelTest() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -787,6 +790,7 @@ public void mergeVersionAliasesTest() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -856,6 +860,7 @@ public void mergeVersionAliasesTest2() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -989,6 +994,206 @@ public void exportModelExceptionTest2() throws Exception { } } + @Test + public void copyModelTest() throws Exception { + CopyModelResponse expectedResponse = + CopyModelResponse.newBuilder() + .setModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + .setModelVersionId("modelVersionId-2006125846") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockModelService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + + CopyModelResponse actualResponse = client.copyModelAsync(parent, sourceModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyModelRequest actualRequest = ((CopyModelRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(sourceModel.toString(), actualRequest.getSourceModel()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyModelExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + client.copyModelAsync(parent, sourceModel).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 copyModelTest2() throws Exception { + CopyModelResponse expectedResponse = + CopyModelResponse.newBuilder() + .setModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + .setModelVersionId("modelVersionId-2006125846") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockModelService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + String sourceModel = "sourceModel-101418034"; + + CopyModelResponse actualResponse = client.copyModelAsync(parent, sourceModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyModelRequest actualRequest = ((CopyModelRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(sourceModel, actualRequest.getSourceModel()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyModelExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + String sourceModel = "sourceModel-101418034"; + client.copyModelAsync(parent, sourceModel).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 copyModelTest3() throws Exception { + CopyModelResponse expectedResponse = + CopyModelResponse.newBuilder() + .setModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + .setModelVersionId("modelVersionId-2006125846") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockModelService.addResponse(resultOperation); + + String parent = "parent-995424086"; + ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + + CopyModelResponse actualResponse = client.copyModelAsync(parent, sourceModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyModelRequest actualRequest = ((CopyModelRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(sourceModel.toString(), actualRequest.getSourceModel()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyModelExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + String parent = "parent-995424086"; + ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + client.copyModelAsync(parent, sourceModel).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 copyModelTest4() throws Exception { + CopyModelResponse expectedResponse = + CopyModelResponse.newBuilder() + .setModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + .setModelVersionId("modelVersionId-2006125846") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockModelService.addResponse(resultOperation); + + String parent = "parent-995424086"; + String sourceModel = "sourceModel-101418034"; + + CopyModelResponse actualResponse = client.copyModelAsync(parent, sourceModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyModelRequest actualRequest = ((CopyModelRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(sourceModel, actualRequest.getSourceModel()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyModelExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + String parent = "parent-995424086"; + String sourceModel = "sourceModel-101418034"; + client.copyModelAsync(parent, sourceModel).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 importModelEvaluationTest() throws Exception { ModelEvaluation expectedResponse = diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClientTest.java index 261ab1694cdc..128cc9e8722b 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceClientTest.java @@ -120,6 +120,7 @@ public void createIndexEndpointTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -178,6 +179,7 @@ public void createIndexEndpointTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -236,6 +238,7 @@ public void getIndexEndpointTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); mockIndexEndpointService.addResponse(expectedResponse); @@ -283,6 +286,7 @@ public void getIndexEndpointTest2() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); mockIndexEndpointService.addResponse(expectedResponse); @@ -418,6 +422,7 @@ public void updateIndexEndpointTest() throws Exception { .setUpdateTime(Timestamp.newBuilder().build()) .setNetwork("network1843485230") .setEnablePrivateServiceConnect(true) + .setPrivateServiceConnectConfig(PrivateServiceConnectConfig.newBuilder().build()) .build(); mockIndexEndpointService.addResponse(expectedResponse); diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java index a3da34decd27..582de0ceb2d7 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/JobServiceClientTest.java @@ -22,6 +22,8 @@ import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListHyperparameterTuningJobsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListLocationsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasJobsPagedResponse; +import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.ListNasTrialDetailsPagedResponse; import static com.google.cloud.aiplatform.v1beta1.JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse; import com.google.api.gax.core.NoCredentialsProvider; @@ -1535,6 +1537,628 @@ public void cancelHyperparameterTuningJobExceptionTest2() throws Exception { } } + @Test + public void createNasJobTest() throws Exception { + NasJob expectedResponse = + NasJob.newBuilder() + .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString()) + .setDisplayName("displayName1714148973") + .setNasJobSpec(NasJobSpec.newBuilder().build()) + .setNasJobOutput(NasJobOutput.newBuilder().build()) + .setState(JobState.forNumber(0)) + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setError(Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .setEnableRestrictedImageTraining(true) + .build(); + mockJobService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + NasJob nasJob = NasJob.newBuilder().build(); + + NasJob actualResponse = client.createNasJob(parent, nasJob); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateNasJobRequest actualRequest = ((CreateNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(nasJob, actualRequest.getNasJob()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createNasJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + NasJob nasJob = NasJob.newBuilder().build(); + client.createNasJob(parent, nasJob); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createNasJobTest2() throws Exception { + NasJob expectedResponse = + NasJob.newBuilder() + .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString()) + .setDisplayName("displayName1714148973") + .setNasJobSpec(NasJobSpec.newBuilder().build()) + .setNasJobOutput(NasJobOutput.newBuilder().build()) + .setState(JobState.forNumber(0)) + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setError(Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .setEnableRestrictedImageTraining(true) + .build(); + mockJobService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + NasJob nasJob = NasJob.newBuilder().build(); + + NasJob actualResponse = client.createNasJob(parent, nasJob); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateNasJobRequest actualRequest = ((CreateNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(nasJob, actualRequest.getNasJob()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createNasJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String parent = "parent-995424086"; + NasJob nasJob = NasJob.newBuilder().build(); + client.createNasJob(parent, nasJob); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getNasJobTest() throws Exception { + NasJob expectedResponse = + NasJob.newBuilder() + .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString()) + .setDisplayName("displayName1714148973") + .setNasJobSpec(NasJobSpec.newBuilder().build()) + .setNasJobOutput(NasJobOutput.newBuilder().build()) + .setState(JobState.forNumber(0)) + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setError(Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .setEnableRestrictedImageTraining(true) + .build(); + mockJobService.addResponse(expectedResponse); + + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + + NasJob actualResponse = client.getNasJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNasJobRequest actualRequest = ((GetNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNasJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + client.getNasJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getNasJobTest2() throws Exception { + NasJob expectedResponse = + NasJob.newBuilder() + .setName(NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]").toString()) + .setDisplayName("displayName1714148973") + .setNasJobSpec(NasJobSpec.newBuilder().build()) + .setNasJobOutput(NasJobOutput.newBuilder().build()) + .setState(JobState.forNumber(0)) + .setCreateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setError(Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setEncryptionSpec(EncryptionSpec.newBuilder().build()) + .setEnableRestrictedImageTraining(true) + .build(); + mockJobService.addResponse(expectedResponse); + + String name = "name3373707"; + + NasJob actualResponse = client.getNasJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNasJobRequest actualRequest = ((GetNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNasJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String name = "name3373707"; + client.getNasJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNasJobsTest() throws Exception { + NasJob responsesElement = NasJob.newBuilder().build(); + ListNasJobsResponse expectedResponse = + ListNasJobsResponse.newBuilder() + .setNextPageToken("") + .addAllNasJobs(Arrays.asList(responsesElement)) + .build(); + mockJobService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListNasJobsPagedResponse pagedListResponse = client.listNasJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNasJobsList().get(0), resources.get(0)); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNasJobsRequest actualRequest = ((ListNasJobsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNasJobsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listNasJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNasJobsTest2() throws Exception { + NasJob responsesElement = NasJob.newBuilder().build(); + ListNasJobsResponse expectedResponse = + ListNasJobsResponse.newBuilder() + .setNextPageToken("") + .addAllNasJobs(Arrays.asList(responsesElement)) + .build(); + mockJobService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListNasJobsPagedResponse pagedListResponse = client.listNasJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNasJobsList().get(0), resources.get(0)); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNasJobsRequest actualRequest = ((ListNasJobsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNasJobsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listNasJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteNasJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteNasJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockJobService.addResponse(resultOperation); + + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + + client.deleteNasJobAsync(name).get(); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteNasJobRequest actualRequest = ((DeleteNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteNasJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + client.deleteNasJobAsync(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 deleteNasJobTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteNasJobTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockJobService.addResponse(resultOperation); + + String name = "name3373707"; + + client.deleteNasJobAsync(name).get(); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteNasJobRequest actualRequest = ((DeleteNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteNasJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String name = "name3373707"; + client.deleteNasJobAsync(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 cancelNasJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockJobService.addResponse(expectedResponse); + + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + + client.cancelNasJob(name); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CancelNasJobRequest actualRequest = ((CancelNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void cancelNasJobExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasJobName name = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + client.cancelNasJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelNasJobTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockJobService.addResponse(expectedResponse); + + String name = "name3373707"; + + client.cancelNasJob(name); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CancelNasJobRequest actualRequest = ((CancelNasJobRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void cancelNasJobExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String name = "name3373707"; + client.cancelNasJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getNasTrialDetailTest() throws Exception { + NasTrialDetail expectedResponse = + NasTrialDetail.newBuilder() + .setName( + NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]") + .toString()) + .setParameters("parameters458736106") + .setSearchTrial(NasTrial.newBuilder().build()) + .setTrainTrial(NasTrial.newBuilder().build()) + .build(); + mockJobService.addResponse(expectedResponse); + + NasTrialDetailName name = + NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]"); + + NasTrialDetail actualResponse = client.getNasTrialDetail(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNasTrialDetailRequest actualRequest = ((GetNasTrialDetailRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNasTrialDetailExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasTrialDetailName name = + NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]"); + client.getNasTrialDetail(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getNasTrialDetailTest2() throws Exception { + NasTrialDetail expectedResponse = + NasTrialDetail.newBuilder() + .setName( + NasTrialDetailName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]", "[NAS_TRIAL_DETAIL]") + .toString()) + .setParameters("parameters458736106") + .setSearchTrial(NasTrial.newBuilder().build()) + .setTrainTrial(NasTrial.newBuilder().build()) + .build(); + mockJobService.addResponse(expectedResponse); + + String name = "name3373707"; + + NasTrialDetail actualResponse = client.getNasTrialDetail(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetNasTrialDetailRequest actualRequest = ((GetNasTrialDetailRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getNasTrialDetailExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String name = "name3373707"; + client.getNasTrialDetail(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNasTrialDetailsTest() throws Exception { + NasTrialDetail responsesElement = NasTrialDetail.newBuilder().build(); + ListNasTrialDetailsResponse expectedResponse = + ListNasTrialDetailsResponse.newBuilder() + .setNextPageToken("") + .addAllNasTrialDetails(Arrays.asList(responsesElement)) + .build(); + mockJobService.addResponse(expectedResponse); + + NasJobName parent = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + + ListNasTrialDetailsPagedResponse pagedListResponse = client.listNasTrialDetails(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNasTrialDetailsList().get(0), resources.get(0)); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNasTrialDetailsRequest actualRequest = ((ListNasTrialDetailsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNasTrialDetailsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + NasJobName parent = NasJobName.of("[PROJECT]", "[LOCATION]", "[NAS_JOB]"); + client.listNasTrialDetails(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listNasTrialDetailsTest2() throws Exception { + NasTrialDetail responsesElement = NasTrialDetail.newBuilder().build(); + ListNasTrialDetailsResponse expectedResponse = + ListNasTrialDetailsResponse.newBuilder() + .setNextPageToken("") + .addAllNasTrialDetails(Arrays.asList(responsesElement)) + .build(); + mockJobService.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListNasTrialDetailsPagedResponse pagedListResponse = client.listNasTrialDetails(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getNasTrialDetailsList().get(0), resources.get(0)); + + List actualRequests = mockJobService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListNasTrialDetailsRequest actualRequest = ((ListNasTrialDetailsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listNasTrialDetailsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockJobService.addException(exception); + + try { + String parent = "parent-995424086"; + client.listNasTrialDetails(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + @Test public void createBatchPredictionJobTest() throws Exception { BatchPredictionJob expectedResponse = diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockJobServiceImpl.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockJobServiceImpl.java index aec3059cc82f..a2859a8e4d67 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockJobServiceImpl.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockJobServiceImpl.java @@ -379,6 +379,151 @@ public void cancelHyperparameterTuningJob( } } + @Override + public void createNasJob(CreateNasJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof NasJob) { + requests.add(request); + responseObserver.onNext(((NasJob) 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 CreateNasJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + NasJob.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getNasJob(GetNasJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof NasJob) { + requests.add(request); + responseObserver.onNext(((NasJob) 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 GetNasJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + NasJob.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listNasJobs( + ListNasJobsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListNasJobsResponse) { + requests.add(request); + responseObserver.onNext(((ListNasJobsResponse) 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 ListNasJobs, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListNasJobsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteNasJob( + DeleteNasJobRequest 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 DeleteNasJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void cancelNasJob(CancelNasJobRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) 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 CancelNasJob, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getNasTrialDetail( + GetNasTrialDetailRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof NasTrialDetail) { + requests.add(request); + responseObserver.onNext(((NasTrialDetail) 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 GetNasTrialDetail, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + NasTrialDetail.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listNasTrialDetails( + ListNasTrialDetailsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListNasTrialDetailsResponse) { + requests.add(request); + responseObserver.onNext(((ListNasTrialDetailsResponse) 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 ListNasTrialDetails, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListNasTrialDetailsResponse.class.getName(), + Exception.class.getName()))); + } + } + @Override public void createBatchPredictionJob( CreateBatchPredictionJobRequest request, diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockModelServiceImpl.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockModelServiceImpl.java index 60c461613930..49a2f13a5b25 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockModelServiceImpl.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/MockModelServiceImpl.java @@ -265,6 +265,26 @@ public void exportModel(ExportModelRequest request, StreamObserver re } } + @Override + public void copyModel(CopyModelRequest 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 CopyModel, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + @Override public void importModelEvaluation( ImportModelEvaluationRequest request, StreamObserver responseObserver) { diff --git a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClientTest.java b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClientTest.java index 8619fd7498e8..cd356d77fd0c 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClientTest.java +++ b/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ModelServiceClientTest.java @@ -242,6 +242,7 @@ public void getModelTest() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -308,6 +309,7 @@ public void getModelTest2() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -550,6 +552,7 @@ public void updateModelTest() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -879,6 +882,7 @@ public void mergeVersionAliasesTest() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -948,6 +952,7 @@ public void mergeVersionAliasesTest2() throws Exception { .putAllLabels(new HashMap()) .setEncryptionSpec(EncryptionSpec.newBuilder().build()) .setModelSourceInfo(ModelSourceInfo.newBuilder().build()) + .setOriginalModelInfo(Model.OriginalModelInfo.newBuilder().build()) .setMetadataArtifact("metadataArtifact1018119713") .build(); mockModelService.addResponse(expectedResponse); @@ -1081,6 +1086,206 @@ public void exportModelExceptionTest2() throws Exception { } } + @Test + public void copyModelTest() throws Exception { + CopyModelResponse expectedResponse = + CopyModelResponse.newBuilder() + .setModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + .setModelVersionId("modelVersionId-2006125846") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockModelService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + + CopyModelResponse actualResponse = client.copyModelAsync(parent, sourceModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyModelRequest actualRequest = ((CopyModelRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(sourceModel.toString(), actualRequest.getSourceModel()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyModelExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + client.copyModelAsync(parent, sourceModel).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 copyModelTest2() throws Exception { + CopyModelResponse expectedResponse = + CopyModelResponse.newBuilder() + .setModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + .setModelVersionId("modelVersionId-2006125846") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockModelService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + String sourceModel = "sourceModel-101418034"; + + CopyModelResponse actualResponse = client.copyModelAsync(parent, sourceModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyModelRequest actualRequest = ((CopyModelRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(sourceModel, actualRequest.getSourceModel()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyModelExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + String sourceModel = "sourceModel-101418034"; + client.copyModelAsync(parent, sourceModel).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 copyModelTest3() throws Exception { + CopyModelResponse expectedResponse = + CopyModelResponse.newBuilder() + .setModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + .setModelVersionId("modelVersionId-2006125846") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockModelService.addResponse(resultOperation); + + String parent = "parent-995424086"; + ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + + CopyModelResponse actualResponse = client.copyModelAsync(parent, sourceModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyModelRequest actualRequest = ((CopyModelRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(sourceModel.toString(), actualRequest.getSourceModel()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyModelExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + String parent = "parent-995424086"; + ModelName sourceModel = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]"); + client.copyModelAsync(parent, sourceModel).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 copyModelTest4() throws Exception { + CopyModelResponse expectedResponse = + CopyModelResponse.newBuilder() + .setModel(ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]").toString()) + .setModelVersionId("modelVersionId-2006125846") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("copyModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockModelService.addResponse(resultOperation); + + String parent = "parent-995424086"; + String sourceModel = "sourceModel-101418034"; + + CopyModelResponse actualResponse = client.copyModelAsync(parent, sourceModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockModelService.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CopyModelRequest actualRequest = ((CopyModelRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(sourceModel, actualRequest.getSourceModel()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void copyModelExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockModelService.addException(exception); + + try { + String parent = "parent-995424086"; + String sourceModel = "sourceModel-101418034"; + client.copyModelAsync(parent, sourceModel).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 importModelEvaluationTest() throws Exception { ModelEvaluation expectedResponse = diff --git a/java-aiplatform/grpc-google-cloud-aiplatform-v1/pom.xml b/java-aiplatform/grpc-google-cloud-aiplatform-v1/pom.xml index fb6f002af4d8..00f71f6dd9ea 100644 --- a/java-aiplatform/grpc-google-cloud-aiplatform-v1/pom.xml +++ b/java-aiplatform/grpc-google-cloud-aiplatform-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 3.10.0 + 3.11.0 grpc-google-cloud-aiplatform-v1 GRPC library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.10.0 + 3.11.0 diff --git a/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceGrpc.java b/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceGrpc.java index 5a4529064f95..0f7951d9fb48 100644 --- a/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceGrpc.java +++ b/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceGrpc.java @@ -751,6 +751,314 @@ private JobServiceGrpc() {} return getCancelHyperparameterTuningJobMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.CreateNasJobRequest, com.google.cloud.aiplatform.v1.NasJob> + getCreateNasJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNasJob", + requestType = com.google.cloud.aiplatform.v1.CreateNasJobRequest.class, + responseType = com.google.cloud.aiplatform.v1.NasJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.CreateNasJobRequest, com.google.cloud.aiplatform.v1.NasJob> + getCreateNasJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.CreateNasJobRequest, + com.google.cloud.aiplatform.v1.NasJob> + getCreateNasJobMethod; + if ((getCreateNasJobMethod = JobServiceGrpc.getCreateNasJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getCreateNasJobMethod = JobServiceGrpc.getCreateNasJobMethod) == null) { + JobServiceGrpc.getCreateNasJobMethod = + getCreateNasJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNasJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.CreateNasJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateNasJob")) + .build(); + } + } + } + return getCreateNasJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.GetNasJobRequest, com.google.cloud.aiplatform.v1.NasJob> + getGetNasJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNasJob", + requestType = com.google.cloud.aiplatform.v1.GetNasJobRequest.class, + responseType = com.google.cloud.aiplatform.v1.NasJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.GetNasJobRequest, com.google.cloud.aiplatform.v1.NasJob> + getGetNasJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.GetNasJobRequest, com.google.cloud.aiplatform.v1.NasJob> + getGetNasJobMethod; + if ((getGetNasJobMethod = JobServiceGrpc.getGetNasJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getGetNasJobMethod = JobServiceGrpc.getGetNasJobMethod) == null) { + JobServiceGrpc.getGetNasJobMethod = + getGetNasJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNasJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.GetNasJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetNasJob")) + .build(); + } + } + } + return getGetNasJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.ListNasJobsRequest, + com.google.cloud.aiplatform.v1.ListNasJobsResponse> + getListNasJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNasJobs", + requestType = com.google.cloud.aiplatform.v1.ListNasJobsRequest.class, + responseType = com.google.cloud.aiplatform.v1.ListNasJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.ListNasJobsRequest, + com.google.cloud.aiplatform.v1.ListNasJobsResponse> + getListNasJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.ListNasJobsRequest, + com.google.cloud.aiplatform.v1.ListNasJobsResponse> + getListNasJobsMethod; + if ((getListNasJobsMethod = JobServiceGrpc.getListNasJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getListNasJobsMethod = JobServiceGrpc.getListNasJobsMethod) == null) { + JobServiceGrpc.getListNasJobsMethod = + getListNasJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNasJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.ListNasJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.ListNasJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListNasJobs")) + .build(); + } + } + } + return getListNasJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.DeleteNasJobRequest, com.google.longrunning.Operation> + getDeleteNasJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNasJob", + requestType = com.google.cloud.aiplatform.v1.DeleteNasJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.DeleteNasJobRequest, com.google.longrunning.Operation> + getDeleteNasJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.DeleteNasJobRequest, com.google.longrunning.Operation> + getDeleteNasJobMethod; + if ((getDeleteNasJobMethod = JobServiceGrpc.getDeleteNasJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getDeleteNasJobMethod = JobServiceGrpc.getDeleteNasJobMethod) == null) { + JobServiceGrpc.getDeleteNasJobMethod = + getDeleteNasJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNasJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.DeleteNasJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteNasJob")) + .build(); + } + } + } + return getDeleteNasJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.CancelNasJobRequest, com.google.protobuf.Empty> + getCancelNasJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelNasJob", + requestType = com.google.cloud.aiplatform.v1.CancelNasJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.CancelNasJobRequest, com.google.protobuf.Empty> + getCancelNasJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.CancelNasJobRequest, com.google.protobuf.Empty> + getCancelNasJobMethod; + if ((getCancelNasJobMethod = JobServiceGrpc.getCancelNasJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getCancelNasJobMethod = JobServiceGrpc.getCancelNasJobMethod) == null) { + JobServiceGrpc.getCancelNasJobMethod = + getCancelNasJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelNasJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.CancelNasJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CancelNasJob")) + .build(); + } + } + } + return getCancelNasJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest, + com.google.cloud.aiplatform.v1.NasTrialDetail> + getGetNasTrialDetailMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNasTrialDetail", + requestType = com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest.class, + responseType = com.google.cloud.aiplatform.v1.NasTrialDetail.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest, + com.google.cloud.aiplatform.v1.NasTrialDetail> + getGetNasTrialDetailMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest, + com.google.cloud.aiplatform.v1.NasTrialDetail> + getGetNasTrialDetailMethod; + if ((getGetNasTrialDetailMethod = JobServiceGrpc.getGetNasTrialDetailMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getGetNasTrialDetailMethod = JobServiceGrpc.getGetNasTrialDetailMethod) == null) { + JobServiceGrpc.getGetNasTrialDetailMethod = + getGetNasTrialDetailMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNasTrialDetail")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.NasTrialDetail.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("GetNasTrialDetail")) + .build(); + } + } + } + return getGetNasTrialDetailMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest, + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse> + getListNasTrialDetailsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNasTrialDetails", + requestType = com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.class, + responseType = com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest, + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse> + getListNasTrialDetailsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest, + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse> + getListNasTrialDetailsMethod; + if ((getListNasTrialDetailsMethod = JobServiceGrpc.getListNasTrialDetailsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getListNasTrialDetailsMethod = JobServiceGrpc.getListNasTrialDetailsMethod) == null) { + JobServiceGrpc.getListNasTrialDetailsMethod = + getListNasTrialDetailsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListNasTrialDetails")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("ListNasTrialDetails")) + .build(); + } + } + } + return getListNasTrialDetailsMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest, com.google.cloud.aiplatform.v1.BatchPredictionJob> @@ -1720,6 +2028,118 @@ public void cancelHyperparameterTuningJob( getCancelHyperparameterTuningJobMethod(), responseObserver); } + /** + * + * + *
+     * Creates a NasJob
+     * 
+ */ + public void createNasJob( + com.google.cloud.aiplatform.v1.CreateNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateNasJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a NasJob
+     * 
+ */ + public void getNasJob( + com.google.cloud.aiplatform.v1.GetNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNasJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists NasJobs in a Location.
+     * 
+ */ + public void listNasJobs( + com.google.cloud.aiplatform.v1.ListNasJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNasJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a NasJob.
+     * 
+ */ + public void deleteNasJob( + com.google.cloud.aiplatform.v1.DeleteNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteNasJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels a NasJob.
+     * Starts asynchronous cancellation on the NasJob. The server
+     * makes a best effort to cancel the job, but success is not
+     * guaranteed. Clients can use
+     * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or
+     * other methods to check whether the cancellation succeeded or whether the
+     * job completed despite cancellation. On successful cancellation,
+     * the NasJob is not deleted; instead it becomes a job with
+     * a [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`, and
+     * [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to
+     * `CANCELLED`.
+     * 
+ */ + public void cancelNasJob( + com.google.cloud.aiplatform.v1.CancelNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelNasJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a NasTrialDetail.
+     * 
+ */ + public void getNasTrialDetail( + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNasTrialDetailMethod(), responseObserver); + } + + /** + * + * + *
+     * List top NasTrialDetails of a NasJob.
+     * 
+ */ + public void listNasTrialDetails( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNasTrialDetailsMethod(), responseObserver); + } + /** * * @@ -2031,6 +2451,51 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.cloud.aiplatform.v1.CancelHyperparameterTuningJobRequest, com.google.protobuf.Empty>(this, METHODID_CANCEL_HYPERPARAMETER_TUNING_JOB))) + .addMethod( + getCreateNasJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.CreateNasJobRequest, + com.google.cloud.aiplatform.v1.NasJob>(this, METHODID_CREATE_NAS_JOB))) + .addMethod( + getGetNasJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.GetNasJobRequest, + com.google.cloud.aiplatform.v1.NasJob>(this, METHODID_GET_NAS_JOB))) + .addMethod( + getListNasJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.ListNasJobsRequest, + com.google.cloud.aiplatform.v1.ListNasJobsResponse>( + this, METHODID_LIST_NAS_JOBS))) + .addMethod( + getDeleteNasJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.DeleteNasJobRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_NAS_JOB))) + .addMethod( + getCancelNasJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.CancelNasJobRequest, + com.google.protobuf.Empty>(this, METHODID_CANCEL_NAS_JOB))) + .addMethod( + getGetNasTrialDetailMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest, + com.google.cloud.aiplatform.v1.NasTrialDetail>( + this, METHODID_GET_NAS_TRIAL_DETAIL))) + .addMethod( + getListNasTrialDetailsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest, + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse>( + this, METHODID_LIST_NAS_TRIAL_DETAILS))) .addMethod( getCreateBatchPredictionJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -2418,6 +2883,131 @@ public void cancelHyperparameterTuningJob( responseObserver); } + /** + * + * + *
+     * Creates a NasJob
+     * 
+ */ + public void createNasJob( + com.google.cloud.aiplatform.v1.CreateNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNasJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a NasJob
+     * 
+ */ + public void getNasJob( + com.google.cloud.aiplatform.v1.GetNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNasJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists NasJobs in a Location.
+     * 
+ */ + public void listNasJobs( + com.google.cloud.aiplatform.v1.ListNasJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNasJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a NasJob.
+     * 
+ */ + public void deleteNasJob( + com.google.cloud.aiplatform.v1.DeleteNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNasJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels a NasJob.
+     * Starts asynchronous cancellation on the NasJob. The server
+     * makes a best effort to cancel the job, but success is not
+     * guaranteed. Clients can use
+     * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or
+     * other methods to check whether the cancellation succeeded or whether the
+     * job completed despite cancellation. On successful cancellation,
+     * the NasJob is not deleted; instead it becomes a job with
+     * a [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`, and
+     * [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to
+     * `CANCELLED`.
+     * 
+ */ + public void cancelNasJob( + com.google.cloud.aiplatform.v1.CancelNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelNasJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a NasTrialDetail.
+     * 
+ */ + public void getNasTrialDetail( + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNasTrialDetailMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List top NasTrialDetails of a NasJob.
+     * 
+ */ + public void listNasTrialDetails( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNasTrialDetailsMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -2897,6 +3487,109 @@ public com.google.protobuf.Empty cancelHyperparameterTuningJob( getChannel(), getCancelHyperparameterTuningJobMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Creates a NasJob
+     * 
+ */ + public com.google.cloud.aiplatform.v1.NasJob createNasJob( + com.google.cloud.aiplatform.v1.CreateNasJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNasJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a NasJob
+     * 
+ */ + public com.google.cloud.aiplatform.v1.NasJob getNasJob( + com.google.cloud.aiplatform.v1.GetNasJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNasJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists NasJobs in a Location.
+     * 
+ */ + public com.google.cloud.aiplatform.v1.ListNasJobsResponse listNasJobs( + com.google.cloud.aiplatform.v1.ListNasJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNasJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a NasJob.
+     * 
+ */ + public com.google.longrunning.Operation deleteNasJob( + com.google.cloud.aiplatform.v1.DeleteNasJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNasJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancels a NasJob.
+     * Starts asynchronous cancellation on the NasJob. The server
+     * makes a best effort to cancel the job, but success is not
+     * guaranteed. Clients can use
+     * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or
+     * other methods to check whether the cancellation succeeded or whether the
+     * job completed despite cancellation. On successful cancellation,
+     * the NasJob is not deleted; instead it becomes a job with
+     * a [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`, and
+     * [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to
+     * `CANCELLED`.
+     * 
+ */ + public com.google.protobuf.Empty cancelNasJob( + com.google.cloud.aiplatform.v1.CancelNasJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelNasJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a NasTrialDetail.
+     * 
+ */ + public com.google.cloud.aiplatform.v1.NasTrialDetail getNasTrialDetail( + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNasTrialDetailMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List top NasTrialDetails of a NasJob.
+     * 
+ */ + public com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse listNasTrialDetails( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNasTrialDetailsMethod(), getCallOptions(), request); + } + /** * * @@ -3349,6 +4042,112 @@ protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption request); } + /** + * + * + *
+     * Creates a NasJob
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createNasJob(com.google.cloud.aiplatform.v1.CreateNasJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNasJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a NasJob
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getNasJob(com.google.cloud.aiplatform.v1.GetNasJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNasJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists NasJobs in a Location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1.ListNasJobsResponse> + listNasJobs(com.google.cloud.aiplatform.v1.ListNasJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNasJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a NasJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteNasJob(com.google.cloud.aiplatform.v1.DeleteNasJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNasJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancels a NasJob.
+     * Starts asynchronous cancellation on the NasJob. The server
+     * makes a best effort to cancel the job, but success is not
+     * guaranteed. Clients can use
+     * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or
+     * other methods to check whether the cancellation succeeded or whether the
+     * job completed despite cancellation. On successful cancellation,
+     * the NasJob is not deleted; instead it becomes a job with
+     * a [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`, and
+     * [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to
+     * `CANCELLED`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + cancelNasJob(com.google.cloud.aiplatform.v1.CancelNasJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelNasJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a NasTrialDetail.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1.NasTrialDetail> + getNasTrialDetail(com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNasTrialDetailMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List top NasTrialDetails of a NasJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse> + listNasTrialDetails(com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNasTrialDetailsMethod(), getCallOptions()), request); + } + /** * * @@ -3581,19 +4380,26 @@ protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption private static final int METHODID_LIST_HYPERPARAMETER_TUNING_JOBS = 12; private static final int METHODID_DELETE_HYPERPARAMETER_TUNING_JOB = 13; private static final int METHODID_CANCEL_HYPERPARAMETER_TUNING_JOB = 14; - private static final int METHODID_CREATE_BATCH_PREDICTION_JOB = 15; - private static final int METHODID_GET_BATCH_PREDICTION_JOB = 16; - private static final int METHODID_LIST_BATCH_PREDICTION_JOBS = 17; - private static final int METHODID_DELETE_BATCH_PREDICTION_JOB = 18; - private static final int METHODID_CANCEL_BATCH_PREDICTION_JOB = 19; - private static final int METHODID_CREATE_MODEL_DEPLOYMENT_MONITORING_JOB = 20; - private static final int METHODID_SEARCH_MODEL_DEPLOYMENT_MONITORING_STATS_ANOMALIES = 21; - private static final int METHODID_GET_MODEL_DEPLOYMENT_MONITORING_JOB = 22; - private static final int METHODID_LIST_MODEL_DEPLOYMENT_MONITORING_JOBS = 23; - private static final int METHODID_UPDATE_MODEL_DEPLOYMENT_MONITORING_JOB = 24; - private static final int METHODID_DELETE_MODEL_DEPLOYMENT_MONITORING_JOB = 25; - private static final int METHODID_PAUSE_MODEL_DEPLOYMENT_MONITORING_JOB = 26; - private static final int METHODID_RESUME_MODEL_DEPLOYMENT_MONITORING_JOB = 27; + private static final int METHODID_CREATE_NAS_JOB = 15; + private static final int METHODID_GET_NAS_JOB = 16; + private static final int METHODID_LIST_NAS_JOBS = 17; + private static final int METHODID_DELETE_NAS_JOB = 18; + private static final int METHODID_CANCEL_NAS_JOB = 19; + private static final int METHODID_GET_NAS_TRIAL_DETAIL = 20; + private static final int METHODID_LIST_NAS_TRIAL_DETAILS = 21; + private static final int METHODID_CREATE_BATCH_PREDICTION_JOB = 22; + private static final int METHODID_GET_BATCH_PREDICTION_JOB = 23; + private static final int METHODID_LIST_BATCH_PREDICTION_JOBS = 24; + private static final int METHODID_DELETE_BATCH_PREDICTION_JOB = 25; + private static final int METHODID_CANCEL_BATCH_PREDICTION_JOB = 26; + private static final int METHODID_CREATE_MODEL_DEPLOYMENT_MONITORING_JOB = 27; + private static final int METHODID_SEARCH_MODEL_DEPLOYMENT_MONITORING_STATS_ANOMALIES = 28; + private static final int METHODID_GET_MODEL_DEPLOYMENT_MONITORING_JOB = 29; + private static final int METHODID_LIST_MODEL_DEPLOYMENT_MONITORING_JOBS = 30; + private static final int METHODID_UPDATE_MODEL_DEPLOYMENT_MONITORING_JOB = 31; + private static final int METHODID_DELETE_MODEL_DEPLOYMENT_MONITORING_JOB = 32; + private static final int METHODID_PAUSE_MODEL_DEPLOYMENT_MONITORING_JOB = 33; + private static final int METHODID_RESUME_MODEL_DEPLOYMENT_MONITORING_JOB = 34; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -3698,6 +4504,47 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.aiplatform.v1.CancelHyperparameterTuningJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_CREATE_NAS_JOB: + serviceImpl.createNasJob( + (com.google.cloud.aiplatform.v1.CreateNasJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_NAS_JOB: + serviceImpl.getNasJob( + (com.google.cloud.aiplatform.v1.GetNasJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_NAS_JOBS: + serviceImpl.listNasJobs( + (com.google.cloud.aiplatform.v1.ListNasJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_NAS_JOB: + serviceImpl.deleteNasJob( + (com.google.cloud.aiplatform.v1.DeleteNasJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_NAS_JOB: + serviceImpl.cancelNasJob( + (com.google.cloud.aiplatform.v1.CancelNasJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_NAS_TRIAL_DETAIL: + serviceImpl.getNasTrialDetail( + (com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_NAS_TRIAL_DETAILS: + serviceImpl.listNasTrialDetails( + (com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse>) + responseObserver); + break; case METHODID_CREATE_BATCH_PREDICTION_JOB: serviceImpl.createBatchPredictionJob( (com.google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest) request, @@ -3856,6 +4703,13 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getListHyperparameterTuningJobsMethod()) .addMethod(getDeleteHyperparameterTuningJobMethod()) .addMethod(getCancelHyperparameterTuningJobMethod()) + .addMethod(getCreateNasJobMethod()) + .addMethod(getGetNasJobMethod()) + .addMethod(getListNasJobsMethod()) + .addMethod(getDeleteNasJobMethod()) + .addMethod(getCancelNasJobMethod()) + .addMethod(getGetNasTrialDetailMethod()) + .addMethod(getListNasTrialDetailsMethod()) .addMethod(getCreateBatchPredictionJobMethod()) .addMethod(getGetBatchPredictionJobMethod()) .addMethod(getListBatchPredictionJobsMethod()) diff --git a/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java b/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java index 5fa51203415b..28fb8ef4f01f 100644 --- a/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java +++ b/java-aiplatform/grpc-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceGrpc.java @@ -431,6 +431,47 @@ private ModelServiceGrpc() {} return getExportModelMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.CopyModelRequest, com.google.longrunning.Operation> + getCopyModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CopyModel", + requestType = com.google.cloud.aiplatform.v1.CopyModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.CopyModelRequest, com.google.longrunning.Operation> + getCopyModelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1.CopyModelRequest, com.google.longrunning.Operation> + getCopyModelMethod; + if ((getCopyModelMethod = ModelServiceGrpc.getCopyModelMethod) == null) { + synchronized (ModelServiceGrpc.class) { + if ((getCopyModelMethod = ModelServiceGrpc.getCopyModelMethod) == null) { + ModelServiceGrpc.getCopyModelMethod = + getCopyModelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1.CopyModelRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ModelServiceMethodDescriptorSupplier("CopyModel")) + .build(); + } + } + } + return getCopyModelMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest, com.google.cloud.aiplatform.v1.ModelEvaluation> @@ -918,6 +959,24 @@ public void exportModel( getExportModelMethod(), responseObserver); } + /** + * + * + *
+     * Copies an already existing Vertex AI Model into the specified Location.
+     * The source Model must exist in the same Project.
+     * When copying custom Models, the users themselves are responsible for
+     * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be
+     * region-agnostic, as well as making sure that any resources (e.g. files) it
+     * depends on remain accessible.
+     * 
+ */ + public void copyModel( + com.google.cloud.aiplatform.v1.CopyModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyModelMethod(), responseObserver); + } + /** * * @@ -1069,6 +1128,12 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.cloud.aiplatform.v1.ExportModelRequest, com.google.longrunning.Operation>(this, METHODID_EXPORT_MODEL))) + .addMethod( + getCopyModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1.CopyModelRequest, + com.google.longrunning.Operation>(this, METHODID_COPY_MODEL))) .addMethod( getImportModelEvaluationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -1288,6 +1353,25 @@ public void exportModel( responseObserver); } + /** + * + * + *
+     * Copies an already existing Vertex AI Model into the specified Location.
+     * The source Model must exist in the same Project.
+     * When copying custom Models, the users themselves are responsible for
+     * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be
+     * region-agnostic, as well as making sure that any resources (e.g. files) it
+     * depends on remain accessible.
+     * 
+ */ + public void copyModel( + com.google.cloud.aiplatform.v1.CopyModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCopyModelMethod(), getCallOptions()), request, responseObserver); + } + /** * * @@ -1542,6 +1626,24 @@ public com.google.longrunning.Operation exportModel( getChannel(), getExportModelMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Copies an already existing Vertex AI Model into the specified Location.
+     * The source Model must exist in the same Project.
+     * When copying custom Models, the users themselves are responsible for
+     * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be
+     * region-agnostic, as well as making sure that any resources (e.g. files) it
+     * depends on remain accessible.
+     * 
+ */ + public com.google.longrunning.Operation copyModel( + com.google.cloud.aiplatform.v1.CopyModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCopyModelMethod(), getCallOptions(), request); + } + /** * * @@ -1774,6 +1876,24 @@ protected ModelServiceFutureStub build( getChannel().newCall(getExportModelMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Copies an already existing Vertex AI Model into the specified Location.
+     * The source Model must exist in the same Project.
+     * When copying custom Models, the users themselves are responsible for
+     * [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be
+     * region-agnostic, as well as making sure that any resources (e.g. files) it
+     * depends on remain accessible.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + copyModel(com.google.cloud.aiplatform.v1.CopyModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCopyModelMethod(), getCallOptions()), request); + } + /** * * @@ -1872,12 +1992,13 @@ protected ModelServiceFutureStub build( private static final int METHODID_DELETE_MODEL_VERSION = 6; private static final int METHODID_MERGE_VERSION_ALIASES = 7; private static final int METHODID_EXPORT_MODEL = 8; - private static final int METHODID_IMPORT_MODEL_EVALUATION = 9; - private static final int METHODID_BATCH_IMPORT_MODEL_EVALUATION_SLICES = 10; - private static final int METHODID_GET_MODEL_EVALUATION = 11; - private static final int METHODID_LIST_MODEL_EVALUATIONS = 12; - private static final int METHODID_GET_MODEL_EVALUATION_SLICE = 13; - private static final int METHODID_LIST_MODEL_EVALUATION_SLICES = 14; + private static final int METHODID_COPY_MODEL = 9; + private static final int METHODID_IMPORT_MODEL_EVALUATION = 10; + private static final int METHODID_BATCH_IMPORT_MODEL_EVALUATION_SLICES = 11; + private static final int METHODID_GET_MODEL_EVALUATION = 12; + private static final int METHODID_LIST_MODEL_EVALUATIONS = 13; + private static final int METHODID_GET_MODEL_EVALUATION_SLICE = 14; + private static final int METHODID_LIST_MODEL_EVALUATION_SLICES = 15; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -1944,6 +2065,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.aiplatform.v1.ExportModelRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_COPY_MODEL: + serviceImpl.copyModel( + (com.google.cloud.aiplatform.v1.CopyModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_IMPORT_MODEL_EVALUATION: serviceImpl.importModelEvaluation( (com.google.cloud.aiplatform.v1.ImportModelEvaluationRequest) request, @@ -2056,6 +2182,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getDeleteModelVersionMethod()) .addMethod(getMergeVersionAliasesMethod()) .addMethod(getExportModelMethod()) + .addMethod(getCopyModelMethod()) .addMethod(getImportModelEvaluationMethod()) .addMethod(getBatchImportModelEvaluationSlicesMethod()) .addMethod(getGetModelEvaluationMethod()) diff --git a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/pom.xml b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/pom.xml index 690215214e44..104cd0dc449e 100644 --- a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/pom.xml +++ b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.26.0 + 0.27.0 grpc-google-cloud-aiplatform-v1beta1 GRPC library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.10.0 + 3.11.0 diff --git a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceGrpc.java b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceGrpc.java index 915da2c4dfa5..89fc7e635e95 100644 --- a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceGrpc.java +++ b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceGrpc.java @@ -759,6 +759,322 @@ private JobServiceGrpc() {} return getCancelHyperparameterTuningJobMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest, + com.google.cloud.aiplatform.v1beta1.NasJob> + getCreateNasJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNasJob", + requestType = com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.NasJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest, + com.google.cloud.aiplatform.v1beta1.NasJob> + getCreateNasJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest, + com.google.cloud.aiplatform.v1beta1.NasJob> + getCreateNasJobMethod; + if ((getCreateNasJobMethod = JobServiceGrpc.getCreateNasJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getCreateNasJobMethod = JobServiceGrpc.getCreateNasJobMethod) == null) { + JobServiceGrpc.getCreateNasJobMethod = + getCreateNasJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNasJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateNasJob")) + .build(); + } + } + } + return getCreateNasJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest, + com.google.cloud.aiplatform.v1beta1.NasJob> + getGetNasJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNasJob", + requestType = com.google.cloud.aiplatform.v1beta1.GetNasJobRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.NasJob.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest, + com.google.cloud.aiplatform.v1beta1.NasJob> + getGetNasJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest, + com.google.cloud.aiplatform.v1beta1.NasJob> + getGetNasJobMethod; + if ((getGetNasJobMethod = JobServiceGrpc.getGetNasJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getGetNasJobMethod = JobServiceGrpc.getGetNasJobMethod) == null) { + JobServiceGrpc.getGetNasJobMethod = + getGetNasJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNasJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetNasJob")) + .build(); + } + } + } + return getGetNasJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest, + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse> + getListNasJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNasJobs", + requestType = com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest, + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse> + getListNasJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest, + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse> + getListNasJobsMethod; + if ((getListNasJobsMethod = JobServiceGrpc.getListNasJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getListNasJobsMethod = JobServiceGrpc.getListNasJobsMethod) == null) { + JobServiceGrpc.getListNasJobsMethod = + getListNasJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNasJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListNasJobs")) + .build(); + } + } + } + return getListNasJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest, com.google.longrunning.Operation> + getDeleteNasJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNasJob", + requestType = com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest, com.google.longrunning.Operation> + getDeleteNasJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest, + com.google.longrunning.Operation> + getDeleteNasJobMethod; + if ((getDeleteNasJobMethod = JobServiceGrpc.getDeleteNasJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getDeleteNasJobMethod = JobServiceGrpc.getDeleteNasJobMethod) == null) { + JobServiceGrpc.getDeleteNasJobMethod = + getDeleteNasJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNasJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteNasJob")) + .build(); + } + } + } + return getDeleteNasJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest, com.google.protobuf.Empty> + getCancelNasJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelNasJob", + requestType = com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest, com.google.protobuf.Empty> + getCancelNasJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest, com.google.protobuf.Empty> + getCancelNasJobMethod; + if ((getCancelNasJobMethod = JobServiceGrpc.getCancelNasJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getCancelNasJobMethod = JobServiceGrpc.getCancelNasJobMethod) == null) { + JobServiceGrpc.getCancelNasJobMethod = + getCancelNasJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelNasJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CancelNasJob")) + .build(); + } + } + } + return getCancelNasJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest, + com.google.cloud.aiplatform.v1beta1.NasTrialDetail> + getGetNasTrialDetailMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNasTrialDetail", + requestType = com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.NasTrialDetail.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest, + com.google.cloud.aiplatform.v1beta1.NasTrialDetail> + getGetNasTrialDetailMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest, + com.google.cloud.aiplatform.v1beta1.NasTrialDetail> + getGetNasTrialDetailMethod; + if ((getGetNasTrialDetailMethod = JobServiceGrpc.getGetNasTrialDetailMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getGetNasTrialDetailMethod = JobServiceGrpc.getGetNasTrialDetailMethod) == null) { + JobServiceGrpc.getGetNasTrialDetailMethod = + getGetNasTrialDetailMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNasTrialDetail")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.NasTrialDetail + .getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("GetNasTrialDetail")) + .build(); + } + } + } + return getGetNasTrialDetailMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest, + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse> + getListNasTrialDetailsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNasTrialDetails", + requestType = com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.class, + responseType = com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest, + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse> + getListNasTrialDetailsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest, + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse> + getListNasTrialDetailsMethod; + if ((getListNasTrialDetailsMethod = JobServiceGrpc.getListNasTrialDetailsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getListNasTrialDetailsMethod = JobServiceGrpc.getListNasTrialDetailsMethod) == null) { + JobServiceGrpc.getListNasTrialDetailsMethod = + getListNasTrialDetailsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListNasTrialDetails")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("ListNasTrialDetails")) + .build(); + } + } + } + return getListNasTrialDetailsMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1beta1.CreateBatchPredictionJobRequest, com.google.cloud.aiplatform.v1beta1.BatchPredictionJob> @@ -1751,6 +2067,118 @@ public void cancelHyperparameterTuningJob( getCancelHyperparameterTuningJobMethod(), responseObserver); } + /** + * + * + *
+     * Creates a NasJob
+     * 
+ */ + public void createNasJob( + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateNasJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a NasJob
+     * 
+ */ + public void getNasJob( + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNasJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists NasJobs in a Location.
+     * 
+ */ + public void listNasJobs( + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNasJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a NasJob.
+     * 
+ */ + public void deleteNasJob( + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteNasJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels a NasJob.
+     * Starts asynchronous cancellation on the NasJob. The server
+     * makes a best effort to cancel the job, but success is not
+     * guaranteed. Clients can use
+     * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob]
+     * or other methods to check whether the cancellation succeeded or whether the
+     * job completed despite cancellation. On successful cancellation,
+     * the NasJob is not deleted; instead it becomes a job with
+     * a [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`, and
+     * [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to
+     * `CANCELLED`.
+     * 
+ */ + public void cancelNasJob( + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelNasJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a NasTrialDetail.
+     * 
+ */ + public void getNasTrialDetail( + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNasTrialDetailMethod(), responseObserver); + } + + /** + * + * + *
+     * List top NasTrialDetails of a NasJob.
+     * 
+ */ + public void listNasTrialDetails( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNasTrialDetailsMethod(), responseObserver); + } + /** * * @@ -2068,6 +2496,51 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.cloud.aiplatform.v1beta1.CancelHyperparameterTuningJobRequest, com.google.protobuf.Empty>(this, METHODID_CANCEL_HYPERPARAMETER_TUNING_JOB))) + .addMethod( + getCreateNasJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest, + com.google.cloud.aiplatform.v1beta1.NasJob>(this, METHODID_CREATE_NAS_JOB))) + .addMethod( + getGetNasJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest, + com.google.cloud.aiplatform.v1beta1.NasJob>(this, METHODID_GET_NAS_JOB))) + .addMethod( + getListNasJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest, + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse>( + this, METHODID_LIST_NAS_JOBS))) + .addMethod( + getDeleteNasJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_NAS_JOB))) + .addMethod( + getCancelNasJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest, + com.google.protobuf.Empty>(this, METHODID_CANCEL_NAS_JOB))) + .addMethod( + getGetNasTrialDetailMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest, + com.google.cloud.aiplatform.v1beta1.NasTrialDetail>( + this, METHODID_GET_NAS_TRIAL_DETAIL))) + .addMethod( + getListNasTrialDetailsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest, + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse>( + this, METHODID_LIST_NAS_TRIAL_DETAILS))) .addMethod( getCreateBatchPredictionJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -2459,6 +2932,131 @@ public void cancelHyperparameterTuningJob( responseObserver); } + /** + * + * + *
+     * Creates a NasJob
+     * 
+ */ + public void createNasJob( + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNasJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a NasJob
+     * 
+ */ + public void getNasJob( + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNasJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists NasJobs in a Location.
+     * 
+ */ + public void listNasJobs( + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNasJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a NasJob.
+     * 
+ */ + public void deleteNasJob( + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNasJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels a NasJob.
+     * Starts asynchronous cancellation on the NasJob. The server
+     * makes a best effort to cancel the job, but success is not
+     * guaranteed. Clients can use
+     * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob]
+     * or other methods to check whether the cancellation succeeded or whether the
+     * job completed despite cancellation. On successful cancellation,
+     * the NasJob is not deleted; instead it becomes a job with
+     * a [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`, and
+     * [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to
+     * `CANCELLED`.
+     * 
+ */ + public void cancelNasJob( + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelNasJobMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a NasTrialDetail.
+     * 
+ */ + public void getNasTrialDetail( + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNasTrialDetailMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * List top NasTrialDetails of a NasJob.
+     * 
+ */ + public void listNasTrialDetails( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNasTrialDetailsMethod(), getCallOptions()), + request, + responseObserver); + } + /** * * @@ -2943,6 +3541,109 @@ public com.google.protobuf.Empty cancelHyperparameterTuningJob( getChannel(), getCancelHyperparameterTuningJobMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Creates a NasJob
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.NasJob createNasJob( + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNasJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a NasJob
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.NasJob getNasJob( + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNasJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists NasJobs in a Location.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse listNasJobs( + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNasJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a NasJob.
+     * 
+ */ + public com.google.longrunning.Operation deleteNasJob( + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNasJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancels a NasJob.
+     * Starts asynchronous cancellation on the NasJob. The server
+     * makes a best effort to cancel the job, but success is not
+     * guaranteed. Clients can use
+     * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob]
+     * or other methods to check whether the cancellation succeeded or whether the
+     * job completed despite cancellation. On successful cancellation,
+     * the NasJob is not deleted; instead it becomes a job with
+     * a [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`, and
+     * [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to
+     * `CANCELLED`.
+     * 
+ */ + public com.google.protobuf.Empty cancelNasJob( + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelNasJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a NasTrialDetail.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail getNasTrialDetail( + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNasTrialDetailMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * List top NasTrialDetails of a NasJob.
+     * 
+ */ + public com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse listNasTrialDetails( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNasTrialDetailsMethod(), getCallOptions(), request); + } + /** * * @@ -3400,6 +4101,115 @@ protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption request); } + /** + * + * + *
+     * Creates a NasJob
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.NasJob> + createNasJob(com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNasJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a NasJob
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.NasJob> + getNasJob(com.google.cloud.aiplatform.v1beta1.GetNasJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNasJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists NasJobs in a Location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse> + listNasJobs(com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNasJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a NasJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteNasJob(com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNasJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancels a NasJob.
+     * Starts asynchronous cancellation on the NasJob. The server
+     * makes a best effort to cancel the job, but success is not
+     * guaranteed. Clients can use
+     * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob]
+     * or other methods to check whether the cancellation succeeded or whether the
+     * job completed despite cancellation. On successful cancellation,
+     * the NasJob is not deleted; instead it becomes a job with
+     * a [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a
+     * [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
+     * `Code.CANCELLED`, and
+     * [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to
+     * `CANCELLED`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + cancelNasJob(com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelNasJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a NasTrialDetail.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.NasTrialDetail> + getNasTrialDetail(com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNasTrialDetailMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * List top NasTrialDetails of a NasJob.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse> + listNasTrialDetails( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNasTrialDetailsMethod(), getCallOptions()), request); + } + /** * * @@ -3634,19 +4444,26 @@ protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOption private static final int METHODID_LIST_HYPERPARAMETER_TUNING_JOBS = 12; private static final int METHODID_DELETE_HYPERPARAMETER_TUNING_JOB = 13; private static final int METHODID_CANCEL_HYPERPARAMETER_TUNING_JOB = 14; - private static final int METHODID_CREATE_BATCH_PREDICTION_JOB = 15; - private static final int METHODID_GET_BATCH_PREDICTION_JOB = 16; - private static final int METHODID_LIST_BATCH_PREDICTION_JOBS = 17; - private static final int METHODID_DELETE_BATCH_PREDICTION_JOB = 18; - private static final int METHODID_CANCEL_BATCH_PREDICTION_JOB = 19; - private static final int METHODID_CREATE_MODEL_DEPLOYMENT_MONITORING_JOB = 20; - private static final int METHODID_SEARCH_MODEL_DEPLOYMENT_MONITORING_STATS_ANOMALIES = 21; - private static final int METHODID_GET_MODEL_DEPLOYMENT_MONITORING_JOB = 22; - private static final int METHODID_LIST_MODEL_DEPLOYMENT_MONITORING_JOBS = 23; - private static final int METHODID_UPDATE_MODEL_DEPLOYMENT_MONITORING_JOB = 24; - private static final int METHODID_DELETE_MODEL_DEPLOYMENT_MONITORING_JOB = 25; - private static final int METHODID_PAUSE_MODEL_DEPLOYMENT_MONITORING_JOB = 26; - private static final int METHODID_RESUME_MODEL_DEPLOYMENT_MONITORING_JOB = 27; + private static final int METHODID_CREATE_NAS_JOB = 15; + private static final int METHODID_GET_NAS_JOB = 16; + private static final int METHODID_LIST_NAS_JOBS = 17; + private static final int METHODID_DELETE_NAS_JOB = 18; + private static final int METHODID_CANCEL_NAS_JOB = 19; + private static final int METHODID_GET_NAS_TRIAL_DETAIL = 20; + private static final int METHODID_LIST_NAS_TRIAL_DETAILS = 21; + private static final int METHODID_CREATE_BATCH_PREDICTION_JOB = 22; + private static final int METHODID_GET_BATCH_PREDICTION_JOB = 23; + private static final int METHODID_LIST_BATCH_PREDICTION_JOBS = 24; + private static final int METHODID_DELETE_BATCH_PREDICTION_JOB = 25; + private static final int METHODID_CANCEL_BATCH_PREDICTION_JOB = 26; + private static final int METHODID_CREATE_MODEL_DEPLOYMENT_MONITORING_JOB = 27; + private static final int METHODID_SEARCH_MODEL_DEPLOYMENT_MONITORING_STATS_ANOMALIES = 28; + private static final int METHODID_GET_MODEL_DEPLOYMENT_MONITORING_JOB = 29; + private static final int METHODID_LIST_MODEL_DEPLOYMENT_MONITORING_JOBS = 30; + private static final int METHODID_UPDATE_MODEL_DEPLOYMENT_MONITORING_JOB = 31; + private static final int METHODID_DELETE_MODEL_DEPLOYMENT_MONITORING_JOB = 32; + private static final int METHODID_PAUSE_MODEL_DEPLOYMENT_MONITORING_JOB = 33; + private static final int METHODID_RESUME_MODEL_DEPLOYMENT_MONITORING_JOB = 34; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -3754,6 +4571,47 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.aiplatform.v1beta1.CancelHyperparameterTuningJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_CREATE_NAS_JOB: + serviceImpl.createNasJob( + (com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_NAS_JOB: + serviceImpl.getNasJob( + (com.google.cloud.aiplatform.v1beta1.GetNasJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_NAS_JOBS: + serviceImpl.listNasJobs( + (com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_NAS_JOB: + serviceImpl.deleteNasJob( + (com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_NAS_JOB: + serviceImpl.cancelNasJob( + (com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_NAS_TRIAL_DETAIL: + serviceImpl.getNasTrialDetail( + (com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_NAS_TRIAL_DETAILS: + serviceImpl.listNasTrialDetails( + (com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse>) + responseObserver); + break; case METHODID_CREATE_BATCH_PREDICTION_JOB: serviceImpl.createBatchPredictionJob( (com.google.cloud.aiplatform.v1beta1.CreateBatchPredictionJobRequest) request, @@ -3920,6 +4778,13 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getListHyperparameterTuningJobsMethod()) .addMethod(getDeleteHyperparameterTuningJobMethod()) .addMethod(getCancelHyperparameterTuningJobMethod()) + .addMethod(getCreateNasJobMethod()) + .addMethod(getGetNasJobMethod()) + .addMethod(getListNasJobsMethod()) + .addMethod(getDeleteNasJobMethod()) + .addMethod(getCancelNasJobMethod()) + .addMethod(getGetNasTrialDetailMethod()) + .addMethod(getListNasTrialDetailsMethod()) .addMethod(getCreateBatchPredictionJobMethod()) .addMethod(getGetBatchPredictionJobMethod()) .addMethod(getListBatchPredictionJobsMethod()) diff --git a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java index 1eb7250a3d8e..1cb57333d8f3 100644 --- a/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java +++ b/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceGrpc.java @@ -490,6 +490,48 @@ private ModelServiceGrpc() {} return getExportModelMethod; } + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.CopyModelRequest, com.google.longrunning.Operation> + getCopyModelMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CopyModel", + requestType = com.google.cloud.aiplatform.v1beta1.CopyModelRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.CopyModelRequest, com.google.longrunning.Operation> + getCopyModelMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.aiplatform.v1beta1.CopyModelRequest, com.google.longrunning.Operation> + getCopyModelMethod; + if ((getCopyModelMethod = ModelServiceGrpc.getCopyModelMethod) == null) { + synchronized (ModelServiceGrpc.class) { + if ((getCopyModelMethod = ModelServiceGrpc.getCopyModelMethod) == null) { + ModelServiceGrpc.getCopyModelMethod = + getCopyModelMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyModel")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.aiplatform.v1beta1.CopyModelRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ModelServiceMethodDescriptorSupplier("CopyModel")) + .build(); + } + } + } + return getCopyModelMethod; + } + private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest, com.google.cloud.aiplatform.v1beta1.ModelEvaluation> @@ -996,6 +1038,24 @@ public void exportModel( getExportModelMethod(), responseObserver); } + /** + * + * + *
+     * Copies an already existing Vertex AI Model into the specified Location.
+     * The source Model must exist in the same Project.
+     * When copying custom Models, the users themselves are responsible for
+     * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to
+     * be region-agnostic, as well as making sure that any resources (e.g. files)
+     * it depends on remain accessible.
+     * 
+ */ + public void copyModel( + com.google.cloud.aiplatform.v1beta1.CopyModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyModelMethod(), responseObserver); + } + /** * * @@ -1155,6 +1215,12 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.cloud.aiplatform.v1beta1.ExportModelRequest, com.google.longrunning.Operation>(this, METHODID_EXPORT_MODEL))) + .addMethod( + getCopyModelMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.aiplatform.v1beta1.CopyModelRequest, + com.google.longrunning.Operation>(this, METHODID_COPY_MODEL))) .addMethod( getImportModelEvaluationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -1390,6 +1456,25 @@ public void exportModel( responseObserver); } + /** + * + * + *
+     * Copies an already existing Vertex AI Model into the specified Location.
+     * The source Model must exist in the same Project.
+     * When copying custom Models, the users themselves are responsible for
+     * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to
+     * be region-agnostic, as well as making sure that any resources (e.g. files)
+     * it depends on remain accessible.
+     * 
+ */ + public void copyModel( + com.google.cloud.aiplatform.v1beta1.CopyModelRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCopyModelMethod(), getCallOptions()), request, responseObserver); + } + /** * * @@ -1658,6 +1743,24 @@ public com.google.longrunning.Operation exportModel( getChannel(), getExportModelMethod(), getCallOptions(), request); } + /** + * + * + *
+     * Copies an already existing Vertex AI Model into the specified Location.
+     * The source Model must exist in the same Project.
+     * When copying custom Models, the users themselves are responsible for
+     * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to
+     * be region-agnostic, as well as making sure that any resources (e.g. files)
+     * it depends on remain accessible.
+     * 
+ */ + public com.google.longrunning.Operation copyModel( + com.google.cloud.aiplatform.v1beta1.CopyModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCopyModelMethod(), getCallOptions(), request); + } + /** * * @@ -1908,6 +2011,24 @@ protected ModelServiceFutureStub build( getChannel().newCall(getExportModelMethod(), getCallOptions()), request); } + /** + * + * + *
+     * Copies an already existing Vertex AI Model into the specified Location.
+     * The source Model must exist in the same Project.
+     * When copying custom Models, the users themselves are responsible for
+     * [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to
+     * be region-agnostic, as well as making sure that any resources (e.g. files)
+     * it depends on remain accessible.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + copyModel(com.google.cloud.aiplatform.v1beta1.CopyModelRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCopyModelMethod(), getCallOptions()), request); + } + /** * * @@ -2009,12 +2130,13 @@ protected ModelServiceFutureStub build( private static final int METHODID_DELETE_MODEL_VERSION = 7; private static final int METHODID_MERGE_VERSION_ALIASES = 8; private static final int METHODID_EXPORT_MODEL = 9; - private static final int METHODID_IMPORT_MODEL_EVALUATION = 10; - private static final int METHODID_BATCH_IMPORT_MODEL_EVALUATION_SLICES = 11; - private static final int METHODID_GET_MODEL_EVALUATION = 12; - private static final int METHODID_LIST_MODEL_EVALUATIONS = 13; - private static final int METHODID_GET_MODEL_EVALUATION_SLICE = 14; - private static final int METHODID_LIST_MODEL_EVALUATION_SLICES = 15; + private static final int METHODID_COPY_MODEL = 10; + private static final int METHODID_IMPORT_MODEL_EVALUATION = 11; + private static final int METHODID_BATCH_IMPORT_MODEL_EVALUATION_SLICES = 12; + private static final int METHODID_GET_MODEL_EVALUATION = 13; + private static final int METHODID_LIST_MODEL_EVALUATIONS = 14; + private static final int METHODID_GET_MODEL_EVALUATION_SLICE = 15; + private static final int METHODID_LIST_MODEL_EVALUATION_SLICES = 16; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -2089,6 +2211,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.aiplatform.v1beta1.ExportModelRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_COPY_MODEL: + serviceImpl.copyModel( + (com.google.cloud.aiplatform.v1beta1.CopyModelRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; case METHODID_IMPORT_MODEL_EVALUATION: serviceImpl.importModelEvaluation( (com.google.cloud.aiplatform.v1beta1.ImportModelEvaluationRequest) request, @@ -2203,6 +2330,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getDeleteModelVersionMethod()) .addMethod(getMergeVersionAliasesMethod()) .addMethod(getExportModelMethod()) + .addMethod(getCopyModelMethod()) .addMethod(getImportModelEvaluationMethod()) .addMethod(getBatchImportModelEvaluationSlicesMethod()) .addMethod(getGetModelEvaluationMethod()) diff --git a/java-aiplatform/pom.xml b/java-aiplatform/pom.xml index dfdbe18e2fe6..55b59da0e93e 100644 --- a/java-aiplatform/pom.xml +++ b/java-aiplatform/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-aiplatform-parent pom - 3.10.0 + 3.11.0 Google Cloud Vertex AI Parent Java client for Google Cloud Vertex AI services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-aiplatform - 3.10.0 + 3.11.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 3.10.0 + 3.11.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.26.0 + 0.27.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1 - 3.10.0 + 3.11.0 com.google.api.grpc grpc-google-cloud-aiplatform-v1beta1 - 0.26.0 + 0.27.0
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/pom.xml b/java-aiplatform/proto-google-cloud-aiplatform-v1/pom.xml index e761e3cb2465..42dae49d719f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/pom.xml +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-aiplatform-v1 - 3.10.0 + 3.11.0 proto-google-cloud-aiplatform-v1 Proto library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.10.0 + 3.11.0 diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorTypeProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorTypeProto.java index 72b0cbbf312b..a01e83d470ff 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorTypeProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AcceleratorTypeProto.java @@ -42,12 +42,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "VIDIA_TESLA_P100\020\002\022\025\n\021NVIDIA_TESLA_V100\020" + "\003\022\023\n\017NVIDIA_TESLA_P4\020\004\022\023\n\017NVIDIA_TESLA_T" + "4\020\005\022\025\n\021NVIDIA_TESLA_A100\020\010\022\n\n\006TPU_V2\020\006\022\n" - + "\n\006TPU_V3\020\007B\330\001\n\036com.google.cloud.aiplatfo" - + "rm.v1B\024AcceleratorTypeProtoP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/aipla" - + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla" - + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" - + "Google::Cloud::AIPlatform::V1b\006proto3" + + "\n\006TPU_V3\020\007B\322\001\n\036com.google.cloud.aiplatfo" + + "rm.v1B\024AcceleratorTypeProtoP\001Z>cloud.goo" + + "gle.com/go/aiplatform/apiv1/aiplatformpb" + + ";aiplatformpb\252\002\032Google.Cloud.AIPlatform." + + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" + + "::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationProto.java index fe7bf0de2c93..a4c18d682c5f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationProto.java @@ -65,12 +65,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pis.com/Annotation\022iprojects/{project}/l" + "ocations/{location}/datasets/{dataset}/d" + "ataItems/{data_item}/annotations/{annota" - + "tion}B\323\001\n\036com.google.cloud.aiplatform.v1" - + "B\017AnnotationProtoP\001ZDgoogle.golang.org/g" - + "enproto/googleapis/cloud/aiplatform/v1;a" - + "iplatform\252\002\032Google.Cloud.AIPlatform.V1\312\002" - + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl" - + "oud::AIPlatform::V1b\006proto3" + + "tion}B\315\001\n\036com.google.cloud.aiplatform.v1" + + "B\017AnnotationProtoP\001Z>cloud.google.com/go" + + "/aiplatform/apiv1/aiplatformpb;aiplatfor" + + "mpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl" + + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A" + + "IPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationSpecProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationSpecProto.java index 87d07217bc39..12e1f56f5c51 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationSpecProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/AnnotationSpecProto.java @@ -52,13 +52,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\340A\001:\214\001\352A\210\001\n(aiplatform.googleapis.com/An" + "notationSpec\022\\projects/{project}/locatio" + "ns/{location}/datasets/{dataset}/annotat" - + "ionSpecs/{annotation_spec}B\327\001\n\036com.googl" + + "ionSpecs/{annotation_spec}B\321\001\n\036com.googl" + "e.cloud.aiplatform.v1B\023AnnotationSpecPro" - + "toP\001ZDgoogle.golang.org/genproto/googlea" - + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo" - + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" - + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" - + "::V1b\006proto3" + + "toP\001Z>cloud.google.com/go/aiplatform/api" + + "v1/aiplatformpb;aiplatformpb\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ArtifactProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ArtifactProto.java index dbe8e75acd57..eb3766eecb6d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ArtifactProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ArtifactProto.java @@ -65,12 +65,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ":\206\001\352A\202\001\n\"aiplatform.googleapis.com/Artif" + "act\022\\projects/{project}/locations/{locat" + "ion}/metadataStores/{metadata_store}/art" - + "ifacts/{artifact}B\321\001\n\036com.google.cloud.a" - + "iplatform.v1B\rArtifactProtoP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/aipla" - + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla" - + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" - + "Google::Cloud::AIPlatform::V1b\006proto3" + + "ifacts/{artifact}B\313\001\n\036com.google.cloud.a" + + "iplatform.v1B\rArtifactProtoP\001Z>cloud.goo" + + "gle.com/go/aiplatform/apiv1/aiplatformpb" + + ";aiplatformpb\252\002\032Google.Cloud.AIPlatform." + + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" + + "::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobProto.java index 04fe865af221..7e9554fc3539 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/BatchPredictionJobProto.java @@ -137,13 +137,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001\352A\202\001\n,aiplatform.googleapis.com/BatchPr" + "edictionJob\022Rprojects/{project}/location" + "s/{location}/batchPredictionJobs/{batch_" - + "prediction_job}B\333\001\n\036com.google.cloud.aip" - + "latform.v1B\027BatchPredictionJobProtoP\001ZDg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo" - + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo" - + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p" - + "roto3" + + "prediction_job}B\325\001\n\036com.google.cloud.aip" + + "latform.v1B\027BatchPredictionJobProtoP\001Z>c" + + "loud.google.com/go/aiplatform/apiv1/aipl" + + "atformpb;aiplatformpb\252\002\032Google.Cloud.AIP" + + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352" + + "\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CancelNasJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CancelNasJobRequest.java new file mode 100644 index 000000000000..55f258db9655 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CancelNasJobRequest.java @@ -0,0 +1,659 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for
+ * [JobService.CancelNasJob][google.cloud.aiplatform.v1.JobService.CancelNasJob].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CancelNasJobRequest} + */ +public final class CancelNasJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.CancelNasJobRequest) + CancelNasJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CancelNasJobRequest.newBuilder() to construct. + private CancelNasJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CancelNasJobRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CancelNasJobRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CancelNasJobRequest.class, + com.google.cloud.aiplatform.v1.CancelNasJobRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the NasJob to cancel.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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 NasJob to cancel.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.CancelNasJobRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.CancelNasJobRequest other = + (com.google.cloud.aiplatform.v1.CancelNasJobRequest) 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.aiplatform.v1.CancelNasJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.CancelNasJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.CancelNasJob][google.cloud.aiplatform.v1.JobService.CancelNasJob].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CancelNasJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.CancelNasJobRequest) + com.google.cloud.aiplatform.v1.CancelNasJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CancelNasJobRequest.class, + com.google.cloud.aiplatform.v1.CancelNasJobRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.CancelNasJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CancelNasJobRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.CancelNasJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CancelNasJobRequest build() { + com.google.cloud.aiplatform.v1.CancelNasJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CancelNasJobRequest buildPartial() { + com.google.cloud.aiplatform.v1.CancelNasJobRequest result = + new com.google.cloud.aiplatform.v1.CancelNasJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.CancelNasJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.CancelNasJobRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.CancelNasJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.CancelNasJobRequest other) { + if (other == com.google.cloud.aiplatform.v1.CancelNasJobRequest.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 NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.CancelNasJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.CancelNasJobRequest) + private static final com.google.cloud.aiplatform.v1.CancelNasJobRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.CancelNasJobRequest(); + } + + public static com.google.cloud.aiplatform.v1.CancelNasJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelNasJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CancelNasJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CancelNasJobRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CancelNasJobRequestOrBuilder.java new file mode 100644 index 000000000000..9aa611a3c331 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CancelNasJobRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface CancelNasJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.CancelNasJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NasJob to cancel.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the NasJob to cancel.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CompletionStatsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CompletionStatsProto.java index e9741b611f05..8c7a34aea16e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CompletionStatsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CompletionStatsProto.java @@ -46,13 +46,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pletionStats\022\035\n\020successful_count\030\001 \001(\003B\003" + "\340A\003\022\031\n\014failed_count\030\002 \001(\003B\003\340A\003\022\035\n\020incomp" + "lete_count\030\003 \001(\003B\003\340A\003\022,\n\037successful_fore" - + "cast_point_count\030\005 \001(\003B\003\340A\003B\330\001\n\036com.goog" + + "cast_point_count\030\005 \001(\003B\003\340A\003B\322\001\n\036com.goog" + "le.cloud.aiplatform.v1B\024CompletionStatsP" - + "rotoP\001ZDgoogle.golang.org/genproto/googl" - + "eapis/cloud/aiplatform/v1;aiplatform\252\002\032G" - + "oogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud" - + "\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfo" - + "rm::V1b\006proto3" + + "rotoP\001Z>cloud.google.com/go/aiplatform/a" + + "piv1/aiplatformpb;aiplatformpb\252\002\032Google." + + "Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPla" + + "tform\\V1\352\002\035Google::Cloud::AIPlatform::V1" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java index 867086d9396e..2302d5c66569 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ContextProto.java @@ -63,13 +63,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\r\n\005value\030\002 \001(\t:\0028\001:\202\001\352A\177\n!aiplatform.goo" + "gleapis.com/Context\022Zprojects/{project}/" + "locations/{location}/metadataStores/{met" - + "adata_store}/contexts/{context}B\320\001\n\036com." + + "adata_store}/contexts/{context}B\312\001\n\036com." + "google.cloud.aiplatform.v1B\014ContextProto" - + "P\001ZDgoogle.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" - + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" - + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" - + "V1b\006proto3" + + "P\001Z>cloud.google.com/go/aiplatform/apiv1" + + "/aiplatformpb;aiplatformpb\252\002\032Google.Clou" + + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor" + + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelOperationMetadata.java new file mode 100644 index 000000000000..6996f7f026ac --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelOperationMetadata.java @@ -0,0 +1,723 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/model_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Details of
+ * [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel]
+ * operation.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CopyModelOperationMetadata} + */ +public final class CopyModelOperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.CopyModelOperationMetadata) + CopyModelOperationMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use CopyModelOperationMetadata.newBuilder() to construct. + private CopyModelOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CopyModelOperationMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CopyModelOperationMetadata(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CopyModelOperationMetadata.class, + com.google.cloud.aiplatform.v1.CopyModelOperationMetadata.Builder.class); + } + + public static final int GENERIC_METADATA_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_; + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + * + * @return Whether the genericMetadata field is set. + */ + @java.lang.Override + public boolean hasGenericMetadata() { + return genericMetadata_ != null; + } + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + * + * @return The genericMetadata. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata() { + return genericMetadata_ == null + ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance() + : genericMetadata_; + } + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder + getGenericMetadataOrBuilder() { + return genericMetadata_ == null + ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance() + : genericMetadata_; + } + + 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 (genericMetadata_ != null) { + output.writeMessage(1, getGenericMetadata()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (genericMetadata_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGenericMetadata()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.CopyModelOperationMetadata)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.CopyModelOperationMetadata other = + (com.google.cloud.aiplatform.v1.CopyModelOperationMetadata) obj; + + if (hasGenericMetadata() != other.hasGenericMetadata()) return false; + if (hasGenericMetadata()) { + if (!getGenericMetadata().equals(other.getGenericMetadata())) 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 (hasGenericMetadata()) { + hash = (37 * hash) + GENERIC_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getGenericMetadata().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.CopyModelOperationMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Details of
+   * [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel]
+   * operation.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CopyModelOperationMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.CopyModelOperationMetadata) + com.google.cloud.aiplatform.v1.CopyModelOperationMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CopyModelOperationMetadata.class, + com.google.cloud.aiplatform.v1.CopyModelOperationMetadata.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.CopyModelOperationMetadata.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + genericMetadata_ = null; + if (genericMetadataBuilder_ != null) { + genericMetadataBuilder_.dispose(); + genericMetadataBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelOperationMetadata getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.CopyModelOperationMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelOperationMetadata build() { + com.google.cloud.aiplatform.v1.CopyModelOperationMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelOperationMetadata buildPartial() { + com.google.cloud.aiplatform.v1.CopyModelOperationMetadata result = + new com.google.cloud.aiplatform.v1.CopyModelOperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.CopyModelOperationMetadata result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.genericMetadata_ = + genericMetadataBuilder_ == null ? genericMetadata_ : genericMetadataBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.CopyModelOperationMetadata) { + return mergeFrom((com.google.cloud.aiplatform.v1.CopyModelOperationMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.CopyModelOperationMetadata other) { + if (other == com.google.cloud.aiplatform.v1.CopyModelOperationMetadata.getDefaultInstance()) + return this; + if (other.hasGenericMetadata()) { + mergeGenericMetadata(other.getGenericMetadata()); + } + 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(getGenericMetadataFieldBuilder().getBuilder(), extensionRegistry); + 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 com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.GenericOperationMetadata, + com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder, + com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder> + genericMetadataBuilder_; + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + * + * @return Whether the genericMetadata field is set. + */ + public boolean hasGenericMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + * + * @return The genericMetadata. + */ + public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata() { + if (genericMetadataBuilder_ == null) { + return genericMetadata_ == null + ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance() + : genericMetadata_; + } else { + return genericMetadataBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + */ + public Builder setGenericMetadata( + com.google.cloud.aiplatform.v1.GenericOperationMetadata value) { + if (genericMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + genericMetadata_ = value; + } else { + genericMetadataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + */ + public Builder setGenericMetadata( + com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) { + if (genericMetadataBuilder_ == null) { + genericMetadata_ = builderForValue.build(); + } else { + genericMetadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + */ + public Builder mergeGenericMetadata( + com.google.cloud.aiplatform.v1.GenericOperationMetadata value) { + if (genericMetadataBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && genericMetadata_ != null + && genericMetadata_ + != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) { + getGenericMetadataBuilder().mergeFrom(value); + } else { + genericMetadata_ = value; + } + } else { + genericMetadataBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + */ + public Builder clearGenericMetadata() { + bitField0_ = (bitField0_ & ~0x00000001); + genericMetadata_ = null; + if (genericMetadataBuilder_ != null) { + genericMetadataBuilder_.dispose(); + genericMetadataBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + */ + public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder + getGenericMetadataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getGenericMetadataFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + */ + public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder + getGenericMetadataOrBuilder() { + if (genericMetadataBuilder_ != null) { + return genericMetadataBuilder_.getMessageOrBuilder(); + } else { + return genericMetadata_ == null + ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance() + : genericMetadata_; + } + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.GenericOperationMetadata, + com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder, + com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder> + getGenericMetadataFieldBuilder() { + if (genericMetadataBuilder_ == null) { + genericMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.GenericOperationMetadata, + com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder, + com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder>( + getGenericMetadata(), getParentForChildren(), isClean()); + genericMetadata_ = null; + } + return genericMetadataBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.CopyModelOperationMetadata) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.CopyModelOperationMetadata) + private static final com.google.cloud.aiplatform.v1.CopyModelOperationMetadata DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.CopyModelOperationMetadata(); + } + + public static com.google.cloud.aiplatform.v1.CopyModelOperationMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyModelOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelOperationMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelOperationMetadataOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelOperationMetadataOrBuilder.java new file mode 100644 index 000000000000..332c233b3968 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelOperationMetadataOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/model_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface CopyModelOperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.CopyModelOperationMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + * + * @return Whether the genericMetadata field is set. + */ + boolean hasGenericMetadata(); + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + * + * @return The genericMetadata. + */ + com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadata(); + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; + */ + com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder getGenericMetadataOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelRequest.java new file mode 100644 index 000000000000..51affe693d2c --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelRequest.java @@ -0,0 +1,1750 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/model_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for
+ * [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CopyModelRequest} + */ +public final class CopyModelRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.CopyModelRequest) + CopyModelRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CopyModelRequest.newBuilder() to construct. + private CopyModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CopyModelRequest() { + parent_ = ""; + sourceModel_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CopyModelRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CopyModelRequest.class, + com.google.cloud.aiplatform.v1.CopyModelRequest.Builder.class); + } + + private int destinationModelCase_ = 0; + private java.lang.Object destinationModel_; + + public enum DestinationModelCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + MODEL_ID(4), + PARENT_MODEL(5), + DESTINATIONMODEL_NOT_SET(0); + private final int value; + + private DestinationModelCase(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 DestinationModelCase valueOf(int value) { + return forNumber(value); + } + + public static DestinationModelCase forNumber(int value) { + switch (value) { + case 4: + return MODEL_ID; + case 5: + return PARENT_MODEL; + case 0: + return DESTINATIONMODEL_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public DestinationModelCase getDestinationModelCase() { + return DestinationModelCase.forNumber(destinationModelCase_); + } + + public static final int MODEL_ID_FIELD_NUMBER = 4; + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the modelId field is set. + */ + public boolean hasModelId() { + return destinationModelCase_ == 4; + } + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The modelId. + */ + public java.lang.String getModelId() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 4) { + ref = destinationModel_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationModelCase_ == 4) { + destinationModel_ = s; + } + return s; + } + } + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for modelId. + */ + public com.google.protobuf.ByteString getModelIdBytes() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 4) { + ref = destinationModel_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationModelCase_ == 4) { + destinationModel_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARENT_MODEL_FIELD_NUMBER = 5; + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the parentModel field is set. + */ + public boolean hasParentModel() { + return destinationModelCase_ == 5; + } + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The parentModel. + */ + public java.lang.String getParentModel() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 5) { + ref = destinationModel_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationModelCase_ == 5) { + destinationModel_ = s; + } + return s; + } + } + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parentModel. + */ + public com.google.protobuf.ByteString getParentModelBytes() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 5) { + ref = destinationModel_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationModelCase_ == 5) { + destinationModel_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The resource name of the Location into which to copy the Model.
+   * Format: `projects/{project}/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 resource name of the Location into which to copy the Model.
+   * Format: `projects/{project}/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 SOURCE_MODEL_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object sourceModel_ = ""; + /** + * + * + *
+   * Required. The resource name of the Model to copy. That Model must be in the
+   * same Project. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The sourceModel. + */ + @java.lang.Override + public java.lang.String getSourceModel() { + java.lang.Object ref = sourceModel_; + 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(); + sourceModel_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the Model to copy. That Model must be in the
+   * same Project. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for sourceModel. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceModelBytes() { + java.lang.Object ref = sourceModel_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceModel_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENCRYPTION_SPEC_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1.EncryptionSpec encryptionSpec_; + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + * + * @return Whether the encryptionSpec field is set. + */ + @java.lang.Override + public boolean hasEncryptionSpec() { + return encryptionSpec_ != null; + } + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + * + * @return The encryptionSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceModel_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceModel_); + } + if (encryptionSpec_ != null) { + output.writeMessage(3, getEncryptionSpec()); + } + if (destinationModelCase_ == 4) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, destinationModel_); + } + if (destinationModelCase_ == 5) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, destinationModel_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceModel_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceModel_); + } + if (encryptionSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEncryptionSpec()); + } + if (destinationModelCase_ == 4) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, destinationModel_); + } + if (destinationModelCase_ == 5) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, destinationModel_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.CopyModelRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.CopyModelRequest other = + (com.google.cloud.aiplatform.v1.CopyModelRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getSourceModel().equals(other.getSourceModel())) return false; + if (hasEncryptionSpec() != other.hasEncryptionSpec()) return false; + if (hasEncryptionSpec()) { + if (!getEncryptionSpec().equals(other.getEncryptionSpec())) return false; + } + if (!getDestinationModelCase().equals(other.getDestinationModelCase())) return false; + switch (destinationModelCase_) { + case 4: + if (!getModelId().equals(other.getModelId())) return false; + break; + case 5: + if (!getParentModel().equals(other.getParentModel())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + SOURCE_MODEL_FIELD_NUMBER; + hash = (53 * hash) + getSourceModel().hashCode(); + if (hasEncryptionSpec()) { + hash = (37 * hash) + ENCRYPTION_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getEncryptionSpec().hashCode(); + } + switch (destinationModelCase_) { + case 4: + hash = (37 * hash) + MODEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getModelId().hashCode(); + break; + case 5: + hash = (37 * hash) + PARENT_MODEL_FIELD_NUMBER; + hash = (53 * hash) + getParentModel().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.CopyModelRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CopyModelRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.CopyModelRequest) + com.google.cloud.aiplatform.v1.CopyModelRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CopyModelRequest.class, + com.google.cloud.aiplatform.v1.CopyModelRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.CopyModelRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + sourceModel_ = ""; + encryptionSpec_ = null; + if (encryptionSpecBuilder_ != null) { + encryptionSpecBuilder_.dispose(); + encryptionSpecBuilder_ = null; + } + destinationModelCase_ = 0; + destinationModel_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.CopyModelRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelRequest build() { + com.google.cloud.aiplatform.v1.CopyModelRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelRequest buildPartial() { + com.google.cloud.aiplatform.v1.CopyModelRequest result = + new com.google.cloud.aiplatform.v1.CopyModelRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.CopyModelRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sourceModel_ = sourceModel_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.encryptionSpec_ = + encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build(); + } + } + + private void buildPartialOneofs(com.google.cloud.aiplatform.v1.CopyModelRequest result) { + result.destinationModelCase_ = destinationModelCase_; + result.destinationModel_ = this.destinationModel_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.CopyModelRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.CopyModelRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.CopyModelRequest other) { + if (other == com.google.cloud.aiplatform.v1.CopyModelRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getSourceModel().isEmpty()) { + sourceModel_ = other.sourceModel_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasEncryptionSpec()) { + mergeEncryptionSpec(other.getEncryptionSpec()); + } + switch (other.getDestinationModelCase()) { + case MODEL_ID: + { + destinationModelCase_ = 4; + destinationModel_ = other.destinationModel_; + onChanged(); + break; + } + case PARENT_MODEL: + { + destinationModelCase_ = 5; + destinationModel_ = other.destinationModel_; + onChanged(); + break; + } + case DESTINATIONMODEL_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: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + sourceModel_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: + { + input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + destinationModelCase_ = 4; + destinationModel_ = s; + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + destinationModelCase_ = 5; + destinationModel_ = s; + 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 destinationModelCase_ = 0; + private java.lang.Object destinationModel_; + + public DestinationModelCase getDestinationModelCase() { + return DestinationModelCase.forNumber(destinationModelCase_); + } + + public Builder clearDestinationModel() { + destinationModelCase_ = 0; + destinationModel_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the modelId field is set. + */ + @java.lang.Override + public boolean hasModelId() { + return destinationModelCase_ == 4; + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The modelId. + */ + @java.lang.Override + public java.lang.String getModelId() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 4) { + ref = destinationModel_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationModelCase_ == 4) { + destinationModel_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for modelId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModelIdBytes() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 4) { + ref = destinationModel_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationModelCase_ == 4) { + destinationModel_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The modelId to set. + * @return This builder for chaining. + */ + public Builder setModelId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + destinationModelCase_ = 4; + destinationModel_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearModelId() { + if (destinationModelCase_ == 4) { + destinationModelCase_ = 0; + destinationModel_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for modelId to set. + * @return This builder for chaining. + */ + public Builder setModelIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationModelCase_ = 4; + destinationModel_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the parentModel field is set. + */ + @java.lang.Override + public boolean hasParentModel() { + return destinationModelCase_ == 5; + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The parentModel. + */ + @java.lang.Override + public java.lang.String getParentModel() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 5) { + ref = destinationModel_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationModelCase_ == 5) { + destinationModel_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parentModel. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentModelBytes() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 5) { + ref = destinationModel_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationModelCase_ == 5) { + destinationModel_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The parentModel to set. + * @return This builder for chaining. + */ + public Builder setParentModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + destinationModelCase_ = 5; + destinationModel_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParentModel() { + if (destinationModelCase_ == 5) { + destinationModelCase_ = 0; + destinationModel_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parentModel to set. + * @return This builder for chaining. + */ + public Builder setParentModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationModelCase_ = 5; + destinationModel_ = value; + onChanged(); + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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 resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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 resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object sourceModel_ = ""; + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The sourceModel. + */ + public java.lang.String getSourceModel() { + java.lang.Object ref = sourceModel_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceModel_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for sourceModel. + */ + public com.google.protobuf.ByteString getSourceModelBytes() { + java.lang.Object ref = sourceModel_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceModel_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The sourceModel to set. + * @return This builder for chaining. + */ + public Builder setSourceModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sourceModel_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearSourceModel() { + sourceModel_ = getDefaultInstance().getSourceModel(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for sourceModel to set. + * @return This builder for chaining. + */ + public Builder setSourceModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceModel_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1.EncryptionSpec encryptionSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.EncryptionSpec, + com.google.cloud.aiplatform.v1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder> + encryptionSpecBuilder_; + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + * + * @return Whether the encryptionSpec field is set. + */ + public boolean hasEncryptionSpec() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + * + * @return The encryptionSpec. + */ + public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() { + if (encryptionSpecBuilder_ == null) { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } else { + return encryptionSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + */ + public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) { + if (encryptionSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + encryptionSpec_ = value; + } else { + encryptionSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + */ + public Builder setEncryptionSpec( + com.google.cloud.aiplatform.v1.EncryptionSpec.Builder builderForValue) { + if (encryptionSpecBuilder_ == null) { + encryptionSpec_ = builderForValue.build(); + } else { + encryptionSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + */ + public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) { + if (encryptionSpecBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && encryptionSpec_ != null + && encryptionSpec_ + != com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()) { + getEncryptionSpecBuilder().mergeFrom(value); + } else { + encryptionSpec_ = value; + } + } else { + encryptionSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + */ + public Builder clearEncryptionSpec() { + bitField0_ = (bitField0_ & ~0x00000010); + encryptionSpec_ = null; + if (encryptionSpecBuilder_ != null) { + encryptionSpecBuilder_.dispose(); + encryptionSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + */ + public com.google.cloud.aiplatform.v1.EncryptionSpec.Builder getEncryptionSpecBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getEncryptionSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + */ + public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() { + if (encryptionSpecBuilder_ != null) { + return encryptionSpecBuilder_.getMessageOrBuilder(); + } else { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.EncryptionSpec, + com.google.cloud.aiplatform.v1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder> + getEncryptionSpecFieldBuilder() { + if (encryptionSpecBuilder_ == null) { + encryptionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.EncryptionSpec, + com.google.cloud.aiplatform.v1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder>( + getEncryptionSpec(), getParentForChildren(), isClean()); + encryptionSpec_ = null; + } + return encryptionSpecBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.CopyModelRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.CopyModelRequest) + private static final com.google.cloud.aiplatform.v1.CopyModelRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.CopyModelRequest(); + } + + public static com.google.cloud.aiplatform.v1.CopyModelRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelRequestOrBuilder.java new file mode 100644 index 000000000000..4e031d93d7a3 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelRequestOrBuilder.java @@ -0,0 +1,225 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/model_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface CopyModelRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.CopyModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the modelId field is set. + */ + boolean hasModelId(); + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The modelId. + */ + java.lang.String getModelId(); + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for modelId. + */ + com.google.protobuf.ByteString getModelIdBytes(); + + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the parentModel field is set. + */ + boolean hasParentModel(); + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The parentModel. + */ + java.lang.String getParentModel(); + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parentModel. + */ + com.google.protobuf.ByteString getParentModelBytes(); + + /** + * + * + *
+   * Required. The resource name of the Location into which to copy the Model.
+   * Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the Location into which to copy the Model.
+   * Format: `projects/{project}/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 resource name of the Model to copy. That Model must be in the
+   * same Project. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The sourceModel. + */ + java.lang.String getSourceModel(); + /** + * + * + *
+   * Required. The resource name of the Model to copy. That Model must be in the
+   * same Project. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for sourceModel. + */ + com.google.protobuf.ByteString getSourceModelBytes(); + + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + * + * @return Whether the encryptionSpec field is set. + */ + boolean hasEncryptionSpec(); + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + * + * @return The encryptionSpec. + */ + com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec(); + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; + */ + com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder(); + + public com.google.cloud.aiplatform.v1.CopyModelRequest.DestinationModelCase + getDestinationModelCase(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelResponse.java new file mode 100644 index 000000000000..c05f1bc9844c --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelResponse.java @@ -0,0 +1,822 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/model_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Response message of
+ * [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel]
+ * operation.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CopyModelResponse} + */ +public final class CopyModelResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.CopyModelResponse) + CopyModelResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use CopyModelResponse.newBuilder() to construct. + private CopyModelResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CopyModelResponse() { + model_ = ""; + modelVersionId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CopyModelResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CopyModelResponse.class, + com.google.cloud.aiplatform.v1.CopyModelResponse.Builder.class); + } + + public static final int MODEL_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object model_ = ""; + /** + * + * + *
+   * The name of the copied Model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The model. + */ + @java.lang.Override + public java.lang.String getModel() { + java.lang.Object ref = model_; + 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(); + model_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the copied Model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for model. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModelBytes() { + java.lang.Object ref = model_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + model_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODEL_VERSION_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object modelVersionId_ = ""; + /** + * + * + *
+   * Output only. The version ID of the model that is copied.
+   * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The modelVersionId. + */ + @java.lang.Override + public java.lang.String getModelVersionId() { + java.lang.Object ref = modelVersionId_; + 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(); + modelVersionId_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The version ID of the model that is copied.
+   * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for modelVersionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModelVersionIdBytes() { + java.lang.Object ref = modelVersionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + modelVersionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, modelVersionId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, modelVersionId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.CopyModelResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.CopyModelResponse other = + (com.google.cloud.aiplatform.v1.CopyModelResponse) obj; + + if (!getModel().equals(other.getModel())) return false; + if (!getModelVersionId().equals(other.getModelVersionId())) 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) + MODEL_FIELD_NUMBER; + hash = (53 * hash) + getModel().hashCode(); + hash = (37 * hash) + MODEL_VERSION_ID_FIELD_NUMBER; + hash = (53 * hash) + getModelVersionId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.CopyModelResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message of
+   * [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel]
+   * operation.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CopyModelResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.CopyModelResponse) + com.google.cloud.aiplatform.v1.CopyModelResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CopyModelResponse.class, + com.google.cloud.aiplatform.v1.CopyModelResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.CopyModelResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + model_ = ""; + modelVersionId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1_CopyModelResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelResponse getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.CopyModelResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelResponse build() { + com.google.cloud.aiplatform.v1.CopyModelResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelResponse buildPartial() { + com.google.cloud.aiplatform.v1.CopyModelResponse result = + new com.google.cloud.aiplatform.v1.CopyModelResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.CopyModelResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.model_ = model_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.modelVersionId_ = modelVersionId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.CopyModelResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1.CopyModelResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.CopyModelResponse other) { + if (other == com.google.cloud.aiplatform.v1.CopyModelResponse.getDefaultInstance()) + return this; + if (!other.getModel().isEmpty()) { + model_ = other.model_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getModelVersionId().isEmpty()) { + modelVersionId_ = other.modelVersionId_; + 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: + { + model_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + modelVersionId_ = 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 model_ = ""; + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The model. + */ + public java.lang.String getModel() { + java.lang.Object ref = model_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + model_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for model. + */ + public com.google.protobuf.ByteString getModelBytes() { + java.lang.Object ref = model_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + model_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The model to set. + * @return This builder for chaining. + */ + public Builder setModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + model_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return This builder for chaining. + */ + public Builder clearModel() { + model_ = getDefaultInstance().getModel(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The bytes for model to set. + * @return This builder for chaining. + */ + public Builder setModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object modelVersionId_ = ""; + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The modelVersionId. + */ + public java.lang.String getModelVersionId() { + java.lang.Object ref = modelVersionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + modelVersionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for modelVersionId. + */ + public com.google.protobuf.ByteString getModelVersionIdBytes() { + java.lang.Object ref = modelVersionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + modelVersionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The modelVersionId to set. + * @return This builder for chaining. + */ + public Builder setModelVersionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + modelVersionId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearModelVersionId() { + modelVersionId_ = getDefaultInstance().getModelVersionId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for modelVersionId to set. + * @return This builder for chaining. + */ + public Builder setModelVersionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + modelVersionId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.CopyModelResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.CopyModelResponse) + private static final com.google.cloud.aiplatform.v1.CopyModelResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.CopyModelResponse(); + } + + public static com.google.cloud.aiplatform.v1.CopyModelResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyModelResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CopyModelResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelResponseOrBuilder.java new file mode 100644 index 000000000000..b26ebc806c83 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CopyModelResponseOrBuilder.java @@ -0,0 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/model_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface CopyModelResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.CopyModelResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the copied Model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The model. + */ + java.lang.String getModel(); + /** + * + * + *
+   * The name of the copied Model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for model. + */ + com.google.protobuf.ByteString getModelBytes(); + + /** + * + * + *
+   * Output only. The version ID of the model that is copied.
+   * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The modelVersionId. + */ + java.lang.String getModelVersionId(); + /** + * + * + *
+   * Output only. The version ID of the model that is copied.
+   * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for modelVersionId. + */ + com.google.protobuf.ByteString getModelVersionIdBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateNasJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateNasJobRequest.java new file mode 100644 index 000000000000..69aac420265f --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateNasJobRequest.java @@ -0,0 +1,933 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for
+ * [JobService.CreateNasJob][google.cloud.aiplatform.v1.JobService.CreateNasJob].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CreateNasJobRequest} + */ +public final class CreateNasJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.CreateNasJobRequest) + CreateNasJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateNasJobRequest.newBuilder() to construct. + private CreateNasJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateNasJobRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateNasJobRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CreateNasJobRequest.class, + com.google.cloud.aiplatform.v1.CreateNasJobRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The resource name of the Location to create the NasJob in.
+   * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+   * Format: `projects/{project}/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 NAS_JOB_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1.NasJob nasJob_; + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJob field is set. + */ + @java.lang.Override + public boolean hasNasJob() { + return nasJob_ != null; + } + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJob. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJob getNasJob() { + return nasJob_ == null ? com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance() : nasJob_; + } + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOrBuilder getNasJobOrBuilder() { + return nasJob_ == null ? com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance() : nasJob_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (nasJob_ != null) { + output.writeMessage(2, getNasJob()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (nasJob_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNasJob()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.CreateNasJobRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.CreateNasJobRequest other = + (com.google.cloud.aiplatform.v1.CreateNasJobRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasNasJob() != other.hasNasJob()) return false; + if (hasNasJob()) { + if (!getNasJob().equals(other.getNasJob())) 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(); + if (hasNasJob()) { + hash = (37 * hash) + NAS_JOB_FIELD_NUMBER; + hash = (53 * hash) + getNasJob().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.CreateNasJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.CreateNasJob][google.cloud.aiplatform.v1.JobService.CreateNasJob].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.CreateNasJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.CreateNasJobRequest) + com.google.cloud.aiplatform.v1.CreateNasJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.CreateNasJobRequest.class, + com.google.cloud.aiplatform.v1.CreateNasJobRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.CreateNasJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + nasJob_ = null; + if (nasJobBuilder_ != null) { + nasJobBuilder_.dispose(); + nasJobBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CreateNasJobRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.CreateNasJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CreateNasJobRequest build() { + com.google.cloud.aiplatform.v1.CreateNasJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CreateNasJobRequest buildPartial() { + com.google.cloud.aiplatform.v1.CreateNasJobRequest result = + new com.google.cloud.aiplatform.v1.CreateNasJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.CreateNasJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nasJob_ = nasJobBuilder_ == null ? nasJob_ : nasJobBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.CreateNasJobRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.CreateNasJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.CreateNasJobRequest other) { + if (other == com.google.cloud.aiplatform.v1.CreateNasJobRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasNasJob()) { + mergeNasJob(other.getNasJob()); + } + 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: + { + input.readMessage(getNasJobFieldBuilder().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 parent_ = ""; + /** + * + * + *
+     * Required. The resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 com.google.cloud.aiplatform.v1.NasJob nasJob_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJob, + com.google.cloud.aiplatform.v1.NasJob.Builder, + com.google.cloud.aiplatform.v1.NasJobOrBuilder> + nasJobBuilder_; + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJob field is set. + */ + public boolean hasNasJob() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJob. + */ + public com.google.cloud.aiplatform.v1.NasJob getNasJob() { + if (nasJobBuilder_ == null) { + return nasJob_ == null + ? com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance() + : nasJob_; + } else { + return nasJobBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNasJob(com.google.cloud.aiplatform.v1.NasJob value) { + if (nasJobBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nasJob_ = value; + } else { + nasJobBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNasJob(com.google.cloud.aiplatform.v1.NasJob.Builder builderForValue) { + if (nasJobBuilder_ == null) { + nasJob_ = builderForValue.build(); + } else { + nasJobBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeNasJob(com.google.cloud.aiplatform.v1.NasJob value) { + if (nasJobBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && nasJob_ != null + && nasJob_ != com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance()) { + getNasJobBuilder().mergeFrom(value); + } else { + nasJob_ = value; + } + } else { + nasJobBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearNasJob() { + bitField0_ = (bitField0_ & ~0x00000002); + nasJob_ = null; + if (nasJobBuilder_ != null) { + nasJobBuilder_.dispose(); + nasJobBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.NasJob.Builder getNasJobBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getNasJobFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.NasJobOrBuilder getNasJobOrBuilder() { + if (nasJobBuilder_ != null) { + return nasJobBuilder_.getMessageOrBuilder(); + } else { + return nasJob_ == null + ? com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance() + : nasJob_; + } + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJob, + com.google.cloud.aiplatform.v1.NasJob.Builder, + com.google.cloud.aiplatform.v1.NasJobOrBuilder> + getNasJobFieldBuilder() { + if (nasJobBuilder_ == null) { + nasJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJob, + com.google.cloud.aiplatform.v1.NasJob.Builder, + com.google.cloud.aiplatform.v1.NasJobOrBuilder>( + getNasJob(), getParentForChildren(), isClean()); + nasJob_ = null; + } + return nasJobBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.CreateNasJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.CreateNasJobRequest) + private static final com.google.cloud.aiplatform.v1.CreateNasJobRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.CreateNasJobRequest(); + } + + public static com.google.cloud.aiplatform.v1.CreateNasJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateNasJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.CreateNasJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateNasJobRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateNasJobRequestOrBuilder.java new file mode 100644 index 000000000000..46c934b2865f --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CreateNasJobRequestOrBuilder.java @@ -0,0 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface CreateNasJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.CreateNasJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the Location to create the NasJob in.
+   * Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the Location to create the NasJob in.
+   * Format: `projects/{project}/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 NasJob to create.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJob field is set. + */ + boolean hasNasJob(); + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJob. + */ + com.google.cloud.aiplatform.v1.NasJob getNasJob(); + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1.NasJobOrBuilder getNasJobOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java index a86fe063c3d7..776b8e262c22 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobProto.java @@ -132,13 +132,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "env\030\005 \003(\0132\".google.cloud.aiplatform.v1.E" + "nvVar\"_\n\nScheduling\022*\n\007timeout\030\001 \001(\0132\031.g" + "oogle.protobuf.Duration\022%\n\035restart_job_o" - + "n_worker_restart\030\003 \001(\010B\322\001\n\036com.google.cl" - + "oud.aiplatform.v1B\016CustomJobProtoP\001ZDgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1;aiplatform\252\002\032Google.Cloud" - + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" - + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro" - + "to3" + + "n_worker_restart\030\003 \001(\010B\314\001\n\036com.google.cl" + + "oud.aiplatform.v1B\016CustomJobProtoP\001Z>clo" + + "ud.google.com/go/aiplatform/apiv1/aiplat" + + "formpb;aiplatformpb\252\002\032Google.Cloud.AIPla" + + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" + + "Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemProto.java index 431d95f37f1c..bcf7afcbe605 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemProto.java @@ -60,12 +60,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\352Av\n\"aiplatform.googleapis.com/DataItem\022" + "Pprojects/{project}/locations/{location}" + "/datasets/{dataset}/dataItems/{data_item" - + "}B\321\001\n\036com.google.cloud.aiplatform.v1B\rDa" - + "taItemProtoP\001ZDgoogle.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1;aiplatf" - + "orm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl" - + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A" - + "IPlatform::V1b\006proto3" + + "}B\313\001\n\036com.google.cloud.aiplatform.v1B\rDa" + + "taItemProtoP\001Z>cloud.google.com/go/aipla" + + "tform/apiv1/aiplatformpb;aiplatformpb\252\002\032" + + "Google.Cloud.AIPlatform.V1\312\002\032Google\\Clou" + + "d\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatf" + + "orm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobProto.java index ec0b0d514b50..f97957efc7c2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobProto.java @@ -112,12 +112,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\013UNCERTAINTY\020\001B\033\n\031initial_batch_sample_" + "sizeB\035\n\033following_batch_sample_size\"6\n\016T" + "rainingConfig\022$\n\034timeout_training_milli_" - + "hours\030\001 \001(\003B\330\001\n\036com.google.cloud.aiplatf" - + "orm.v1B\024DataLabelingJobProtoP\001ZDgoogle.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1;aiplatform\252\002\032Google.Cloud.AIPl" - + "atform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002" - + "\035Google::Cloud::AIPlatform::V1b\006proto3" + + "hours\030\001 \001(\003B\322\001\n\036com.google.cloud.aiplatf" + + "orm.v1B\024DataLabelingJobProtoP\001Z>cloud.go" + + "ogle.com/go/aiplatform/apiv1/aiplatformp" + + "b;aiplatformpb\252\002\032Google.Cloud.AIPlatform" + + ".V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Googl" + + "e::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetProto.java index bbff816dab57..efbad7820944 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetProto.java @@ -98,13 +98,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006source\"\204\001\n\020ExportDataConfig\022E\n\017gcs_dest" + "ination\030\001 \001(\0132*.google.cloud.aiplatform." + "v1.GcsDestinationH\000\022\032\n\022annotations_filte" - + "r\030\002 \001(\tB\r\n\013destinationB\320\001\n\036com.google.cl" - + "oud.aiplatform.v1B\014DatasetProtoP\001ZDgoogl" - + "e.golang.org/genproto/googleapis/cloud/a" - + "iplatform/v1;aiplatform\252\002\032Google.Cloud.A" - + "IPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\V" - + "1\352\002\035Google::Cloud::AIPlatform::V1b\006proto" - + "3" + + "r\030\002 \001(\tB\r\n\013destinationB\312\001\n\036com.google.cl" + + "oud.aiplatform.v1B\014DatasetProtoP\001Z>cloud" + + ".google.com/go/aiplatform/apiv1/aiplatfo" + + "rmpb;aiplatformpb\252\002\032Google.Cloud.AIPlatf" + + "orm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Go" + + "ogle::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java index f57b967a7e58..7dbf9bc8f21a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetServiceProto.java @@ -297,12 +297,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*/datasets/*/dataItems/*}/annotations\332A\006" + "parent\032M\312A\031aiplatform.googleapis.com\322A.h" + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformB\327\001\n\036com.google.cloud.aiplatform.v1" - + "B\023DatasetServiceProtoP\001ZDgoogle.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1;aiplatform\252\002\032Google.Cloud.AIPlatform." - + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" - + "::Cloud::AIPlatform::V1b\006proto3" + + "tformB\321\001\n\036com.google.cloud.aiplatform.v1" + + "B\023DatasetServiceProtoP\001Z>cloud.google.co" + + "m/go/aiplatform/apiv1/aiplatformpb;aipla" + + "tformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G" + + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou" + + "d::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteNasJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteNasJobRequest.java new file mode 100644 index 000000000000..147cd2ef2e10 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteNasJobRequest.java @@ -0,0 +1,659 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for
+ * [JobService.DeleteNasJob][google.cloud.aiplatform.v1.JobService.DeleteNasJob].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.DeleteNasJobRequest} + */ +public final class DeleteNasJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.DeleteNasJobRequest) + DeleteNasJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteNasJobRequest.newBuilder() to construct. + private DeleteNasJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteNasJobRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteNasJobRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.DeleteNasJobRequest.class, + com.google.cloud.aiplatform.v1.DeleteNasJobRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the NasJob resource to be deleted.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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 NasJob resource to be deleted.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.DeleteNasJobRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.DeleteNasJobRequest other = + (com.google.cloud.aiplatform.v1.DeleteNasJobRequest) 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.aiplatform.v1.DeleteNasJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.DeleteNasJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.DeleteNasJob][google.cloud.aiplatform.v1.JobService.DeleteNasJob].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.DeleteNasJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.DeleteNasJobRequest) + com.google.cloud.aiplatform.v1.DeleteNasJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.DeleteNasJobRequest.class, + com.google.cloud.aiplatform.v1.DeleteNasJobRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.DeleteNasJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.DeleteNasJobRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.DeleteNasJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.DeleteNasJobRequest build() { + com.google.cloud.aiplatform.v1.DeleteNasJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.DeleteNasJobRequest buildPartial() { + com.google.cloud.aiplatform.v1.DeleteNasJobRequest result = + new com.google.cloud.aiplatform.v1.DeleteNasJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteNasJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.DeleteNasJobRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.DeleteNasJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteNasJobRequest other) { + if (other == com.google.cloud.aiplatform.v1.DeleteNasJobRequest.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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.DeleteNasJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.DeleteNasJobRequest) + private static final com.google.cloud.aiplatform.v1.DeleteNasJobRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.DeleteNasJobRequest(); + } + + public static com.google.cloud.aiplatform.v1.DeleteNasJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNasJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.DeleteNasJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteNasJobRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteNasJobRequestOrBuilder.java new file mode 100644 index 000000000000..aeb53e785836 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteNasJobRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface DeleteNasJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.DeleteNasJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NasJob resource to be deleted.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the NasJob resource to be deleted.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndex.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndex.java index 64568deb36c9..fa26696f314a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndex.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndex.java @@ -542,9 +542,9 @@ public com.google.cloud.aiplatform.v1.AutomaticResources getAutomaticResources() * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -571,9 +571,9 @@ public boolean hasDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -602,9 +602,9 @@ public com.google.cloud.aiplatform.v1.DedicatedResources getDedicatedResources() * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -2935,9 +2935,9 @@ public Builder clearAutomaticResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -2963,9 +2963,9 @@ public boolean hasDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -2997,9 +2997,9 @@ public com.google.cloud.aiplatform.v1.DedicatedResources getDedicatedResources() * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3033,9 +3033,9 @@ public Builder setDedicatedResources(com.google.cloud.aiplatform.v1.DedicatedRes * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3067,9 +3067,9 @@ public Builder setDedicatedResources( * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3108,9 +3108,9 @@ public Builder mergeDedicatedResources( * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3141,9 +3141,9 @@ public Builder clearDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3170,9 +3170,9 @@ public Builder clearDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3203,9 +3203,9 @@ public Builder clearDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexOrBuilder.java index f3b6d45ca45f..93c38fa1c848 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexOrBuilder.java @@ -356,9 +356,9 @@ public interface DeployedIndexOrBuilder * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -382,9 +382,9 @@ public interface DeployedIndexOrBuilder * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -408,9 +408,9 @@ public interface DeployedIndexOrBuilder * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRefProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRefProto.java index 9dc17db887b0..e5b53dd13f04 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRefProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRefProto.java @@ -46,13 +46,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le/api/resource.proto\"{\n\020DeployedIndexRe" + "f\022G\n\016index_endpoint\030\001 \001(\tB/\340A\005\372A)\n\'aipla" + "tform.googleapis.com/IndexEndpoint\022\036\n\021de" - + "ployed_index_id\030\002 \001(\tB\003\340A\005B\331\001\n\036com.googl" + + "ployed_index_id\030\002 \001(\tB\003\340A\005B\323\001\n\036com.googl" + "e.cloud.aiplatform.v1B\025DeployedIndexRefP" - + "rotoP\001ZDgoogle.golang.org/genproto/googl" - + "eapis/cloud/aiplatform/v1;aiplatform\252\002\032G" - + "oogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud" - + "\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfo" - + "rm::V1b\006proto3" + + "rotoP\001Z>cloud.google.com/go/aiplatform/a" + + "piv1/aiplatformpb;aiplatformpb\252\002\032Google." + + "Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPla" + + "tform\\V1\352\002\035Google::Cloud::AIPlatform::V1" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModel.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModel.java index 3317b2a63c1a..117e43a98b18 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModel.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModel.java @@ -684,6 +684,8 @@ public boolean getDisableContainerLogging() { * * *
+   * If true, online prediction access logs are sent to StackDriver
+   * Logging.
    * These logs are like standard server access logs, containing
    * information like timestamp and latency for each prediction request.
    * Note that Stackdriver logs may incur a cost, especially if your project
@@ -3087,6 +3089,8 @@ public Builder clearDisableContainerLogging() {
      *
      *
      * 
+     * If true, online prediction access logs are sent to StackDriver
+     * Logging.
      * These logs are like standard server access logs, containing
      * information like timestamp and latency for each prediction request.
      * Note that Stackdriver logs may incur a cost, especially if your project
@@ -3106,6 +3110,8 @@ public boolean getEnableAccessLogging() {
      *
      *
      * 
+     * If true, online prediction access logs are sent to StackDriver
+     * Logging.
      * These logs are like standard server access logs, containing
      * information like timestamp and latency for each prediction request.
      * Note that Stackdriver logs may incur a cost, especially if your project
@@ -3129,6 +3135,8 @@ public Builder setEnableAccessLogging(boolean value) {
      *
      *
      * 
+     * If true, online prediction access logs are sent to StackDriver
+     * Logging.
      * These logs are like standard server access logs, containing
      * information like timestamp and latency for each prediction request.
      * Note that Stackdriver logs may incur a cost, especially if your project
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelNameProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelNameProto.java
index 68f0b6eb8a9a..d43cb80d55ea 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelNameProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelNameProto.java
@@ -46,13 +46,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "le/api/resource.proto\"p\n\020DeployedModelRe"
           + "f\022<\n\010endpoint\030\001 \001(\tB*\340A\005\372A$\n\"aiplatform."
           + "googleapis.com/Endpoint\022\036\n\021deployed_mode"
-          + "l_id\030\002 \001(\tB\003\340A\005B\332\001\n\036com.google.cloud.aip"
-          + "latform.v1B\026DeployedModelNameProtoP\001ZDgo"
-          + "ogle.golang.org/genproto/googleapis/clou"
-          + "d/aiplatform/v1;aiplatform\252\002\032Google.Clou"
-          + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor"
-          + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr"
-          + "oto3"
+          + "l_id\030\002 \001(\tB\003\340A\005B\324\001\n\036com.google.cloud.aip"
+          + "latform.v1B\026DeployedModelNameProtoP\001Z>cl"
+          + "oud.google.com/go/aiplatform/apiv1/aipla"
+          + "tformpb;aiplatformpb\252\002\032Google.Cloud.AIPl"
+          + "atform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002"
+          + "\035Google::Cloud::AIPlatform::V1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelOrBuilder.java
index d8f5298d7dd4..c85bf4bb144f 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelOrBuilder.java
@@ -392,6 +392,8 @@ public interface DeployedModelOrBuilder
    *
    *
    * 
+   * If true, online prediction access logs are sent to StackDriver
+   * Logging.
    * These logs are like standard server access logs, containing
    * information like timestamp and latency for each prediction request.
    * Note that Stackdriver logs may incur a cost, especially if your project
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpecProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpecProto.java
index 358dac4cb122..750853e1cd9f 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpecProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpecProto.java
@@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
       "\n0google/cloud/aiplatform/v1/encryption_"
           + "spec.proto\022\032google.cloud.aiplatform.v1\032\037"
           + "google/api/field_behavior.proto\"+\n\016Encry"
-          + "ptionSpec\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\002B\327\001\n"
+          + "ptionSpec\022\031\n\014kms_key_name\030\001 \001(\tB\003\340A\002B\321\001\n"
           + "\036com.google.cloud.aiplatform.v1B\023Encrypt"
-          + "ionSpecProtoP\001ZDgoogle.golang.org/genpro"
-          + "to/googleapis/cloud/aiplatform/v1;aiplat"
-          + "form\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog"
-          + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::"
-          + "AIPlatform::V1b\006proto3"
+          + "ionSpecProtoP\001Z>cloud.google.com/go/aipl"
+          + "atform/apiv1/aiplatformpb;aiplatformpb\252\002"
+          + "\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Clo"
+          + "ud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlat"
+          + "form::V1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java
index d40659f35df2..b3e3a4b1cace 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java
@@ -805,7 +805,7 @@ public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecO
    *
    *
    * 
-   * The full name of the Google Compute Engine
+   * Optional. The full name of the Google Compute Engine
    * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    * to which the Endpoint should be peered.
    * Private services access must already be configured for the network. If left
@@ -820,7 +820,9 @@ public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecO
    * network name.
    * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The network. */ @@ -840,7 +842,7 @@ public java.lang.String getNetwork() { * * *
-   * The full name of the Google Compute Engine
+   * Optional. The full name of the Google Compute Engine
    * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    * to which the Endpoint should be peered.
    * Private services access must already be configured for the network. If left
@@ -855,7 +857,9 @@ public java.lang.String getNetwork() {
    * network name.
    * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The bytes for network. */ @@ -888,7 +892,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated. - * See google/cloud/aiplatform/v1/endpoint.proto;l=124 + * See google/cloud/aiplatform/v1/endpoint.proto;l=125 * @return The enablePrivateServiceConnect. */ @java.lang.Override @@ -3726,7 +3730,7 @@ public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecO * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3741,7 +3745,9 @@ public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecO
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The network. */ @@ -3760,7 +3766,7 @@ public java.lang.String getNetwork() { * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3775,7 +3781,9 @@ public java.lang.String getNetwork() {
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The bytes for network. */ @@ -3794,7 +3802,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3809,7 +3817,9 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @param value The network to set. * @return This builder for chaining. @@ -3827,7 +3837,7 @@ public Builder setNetwork(java.lang.String value) { * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3842,7 +3852,9 @@ public Builder setNetwork(java.lang.String value) {
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -3856,7 +3868,7 @@ public Builder clearNetwork() { * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3871,7 +3883,9 @@ public Builder clearNetwork() {
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for network to set. * @return This builder for chaining. @@ -3902,7 +3916,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated. - * See google/cloud/aiplatform/v1/endpoint.proto;l=124 + * See google/cloud/aiplatform/v1/endpoint.proto;l=125 * @return The enablePrivateServiceConnect. */ @java.lang.Override @@ -3924,7 +3938,7 @@ public boolean getEnablePrivateServiceConnect() { * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated. - * See google/cloud/aiplatform/v1/endpoint.proto;l=124 + * See google/cloud/aiplatform/v1/endpoint.proto;l=125 * @param value The enablePrivateServiceConnect to set. * @return This builder for chaining. */ @@ -3950,7 +3964,7 @@ public Builder setEnablePrivateServiceConnect(boolean value) { * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated. - * See google/cloud/aiplatform/v1/endpoint.proto;l=124 + * See google/cloud/aiplatform/v1/endpoint.proto;l=125 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java index e3182e398d62..f57fff6f9680 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java @@ -494,7 +494,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * The full name of the Google Compute Engine
+   * Optional. The full name of the Google Compute Engine
    * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    * to which the Endpoint should be peered.
    * Private services access must already be configured for the network. If left
@@ -509,7 +509,9 @@ java.lang.String getLabelsOrDefault(
    * network name.
    * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The network. */ @@ -518,7 +520,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * The full name of the Google Compute Engine
+   * Optional. The full name of the Google Compute Engine
    * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    * to which the Endpoint should be peered.
    * Private services access must already be configured for the network. If left
@@ -533,7 +535,9 @@ java.lang.String getLabelsOrDefault(
    * network name.
    * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The bytes for network. */ @@ -553,7 +557,7 @@ java.lang.String getLabelsOrDefault( * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated. - * See google/cloud/aiplatform/v1/endpoint.proto;l=124 + * See google/cloud/aiplatform/v1/endpoint.proto;l=125 * @return The enablePrivateServiceConnect. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java index 1b6883c9c0f4..a7d8fc07c0e3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointProto.java @@ -68,7 +68,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "atform/v1/explanation.proto\032#google/clou" + "d/aiplatform/v1/io.proto\0322google/cloud/a" + "iplatform/v1/machine_resources.proto\032\037go" - + "ogle/protobuf/timestamp.proto\"\356\007\n\010Endpoi" + + "ogle/protobuf/timestamp.proto\"\361\007\n\010Endpoi" + "nt\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 " + "\001(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022G\n\017deploye" + "d_models\030\004 \003(\0132).google.cloud.aiplatform" @@ -80,49 +80,49 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013u" + "pdate_time\030\t \001(\0132\032.google.protobuf.Times" + "tampB\003\340A\003\022C\n\017encryption_spec\030\n \001(\0132*.goo" - + "gle.cloud.aiplatform.v1.EncryptionSpec\0224" - + "\n\007network\030\r \001(\tB#\372A \n\036compute.googleapis" - + ".com/Network\022*\n\036enable_private_service_c" - + "onnect\030\021 \001(\010B\002\030\001\022g\n\037model_deployment_mon" - + "itoring_job\030\016 \001(\tB>\340A\003\372A8\n6aiplatform.go" - + "ogleapis.com/ModelDeploymentMonitoringJo" - + "b\022p\n\'predict_request_response_logging_co" - + "nfig\030\022 \001(\0132?.google.cloud.aiplatform.v1." - + "PredictRequestResponseLoggingConfig\0323\n\021T" - + "rafficSplitEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\005:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001:e\352Ab\n\"aiplatform.googlea" - + "pis.com/Endpoint\022\340A\003\372A8\n6aiplatform" + + ".googleapis.com/ModelDeploymentMonitorin" + + "gJob\022p\n\'predict_request_response_logging" + + "_config\030\022 \001(\0132?.google.cloud.aiplatform." + + "v1.PredictRequestResponseLoggingConfig\0323" + + "\n\021TrafficSplitEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\005:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001:e\352Ab\n\"aiplatform.goog" + + "leapis.com/Endpoint\022cloud.google.com/go/" + + "aiplatform/apiv1/aiplatformpb;aiplatform" + + "pb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google" + + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI" + + "Platform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceProto.java index dbc635528ad0..af800f2c8fc0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointServiceProto.java @@ -192,12 +192,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ModelResponse\022\036UndeployModelOperationMet" + "adata\032M\312A\031aiplatform.googleapis.com\322A.ht" + "tps://www.googleapis.com/auth/cloud-plat" - + "formB\330\001\n\036com.google.cloud.aiplatform.v1B" - + "\024EndpointServiceProtoP\001ZDgoogle.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1;aiplatform\252\002\032Google.Cloud.AIPlatform." - + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" - + "::Cloud::AIPlatform::V1b\006proto3" + + "formB\322\001\n\036com.google.cloud.aiplatform.v1B" + + "\024EndpointServiceProtoP\001Z>cloud.google.co" + + "m/go/aiplatform/apiv1/aiplatformpb;aipla" + + "tformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G" + + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou" + + "d::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java index b1971a065016..23f306701ff9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeProto.java @@ -63,12 +63,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "m.googleapis.com/EntityType\022^projects/{p" + "roject}/locations/{location}/featurestor" + "es/{featurestore}/entityTypes/{entity_ty" - + "pe}B\323\001\n\036com.google.cloud.aiplatform.v1B\017" - + "EntityTypeProtoP\001ZDgoogle.golang.org/gen" - + "proto/googleapis/cloud/aiplatform/v1;aip" - + "latform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G" - + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou" - + "d::AIPlatform::V1b\006proto3" + + "pe}B\315\001\n\036com.google.cloud.aiplatform.v1B\017" + + "EntityTypeProtoP\001Z>cloud.google.com/go/a" + + "iplatform/apiv1/aiplatformpb;aiplatformp" + + "b\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\" + + "Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIP" + + "latform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVarProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVarProto.java index 61670daedaf1..34d6c99b01c5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVarProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVarProto.java @@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n(google/cloud/aiplatform/v1/env_var.pro" + "to\022\032google.cloud.aiplatform.v1\032\037google/a" + "pi/field_behavior.proto\"/\n\006EnvVar\022\021\n\004nam" - + "e\030\001 \001(\tB\003\340A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002B\317\001\n\036com" + + "e\030\001 \001(\tB\003\340A\002\022\022\n\005value\030\002 \001(\tB\003\340A\002B\311\001\n\036com" + ".google.cloud.aiplatform.v1B\013EnvVarProto" - + "P\001ZDgoogle.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" - + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" - + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" - + "V1b\006proto3" + + "P\001Z>cloud.google.com/go/aiplatform/apiv1" + + "/aiplatformpb;aiplatformpb\252\002\032Google.Clou" + + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor" + + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventProto.java index 14a8f3a4c000..776ffec095db 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventProto.java @@ -58,12 +58,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".aiplatform.v1.Event.LabelsEntry\032-\n\013Labe" + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + "3\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n\005INPUT\020\001" - + "\022\n\n\006OUTPUT\020\002B\316\001\n\036com.google.cloud.aiplat" - + "form.v1B\nEventProtoP\001ZDgoogle.golang.org" - + "/genproto/googleapis/cloud/aiplatform/v1" - + ";aiplatform\252\002\032Google.Cloud.AIPlatform.V1" - + "\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::" - + "Cloud::AIPlatform::V1b\006proto3" + + "\022\n\n\006OUTPUT\020\002B\310\001\n\036com.google.cloud.aiplat" + + "form.v1B\nEventProtoP\001Z>cloud.google.com/" + + "go/aiplatform/apiv1/aiplatformpb;aiplatf" + + "ormpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goo" + + "gle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud:" + + ":AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionProto.java index 58568218ef80..415b3d60ca8a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionProto.java @@ -66,13 +66,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "D\020\006:\211\001\352A\205\001\n#aiplatform.googleapis.com/Ex" + "ecution\022^projects/{project}/locations/{l" + "ocation}/metadataStores/{metadata_store}" - + "/executions/{execution}B\322\001\n\036com.google.c" - + "loud.aiplatform.v1B\016ExecutionProtoP\001ZDgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/aiplatform/v1;aiplatform\252\002\032Google.Clou" - + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor" - + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr" - + "oto3" + + "/executions/{execution}B\314\001\n\036com.google.c" + + "loud.aiplatform.v1B\016ExecutionProtoP\001Z>cl" + + "oud.google.com/go/aiplatform/apiv1/aipla" + + "tformpb;aiplatformpb\252\002\032Google.Cloud.AIPl" + + "atform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002" + + "\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataProto.java index 02e4ce7cb8fa..27ebe96c07e3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataProto.java @@ -127,13 +127,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ta.InputMetadata:\0028\001\032n\n\014OutputsEntry\022\013\n\003" + "key\030\001 \001(\t\022M\n\005value\030\002 \001(\0132>.google.cloud." + "aiplatform.v1.ExplanationMetadata.Output" - + "Metadata:\0028\001B\334\001\n\036com.google.cloud.aiplat" - + "form.v1B\030ExplanationMetadataProtoP\001ZDgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1;aiplatform\252\002\032Google.Cloud" - + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" - + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro" - + "to3" + + "Metadata:\0028\001B\326\001\n\036com.google.cloud.aiplat" + + "form.v1B\030ExplanationMetadataProtoP\001Z>clo" + + "ud.google.com/go/aiplatform/apiv1/aiplat" + + "formpb;aiplatformpb\252\002\032Google.Cloud.AIPla" + + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" + + "Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java index ff4d8dc3dd40..cbb23df8b8b3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationProto.java @@ -190,13 +190,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TA_FORMAT_UNSPECIFIED\020\000\022\r\n\tINSTANCES\020\001\022\016" + "\n\nEMBEDDINGS\020\002\"T\n\035ExamplesRestrictionsNa" + "mespace\022\026\n\016namespace_name\030\001 \001(\t\022\r\n\005allow" - + "\030\002 \003(\t\022\014\n\004deny\030\003 \003(\tB\324\001\n\036com.google.clou" - + "d.aiplatform.v1B\020ExplanationProtoP\001ZDgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1;aiplatform\252\002\032Google.Cloud" - + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" - + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro" - + "to3" + + "\030\002 \003(\t\022\014\n\004deny\030\003 \003(\tB\316\001\n\036com.google.clou" + + "d.aiplatform.v1B\020ExplanationProtoP\001Z>clo" + + "ud.google.com/go/aiplatform/apiv1/aiplat" + + "formpb;aiplatformpb\252\002\032Google.Cloud.AIPla" + + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" + + "Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureMonitoringStatsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureMonitoringStatsProto.java index c5cb532e2ea6..c45d328ce247 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureMonitoringStatsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureMonitoringStatsProto.java @@ -49,12 +49,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ly_detection_threshold\030\t \001(\001\022.\n\nstart_ti" + "me\030\007 \001(\0132\032.google.protobuf.Timestamp\022,\n\010" + "end_time\030\010 \001(\0132\032.google.protobuf.Timesta" - + "mpB\337\001\n\036com.google.cloud.aiplatform.v1B\033F" - + "eatureMonitoringStatsProtoP\001ZDgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1;aiplatform\252\002\032Google.Cloud.AIPlat" - + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G" - + "oogle::Cloud::AIPlatform::V1b\006proto3" + + "mpB\331\001\n\036com.google.cloud.aiplatform.v1B\033F" + + "eatureMonitoringStatsProtoP\001Z>cloud.goog" + + "le.com/go/aiplatform/apiv1/aiplatformpb;" + + "aiplatformpb\252\002\032Google.Cloud.AIPlatform.V" + + "1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google:" + + ":Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureProto.java index d93d5374e63d..946faaf1a826 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureProto.java @@ -81,13 +81,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "atform.googleapis.com/Feature\022qprojects/" + "{project}/locations/{location}/featurest" + "ores/{featurestore}/entityTypes/{entity_" - + "type}/features/{feature}B\320\001\n\036com.google." - + "cloud.aiplatform.v1B\014FeatureProtoP\001ZDgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1;aiplatform\252\002\032Google.Cloud" - + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" - + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro" - + "to3" + + "type}/features/{feature}B\312\001\n\036com.google." + + "cloud.aiplatform.v1B\014FeatureProtoP\001Z>clo" + + "ud.google.com/go/aiplatform/apiv1/aiplat" + + "formpb;aiplatformpb\252\002\032Google.Cloud.AIPla" + + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" + + "Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelectorProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelectorProto.java index 5b9dd9c499af..6d0a93cb4a79 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelectorProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelectorProto.java @@ -49,13 +49,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037google/api/field_behavior.proto\"\035\n\tIdMa" + "tcher\022\020\n\003ids\030\001 \003(\tB\003\340A\002\"Q\n\017FeatureSelect" + "or\022>\n\nid_matcher\030\001 \001(\0132%.google.cloud.ai" - + "platform.v1.IdMatcherB\003\340A\002B\330\001\n\036com.googl" + + "platform.v1.IdMatcherB\003\340A\002B\322\001\n\036com.googl" + "e.cloud.aiplatform.v1B\024FeatureSelectorPr" - + "otoP\001ZDgoogle.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1;aiplatform\252\002\032Go" - + "ogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\" - + "AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfor" - + "m::V1b\006proto3" + + "otoP\001Z>cloud.google.com/go/aiplatform/ap" + + "iv1/aiplatformpb;aiplatformpb\252\002\032Google.C" + + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat" + + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringProto.java index 5266f6fe235b..d7b359596592 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringProto.java @@ -80,13 +80,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ELINE_UNSPECIFIED\020\000\022\020\n\014LATEST_STATS\020\001\022\036\n" + "\032MOST_RECENT_SNAPSHOT_STATS\020\002\022\"\n\036PREVIOU" + "S_IMPORT_FEATURES_STATS\020\003\032/\n\017ThresholdCo" - + "nfig\022\017\n\005value\030\001 \001(\001H\000B\013\n\tthresholdB\337\001\n\036c" + + "nfig\022\017\n\005value\030\001 \001(\001H\000B\013\n\tthresholdB\331\001\n\036c" + "om.google.cloud.aiplatform.v1B\033Featurest" - + "oreMonitoringProtoP\001ZDgoogle.golang.org/" - + "genproto/googleapis/cloud/aiplatform/v1;" - + "aiplatform\252\002\032Google.Cloud.AIPlatform.V1\312" - + "\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::C" - + "loud::AIPlatform::V1b\006proto3" + + "oreMonitoringProtoP\001Z>cloud.google.com/g" + + "o/aiplatform/apiv1/aiplatformpb;aiplatfo" + + "rmpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" + + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::" + + "AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServiceProto.java index a64cca3f9835..e95be57f3401 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOnlineServiceProto.java @@ -176,13 +176,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/entityTypes/*}:writeFeatureValues:\001*\332A\024" + "entity_type,payloads\032M\312A\031aiplatform.goog" + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\342\001\n\036com.google.cloud" + + "auth/cloud-platformB\334\001\n\036com.google.cloud" + ".aiplatform.v1B\036FeaturestoreOnlineServic" - + "eProtoP\001ZDgoogle.golang.org/genproto/goo" - + "gleapis/cloud/aiplatform/v1;aiplatform\252\002" - + "\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Clo" - + "ud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlat" - + "form::V1b\006proto3" + + "eProtoP\001Z>cloud.google.com/go/aiplatform" + + "/apiv1/aiplatformpb;aiplatformpb\252\002\032Googl" + + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" + + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" + + "V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreProto.java index 36b8c4e1a1a3..a0ea0eb7b1a3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreProto.java @@ -79,13 +79,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TE_UNSPECIFIED\020\000\022\n\n\006STABLE\020\001\022\014\n\010UPDATING" + "\020\002:q\352An\n&aiplatform.googleapis.com/Featu" + "restore\022Dprojects/{project}/locations/{l" - + "ocation}/featurestores/{featurestore}B\325\001" + + "ocation}/featurestores/{featurestore}B\317\001" + "\n\036com.google.cloud.aiplatform.v1B\021Featur" - + "estoreProtoP\001ZDgoogle.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1;aiplatf" - + "orm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl" - + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A" - + "IPlatform::V1b\006proto3" + + "estoreProtoP\001Z>cloud.google.com/go/aipla" + + "tform/apiv1/aiplatformpb;aiplatformpb\252\002\032" + + "Google.Cloud.AIPlatform.V1\312\002\032Google\\Clou" + + "d\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatf" + + "orm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java index c5298457835a..5c2895e2923f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreServiceProto.java @@ -523,12 +523,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "estores:searchFeatures\332A\010location\332A\016loca" + "tion,query\032M\312A\031aiplatform.googleapis.com" + "\322A.https://www.googleapis.com/auth/cloud" - + "-platformB\334\001\n\036com.google.cloud.aiplatfor" - + "m.v1B\030FeaturestoreServiceProtoP\001ZDgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1;aiplatform\252\002\032Google.Cloud.AI" - + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" - + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "-platformB\326\001\n\036com.google.cloud.aiplatfor" + + "m.v1B\030FeaturestoreServiceProtoP\001Z>cloud." + + "google.com/go/aiplatform/apiv1/aiplatfor" + + "mpb;aiplatformpb\252\002\032Google.Cloud.AIPlatfo" + + "rm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goo" + + "gle::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasJobRequest.java new file mode 100644 index 000000000000..ab09cc88a116 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasJobRequest.java @@ -0,0 +1,659 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for
+ * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.GetNasJobRequest} + */ +public final class GetNasJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.GetNasJobRequest) + GetNasJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetNasJobRequest.newBuilder() to construct. + private GetNasJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetNasJobRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetNasJobRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GetNasJobRequest.class, + com.google.cloud.aiplatform.v1.GetNasJobRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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 NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.GetNasJobRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.GetNasJobRequest other = + (com.google.cloud.aiplatform.v1.GetNasJobRequest) 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.aiplatform.v1.GetNasJobRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.GetNasJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.GetNasJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.GetNasJobRequest) + com.google.cloud.aiplatform.v1.GetNasJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GetNasJobRequest.class, + com.google.cloud.aiplatform.v1.GetNasJobRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.GetNasJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GetNasJobRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.GetNasJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GetNasJobRequest build() { + com.google.cloud.aiplatform.v1.GetNasJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GetNasJobRequest buildPartial() { + com.google.cloud.aiplatform.v1.GetNasJobRequest result = + new com.google.cloud.aiplatform.v1.GetNasJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.GetNasJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.GetNasJobRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.GetNasJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetNasJobRequest other) { + if (other == com.google.cloud.aiplatform.v1.GetNasJobRequest.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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.GetNasJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.GetNasJobRequest) + private static final com.google.cloud.aiplatform.v1.GetNasJobRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.GetNasJobRequest(); + } + + public static com.google.cloud.aiplatform.v1.GetNasJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNasJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GetNasJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/GetPolicyBasedRouteRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasJobRequestOrBuilder.java similarity index 71% rename from java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/GetPolicyBasedRouteRequestOrBuilder.java rename to java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasJobRequestOrBuilder.java index 6622d3957f44..da9e7a3521d1 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/GetPolicyBasedRouteRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasJobRequestOrBuilder.java @@ -14,20 +14,22 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto +// source: google/cloud/aiplatform/v1/job_service.proto -package com.google.cloud.networkconnectivity.v1; +package com.google.cloud.aiplatform.v1; -public interface GetPolicyBasedRouteRequestOrBuilder +public interface GetNasJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest) + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.GetNasJobRequest) com.google.protobuf.MessageOrBuilder { /** * * *
-   * Required. Name of the PolicyBasedRoute resource to get.
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
    * 
* * @@ -41,7 +43,9 @@ public interface GetPolicyBasedRouteRequestOrBuilder * * *
-   * Required. Name of the PolicyBasedRoute resource to get.
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
    * 
* * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasTrialDetailRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasTrialDetailRequest.java new file mode 100644 index 000000000000..f7f7dda34270 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasTrialDetailRequest.java @@ -0,0 +1,660 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for
+ * [JobService.GetNasTrialDetail][google.cloud.aiplatform.v1.JobService.GetNasTrialDetail].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.GetNasTrialDetailRequest} + */ +public final class GetNasTrialDetailRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.GetNasTrialDetailRequest) + GetNasTrialDetailRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetNasTrialDetailRequest.newBuilder() to construct. + private GetNasTrialDetailRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetNasTrialDetailRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetNasTrialDetailRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest.class, + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the NasTrialDetail resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+   * 
+ * + * + * 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 NasTrialDetail resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+   * 
+ * + * + * 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.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.GetNasTrialDetailRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest other = + (com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest) 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.aiplatform.v1.GetNasTrialDetailRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.GetNasTrialDetail][google.cloud.aiplatform.v1.JobService.GetNasTrialDetail].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.GetNasTrialDetailRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.GetNasTrialDetailRequest) + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest.class, + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest build() { + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest buildPartial() { + com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest result = + new com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest other) { + if (other == com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest.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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.GetNasTrialDetailRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.GetNasTrialDetailRequest) + private static final com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest(); + } + + public static com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNasTrialDetailRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.GetNasTrialDetailRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasTrialDetailRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasTrialDetailRequestOrBuilder.java new file mode 100644 index 000000000000..d37869996720 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetNasTrialDetailRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface GetNasTrialDetailRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.GetNasTrialDetailRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NasTrialDetail resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the NasTrialDetail resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+   * 
+ * + * + * 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-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobProto.java index 40933ee60466..ea2bc58226a1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobProto.java @@ -79,13 +79,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "eapis.com/HyperparameterTuningJob\022\\proje" + "cts/{project}/locations/{location}/hyper" + "parameterTuningJobs/{hyperparameter_tuni" - + "ng_job}B\340\001\n\036com.google.cloud.aiplatform." - + "v1B\034HyperparameterTuningJobProtoP\001ZDgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "aiplatform/v1;aiplatform\252\002\032Google.Cloud." - + "AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\" - + "V1\352\002\035Google::Cloud::AIPlatform::V1b\006prot" - + "o3" + + "ng_job}B\332\001\n\036com.google.cloud.aiplatform." + + "v1B\034HyperparameterTuningJobProtoP\001Z>clou" + + "d.google.com/go/aiplatform/apiv1/aiplatf" + + "ormpb;aiplatformpb\252\002\032Google.Cloud.AIPlat" + + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G" + + "oogle::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpoint.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpoint.java index 084e03fb7608..816d98676a9e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpoint.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpoint.java @@ -693,7 +693,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { *
* * @deprecated google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=103 * @return The enablePrivateServiceConnect. */ @java.lang.Override @@ -702,6 +702,73 @@ public boolean getEnablePrivateServiceConnect() { return enablePrivateServiceConnect_; } + public static final int PRIVATE_SERVICE_CONNECT_CONFIG_FIELD_NUMBER = 12; + private com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig privateServiceConnectConfig_; + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the privateServiceConnectConfig field is set. + */ + @java.lang.Override + public boolean hasPrivateServiceConnectConfig() { + return privateServiceConnectConfig_ != null; + } + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The privateServiceConnectConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig + getPrivateServiceConnectConfig() { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.PrivateServiceConnectConfigOrBuilder + getPrivateServiceConnectConfigOrBuilder() { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -745,6 +812,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enablePrivateServiceConnect_ != false) { output.writeBool(10, enablePrivateServiceConnect_); } + if (privateServiceConnectConfig_ != null) { + output.writeMessage(12, getPrivateServiceConnectConfig()); + } getUnknownFields().writeTo(output); } @@ -792,6 +862,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, enablePrivateServiceConnect_); } + if (privateServiceConnectConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, getPrivateServiceConnectConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -824,6 +899,11 @@ public boolean equals(final java.lang.Object obj) { } if (!getNetwork().equals(other.getNetwork())) return false; if (getEnablePrivateServiceConnect() != other.getEnablePrivateServiceConnect()) return false; + if (hasPrivateServiceConnectConfig() != other.hasPrivateServiceConnectConfig()) return false; + if (hasPrivateServiceConnectConfig()) { + if (!getPrivateServiceConnectConfig().equals(other.getPrivateServiceConnectConfig())) + return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -863,6 +943,10 @@ public int hashCode() { hash = (53 * hash) + getNetwork().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateServiceConnect()); + if (hasPrivateServiceConnectConfig()) { + hash = (37 * hash) + PRIVATE_SERVICE_CONNECT_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getPrivateServiceConnectConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1047,6 +1131,11 @@ public Builder clear() { } network_ = ""; enablePrivateServiceConnect_ = false; + privateServiceConnectConfig_ = null; + if (privateServiceConnectConfigBuilder_ != null) { + privateServiceConnectConfigBuilder_.dispose(); + privateServiceConnectConfigBuilder_ = null; + } return this; } @@ -1124,6 +1213,12 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.IndexEndpoint result) if (((from_bitField0_ & 0x00000200) != 0)) { result.enablePrivateServiceConnect_ = enablePrivateServiceConnect_; } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.privateServiceConnectConfig_ = + privateServiceConnectConfigBuilder_ == null + ? privateServiceConnectConfig_ + : privateServiceConnectConfigBuilder_.build(); + } } @java.lang.Override @@ -1234,6 +1329,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.IndexEndpoint other) { if (other.getEnablePrivateServiceConnect() != false) { setEnablePrivateServiceConnect(other.getEnablePrivateServiceConnect()); } + if (other.hasPrivateServiceConnectConfig()) { + mergePrivateServiceConnectConfig(other.getPrivateServiceConnectConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1333,6 +1431,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000200; break; } // case 80 + case 98: + { + input.readMessage( + getPrivateServiceConnectConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2985,7 +3090,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { *
* * @deprecated google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=103 * @return The enablePrivateServiceConnect. */ @java.lang.Override @@ -3010,7 +3115,7 @@ public boolean getEnablePrivateServiceConnect() { * * * @deprecated google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=103 * @param value The enablePrivateServiceConnect to set. * @return This builder for chaining. */ @@ -3039,7 +3144,7 @@ public Builder setEnablePrivateServiceConnect(boolean value) { * * * @deprecated google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=103 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3050,6 +3155,242 @@ public Builder clearEnablePrivateServiceConnect() { return this; } + private com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig privateServiceConnectConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig, + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.Builder, + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfigOrBuilder> + privateServiceConnectConfigBuilder_; + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the privateServiceConnectConfig field is set. + */ + public boolean hasPrivateServiceConnectConfig() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The privateServiceConnectConfig. + */ + public com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig + getPrivateServiceConnectConfig() { + if (privateServiceConnectConfigBuilder_ == null) { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } else { + return privateServiceConnectConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setPrivateServiceConnectConfig( + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig value) { + if (privateServiceConnectConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + privateServiceConnectConfig_ = value; + } else { + privateServiceConnectConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setPrivateServiceConnectConfig( + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.Builder builderForValue) { + if (privateServiceConnectConfigBuilder_ == null) { + privateServiceConnectConfig_ = builderForValue.build(); + } else { + privateServiceConnectConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergePrivateServiceConnectConfig( + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig value) { + if (privateServiceConnectConfigBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) + && privateServiceConnectConfig_ != null + && privateServiceConnectConfig_ + != com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig + .getDefaultInstance()) { + getPrivateServiceConnectConfigBuilder().mergeFrom(value); + } else { + privateServiceConnectConfig_ = value; + } + } else { + privateServiceConnectConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearPrivateServiceConnectConfig() { + bitField0_ = (bitField0_ & ~0x00000400); + privateServiceConnectConfig_ = null; + if (privateServiceConnectConfigBuilder_ != null) { + privateServiceConnectConfigBuilder_.dispose(); + privateServiceConnectConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.Builder + getPrivateServiceConnectConfigBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getPrivateServiceConnectConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1.PrivateServiceConnectConfigOrBuilder + getPrivateServiceConnectConfigOrBuilder() { + if (privateServiceConnectConfigBuilder_ != null) { + return privateServiceConnectConfigBuilder_.getMessageOrBuilder(); + } else { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig, + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.Builder, + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfigOrBuilder> + getPrivateServiceConnectConfigFieldBuilder() { + if (privateServiceConnectConfigBuilder_ == null) { + privateServiceConnectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig, + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.Builder, + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfigOrBuilder>( + getPrivateServiceConnectConfig(), getParentForChildren(), isClean()); + privateServiceConnectConfig_ = null; + } + return privateServiceConnectConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointOrBuilder.java index 47da3ba8ad28..da0b3b180b8f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointOrBuilder.java @@ -418,9 +418,60 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1/index_endpoint.proto;l=103 * @return The enablePrivateServiceConnect. */ @java.lang.Deprecated boolean getEnablePrivateServiceConnect(); + + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the privateServiceConnectConfig field is set. + */ + boolean hasPrivateServiceConnectConfig(); + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The privateServiceConnectConfig. + */ + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig getPrivateServiceConnectConfig(); + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfigOrBuilder + getPrivateServiceConnectConfigOrBuilder(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java index cea8278c51e1..b90ff7a79cf5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointProto.java @@ -64,52 +64,55 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "int.proto\022\032google.cloud.aiplatform.v1\032\037g" + "oogle/api/field_behavior.proto\032\031google/a" + "pi/resource.proto\0322google/cloud/aiplatfo" - + "rm/v1/machine_resources.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\310\004\n\rIndexEndpoint" - + "\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(" - + "\tB\003\340A\002\022\023\n\013description\030\003 \001(\t\022H\n\020deployed_" - + "indexes\030\004 \003(\0132).google.cloud.aiplatform." - + "v1.DeployedIndexB\003\340A\003\022\014\n\004etag\030\005 \001(\t\022E\n\006l" - + "abels\030\006 \003(\01325.google.cloud.aiplatform.v1" - + ".IndexEndpoint.LabelsEntry\0224\n\013create_tim" - + "e\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\0224\n\013update_time\030\010 \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022\024\n\007network\030\t \001(\tB\003\340A\001\022-\n\036" - + "enable_private_service_connect\030\n \001(\010B\005\030\001" - + "\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" - + "\030\002 \001(\t:\0028\001:u\352Ar\n\'aiplatform.googleapis.c" - + "om/IndexEndpoint\022Gprojects/{project}/loc" - + "ations/{location}/indexEndpoints/{index_" - + "endpoint}\"\227\005\n\rDeployedIndex\022\017\n\002id\030\001 \001(\tB" - + "\003\340A\002\0226\n\005index\030\002 \001(\tB\'\340A\002\372A!\n\037aiplatform." - + "googleapis.com/Index\022\024\n\014display_name\030\003 \001" - + "(\t\0224\n\013create_time\030\004 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\022Q\n\021private_endpoints\030\005 " - + "\001(\01321.google.cloud.aiplatform.v1.IndexPr" - + "ivateEndpointsB\003\340A\003\0228\n\017index_sync_time\030\006" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022P\n" - + "\023automatic_resources\030\007 \001(\0132..google.clou" - + "d.aiplatform.v1.AutomaticResourcesB\003\340A\001\022" - + "P\n\023dedicated_resources\030\020 \001(\0132..google.cl" - + "oud.aiplatform.v1.DedicatedResourcesB\003\340A" - + "\001\022\"\n\025enable_access_logging\030\010 \001(\010B\003\340A\001\022\\\n" - + "\032deployed_index_auth_config\030\t \001(\01323.goog" - + "le.cloud.aiplatform.v1.DeployedIndexAuth" - + "ConfigB\003\340A\001\022\037\n\022reserved_ip_ranges\030\n \003(\tB" - + "\003\340A\001\022\035\n\020deployment_group\030\013 \001(\tB\003\340A\001\"\256\001\n\027" - + "DeployedIndexAuthConfig\022W\n\rauth_provider" - + "\030\001 \001(\0132@.google.cloud.aiplatform.v1.Depl" - + "oyedIndexAuthConfig.AuthProvider\032:\n\014Auth" - + "Provider\022\021\n\taudiences\030\001 \003(\t\022\027\n\017allowed_i" - + "ssuers\030\002 \003(\t\"Y\n\025IndexPrivateEndpoints\022\037\n" - + "\022match_grpc_address\030\001 \001(\tB\003\340A\003\022\037\n\022servic" - + "e_attachment\030\002 \001(\tB\003\340A\003B\326\001\n\036com.google.c" - + "loud.aiplatform.v1B\022IndexEndpointProtoP\001" - + "ZDgoogle.golang.org/genproto/googleapis/" - + "cloud/aiplatform/v1;aiplatform\252\002\032Google." - + "Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPla" - + "tform\\V1\352\002\035Google::Cloud::AIPlatform::V1" - + "b\006proto3" + + "rm/v1/machine_resources.proto\0323google/cl" + + "oud/aiplatform/v1/service_networking.pro" + + "to\032\037google/protobuf/timestamp.proto\"\256\005\n\r" + + "IndexEndpoint\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014disp" + + "lay_name\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001(\t" + + "\022H\n\020deployed_indexes\030\004 \003(\0132).google.clou" + + "d.aiplatform.v1.DeployedIndexB\003\340A\003\022\014\n\004et" + + "ag\030\005 \001(\t\022E\n\006labels\030\006 \003(\01325.google.cloud." + + "aiplatform.v1.IndexEndpoint.LabelsEntry\022" + + "4\n\013create_time\030\007 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\022\024\n\007network\030\t" + + " \001(\tB\003\340A\001\022-\n\036enable_private_service_conn" + + "ect\030\n \001(\010B\005\030\001\340A\001\022d\n\036private_service_conn" + + "ect_config\030\014 \001(\01327.google.cloud.aiplatfo" + + "rm.v1.PrivateServiceConnectConfigB\003\340A\001\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001:u\352Ar\n\'aiplatform.googleapis.com/In" + + "dexEndpoint\022Gprojects/{project}/location" + + "s/{location}/indexEndpoints/{index_endpo" + + "int}\"\227\005\n\rDeployedIndex\022\017\n\002id\030\001 \001(\tB\003\340A\002\022" + + "6\n\005index\030\002 \001(\tB\'\340A\002\372A!\n\037aiplatform.googl" + + "eapis.com/Index\022\024\n\014display_name\030\003 \001(\t\0224\n" + + "\013create_time\030\004 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022Q\n\021private_endpoints\030\005 \001(\01321" + + ".google.cloud.aiplatform.v1.IndexPrivate" + + "EndpointsB\003\340A\003\0228\n\017index_sync_time\030\006 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022P\n\023auto" + + "matic_resources\030\007 \001(\0132..google.cloud.aip" + + "latform.v1.AutomaticResourcesB\003\340A\001\022P\n\023de" + + "dicated_resources\030\020 \001(\0132..google.cloud.a" + + "iplatform.v1.DedicatedResourcesB\003\340A\001\022\"\n\025" + + "enable_access_logging\030\010 \001(\010B\003\340A\001\022\\\n\032depl" + + "oyed_index_auth_config\030\t \001(\01323.google.cl" + + "oud.aiplatform.v1.DeployedIndexAuthConfi" + + "gB\003\340A\001\022\037\n\022reserved_ip_ranges\030\n \003(\tB\003\340A\001\022" + + "\035\n\020deployment_group\030\013 \001(\tB\003\340A\001\"\256\001\n\027Deplo" + + "yedIndexAuthConfig\022W\n\rauth_provider\030\001 \001(" + + "\0132@.google.cloud.aiplatform.v1.DeployedI" + + "ndexAuthConfig.AuthProvider\032:\n\014AuthProvi" + + "der\022\021\n\taudiences\030\001 \003(\t\022\027\n\017allowed_issuer" + + "s\030\002 \003(\t\"Y\n\025IndexPrivateEndpoints\022\037\n\022matc" + + "h_grpc_address\030\001 \001(\tB\003\340A\003\022\037\n\022service_att" + + "achment\030\002 \001(\tB\003\340A\003B\320\001\n\036com.google.cloud." + + "aiplatform.v1B\022IndexEndpointProtoP\001Z>clo" + + "ud.google.com/go/aiplatform/apiv1/aiplat" + + "formpb;aiplatformpb\252\002\032Google.Cloud.AIPla" + + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" + + "Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -118,6 +121,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(), + com.google.cloud.aiplatform.v1.ServiceNetworkingProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1_IndexEndpoint_descriptor = @@ -136,6 +140,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpdateTime", "Network", "EnablePrivateServiceConnect", + "PrivateServiceConnectConfig", }); internal_static_google_cloud_aiplatform_v1_IndexEndpoint_LabelsEntry_descriptor = internal_static_google_cloud_aiplatform_v1_IndexEndpoint_descriptor.getNestedTypes().get(0); @@ -200,6 +205,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1.MachineResourcesProto.getDescriptor(); + com.google.cloud.aiplatform.v1.ServiceNetworkingProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceProto.java index cf6afddeef3d..21c7fee817fc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexEndpointServiceProto.java @@ -212,13 +212,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\033MutateDeployedIndexResponse\022$MutateDep" + "loyedIndexOperationMetadata\032M\312A\031aiplatfo" + "rm.googleapis.com\322A.https://www.googleap" - + "is.com/auth/cloud-platformB\335\001\n\036com.googl" + + "is.com/auth/cloud-platformB\327\001\n\036com.googl" + "e.cloud.aiplatform.v1B\031IndexEndpointServ" - + "iceProtoP\001ZDgoogle.golang.org/genproto/g" - + "oogleapis/cloud/aiplatform/v1;aiplatform" - + "\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\C" - + "loud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPl" - + "atform::V1b\006proto3" + + "iceProtoP\001Z>cloud.google.com/go/aiplatfo" + + "rm/apiv1/aiplatformpb;aiplatformpb\252\002\032Goo" + + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" + + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java index 47589cfeed75..5d68e4b964ff 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexProto.java @@ -96,13 +96,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\t\022\022\n\nallow_list\030\002 \003(\t\022\021\n\tdeny_list\030\003 \003(\t" + "\032)\n\013CrowdingTag\022\032\n\022crowding_attribute\030\001 " + "\001(\t\"C\n\nIndexStats\022\032\n\rvectors_count\030\001 \001(\003" - + "B\003\340A\003\022\031\n\014shards_count\030\002 \001(\005B\003\340A\003B\316\001\n\036com" + + "B\003\340A\003\022\031\n\014shards_count\030\002 \001(\005B\003\340A\003B\310\001\n\036com" + ".google.cloud.aiplatform.v1B\nIndexProtoP" - + "\001ZDgoogle.golang.org/genproto/googleapis" - + "/cloud/aiplatform/v1;aiplatform\252\002\032Google" - + ".Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPl" - + "atform\\V1\352\002\035Google::Cloud::AIPlatform::V" - + "1b\006proto3" + + "\001Z>cloud.google.com/go/aiplatform/apiv1/" + + "aiplatformpb;aiplatformpb\252\002\032Google.Cloud" + + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" + + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceProto.java index 54ee72f02785..0437f3fea359 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IndexServiceProto.java @@ -199,12 +199,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "jects/*/locations/*/indexes/*}:removeDat" + "apoints:\001*\032M\312A\031aiplatform.googleapis.com" + "\322A.https://www.googleapis.com/auth/cloud" - + "-platformB\325\001\n\036com.google.cloud.aiplatfor" - + "m.v1B\021IndexServiceProtoP\001ZDgoogle.golang" - + ".org/genproto/googleapis/cloud/aiplatfor" - + "m/v1;aiplatform\252\002\032Google.Cloud.AIPlatfor" - + "m.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goog" - + "le::Cloud::AIPlatform::V1b\006proto3" + + "-platformB\317\001\n\036com.google.cloud.aiplatfor" + + "m.v1B\021IndexServiceProtoP\001Z>cloud.google." + + "com/go/aiplatform/apiv1/aiplatformpb;aip" + + "latformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002" + + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl" + + "oud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IoProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IoProto.java index 17c4d7698c07..dd065eb46490 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IoProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IoProto.java @@ -88,13 +88,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023TFRecordDestination\022H\n\017gcs_destination\030" + "\001 \001(\0132*.google.cloud.aiplatform.v1.GcsDe" + "stinationB\003\340A\002\"7\n\034ContainerRegistryDesti" - + "nation\022\027\n\noutput_uri\030\001 \001(\tB\003\340A\002B\313\001\n\036com." - + "google.cloud.aiplatform.v1B\007IoProtoP\001ZDg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo" - + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo" - + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p" - + "roto3" + + "nation\022\027\n\noutput_uri\030\001 \001(\tB\003\340A\002B\305\001\n\036com." + + "google.cloud.aiplatform.v1B\007IoProtoP\001Z>c" + + "loud.google.com/go/aiplatform/apiv1/aipl" + + "atformpb;aiplatformpb\252\002\032Google.Cloud.AIP" + + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352" + + "\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceProto.java index 7dfa2d4400a8..736507de4e94 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobServiceProto.java @@ -99,6 +99,42 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_CancelHyperparameterTuningJobRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_CancelHyperparameterTuningJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_CreateBatchPredictionJobRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -191,323 +227,383 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ta_labeling_job.proto\032:google/cloud/aipl" + "atform/v1/hyperparameter_tuning_job.prot" + "o\032@google/cloud/aiplatform/v1/model_depl" - + "oyment_monitoring_job.proto\032*google/clou" - + "d/aiplatform/v1/operation.proto\032#google/" - + "longrunning/operations.proto\032\033google/pro" - + "tobuf/empty.proto\032 google/protobuf/field" - + "_mask.proto\032\037google/protobuf/timestamp.p" - + "roto\"\223\001\n\026CreateCustomJobRequest\0229\n\006paren" - + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" - + "m/Location\022>\n\ncustom_job\030\002 \001(\0132%.google." - + "cloud.aiplatform.v1.CustomJobB\003\340A\002\"P\n\023Ge" - + "tCustomJobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n" - + "#aiplatform.googleapis.com/CustomJob\"\270\001\n" - + "\025ListCustomJobsRequest\0229\n\006parent\030\001 \001(\tB)" - + "\340A\002\372A#\n!locations.googleapis.com/Locatio" - + "n\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\n" - + "page_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.go" - + "ogle.protobuf.FieldMask\"m\n\026ListCustomJob" - + "sResponse\022:\n\013custom_jobs\030\001 \003(\0132%.google." - + "cloud.aiplatform.v1.CustomJob\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\"S\n\026DeleteCustomJobRequest" - + "\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#aiplatform.googl" - + "eapis.com/CustomJob\"S\n\026CancelCustomJobRe" - + "quest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#aiplatform." - + "googleapis.com/CustomJob\"\246\001\n\034CreateDataL" - + "abelingJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" - + "#\n!locations.googleapis.com/Location\022K\n\021" - + "data_labeling_job\030\002 \001(\0132+.google.cloud.a" - + "iplatform.v1.DataLabelingJobB\003\340A\002\"\\\n\031Get" - + "DataLabelingJobRequest\022?\n\004name\030\001 \001(\tB1\340A" - + "\002\372A+\n)aiplatform.googleapis.com/DataLabe" - + "lingJob\"\320\001\n\033ListDataLabelingJobsRequest\022" - + "9\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googl" - + "eapis.com/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpa" - + "ge_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\trea" - + "d_mask\030\005 \001(\0132\032.google.protobuf.FieldMask" - + "\022\020\n\010order_by\030\006 \001(\t\"\200\001\n\034ListDataLabelingJ" - + "obsResponse\022G\n\022data_labeling_jobs\030\001 \003(\0132" - + "+.google.cloud.aiplatform.v1.DataLabelin" - + "gJob\022\027\n\017next_page_token\030\002 \001(\t\"_\n\034DeleteD" - + "ataLabelingJobRequest\022?\n\004name\030\001 \001(\tB1\340A\002" - + "\372A+\n)aiplatform.googleapis.com/DataLabel" - + "ingJob\"_\n\034CancelDataLabelingJobRequest\022?" - + "\n\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.googlea" - + "pis.com/DataLabelingJob\"\276\001\n$CreateHyperp" - + "arameterTuningJobRequest\0229\n\006parent\030\001 \001(\t" - + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" - + "ion\022[\n\031hyperparameter_tuning_job\030\002 \001(\01323" - + ".google.cloud.aiplatform.v1.Hyperparamet" - + "erTuningJobB\003\340A\002\"l\n!GetHyperparameterTun" - + "ingJobRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1aip" - + "latform.googleapis.com/HyperparameterTun" - + "ingJob\"\306\001\n#ListHyperparameterTuningJobsR" - + "equest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!location" - + "s.googleapis.com/Location\022\016\n\006filter\030\002 \001(" - + "\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t" - + "\022-\n\tread_mask\030\005 \001(\0132\032.google.protobuf.Fi" - + "eldMask\"\230\001\n$ListHyperparameterTuningJobs" - + "Response\022W\n\032hyperparameter_tuning_jobs\030\001" - + " \003(\01323.google.cloud.aiplatform.v1.Hyperp" - + "arameterTuningJob\022\027\n\017next_page_token\030\002 \001" - + "(\t\"o\n$DeleteHyperparameterTuningJobReque" - + "st\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1aiplatform.goo" - + "gleapis.com/HyperparameterTuningJob\"o\n$C" - + "ancelHyperparameterTuningJobRequest\022G\n\004n" - + "ame\030\001 \001(\tB9\340A\002\372A3\n1aiplatform.googleapis" - + ".com/HyperparameterTuningJob\"\257\001\n\037CreateB" - + "atchPredictionJobRequest\0229\n\006parent\030\001 \001(\t" + + "oyment_monitoring_job.proto\032(google/clou" + + "d/aiplatform/v1/nas_job.proto\032*google/cl" + + "oud/aiplatform/v1/operation.proto\032#googl" + + "e/longrunning/operations.proto\032\033google/p" + + "rotobuf/empty.proto\032 google/protobuf/fie" + + "ld_mask.proto\032\037google/protobuf/timestamp" + + ".proto\"\223\001\n\026CreateCustomJobRequest\0229\n\006par" + + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\022>\n\ncustom_job\030\002 \001(\0132%.googl" + + "e.cloud.aiplatform.v1.CustomJobB\003\340A\002\"P\n\023" + + "GetCustomJobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A" + + "%\n#aiplatform.googleapis.com/CustomJob\"\270" + + "\001\n\025ListCustomJobsRequest\0229\n\006parent\030\001 \001(\t" + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" - + "ion\022Q\n\024batch_prediction_job\030\002 \001(\0132..goog" - + "le.cloud.aiplatform.v1.BatchPredictionJo" - + "bB\003\340A\002\"b\n\034GetBatchPredictionJobRequest\022B" - + "\n\004name\030\001 \001(\tB4\340A\002\372A.\n,aiplatform.googlea" - + "pis.com/BatchPredictionJob\"\301\001\n\036ListBatch" - + "PredictionJobsRequest\0229\n\006parent\030\001 \001(\tB)\340" - + "A\002\372A#\n!locations.googleapis.com/Location" - + "\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\np" - + "age_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.goo" - + "gle.protobuf.FieldMask\"\211\001\n\037ListBatchPred" - + "ictionJobsResponse\022M\n\025batch_prediction_j" - + "obs\030\001 \003(\0132..google.cloud.aiplatform.v1.B" - + "atchPredictionJob\022\027\n\017next_page_token\030\002 \001" - + "(\t\"e\n\037DeleteBatchPredictionJobRequest\022B\n" - + "\004name\030\001 \001(\tB4\340A\002\372A.\n,aiplatform.googleap" - + "is.com/BatchPredictionJob\"e\n\037CancelBatch" - + "PredictionJobRequest\022B\n\004name\030\001 \001(\tB4\340A\002\372" - + "A.\n,aiplatform.googleapis.com/BatchPredi" - + "ctionJob\"\316\001\n)CreateModelDeploymentMonito" - + "ringJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" - + "locations.googleapis.com/Location\022f\n\037mod" - + "el_deployment_monitoring_job\030\002 \001(\01328.goo" + + "ion\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022" + + "\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032." + + "google.protobuf.FieldMask\"m\n\026ListCustomJ" + + "obsResponse\022:\n\013custom_jobs\030\001 \003(\0132%.googl" + + "e.cloud.aiplatform.v1.CustomJob\022\027\n\017next_" + + "page_token\030\002 \001(\t\"S\n\026DeleteCustomJobReque" + + "st\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#aiplatform.goo" + + "gleapis.com/CustomJob\"S\n\026CancelCustomJob" + + "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#aiplatfor" + + "m.googleapis.com/CustomJob\"\246\001\n\034CreateDat" + + "aLabelingJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" + + "\372A#\n!locations.googleapis.com/Location\022K" + + "\n\021data_labeling_job\030\002 \001(\0132+.google.cloud" + + ".aiplatform.v1.DataLabelingJobB\003\340A\002\"\\\n\031G" + + "etDataLabelingJobRequest\022?\n\004name\030\001 \001(\tB1" + + "\340A\002\372A+\n)aiplatform.googleapis.com/DataLa" + + "belingJob\"\320\001\n\033ListDataLabelingJobsReques" + + "t\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goo" + + "gleapis.com/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\t" + + "page_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tr" + + "ead_mask\030\005 \001(\0132\032.google.protobuf.FieldMa" + + "sk\022\020\n\010order_by\030\006 \001(\t\"\200\001\n\034ListDataLabelin" + + "gJobsResponse\022G\n\022data_labeling_jobs\030\001 \003(" + + "\0132+.google.cloud.aiplatform.v1.DataLabel" + + "ingJob\022\027\n\017next_page_token\030\002 \001(\t\"_\n\034Delet" + + "eDataLabelingJobRequest\022?\n\004name\030\001 \001(\tB1\340" + + "A\002\372A+\n)aiplatform.googleapis.com/DataLab" + + "elingJob\"_\n\034CancelDataLabelingJobRequest" + + "\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.googl" + + "eapis.com/DataLabelingJob\"\276\001\n$CreateHype" + + "rparameterTuningJobRequest\0229\n\006parent\030\001 \001" + + "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc" + + "ation\022[\n\031hyperparameter_tuning_job\030\002 \001(\013" + + "23.google.cloud.aiplatform.v1.Hyperparam" + + "eterTuningJobB\003\340A\002\"l\n!GetHyperparameterT" + + "uningJobRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1a" + + "iplatform.googleapis.com/HyperparameterT" + + "uningJob\"\306\001\n#ListHyperparameterTuningJob" + + "sRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati" + + "ons.googleapis.com/Location\022\016\n\006filter\030\002 " + + "\001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001" + + "(\t\022-\n\tread_mask\030\005 \001(\0132\032.google.protobuf." + + "FieldMask\"\230\001\n$ListHyperparameterTuningJo" + + "bsResponse\022W\n\032hyperparameter_tuning_jobs" + + "\030\001 \003(\01323.google.cloud.aiplatform.v1.Hype" + + "rparameterTuningJob\022\027\n\017next_page_token\030\002" + + " \001(\t\"o\n$DeleteHyperparameterTuningJobReq" + + "uest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1aiplatform.g" + + "oogleapis.com/HyperparameterTuningJob\"o\n" + + "$CancelHyperparameterTuningJobRequest\022G\n" + + "\004name\030\001 \001(\tB9\340A\002\372A3\n1aiplatform.googleap" + + "is.com/HyperparameterTuningJob\"\212\001\n\023Creat" + + "eNasJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" + + "locations.googleapis.com/Location\0228\n\007nas" + + "_job\030\002 \001(\0132\".google.cloud.aiplatform.v1." + + "NasJobB\003\340A\002\"J\n\020GetNasJobRequest\0226\n\004name\030" + + "\001 \001(\tB(\340A\002\372A\"\n aiplatform.googleapis.com" + + "/NasJob\"\265\001\n\022ListNasJobsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com" + + "/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" + + " \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 " + + "\001(\0132\032.google.protobuf.FieldMask\"d\n\023ListN" + + "asJobsResponse\0224\n\010nas_jobs\030\001 \003(\0132\".googl" + + "e.cloud.aiplatform.v1.NasJob\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"M\n\023DeleteNasJobRequest\0226\n\004" + + "name\030\001 \001(\tB(\340A\002\372A\"\n aiplatform.googleapi" + + "s.com/NasJob\"M\n\023CancelNasJobRequest\0226\n\004n" + + "ame\030\001 \001(\tB(\340A\002\372A\"\n aiplatform.googleapis" + + ".com/NasJob\"Z\n\030GetNasTrialDetailRequest\022" + + ">\n\004name\030\001 \001(\tB0\340A\002\372A*\n(aiplatform.google" + + "apis.com/NasTrialDetail\"}\n\032ListNasTrialD" + + "etailsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372A\"\n a" + + "iplatform.googleapis.com/NasJob\022\021\n\tpage_" + + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"}\n\033ListNa" + + "sTrialDetailsResponse\022E\n\021nas_trial_detai" + + "ls\030\001 \003(\0132*.google.cloud.aiplatform.v1.Na" + + "sTrialDetail\022\027\n\017next_page_token\030\002 \001(\t\"\257\001" + + "\n\037CreateBatchPredictionJobRequest\0229\n\006par" + + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\022Q\n\024batch_prediction_job\030\002 \001" + + "(\0132..google.cloud.aiplatform.v1.BatchPre" + + "dictionJobB\003\340A\002\"b\n\034GetBatchPredictionJob" + + "Request\022B\n\004name\030\001 \001(\tB4\340A\002\372A.\n,aiplatfor" + + "m.googleapis.com/BatchPredictionJob\"\301\001\n\036" + + "ListBatchPredictionJobsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com" + + "/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" + + " \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 " + + "\001(\0132\032.google.protobuf.FieldMask\"\211\001\n\037List" + + "BatchPredictionJobsResponse\022M\n\025batch_pre" + + "diction_jobs\030\001 \003(\0132..google.cloud.aiplat" + + "form.v1.BatchPredictionJob\022\027\n\017next_page_" + + "token\030\002 \001(\t\"e\n\037DeleteBatchPredictionJobR" + + "equest\022B\n\004name\030\001 \001(\tB4\340A\002\372A.\n,aiplatform" + + ".googleapis.com/BatchPredictionJob\"e\n\037Ca" + + "ncelBatchPredictionJobRequest\022B\n\004name\030\001 " + + "\001(\tB4\340A\002\372A.\n,aiplatform.googleapis.com/B" + + "atchPredictionJob\"\316\001\n)CreateModelDeploym" + + "entMonitoringJobRequest\0229\n\006parent\030\001 \001(\tB" + + ")\340A\002\372A#\n!locations.googleapis.com/Locati" + + "on\022f\n\037model_deployment_monitoring_job\030\002 " + + "\001(\01328.google.cloud.aiplatform.v1.ModelDe" + + "ploymentMonitoringJobB\003\340A\002\"\357\004\n4SearchMod" + + "elDeploymentMonitoringStatsAnomaliesRequ" + + "est\022g\n\037model_deployment_monitoring_job\030\001" + + " \001(\tB>\340A\002\372A8\n6aiplatform.googleapis.com/" + + "ModelDeploymentMonitoringJob\022\036\n\021deployed" + + "_model_id\030\002 \001(\tB\003\340A\002\022\034\n\024feature_display_" + + "name\030\003 \001(\t\022\201\001\n\nobjectives\030\004 \003(\0132h.google" + + ".cloud.aiplatform.v1.SearchModelDeployme" + + "ntMonitoringStatsAnomaliesRequest.StatsA" + + "nomaliesObjectiveB\003\340A\002\022\021\n\tpage_size\030\005 \001(" + + "\005\022\022\n\npage_token\030\006 \001(\t\022.\n\nstart_time\030\007 \001(" + + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + + "e\030\010 \001(\0132\032.google.protobuf.Timestamp\032\206\001\n\027" + + "StatsAnomaliesObjective\022P\n\004type\030\001 \001(\0162B." + + "google.cloud.aiplatform.v1.ModelDeployme" + + "ntMonitoringObjectiveType\022\031\n\021top_feature" + + "_count\030\004 \001(\005\"\245\001\n5SearchModelDeploymentMo" + + "nitoringStatsAnomaliesResponse\022S\n\020monito" + + "ring_stats\030\001 \003(\01329.google.cloud.aiplatfo" + + "rm.v1.ModelMonitoringStatsAnomalies\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"v\n&GetModelDeployme" + + "ntMonitoringJobRequest\022L\n\004name\030\001 \001(\tB>\340A" + + "\002\372A8\n6aiplatform.googleapis.com/ModelDep" + + "loymentMonitoringJob\"\313\001\n(ListModelDeploy" + + "mentMonitoringJobsRequest\0229\n\006parent\030\001 \001(" + + "\tB)\340A\002\372A#\n!locations.googleapis.com/Loca" + + "tion\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" + + "\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032" + + ".google.protobuf.FieldMask\"\250\001\n)ListModel" + + "DeploymentMonitoringJobsResponse\022b\n mode" + + "l_deployment_monitoring_jobs\030\001 \003(\01328.goo" + "gle.cloud.aiplatform.v1.ModelDeploymentM" - + "onitoringJobB\003\340A\002\"\357\004\n4SearchModelDeploym" - + "entMonitoringStatsAnomaliesRequest\022g\n\037mo" - + "del_deployment_monitoring_job\030\001 \001(\tB>\340A\002" - + "\372A8\n6aiplatform.googleapis.com/ModelDepl" - + "oymentMonitoringJob\022\036\n\021deployed_model_id" - + "\030\002 \001(\tB\003\340A\002\022\034\n\024feature_display_name\030\003 \001(" - + "\t\022\201\001\n\nobjectives\030\004 \003(\0132h.google.cloud.ai" - + "platform.v1.SearchModelDeploymentMonitor" - + "ingStatsAnomaliesRequest.StatsAnomaliesO" - + "bjectiveB\003\340A\002\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage" - + "_token\030\006 \001(\t\022.\n\nstart_time\030\007 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022,\n\010end_time\030\010 \001(\0132\032" - + ".google.protobuf.Timestamp\032\206\001\n\027StatsAnom" - + "aliesObjective\022P\n\004type\030\001 \001(\0162B.google.cl" - + "oud.aiplatform.v1.ModelDeploymentMonitor" - + "ingObjectiveType\022\031\n\021top_feature_count\030\004 " - + "\001(\005\"\245\001\n5SearchModelDeploymentMonitoringS" - + "tatsAnomaliesResponse\022S\n\020monitoring_stat" - + "s\030\001 \003(\01329.google.cloud.aiplatform.v1.Mod" - + "elMonitoringStatsAnomalies\022\027\n\017next_page_" - + "token\030\002 \001(\t\"v\n&GetModelDeploymentMonitor" - + "ingJobRequest\022L\n\004name\030\001 \001(\tB>\340A\002\372A8\n6aip" - + "latform.googleapis.com/ModelDeploymentMo" - + "nitoringJob\"\313\001\n(ListModelDeploymentMonit" - + "oringJobsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#" - + "\n!locations.googleapis.com/Location\022\016\n\006f" - + "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t" - + "oken\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google.p" - + "rotobuf.FieldMask\"\250\001\n)ListModelDeploymen" - + "tMonitoringJobsResponse\022b\n model_deploym" - + "ent_monitoring_jobs\030\001 \003(\01328.google.cloud" - + ".aiplatform.v1.ModelDeploymentMonitoring" - + "Job\022\027\n\017next_page_token\030\002 \001(\t\"\311\001\n)UpdateM" - + "odelDeploymentMonitoringJobRequest\022f\n\037mo" - + "del_deployment_monitoring_job\030\001 \001(\01328.go" - + "ogle.cloud.aiplatform.v1.ModelDeployment" - + "MonitoringJobB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132" - + "\032.google.protobuf.FieldMaskB\003\340A\002\"y\n)Dele" - + "teModelDeploymentMonitoringJobRequest\022L\n" - + "\004name\030\001 \001(\tB>\340A\002\372A8\n6aiplatform.googleap" - + "is.com/ModelDeploymentMonitoringJob\"x\n(P" - + "auseModelDeploymentMonitoringJobRequest\022" - + "L\n\004name\030\001 \001(\tB>\340A\002\372A8\n6aiplatform.google" - + "apis.com/ModelDeploymentMonitoringJob\"y\n" - + ")ResumeModelDeploymentMonitoringJobReque" - + "st\022L\n\004name\030\001 \001(\tB>\340A\002\372A8\n6aiplatform.goo" - + "gleapis.com/ModelDeploymentMonitoringJob" - + "\"\205\001\n3UpdateModelDeploymentMonitoringJobO" - + "perationMetadata\022N\n\020generic_metadata\030\001 \001" - + "(\01324.google.cloud.aiplatform.v1.GenericO" - + "perationMetadata2\2475\n\nJobService\022\304\001\n\017Crea" - + "teCustomJob\0222.google.cloud.aiplatform.v1" - + ".CreateCustomJobRequest\032%.google.cloud.a" - + "iplatform.v1.CustomJob\"V\202\323\344\223\002<\"./v1/{par" - + "ent=projects/*/locations/*}/customJobs:\n" - + "custom_job\332A\021parent,custom_job\022\245\001\n\014GetCu" - + "stomJob\022/.google.cloud.aiplatform.v1.Get" - + "CustomJobRequest\032%.google.cloud.aiplatfo" - + "rm.v1.CustomJob\"=\202\323\344\223\0020\022./v1/{name=proje" - + "cts/*/locations/*/customJobs/*}\332A\004name\022\270" - + "\001\n\016ListCustomJobs\0221.google.cloud.aiplatf" - + "orm.v1.ListCustomJobsRequest\0322.google.cl" - + "oud.aiplatform.v1.ListCustomJobsResponse" - + "\"?\202\323\344\223\0020\022./v1/{parent=projects/*/locatio" - + "ns/*}/customJobs\332A\006parent\022\326\001\n\017DeleteCust" - + "omJob\0222.google.cloud.aiplatform.v1.Delet" - + "eCustomJobRequest\032\035.google.longrunning.O" - + "peration\"p\202\323\344\223\0020*./v1/{name=projects/*/l" - + "ocations/*/customJobs/*}\332A\004name\312A0\n\025goog" - + "le.protobuf.Empty\022\027DeleteOperationMetada" - + "ta\022\246\001\n\017CancelCustomJob\0222.google.cloud.ai" - + "platform.v1.CancelCustomJobRequest\032\026.goo" - + "gle.protobuf.Empty\"G\202\323\344\223\002:\"5/v1/{name=pr" - + "ojects/*/locations/*/customJobs/*}:cance" - + "l:\001*\332A\004name\022\352\001\n\025CreateDataLabelingJob\0228." - + "google.cloud.aiplatform.v1.CreateDataLab" + + "onitoringJob\022\027\n\017next_page_token\030\002 \001(\t\"\311\001" + + "\n)UpdateModelDeploymentMonitoringJobRequ" + + "est\022f\n\037model_deployment_monitoring_job\030\001" + + " \001(\01328.google.cloud.aiplatform.v1.ModelD" + + "eploymentMonitoringJobB\003\340A\002\0224\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A" + + "\002\"y\n)DeleteModelDeploymentMonitoringJobR" + + "equest\022L\n\004name\030\001 \001(\tB>\340A\002\372A8\n6aiplatform" + + ".googleapis.com/ModelDeploymentMonitorin" + + "gJob\"x\n(PauseModelDeploymentMonitoringJo" + + "bRequest\022L\n\004name\030\001 \001(\tB>\340A\002\372A8\n6aiplatfo" + + "rm.googleapis.com/ModelDeploymentMonitor" + + "ingJob\"y\n)ResumeModelDeploymentMonitorin" + + "gJobRequest\022L\n\004name\030\001 \001(\tB>\340A\002\372A8\n6aipla" + + "tform.googleapis.com/ModelDeploymentMoni" + + "toringJob\"\205\001\n3UpdateModelDeploymentMonit" + + "oringJobOperationMetadata\022N\n\020generic_met" + + "adata\030\001 \001(\01324.google.cloud.aiplatform.v1" + + ".GenericOperationMetadata2\360?\n\nJobService" + + "\022\304\001\n\017CreateCustomJob\0222.google.cloud.aipl" + + "atform.v1.CreateCustomJobRequest\032%.googl" + + "e.cloud.aiplatform.v1.CustomJob\"V\202\323\344\223\002<\"" + + "./v1/{parent=projects/*/locations/*}/cus" + + "tomJobs:\ncustom_job\332A\021parent,custom_job\022" + + "\245\001\n\014GetCustomJob\022/.google.cloud.aiplatfo" + + "rm.v1.GetCustomJobRequest\032%.google.cloud" + + ".aiplatform.v1.CustomJob\"=\202\323\344\223\0020\022./v1/{n" + + "ame=projects/*/locations/*/customJobs/*}" + + "\332A\004name\022\270\001\n\016ListCustomJobs\0221.google.clou" + + "d.aiplatform.v1.ListCustomJobsRequest\0322." + + "google.cloud.aiplatform.v1.ListCustomJob" + + "sResponse\"?\202\323\344\223\0020\022./v1/{parent=projects/" + + "*/locations/*}/customJobs\332A\006parent\022\326\001\n\017D" + + "eleteCustomJob\0222.google.cloud.aiplatform" + + ".v1.DeleteCustomJobRequest\032\035.google.long" + + "running.Operation\"p\202\323\344\223\0020*./v1/{name=pro" + + "jects/*/locations/*/customJobs/*}\332A\004name" + + "\312A0\n\025google.protobuf.Empty\022\027DeleteOperat" + + "ionMetadata\022\246\001\n\017CancelCustomJob\0222.google" + + ".cloud.aiplatform.v1.CancelCustomJobRequ" + + "est\032\026.google.protobuf.Empty\"G\202\323\344\223\002:\"5/v1" + + "/{name=projects/*/locations/*/customJobs" + + "/*}:cancel:\001*\332A\004name\022\352\001\n\025CreateDataLabel" + + "ingJob\0228.google.cloud.aiplatform.v1.Crea" + + "teDataLabelingJobRequest\032+.google.cloud." + + "aiplatform.v1.DataLabelingJob\"j\202\323\344\223\002I\"4/" + + "v1/{parent=projects/*/locations/*}/dataL" + + "abelingJobs:\021data_labeling_job\332A\030parent," + + "data_labeling_job\022\275\001\n\022GetDataLabelingJob" + + "\0225.google.cloud.aiplatform.v1.GetDataLab" + "elingJobRequest\032+.google.cloud.aiplatfor" - + "m.v1.DataLabelingJob\"j\202\323\344\223\002I\"4/v1/{paren" - + "t=projects/*/locations/*}/dataLabelingJo" - + "bs:\021data_labeling_job\332A\030parent,data_labe" - + "ling_job\022\275\001\n\022GetDataLabelingJob\0225.google" - + ".cloud.aiplatform.v1.GetDataLabelingJobR" - + "equest\032+.google.cloud.aiplatform.v1.Data" - + "LabelingJob\"C\202\323\344\223\0026\0224/v1/{name=projects/" - + "*/locations/*/dataLabelingJobs/*}\332A\004name" - + "\022\320\001\n\024ListDataLabelingJobs\0227.google.cloud" - + ".aiplatform.v1.ListDataLabelingJobsReque" - + "st\0328.google.cloud.aiplatform.v1.ListData" - + "LabelingJobsResponse\"E\202\323\344\223\0026\0224/v1/{paren" - + "t=projects/*/locations/*}/dataLabelingJo" - + "bs\332A\006parent\022\350\001\n\025DeleteDataLabelingJob\0228." - + "google.cloud.aiplatform.v1.DeleteDataLab" - + "elingJobRequest\032\035.google.longrunning.Ope" - + "ration\"v\202\323\344\223\0026*4/v1/{name=projects/*/loc" - + "ations/*/dataLabelingJobs/*}\332A\004name\312A0\n\025" + + "m.v1.DataLabelingJob\"C\202\323\344\223\0026\0224/v1/{name=" + + "projects/*/locations/*/dataLabelingJobs/" + + "*}\332A\004name\022\320\001\n\024ListDataLabelingJobs\0227.goo" + + "gle.cloud.aiplatform.v1.ListDataLabeling" + + "JobsRequest\0328.google.cloud.aiplatform.v1" + + ".ListDataLabelingJobsResponse\"E\202\323\344\223\0026\0224/" + + "v1/{parent=projects/*/locations/*}/dataL" + + "abelingJobs\332A\006parent\022\350\001\n\025DeleteDataLabel" + + "ingJob\0228.google.cloud.aiplatform.v1.Dele" + + "teDataLabelingJobRequest\032\035.google.longru" + + "nning.Operation\"v\202\323\344\223\0026*4/v1/{name=proje" + + "cts/*/locations/*/dataLabelingJobs/*}\332A\004" + + "name\312A0\n\025google.protobuf.Empty\022\027DeleteOp" + + "erationMetadata\022\270\001\n\025CancelDataLabelingJo" + + "b\0228.google.cloud.aiplatform.v1.CancelDat" + + "aLabelingJobRequest\032\026.google.protobuf.Em" + + "pty\"M\202\323\344\223\002@\";/v1/{name=projects/*/locati" + + "ons/*/dataLabelingJobs/*}:cancel:\001*\332A\004na" + + "me\022\233\002\n\035CreateHyperparameterTuningJob\022@.g" + + "oogle.cloud.aiplatform.v1.CreateHyperpar" + + "ameterTuningJobRequest\0323.google.cloud.ai" + + "platform.v1.HyperparameterTuningJob\"\202\001\202\323" + + "\344\223\002Y\"\022\022*\022\022*/v1/{name=proj" - + "ects/*/locations/*/batchPredictionJobs/*" - + "}:cancel:\001*\332A\004name\022\273\002\n\"CreateModelDeploy" - + "mentMonitoringJob\022E.google.cloud.aiplatf" - + "orm.v1.CreateModelDeploymentMonitoringJo" - + "bRequest\0328.google.cloud.aiplatform.v1.Mo" - + "delDeploymentMonitoringJob\"\223\001\202\323\344\223\002d\"A/v1" - + "/{parent=projects/*/locations/*}/modelDe" - + "ploymentMonitoringJobs:\037model_deployment" - + "_monitoring_job\332A&parent,model_deploymen" - + "t_monitoring_job\022\242\003\n-SearchModelDeployme" - + "ntMonitoringStatsAnomalies\022P.google.clou" - + "d.aiplatform.v1.SearchModelDeploymentMon" - + "itoringStatsAnomaliesRequest\032Q.google.cl" - + "oud.aiplatform.v1.SearchModelDeploymentM" - + "onitoringStatsAnomaliesResponse\"\313\001\202\323\344\223\002\220" - + "\001\"\212\001/v1/{model_deployment_monitoring_job" - + "=projects/*/locations/*/modelDeploymentM" - + "onitoringJobs/*}:searchModelDeploymentMo" - + "nitoringStatsAnomalies:\001*\332A1model_deploy" - + "ment_monitoring_job,deployed_model_id\022\361\001" - + "\n\037GetModelDeploymentMonitoringJob\022B.goog" - + "le.cloud.aiplatform.v1.GetModelDeploymen" - + "tMonitoringJobRequest\0328.google.cloud.aip" - + "latform.v1.ModelDeploymentMonitoringJob\"" - + "P\202\323\344\223\002C\022A/v1/{name=projects/*/locations/" - + "*/modelDeploymentMonitoringJobs/*}\332A\004nam" - + "e\022\204\002\n!ListModelDeploymentMonitoringJobs\022" - + "D.google.cloud.aiplatform.v1.ListModelDe" - + "ploymentMonitoringJobsRequest\032E.google.c" - + "loud.aiplatform.v1.ListModelDeploymentMo" - + "nitoringJobsResponse\"R\202\323\344\223\002C\022A/v1/{paren" - + "t=projects/*/locations/*}/modelDeploymen" - + "tMonitoringJobs\332A\006parent\022\234\003\n\"UpdateModel" - + "DeploymentMonitoringJob\022E.google.cloud.a" - + "iplatform.v1.UpdateModelDeploymentMonito" - + "ringJobRequest\032\035.google.longrunning.Oper" - + "ation\"\217\002\202\323\344\223\002\204\0012a/v1/{model_deployment_m" - + "onitoring_job.name=projects/*/locations/" - + "*/modelDeploymentMonitoringJobs/*}:\037mode" - + "l_deployment_monitoring_job\332A+model_depl" - + "oyment_monitoring_job,update_mask\312AS\n\034Mo" - + "delDeploymentMonitoringJob\0223UpdateModelD" - + "eploymentMonitoringJobOperationMetadata\022" - + "\220\002\n\"DeleteModelDeploymentMonitoringJob\022E" - + ".google.cloud.aiplatform.v1.DeleteModelD" - + "eploymentMonitoringJobRequest\032\035.google.l" - + "ongrunning.Operation\"\203\001\202\323\344\223\002C*A/v1/{name" - + "=projects/*/locations/*/modelDeploymentM" - + "onitoringJobs/*}\332A\004name\312A0\n\025google.proto" - + "buf.Empty\022\027DeleteOperationMetadata\022\334\001\n!P" - + "auseModelDeploymentMonitoringJob\022D.googl" - + "e.cloud.aiplatform.v1.PauseModelDeployme" - + "ntMonitoringJobRequest\032\026.google.protobuf" - + ".Empty\"Y\202\323\344\223\002L\"G/v1/{name=projects/*/loc" - + "ations/*/modelDeploymentMonitoringJobs/*" - + "}:pause:\001*\332A\004name\022\337\001\n\"ResumeModelDeploym" - + "entMonitoringJob\022E.google.cloud.aiplatfo" - + "rm.v1.ResumeModelDeploymentMonitoringJob" - + "Request\032\026.google.protobuf.Empty\"Z\202\323\344\223\002M\"" - + "H/v1/{name=projects/*/locations/*/modelD" - + "eploymentMonitoringJobs/*}:resume:\001*\332A\004n" - + "ame\032M\312A\031aiplatform.googleapis.com\322A.http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\323\001\n\036com.google.cloud.aiplatform.v1B\017J" - + "obServiceProtoP\001ZDgoogle.golang.org/genp" - + "roto/googleapis/cloud/aiplatform/v1;aipl" - + "atform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Go" - + "ogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud" - + "::AIPlatform::V1b\006proto3" + + "tadata\022\301\001\n\030CancelBatchPredictionJob\022;.go" + + "ogle.cloud.aiplatform.v1.CancelBatchPred" + + "ictionJobRequest\032\026.google.protobuf.Empty" + + "\"P\202\323\344\223\002C\">/v1/{name=projects/*/locations" + + "/*/batchPredictionJobs/*}:cancel:\001*\332A\004na" + + "me\022\273\002\n\"CreateModelDeploymentMonitoringJo" + + "b\022E.google.cloud.aiplatform.v1.CreateMod" + + "elDeploymentMonitoringJobRequest\0328.googl" + + "e.cloud.aiplatform.v1.ModelDeploymentMon" + + "itoringJob\"\223\001\202\323\344\223\002d\"A/v1/{parent=project" + + "s/*/locations/*}/modelDeploymentMonitori" + + "ngJobs:\037model_deployment_monitoring_job\332" + + "A&parent,model_deployment_monitoring_job" + + "\022\242\003\n-SearchModelDeploymentMonitoringStat" + + "sAnomalies\022P.google.cloud.aiplatform.v1." + + "SearchModelDeploymentMonitoringStatsAnom" + + "aliesRequest\032Q.google.cloud.aiplatform.v" + + "1.SearchModelDeploymentMonitoringStatsAn" + + "omaliesResponse\"\313\001\202\323\344\223\002\220\001\"\212\001/v1/{model_d" + + "eployment_monitoring_job=projects/*/loca" + + "tions/*/modelDeploymentMonitoringJobs/*}" + + ":searchModelDeploymentMonitoringStatsAno" + + "malies:\001*\332A1model_deployment_monitoring_" + + "job,deployed_model_id\022\361\001\n\037GetModelDeploy" + + "mentMonitoringJob\022B.google.cloud.aiplatf" + + "orm.v1.GetModelDeploymentMonitoringJobRe" + + "quest\0328.google.cloud.aiplatform.v1.Model" + + "DeploymentMonitoringJob\"P\202\323\344\223\002C\022A/v1/{na" + + "me=projects/*/locations/*/modelDeploymen" + + "tMonitoringJobs/*}\332A\004name\022\204\002\n!ListModelD" + + "eploymentMonitoringJobs\022D.google.cloud.a" + + "iplatform.v1.ListModelDeploymentMonitori" + + "ngJobsRequest\032E.google.cloud.aiplatform." + + "v1.ListModelDeploymentMonitoringJobsResp" + + "onse\"R\202\323\344\223\002C\022A/v1/{parent=projects/*/loc" + + "ations/*}/modelDeploymentMonitoringJobs\332" + + "A\006parent\022\234\003\n\"UpdateModelDeploymentMonito" + + "ringJob\022E.google.cloud.aiplatform.v1.Upd" + + "ateModelDeploymentMonitoringJobRequest\032\035" + + ".google.longrunning.Operation\"\217\002\202\323\344\223\002\204\0012" + + "a/v1/{model_deployment_monitoring_job.na" + + "me=projects/*/locations/*/modelDeploymen" + + "tMonitoringJobs/*}:\037model_deployment_mon" + + "itoring_job\332A+model_deployment_monitorin" + + "g_job,update_mask\312AS\n\034ModelDeploymentMon" + + "itoringJob\0223UpdateModelDeploymentMonitor" + + "ingJobOperationMetadata\022\220\002\n\"DeleteModelD" + + "eploymentMonitoringJob\022E.google.cloud.ai" + + "platform.v1.DeleteModelDeploymentMonitor" + + "ingJobRequest\032\035.google.longrunning.Opera" + + "tion\"\203\001\202\323\344\223\002C*A/v1/{name=projects/*/loca" + + "tions/*/modelDeploymentMonitoringJobs/*}" + + "\332A\004name\312A0\n\025google.protobuf.Empty\022\027Delet" + + "eOperationMetadata\022\334\001\n!PauseModelDeploym" + + "entMonitoringJob\022D.google.cloud.aiplatfo" + + "rm.v1.PauseModelDeploymentMonitoringJobR" + + "equest\032\026.google.protobuf.Empty\"Y\202\323\344\223\002L\"G" + + "/v1/{name=projects/*/locations/*/modelDe" + + "ploymentMonitoringJobs/*}:pause:\001*\332A\004nam" + + "e\022\337\001\n\"ResumeModelDeploymentMonitoringJob" + + "\022E.google.cloud.aiplatform.v1.ResumeMode" + + "lDeploymentMonitoringJobRequest\032\026.google" + + ".protobuf.Empty\"Z\202\323\344\223\002M\"H/v1/{name=proje" + + "cts/*/locations/*/modelDeploymentMonitor" + + "ingJobs/*}:resume:\001*\332A\004name\032\206\001\312A\031aiplatf" + + "orm.googleapis.com\322Aghttps://www.googlea" + + "pis.com/auth/cloud-platform,https://www." + + "googleapis.com/auth/cloud-platform.read-" + + "onlyB\315\001\n\036com.google.cloud.aiplatform.v1B" + + "\017JobServiceProtoP\001Z>cloud.google.com/go/" + + "aiplatform/apiv1/aiplatformpb;aiplatform" + + "pb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google" + + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI" + + "Platform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -522,6 +618,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.aiplatform.v1.DataLabelingJobProto.getDescriptor(), com.google.cloud.aiplatform.v1.HyperparameterTuningJobProto.getDescriptor(), com.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJobProto.getDescriptor(), + com.google.cloud.aiplatform.v1.NasJobProto.getDescriptor(), com.google.cloud.aiplatform.v1.OperationProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), @@ -672,8 +769,80 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", }); - internal_static_google_cloud_aiplatform_v1_CreateBatchPredictionJobRequest_descriptor = + internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_descriptor = getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_CreateNasJobRequest_descriptor, + new java.lang.String[] { + "Parent", "NasJob", + }); + internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_GetNasJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "ReadMask", + }); + internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_descriptor, + new java.lang.String[] { + "NasJobs", "NextPageToken", + }); + internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_DeleteNasJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_CancelNasJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_GetNasTrialDetailRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_descriptor, + new java.lang.String[] { + "NasTrialDetails", "NextPageToken", + }); + internal_static_google_cloud_aiplatform_v1_CreateBatchPredictionJobRequest_descriptor = + getDescriptor().getMessageTypes().get(27); internal_static_google_cloud_aiplatform_v1_CreateBatchPredictionJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_CreateBatchPredictionJobRequest_descriptor, @@ -681,7 +850,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "BatchPredictionJob", }); internal_static_google_cloud_aiplatform_v1_GetBatchPredictionJobRequest_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(28); internal_static_google_cloud_aiplatform_v1_GetBatchPredictionJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_GetBatchPredictionJobRequest_descriptor, @@ -689,7 +858,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_ListBatchPredictionJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(29); internal_static_google_cloud_aiplatform_v1_ListBatchPredictionJobsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListBatchPredictionJobsRequest_descriptor, @@ -697,7 +866,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1_ListBatchPredictionJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(30); internal_static_google_cloud_aiplatform_v1_ListBatchPredictionJobsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListBatchPredictionJobsResponse_descriptor, @@ -705,7 +874,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BatchPredictionJobs", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1_DeleteBatchPredictionJobRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(31); internal_static_google_cloud_aiplatform_v1_DeleteBatchPredictionJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_DeleteBatchPredictionJobRequest_descriptor, @@ -713,7 +882,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_CancelBatchPredictionJobRequest_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(32); internal_static_google_cloud_aiplatform_v1_CancelBatchPredictionJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_CancelBatchPredictionJobRequest_descriptor, @@ -721,7 +890,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_CreateModelDeploymentMonitoringJobRequest_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(33); internal_static_google_cloud_aiplatform_v1_CreateModelDeploymentMonitoringJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_CreateModelDeploymentMonitoringJobRequest_descriptor, @@ -729,7 +898,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "ModelDeploymentMonitoringJob", }); internal_static_google_cloud_aiplatform_v1_SearchModelDeploymentMonitoringStatsAnomaliesRequest_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(34); internal_static_google_cloud_aiplatform_v1_SearchModelDeploymentMonitoringStatsAnomaliesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_SearchModelDeploymentMonitoringStatsAnomaliesRequest_descriptor, @@ -754,7 +923,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", "TopFeatureCount", }); internal_static_google_cloud_aiplatform_v1_SearchModelDeploymentMonitoringStatsAnomaliesResponse_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(35); internal_static_google_cloud_aiplatform_v1_SearchModelDeploymentMonitoringStatsAnomaliesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_SearchModelDeploymentMonitoringStatsAnomaliesResponse_descriptor, @@ -762,7 +931,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MonitoringStats", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1_GetModelDeploymentMonitoringJobRequest_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(36); internal_static_google_cloud_aiplatform_v1_GetModelDeploymentMonitoringJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_GetModelDeploymentMonitoringJobRequest_descriptor, @@ -770,7 +939,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_ListModelDeploymentMonitoringJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(37); internal_static_google_cloud_aiplatform_v1_ListModelDeploymentMonitoringJobsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelDeploymentMonitoringJobsRequest_descriptor, @@ -778,7 +947,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1_ListModelDeploymentMonitoringJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(38); internal_static_google_cloud_aiplatform_v1_ListModelDeploymentMonitoringJobsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelDeploymentMonitoringJobsResponse_descriptor, @@ -786,7 +955,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ModelDeploymentMonitoringJobs", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1_UpdateModelDeploymentMonitoringJobRequest_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(39); internal_static_google_cloud_aiplatform_v1_UpdateModelDeploymentMonitoringJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_UpdateModelDeploymentMonitoringJobRequest_descriptor, @@ -794,7 +963,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ModelDeploymentMonitoringJob", "UpdateMask", }); internal_static_google_cloud_aiplatform_v1_DeleteModelDeploymentMonitoringJobRequest_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(40); internal_static_google_cloud_aiplatform_v1_DeleteModelDeploymentMonitoringJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_DeleteModelDeploymentMonitoringJobRequest_descriptor, @@ -802,7 +971,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_PauseModelDeploymentMonitoringJobRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(41); internal_static_google_cloud_aiplatform_v1_PauseModelDeploymentMonitoringJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_PauseModelDeploymentMonitoringJobRequest_descriptor, @@ -810,7 +979,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_ResumeModelDeploymentMonitoringJobRequest_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(42); internal_static_google_cloud_aiplatform_v1_ResumeModelDeploymentMonitoringJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ResumeModelDeploymentMonitoringJobRequest_descriptor, @@ -818,7 +987,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_UpdateModelDeploymentMonitoringJobOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(43); internal_static_google_cloud_aiplatform_v1_UpdateModelDeploymentMonitoringJobOperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_UpdateModelDeploymentMonitoringJobOperationMetadata_descriptor, @@ -845,6 +1014,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.aiplatform.v1.DataLabelingJobProto.getDescriptor(); com.google.cloud.aiplatform.v1.HyperparameterTuningJobProto.getDescriptor(); com.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJobProto.getDescriptor(); + com.google.cloud.aiplatform.v1.NasJobProto.getDescriptor(); com.google.cloud.aiplatform.v1.OperationProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobStateProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobStateProto.java index 4fa3e09f85c9..2b5934c6b0a2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobStateProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/JobStateProto.java @@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "DED\020\004\022\024\n\020JOB_STATE_FAILED\020\005\022\030\n\024JOB_STATE" + "_CANCELLING\020\006\022\027\n\023JOB_STATE_CANCELLED\020\007\022\024" + "\n\020JOB_STATE_PAUSED\020\010\022\025\n\021JOB_STATE_EXPIRE" - + "D\020\t\022\026\n\022JOB_STATE_UPDATING\020\nB\321\001\n\036com.goog" + + "D\020\t\022\026\n\022JOB_STATE_UPDATING\020\nB\313\001\n\036com.goog" + "le.cloud.aiplatform.v1B\rJobStateProtoP\001Z" - + "Dgoogle.golang.org/genproto/googleapis/c" - + "loud/aiplatform/v1;aiplatform\252\002\032Google.C" - + "loud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlat" - + "form\\V1\352\002\035Google::Cloud::AIPlatform::V1b" - + "\006proto3" + + ">cloud.google.com/go/aiplatform/apiv1/ai" + + "platformpb;aiplatformpb\252\002\032Google.Cloud.A" + + "IPlatform.V1\312\002\032Google\\Cloud\\AIPlatform\\V" + + "1\352\002\035Google::Cloud::AIPlatform::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LineageSubgraphProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LineageSubgraphProto.java index c2d9c6a06748..b5634f74aa95 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LineageSubgraphProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/LineageSubgraphProto.java @@ -49,13 +49,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001 \003(\0132$.google.cloud.aiplatform.v1.Artif" + "act\0229\n\nexecutions\030\002 \003(\0132%.google.cloud.a" + "iplatform.v1.Execution\0221\n\006events\030\003 \003(\0132!" - + ".google.cloud.aiplatform.v1.EventB\330\001\n\036co" + + ".google.cloud.aiplatform.v1.EventB\322\001\n\036co" + "m.google.cloud.aiplatform.v1B\024LineageSub" - + "graphProtoP\001ZDgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1;aiplatfo" - + "rm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google" - + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI" - + "Platform::V1b\006proto3" + + "graphProtoP\001Z>cloud.google.com/go/aiplat" + + "form/apiv1/aiplatformpb;aiplatformpb\252\002\032G" + + "oogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud" + + "\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfo" + + "rm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsRequest.java new file mode 100644 index 000000000000..ef114993177d --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsRequest.java @@ -0,0 +1,1505 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for
+ * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ListNasJobsRequest} + */ +public final class ListNasJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ListNasJobsRequest) + ListNasJobsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNasJobsRequest.newBuilder() to construct. + private ListNasJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNasJobsRequest() { + parent_ = ""; + filter_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNasJobsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ListNasJobsRequest.class, + com.google.cloud.aiplatform.v1.ListNasJobsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The resource name of the Location to list the NasJobs
+   * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+   * from. Format: `projects/{project}/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 FILTER_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * The standard list filter.
+   * Supported fields:
+   *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+   *   * `state` supports `=`, `!=` comparisons.
+   *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+   *     `create_time` must be in RFC 3339 format.
+   *   * `labels` supports general map functions that is:
+   *     `labels.key=value` - key:value equality
+   *     `labels.key:* - key existence
+   * Some examples of using the filter are:
+   *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+   *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+   *   * `NOT display_name="my_job"`
+   *   * `create_time>"2021-05-18T00:00:00Z"`
+   *   * `labels.keyA=valueA`
+   *   * `labels.keyB:*`
+   * 
+ * + * string filter = 2; + * + * @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; + } + } + /** + * + * + *
+   * The standard list filter.
+   * Supported fields:
+   *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+   *   * `state` supports `=`, `!=` comparisons.
+   *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+   *     `create_time` must be in RFC 3339 format.
+   *   * `labels` supports general map functions that is:
+   *     `labels.key=value` - key:value equality
+   *     `labels.key:* - key existence
+   * Some examples of using the filter are:
+   *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+   *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+   *   * `NOT display_name="my_job"`
+   *   * `create_time>"2021-05-18T00:00:00Z"`
+   *   * `labels.keyA=valueA`
+   *   * `labels.keyB:*`
+   * 
+ * + * string filter = 2; + * + * @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 PAGE_SIZE_FIELD_NUMBER = 3; + private int pageSize_ = 0; + /** + * + * + *
+   * The standard list page size.
+   * 
+ * + * int32 page_size = 3; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+   * call.
+   * 
+ * + * string page_token = 4; + * + * @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; + } + } + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+   * call.
+   * 
+ * + * string page_token = 4; + * + * @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 READ_MASK_FIELD_NUMBER = 5; + private com.google.protobuf.FieldMask readMask_; + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return Whether the readMask field is set. + */ + @java.lang.Override + public boolean hasReadMask() { + return readMask_ != null; + } + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return The readMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getReadMask() { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); + } + if (pageSize_ != 0) { + output.writeInt32(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); + } + if (readMask_ != null) { + output.writeMessage(5, getReadMask()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); + } + if (readMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.ListNasJobsRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ListNasJobsRequest other = + (com.google.cloud.aiplatform.v1.ListNasJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (hasReadMask() != other.hasReadMask()) return false; + if (hasReadMask()) { + if (!getReadMask().equals(other.getReadMask())) 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) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + if (hasReadMask()) { + hash = (37 * hash) + READ_MASK_FIELD_NUMBER; + hash = (53 * hash) + getReadMask().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.ListNasJobsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ListNasJobsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ListNasJobsRequest) + com.google.cloud.aiplatform.v1.ListNasJobsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ListNasJobsRequest.class, + com.google.cloud.aiplatform.v1.ListNasJobsRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.ListNasJobsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + filter_ = ""; + pageSize_ = 0; + pageToken_ = ""; + readMask_ = null; + if (readMaskBuilder_ != null) { + readMaskBuilder_.dispose(); + readMaskBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasJobsRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ListNasJobsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasJobsRequest build() { + com.google.cloud.aiplatform.v1.ListNasJobsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasJobsRequest buildPartial() { + com.google.cloud.aiplatform.v1.ListNasJobsRequest result = + new com.google.cloud.aiplatform.v1.ListNasJobsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.ListNasJobsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.filter_ = filter_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.pageToken_ = pageToken_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.ListNasJobsRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.ListNasJobsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.ListNasJobsRequest other) { + if (other == com.google.cloud.aiplatform.v1.ListNasJobsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasReadMask()) { + mergeReadMask(other.getReadMask()); + } + 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: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry); + 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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 filter_ = ""; + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @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; + } + } + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @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; + } + } + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @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_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @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_ |= 0x00000002; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * The standard list page size.
+     * 
+ * + * int32 page_size = 3; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * The standard list page size.
+     * 
+ * + * int32 page_size = 3; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list page size.
+     * 
+ * + * int32 page_size = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000004); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @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; + } + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @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; + } + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @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_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @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_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.protobuf.FieldMask readMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return Whether the readMask field is set. + */ + public boolean hasReadMask() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return The readMask. + */ + public com.google.protobuf.FieldMask getReadMask() { + if (readMaskBuilder_ == null) { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } else { + return readMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public Builder setReadMask(com.google.protobuf.FieldMask value) { + if (readMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + readMask_ = value; + } else { + readMaskBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (readMaskBuilder_ == null) { + readMask_ = builderForValue.build(); + } else { + readMaskBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public Builder mergeReadMask(com.google.protobuf.FieldMask value) { + if (readMaskBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && readMask_ != null + && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + getReadMaskBuilder().mergeFrom(value); + } else { + readMask_ = value; + } + } else { + readMaskBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public Builder clearReadMask() { + bitField0_ = (bitField0_ & ~0x00000010); + readMask_ = null; + if (readMaskBuilder_ != null) { + readMaskBuilder_.dispose(); + readMaskBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getReadMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { + if (readMaskBuilder_ != null) { + return readMaskBuilder_.getMessageOrBuilder(); + } else { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + getReadMaskFieldBuilder() { + if (readMaskBuilder_ == null) { + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); + readMask_ = null; + } + return readMaskBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.ListNasJobsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ListNasJobsRequest) + private static final com.google.cloud.aiplatform.v1.ListNasJobsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ListNasJobsRequest(); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNasJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasJobsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsRequestOrBuilder.java new file mode 100644 index 000000000000..5233aa4d562b --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsRequestOrBuilder.java @@ -0,0 +1,194 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface ListNasJobsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ListNasJobsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the Location to list the NasJobs
+   * from. Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the Location to list the NasJobs
+   * from. Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The standard list filter.
+   * Supported fields:
+   *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+   *   * `state` supports `=`, `!=` comparisons.
+   *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+   *     `create_time` must be in RFC 3339 format.
+   *   * `labels` supports general map functions that is:
+   *     `labels.key=value` - key:value equality
+   *     `labels.key:* - key existence
+   * Some examples of using the filter are:
+   *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+   *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+   *   * `NOT display_name="my_job"`
+   *   * `create_time>"2021-05-18T00:00:00Z"`
+   *   * `labels.keyA=valueA`
+   *   * `labels.keyB:*`
+   * 
+ * + * string filter = 2; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * The standard list filter.
+   * Supported fields:
+   *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+   *   * `state` supports `=`, `!=` comparisons.
+   *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+   *     `create_time` must be in RFC 3339 format.
+   *   * `labels` supports general map functions that is:
+   *     `labels.key=value` - key:value equality
+   *     `labels.key:* - key existence
+   * Some examples of using the filter are:
+   *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+   *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+   *   * `NOT display_name="my_job"`
+   *   * `create_time>"2021-05-18T00:00:00Z"`
+   *   * `labels.keyA=valueA`
+   *   * `labels.keyB:*`
+   * 
+ * + * string filter = 2; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * The standard list page size.
+   * 
+ * + * int32 page_size = 3; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+   * call.
+   * 
+ * + * string page_token = 4; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+   * call.
+   * 
+ * + * string page_token = 4; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return Whether the readMask field is set. + */ + boolean hasReadMask(); + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return The readMask. + */ + com.google.protobuf.FieldMask getReadMask(); + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsResponse.java new file mode 100644 index 000000000000..340dd28f0813 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsResponse.java @@ -0,0 +1,1190 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Response message for
+ * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ListNasJobsResponse} + */ +public final class ListNasJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ListNasJobsResponse) + ListNasJobsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNasJobsResponse.newBuilder() to construct. + private ListNasJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNasJobsResponse() { + nasJobs_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNasJobsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ListNasJobsResponse.class, + com.google.cloud.aiplatform.v1.ListNasJobsResponse.Builder.class); + } + + public static final int NAS_JOBS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List nasJobs_; + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public java.util.List getNasJobsList() { + return nasJobs_; + } + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public java.util.List + getNasJobsOrBuilderList() { + return nasJobs_; + } + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public int getNasJobsCount() { + return nasJobs_.size(); + } + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJob getNasJobs(int index) { + return nasJobs_.get(index); + } + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOrBuilder getNasJobsOrBuilder(int index) { + return nasJobs_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * 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; + } + } + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * 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; + } + } + + 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 < nasJobs_.size(); i++) { + output.writeMessage(1, nasJobs_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < nasJobs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nasJobs_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.ListNasJobsResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ListNasJobsResponse other = + (com.google.cloud.aiplatform.v1.ListNasJobsResponse) obj; + + if (!getNasJobsList().equals(other.getNasJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) 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 (getNasJobsCount() > 0) { + hash = (37 * hash) + NAS_JOBS_FIELD_NUMBER; + hash = (53 * hash) + getNasJobsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.ListNasJobsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ListNasJobsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ListNasJobsResponse) + com.google.cloud.aiplatform.v1.ListNasJobsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ListNasJobsResponse.class, + com.google.cloud.aiplatform.v1.ListNasJobsResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.ListNasJobsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (nasJobsBuilder_ == null) { + nasJobs_ = java.util.Collections.emptyList(); + } else { + nasJobs_ = null; + nasJobsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasJobsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasJobsResponse getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ListNasJobsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasJobsResponse build() { + com.google.cloud.aiplatform.v1.ListNasJobsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasJobsResponse buildPartial() { + com.google.cloud.aiplatform.v1.ListNasJobsResponse result = + new com.google.cloud.aiplatform.v1.ListNasJobsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1.ListNasJobsResponse result) { + if (nasJobsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + nasJobs_ = java.util.Collections.unmodifiableList(nasJobs_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.nasJobs_ = nasJobs_; + } else { + result.nasJobs_ = nasJobsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.ListNasJobsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.ListNasJobsResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1.ListNasJobsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.ListNasJobsResponse other) { + if (other == com.google.cloud.aiplatform.v1.ListNasJobsResponse.getDefaultInstance()) + return this; + if (nasJobsBuilder_ == null) { + if (!other.nasJobs_.isEmpty()) { + if (nasJobs_.isEmpty()) { + nasJobs_ = other.nasJobs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNasJobsIsMutable(); + nasJobs_.addAll(other.nasJobs_); + } + onChanged(); + } + } else { + if (!other.nasJobs_.isEmpty()) { + if (nasJobsBuilder_.isEmpty()) { + nasJobsBuilder_.dispose(); + nasJobsBuilder_ = null; + nasJobs_ = other.nasJobs_; + bitField0_ = (bitField0_ & ~0x00000001); + nasJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNasJobsFieldBuilder() + : null; + } else { + nasJobsBuilder_.addAllMessages(other.nasJobs_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + 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: + { + com.google.cloud.aiplatform.v1.NasJob m = + input.readMessage( + com.google.cloud.aiplatform.v1.NasJob.parser(), extensionRegistry); + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.add(m); + } else { + nasJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = 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.util.List nasJobs_ = + java.util.Collections.emptyList(); + + private void ensureNasJobsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + nasJobs_ = new java.util.ArrayList(nasJobs_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJob, + com.google.cloud.aiplatform.v1.NasJob.Builder, + com.google.cloud.aiplatform.v1.NasJobOrBuilder> + nasJobsBuilder_; + + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public java.util.List getNasJobsList() { + if (nasJobsBuilder_ == null) { + return java.util.Collections.unmodifiableList(nasJobs_); + } else { + return nasJobsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public int getNasJobsCount() { + if (nasJobsBuilder_ == null) { + return nasJobs_.size(); + } else { + return nasJobsBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1.NasJob getNasJobs(int index) { + if (nasJobsBuilder_ == null) { + return nasJobs_.get(index); + } else { + return nasJobsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public Builder setNasJobs(int index, com.google.cloud.aiplatform.v1.NasJob value) { + if (nasJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasJobsIsMutable(); + nasJobs_.set(index, value); + onChanged(); + } else { + nasJobsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public Builder setNasJobs( + int index, com.google.cloud.aiplatform.v1.NasJob.Builder builderForValue) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.set(index, builderForValue.build()); + onChanged(); + } else { + nasJobsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public Builder addNasJobs(com.google.cloud.aiplatform.v1.NasJob value) { + if (nasJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasJobsIsMutable(); + nasJobs_.add(value); + onChanged(); + } else { + nasJobsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public Builder addNasJobs(int index, com.google.cloud.aiplatform.v1.NasJob value) { + if (nasJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasJobsIsMutable(); + nasJobs_.add(index, value); + onChanged(); + } else { + nasJobsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public Builder addNasJobs(com.google.cloud.aiplatform.v1.NasJob.Builder builderForValue) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.add(builderForValue.build()); + onChanged(); + } else { + nasJobsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public Builder addNasJobs( + int index, com.google.cloud.aiplatform.v1.NasJob.Builder builderForValue) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.add(index, builderForValue.build()); + onChanged(); + } else { + nasJobsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public Builder addAllNasJobs( + java.lang.Iterable values) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nasJobs_); + onChanged(); + } else { + nasJobsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public Builder clearNasJobs() { + if (nasJobsBuilder_ == null) { + nasJobs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + nasJobsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public Builder removeNasJobs(int index) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.remove(index); + onChanged(); + } else { + nasJobsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1.NasJob.Builder getNasJobsBuilder(int index) { + return getNasJobsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1.NasJobOrBuilder getNasJobsOrBuilder(int index) { + if (nasJobsBuilder_ == null) { + return nasJobs_.get(index); + } else { + return nasJobsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public java.util.List + getNasJobsOrBuilderList() { + if (nasJobsBuilder_ != null) { + return nasJobsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(nasJobs_); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1.NasJob.Builder addNasJobsBuilder() { + return getNasJobsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance()); + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1.NasJob.Builder addNasJobsBuilder(int index) { + return getNasJobsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance()); + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + public java.util.List getNasJobsBuilderList() { + return getNasJobsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJob, + com.google.cloud.aiplatform.v1.NasJob.Builder, + com.google.cloud.aiplatform.v1.NasJobOrBuilder> + getNasJobsFieldBuilder() { + if (nasJobsBuilder_ == null) { + nasJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJob, + com.google.cloud.aiplatform.v1.NasJob.Builder, + com.google.cloud.aiplatform.v1.NasJobOrBuilder>( + nasJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + nasJobs_ = null; + } + return nasJobsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.ListNasJobsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ListNasJobsResponse) + private static final com.google.cloud.aiplatform.v1.ListNasJobsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ListNasJobsResponse(); + } + + public static com.google.cloud.aiplatform.v1.ListNasJobsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNasJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasJobsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsResponseOrBuilder.java new file mode 100644 index 000000000000..5acfdf618528 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasJobsResponseOrBuilder.java @@ -0,0 +1,118 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface ListNasJobsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ListNasJobsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + java.util.List getNasJobsList(); + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + com.google.cloud.aiplatform.v1.NasJob getNasJobs(int index); + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + int getNasJobsCount(); + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + java.util.List + getNasJobsOrBuilderList(); + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasJob nas_jobs = 1; + */ + com.google.cloud.aiplatform.v1.NasJobOrBuilder getNasJobsOrBuilder(int index); + + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsRequest.java new file mode 100644 index 000000000000..99cd4e72849d --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsRequest.java @@ -0,0 +1,970 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Request message for
+ * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ListNasTrialDetailsRequest} + */ +public final class ListNasTrialDetailsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ListNasTrialDetailsRequest) + ListNasTrialDetailsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNasTrialDetailsRequest.newBuilder() to construct. + private ListNasTrialDetailsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNasTrialDetailsRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNasTrialDetailsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.class, + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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 name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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; + /** + * + * + *
+   * The standard list page size.
+   * 
+ * + * int32 page_size = 2; + * + * @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_ = ""; + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+   * call.
+   * 
+ * + * string page_token = 3; + * + * @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; + } + } + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+   * call.
+   * 
+ * + * string page_token = 3; + * + * @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.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.ListNasTrialDetailsRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest other = + (com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest) 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.aiplatform.v1.ListNasTrialDetailsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ListNasTrialDetailsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ListNasTrialDetailsRequest) + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.class, + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest build() { + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest buildPartial() { + com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest result = + new com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest 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 clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest other) { + if (other == com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.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 name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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_; + /** + * + * + *
+     * The standard list page size.
+     * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * The standard list page size.
+     * 
+ * + * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list page size.
+     * 
+ * + * int32 page_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+     * call.
+     * 
+ * + * string page_token = 3; + * + * @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; + } + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+     * call.
+     * 
+ * + * string page_token = 3; + * + * @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; + } + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+     * call.
+     * 
+ * + * string page_token = 3; + * + * @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; + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+     * call.
+     * 
+ * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+     * call.
+     * 
+ * + * string page_token = 3; + * + * @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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.ListNasTrialDetailsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ListNasTrialDetailsRequest) + private static final com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest(); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNasTrialDetailsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/ListPolicyBasedRoutesRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsRequestOrBuilder.java similarity index 55% rename from java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/ListPolicyBasedRoutesRequestOrBuilder.java rename to java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsRequestOrBuilder.java index 40cc72dd34cc..a192db52f4d8 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/ListPolicyBasedRoutesRequestOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsRequestOrBuilder.java @@ -14,20 +14,22 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto +// source: google/cloud/aiplatform/v1/job_service.proto -package com.google.cloud.networkconnectivity.v1; +package com.google.cloud.aiplatform.v1; -public interface ListPolicyBasedRoutesRequestOrBuilder +public interface ListNasTrialDetailsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest) + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ListNasTrialDetailsRequest) com.google.protobuf.MessageOrBuilder { /** * * *
-   * Required. The parent resource's name.
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
    * 
* * @@ -41,7 +43,9 @@ public interface ListPolicyBasedRoutesRequestOrBuilder * * *
-   * Required. The parent resource's name.
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
    * 
* * @@ -56,7 +60,7 @@ public interface ListPolicyBasedRoutesRequestOrBuilder * * *
-   * The maximum number of results per page that should be returned.
+   * The standard list page size.
    * 
* * int32 page_size = 2; @@ -69,7 +73,12 @@ public interface ListPolicyBasedRoutesRequestOrBuilder * * *
-   * The page token.
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+   * call.
    * 
* * string page_token = 3; @@ -81,7 +90,12 @@ public interface ListPolicyBasedRoutesRequestOrBuilder * * *
-   * The page token.
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+   * call.
    * 
* * string page_token = 3; @@ -89,54 +103,4 @@ public interface ListPolicyBasedRoutesRequestOrBuilder * @return The bytes for pageToken. */ com.google.protobuf.ByteString getPageTokenBytes(); - - /** - * - * - *
-   * A filter expression that filters the results listed in the response.
-   * 
- * - * string filter = 4; - * - * @return The filter. - */ - java.lang.String getFilter(); - /** - * - * - *
-   * A filter expression that filters the results listed in the response.
-   * 
- * - * string filter = 4; - * - * @return The bytes for filter. - */ - com.google.protobuf.ByteString getFilterBytes(); - - /** - * - * - *
-   * Sort the results by a certain order.
-   * 
- * - * string order_by = 5; - * - * @return The orderBy. - */ - java.lang.String getOrderBy(); - /** - * - * - *
-   * Sort the results by a certain order.
-   * 
- * - * string order_by = 5; - * - * @return The bytes for orderBy. - */ - com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsResponse.java new file mode 100644 index 000000000000..a4832013eacc --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsResponse.java @@ -0,0 +1,1158 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Response message for
+ * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ListNasTrialDetailsResponse} + */ +public final class ListNasTrialDetailsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.ListNasTrialDetailsResponse) + ListNasTrialDetailsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNasTrialDetailsResponse.newBuilder() to construct. + private ListNasTrialDetailsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNasTrialDetailsResponse() { + nasTrialDetails_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNasTrialDetailsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.class, + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.Builder.class); + } + + public static final int NAS_TRIAL_DETAILS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List nasTrialDetails_; + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public java.util.List getNasTrialDetailsList() { + return nasTrialDetails_; + } + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public java.util.List + getNasTrialDetailsOrBuilderList() { + return nasTrialDetails_; + } + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public int getNasTrialDetailsCount() { + return nasTrialDetails_.size(); + } + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialDetail getNasTrialDetails(int index) { + return nasTrialDetails_.get(index); + } + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialDetailOrBuilder getNasTrialDetailsOrBuilder( + int index) { + return nasTrialDetails_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * 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; + } + } + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * 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; + } + } + + 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 < nasTrialDetails_.size(); i++) { + output.writeMessage(1, nasTrialDetails_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < nasTrialDetails_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nasTrialDetails_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse other = + (com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse) obj; + + if (!getNasTrialDetailsList().equals(other.getNasTrialDetailsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) 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 (getNasTrialDetailsCount() > 0) { + hash = (37 * hash) + NAS_TRIAL_DETAILS_FIELD_NUMBER; + hash = (53 * hash) + getNasTrialDetailsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.ListNasTrialDetailsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.ListNasTrialDetailsResponse) + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.class, + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (nasTrialDetailsBuilder_ == null) { + nasTrialDetails_ = java.util.Collections.emptyList(); + } else { + nasTrialDetails_ = null; + nasTrialDetailsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1_ListNasTrialDetailsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse build() { + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse buildPartial() { + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse result = + new com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse result) { + if (nasTrialDetailsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + nasTrialDetails_ = java.util.Collections.unmodifiableList(nasTrialDetails_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.nasTrialDetails_ = nasTrialDetails_; + } else { + result.nasTrialDetails_ = nasTrialDetailsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse other) { + if (other == com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.getDefaultInstance()) + return this; + if (nasTrialDetailsBuilder_ == null) { + if (!other.nasTrialDetails_.isEmpty()) { + if (nasTrialDetails_.isEmpty()) { + nasTrialDetails_ = other.nasTrialDetails_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.addAll(other.nasTrialDetails_); + } + onChanged(); + } + } else { + if (!other.nasTrialDetails_.isEmpty()) { + if (nasTrialDetailsBuilder_.isEmpty()) { + nasTrialDetailsBuilder_.dispose(); + nasTrialDetailsBuilder_ = null; + nasTrialDetails_ = other.nasTrialDetails_; + bitField0_ = (bitField0_ & ~0x00000001); + nasTrialDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNasTrialDetailsFieldBuilder() + : null; + } else { + nasTrialDetailsBuilder_.addAllMessages(other.nasTrialDetails_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + 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: + { + com.google.cloud.aiplatform.v1.NasTrialDetail m = + input.readMessage( + com.google.cloud.aiplatform.v1.NasTrialDetail.parser(), extensionRegistry); + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(m); + } else { + nasTrialDetailsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = 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.util.List nasTrialDetails_ = + java.util.Collections.emptyList(); + + private void ensureNasTrialDetailsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + nasTrialDetails_ = + new java.util.ArrayList( + nasTrialDetails_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrialDetail, + com.google.cloud.aiplatform.v1.NasTrialDetail.Builder, + com.google.cloud.aiplatform.v1.NasTrialDetailOrBuilder> + nasTrialDetailsBuilder_; + + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public java.util.List getNasTrialDetailsList() { + if (nasTrialDetailsBuilder_ == null) { + return java.util.Collections.unmodifiableList(nasTrialDetails_); + } else { + return nasTrialDetailsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public int getNasTrialDetailsCount() { + if (nasTrialDetailsBuilder_ == null) { + return nasTrialDetails_.size(); + } else { + return nasTrialDetailsBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1.NasTrialDetail getNasTrialDetails(int index) { + if (nasTrialDetailsBuilder_ == null) { + return nasTrialDetails_.get(index); + } else { + return nasTrialDetailsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public Builder setNasTrialDetails( + int index, com.google.cloud.aiplatform.v1.NasTrialDetail value) { + if (nasTrialDetailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.set(index, value); + onChanged(); + } else { + nasTrialDetailsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public Builder setNasTrialDetails( + int index, com.google.cloud.aiplatform.v1.NasTrialDetail.Builder builderForValue) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.set(index, builderForValue.build()); + onChanged(); + } else { + nasTrialDetailsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addNasTrialDetails(com.google.cloud.aiplatform.v1.NasTrialDetail value) { + if (nasTrialDetailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(value); + onChanged(); + } else { + nasTrialDetailsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addNasTrialDetails( + int index, com.google.cloud.aiplatform.v1.NasTrialDetail value) { + if (nasTrialDetailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(index, value); + onChanged(); + } else { + nasTrialDetailsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addNasTrialDetails( + com.google.cloud.aiplatform.v1.NasTrialDetail.Builder builderForValue) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(builderForValue.build()); + onChanged(); + } else { + nasTrialDetailsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addNasTrialDetails( + int index, com.google.cloud.aiplatform.v1.NasTrialDetail.Builder builderForValue) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(index, builderForValue.build()); + onChanged(); + } else { + nasTrialDetailsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addAllNasTrialDetails( + java.lang.Iterable values) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nasTrialDetails_); + onChanged(); + } else { + nasTrialDetailsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public Builder clearNasTrialDetails() { + if (nasTrialDetailsBuilder_ == null) { + nasTrialDetails_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + nasTrialDetailsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public Builder removeNasTrialDetails(int index) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.remove(index); + onChanged(); + } else { + nasTrialDetailsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1.NasTrialDetail.Builder getNasTrialDetailsBuilder( + int index) { + return getNasTrialDetailsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1.NasTrialDetailOrBuilder getNasTrialDetailsOrBuilder( + int index) { + if (nasTrialDetailsBuilder_ == null) { + return nasTrialDetails_.get(index); + } else { + return nasTrialDetailsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public java.util.List + getNasTrialDetailsOrBuilderList() { + if (nasTrialDetailsBuilder_ != null) { + return nasTrialDetailsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(nasTrialDetails_); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1.NasTrialDetail.Builder addNasTrialDetailsBuilder() { + return getNasTrialDetailsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1.NasTrialDetail.getDefaultInstance()); + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1.NasTrialDetail.Builder addNasTrialDetailsBuilder( + int index) { + return getNasTrialDetailsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1.NasTrialDetail.getDefaultInstance()); + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + public java.util.List + getNasTrialDetailsBuilderList() { + return getNasTrialDetailsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrialDetail, + com.google.cloud.aiplatform.v1.NasTrialDetail.Builder, + com.google.cloud.aiplatform.v1.NasTrialDetailOrBuilder> + getNasTrialDetailsFieldBuilder() { + if (nasTrialDetailsBuilder_ == null) { + nasTrialDetailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrialDetail, + com.google.cloud.aiplatform.v1.NasTrialDetail.Builder, + com.google.cloud.aiplatform.v1.NasTrialDetailOrBuilder>( + nasTrialDetails_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + nasTrialDetails_ = null; + } + return nasTrialDetailsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.ListNasTrialDetailsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.ListNasTrialDetailsResponse) + private static final com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse(); + } + + public static com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNasTrialDetailsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsResponseOrBuilder.java new file mode 100644 index 000000000000..a646f1853def --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ListNasTrialDetailsResponseOrBuilder.java @@ -0,0 +1,108 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/job_service.proto + +package com.google.cloud.aiplatform.v1; + +public interface ListNasTrialDetailsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.ListNasTrialDetailsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + java.util.List getNasTrialDetailsList(); + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + com.google.cloud.aiplatform.v1.NasTrialDetail getNasTrialDetails(int index); + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + int getNasTrialDetailsCount(); + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + java.util.List + getNasTrialDetailsOrBuilderList(); + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1.NasTrialDetail nas_trial_details = 1; + */ + com.google.cloud.aiplatform.v1.NasTrialDetailOrBuilder getNasTrialDetailsOrBuilder(int index); + + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java index 2d923a792342..2d76c8d2c296 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MachineResourcesProto.java @@ -94,13 +94,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "b\030\002 \001(\005\"L\n\010NfsMount\022\023\n\006server\030\001 \001(\tB\003\340A\002" + "\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\030\n\013mount_point\030\003 \001(\t" + "B\003\340A\002\"A\n\025AutoscalingMetricSpec\022\030\n\013metric" - + "_name\030\001 \001(\tB\003\340A\002\022\016\n\006target\030\002 \001(\005B\331\001\n\036com" + + "_name\030\001 \001(\tB\003\340A\002\022\016\n\006target\030\002 \001(\005B\323\001\n\036com" + ".google.cloud.aiplatform.v1B\025MachineReso" - + "urcesProtoP\001ZDgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1;aiplatfo" - + "rm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google" - + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI" - + "Platform::V1b\006proto3" + + "urcesProtoP\001Z>cloud.google.com/go/aiplat" + + "form/apiv1/aiplatformpb;aiplatformpb\252\002\032G" + + "oogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud" + + "\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfo" + + "rm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ManualBatchTuningParametersProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ManualBatchTuningParametersProto.java index 7db591435e51..5bc1658eec1d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ManualBatchTuningParametersProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ManualBatchTuningParametersProto.java @@ -44,13 +44,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "h_tuning_parameters.proto\022\032google.cloud." + "aiplatform.v1\032\037google/api/field_behavior" + ".proto\"6\n\033ManualBatchTuningParameters\022\027\n" - + "\nbatch_size\030\001 \001(\005B\003\340A\005B\344\001\n\036com.google.cl" + + "\nbatch_size\030\001 \001(\005B\003\340A\005B\336\001\n\036com.google.cl" + "oud.aiplatform.v1B ManualBatchTuningPara" - + "metersProtoP\001ZDgoogle.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1;aiplatf" - + "orm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl" - + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A" - + "IPlatform::V1b\006proto3" + + "metersProtoP\001Z>cloud.google.com/go/aipla" + + "tform/apiv1/aiplatformpb;aiplatformpb\252\002\032" + + "Google.Cloud.AIPlatform.V1\312\002\032Google\\Clou" + + "d\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatf" + + "orm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataProto.java index fb87fa9d10f2..5f604ebd75b2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataProto.java @@ -61,13 +61,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\036\n\026disk_utilization_bytes\030\001 \001(\003:u\352Ar\n\'ai" + "platform.googleapis.com/MetadataStore\022Gp" + "rojects/{project}/locations/{location}/m" - + "etadataStores/{metadata_store}B\321\001\n\036com.g" + + "etadataStores/{metadata_store}B\313\001\n\036com.g" + "oogle.cloud.aiplatform.v1B\rMetadataProto" - + "P\001ZDgoogle.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" - + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" - + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" - + "V1b\006proto3" + + "P\001Z>cloud.google.com/go/aiplatform/apiv1" + + "/aiplatformpb;aiplatformpb\252\002\032Google.Clou" + + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor" + + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataSchemaProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataSchemaProto.java index 74a80ac4d5ab..a312c3abad10 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataSchemaProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataSchemaProto.java @@ -57,12 +57,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".com/MetadataSchema\022iprojects/{project}/" + "locations/{location}/metadataStores/{met" + "adata_store}/metadataSchemas/{metadata_s" - + "chema}B\327\001\n\036com.google.cloud.aiplatform.v" - + "1B\023MetadataSchemaProtoP\001ZDgoogle.golang." - + "org/genproto/googleapis/cloud/aiplatform" - + "/v1;aiplatform\252\002\032Google.Cloud.AIPlatform" - + ".V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Googl" - + "e::Cloud::AIPlatform::V1b\006proto3" + + "chema}B\321\001\n\036com.google.cloud.aiplatform.v" + + "1B\023MetadataSchemaProtoP\001Z>cloud.google.c" + + "om/go/aiplatform/apiv1/aiplatformpb;aipl" + + "atformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032" + + "Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Clo" + + "ud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceProto.java index 47ff8a485479..8f002013001d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MetadataServiceProto.java @@ -584,13 +584,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "adataStores/*/artifacts/*}:queryArtifact" + "LineageSubgraph\332A\010artifact\032M\312A\031aiplatfor" + "m.googleapis.com\322A.https://www.googleapi" - + "s.com/auth/cloud-platformB\330\001\n\036com.google" + + "s.com/auth/cloud-platformB\322\001\n\036com.google" + ".cloud.aiplatform.v1B\024MetadataServicePro" - + "toP\001ZDgoogle.golang.org/genproto/googlea" - + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo" - + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" - + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" - + "::V1b\006proto3" + + "toP\001Z>cloud.google.com/go/aiplatform/api" + + "v1/aiplatformpb;aiplatformpb\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigratableResourceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigratableResourceProto.java index 3e43b3256aba..3de8f5cccbd3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigratableResourceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigratableResourceProto.java @@ -95,24 +95,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "set\022L\n\021annotated_dataset\030\001 \001(\tB1\372A.\n,dat" + "alabeling.googleapis.com/AnnotatedDatase" + "t\022&\n\036annotated_dataset_display_name\030\003 \001(" - + "\tB\n\n\010resourceB\262\005\n\036com.google.cloud.aipla" - + "tform.v1B\027MigratableResourceProtoP\001ZDgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1;aiplatform\252\002\032Google.Cloud" - + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" - + "\\V1\352\002\035Google::Cloud::AIPlatform::V1\352AQ\n\031" - + "ml.googleapis.com/Version\0224projects/{pro" - + "ject}/models/{model}/versions/{version}\352" - + "AU\n\033automl.googleapis.com/Model\0226project" - + "s/{project}/locations/{location}/models/" - + "{model}\352A[\n\035automl.googleapis.com/Datase" - + "t\022:projects/{project}/locations/{locatio" - + "n}/datasets/{dataset}\352AL\n#datalabeling.g" - + "oogleapis.com/Dataset\022%projects/{project" - + "}/datasets/{dataset}\352A{\n,datalabeling.go" - + "ogleapis.com/AnnotatedDataset\022Kprojects/" - + "{project}/datasets/{dataset}/annotatedDa" - + "tasets/{annotated_dataset}b\006proto3" + + "\tB\n\n\010resourceB\254\005\n\036com.google.cloud.aipla" + + "tform.v1B\027MigratableResourceProtoP\001Z>clo" + + "ud.google.com/go/aiplatform/apiv1/aiplat" + + "formpb;aiplatformpb\252\002\032Google.Cloud.AIPla" + + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" + + "Google::Cloud::AIPlatform::V1\352AQ\n\031ml.goo" + + "gleapis.com/Version\0224projects/{project}/" + + "models/{model}/versions/{version}\352AU\n\033au" + + "toml.googleapis.com/Model\0226projects/{pro" + + "ject}/locations/{location}/models/{model" + + "}\352A[\n\035automl.googleapis.com/Dataset\022:pro" + + "jects/{project}/locations/{location}/dat" + + "asets/{dataset}\352AL\n#datalabeling.googlea" + + "pis.com/Dataset\022%projects/{project}/data" + + "sets/{dataset}\352A{\n,datalabeling.googleap" + + "is.com/AnnotatedDataset\022Kprojects/{proje" + + "ct}/datasets/{dataset}/annotatedDatasets" + + "/{annotated_dataset}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceProto.java index 7d06fd0b9687..c7edaf8e09b2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/MigrationServiceProto.java @@ -180,13 +180,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "eResourcesResponse\022&BatchMigrateResource" + "sOperationMetadata\032M\312A\031aiplatform.google" + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\331\001\n\036com.google.cloud.a" - + "iplatform.v1B\025MigrationServiceProtoP\001ZDg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo" - + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo" - + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p" - + "roto3" + + "th/cloud-platformB\323\001\n\036com.google.cloud.a" + + "iplatform.v1B\025MigrationServiceProtoP\001Z>c" + + "loud.google.com/go/aiplatform/apiv1/aipl" + + "atformpb;aiplatformpb\252\002\032Google.Cloud.AIP" + + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352" + + "\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Model.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Model.java index 2af897befe45..d399b28fbc52 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Model.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Model.java @@ -1747,6 +1747,689 @@ public com.google.cloud.aiplatform.v1.Model.ExportFormat getDefaultInstanceForTy } } + public interface OriginalModelInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.Model.OriginalModelInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Output only. The resource name of the Model this Model is a copy of,
+     * including the revision. Format:
+     * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+     * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The model. + */ + java.lang.String getModel(); + /** + * + * + *
+     * Output only. The resource name of the Model this Model is a copy of,
+     * including the revision. Format:
+     * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+     * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for model. + */ + com.google.protobuf.ByteString getModelBytes(); + } + /** + * + * + *
+   * Contains information about the original Model if this Model is a copy.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.Model.OriginalModelInfo} + */ + public static final class OriginalModelInfo extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.Model.OriginalModelInfo) + OriginalModelInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use OriginalModelInfo.newBuilder() to construct. + private OriginalModelInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private OriginalModelInfo() { + model_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new OriginalModelInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelProto + .internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelProto + .internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.class, + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.Builder.class); + } + + public static final int MODEL_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object model_ = ""; + /** + * + * + *
+     * Output only. The resource name of the Model this Model is a copy of,
+     * including the revision. Format:
+     * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+     * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The model. + */ + @java.lang.Override + public java.lang.String getModel() { + java.lang.Object ref = model_; + 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(); + model_ = s; + return s; + } + } + /** + * + * + *
+     * Output only. The resource name of the Model this Model is a copy of,
+     * including the revision. Format:
+     * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+     * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for model. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModelBytes() { + java.lang.Object ref = model_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + model_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.Model.OriginalModelInfo)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo other = + (com.google.cloud.aiplatform.v1.Model.OriginalModelInfo) obj; + + if (!getModel().equals(other.getModel())) 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) + MODEL_FIELD_NUMBER; + hash = (53 * hash) + getModel().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Contains information about the original Model if this Model is a copy.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.Model.OriginalModelInfo} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.Model.OriginalModelInfo) + com.google.cloud.aiplatform.v1.Model.OriginalModelInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ModelProto + .internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ModelProto + .internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.class, + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + model_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ModelProto + .internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Model.OriginalModelInfo getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Model.OriginalModelInfo build() { + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Model.OriginalModelInfo buildPartial() { + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo result = + new com.google.cloud.aiplatform.v1.Model.OriginalModelInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.Model.OriginalModelInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.model_ = model_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.Model.OriginalModelInfo) { + return mergeFrom((com.google.cloud.aiplatform.v1.Model.OriginalModelInfo) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.Model.OriginalModelInfo other) { + if (other == com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.getDefaultInstance()) + return this; + if (!other.getModel().isEmpty()) { + model_ = other.model_; + 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: + { + model_ = 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 model_ = ""; + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The model. + */ + public java.lang.String getModel() { + java.lang.Object ref = model_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + model_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for model. + */ + public com.google.protobuf.ByteString getModelBytes() { + java.lang.Object ref = model_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + model_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The model to set. + * @return This builder for chaining. + */ + public Builder setModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + model_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearModel() { + model_ = getDefaultInstance().getModel(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for model to set. + * @return This builder for chaining. + */ + public Builder setModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.Model.OriginalModelInfo) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.Model.OriginalModelInfo) + private static final com.google.cloud.aiplatform.v1.Model.OriginalModelInfo DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.Model.OriginalModelInfo(); + } + + public static com.google.cloud.aiplatform.v1.Model.OriginalModelInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OriginalModelInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.Model.OriginalModelInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -3865,6 +4548,66 @@ public com.google.cloud.aiplatform.v1.ModelSourceInfoOrBuilder getModelSourceInf : modelSourceInfo_; } + public static final int ORIGINAL_MODEL_INFO_FIELD_NUMBER = 34; + private com.google.cloud.aiplatform.v1.Model.OriginalModelInfo originalModelInfo_; + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the originalModelInfo field is set. + */ + @java.lang.Override + public boolean hasOriginalModelInfo() { + return originalModelInfo_ != null; + } + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The originalModelInfo. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Model.OriginalModelInfo getOriginalModelInfo() { + return originalModelInfo_ == null + ? com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.getDefaultInstance() + : originalModelInfo_; + } + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Model.OriginalModelInfoOrBuilder + getOriginalModelInfoOrBuilder() { + return originalModelInfo_ == null + ? com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.getDefaultInstance() + : originalModelInfo_; + } + public static final int METADATA_ARTIFACT_FIELD_NUMBER = 44; @SuppressWarnings("serial") @@ -4017,6 +4760,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (versionUpdateTime_ != null) { output.writeMessage(32, getVersionUpdateTime()); } + if (originalModelInfo_ != null) { + output.writeMessage(34, getOriginalModelInfo()); + } if (modelSourceInfo_ != null) { output.writeMessage(38, getModelSourceInfo()); } @@ -4142,6 +4888,9 @@ public int getSerializedSize() { if (versionUpdateTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(32, getVersionUpdateTime()); } + if (originalModelInfo_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(34, getOriginalModelInfo()); + } if (modelSourceInfo_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getModelSourceInfo()); } @@ -4223,6 +4972,10 @@ public boolean equals(final java.lang.Object obj) { if (hasModelSourceInfo()) { if (!getModelSourceInfo().equals(other.getModelSourceInfo())) return false; } + if (hasOriginalModelInfo() != other.hasOriginalModelInfo()) return false; + if (hasOriginalModelInfo()) { + if (!getOriginalModelInfo().equals(other.getOriginalModelInfo())) return false; + } if (!getMetadataArtifact().equals(other.getMetadataArtifact())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4321,6 +5074,10 @@ public int hashCode() { hash = (37 * hash) + MODEL_SOURCE_INFO_FIELD_NUMBER; hash = (53 * hash) + getModelSourceInfo().hashCode(); } + if (hasOriginalModelInfo()) { + hash = (37 * hash) + ORIGINAL_MODEL_INFO_FIELD_NUMBER; + hash = (53 * hash) + getOriginalModelInfo().hashCode(); + } hash = (37 * hash) + METADATA_ARTIFACT_FIELD_NUMBER; hash = (53 * hash) + getMetadataArtifact().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -4563,6 +5320,11 @@ public Builder clear() { modelSourceInfoBuilder_.dispose(); modelSourceInfoBuilder_ = null; } + originalModelInfo_ = null; + if (originalModelInfoBuilder_ != null) { + originalModelInfoBuilder_.dispose(); + originalModelInfoBuilder_ = null; + } metadataArtifact_ = ""; return this; } @@ -4715,6 +5477,12 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.Model result) { modelSourceInfoBuilder_ == null ? modelSourceInfo_ : modelSourceInfoBuilder_.build(); } if (((from_bitField0_ & 0x04000000) != 0)) { + result.originalModelInfo_ = + originalModelInfoBuilder_ == null + ? originalModelInfo_ + : originalModelInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x08000000) != 0)) { result.metadataArtifact_ = metadataArtifact_; } } @@ -4935,9 +5703,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Model other) { if (other.hasModelSourceInfo()) { mergeModelSourceInfo(other.getModelSourceInfo()); } + if (other.hasOriginalModelInfo()) { + mergeOriginalModelInfo(other.getOriginalModelInfo()); + } if (!other.getMetadataArtifact().isEmpty()) { metadataArtifact_ = other.metadataArtifact_; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -5156,6 +5927,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000010; break; } // case 258 + case 274: + { + input.readMessage( + getOriginalModelInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x04000000; + break; + } // case 274 case 306: { input.readMessage(getModelSourceInfoFieldBuilder().getBuilder(), extensionRegistry); @@ -5165,7 +5943,7 @@ public Builder mergeFrom( case 354: { metadataArtifact_ = input.readStringRequireUtf8(); - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; break; } // case 354 default: @@ -11196,6 +11974,222 @@ public com.google.cloud.aiplatform.v1.ModelSourceInfoOrBuilder getModelSourceInf return modelSourceInfoBuilder_; } + private com.google.cloud.aiplatform.v1.Model.OriginalModelInfo originalModelInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo, + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.Builder, + com.google.cloud.aiplatform.v1.Model.OriginalModelInfoOrBuilder> + originalModelInfoBuilder_; + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the originalModelInfo field is set. + */ + public boolean hasOriginalModelInfo() { + return ((bitField0_ & 0x04000000) != 0); + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The originalModelInfo. + */ + public com.google.cloud.aiplatform.v1.Model.OriginalModelInfo getOriginalModelInfo() { + if (originalModelInfoBuilder_ == null) { + return originalModelInfo_ == null + ? com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.getDefaultInstance() + : originalModelInfo_; + } else { + return originalModelInfoBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setOriginalModelInfo( + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo value) { + if (originalModelInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + originalModelInfo_ = value; + } else { + originalModelInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x04000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setOriginalModelInfo( + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.Builder builderForValue) { + if (originalModelInfoBuilder_ == null) { + originalModelInfo_ = builderForValue.build(); + } else { + originalModelInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x04000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeOriginalModelInfo( + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo value) { + if (originalModelInfoBuilder_ == null) { + if (((bitField0_ & 0x04000000) != 0) + && originalModelInfo_ != null + && originalModelInfo_ + != com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.getDefaultInstance()) { + getOriginalModelInfoBuilder().mergeFrom(value); + } else { + originalModelInfo_ = value; + } + } else { + originalModelInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x04000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearOriginalModelInfo() { + bitField0_ = (bitField0_ & ~0x04000000); + originalModelInfo_ = null; + if (originalModelInfoBuilder_ != null) { + originalModelInfoBuilder_.dispose(); + originalModelInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.Builder + getOriginalModelInfoBuilder() { + bitField0_ |= 0x04000000; + onChanged(); + return getOriginalModelInfoFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.Model.OriginalModelInfoOrBuilder + getOriginalModelInfoOrBuilder() { + if (originalModelInfoBuilder_ != null) { + return originalModelInfoBuilder_.getMessageOrBuilder(); + } else { + return originalModelInfo_ == null + ? com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.getDefaultInstance() + : originalModelInfo_; + } + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo, + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.Builder, + com.google.cloud.aiplatform.v1.Model.OriginalModelInfoOrBuilder> + getOriginalModelInfoFieldBuilder() { + if (originalModelInfoBuilder_ == null) { + originalModelInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo, + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo.Builder, + com.google.cloud.aiplatform.v1.Model.OriginalModelInfoOrBuilder>( + getOriginalModelInfo(), getParentForChildren(), isClean()); + originalModelInfo_ = null; + } + return originalModelInfoBuilder_; + } + private java.lang.Object metadataArtifact_ = ""; /** * @@ -11267,7 +12261,7 @@ public Builder setMetadataArtifact(java.lang.String value) { throw new NullPointerException(); } metadataArtifact_ = value; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -11287,7 +12281,7 @@ public Builder setMetadataArtifact(java.lang.String value) { */ public Builder clearMetadataArtifact() { metadataArtifact_ = getDefaultInstance().getMetadataArtifact(); - bitField0_ = (bitField0_ & ~0x04000000); + bitField0_ = (bitField0_ & ~0x08000000); onChanged(); return this; } @@ -11312,7 +12306,7 @@ public Builder setMetadataArtifactBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); metadataArtifact_ = value; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); return this; } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelDeploymentMonitoringJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelDeploymentMonitoringJobProto.java index e61055d6f213..0b4600edb1f4 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelDeploymentMonitoringJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelDeploymentMonitoringJobProto.java @@ -170,13 +170,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_TYPE_UNSPECIFIED\020\000\022\024\n\020RAW_FEATURE_SKEW\020" + "\001\022\025\n\021RAW_FEATURE_DRIFT\020\002\022\034\n\030FEATURE_ATTR" + "IBUTION_SKEW\020\003\022\035\n\031FEATURE_ATTRIBUTION_DR" - + "IFT\020\004B\345\001\n\036com.google.cloud.aiplatform.v1" - + "B!ModelDeploymentMonitoringJobProtoP\001ZDg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo" - + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo" - + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p" - + "roto3" + + "IFT\020\004B\337\001\n\036com.google.cloud.aiplatform.v1" + + "B!ModelDeploymentMonitoringJobProtoP\001Z>c" + + "loud.google.com/go/aiplatform/apiv1/aipl" + + "atformpb;aiplatformpb\252\002\032Google.Cloud.AIP" + + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352" + + "\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationProto.java index 0dec00f96a48..400e8ebff879 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationProto.java @@ -68,13 +68,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "aiplatform.v1.ExplanationSpec:\177\352A|\n)aipl" + "atform.googleapis.com/ModelEvaluation\022Op" + "rojects/{project}/locations/{location}/m" - + "odels/{model}/evaluations/{evaluation}B\330" + + "odels/{model}/evaluations/{evaluation}B\322" + "\001\n\036com.google.cloud.aiplatform.v1B\024Model" - + "EvaluationProtoP\001ZDgoogle.golang.org/gen" - + "proto/googleapis/cloud/aiplatform/v1;aip" - + "latform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G" - + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou" - + "d::AIPlatform::V1b\006proto3" + + "EvaluationProtoP\001Z>cloud.google.com/go/a" + + "iplatform/apiv1/aiplatformpb;aiplatformp" + + "b\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\" + + "Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AIP" + + "latform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationSliceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationSliceProto.java index 77e02d92fa50..81a84ce34afa 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationSliceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelEvaluationSliceProto.java @@ -60,13 +60,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001\n.aiplatform.googleapis.com/ModelEvalua" + "tionSlice\022^projects/{project}/locations/" + "{location}/models/{model}/evaluations/{e" - + "valuation}/slices/{slice}B\335\001\n\036com.google" + + "valuation}/slices/{slice}B\327\001\n\036com.google" + ".cloud.aiplatform.v1B\031ModelEvaluationSli" - + "ceProtoP\001ZDgoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1;aiplatform\252" - + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl" - + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla" - + "tform::V1b\006proto3" + + "ceProtoP\001Z>cloud.google.com/go/aiplatfor" + + "m/apiv1/aiplatformpb;aiplatformpb\252\002\032Goog" + + "le.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AI" + + "Platform\\V1\352\002\035Google::Cloud::AIPlatform:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java index 276cb65924fb..890439128165 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelMonitoringProto.java @@ -178,13 +178,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "amplingStrategy\022]\n\024random_sample_config\030" + "\001 \001(\0132?.google.cloud.aiplatform.v1.Sampl" + "ingStrategy.RandomSampleConfig\032)\n\022Random" - + "SampleConfig\022\023\n\013sample_rate\030\001 \001(\001B\330\001\n\036co" + + "SampleConfig\022\023\n\013sample_rate\030\001 \001(\001B\322\001\n\036co" + "m.google.cloud.aiplatform.v1B\024ModelMonit" - + "oringProtoP\001ZDgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1;aiplatfo" - + "rm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google" - + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI" - + "Platform::V1b\006proto3" + + "oringProtoP\001Z>cloud.google.com/go/aiplat" + + "form/apiv1/aiplatformpb;aiplatformpb\252\002\032G" + + "oogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud" + + "\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfo" + + "rm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelOrBuilder.java index 03ba567425e0..9067d2e53d3c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelOrBuilder.java @@ -1614,6 +1614,50 @@ java.lang.String getLabelsOrDefault( */ com.google.cloud.aiplatform.v1.ModelSourceInfoOrBuilder getModelSourceInfoOrBuilder(); + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the originalModelInfo field is set. + */ + boolean hasOriginalModelInfo(); + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The originalModelInfo. + */ + com.google.cloud.aiplatform.v1.Model.OriginalModelInfo getOriginalModelInfo(); + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.Model.OriginalModelInfoOrBuilder getOriginalModelInfoOrBuilder(); + /** * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java index bf4eec02317f..690b41272a11 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelProto.java @@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_Model_ExportFormat_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_Model_ExportFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_Model_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -73,7 +77,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cloud/aiplatform/v1/env_var.proto\032,googl" + "e/cloud/aiplatform/v1/explanation.proto\032" + "\034google/protobuf/struct.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\366\016\n\005Model\022\014\n\004name" + + "otobuf/timestamp.proto\"\232\020\n\005Model\022\014\n\004name" + "\030\001 \001(\t\022\032\n\nversion_id\030\034 \001(\tB\006\340A\005\340A\003\022\027\n\017ve" + "rsion_aliases\030\035 \003(\t\022<\n\023version_create_ti" + "me\030\037 \001(\0132\032.google.protobuf.TimestampB\003\340A" @@ -108,40 +112,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "(\0132*.google.cloud.aiplatform.v1.Encrypti" + "onSpec\022K\n\021model_source_info\030& \001(\0132+.goog" + "le.cloud.aiplatform.v1.ModelSourceInfoB\003" - + "\340A\003\022\036\n\021metadata_artifact\030, \001(\tB\003\340A\003\032\325\001\n\014" - + "ExportFormat\022\017\n\002id\030\001 \001(\tB\003\340A\003\022b\n\023exporta" - + "ble_contents\030\002 \003(\0162@.google.cloud.aiplat" - + "form.v1.Model.ExportFormat.ExportableCon" - + "tentB\003\340A\003\"P\n\021ExportableContent\022\"\n\036EXPORT" - + "ABLE_CONTENT_UNSPECIFIED\020\000\022\014\n\010ARTIFACT\020\001" - + "\022\t\n\005IMAGE\020\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001\"\214\001\n\027DeploymentResourc" - + "esType\022)\n%DEPLOYMENT_RESOURCES_TYPE_UNSP" - + "ECIFIED\020\000\022\027\n\023DEDICATED_RESOURCES\020\001\022\027\n\023AU" - + "TOMATIC_RESOURCES\020\002\022\024\n\020SHARED_RESOURCES\020" - + "\003:\\\352AY\n\037aiplatform.googleapis.com/Model\022" - + "6projects/{project}/locations/{location}" - + "/models/{model}\"{\n\017PredictSchemata\022 \n\023in" - + "stance_schema_uri\030\001 \001(\tB\003\340A\005\022\"\n\025paramete" - + "rs_schema_uri\030\002 \001(\tB\003\340A\005\022\"\n\025prediction_s" - + "chema_uri\030\003 \001(\tB\003\340A\005\"\373\001\n\022ModelContainerS" - + "pec\022\031\n\timage_uri\030\001 \001(\tB\006\340A\002\340A\005\022\024\n\007comman" - + "d\030\002 \003(\tB\003\340A\005\022\021\n\004args\030\003 \003(\tB\003\340A\005\0224\n\003env\030\004" - + " \003(\0132\".google.cloud.aiplatform.v1.EnvVar" - + "B\003\340A\005\0224\n\005ports\030\005 \003(\0132 .google.cloud.aipl" - + "atform.v1.PortB\003\340A\005\022\032\n\rpredict_route\030\006 \001" - + "(\tB\003\340A\005\022\031\n\014health_route\030\007 \001(\tB\003\340A\005\"\036\n\004Po" - + "rt\022\026\n\016container_port\030\003 \001(\005\"\273\001\n\017ModelSour" - + "ceInfo\022P\n\013source_type\030\001 \001(\0162;.google.clo" - + "ud.aiplatform.v1.ModelSourceInfo.ModelSo" - + "urceType\"V\n\017ModelSourceType\022!\n\035MODEL_SOU" - + "RCE_TYPE_UNSPECIFIED\020\000\022\n\n\006AUTOML\020\001\022\n\n\006CU" - + "STOM\020\002\022\010\n\004BQML\020\003B\316\001\n\036com.google.cloud.ai" - + "platform.v1B\nModelProtoP\001ZDgoogle.golang" - + ".org/genproto/googleapis/cloud/aiplatfor" - + "m/v1;aiplatform\252\002\032Google.Cloud.AIPlatfor" - + "m.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goog" - + "le::Cloud::AIPlatform::V1b\006proto3" + + "\340A\003\022U\n\023original_model_info\030\" \001(\01323.googl" + + "e.cloud.aiplatform.v1.Model.OriginalMode" + + "lInfoB\003\340A\003\022\036\n\021metadata_artifact\030, \001(\tB\003\340" + + "A\003\032\325\001\n\014ExportFormat\022\017\n\002id\030\001 \001(\tB\003\340A\003\022b\n\023" + + "exportable_contents\030\002 \003(\0162@.google.cloud" + + ".aiplatform.v1.Model.ExportFormat.Export" + + "ableContentB\003\340A\003\"P\n\021ExportableContent\022\"\n" + + "\036EXPORTABLE_CONTENT_UNSPECIFIED\020\000\022\014\n\010ART" + + "IFACT\020\001\022\t\n\005IMAGE\020\002\032K\n\021OriginalModelInfo\022" + + "6\n\005model\030\001 \001(\tB\'\340A\003\372A!\n\037aiplatform.googl" + + "eapis.com/Model\032-\n\013LabelsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\214\001\n\027DeploymentRes" + + "ourcesType\022)\n%DEPLOYMENT_RESOURCES_TYPE_" + + "UNSPECIFIED\020\000\022\027\n\023DEDICATED_RESOURCES\020\001\022\027" + + "\n\023AUTOMATIC_RESOURCES\020\002\022\024\n\020SHARED_RESOUR" + + "CES\020\003:\\\352AY\n\037aiplatform.googleapis.com/Mo" + + "del\0226projects/{project}/locations/{locat" + + "ion}/models/{model}\"{\n\017PredictSchemata\022 " + + "\n\023instance_schema_uri\030\001 \001(\tB\003\340A\005\022\"\n\025para" + + "meters_schema_uri\030\002 \001(\tB\003\340A\005\022\"\n\025predicti" + + "on_schema_uri\030\003 \001(\tB\003\340A\005\"\373\001\n\022ModelContai" + + "nerSpec\022\031\n\timage_uri\030\001 \001(\tB\006\340A\002\340A\005\022\024\n\007co" + + "mmand\030\002 \003(\tB\003\340A\005\022\021\n\004args\030\003 \003(\tB\003\340A\005\0224\n\003e" + + "nv\030\004 \003(\0132\".google.cloud.aiplatform.v1.En" + + "vVarB\003\340A\005\0224\n\005ports\030\005 \003(\0132 .google.cloud." + + "aiplatform.v1.PortB\003\340A\005\022\032\n\rpredict_route" + + "\030\006 \001(\tB\003\340A\005\022\031\n\014health_route\030\007 \001(\tB\003\340A\005\"\036" + + "\n\004Port\022\026\n\016container_port\030\003 \001(\005\"\273\001\n\017Model" + + "SourceInfo\022P\n\013source_type\030\001 \001(\0162;.google" + + ".cloud.aiplatform.v1.ModelSourceInfo.Mod" + + "elSourceType\"V\n\017ModelSourceType\022!\n\035MODEL" + + "_SOURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006AUTOML\020\001\022\n" + + "\n\006CUSTOM\020\002\022\010\n\004BQML\020\003B\310\001\n\036com.google.clou" + + "d.aiplatform.v1B\nModelProtoP\001Z>cloud.goo" + + "gle.com/go/aiplatform/apiv1/aiplatformpb" + + ";aiplatformpb\252\002\032Google.Cloud.AIPlatform." + + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" + + "::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -188,6 +196,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "EncryptionSpec", "ModelSourceInfo", + "OriginalModelInfo", "MetadataArtifact", }); internal_static_google_cloud_aiplatform_v1_Model_ExportFormat_descriptor = @@ -198,8 +207,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Id", "ExportableContents", }); - internal_static_google_cloud_aiplatform_v1_Model_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_descriptor = internal_static_google_cloud_aiplatform_v1_Model_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_Model_OriginalModelInfo_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_aiplatform_v1_Model_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_Model_descriptor.getNestedTypes().get(2); internal_static_google_cloud_aiplatform_v1_Model_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_Model_LabelsEntry_descriptor, diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java index 5ae387cc0038..e1907a149cf5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ModelServiceProto.java @@ -95,6 +95,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_ExportModelResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_ExportModelResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_CopyModelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_CopyModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_CopyModelResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_CopyModelResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -144,192 +156,212 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ce.proto\022\032google.cloud.aiplatform.v1\032\034go" + "ogle/api/annotations.proto\032\027google/api/c" + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032#google/" - + "cloud/aiplatform/v1/io.proto\032&google/clo" - + "ud/aiplatform/v1/model.proto\0321google/clo" - + "ud/aiplatform/v1/model_evaluation.proto\032" - + "7google/cloud/aiplatform/v1/model_evalua" - + "tion_slice.proto\032*google/cloud/aiplatfor" - + "m/v1/operation.proto\032#google/longrunning" - + "/operations.proto\032 google/protobuf/field" - + "_mask.proto\"\326\001\n\022UploadModelRequest\0229\n\006pa" - + "rent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis" - + ".com/Location\022\031\n\014parent_model\030\004 \001(\tB\003\340A\001" - + "\022\025\n\010model_id\030\005 \001(\tB\003\340A\001\0225\n\005model\030\002 \001(\0132!" - + ".google.cloud.aiplatform.v1.ModelB\003\340A\002\022\034" - + "\n\017service_account\030\006 \001(\tB\003\340A\001\"n\n\034UploadMo" - + "delOperationMetadata\022N\n\020generic_metadata" - + "\030\001 \001(\01324.google.cloud.aiplatform.v1.Gene" - + "ricOperationMetadata\"i\n\023UploadModelRespo" - + "nse\0223\n\005model\030\001 \001(\tB$\372A!\n\037aiplatform.goog" - + "leapis.com/Model\022\035\n\020model_version_id\030\002 \001" - + "(\tB\003\340A\003\"H\n\017GetModelRequest\0225\n\004name\030\001 \001(\t" - + "B\'\340A\002\372A!\n\037aiplatform.googleapis.com/Mode" - + "l\"\306\001\n\021ListModelsRequest\0229\n\006parent\030\001 \001(\tB" - + ")\340A\002\372A#\n!locations.googleapis.com/Locati" - + "on\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n" - + "\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.g" - + "oogle.protobuf.FieldMask\022\020\n\010order_by\030\006 \001" - + "(\t\"`\n\022ListModelsResponse\0221\n\006models\030\001 \003(\013" - + "2!.google.cloud.aiplatform.v1.Model\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\"\311\001\n\030ListModelVersio" - + "nsRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatf" - + "orm.googleapis.com/Model\022\021\n\tpage_size\030\002 " - + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022" - + "-\n\tread_mask\030\005 \001(\0132\032.google.protobuf.Fie" - + "ldMask\022\020\n\010order_by\030\006 \001(\t\"g\n\031ListModelVer" - + "sionsResponse\0221\n\006models\030\001 \003(\0132!.google.c" - + "loud.aiplatform.v1.Model\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"\201\001\n\022UpdateModelRequest\0225\n\005mode" - + "l\030\001 \001(\0132!.google.cloud.aiplatform.v1.Mod" - + "elB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.pr" - + "otobuf.FieldMaskB\003\340A\002\"K\n\022DeleteModelRequ" - + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.go" - + "ogleapis.com/Model\"R\n\031DeleteModelVersion" - + "Request\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatfor" - + "m.googleapis.com/Model\"q\n\032MergeVersionAl" - + "iasesRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aipl" - + "atform.googleapis.com/Model\022\034\n\017version_a" - + "liases\030\002 \003(\tB\003\340A\002\"\356\002\n\022ExportModelRequest" - + "\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googl" - + "eapis.com/Model\022W\n\routput_config\030\002 \001(\0132;" - + ".google.cloud.aiplatform.v1.ExportModelR" - + "equest.OutputConfigB\003\340A\002\032\307\001\n\014OutputConfi" - + "g\022\030\n\020export_format_id\030\001 \001(\t\022H\n\024artifact_" - + "destination\030\003 \001(\0132*.google.cloud.aiplatf" - + "orm.v1.GcsDestination\022S\n\021image_destinati" - + "on\030\004 \001(\01328.google.cloud.aiplatform.v1.Co" - + "ntainerRegistryDestination\"\234\002\n\034ExportMod" + + "roto\032\031google/api/resource.proto\0320google/" + + "cloud/aiplatform/v1/encryption_spec.prot" + + "o\032#google/cloud/aiplatform/v1/io.proto\032&" + + "google/cloud/aiplatform/v1/model.proto\0321" + + "google/cloud/aiplatform/v1/model_evaluat" + + "ion.proto\0327google/cloud/aiplatform/v1/mo" + + "del_evaluation_slice.proto\032*google/cloud" + + "/aiplatform/v1/operation.proto\032#google/l" + + "ongrunning/operations.proto\032 google/prot" + + "obuf/field_mask.proto\"\326\001\n\022UploadModelReq" + + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." + + "googleapis.com/Location\022\031\n\014parent_model\030" + + "\004 \001(\tB\003\340A\001\022\025\n\010model_id\030\005 \001(\tB\003\340A\001\0225\n\005mod" + + "el\030\002 \001(\0132!.google.cloud.aiplatform.v1.Mo" + + "delB\003\340A\002\022\034\n\017service_account\030\006 \001(\tB\003\340A\001\"n" + + "\n\034UploadModelOperationMetadata\022N\n\020generi" + + "c_metadata\030\001 \001(\01324.google.cloud.aiplatfo" + + "rm.v1.GenericOperationMetadata\"i\n\023Upload" + + "ModelResponse\0223\n\005model\030\001 \001(\tB$\372A!\n\037aipla" + + "tform.googleapis.com/Model\022\035\n\020model_vers" + + "ion_id\030\002 \001(\tB\003\340A\003\"H\n\017GetModelRequest\0225\n\004" + + "name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapi" + + "s.com/Model\"\306\001\n\021ListModelsRequest\0229\n\006par" + + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_siz" + + "e\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask" + + "\030\005 \001(\0132\032.google.protobuf.FieldMask\022\020\n\010or" + + "der_by\030\006 \001(\t\"`\n\022ListModelsResponse\0221\n\006mo" + + "dels\030\001 \003(\0132!.google.cloud.aiplatform.v1." + + "Model\022\027\n\017next_page_token\030\002 \001(\t\"\311\001\n\030ListM" + + "odelVersionsRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" + + "!\n\037aiplatform.googleapis.com/Model\022\021\n\tpa" + + "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006fil" + + "ter\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google.pr" + + "otobuf.FieldMask\022\020\n\010order_by\030\006 \001(\t\"g\n\031Li" + + "stModelVersionsResponse\0221\n\006models\030\001 \003(\0132" + + "!.google.cloud.aiplatform.v1.Model\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\"\201\001\n\022UpdateModelReque" + + "st\0225\n\005model\030\001 \001(\0132!.google.cloud.aiplatf" + + "orm.v1.ModelB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032" + + ".google.protobuf.FieldMaskB\003\340A\002\"K\n\022Delet" + + "eModelRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aip" + + "latform.googleapis.com/Model\"R\n\031DeleteMo" + + "delVersionRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n" + + "\037aiplatform.googleapis.com/Model\"q\n\032Merg" + + "eVersionAliasesRequest\0225\n\004name\030\001 \001(\tB\'\340A" + + "\002\372A!\n\037aiplatform.googleapis.com/Model\022\034\n" + + "\017version_aliases\030\002 \003(\tB\003\340A\002\"\356\002\n\022ExportMo" + + "delRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037aiplat" + + "form.googleapis.com/Model\022W\n\routput_conf" + + "ig\030\002 \001(\0132;.google.cloud.aiplatform.v1.Ex" + + "portModelRequest.OutputConfigB\003\340A\002\032\307\001\n\014O" + + "utputConfig\022\030\n\020export_format_id\030\001 \001(\t\022H\n" + + "\024artifact_destination\030\003 \001(\0132*.google.clo" + + "ud.aiplatform.v1.GcsDestination\022S\n\021image" + + "_destination\030\004 \001(\01328.google.cloud.aiplat" + + "form.v1.ContainerRegistryDestination\"\234\002\n" + + "\034ExportModelOperationMetadata\022N\n\020generic" + + "_metadata\030\001 \001(\01324.google.cloud.aiplatfor" + + "m.v1.GenericOperationMetadata\022]\n\013output_" + + "info\030\002 \001(\0132C.google.cloud.aiplatform.v1." + + "ExportModelOperationMetadata.OutputInfoB" + + "\003\340A\003\032M\n\nOutputInfo\022 \n\023artifact_output_ur" + + "i\030\002 \001(\tB\003\340A\003\022\035\n\020image_output_uri\030\003 \001(\tB\003" + + "\340A\003\"\025\n\023ExportModelResponse\"\300\002\n\020CopyModel" + + "Request\022\027\n\010model_id\030\004 \001(\tB\003\340A\001H\000\022?\n\014pare" + + "nt_model\030\005 \001(\tB\'\340A\001\372A!\n\037aiplatform.googl" + + "eapis.com/ModelH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022=\n\014" + + "source_model\030\002 \001(\tB\'\340A\002\372A!\n\037aiplatform.g" + + "oogleapis.com/Model\022C\n\017encryption_spec\030\003" + + " \001(\0132*.google.cloud.aiplatform.v1.Encryp" + + "tionSpecB\023\n\021destination_model\"l\n\032CopyMod" + "elOperationMetadata\022N\n\020generic_metadata\030" + "\001 \001(\01324.google.cloud.aiplatform.v1.Gener" - + "icOperationMetadata\022]\n\013output_info\030\002 \001(\013" - + "2C.google.cloud.aiplatform.v1.ExportMode" - + "lOperationMetadata.OutputInfoB\003\340A\003\032M\n\nOu" - + "tputInfo\022 \n\023artifact_output_uri\030\002 \001(\tB\003\340" - + "A\003\022\035\n\020image_output_uri\030\003 \001(\tB\003\340A\003\"\025\n\023Exp" - + "ortModelResponse\"\243\001\n\034ImportModelEvaluati" - + "onRequest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037aipla" - + "tform.googleapis.com/Model\022J\n\020model_eval" - + "uation\030\002 \001(\0132+.google.cloud.aiplatform.v" - + "1.ModelEvaluationB\003\340A\002\"\304\001\n\'BatchImportMo" - + "delEvaluationSlicesRequest\022A\n\006parent\030\001 \001" - + "(\tB1\340A\002\372A+\n)aiplatform.googleapis.com/Mo" - + "delEvaluation\022V\n\027model_evaluation_slices" - + "\030\002 \003(\01320.google.cloud.aiplatform.v1.Mode" - + "lEvaluationSliceB\003\340A\002\"Y\n(BatchImportMode" - + "lEvaluationSlicesResponse\022-\n imported_mo" - + "del_evaluation_slices\030\001 \003(\tB\003\340A\003\"\\\n\031GetM" - + "odelEvaluationRequest\022?\n\004name\030\001 \001(\tB1\340A\002" - + "\372A+\n)aiplatform.googleapis.com/ModelEval" - + "uation\"\274\001\n\033ListModelEvaluationsRequest\0227" - + "\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.googl" - + "eapis.com/Model\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_" - + "size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_m" - + "ask\030\005 \001(\0132\032.google.protobuf.FieldMask\"\177\n" - + "\034ListModelEvaluationsResponse\022F\n\021model_e" - + "valuations\030\001 \003(\0132+.google.cloud.aiplatfo" - + "rm.v1.ModelEvaluation\022\027\n\017next_page_token" - + "\030\002 \001(\t\"f\n\036GetModelEvaluationSliceRequest" - + "\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.aiplatform.googl" - + "eapis.com/ModelEvaluationSlice\"\313\001\n ListM" - + "odelEvaluationSlicesRequest\022A\n\006parent\030\001 " - + "\001(\tB1\340A\002\372A+\n)aiplatform.googleapis.com/M" - + "odelEvaluation\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_s" - + "ize\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_ma" - + "sk\030\005 \001(\0132\032.google.protobuf.FieldMask\"\217\001\n" - + "!ListModelEvaluationSlicesResponse\022Q\n\027mo" - + "del_evaluation_slices\030\001 \003(\01320.google.clo" - + "ud.aiplatform.v1.ModelEvaluationSlice\022\027\n" - + "\017next_page_token\030\002 \001(\t2\362\031\n\014ModelService\022" - + "\340\001\n\013UploadModel\022..google.cloud.aiplatfor" - + "m.v1.UploadModelRequest\032\035.google.longrun" - + "ning.Operation\"\201\001\202\323\344\223\0026\"1/v1/{parent=pro" - + "jects/*/locations/*}/models:upload:\001*\332A\014" - + "parent,model\312A3\n\023UploadModelResponse\022\034Up" - + "loadModelOperationMetadata\022\225\001\n\010GetModel\022" - + "+.google.cloud.aiplatform.v1.GetModelReq" - + "uest\032!.google.cloud.aiplatform.v1.Model\"" - + "9\202\323\344\223\002,\022*/v1/{name=projects/*/locations/" - + "*/models/*}\332A\004name\022\250\001\n\nListModels\022-.goog" - + "le.cloud.aiplatform.v1.ListModelsRequest" - + "\032..google.cloud.aiplatform.v1.ListModels" - + "Response\";\202\323\344\223\002,\022*/v1/{parent=projects/*" - + "/locations/*}/models\332A\006parent\022\310\001\n\021ListMo" - + "delVersions\0224.google.cloud.aiplatform.v1" - + ".ListModelVersionsRequest\0325.google.cloud" - + ".aiplatform.v1.ListModelVersionsResponse" - + "\"F\202\323\344\223\0029\0227/v1/{name=projects/*/locations" - + "/*/models/*}:listVersions\332A\004name\022\265\001\n\013Upd" - + "ateModel\022..google.cloud.aiplatform.v1.Up" - + "dateModelRequest\032!.google.cloud.aiplatfo" - + "rm.v1.Model\"S\202\323\344\223\002920/v1/{model.name=pro" - + "jects/*/locations/*/models/*}:\005model\332A\021m" - + "odel,update_mask\022\312\001\n\013DeleteModel\022..googl" - + "e.cloud.aiplatform.v1.DeleteModelRequest" - + "\032\035.google.longrunning.Operation\"l\202\323\344\223\002,*" - + "*/v1/{name=projects/*/locations/*/models" - + "/*}\332A\004name\312A0\n\025google.protobuf.Empty\022\027De" - + "leteOperationMetadata\022\346\001\n\022DeleteModelVer" - + "sion\0225.google.cloud.aiplatform.v1.Delete" - + "ModelVersionRequest\032\035.google.longrunning" - + ".Operation\"z\202\323\344\223\002:*8/v1/{name=projects/*" - + "/locations/*/models/*}:deleteVersion\332A\004n" - + "ame\312A0\n\025google.protobuf.Empty\022\027DeleteOpe" - + "rationMetadata\022\322\001\n\023MergeVersionAliases\0226" - + ".google.cloud.aiplatform.v1.MergeVersion" - + "AliasesRequest\032!.google.cloud.aiplatform" - + ".v1.Model\"`\202\323\344\223\002C\">/v1/{name=projects/*/" - + "locations/*/models/*}:mergeVersionAliase" - + "s:\001*\332A\024name,version_aliases\022\346\001\n\013ExportMo" - + "del\022..google.cloud.aiplatform.v1.ExportM" + + "icOperationMetadata\"g\n\021CopyModelResponse" + + "\0223\n\005model\030\001 \001(\tB$\372A!\n\037aiplatform.googlea" + + "pis.com/Model\022\035\n\020model_version_id\030\002 \001(\tB" + + "\003\340A\003\"\243\001\n\034ImportModelEvaluationRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037aiplatform.google" + + "apis.com/Model\022J\n\020model_evaluation\030\002 \001(\013" + + "2+.google.cloud.aiplatform.v1.ModelEvalu" + + "ationB\003\340A\002\"\304\001\n\'BatchImportModelEvaluatio" + + "nSlicesRequest\022A\n\006parent\030\001 \001(\tB1\340A\002\372A+\n)" + + "aiplatform.googleapis.com/ModelEvaluatio" + + "n\022V\n\027model_evaluation_slices\030\002 \003(\01320.goo" + + "gle.cloud.aiplatform.v1.ModelEvaluationS" + + "liceB\003\340A\002\"Y\n(BatchImportModelEvaluationS" + + "licesResponse\022-\n imported_model_evaluati" + + "on_slices\030\001 \003(\tB\003\340A\003\"\\\n\031GetModelEvaluati" + + "onRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatf" + + "orm.googleapis.com/ModelEvaluation\"\274\001\n\033L" + + "istModelEvaluationsRequest\0227\n\006parent\030\001 \001" + + "(\tB\'\340A\002\372A!\n\037aiplatform.googleapis.com/Mo" + + "del\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022" + + "\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032." + + "google.protobuf.FieldMask\"\177\n\034ListModelEv" + + "aluationsResponse\022F\n\021model_evaluations\030\001" + + " \003(\0132+.google.cloud.aiplatform.v1.ModelE" + + "valuation\022\027\n\017next_page_token\030\002 \001(\t\"f\n\036Ge" + + "tModelEvaluationSliceRequest\022D\n\004name\030\001 \001" + + "(\tB6\340A\002\372A0\n.aiplatform.googleapis.com/Mo" + + "delEvaluationSlice\"\313\001\n ListModelEvaluati" + + "onSlicesRequest\022A\n\006parent\030\001 \001(\tB1\340A\002\372A+\n" + + ")aiplatform.googleapis.com/ModelEvaluati" + + "on\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n" + + "\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.g" + + "oogle.protobuf.FieldMask\"\217\001\n!ListModelEv" + + "aluationSlicesResponse\022Q\n\027model_evaluati" + + "on_slices\030\001 \003(\01320.google.cloud.aiplatfor" + + "m.v1.ModelEvaluationSlice\022\027\n\017next_page_t" + + "oken\030\002 \001(\t2\322\033\n\014ModelService\022\340\001\n\013UploadMo" + + "del\022..google.cloud.aiplatform.v1.UploadM" + "odelRequest\032\035.google.longrunning.Operati" - + "on\"\207\001\202\323\344\223\0026\"1/v1/{name=projects/*/locati" - + "ons/*/models/*}:export:\001*\332A\022name,output_" - + "config\312A3\n\023ExportModelResponse\022\034ExportMo" - + "delOperationMetadata\022\344\001\n\025ImportModelEval" - + "uation\0228.google.cloud.aiplatform.v1.Impo" - + "rtModelEvaluationRequest\032+.google.cloud." - + "aiplatform.v1.ModelEvaluation\"d\202\323\344\223\002D\"?/" - + "v1/{parent=projects/*/locations/*/models" - + "/*}/evaluations:import:\001*\332A\027parent,model" - + "_evaluation\022\250\002\n BatchImportModelEvaluati" - + "onSlices\022C.google.cloud.aiplatform.v1.Ba" - + "tchImportModelEvaluationSlicesRequest\032D." - + "google.cloud.aiplatform.v1.BatchImportMo" - + "delEvaluationSlicesResponse\"y\202\323\344\223\002R\"M/v1" - + "/{parent=projects/*/locations/*/models/*" - + "/evaluations/*}/slices:batchImport:\001*\332A\036" - + "parent,model_evaluation_slices\022\301\001\n\022GetMo" - + "delEvaluation\0225.google.cloud.aiplatform." - + "v1.GetModelEvaluationRequest\032+.google.cl" - + "oud.aiplatform.v1.ModelEvaluation\"G\202\323\344\223\002" - + ":\0228/v1/{name=projects/*/locations/*/mode" - + "ls/*/evaluations/*}\332A\004name\022\324\001\n\024ListModel" - + "Evaluations\0227.google.cloud.aiplatform.v1" - + ".ListModelEvaluationsRequest\0328.google.cl" - + "oud.aiplatform.v1.ListModelEvaluationsRe" - + "sponse\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/l" - + "ocations/*/models/*}/evaluations\332A\006paren" - + "t\022\331\001\n\027GetModelEvaluationSlice\022:.google.c" - + "loud.aiplatform.v1.GetModelEvaluationSli" - + "ceRequest\0320.google.cloud.aiplatform.v1.M" - + "odelEvaluationSlice\"P\202\323\344\223\002C\022A/v1/{name=p" - + "rojects/*/locations/*/models/*/evaluatio" - + "ns/*/slices/*}\332A\004name\022\354\001\n\031ListModelEvalu" - + "ationSlices\022<.google.cloud.aiplatform.v1" - + ".ListModelEvaluationSlicesRequest\032=.goog" - + "le.cloud.aiplatform.v1.ListModelEvaluati" - + "onSlicesResponse\"R\202\323\344\223\002C\022A/v1/{parent=pr" - + "ojects/*/locations/*/models/*/evaluation" - + "s/*}/slices\332A\006parent\032M\312A\031aiplatform.goog" - + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\325\001\n\036com.google.cloud" - + ".aiplatform.v1B\021ModelServiceProtoP\001ZDgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1;aiplatform\252\002\032Google.Cloud" - + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" - + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro" - + "to3" + + "on\"\201\001\202\323\344\223\0026\"1/v1/{parent=projects/*/loca" + + "tions/*}/models:upload:\001*\332A\014parent,model" + + "\312A3\n\023UploadModelResponse\022\034UploadModelOpe" + + "rationMetadata\022\225\001\n\010GetModel\022+.google.clo" + + "ud.aiplatform.v1.GetModelRequest\032!.googl" + + "e.cloud.aiplatform.v1.Model\"9\202\323\344\223\002,\022*/v1" + + "/{name=projects/*/locations/*/models/*}\332" + + "A\004name\022\250\001\n\nListModels\022-.google.cloud.aip" + + "latform.v1.ListModelsRequest\032..google.cl" + + "oud.aiplatform.v1.ListModelsResponse\";\202\323" + + "\344\223\002,\022*/v1/{parent=projects/*/locations/*" + + "}/models\332A\006parent\022\310\001\n\021ListModelVersions\022" + + "4.google.cloud.aiplatform.v1.ListModelVe" + + "rsionsRequest\0325.google.cloud.aiplatform." + + "v1.ListModelVersionsResponse\"F\202\323\344\223\0029\0227/v" + + "1/{name=projects/*/locations/*/models/*}" + + ":listVersions\332A\004name\022\265\001\n\013UpdateModel\022..g" + + "oogle.cloud.aiplatform.v1.UpdateModelReq" + + "uest\032!.google.cloud.aiplatform.v1.Model\"" + + "S\202\323\344\223\002920/v1/{model.name=projects/*/loca" + + "tions/*/models/*}:\005model\332A\021model,update_" + + "mask\022\312\001\n\013DeleteModel\022..google.cloud.aipl" + + "atform.v1.DeleteModelRequest\032\035.google.lo" + + "ngrunning.Operation\"l\202\323\344\223\002,**/v1/{name=p" + + "rojects/*/locations/*/models/*}\332A\004name\312A" + + "0\n\025google.protobuf.Empty\022\027DeleteOperatio" + + "nMetadata\022\346\001\n\022DeleteModelVersion\0225.googl" + + "e.cloud.aiplatform.v1.DeleteModelVersion" + + "Request\032\035.google.longrunning.Operation\"z" + + "\202\323\344\223\002:*8/v1/{name=projects/*/locations/*" + + "/models/*}:deleteVersion\332A\004name\312A0\n\025goog" + + "le.protobuf.Empty\022\027DeleteOperationMetada" + + "ta\022\322\001\n\023MergeVersionAliases\0226.google.clou" + + "d.aiplatform.v1.MergeVersionAliasesReque" + + "st\032!.google.cloud.aiplatform.v1.Model\"`\202" + + "\323\344\223\002C\">/v1/{name=projects/*/locations/*/" + + "models/*}:mergeVersionAliases:\001*\332A\024name," + + "version_aliases\022\346\001\n\013ExportModel\022..google" + + ".cloud.aiplatform.v1.ExportModelRequest\032" + + "\035.google.longrunning.Operation\"\207\001\202\323\344\223\0026\"" + + "1/v1/{name=projects/*/locations/*/models" + + "/*}:export:\001*\332A\022name,output_config\312A3\n\023E" + + "xportModelResponse\022\034ExportModelOperation" + + "Metadata\022\335\001\n\tCopyModel\022,.google.cloud.ai" + + "platform.v1.CopyModelRequest\032\035.google.lo" + + "ngrunning.Operation\"\202\001\202\323\344\223\0024\"//v1/{paren" + + "t=projects/*/locations/*}/models:copy:\001*" + + "\332A\023parent,source_model\312A/\n\021CopyModelResp" + + "onse\022\032CopyModelOperationMetadata\022\344\001\n\025Imp" + + "ortModelEvaluation\0228.google.cloud.aiplat" + + "form.v1.ImportModelEvaluationRequest\032+.g" + + "oogle.cloud.aiplatform.v1.ModelEvaluatio" + + "n\"d\202\323\344\223\002D\"?/v1/{parent=projects/*/locati" + + "ons/*/models/*}/evaluations:import:\001*\332A\027" + + "parent,model_evaluation\022\250\002\n BatchImportM" + + "odelEvaluationSlices\022C.google.cloud.aipl" + + "atform.v1.BatchImportModelEvaluationSlic" + + "esRequest\032D.google.cloud.aiplatform.v1.B" + + "atchImportModelEvaluationSlicesResponse\"" + + "y\202\323\344\223\002R\"M/v1/{parent=projects/*/location" + + "s/*/models/*/evaluations/*}/slices:batch" + + "Import:\001*\332A\036parent,model_evaluation_slic" + + "es\022\301\001\n\022GetModelEvaluation\0225.google.cloud" + + ".aiplatform.v1.GetModelEvaluationRequest" + + "\032+.google.cloud.aiplatform.v1.ModelEvalu" + + "ation\"G\202\323\344\223\002:\0228/v1/{name=projects/*/loca" + + "tions/*/models/*/evaluations/*}\332A\004name\022\324" + + "\001\n\024ListModelEvaluations\0227.google.cloud.a" + + "iplatform.v1.ListModelEvaluationsRequest" + + "\0328.google.cloud.aiplatform.v1.ListModelE" + + "valuationsResponse\"I\202\323\344\223\002:\0228/v1/{parent=" + + "projects/*/locations/*/models/*}/evaluat" + + "ions\332A\006parent\022\331\001\n\027GetModelEvaluationSlic" + + "e\022:.google.cloud.aiplatform.v1.GetModelE" + + "valuationSliceRequest\0320.google.cloud.aip" + + "latform.v1.ModelEvaluationSlice\"P\202\323\344\223\002C\022" + + "A/v1/{name=projects/*/locations/*/models" + + "/*/evaluations/*/slices/*}\332A\004name\022\354\001\n\031Li" + + "stModelEvaluationSlices\022<.google.cloud.a" + + "iplatform.v1.ListModelEvaluationSlicesRe" + + "quest\032=.google.cloud.aiplatform.v1.ListM" + + "odelEvaluationSlicesResponse\"R\202\323\344\223\002C\022A/v" + + "1/{parent=projects/*/locations/*/models/" + + "*/evaluations/*}/slices\332A\006parent\032M\312A\031aip" + + "latform.googleapis.com\322A.https://www.goo" + + "gleapis.com/auth/cloud-platformB\317\001\n\036com." + + "google.cloud.aiplatform.v1B\021ModelService" + + "ProtoP\001Z>cloud.google.com/go/aiplatform/" + + "apiv1/aiplatformpb;aiplatformpb\252\002\032Google" + + ".Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPl" + + "atform\\V1\352\002\035Google::Cloud::AIPlatform::V" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -339,6 +371,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), com.google.cloud.aiplatform.v1.IoProto.getDescriptor(), com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(), com.google.cloud.aiplatform.v1.ModelEvaluationProto.getDescriptor(), @@ -485,8 +518,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ExportModelResponse_descriptor, new java.lang.String[] {}); - internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor = + internal_static_google_cloud_aiplatform_v1_CopyModelRequest_descriptor = getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_aiplatform_v1_CopyModelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_CopyModelRequest_descriptor, + new java.lang.String[] { + "ModelId", + "ParentModel", + "Parent", + "SourceModel", + "EncryptionSpec", + "DestinationModel", + }); + internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_CopyModelOperationMetadata_descriptor, + new java.lang.String[] { + "GenericMetadata", + }); + internal_static_google_cloud_aiplatform_v1_CopyModelResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_aiplatform_v1_CopyModelResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_CopyModelResponse_descriptor, + new java.lang.String[] { + "Model", "ModelVersionId", + }); + internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor = + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ImportModelEvaluationRequest_descriptor, @@ -494,7 +556,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "ModelEvaluation", }); internal_static_google_cloud_aiplatform_v1_BatchImportModelEvaluationSlicesRequest_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(19); internal_static_google_cloud_aiplatform_v1_BatchImportModelEvaluationSlicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_BatchImportModelEvaluationSlicesRequest_descriptor, @@ -502,7 +564,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "ModelEvaluationSlices", }); internal_static_google_cloud_aiplatform_v1_BatchImportModelEvaluationSlicesResponse_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(20); internal_static_google_cloud_aiplatform_v1_BatchImportModelEvaluationSlicesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_BatchImportModelEvaluationSlicesResponse_descriptor, @@ -510,7 +572,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ImportedModelEvaluationSlices", }); internal_static_google_cloud_aiplatform_v1_GetModelEvaluationRequest_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(21); internal_static_google_cloud_aiplatform_v1_GetModelEvaluationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_GetModelEvaluationRequest_descriptor, @@ -518,7 +580,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsRequest_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(22); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsRequest_descriptor, @@ -526,7 +588,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsResponse_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(23); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelEvaluationsResponse_descriptor, @@ -534,7 +596,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ModelEvaluations", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1_GetModelEvaluationSliceRequest_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(24); internal_static_google_cloud_aiplatform_v1_GetModelEvaluationSliceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_GetModelEvaluationSliceRequest_descriptor, @@ -542,7 +604,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(25); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesRequest_descriptor, @@ -550,7 +612,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesResponse_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(26); internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_ListModelEvaluationSlicesResponse_descriptor, @@ -572,6 +634,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); com.google.cloud.aiplatform.v1.IoProto.getDescriptor(); com.google.cloud.aiplatform.v1.ModelProto.getDescriptor(); com.google.cloud.aiplatform.v1.ModelEvaluationProto.getDescriptor(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJob.java new file mode 100644 index 000000000000..1a9e93a134b6 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJob.java @@ -0,0 +1,3719 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Represents a Neural Architecture Search (NAS) job.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJob} + */ +public final class NasJob extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasJob) + NasJobOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasJob.newBuilder() to construct. + private NasJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasJob() { + name_ = ""; + displayName_ = ""; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasJob(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJob_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 12: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJob_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJob.class, + com.google.cloud.aiplatform.v1.NasJob.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Output only. Resource name of the NasJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+   * Output only. Resource name of the NasJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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 DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + * + * + *
+   * Required. The display name of the NasJob.
+   * The name can be up to 128 characters long and can consist of any UTF-8
+   * characters.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The display name of the NasJob.
+   * The name can be up to 128 characters long and can consist of any UTF-8
+   * characters.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAS_JOB_SPEC_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1.NasJobSpec nasJobSpec_; + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJobSpec field is set. + */ + @java.lang.Override + public boolean hasNasJobSpec() { + return nasJobSpec_ != null; + } + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJobSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec getNasJobSpec() { + return nasJobSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.getDefaultInstance() + : nasJobSpec_; + } + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpecOrBuilder getNasJobSpecOrBuilder() { + return nasJobSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.getDefaultInstance() + : nasJobSpec_; + } + + public static final int NAS_JOB_OUTPUT_FIELD_NUMBER = 5; + private com.google.cloud.aiplatform.v1.NasJobOutput nasJobOutput_; + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the nasJobOutput field is set. + */ + @java.lang.Override + public boolean hasNasJobOutput() { + return nasJobOutput_ != null; + } + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The nasJobOutput. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput getNasJobOutput() { + return nasJobOutput_ == null + ? com.google.cloud.aiplatform.v1.NasJobOutput.getDefaultInstance() + : nasJobOutput_; + } + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutputOrBuilder getNasJobOutputOrBuilder() { + return nasJobOutput_ == null + ? com.google.cloud.aiplatform.v1.NasJobOutput.getDefaultInstance() + : nasJobOutput_; + } + + public static final int STATE_FIELD_NUMBER = 6; + private int state_ = 0; + /** + * + * + *
+   * Output only. The detailed state of the job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.JobState 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. The detailed state of the job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.JobState getState() { + com.google.cloud.aiplatform.v1.JobState result = + com.google.cloud.aiplatform.v1.JobState.forNumber(state_); + return result == null ? com.google.cloud.aiplatform.v1.JobState.UNRECOGNIZED : result; + } + + public static final int CREATE_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.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 NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.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 START_TIME_FIELD_NUMBER = 8; + private com.google.protobuf.Timestamp startTime_; + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return startTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + public static final int END_TIME_FIELD_NUMBER = 9; + private com.google.protobuf.Timestamp endTime_; + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 10; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.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 NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.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 ERROR_FIELD_NUMBER = 11; + private com.google.rpc.Status error_; + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return error_ != null; + } + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.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. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.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 LABELS_FIELD_NUMBER = 12; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJob_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(); + } + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + @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(); + } + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + @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; + } + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + @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 ENCRYPTION_SPEC_FIELD_NUMBER = 13; + private com.google.cloud.aiplatform.v1.EncryptionSpec encryptionSpec_; + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + * + * @return Whether the encryptionSpec field is set. + */ + @java.lang.Override + public boolean hasEncryptionSpec() { + return encryptionSpec_ != null; + } + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + * + * @return The encryptionSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + + public static final int ENABLE_RESTRICTED_IMAGE_TRAINING_FIELD_NUMBER = 14; + private boolean enableRestrictedImageTraining_ = false; + /** + * + * + *
+   * Optional. Enable a separation of Custom model training
+   * and restricted image training for tenant project.
+   * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enableRestrictedImageTraining. + */ + @java.lang.Override + public boolean getEnableRestrictedImageTraining() { + return enableRestrictedImageTraining_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); + } + if (nasJobSpec_ != null) { + output.writeMessage(4, getNasJobSpec()); + } + if (nasJobOutput_ != null) { + output.writeMessage(5, getNasJobOutput()); + } + if (state_ != com.google.cloud.aiplatform.v1.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(6, state_); + } + if (createTime_ != null) { + output.writeMessage(7, getCreateTime()); + } + if (startTime_ != null) { + output.writeMessage(8, getStartTime()); + } + if (endTime_ != null) { + output.writeMessage(9, getEndTime()); + } + if (updateTime_ != null) { + output.writeMessage(10, getUpdateTime()); + } + if (error_ != null) { + output.writeMessage(11, getError()); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 12); + if (encryptionSpec_ != null) { + output.writeMessage(13, getEncryptionSpec()); + } + if (enableRestrictedImageTraining_ != false) { + output.writeBool(14, enableRestrictedImageTraining_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); + } + if (nasJobSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNasJobSpec()); + } + if (nasJobOutput_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getNasJobOutput()); + } + if (state_ != com.google.cloud.aiplatform.v1.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + } + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getStartTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getEndTime()); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); + } + if (error_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getError()); + } + 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(12, labels__); + } + if (encryptionSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getEncryptionSpec()); + } + if (enableRestrictedImageTraining_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(14, enableRestrictedImageTraining_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.NasJob)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasJob other = (com.google.cloud.aiplatform.v1.NasJob) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (hasNasJobSpec() != other.hasNasJobSpec()) return false; + if (hasNasJobSpec()) { + if (!getNasJobSpec().equals(other.getNasJobSpec())) return false; + } + if (hasNasJobOutput() != other.hasNasJobOutput()) return false; + if (hasNasJobOutput()) { + if (!getNasJobOutput().equals(other.getNasJobOutput())) return false; + } + if (state_ != other.state_) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime().equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (hasError() != other.hasError()) return false; + if (hasError()) { + if (!getError().equals(other.getError())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (hasEncryptionSpec() != other.hasEncryptionSpec()) return false; + if (hasEncryptionSpec()) { + if (!getEncryptionSpec().equals(other.getEncryptionSpec())) return false; + } + if (getEnableRestrictedImageTraining() != other.getEnableRestrictedImageTraining()) + 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) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + if (hasNasJobSpec()) { + hash = (37 * hash) + NAS_JOB_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getNasJobSpec().hashCode(); + } + if (hasNasJobOutput()) { + hash = (37 * hash) + NAS_JOB_OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getNasJobOutput().hashCode(); + } + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (hasError()) { + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + if (hasEncryptionSpec()) { + hash = (37 * hash) + ENCRYPTION_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getEncryptionSpec().hashCode(); + } + hash = (37 * hash) + ENABLE_RESTRICTED_IMAGE_TRAINING_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableRestrictedImageTraining()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJob parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.NasJob prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a Neural Architecture Search (NAS) job.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJob} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasJob) + com.google.cloud.aiplatform.v1.NasJobOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJob_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 12: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 12: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJob_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJob.class, + com.google.cloud.aiplatform.v1.NasJob.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.NasJob.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + displayName_ = ""; + nasJobSpec_ = null; + if (nasJobSpecBuilder_ != null) { + nasJobSpecBuilder_.dispose(); + nasJobSpecBuilder_ = null; + } + nasJobOutput_ = null; + if (nasJobOutputBuilder_ != null) { + nasJobOutputBuilder_.dispose(); + nasJobOutputBuilder_ = null; + } + state_ = 0; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + internalGetMutableLabels().clear(); + encryptionSpec_ = null; + if (encryptionSpecBuilder_ != null) { + encryptionSpecBuilder_.dispose(); + encryptionSpecBuilder_ = null; + } + enableRestrictedImageTraining_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJob_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJob getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJob build() { + com.google.cloud.aiplatform.v1.NasJob result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJob buildPartial() { + com.google.cloud.aiplatform.v1.NasJob result = + new com.google.cloud.aiplatform.v1.NasJob(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.NasJob result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.nasJobSpec_ = nasJobSpecBuilder_ == null ? nasJobSpec_ : nasJobSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.nasJobOutput_ = + nasJobOutputBuilder_ == null ? nasJobOutput_ : nasJobOutputBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.encryptionSpec_ = + encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.enableRestrictedImageTraining_ = enableRestrictedImageTraining_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.NasJob) { + return mergeFrom((com.google.cloud.aiplatform.v1.NasJob) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.NasJob other) { + if (other == com.google.cloud.aiplatform.v1.NasJob.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasNasJobSpec()) { + mergeNasJobSpec(other.getNasJobSpec()); + } + if (other.hasNasJobOutput()) { + mergeNasJobOutput(other.getNasJobOutput()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + if (other.hasError()) { + mergeError(other.getError()); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000400; + if (other.hasEncryptionSpec()) { + mergeEncryptionSpec(other.getEncryptionSpec()); + } + if (other.getEnableRestrictedImageTraining() != false) { + setEnableRestrictedImageTraining(other.getEnableRestrictedImageTraining()); + } + 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: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + input.readMessage(getNasJobSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: + { + input.readMessage(getNasJobOutputFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 48: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 48 + case 58: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 106: + { + input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 106 + case 112: + { + enableRestrictedImageTraining_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 112 + 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_ = ""; + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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 displayName_ = ""; + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1.NasJobSpec nasJobSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.Builder, + com.google.cloud.aiplatform.v1.NasJobSpecOrBuilder> + nasJobSpecBuilder_; + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJobSpec field is set. + */ + public boolean hasNasJobSpec() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJobSpec. + */ + public com.google.cloud.aiplatform.v1.NasJobSpec getNasJobSpec() { + if (nasJobSpecBuilder_ == null) { + return nasJobSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.getDefaultInstance() + : nasJobSpec_; + } else { + return nasJobSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNasJobSpec(com.google.cloud.aiplatform.v1.NasJobSpec value) { + if (nasJobSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nasJobSpec_ = value; + } else { + nasJobSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNasJobSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.Builder builderForValue) { + if (nasJobSpecBuilder_ == null) { + nasJobSpec_ = builderForValue.build(); + } else { + nasJobSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeNasJobSpec(com.google.cloud.aiplatform.v1.NasJobSpec value) { + if (nasJobSpecBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && nasJobSpec_ != null + && nasJobSpec_ != com.google.cloud.aiplatform.v1.NasJobSpec.getDefaultInstance()) { + getNasJobSpecBuilder().mergeFrom(value); + } else { + nasJobSpec_ = value; + } + } else { + nasJobSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearNasJobSpec() { + bitField0_ = (bitField0_ & ~0x00000004); + nasJobSpec_ = null; + if (nasJobSpecBuilder_ != null) { + nasJobSpecBuilder_.dispose(); + nasJobSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.Builder getNasJobSpecBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getNasJobSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.NasJobSpecOrBuilder getNasJobSpecOrBuilder() { + if (nasJobSpecBuilder_ != null) { + return nasJobSpecBuilder_.getMessageOrBuilder(); + } else { + return nasJobSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.getDefaultInstance() + : nasJobSpec_; + } + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.Builder, + com.google.cloud.aiplatform.v1.NasJobSpecOrBuilder> + getNasJobSpecFieldBuilder() { + if (nasJobSpecBuilder_ == null) { + nasJobSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.Builder, + com.google.cloud.aiplatform.v1.NasJobSpecOrBuilder>( + getNasJobSpec(), getParentForChildren(), isClean()); + nasJobSpec_ = null; + } + return nasJobSpecBuilder_; + } + + private com.google.cloud.aiplatform.v1.NasJobOutput nasJobOutput_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobOutput, + com.google.cloud.aiplatform.v1.NasJobOutput.Builder, + com.google.cloud.aiplatform.v1.NasJobOutputOrBuilder> + nasJobOutputBuilder_; + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the nasJobOutput field is set. + */ + public boolean hasNasJobOutput() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The nasJobOutput. + */ + public com.google.cloud.aiplatform.v1.NasJobOutput getNasJobOutput() { + if (nasJobOutputBuilder_ == null) { + return nasJobOutput_ == null + ? com.google.cloud.aiplatform.v1.NasJobOutput.getDefaultInstance() + : nasJobOutput_; + } else { + return nasJobOutputBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNasJobOutput(com.google.cloud.aiplatform.v1.NasJobOutput value) { + if (nasJobOutputBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nasJobOutput_ = value; + } else { + nasJobOutputBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNasJobOutput( + com.google.cloud.aiplatform.v1.NasJobOutput.Builder builderForValue) { + if (nasJobOutputBuilder_ == null) { + nasJobOutput_ = builderForValue.build(); + } else { + nasJobOutputBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeNasJobOutput(com.google.cloud.aiplatform.v1.NasJobOutput value) { + if (nasJobOutputBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && nasJobOutput_ != null + && nasJobOutput_ != com.google.cloud.aiplatform.v1.NasJobOutput.getDefaultInstance()) { + getNasJobOutputBuilder().mergeFrom(value); + } else { + nasJobOutput_ = value; + } + } else { + nasJobOutputBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearNasJobOutput() { + bitField0_ = (bitField0_ & ~0x00000008); + nasJobOutput_ = null; + if (nasJobOutputBuilder_ != null) { + nasJobOutputBuilder_.dispose(); + nasJobOutputBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasJobOutput.Builder getNasJobOutputBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getNasJobOutputFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasJobOutputOrBuilder getNasJobOutputOrBuilder() { + if (nasJobOutputBuilder_ != null) { + return nasJobOutputBuilder_.getMessageOrBuilder(); + } else { + return nasJobOutput_ == null + ? com.google.cloud.aiplatform.v1.NasJobOutput.getDefaultInstance() + : nasJobOutput_; + } + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobOutput, + com.google.cloud.aiplatform.v1.NasJobOutput.Builder, + com.google.cloud.aiplatform.v1.NasJobOutputOrBuilder> + getNasJobOutputFieldBuilder() { + if (nasJobOutputBuilder_ == null) { + nasJobOutputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobOutput, + com.google.cloud.aiplatform.v1.NasJobOutput.Builder, + com.google.cloud.aiplatform.v1.NasJobOutputOrBuilder>( + getNasJobOutput(), getParentForChildren(), isClean()); + nasJobOutput_ = null; + } + return nasJobOutputBuilder_; + } + + private int state_ = 0; + /** + * + * + *
+     * Output only. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.JobState 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. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.JobState 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_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.JobState getState() { + com.google.cloud.aiplatform.v1.JobState result = + com.google.cloud.aiplatform.v1.JobState.forNumber(state_); + return result == null ? com.google.cloud.aiplatform.v1.JobState.UNRECOGNIZED : result; + } + /** + * + * + *
+     * Output only. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.JobState 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.aiplatform.v1.JobState value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000010); + state_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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 NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000020); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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 NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + 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 startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000040); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000080); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.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 NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.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_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.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_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00000100); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.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 NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.rpc.Status error_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the error field is set. + */ + public boolean hasError() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.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. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.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_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.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_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeError(com.google.rpc.Status value) { + if (errorBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0) + && error_ != null + && error_ != com.google.rpc.Status.getDefaultInstance()) { + getErrorBuilder().mergeFrom(value); + } else { + error_ = value; + } + } else { + errorBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearError() { + bitField0_ = (bitField0_ & ~0x00000200); + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status.Builder getErrorBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getErrorFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.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. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + getErrorFieldBuilder() { + if (errorBuilder_ == null) { + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + error_ = null; + } + return errorBuilder_; + } + + 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_ |= 0x00000400; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + @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(); + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + @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; + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + @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_ & ~0x00000400); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + 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_ |= 0x00000400; + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + 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_ |= 0x00000400; + return this; + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000400; + return this; + } + + private com.google.cloud.aiplatform.v1.EncryptionSpec encryptionSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.EncryptionSpec, + com.google.cloud.aiplatform.v1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder> + encryptionSpecBuilder_; + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + * + * @return Whether the encryptionSpec field is set. + */ + public boolean hasEncryptionSpec() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + * + * @return The encryptionSpec. + */ + public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() { + if (encryptionSpecBuilder_ == null) { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } else { + return encryptionSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + */ + public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) { + if (encryptionSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + encryptionSpec_ = value; + } else { + encryptionSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + */ + public Builder setEncryptionSpec( + com.google.cloud.aiplatform.v1.EncryptionSpec.Builder builderForValue) { + if (encryptionSpecBuilder_ == null) { + encryptionSpec_ = builderForValue.build(); + } else { + encryptionSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + */ + public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) { + if (encryptionSpecBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) + && encryptionSpec_ != null + && encryptionSpec_ + != com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()) { + getEncryptionSpecBuilder().mergeFrom(value); + } else { + encryptionSpec_ = value; + } + } else { + encryptionSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + */ + public Builder clearEncryptionSpec() { + bitField0_ = (bitField0_ & ~0x00000800); + encryptionSpec_ = null; + if (encryptionSpecBuilder_ != null) { + encryptionSpecBuilder_.dispose(); + encryptionSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + */ + public com.google.cloud.aiplatform.v1.EncryptionSpec.Builder getEncryptionSpecBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return getEncryptionSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + */ + public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() { + if (encryptionSpecBuilder_ != null) { + return encryptionSpecBuilder_.getMessageOrBuilder(); + } else { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.EncryptionSpec, + com.google.cloud.aiplatform.v1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder> + getEncryptionSpecFieldBuilder() { + if (encryptionSpecBuilder_ == null) { + encryptionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.EncryptionSpec, + com.google.cloud.aiplatform.v1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder>( + getEncryptionSpec(), getParentForChildren(), isClean()); + encryptionSpec_ = null; + } + return encryptionSpecBuilder_; + } + + private boolean enableRestrictedImageTraining_; + /** + * + * + *
+     * Optional. Enable a separation of Custom model training
+     * and restricted image training for tenant project.
+     * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enableRestrictedImageTraining. + */ + @java.lang.Override + public boolean getEnableRestrictedImageTraining() { + return enableRestrictedImageTraining_; + } + /** + * + * + *
+     * Optional. Enable a separation of Custom model training
+     * and restricted image training for tenant project.
+     * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enableRestrictedImageTraining to set. + * @return This builder for chaining. + */ + public Builder setEnableRestrictedImageTraining(boolean value) { + + enableRestrictedImageTraining_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Enable a separation of Custom model training
+     * and restricted image training for tenant project.
+     * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearEnableRestrictedImageTraining() { + bitField0_ = (bitField0_ & ~0x00001000); + enableRestrictedImageTraining_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasJob) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasJob) + private static final com.google.cloud.aiplatform.v1.NasJob DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.NasJob(); + } + + public static com.google.cloud.aiplatform.v1.NasJob getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJob getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRouteName.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobName.java similarity index 59% rename from java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRouteName.java rename to java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobName.java index 653b1a5507d8..1b1030717776 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRouteName.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobName.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1; +package com.google.cloud.aiplatform.v1; import com.google.api.pathtemplate.PathTemplate; import com.google.api.resourcenames.ResourceName; @@ -28,26 +28,26 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. @Generated("by gapic-generator-java") -public class PolicyBasedRouteName implements ResourceName { - private static final PathTemplate PROJECT_LOCATION_POLICY_BASED_ROUTE = +public class NasJobName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_NAS_JOB = PathTemplate.createWithoutUrlEncoding( - "projects/{project}/{location}/global/PolicyBasedRoutes/{policy_based_route}"); + "projects/{project}/locations/{location}/nasJobs/{nas_job}"); private volatile Map fieldValuesMap; private final String project; private final String location; - private final String policyBasedRoute; + private final String nasJob; @Deprecated - protected PolicyBasedRouteName() { + protected NasJobName() { project = null; location = null; - policyBasedRoute = null; + nasJob = null; } - private PolicyBasedRouteName(Builder builder) { + private NasJobName(Builder builder) { project = Preconditions.checkNotNull(builder.getProject()); location = Preconditions.checkNotNull(builder.getLocation()); - policyBasedRoute = Preconditions.checkNotNull(builder.getPolicyBasedRoute()); + nasJob = Preconditions.checkNotNull(builder.getNasJob()); } public String getProject() { @@ -58,8 +58,8 @@ public String getLocation() { return location; } - public String getPolicyBasedRoute() { - return policyBasedRoute; + public String getNasJob() { + return nasJob; } public static Builder newBuilder() { @@ -70,45 +70,40 @@ public Builder toBuilder() { return new Builder(this); } - public static PolicyBasedRouteName of(String project, String location, String policyBasedRoute) { - return newBuilder() - .setProject(project) - .setLocation(location) - .setPolicyBasedRoute(policyBasedRoute) - .build(); + public static NasJobName of(String project, String location, String nasJob) { + return newBuilder().setProject(project).setLocation(location).setNasJob(nasJob).build(); } - public static String format(String project, String location, String policyBasedRoute) { + public static String format(String project, String location, String nasJob) { return newBuilder() .setProject(project) .setLocation(location) - .setPolicyBasedRoute(policyBasedRoute) + .setNasJob(nasJob) .build() .toString(); } - public static PolicyBasedRouteName parse(String formattedString) { + public static NasJobName parse(String formattedString) { if (formattedString.isEmpty()) { return null; } Map matchMap = - PROJECT_LOCATION_POLICY_BASED_ROUTE.validatedMatch( - formattedString, "PolicyBasedRouteName.parse: formattedString not in valid format"); - return of( - matchMap.get("project"), matchMap.get("location"), matchMap.get("policy_based_route")); + PROJECT_LOCATION_NAS_JOB.validatedMatch( + formattedString, "NasJobName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("nas_job")); } - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); + 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) { + public static List toStringList(List values) { List list = new ArrayList<>(values.size()); - for (PolicyBasedRouteName value : values) { + for (NasJobName value : values) { if (value == null) { list.add(""); } else { @@ -119,7 +114,7 @@ public static List toStringList(List values) { } public static boolean isParsableFrom(String formattedString) { - return PROJECT_LOCATION_POLICY_BASED_ROUTE.matches(formattedString); + return PROJECT_LOCATION_NAS_JOB.matches(formattedString); } @Override @@ -134,8 +129,8 @@ public Map getFieldValuesMap() { if (location != null) { fieldMapBuilder.put("location", location); } - if (policyBasedRoute != null) { - fieldMapBuilder.put("policy_based_route", policyBasedRoute); + if (nasJob != null) { + fieldMapBuilder.put("nas_job", nasJob); } fieldValuesMap = fieldMapBuilder.build(); } @@ -150,8 +145,8 @@ public String getFieldValue(String fieldName) { @Override public String toString() { - return PROJECT_LOCATION_POLICY_BASED_ROUTE.instantiate( - "project", project, "location", location, "policy_based_route", policyBasedRoute); + return PROJECT_LOCATION_NAS_JOB.instantiate( + "project", project, "location", location, "nas_job", nasJob); } @Override @@ -160,10 +155,10 @@ public boolean equals(Object o) { return true; } if (o != null || getClass() == o.getClass()) { - PolicyBasedRouteName that = ((PolicyBasedRouteName) o); + NasJobName that = ((NasJobName) o); return Objects.equals(this.project, that.project) && Objects.equals(this.location, that.location) - && Objects.equals(this.policyBasedRoute, that.policyBasedRoute); + && Objects.equals(this.nasJob, that.nasJob); } return false; } @@ -176,15 +171,15 @@ public int hashCode() { h *= 1000003; h ^= Objects.hashCode(location); h *= 1000003; - h ^= Objects.hashCode(policyBasedRoute); + h ^= Objects.hashCode(nasJob); return h; } - /** Builder for projects/{project}/{location}/global/PolicyBasedRoutes/{policy_based_route}. */ + /** Builder for projects/{project}/locations/{location}/nasJobs/{nas_job}. */ public static class Builder { private String project; private String location; - private String policyBasedRoute; + private String nasJob; protected Builder() {} @@ -196,8 +191,8 @@ public String getLocation() { return location; } - public String getPolicyBasedRoute() { - return policyBasedRoute; + public String getNasJob() { + return nasJob; } public Builder setProject(String project) { @@ -210,19 +205,19 @@ public Builder setLocation(String location) { return this; } - public Builder setPolicyBasedRoute(String policyBasedRoute) { - this.policyBasedRoute = policyBasedRoute; + public Builder setNasJob(String nasJob) { + this.nasJob = nasJob; return this; } - private Builder(PolicyBasedRouteName policyBasedRouteName) { - this.project = policyBasedRouteName.project; - this.location = policyBasedRouteName.location; - this.policyBasedRoute = policyBasedRouteName.policyBasedRoute; + private Builder(NasJobName nasJobName) { + this.project = nasJobName.project; + this.location = nasJobName.location; + this.nasJob = nasJobName.nasJob; } - public PolicyBasedRouteName build() { - return new PolicyBasedRouteName(this); + public NasJobName build() { + return new NasJobName(this); } } } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobOrBuilder.java new file mode 100644 index 000000000000..82f00db957e0 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobOrBuilder.java @@ -0,0 +1,520 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +public interface NasJobOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasJob) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Resource name of the NasJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. Resource name of the NasJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. The display name of the NasJob.
+   * The name can be up to 128 characters long and can consist of any UTF-8
+   * characters.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
+   * Required. The display name of the NasJob.
+   * The name can be up to 128 characters long and can consist of any UTF-8
+   * characters.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJobSpec field is set. + */ + boolean hasNasJobSpec(); + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJobSpec. + */ + com.google.cloud.aiplatform.v1.NasJobSpec getNasJobSpec(); + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1.NasJobSpecOrBuilder getNasJobSpecOrBuilder(); + + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the nasJobOutput field is set. + */ + boolean hasNasJobOutput(); + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The nasJobOutput. + */ + com.google.cloud.aiplatform.v1.NasJobOutput getNasJobOutput(); + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.NasJobOutputOrBuilder getNasJobOutputOrBuilder(); + + /** + * + * + *
+   * Output only. The detailed state of the job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * + * + *
+   * Output only. The detailed state of the job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.aiplatform.v1.JobState getState(); + + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the error field is set. + */ + boolean hasError(); + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. + */ + com.google.rpc.Status getError(); + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.StatusOrBuilder getErrorOrBuilder(); + + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + int getLabelsCount(); + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + * + * @return Whether the encryptionSpec field is set. + */ + boolean hasEncryptionSpec(); + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + * + * @return The encryptionSpec. + */ + com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec(); + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13; + */ + com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder(); + + /** + * + * + *
+   * Optional. Enable a separation of Custom model training
+   * and restricted image training for tenant project.
+   * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enableRestrictedImageTraining. + */ + boolean getEnableRestrictedImageTraining(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobOutput.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobOutput.java new file mode 100644 index 000000000000..13fb625820a7 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobOutput.java @@ -0,0 +1,2521 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Represents a uCAIP NasJob output.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJobOutput} + */ +public final class NasJobOutput extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasJobOutput) + NasJobOutputOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasJobOutput.newBuilder() to construct. + private NasJobOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasJobOutput() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasJobOutput(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobOutput.class, + com.google.cloud.aiplatform.v1.NasJobOutput.Builder.class); + } + + public interface MultiTrialJobOutputOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List getSearchTrialsList(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.NasTrial getSearchTrials(int index); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getSearchTrialsCount(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getSearchTrialsOrBuilderList(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.NasTrialOrBuilder getSearchTrialsOrBuilder(int index); + + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List getTrainTrialsList(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.NasTrial getTrainTrials(int index); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getTrainTrialsCount(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getTrainTrialsOrBuilderList(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.NasTrialOrBuilder getTrainTrialsOrBuilder(int index); + } + /** + * + * + *
+   * The output of a multi-trial Neural Architecture Search (NAS) jobs.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput} + */ + public static final class MultiTrialJobOutput extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) + MultiTrialJobOutputOrBuilder { + private static final long serialVersionUID = 0L; + // Use MultiTrialJobOutput.newBuilder() to construct. + private MultiTrialJobOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MultiTrialJobOutput() { + searchTrials_ = java.util.Collections.emptyList(); + trainTrials_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MultiTrialJobOutput(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.class, + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.Builder.class); + } + + public static final int SEARCH_TRIALS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List searchTrials_; + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List getSearchTrialsList() { + return searchTrials_; + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getSearchTrialsOrBuilderList() { + return searchTrials_; + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getSearchTrialsCount() { + return searchTrials_.size(); + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial getSearchTrials(int index) { + return searchTrials_.get(index); + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialOrBuilder getSearchTrialsOrBuilder(int index) { + return searchTrials_.get(index); + } + + public static final int TRAIN_TRIALS_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private java.util.List trainTrials_; + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List getTrainTrialsList() { + return trainTrials_; + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getTrainTrialsOrBuilderList() { + return trainTrials_; + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getTrainTrialsCount() { + return trainTrials_.size(); + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial getTrainTrials(int index) { + return trainTrials_.get(index); + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialOrBuilder getTrainTrialsOrBuilder(int index) { + return trainTrials_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < searchTrials_.size(); i++) { + output.writeMessage(1, searchTrials_.get(i)); + } + for (int i = 0; i < trainTrials_.size(); i++) { + output.writeMessage(2, trainTrials_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < searchTrials_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, searchTrials_.get(i)); + } + for (int i = 0; i < trainTrials_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, trainTrials_.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.aiplatform.v1.NasJobOutput.MultiTrialJobOutput)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput other = + (com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) obj; + + if (!getSearchTrialsList().equals(other.getSearchTrialsList())) return false; + if (!getTrainTrialsList().equals(other.getTrainTrialsList())) 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 (getSearchTrialsCount() > 0) { + hash = (37 * hash) + SEARCH_TRIALS_FIELD_NUMBER; + hash = (53 * hash) + getSearchTrialsList().hashCode(); + } + if (getTrainTrialsCount() > 0) { + hash = (37 * hash) + TRAIN_TRIALS_FIELD_NUMBER; + hash = (53 * hash) + getTrainTrialsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * The output of a multi-trial Neural Architecture Search (NAS) jobs.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.class, + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (searchTrialsBuilder_ == null) { + searchTrials_ = java.util.Collections.emptyList(); + } else { + searchTrials_ = null; + searchTrialsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (trainTrialsBuilder_ == null) { + trainTrials_ = java.util.Collections.emptyList(); + } else { + trainTrials_ = null; + trainTrialsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput build() { + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput buildPartial() { + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput result = + new com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput result) { + if (searchTrialsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + searchTrials_ = java.util.Collections.unmodifiableList(searchTrials_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.searchTrials_ = searchTrials_; + } else { + result.searchTrials_ = searchTrialsBuilder_.build(); + } + if (trainTrialsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + trainTrials_ = java.util.Collections.unmodifiableList(trainTrials_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.trainTrials_ = trainTrials_; + } else { + result.trainTrials_ = trainTrialsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) { + return mergeFrom((com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput other) { + if (other + == com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.getDefaultInstance()) + return this; + if (searchTrialsBuilder_ == null) { + if (!other.searchTrials_.isEmpty()) { + if (searchTrials_.isEmpty()) { + searchTrials_ = other.searchTrials_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSearchTrialsIsMutable(); + searchTrials_.addAll(other.searchTrials_); + } + onChanged(); + } + } else { + if (!other.searchTrials_.isEmpty()) { + if (searchTrialsBuilder_.isEmpty()) { + searchTrialsBuilder_.dispose(); + searchTrialsBuilder_ = null; + searchTrials_ = other.searchTrials_; + bitField0_ = (bitField0_ & ~0x00000001); + searchTrialsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSearchTrialsFieldBuilder() + : null; + } else { + searchTrialsBuilder_.addAllMessages(other.searchTrials_); + } + } + } + if (trainTrialsBuilder_ == null) { + if (!other.trainTrials_.isEmpty()) { + if (trainTrials_.isEmpty()) { + trainTrials_ = other.trainTrials_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTrainTrialsIsMutable(); + trainTrials_.addAll(other.trainTrials_); + } + onChanged(); + } + } else { + if (!other.trainTrials_.isEmpty()) { + if (trainTrialsBuilder_.isEmpty()) { + trainTrialsBuilder_.dispose(); + trainTrialsBuilder_ = null; + trainTrials_ = other.trainTrials_; + bitField0_ = (bitField0_ & ~0x00000002); + trainTrialsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTrainTrialsFieldBuilder() + : null; + } else { + trainTrialsBuilder_.addAllMessages(other.trainTrials_); + } + } + } + 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.aiplatform.v1.NasTrial m = + input.readMessage( + com.google.cloud.aiplatform.v1.NasTrial.parser(), extensionRegistry); + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.add(m); + } else { + searchTrialsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.aiplatform.v1.NasTrial m = + input.readMessage( + com.google.cloud.aiplatform.v1.NasTrial.parser(), extensionRegistry); + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.add(m); + } else { + trainTrialsBuilder_.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 java.util.List searchTrials_ = + java.util.Collections.emptyList(); + + private void ensureSearchTrialsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + searchTrials_ = + new java.util.ArrayList(searchTrials_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder> + searchTrialsBuilder_; + + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List getSearchTrialsList() { + if (searchTrialsBuilder_ == null) { + return java.util.Collections.unmodifiableList(searchTrials_); + } else { + return searchTrialsBuilder_.getMessageList(); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public int getSearchTrialsCount() { + if (searchTrialsBuilder_ == null) { + return searchTrials_.size(); + } else { + return searchTrialsBuilder_.getCount(); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrial getSearchTrials(int index) { + if (searchTrialsBuilder_ == null) { + return searchTrials_.get(index); + } else { + return searchTrialsBuilder_.getMessage(index); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSearchTrials(int index, com.google.cloud.aiplatform.v1.NasTrial value) { + if (searchTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSearchTrialsIsMutable(); + searchTrials_.set(index, value); + onChanged(); + } else { + searchTrialsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSearchTrials( + int index, com.google.cloud.aiplatform.v1.NasTrial.Builder builderForValue) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.set(index, builderForValue.build()); + onChanged(); + } else { + searchTrialsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addSearchTrials(com.google.cloud.aiplatform.v1.NasTrial value) { + if (searchTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSearchTrialsIsMutable(); + searchTrials_.add(value); + onChanged(); + } else { + searchTrialsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addSearchTrials(int index, com.google.cloud.aiplatform.v1.NasTrial value) { + if (searchTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSearchTrialsIsMutable(); + searchTrials_.add(index, value); + onChanged(); + } else { + searchTrialsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addSearchTrials( + com.google.cloud.aiplatform.v1.NasTrial.Builder builderForValue) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.add(builderForValue.build()); + onChanged(); + } else { + searchTrialsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addSearchTrials( + int index, com.google.cloud.aiplatform.v1.NasTrial.Builder builderForValue) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.add(index, builderForValue.build()); + onChanged(); + } else { + searchTrialsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addAllSearchTrials( + java.lang.Iterable values) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, searchTrials_); + onChanged(); + } else { + searchTrialsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearSearchTrials() { + if (searchTrialsBuilder_ == null) { + searchTrials_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + searchTrialsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeSearchTrials(int index) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.remove(index); + onChanged(); + } else { + searchTrialsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrial.Builder getSearchTrialsBuilder(int index) { + return getSearchTrialsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrialOrBuilder getSearchTrialsOrBuilder(int index) { + if (searchTrialsBuilder_ == null) { + return searchTrials_.get(index); + } else { + return searchTrialsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getSearchTrialsOrBuilderList() { + if (searchTrialsBuilder_ != null) { + return searchTrialsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(searchTrials_); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrial.Builder addSearchTrialsBuilder() { + return getSearchTrialsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance()); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrial.Builder addSearchTrialsBuilder(int index) { + return getSearchTrialsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance()); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getSearchTrialsBuilderList() { + return getSearchTrialsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder> + getSearchTrialsFieldBuilder() { + if (searchTrialsBuilder_ == null) { + searchTrialsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder>( + searchTrials_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + searchTrials_ = null; + } + return searchTrialsBuilder_; + } + + private java.util.List trainTrials_ = + java.util.Collections.emptyList(); + + private void ensureTrainTrialsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + trainTrials_ = + new java.util.ArrayList(trainTrials_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder> + trainTrialsBuilder_; + + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List getTrainTrialsList() { + if (trainTrialsBuilder_ == null) { + return java.util.Collections.unmodifiableList(trainTrials_); + } else { + return trainTrialsBuilder_.getMessageList(); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public int getTrainTrialsCount() { + if (trainTrialsBuilder_ == null) { + return trainTrials_.size(); + } else { + return trainTrialsBuilder_.getCount(); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrial getTrainTrials(int index) { + if (trainTrialsBuilder_ == null) { + return trainTrials_.get(index); + } else { + return trainTrialsBuilder_.getMessage(index); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setTrainTrials(int index, com.google.cloud.aiplatform.v1.NasTrial value) { + if (trainTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTrainTrialsIsMutable(); + trainTrials_.set(index, value); + onChanged(); + } else { + trainTrialsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setTrainTrials( + int index, com.google.cloud.aiplatform.v1.NasTrial.Builder builderForValue) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.set(index, builderForValue.build()); + onChanged(); + } else { + trainTrialsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addTrainTrials(com.google.cloud.aiplatform.v1.NasTrial value) { + if (trainTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTrainTrialsIsMutable(); + trainTrials_.add(value); + onChanged(); + } else { + trainTrialsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addTrainTrials(int index, com.google.cloud.aiplatform.v1.NasTrial value) { + if (trainTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTrainTrialsIsMutable(); + trainTrials_.add(index, value); + onChanged(); + } else { + trainTrialsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addTrainTrials( + com.google.cloud.aiplatform.v1.NasTrial.Builder builderForValue) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.add(builderForValue.build()); + onChanged(); + } else { + trainTrialsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addTrainTrials( + int index, com.google.cloud.aiplatform.v1.NasTrial.Builder builderForValue) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.add(index, builderForValue.build()); + onChanged(); + } else { + trainTrialsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addAllTrainTrials( + java.lang.Iterable values) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, trainTrials_); + onChanged(); + } else { + trainTrialsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearTrainTrials() { + if (trainTrialsBuilder_ == null) { + trainTrials_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + trainTrialsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeTrainTrials(int index) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.remove(index); + onChanged(); + } else { + trainTrialsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrial.Builder getTrainTrialsBuilder(int index) { + return getTrainTrialsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrialOrBuilder getTrainTrialsOrBuilder(int index) { + if (trainTrialsBuilder_ == null) { + return trainTrials_.get(index); + } else { + return trainTrialsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getTrainTrialsOrBuilderList() { + if (trainTrialsBuilder_ != null) { + return trainTrialsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(trainTrials_); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrial.Builder addTrainTrialsBuilder() { + return getTrainTrialsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance()); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasTrial.Builder addTrainTrialsBuilder(int index) { + return getTrainTrialsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance()); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getTrainTrialsBuilderList() { + return getTrainTrialsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder> + getTrainTrialsFieldBuilder() { + if (trainTrialsBuilder_ == null) { + trainTrialsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder>( + trainTrials_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + trainTrials_ = null; + } + return trainTrialsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) + private static final com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput(); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiTrialJobOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int outputCase_ = 0; + private java.lang.Object output_; + + public enum OutputCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + MULTI_TRIAL_JOB_OUTPUT(1), + OUTPUT_NOT_SET(0); + private final int value; + + private OutputCase(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 OutputCase valueOf(int value) { + return forNumber(value); + } + + public static OutputCase forNumber(int value) { + switch (value) { + case 1: + return MULTI_TRIAL_JOB_OUTPUT; + case 0: + return OUTPUT_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); + } + + public static final int MULTI_TRIAL_JOB_OUTPUT_FIELD_NUMBER = 1; + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the multiTrialJobOutput field is set. + */ + @java.lang.Override + public boolean hasMultiTrialJobOutput() { + return outputCase_ == 1; + } + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The multiTrialJobOutput. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput getMultiTrialJobOutput() { + if (outputCase_ == 1) { + return (com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) output_; + } + return com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.getDefaultInstance(); + } + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutputOrBuilder + getMultiTrialJobOutputOrBuilder() { + if (outputCase_ == 1) { + return (com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) output_; + } + return com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.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 (outputCase_ == 1) { + output.writeMessage( + 1, (com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) output_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (outputCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) output_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.NasJobOutput)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasJobOutput other = + (com.google.cloud.aiplatform.v1.NasJobOutput) obj; + + if (!getOutputCase().equals(other.getOutputCase())) return false; + switch (outputCase_) { + case 1: + if (!getMultiTrialJobOutput().equals(other.getMultiTrialJobOutput())) 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 (outputCase_) { + case 1: + hash = (37 * hash) + MULTI_TRIAL_JOB_OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getMultiTrialJobOutput().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.NasJobOutput prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a uCAIP NasJob output.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJobOutput} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasJobOutput) + com.google.cloud.aiplatform.v1.NasJobOutputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobOutput.class, + com.google.cloud.aiplatform.v1.NasJobOutput.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.NasJobOutput.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (multiTrialJobOutputBuilder_ != null) { + multiTrialJobOutputBuilder_.clear(); + } + outputCase_ = 0; + output_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobOutput_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasJobOutput.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput build() { + com.google.cloud.aiplatform.v1.NasJobOutput result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput buildPartial() { + com.google.cloud.aiplatform.v1.NasJobOutput result = + new com.google.cloud.aiplatform.v1.NasJobOutput(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.NasJobOutput result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.aiplatform.v1.NasJobOutput result) { + result.outputCase_ = outputCase_; + result.output_ = this.output_; + if (outputCase_ == 1 && multiTrialJobOutputBuilder_ != null) { + result.output_ = multiTrialJobOutputBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.NasJobOutput) { + return mergeFrom((com.google.cloud.aiplatform.v1.NasJobOutput) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.NasJobOutput other) { + if (other == com.google.cloud.aiplatform.v1.NasJobOutput.getDefaultInstance()) return this; + switch (other.getOutputCase()) { + case MULTI_TRIAL_JOB_OUTPUT: + { + mergeMultiTrialJobOutput(other.getMultiTrialJobOutput()); + break; + } + case OUTPUT_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( + getMultiTrialJobOutputFieldBuilder().getBuilder(), extensionRegistry); + outputCase_ = 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 outputCase_ = 0; + private java.lang.Object output_; + + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); + } + + public Builder clearOutput() { + outputCase_ = 0; + output_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput, + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.Builder, + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutputOrBuilder> + multiTrialJobOutputBuilder_; + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the multiTrialJobOutput field is set. + */ + @java.lang.Override + public boolean hasMultiTrialJobOutput() { + return outputCase_ == 1; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The multiTrialJobOutput. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput + getMultiTrialJobOutput() { + if (multiTrialJobOutputBuilder_ == null) { + if (outputCase_ == 1) { + return (com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) output_; + } + return com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.getDefaultInstance(); + } else { + if (outputCase_ == 1) { + return multiTrialJobOutputBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.getDefaultInstance(); + } + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setMultiTrialJobOutput( + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput value) { + if (multiTrialJobOutputBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + output_ = value; + onChanged(); + } else { + multiTrialJobOutputBuilder_.setMessage(value); + } + outputCase_ = 1; + return this; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setMultiTrialJobOutput( + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.Builder builderForValue) { + if (multiTrialJobOutputBuilder_ == null) { + output_ = builderForValue.build(); + onChanged(); + } else { + multiTrialJobOutputBuilder_.setMessage(builderForValue.build()); + } + outputCase_ = 1; + return this; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeMultiTrialJobOutput( + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput value) { + if (multiTrialJobOutputBuilder_ == null) { + if (outputCase_ == 1 + && output_ + != com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput + .getDefaultInstance()) { + output_ = + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.newBuilder( + (com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) output_) + .mergeFrom(value) + .buildPartial(); + } else { + output_ = value; + } + onChanged(); + } else { + if (outputCase_ == 1) { + multiTrialJobOutputBuilder_.mergeFrom(value); + } else { + multiTrialJobOutputBuilder_.setMessage(value); + } + } + outputCase_ = 1; + return this; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearMultiTrialJobOutput() { + if (multiTrialJobOutputBuilder_ == null) { + if (outputCase_ == 1) { + outputCase_ = 0; + output_ = null; + onChanged(); + } + } else { + if (outputCase_ == 1) { + outputCase_ = 0; + output_ = null; + } + multiTrialJobOutputBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.Builder + getMultiTrialJobOutputBuilder() { + return getMultiTrialJobOutputFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutputOrBuilder + getMultiTrialJobOutputOrBuilder() { + if ((outputCase_ == 1) && (multiTrialJobOutputBuilder_ != null)) { + return multiTrialJobOutputBuilder_.getMessageOrBuilder(); + } else { + if (outputCase_ == 1) { + return (com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) output_; + } + return com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.getDefaultInstance(); + } + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput, + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.Builder, + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutputOrBuilder> + getMultiTrialJobOutputFieldBuilder() { + if (multiTrialJobOutputBuilder_ == null) { + if (!(outputCase_ == 1)) { + output_ = + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.getDefaultInstance(); + } + multiTrialJobOutputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput, + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput.Builder, + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutputOrBuilder>( + (com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput) output_, + getParentForChildren(), + isClean()); + output_ = null; + } + outputCase_ = 1; + onChanged(); + return multiTrialJobOutputBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasJobOutput) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasJobOutput) + private static final com.google.cloud.aiplatform.v1.NasJobOutput DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.NasJobOutput(); + } + + public static com.google.cloud.aiplatform.v1.NasJobOutput getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasJobOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobOutput getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobOutputOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobOutputOrBuilder.java new file mode 100644 index 000000000000..e86afcf19e42 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobOutputOrBuilder.java @@ -0,0 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +public interface NasJobOutputOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasJobOutput) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the multiTrialJobOutput field is set. + */ + boolean hasMultiTrialJobOutput(); + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The multiTrialJobOutput. + */ + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput getMultiTrialJobOutput(); + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutputOrBuilder + getMultiTrialJobOutputOrBuilder(); + + public com.google.cloud.aiplatform.v1.NasJobOutput.OutputCase getOutputCase(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobProto.java new file mode 100644 index 000000000000..95549e22248e --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobProto.java @@ -0,0 +1,313 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +public final class NasJobProto { + private NasJobProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasJob_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasJob_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasTrialDetail_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasTrialDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasJobSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasJobSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasJobOutput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasJobOutput_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_NasTrial_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_NasTrial_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/aiplatform/v1/nas_job.pro" + + "to\022\032google.cloud.aiplatform.v1\032\037google/a" + + "pi/field_behavior.proto\032\031google/api/reso" + + "urce.proto\032+google/cloud/aiplatform/v1/c" + + "ustom_job.proto\0320google/cloud/aiplatform" + + "/v1/encryption_spec.proto\032*google/cloud/" + + "aiplatform/v1/job_state.proto\032&google/cl" + + "oud/aiplatform/v1/study.proto\032\037google/pr" + + "otobuf/timestamp.proto\032\027google/rpc/statu" + + "s.proto\"\273\006\n\006NasJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n" + + "\014display_name\030\002 \001(\tB\003\340A\002\022A\n\014nas_job_spec" + + "\030\004 \001(\0132&.google.cloud.aiplatform.v1.NasJ" + + "obSpecB\003\340A\002\022E\n\016nas_job_output\030\005 \001(\0132(.go" + + "ogle.cloud.aiplatform.v1.NasJobOutputB\003\340" + + "A\003\0228\n\005state\030\006 \001(\0162$.google.cloud.aiplatf" + + "orm.v1.JobStateB\003\340A\003\0224\n\013create_time\030\007 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\0223\n\nst" + + "art_time\030\010 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0221\n\010end_time\030\t \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\n \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022&\n\005erro" + + "r\030\013 \001(\0132\022.google.rpc.StatusB\003\340A\003\022>\n\006labe" + + "ls\030\014 \003(\0132..google.cloud.aiplatform.v1.Na" + + "sJob.LabelsEntry\022C\n\017encryption_spec\030\r \001(" + + "\0132*.google.cloud.aiplatform.v1.Encryptio" + + "nSpec\022-\n enable_restricted_image_trainin" + + "g\030\016 \001(\010B\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001:`\352A]\n aiplatform.goo" + + "gleapis.com/NasJob\0229projects/{project}/l" + + "ocations/{location}/nasJobs/{nas_job}\"\275\002" + + "\n\016NasTrialDetail\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\022\n\np" + + "arameters\030\002 \001(\t\022:\n\014search_trial\030\003 \001(\0132$." + + "google.cloud.aiplatform.v1.NasTrial\0229\n\013t" + + "rain_trial\030\004 \001(\0132$.google.cloud.aiplatfo" + + "rm.v1.NasTrial:\214\001\352A\210\001\n(aiplatform.google" + + "apis.com/NasTrialDetail\022\\projects/{proje" + + "ct}/locations/{location}/nasJobs/{nas_jo" + + "b}/nasTrialDetails/{nas_trial_detail}\"\245\n" + + "\n\nNasJobSpec\022d\n\032multi_trial_algorithm_sp" + + "ec\030\002 \001(\0132>.google.cloud.aiplatform.v1.Na" + + "sJobSpec.MultiTrialAlgorithmSpecH\000\022\031\n\021re" + + "sume_nas_job_id\030\003 \001(\t\022\031\n\021search_space_sp" + + "ec\030\001 \001(\t\032\344\010\n\027MultiTrialAlgorithmSpec\022q\n\025" + + "multi_trial_algorithm\030\001 \001(\0162R.google.clo" + + "ud.aiplatform.v1.NasJobSpec.MultiTrialAl" + + "gorithmSpec.MultiTrialAlgorithm\022Y\n\006metri" + + "c\030\002 \001(\0132I.google.cloud.aiplatform.v1.Nas" + + "JobSpec.MultiTrialAlgorithmSpec.MetricSp" + + "ec\022n\n\021search_trial_spec\030\003 \001(\0132N.google.c" + + "loud.aiplatform.v1.NasJobSpec.MultiTrial" + + "AlgorithmSpec.SearchTrialSpecB\003\340A\002\022g\n\020tr" + + "ain_trial_spec\030\004 \001(\0132M.google.cloud.aipl" + + "atform.v1.NasJobSpec.MultiTrialAlgorithm" + + "Spec.TrainTrialSpec\032\316\001\n\nMetricSpec\022\026\n\tme" + + "tric_id\030\001 \001(\tB\003\340A\002\022e\n\004goal\030\002 \001(\0162R.googl" + + "e.cloud.aiplatform.v1.NasJobSpec.MultiTr" + + "ialAlgorithmSpec.MetricSpec.GoalTypeB\003\340A" + + "\002\"A\n\010GoalType\022\031\n\025GOAL_TYPE_UNSPECIFIED\020\000" + + "\022\014\n\010MAXIMIZE\020\001\022\014\n\010MINIMIZE\020\002\032\305\001\n\017SearchT" + + "rialSpec\022M\n\025search_trial_job_spec\030\001 \001(\0132" + + ").google.cloud.aiplatform.v1.CustomJobSp" + + "ecB\003\340A\002\022\034\n\017max_trial_count\030\002 \001(\005B\003\340A\002\022%\n" + + "\030max_parallel_trial_count\030\003 \001(\005B\003\340A\002\022\036\n\026" + + "max_failed_trial_count\030\004 \001(\005\032\235\001\n\016TrainTr" + + "ialSpec\022L\n\024train_trial_job_spec\030\001 \001(\0132)." + + "google.cloud.aiplatform.v1.CustomJobSpec" + + "B\003\340A\002\022%\n\030max_parallel_trial_count\030\002 \001(\005B" + + "\003\340A\002\022\026\n\tfrequency\030\003 \001(\005B\003\340A\002\"i\n\023MultiTri" + + "alAlgorithm\022%\n!MULTI_TRIAL_ALGORITHM_UNS" + + "PECIFIED\020\000\022\032\n\026REINFORCEMENT_LEARNING\020\001\022\017" + + "\n\013GRID_SEARCH\020\002B\024\n\022nas_algorithm_spec\"\230\002" + + "\n\014NasJobOutput\022c\n\026multi_trial_job_output" + + "\030\001 \001(\0132<.google.cloud.aiplatform.v1.NasJ" + + "obOutput.MultiTrialJobOutputB\003\340A\003H\000\032\230\001\n\023" + + "MultiTrialJobOutput\022@\n\rsearch_trials\030\001 \003" + + "(\0132$.google.cloud.aiplatform.v1.NasTrial" + + "B\003\340A\003\022?\n\014train_trials\030\002 \003(\0132$.google.clo" + + "ud.aiplatform.v1.NasTrialB\003\340A\003B\010\n\006output" + + "\"\364\002\n\010NasTrial\022\017\n\002id\030\001 \001(\tB\003\340A\003\022>\n\005state\030" + + "\002 \001(\0162*.google.cloud.aiplatform.v1.NasTr" + + "ial.StateB\003\340A\003\022G\n\021final_measurement\030\003 \001(" + + "\0132\'.google.cloud.aiplatform.v1.Measureme" + + "ntB\003\340A\003\0223\n\nstart_time\030\004 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\"f\n\005State" + + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tREQUESTED\020\001\022\n" + + "\n\006ACTIVE\020\002\022\014\n\010STOPPING\020\003\022\r\n\tSUCCEEDED\020\004\022" + + "\016\n\nINFEASIBLE\020\005B\311\001\n\036com.google.cloud.aip" + + "latform.v1B\013NasJobProtoP\001Z>cloud.google." + + "com/go/aiplatform/apiv1/aiplatformpb;aip" + + "latformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002" + + "\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::Cl" + + "oud::AIPlatform::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.aiplatform.v1.CustomJobProto.getDescriptor(), + com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(), + com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor(), + com.google.cloud.aiplatform.v1.StudyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_aiplatform_v1_NasJob_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_aiplatform_v1_NasJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasJob_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "NasJobSpec", + "NasJobOutput", + "State", + "CreateTime", + "StartTime", + "EndTime", + "UpdateTime", + "Error", + "Labels", + "EncryptionSpec", + "EnableRestrictedImageTraining", + }); + internal_static_google_cloud_aiplatform_v1_NasJob_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1_NasJob_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_aiplatform_v1_NasJob_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasJob_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_aiplatform_v1_NasTrialDetail_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_aiplatform_v1_NasTrialDetail_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasTrialDetail_descriptor, + new java.lang.String[] { + "Name", "Parameters", "SearchTrial", "TrainTrial", + }); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasJobSpec_descriptor, + new java.lang.String[] { + "MultiTrialAlgorithmSpec", "ResumeNasJobId", "SearchSpaceSpec", "NasAlgorithmSpec", + }); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor = + internal_static_google_cloud_aiplatform_v1_NasJobSpec_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor, + new java.lang.String[] { + "MultiTrialAlgorithm", "Metric", "SearchTrialSpec", "TrainTrialSpec", + }); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor = + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor, + new java.lang.String[] { + "MetricId", "Goal", + }); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor = + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor, + new java.lang.String[] { + "SearchTrialJobSpec", "MaxTrialCount", "MaxParallelTrialCount", "MaxFailedTrialCount", + }); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor = + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor, + new java.lang.String[] { + "TrainTrialJobSpec", "MaxParallelTrialCount", "Frequency", + }); + internal_static_google_cloud_aiplatform_v1_NasJobOutput_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_aiplatform_v1_NasJobOutput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasJobOutput_descriptor, + new java.lang.String[] { + "MultiTrialJobOutput", "Output", + }); + internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_descriptor = + internal_static_google_cloud_aiplatform_v1_NasJobOutput_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasJobOutput_MultiTrialJobOutput_descriptor, + new java.lang.String[] { + "SearchTrials", "TrainTrials", + }); + internal_static_google_cloud_aiplatform_v1_NasTrial_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_aiplatform_v1_NasTrial_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_NasTrial_descriptor, + new java.lang.String[] { + "Id", "State", "FinalMeasurement", "StartTime", "EndTime", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.aiplatform.v1.CustomJobProto.getDescriptor(); + com.google.cloud.aiplatform.v1.EncryptionSpecProto.getDescriptor(); + com.google.cloud.aiplatform.v1.JobStateProto.getDescriptor(); + com.google.cloud.aiplatform.v1.StudyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobSpec.java new file mode 100644 index 000000000000..5a4a9734a633 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobSpec.java @@ -0,0 +1,6481 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Represents the spec of a NasJob.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJobSpec} + */ +public final class NasJobSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasJobSpec) + NasJobSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasJobSpec.newBuilder() to construct. + private NasJobSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasJobSpec() { + resumeNasJobId_ = ""; + searchSpaceSpec_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasJobSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.class, + com.google.cloud.aiplatform.v1.NasJobSpec.Builder.class); + } + + public interface MultiTrialAlgorithmSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The multi-trial Neural Architecture Search (NAS) algorithm
+     * type. Defaults to `REINFORCEMENT_LEARNING`.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The enum numeric value on the wire for multiTrialAlgorithm. + */ + int getMultiTrialAlgorithmValue(); + /** + * + * + *
+     * The multi-trial Neural Architecture Search (NAS) algorithm
+     * type. Defaults to `REINFORCEMENT_LEARNING`.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The multiTrialAlgorithm. + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + getMultiTrialAlgorithm(); + + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return Whether the metric field is set. + */ + boolean hasMetric(); + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return The metric. + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec getMetric(); + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder + getMetricOrBuilder(); + + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialSpec field is set. + */ + boolean hasSearchTrialSpec(); + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialSpec. + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + getSearchTrialSpec(); + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpecOrBuilder + getSearchTrialSpecOrBuilder(); + + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return Whether the trainTrialSpec field is set. + */ + boolean hasTrainTrialSpec(); + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return The trainTrialSpec. + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getTrainTrialSpec(); + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpecOrBuilder + getTrainTrialSpecOrBuilder(); + } + /** + * + * + *
+   * The spec of multi-trial Neural Architecture Search (NAS).
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec} + */ + public static final class MultiTrialAlgorithmSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + MultiTrialAlgorithmSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use MultiTrialAlgorithmSpec.newBuilder() to construct. + private MultiTrialAlgorithmSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MultiTrialAlgorithmSpec() { + multiTrialAlgorithm_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MultiTrialAlgorithmSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.class, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.Builder.class); + } + + /** + * + * + *
+     * The available types of multi-trial algorithms.
+     * 
+ * + * Protobuf enum {@code + * google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm} + */ + public enum MultiTrialAlgorithm implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * MULTI_TRIAL_ALGORITHM_UNSPECIFIED = 0; + */ + MULTI_TRIAL_ALGORITHM_UNSPECIFIED(0), + /** + * + * + *
+       * The Reinforcement Learning Algorithm for Multi-trial Neural
+       * Architecture Search (NAS).
+       * 
+ * + * REINFORCEMENT_LEARNING = 1; + */ + REINFORCEMENT_LEARNING(1), + /** + * + * + *
+       * The Grid Search Algorithm for Multi-trial Neural
+       * Architecture Search (NAS).
+       * 
+ * + * GRID_SEARCH = 2; + */ + GRID_SEARCH(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * MULTI_TRIAL_ALGORITHM_UNSPECIFIED = 0; + */ + public static final int MULTI_TRIAL_ALGORITHM_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * The Reinforcement Learning Algorithm for Multi-trial Neural
+       * Architecture Search (NAS).
+       * 
+ * + * REINFORCEMENT_LEARNING = 1; + */ + public static final int REINFORCEMENT_LEARNING_VALUE = 1; + /** + * + * + *
+       * The Grid Search Algorithm for Multi-trial Neural
+       * Architecture Search (NAS).
+       * 
+ * + * GRID_SEARCH = 2; + */ + public static final int GRID_SEARCH_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 MultiTrialAlgorithm 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 MultiTrialAlgorithm forNumber(int value) { + switch (value) { + case 0: + return MULTI_TRIAL_ALGORITHM_UNSPECIFIED; + case 1: + return REINFORCEMENT_LEARNING; + case 2: + return GRID_SEARCH; + 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 MultiTrialAlgorithm findValueByNumber(int number) { + return MultiTrialAlgorithm.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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final MultiTrialAlgorithm[] VALUES = values(); + + public static MultiTrialAlgorithm 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 MultiTrialAlgorithm(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm) + } + + public interface MetricSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Required. The ID of the metric. Must not contain whitespaces.
+       * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The metricId. + */ + java.lang.String getMetricId(); + /** + * + * + *
+       * Required. The ID of the metric. Must not contain whitespaces.
+       * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for metricId. + */ + com.google.protobuf.ByteString getMetricIdBytes(); + + /** + * + * + *
+       * Required. The optimization goal of the metric.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for goal. + */ + int getGoalValue(); + /** + * + * + *
+       * Required. The optimization goal of the metric.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The goal. + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + getGoal(); + } + /** + * + * + *
+     * Represents a metric to optimize.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec} + */ + public static final class MetricSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + MetricSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use MetricSpec.newBuilder() to construct. + private MetricSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MetricSpec() { + metricId_ = ""; + goal_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MetricSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.class, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.Builder + .class); + } + + /** + * + * + *
+       * The available types of optimization goals.
+       * 
+ * + * Protobuf enum {@code + * google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType} + */ + public enum GoalType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+         * Goal Type will default to maximize.
+         * 
+ * + * GOAL_TYPE_UNSPECIFIED = 0; + */ + GOAL_TYPE_UNSPECIFIED(0), + /** + * + * + *
+         * Maximize the goal metric.
+         * 
+ * + * MAXIMIZE = 1; + */ + MAXIMIZE(1), + /** + * + * + *
+         * Minimize the goal metric.
+         * 
+ * + * MINIMIZE = 2; + */ + MINIMIZE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+         * Goal Type will default to maximize.
+         * 
+ * + * GOAL_TYPE_UNSPECIFIED = 0; + */ + public static final int GOAL_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+         * Maximize the goal metric.
+         * 
+ * + * MAXIMIZE = 1; + */ + public static final int MAXIMIZE_VALUE = 1; + /** + * + * + *
+         * Minimize the goal metric.
+         * 
+ * + * MINIMIZE = 2; + */ + public static final int MINIMIZE_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 GoalType 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 GoalType forNumber(int value) { + switch (value) { + case 0: + return GOAL_TYPE_UNSPECIFIED; + case 1: + return MAXIMIZE; + case 2: + return MINIMIZE; + 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 GoalType findValueByNumber(int number) { + return GoalType.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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final GoalType[] VALUES = values(); + + public static GoalType 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 GoalType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType) + } + + public static final int METRIC_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object metricId_ = ""; + /** + * + * + *
+       * Required. The ID of the metric. Must not contain whitespaces.
+       * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The metricId. + */ + @java.lang.Override + public java.lang.String getMetricId() { + java.lang.Object ref = metricId_; + 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(); + metricId_ = s; + return s; + } + } + /** + * + * + *
+       * Required. The ID of the metric. Must not contain whitespaces.
+       * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for metricId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getMetricIdBytes() { + java.lang.Object ref = metricId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + metricId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GOAL_FIELD_NUMBER = 2; + private int goal_ = 0; + /** + * + * + *
+       * Required. The optimization goal of the metric.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for goal. + */ + @java.lang.Override + public int getGoalValue() { + return goal_; + } + /** + * + * + *
+       * Required. The optimization goal of the metric.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The goal. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + getGoal() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + result = + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType.forNumber(goal_); + return result == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + .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.GeneratedMessageV3.isStringEmpty(metricId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricId_); + } + if (goal_ + != com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + .GOAL_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, goal_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricId_); + } + if (goal_ + != com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + .GOAL_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, goal_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec other = + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) obj; + + if (!getMetricId().equals(other.getMetricId())) return false; + if (goal_ != other.goal_) 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) + METRIC_ID_FIELD_NUMBER; + hash = (53 * hash) + getMetricId().hashCode(); + hash = (37 * hash) + GOAL_FIELD_NUMBER; + hash = (53 * hash) + goal_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Represents a metric to optimize.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .class, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + metricId_ = ""; + goal_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + build() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + buildPartial() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec result = + new com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.metricId_ = metricId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.goal_ = goal_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec other) { + if (other + == com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance()) return this; + if (!other.getMetricId().isEmpty()) { + metricId_ = other.metricId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.goal_ != 0) { + setGoalValue(other.getGoalValue()); + } + 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: + { + metricId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + goal_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + 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 metricId_ = ""; + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The metricId. + */ + public java.lang.String getMetricId() { + java.lang.Object ref = metricId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + metricId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for metricId. + */ + public com.google.protobuf.ByteString getMetricIdBytes() { + java.lang.Object ref = metricId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + metricId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The metricId to set. + * @return This builder for chaining. + */ + public Builder setMetricId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + metricId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearMetricId() { + metricId_ = getDefaultInstance().getMetricId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for metricId to set. + * @return This builder for chaining. + */ + public Builder setMetricIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metricId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int goal_ = 0; + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for goal. + */ + @java.lang.Override + public int getGoalValue() { + return goal_; + } + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The enum numeric value on the wire for goal to set. + * @return This builder for chaining. + */ + public Builder setGoalValue(int value) { + goal_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The goal. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + getGoal() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + result = + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType.forNumber(goal_); + return result == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType.UNRECOGNIZED + : result; + } + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The goal to set. + * @return This builder for chaining. + */ + public Builder setGoal( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + goal_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearGoal() { + bitField0_ = (bitField0_ & ~0x00000002); + goal_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + private static final com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec(); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface SearchTrialSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialJobSpec field is set. + */ + boolean hasSearchTrialJobSpec(); + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialJobSpec. + */ + com.google.cloud.aiplatform.v1.CustomJobSpec getSearchTrialJobSpec(); + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder getSearchTrialJobSpecOrBuilder(); + + /** + * + * + *
+       * Required. The maximum number of Neural Architecture Search (NAS) trials
+       * to run.
+       * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxTrialCount. + */ + int getMaxTrialCount(); + + /** + * + * + *
+       * Required. The maximum number of trials to run in parallel.
+       * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxParallelTrialCount. + */ + int getMaxParallelTrialCount(); + + /** + * + * + *
+       * The number of failed trials that need to be seen before failing
+       * the NasJob.
+       * If set to 0, Vertex AI decides how many trials must fail
+       * before the whole job fails.
+       * 
+ * + * int32 max_failed_trial_count = 4; + * + * @return The maxFailedTrialCount. + */ + int getMaxFailedTrialCount(); + } + /** + * + * + *
+     * Represent spec for search trials.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec} + */ + public static final class SearchTrialSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + SearchTrialSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use SearchTrialSpec.newBuilder() to construct. + private SearchTrialSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SearchTrialSpec() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SearchTrialSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .class, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder.class); + } + + public static final int SEARCH_TRIAL_JOB_SPEC_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1.CustomJobSpec searchTrialJobSpec_; + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialJobSpec field is set. + */ + @java.lang.Override + public boolean hasSearchTrialJobSpec() { + return searchTrialJobSpec_ != null; + } + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialJobSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.CustomJobSpec getSearchTrialJobSpec() { + return searchTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance() + : searchTrialJobSpec_; + } + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder + getSearchTrialJobSpecOrBuilder() { + return searchTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance() + : searchTrialJobSpec_; + } + + public static final int MAX_TRIAL_COUNT_FIELD_NUMBER = 2; + private int maxTrialCount_ = 0; + /** + * + * + *
+       * Required. The maximum number of Neural Architecture Search (NAS) trials
+       * to run.
+       * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxTrialCount. + */ + @java.lang.Override + public int getMaxTrialCount() { + return maxTrialCount_; + } + + public static final int MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER = 3; + private int maxParallelTrialCount_ = 0; + /** + * + * + *
+       * Required. The maximum number of trials to run in parallel.
+       * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxParallelTrialCount. + */ + @java.lang.Override + public int getMaxParallelTrialCount() { + return maxParallelTrialCount_; + } + + public static final int MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER = 4; + private int maxFailedTrialCount_ = 0; + /** + * + * + *
+       * The number of failed trials that need to be seen before failing
+       * the NasJob.
+       * If set to 0, Vertex AI decides how many trials must fail
+       * before the whole job fails.
+       * 
+ * + * int32 max_failed_trial_count = 4; + * + * @return The maxFailedTrialCount. + */ + @java.lang.Override + public int getMaxFailedTrialCount() { + return maxFailedTrialCount_; + } + + 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 (searchTrialJobSpec_ != null) { + output.writeMessage(1, getSearchTrialJobSpec()); + } + if (maxTrialCount_ != 0) { + output.writeInt32(2, maxTrialCount_); + } + if (maxParallelTrialCount_ != 0) { + output.writeInt32(3, maxParallelTrialCount_); + } + if (maxFailedTrialCount_ != 0) { + output.writeInt32(4, maxFailedTrialCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (searchTrialJobSpec_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSearchTrialJobSpec()); + } + if (maxTrialCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxTrialCount_); + } + if (maxParallelTrialCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxParallelTrialCount_); + } + if (maxFailedTrialCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, maxFailedTrialCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec other = + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) obj; + + if (hasSearchTrialJobSpec() != other.hasSearchTrialJobSpec()) return false; + if (hasSearchTrialJobSpec()) { + if (!getSearchTrialJobSpec().equals(other.getSearchTrialJobSpec())) return false; + } + if (getMaxTrialCount() != other.getMaxTrialCount()) return false; + if (getMaxParallelTrialCount() != other.getMaxParallelTrialCount()) return false; + if (getMaxFailedTrialCount() != other.getMaxFailedTrialCount()) 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 (hasSearchTrialJobSpec()) { + hash = (37 * hash) + SEARCH_TRIAL_JOB_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSearchTrialJobSpec().hashCode(); + } + hash = (37 * hash) + MAX_TRIAL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getMaxTrialCount(); + hash = (37 * hash) + MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getMaxParallelTrialCount(); + hash = (37 * hash) + MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getMaxFailedTrialCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Represent spec for search trials.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .class, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + searchTrialJobSpec_ = null; + if (searchTrialJobSpecBuilder_ != null) { + searchTrialJobSpecBuilder_.dispose(); + searchTrialJobSpecBuilder_ = null; + } + maxTrialCount_ = 0; + maxParallelTrialCount_ = 0; + maxFailedTrialCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + build() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + buildPartial() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec result = + new com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.searchTrialJobSpec_ = + searchTrialJobSpecBuilder_ == null + ? searchTrialJobSpec_ + : searchTrialJobSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxTrialCount_ = maxTrialCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.maxParallelTrialCount_ = maxParallelTrialCount_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.maxFailedTrialCount_ = maxFailedTrialCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + other) { + if (other + == com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .getDefaultInstance()) return this; + if (other.hasSearchTrialJobSpec()) { + mergeSearchTrialJobSpec(other.getSearchTrialJobSpec()); + } + if (other.getMaxTrialCount() != 0) { + setMaxTrialCount(other.getMaxTrialCount()); + } + if (other.getMaxParallelTrialCount() != 0) { + setMaxParallelTrialCount(other.getMaxParallelTrialCount()); + } + if (other.getMaxFailedTrialCount() != 0) { + setMaxFailedTrialCount(other.getMaxFailedTrialCount()); + } + 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( + getSearchTrialJobSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + maxTrialCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + maxParallelTrialCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + maxFailedTrialCount_ = input.readInt32(); + 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 com.google.cloud.aiplatform.v1.CustomJobSpec searchTrialJobSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.CustomJobSpec, + com.google.cloud.aiplatform.v1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder> + searchTrialJobSpecBuilder_; + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialJobSpec field is set. + */ + public boolean hasSearchTrialJobSpec() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialJobSpec. + */ + public com.google.cloud.aiplatform.v1.CustomJobSpec getSearchTrialJobSpec() { + if (searchTrialJobSpecBuilder_ == null) { + return searchTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance() + : searchTrialJobSpec_; + } else { + return searchTrialJobSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchTrialJobSpec(com.google.cloud.aiplatform.v1.CustomJobSpec value) { + if (searchTrialJobSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + searchTrialJobSpec_ = value; + } else { + searchTrialJobSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchTrialJobSpec( + com.google.cloud.aiplatform.v1.CustomJobSpec.Builder builderForValue) { + if (searchTrialJobSpecBuilder_ == null) { + searchTrialJobSpec_ = builderForValue.build(); + } else { + searchTrialJobSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeSearchTrialJobSpec(com.google.cloud.aiplatform.v1.CustomJobSpec value) { + if (searchTrialJobSpecBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && searchTrialJobSpec_ != null + && searchTrialJobSpec_ + != com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance()) { + getSearchTrialJobSpecBuilder().mergeFrom(value); + } else { + searchTrialJobSpec_ = value; + } + } else { + searchTrialJobSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSearchTrialJobSpec() { + bitField0_ = (bitField0_ & ~0x00000001); + searchTrialJobSpec_ = null; + if (searchTrialJobSpecBuilder_ != null) { + searchTrialJobSpecBuilder_.dispose(); + searchTrialJobSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.CustomJobSpec.Builder getSearchTrialJobSpecBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getSearchTrialJobSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder + getSearchTrialJobSpecOrBuilder() { + if (searchTrialJobSpecBuilder_ != null) { + return searchTrialJobSpecBuilder_.getMessageOrBuilder(); + } else { + return searchTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance() + : searchTrialJobSpec_; + } + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.CustomJobSpec, + com.google.cloud.aiplatform.v1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder> + getSearchTrialJobSpecFieldBuilder() { + if (searchTrialJobSpecBuilder_ == null) { + searchTrialJobSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.CustomJobSpec, + com.google.cloud.aiplatform.v1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder>( + getSearchTrialJobSpec(), getParentForChildren(), isClean()); + searchTrialJobSpec_ = null; + } + return searchTrialJobSpecBuilder_; + } + + private int maxTrialCount_; + /** + * + * + *
+         * Required. The maximum number of Neural Architecture Search (NAS) trials
+         * to run.
+         * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxTrialCount. + */ + @java.lang.Override + public int getMaxTrialCount() { + return maxTrialCount_; + } + /** + * + * + *
+         * Required. The maximum number of Neural Architecture Search (NAS) trials
+         * to run.
+         * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The maxTrialCount to set. + * @return This builder for chaining. + */ + public Builder setMaxTrialCount(int value) { + + maxTrialCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The maximum number of Neural Architecture Search (NAS) trials
+         * to run.
+         * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearMaxTrialCount() { + bitField0_ = (bitField0_ & ~0x00000002); + maxTrialCount_ = 0; + onChanged(); + return this; + } + + private int maxParallelTrialCount_; + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The maxParallelTrialCount. + */ + @java.lang.Override + public int getMaxParallelTrialCount() { + return maxParallelTrialCount_; + } + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The maxParallelTrialCount to set. + * @return This builder for chaining. + */ + public Builder setMaxParallelTrialCount(int value) { + + maxParallelTrialCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearMaxParallelTrialCount() { + bitField0_ = (bitField0_ & ~0x00000004); + maxParallelTrialCount_ = 0; + onChanged(); + return this; + } + + private int maxFailedTrialCount_; + /** + * + * + *
+         * The number of failed trials that need to be seen before failing
+         * the NasJob.
+         * If set to 0, Vertex AI decides how many trials must fail
+         * before the whole job fails.
+         * 
+ * + * int32 max_failed_trial_count = 4; + * + * @return The maxFailedTrialCount. + */ + @java.lang.Override + public int getMaxFailedTrialCount() { + return maxFailedTrialCount_; + } + /** + * + * + *
+         * The number of failed trials that need to be seen before failing
+         * the NasJob.
+         * If set to 0, Vertex AI decides how many trials must fail
+         * before the whole job fails.
+         * 
+ * + * int32 max_failed_trial_count = 4; + * + * @param value The maxFailedTrialCount to set. + * @return This builder for chaining. + */ + public Builder setMaxFailedTrialCount(int value) { + + maxFailedTrialCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of failed trials that need to be seen before failing
+         * the NasJob.
+         * If set to 0, Vertex AI decides how many trials must fail
+         * before the whole job fails.
+         * 
+ * + * int32 max_failed_trial_count = 4; + * + * @return This builder for chaining. + */ + public Builder clearMaxFailedTrialCount() { + bitField0_ = (bitField0_ & ~0x00000008); + maxFailedTrialCount_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + private static final com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec(); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchTrialSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface TrainTrialSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the trainTrialJobSpec field is set. + */ + boolean hasTrainTrialJobSpec(); + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The trainTrialJobSpec. + */ + com.google.cloud.aiplatform.v1.CustomJobSpec getTrainTrialJobSpec(); + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder getTrainTrialJobSpecOrBuilder(); + + /** + * + * + *
+       * Required. The maximum number of trials to run in parallel.
+       * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxParallelTrialCount. + */ + int getMaxParallelTrialCount(); + + /** + * + * + *
+       * Required. Frequency of search trials to start train stage. Top N
+       * [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The frequency. + */ + int getFrequency(); + } + /** + * + * + *
+     * Represent spec for train trials.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec} + */ + public static final class TrainTrialSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + TrainTrialSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use TrainTrialSpec.newBuilder() to construct. + private TrainTrialSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TrainTrialSpec() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TrainTrialSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .class, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder.class); + } + + public static final int TRAIN_TRIAL_JOB_SPEC_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1.CustomJobSpec trainTrialJobSpec_; + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the trainTrialJobSpec field is set. + */ + @java.lang.Override + public boolean hasTrainTrialJobSpec() { + return trainTrialJobSpec_ != null; + } + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The trainTrialJobSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.CustomJobSpec getTrainTrialJobSpec() { + return trainTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance() + : trainTrialJobSpec_; + } + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder getTrainTrialJobSpecOrBuilder() { + return trainTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance() + : trainTrialJobSpec_; + } + + public static final int MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER = 2; + private int maxParallelTrialCount_ = 0; + /** + * + * + *
+       * Required. The maximum number of trials to run in parallel.
+       * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxParallelTrialCount. + */ + @java.lang.Override + public int getMaxParallelTrialCount() { + return maxParallelTrialCount_; + } + + public static final int FREQUENCY_FIELD_NUMBER = 3; + private int frequency_ = 0; + /** + * + * + *
+       * Required. Frequency of search trials to start train stage. Top N
+       * [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The frequency. + */ + @java.lang.Override + public int getFrequency() { + return frequency_; + } + + 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 (trainTrialJobSpec_ != null) { + output.writeMessage(1, getTrainTrialJobSpec()); + } + if (maxParallelTrialCount_ != 0) { + output.writeInt32(2, maxParallelTrialCount_); + } + if (frequency_ != 0) { + output.writeInt32(3, frequency_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (trainTrialJobSpec_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTrainTrialJobSpec()); + } + if (maxParallelTrialCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxParallelTrialCount_); + } + if (frequency_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, frequency_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec other = + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) obj; + + if (hasTrainTrialJobSpec() != other.hasTrainTrialJobSpec()) return false; + if (hasTrainTrialJobSpec()) { + if (!getTrainTrialJobSpec().equals(other.getTrainTrialJobSpec())) return false; + } + if (getMaxParallelTrialCount() != other.getMaxParallelTrialCount()) return false; + if (getFrequency() != other.getFrequency()) 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 (hasTrainTrialJobSpec()) { + hash = (37 * hash) + TRAIN_TRIAL_JOB_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getTrainTrialJobSpec().hashCode(); + } + hash = (37 * hash) + MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getMaxParallelTrialCount(); + hash = (37 * hash) + FREQUENCY_FIELD_NUMBER; + hash = (53 * hash) + getFrequency(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Represent spec for train trials.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .class, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + trainTrialJobSpec_ = null; + if (trainTrialJobSpecBuilder_ != null) { + trainTrialJobSpecBuilder_.dispose(); + trainTrialJobSpecBuilder_ = null; + } + maxParallelTrialCount_ = 0; + frequency_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + build() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + buildPartial() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec result = + new com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.trainTrialJobSpec_ = + trainTrialJobSpecBuilder_ == null + ? trainTrialJobSpec_ + : trainTrialJobSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxParallelTrialCount_ = maxParallelTrialCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.frequency_ = frequency_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + other) { + if (other + == com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .getDefaultInstance()) return this; + if (other.hasTrainTrialJobSpec()) { + mergeTrainTrialJobSpec(other.getTrainTrialJobSpec()); + } + if (other.getMaxParallelTrialCount() != 0) { + setMaxParallelTrialCount(other.getMaxParallelTrialCount()); + } + if (other.getFrequency() != 0) { + setFrequency(other.getFrequency()); + } + 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( + getTrainTrialJobSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + maxParallelTrialCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + frequency_ = input.readInt32(); + 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 com.google.cloud.aiplatform.v1.CustomJobSpec trainTrialJobSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.CustomJobSpec, + com.google.cloud.aiplatform.v1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder> + trainTrialJobSpecBuilder_; + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the trainTrialJobSpec field is set. + */ + public boolean hasTrainTrialJobSpec() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The trainTrialJobSpec. + */ + public com.google.cloud.aiplatform.v1.CustomJobSpec getTrainTrialJobSpec() { + if (trainTrialJobSpecBuilder_ == null) { + return trainTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance() + : trainTrialJobSpec_; + } else { + return trainTrialJobSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTrainTrialJobSpec(com.google.cloud.aiplatform.v1.CustomJobSpec value) { + if (trainTrialJobSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + trainTrialJobSpec_ = value; + } else { + trainTrialJobSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTrainTrialJobSpec( + com.google.cloud.aiplatform.v1.CustomJobSpec.Builder builderForValue) { + if (trainTrialJobSpecBuilder_ == null) { + trainTrialJobSpec_ = builderForValue.build(); + } else { + trainTrialJobSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeTrainTrialJobSpec(com.google.cloud.aiplatform.v1.CustomJobSpec value) { + if (trainTrialJobSpecBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && trainTrialJobSpec_ != null + && trainTrialJobSpec_ + != com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance()) { + getTrainTrialJobSpecBuilder().mergeFrom(value); + } else { + trainTrialJobSpec_ = value; + } + } else { + trainTrialJobSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearTrainTrialJobSpec() { + bitField0_ = (bitField0_ & ~0x00000001); + trainTrialJobSpec_ = null; + if (trainTrialJobSpecBuilder_ != null) { + trainTrialJobSpecBuilder_.dispose(); + trainTrialJobSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.CustomJobSpec.Builder getTrainTrialJobSpecBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getTrainTrialJobSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder + getTrainTrialJobSpecOrBuilder() { + if (trainTrialJobSpecBuilder_ != null) { + return trainTrialJobSpecBuilder_.getMessageOrBuilder(); + } else { + return trainTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance() + : trainTrialJobSpec_; + } + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.CustomJobSpec, + com.google.cloud.aiplatform.v1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder> + getTrainTrialJobSpecFieldBuilder() { + if (trainTrialJobSpecBuilder_ == null) { + trainTrialJobSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.CustomJobSpec, + com.google.cloud.aiplatform.v1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder>( + getTrainTrialJobSpec(), getParentForChildren(), isClean()); + trainTrialJobSpec_ = null; + } + return trainTrialJobSpecBuilder_; + } + + private int maxParallelTrialCount_; + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The maxParallelTrialCount. + */ + @java.lang.Override + public int getMaxParallelTrialCount() { + return maxParallelTrialCount_; + } + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The maxParallelTrialCount to set. + * @return This builder for chaining. + */ + public Builder setMaxParallelTrialCount(int value) { + + maxParallelTrialCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearMaxParallelTrialCount() { + bitField0_ = (bitField0_ & ~0x00000002); + maxParallelTrialCount_ = 0; + onChanged(); + return this; + } + + private int frequency_; + /** + * + * + *
+         * Required. Frequency of search trials to start train stage. Top N
+         * [TrainTrialSpec.max_parallel_trial_count]
+         * search trials will be trained for every M
+         * [TrainTrialSpec.frequency] trials searched.
+         * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The frequency. + */ + @java.lang.Override + public int getFrequency() { + return frequency_; + } + /** + * + * + *
+         * Required. Frequency of search trials to start train stage. Top N
+         * [TrainTrialSpec.max_parallel_trial_count]
+         * search trials will be trained for every M
+         * [TrainTrialSpec.frequency] trials searched.
+         * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The frequency to set. + * @return This builder for chaining. + */ + public Builder setFrequency(int value) { + + frequency_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. Frequency of search trials to start train stage. Top N
+         * [TrainTrialSpec.max_parallel_trial_count]
+         * search trials will be trained for every M
+         * [TrainTrialSpec.frequency] trials searched.
+         * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFrequency() { + bitField0_ = (bitField0_ & ~0x00000004); + frequency_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + private static final com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec(); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrainTrialSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int MULTI_TRIAL_ALGORITHM_FIELD_NUMBER = 1; + private int multiTrialAlgorithm_ = 0; + /** + * + * + *
+     * The multi-trial Neural Architecture Search (NAS) algorithm
+     * type. Defaults to `REINFORCEMENT_LEARNING`.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The enum numeric value on the wire for multiTrialAlgorithm. + */ + @java.lang.Override + public int getMultiTrialAlgorithmValue() { + return multiTrialAlgorithm_; + } + /** + * + * + *
+     * The multi-trial Neural Architecture Search (NAS) algorithm
+     * type. Defaults to `REINFORCEMENT_LEARNING`.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The multiTrialAlgorithm. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + getMultiTrialAlgorithm() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm result = + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + .forNumber(multiTrialAlgorithm_); + return result == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + .UNRECOGNIZED + : result; + } + + public static final int METRIC_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric_; + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return Whether the metric field is set. + */ + @java.lang.Override + public boolean hasMetric() { + return metric_ != null; + } + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return The metric. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + getMetric() { + return metric_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance() + : metric_; + } + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder + getMetricOrBuilder() { + return metric_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance() + : metric_; + } + + public static final int SEARCH_TRIAL_SPEC_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + searchTrialSpec_; + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialSpec field is set. + */ + @java.lang.Override + public boolean hasSearchTrialSpec() { + return searchTrialSpec_ != null; + } + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + getSearchTrialSpec() { + return searchTrialSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .getDefaultInstance() + : searchTrialSpec_; + } + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder + getSearchTrialSpecOrBuilder() { + return searchTrialSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .getDefaultInstance() + : searchTrialSpec_; + } + + public static final int TRAIN_TRIAL_SPEC_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + trainTrialSpec_; + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return Whether the trainTrialSpec field is set. + */ + @java.lang.Override + public boolean hasTrainTrialSpec() { + return trainTrialSpec_ != null; + } + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return The trainTrialSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getTrainTrialSpec() { + return trainTrialSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .getDefaultInstance() + : trainTrialSpec_; + } + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpecOrBuilder + getTrainTrialSpecOrBuilder() { + return trainTrialSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .getDefaultInstance() + : trainTrialSpec_; + } + + 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 (multiTrialAlgorithm_ + != com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + .MULTI_TRIAL_ALGORITHM_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, multiTrialAlgorithm_); + } + if (metric_ != null) { + output.writeMessage(2, getMetric()); + } + if (searchTrialSpec_ != null) { + output.writeMessage(3, getSearchTrialSpec()); + } + if (trainTrialSpec_ != null) { + output.writeMessage(4, getTrainTrialSpec()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (multiTrialAlgorithm_ + != com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + .MULTI_TRIAL_ALGORITHM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, multiTrialAlgorithm_); + } + if (metric_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetric()); + } + if (searchTrialSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSearchTrialSpec()); + } + if (trainTrialSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTrainTrialSpec()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec other = + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) obj; + + if (multiTrialAlgorithm_ != other.multiTrialAlgorithm_) return false; + if (hasMetric() != other.hasMetric()) return false; + if (hasMetric()) { + if (!getMetric().equals(other.getMetric())) return false; + } + if (hasSearchTrialSpec() != other.hasSearchTrialSpec()) return false; + if (hasSearchTrialSpec()) { + if (!getSearchTrialSpec().equals(other.getSearchTrialSpec())) return false; + } + if (hasTrainTrialSpec() != other.hasTrainTrialSpec()) return false; + if (hasTrainTrialSpec()) { + if (!getTrainTrialSpec().equals(other.getTrainTrialSpec())) 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) + MULTI_TRIAL_ALGORITHM_FIELD_NUMBER; + hash = (53 * hash) + multiTrialAlgorithm_; + if (hasMetric()) { + hash = (37 * hash) + METRIC_FIELD_NUMBER; + hash = (53 * hash) + getMetric().hashCode(); + } + if (hasSearchTrialSpec()) { + hash = (37 * hash) + SEARCH_TRIAL_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSearchTrialSpec().hashCode(); + } + if (hasTrainTrialSpec()) { + hash = (37 * hash) + TRAIN_TRIAL_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getTrainTrialSpec().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * The spec of multi-trial Neural Architecture Search (NAS).
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.class, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + multiTrialAlgorithm_ = 0; + metric_ = null; + if (metricBuilder_ != null) { + metricBuilder_.dispose(); + metricBuilder_ = null; + } + searchTrialSpec_ = null; + if (searchTrialSpecBuilder_ != null) { + searchTrialSpecBuilder_.dispose(); + searchTrialSpecBuilder_ = null; + } + trainTrialSpec_ = null; + if (trainTrialSpecBuilder_ != null) { + trainTrialSpecBuilder_.dispose(); + trainTrialSpecBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec build() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec buildPartial() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec result = + new com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.multiTrialAlgorithm_ = multiTrialAlgorithm_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.metric_ = metricBuilder_ == null ? metric_ : metricBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.searchTrialSpec_ = + searchTrialSpecBuilder_ == null ? searchTrialSpec_ : searchTrialSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.trainTrialSpec_ = + trainTrialSpecBuilder_ == null ? trainTrialSpec_ : trainTrialSpecBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec other) { + if (other + == com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance()) return this; + if (other.multiTrialAlgorithm_ != 0) { + setMultiTrialAlgorithmValue(other.getMultiTrialAlgorithmValue()); + } + if (other.hasMetric()) { + mergeMetric(other.getMetric()); + } + if (other.hasSearchTrialSpec()) { + mergeSearchTrialSpec(other.getSearchTrialSpec()); + } + if (other.hasTrainTrialSpec()) { + mergeTrainTrialSpec(other.getTrainTrialSpec()); + } + 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: + { + multiTrialAlgorithm_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getMetricFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getSearchTrialSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getTrainTrialSpecFieldBuilder().getBuilder(), extensionRegistry); + 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 int multiTrialAlgorithm_ = 0; + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The enum numeric value on the wire for multiTrialAlgorithm. + */ + @java.lang.Override + public int getMultiTrialAlgorithmValue() { + return multiTrialAlgorithm_; + } + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @param value The enum numeric value on the wire for multiTrialAlgorithm to set. + * @return This builder for chaining. + */ + public Builder setMultiTrialAlgorithmValue(int value) { + multiTrialAlgorithm_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The multiTrialAlgorithm. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + getMultiTrialAlgorithm() { + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + result = + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .MultiTrialAlgorithm.forNumber(multiTrialAlgorithm_); + return result == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + .UNRECOGNIZED + : result; + } + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @param value The multiTrialAlgorithm to set. + * @return This builder for chaining. + */ + public Builder setMultiTrialAlgorithm( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + multiTrialAlgorithm_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return This builder for chaining. + */ + public Builder clearMultiTrialAlgorithm() { + bitField0_ = (bitField0_ & ~0x00000001); + multiTrialAlgorithm_ = 0; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder> + metricBuilder_; + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return Whether the metric field is set. + */ + public boolean hasMetric() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return The metric. + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + getMetric() { + if (metricBuilder_ == null) { + return metric_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance() + : metric_; + } else { + return metricBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public Builder setMetric( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec value) { + if (metricBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metric_ = value; + } else { + metricBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public Builder setMetric( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.Builder + builderForValue) { + if (metricBuilder_ == null) { + metric_ = builderForValue.build(); + } else { + metricBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public Builder mergeMetric( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec value) { + if (metricBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && metric_ != null + && metric_ + != com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance()) { + getMetricBuilder().mergeFrom(value); + } else { + metric_ = value; + } + } else { + metricBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public Builder clearMetric() { + bitField0_ = (bitField0_ & ~0x00000002); + metric_ = null; + if (metricBuilder_ != null) { + metricBuilder_.dispose(); + metricBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.Builder + getMetricBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getMetricFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder + getMetricOrBuilder() { + if (metricBuilder_ != null) { + return metricBuilder_.getMessageOrBuilder(); + } else { + return metric_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance() + : metric_; + } + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder> + getMetricFieldBuilder() { + if (metricBuilder_ == null) { + metricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpecOrBuilder>(getMetric(), getParentForChildren(), isClean()); + metric_ = null; + } + return metricBuilder_; + } + + private com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + searchTrialSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder> + searchTrialSpecBuilder_; + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialSpec field is set. + */ + public boolean hasSearchTrialSpec() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialSpec. + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + getSearchTrialSpec() { + if (searchTrialSpecBuilder_ == null) { + return searchTrialSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .getDefaultInstance() + : searchTrialSpec_; + } else { + return searchTrialSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchTrialSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec value) { + if (searchTrialSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + searchTrialSpec_ = value; + } else { + searchTrialSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchTrialSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec.Builder + builderForValue) { + if (searchTrialSpecBuilder_ == null) { + searchTrialSpec_ = builderForValue.build(); + } else { + searchTrialSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeSearchTrialSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec value) { + if (searchTrialSpecBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && searchTrialSpec_ != null + && searchTrialSpec_ + != com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.getDefaultInstance()) { + getSearchTrialSpecBuilder().mergeFrom(value); + } else { + searchTrialSpec_ = value; + } + } else { + searchTrialSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSearchTrialSpec() { + bitField0_ = (bitField0_ & ~0x00000004); + searchTrialSpec_ = null; + if (searchTrialSpecBuilder_ != null) { + searchTrialSpecBuilder_.dispose(); + searchTrialSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder + getSearchTrialSpecBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSearchTrialSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder + getSearchTrialSpecOrBuilder() { + if (searchTrialSpecBuilder_ != null) { + return searchTrialSpecBuilder_.getMessageOrBuilder(); + } else { + return searchTrialSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .getDefaultInstance() + : searchTrialSpec_; + } + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder> + getSearchTrialSpecFieldBuilder() { + if (searchTrialSpecBuilder_ == null) { + searchTrialSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder>( + getSearchTrialSpec(), getParentForChildren(), isClean()); + searchTrialSpec_ = null; + } + return searchTrialSpecBuilder_; + } + + private com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + trainTrialSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder> + trainTrialSpecBuilder_; + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return Whether the trainTrialSpec field is set. + */ + public boolean hasTrainTrialSpec() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return The trainTrialSpec. + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getTrainTrialSpec() { + if (trainTrialSpecBuilder_ == null) { + return trainTrialSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .getDefaultInstance() + : trainTrialSpec_; + } else { + return trainTrialSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public Builder setTrainTrialSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec value) { + if (trainTrialSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + trainTrialSpec_ = value; + } else { + trainTrialSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public Builder setTrainTrialSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.Builder + builderForValue) { + if (trainTrialSpecBuilder_ == null) { + trainTrialSpec_ = builderForValue.build(); + } else { + trainTrialSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public Builder mergeTrainTrialSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec value) { + if (trainTrialSpecBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && trainTrialSpec_ != null + && trainTrialSpec_ + != com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.getDefaultInstance()) { + getTrainTrialSpecBuilder().mergeFrom(value); + } else { + trainTrialSpec_ = value; + } + } else { + trainTrialSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public Builder clearTrainTrialSpec() { + bitField0_ = (bitField0_ & ~0x00000008); + trainTrialSpec_ = null; + if (trainTrialSpecBuilder_ != null) { + trainTrialSpecBuilder_.dispose(); + trainTrialSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder + getTrainTrialSpecBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getTrainTrialSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder + getTrainTrialSpecOrBuilder() { + if (trainTrialSpecBuilder_ != null) { + return trainTrialSpecBuilder_.getMessageOrBuilder(); + } else { + return trainTrialSpec_ == null + ? com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .getDefaultInstance() + : trainTrialSpec_; + } + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder> + getTrainTrialSpecFieldBuilder() { + if (trainTrialSpecBuilder_ == null) { + trainTrialSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder>( + getTrainTrialSpec(), getParentForChildren(), isClean()); + trainTrialSpec_ = null; + } + return trainTrialSpecBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + private static final com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec(); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiTrialAlgorithmSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int nasAlgorithmSpecCase_ = 0; + private java.lang.Object nasAlgorithmSpec_; + + public enum NasAlgorithmSpecCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + MULTI_TRIAL_ALGORITHM_SPEC(2), + NASALGORITHMSPEC_NOT_SET(0); + private final int value; + + private NasAlgorithmSpecCase(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 NasAlgorithmSpecCase valueOf(int value) { + return forNumber(value); + } + + public static NasAlgorithmSpecCase forNumber(int value) { + switch (value) { + case 2: + return MULTI_TRIAL_ALGORITHM_SPEC; + case 0: + return NASALGORITHMSPEC_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public NasAlgorithmSpecCase getNasAlgorithmSpecCase() { + return NasAlgorithmSpecCase.forNumber(nasAlgorithmSpecCase_); + } + + public static final int MULTI_TRIAL_ALGORITHM_SPEC_FIELD_NUMBER = 2; + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return Whether the multiTrialAlgorithmSpec field is set. + */ + @java.lang.Override + public boolean hasMultiTrialAlgorithmSpec() { + return nasAlgorithmSpecCase_ == 2; + } + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return The multiTrialAlgorithmSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + getMultiTrialAlgorithmSpec() { + if (nasAlgorithmSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) nasAlgorithmSpec_; + } + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.getDefaultInstance(); + } + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder + getMultiTrialAlgorithmSpecOrBuilder() { + if (nasAlgorithmSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) nasAlgorithmSpec_; + } + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.getDefaultInstance(); + } + + public static final int RESUME_NAS_JOB_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object resumeNasJobId_ = ""; + /** + * + * + *
+   * The ID of the existing NasJob in the same Project and Location
+   * which will be used to resume search. search_space_spec and
+   * nas_algorithm_spec are obtained from previous NasJob hence should not
+   * provide them again for this NasJob.
+   * 
+ * + * string resume_nas_job_id = 3; + * + * @return The resumeNasJobId. + */ + @java.lang.Override + public java.lang.String getResumeNasJobId() { + java.lang.Object ref = resumeNasJobId_; + 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(); + resumeNasJobId_ = s; + return s; + } + } + /** + * + * + *
+   * The ID of the existing NasJob in the same Project and Location
+   * which will be used to resume search. search_space_spec and
+   * nas_algorithm_spec are obtained from previous NasJob hence should not
+   * provide them again for this NasJob.
+   * 
+ * + * string resume_nas_job_id = 3; + * + * @return The bytes for resumeNasJobId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResumeNasJobIdBytes() { + java.lang.Object ref = resumeNasJobId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resumeNasJobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SEARCH_SPACE_SPEC_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object searchSpaceSpec_ = ""; + /** + * + * + *
+   * It defines the search space for Neural Architecture Search (NAS).
+   * 
+ * + * string search_space_spec = 1; + * + * @return The searchSpaceSpec. + */ + @java.lang.Override + public java.lang.String getSearchSpaceSpec() { + java.lang.Object ref = searchSpaceSpec_; + 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(); + searchSpaceSpec_ = s; + return s; + } + } + /** + * + * + *
+   * It defines the search space for Neural Architecture Search (NAS).
+   * 
+ * + * string search_space_spec = 1; + * + * @return The bytes for searchSpaceSpec. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSearchSpaceSpecBytes() { + java.lang.Object ref = searchSpaceSpec_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + searchSpaceSpec_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchSpaceSpec_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, searchSpaceSpec_); + } + if (nasAlgorithmSpecCase_ == 2) { + output.writeMessage( + 2, (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) nasAlgorithmSpec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resumeNasJobId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, resumeNasJobId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchSpaceSpec_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, searchSpaceSpec_); + } + if (nasAlgorithmSpecCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resumeNasJobId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resumeNasJobId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.NasJobSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasJobSpec other = + (com.google.cloud.aiplatform.v1.NasJobSpec) obj; + + if (!getResumeNasJobId().equals(other.getResumeNasJobId())) return false; + if (!getSearchSpaceSpec().equals(other.getSearchSpaceSpec())) return false; + if (!getNasAlgorithmSpecCase().equals(other.getNasAlgorithmSpecCase())) return false; + switch (nasAlgorithmSpecCase_) { + case 2: + if (!getMultiTrialAlgorithmSpec().equals(other.getMultiTrialAlgorithmSpec())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RESUME_NAS_JOB_ID_FIELD_NUMBER; + hash = (53 * hash) + getResumeNasJobId().hashCode(); + hash = (37 * hash) + SEARCH_SPACE_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSearchSpaceSpec().hashCode(); + switch (nasAlgorithmSpecCase_) { + case 2: + hash = (37 * hash) + MULTI_TRIAL_ALGORITHM_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getMultiTrialAlgorithmSpec().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.NasJobSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents the spec of a NasJob.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasJobSpec} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasJobSpec) + com.google.cloud.aiplatform.v1.NasJobSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasJobSpec.class, + com.google.cloud.aiplatform.v1.NasJobSpec.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.NasJobSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (multiTrialAlgorithmSpecBuilder_ != null) { + multiTrialAlgorithmSpecBuilder_.clear(); + } + resumeNasJobId_ = ""; + searchSpaceSpec_ = ""; + nasAlgorithmSpecCase_ = 0; + nasAlgorithmSpec_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasJobSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasJobSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec build() { + com.google.cloud.aiplatform.v1.NasJobSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec buildPartial() { + com.google.cloud.aiplatform.v1.NasJobSpec result = + new com.google.cloud.aiplatform.v1.NasJobSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.NasJobSpec result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.resumeNasJobId_ = resumeNasJobId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.searchSpaceSpec_ = searchSpaceSpec_; + } + } + + private void buildPartialOneofs(com.google.cloud.aiplatform.v1.NasJobSpec result) { + result.nasAlgorithmSpecCase_ = nasAlgorithmSpecCase_; + result.nasAlgorithmSpec_ = this.nasAlgorithmSpec_; + if (nasAlgorithmSpecCase_ == 2 && multiTrialAlgorithmSpecBuilder_ != null) { + result.nasAlgorithmSpec_ = multiTrialAlgorithmSpecBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.NasJobSpec) { + return mergeFrom((com.google.cloud.aiplatform.v1.NasJobSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.NasJobSpec other) { + if (other == com.google.cloud.aiplatform.v1.NasJobSpec.getDefaultInstance()) return this; + if (!other.getResumeNasJobId().isEmpty()) { + resumeNasJobId_ = other.resumeNasJobId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSearchSpaceSpec().isEmpty()) { + searchSpaceSpec_ = other.searchSpaceSpec_; + bitField0_ |= 0x00000004; + onChanged(); + } + switch (other.getNasAlgorithmSpecCase()) { + case MULTI_TRIAL_ALGORITHM_SPEC: + { + mergeMultiTrialAlgorithmSpec(other.getMultiTrialAlgorithmSpec()); + break; + } + case NASALGORITHMSPEC_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: + { + searchSpaceSpec_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + input.readMessage( + getMultiTrialAlgorithmSpecFieldBuilder().getBuilder(), extensionRegistry); + nasAlgorithmSpecCase_ = 2; + break; + } // case 18 + case 26: + { + resumeNasJobId_ = input.readStringRequireUtf8(); + 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 nasAlgorithmSpecCase_ = 0; + private java.lang.Object nasAlgorithmSpec_; + + public NasAlgorithmSpecCase getNasAlgorithmSpecCase() { + return NasAlgorithmSpecCase.forNumber(nasAlgorithmSpecCase_); + } + + public Builder clearNasAlgorithmSpec() { + nasAlgorithmSpecCase_ = 0; + nasAlgorithmSpec_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder> + multiTrialAlgorithmSpecBuilder_; + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return Whether the multiTrialAlgorithmSpec field is set. + */ + @java.lang.Override + public boolean hasMultiTrialAlgorithmSpec() { + return nasAlgorithmSpecCase_ == 2; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return The multiTrialAlgorithmSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + getMultiTrialAlgorithmSpec() { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (nasAlgorithmSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_; + } + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } else { + if (nasAlgorithmSpecCase_ == 2) { + return multiTrialAlgorithmSpecBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public Builder setMultiTrialAlgorithmSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec value) { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nasAlgorithmSpec_ = value; + onChanged(); + } else { + multiTrialAlgorithmSpecBuilder_.setMessage(value); + } + nasAlgorithmSpecCase_ = 2; + return this; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public Builder setMultiTrialAlgorithmSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.Builder builderForValue) { + if (multiTrialAlgorithmSpecBuilder_ == null) { + nasAlgorithmSpec_ = builderForValue.build(); + onChanged(); + } else { + multiTrialAlgorithmSpecBuilder_.setMessage(builderForValue.build()); + } + nasAlgorithmSpecCase_ = 2; + return this; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public Builder mergeMultiTrialAlgorithmSpec( + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec value) { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (nasAlgorithmSpecCase_ == 2 + && nasAlgorithmSpec_ + != com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance()) { + nasAlgorithmSpec_ = + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.newBuilder( + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_) + .mergeFrom(value) + .buildPartial(); + } else { + nasAlgorithmSpec_ = value; + } + onChanged(); + } else { + if (nasAlgorithmSpecCase_ == 2) { + multiTrialAlgorithmSpecBuilder_.mergeFrom(value); + } else { + multiTrialAlgorithmSpecBuilder_.setMessage(value); + } + } + nasAlgorithmSpecCase_ = 2; + return this; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public Builder clearMultiTrialAlgorithmSpec() { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (nasAlgorithmSpecCase_ == 2) { + nasAlgorithmSpecCase_ = 0; + nasAlgorithmSpec_ = null; + onChanged(); + } + } else { + if (nasAlgorithmSpecCase_ == 2) { + nasAlgorithmSpecCase_ = 0; + nasAlgorithmSpec_ = null; + } + multiTrialAlgorithmSpecBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.Builder + getMultiTrialAlgorithmSpecBuilder() { + return getMultiTrialAlgorithmSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder + getMultiTrialAlgorithmSpecOrBuilder() { + if ((nasAlgorithmSpecCase_ == 2) && (multiTrialAlgorithmSpecBuilder_ != null)) { + return multiTrialAlgorithmSpecBuilder_.getMessageOrBuilder(); + } else { + if (nasAlgorithmSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_; + } + return com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder> + getMultiTrialAlgorithmSpecFieldBuilder() { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (!(nasAlgorithmSpecCase_ == 2)) { + nasAlgorithmSpec_ = + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + multiTrialAlgorithmSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.Builder, + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder>( + (com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_, + getParentForChildren(), + isClean()); + nasAlgorithmSpec_ = null; + } + nasAlgorithmSpecCase_ = 2; + onChanged(); + return multiTrialAlgorithmSpecBuilder_; + } + + private java.lang.Object resumeNasJobId_ = ""; + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @return The resumeNasJobId. + */ + public java.lang.String getResumeNasJobId() { + java.lang.Object ref = resumeNasJobId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resumeNasJobId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @return The bytes for resumeNasJobId. + */ + public com.google.protobuf.ByteString getResumeNasJobIdBytes() { + java.lang.Object ref = resumeNasJobId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resumeNasJobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @param value The resumeNasJobId to set. + * @return This builder for chaining. + */ + public Builder setResumeNasJobId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resumeNasJobId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearResumeNasJobId() { + resumeNasJobId_ = getDefaultInstance().getResumeNasJobId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @param value The bytes for resumeNasJobId to set. + * @return This builder for chaining. + */ + public Builder setResumeNasJobIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resumeNasJobId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object searchSpaceSpec_ = ""; + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @return The searchSpaceSpec. + */ + public java.lang.String getSearchSpaceSpec() { + java.lang.Object ref = searchSpaceSpec_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + searchSpaceSpec_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @return The bytes for searchSpaceSpec. + */ + public com.google.protobuf.ByteString getSearchSpaceSpecBytes() { + java.lang.Object ref = searchSpaceSpec_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + searchSpaceSpec_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @param value The searchSpaceSpec to set. + * @return This builder for chaining. + */ + public Builder setSearchSpaceSpec(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + searchSpaceSpec_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @return This builder for chaining. + */ + public Builder clearSearchSpaceSpec() { + searchSpaceSpec_ = getDefaultInstance().getSearchSpaceSpec(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @param value The bytes for searchSpaceSpec to set. + * @return This builder for chaining. + */ + public Builder setSearchSpaceSpecBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchSpaceSpec_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasJobSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasJobSpec) + private static final com.google.cloud.aiplatform.v1.NasJobSpec DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.NasJobSpec(); + } + + public static com.google.cloud.aiplatform.v1.NasJobSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasJobSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasJobSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobSpecOrBuilder.java new file mode 100644 index 000000000000..64bd0cfc6906 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasJobSpecOrBuilder.java @@ -0,0 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +public interface NasJobSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasJobSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return Whether the multiTrialAlgorithmSpec field is set. + */ + boolean hasMultiTrialAlgorithmSpec(); + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return The multiTrialAlgorithmSpec. + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec getMultiTrialAlgorithmSpec(); + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + com.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder + getMultiTrialAlgorithmSpecOrBuilder(); + + /** + * + * + *
+   * The ID of the existing NasJob in the same Project and Location
+   * which will be used to resume search. search_space_spec and
+   * nas_algorithm_spec are obtained from previous NasJob hence should not
+   * provide them again for this NasJob.
+   * 
+ * + * string resume_nas_job_id = 3; + * + * @return The resumeNasJobId. + */ + java.lang.String getResumeNasJobId(); + /** + * + * + *
+   * The ID of the existing NasJob in the same Project and Location
+   * which will be used to resume search. search_space_spec and
+   * nas_algorithm_spec are obtained from previous NasJob hence should not
+   * provide them again for this NasJob.
+   * 
+ * + * string resume_nas_job_id = 3; + * + * @return The bytes for resumeNasJobId. + */ + com.google.protobuf.ByteString getResumeNasJobIdBytes(); + + /** + * + * + *
+   * It defines the search space for Neural Architecture Search (NAS).
+   * 
+ * + * string search_space_spec = 1; + * + * @return The searchSpaceSpec. + */ + java.lang.String getSearchSpaceSpec(); + /** + * + * + *
+   * It defines the search space for Neural Architecture Search (NAS).
+   * 
+ * + * string search_space_spec = 1; + * + * @return The bytes for searchSpaceSpec. + */ + com.google.protobuf.ByteString getSearchSpaceSpecBytes(); + + public com.google.cloud.aiplatform.v1.NasJobSpec.NasAlgorithmSpecCase getNasAlgorithmSpecCase(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrial.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrial.java new file mode 100644 index 000000000000..2980de9825bc --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrial.java @@ -0,0 +1,1858 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Represents a uCAIP NasJob trial.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasTrial} + */ +public final class NasTrial extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasTrial) + NasTrialOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasTrial.newBuilder() to construct. + private NasTrial(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasTrial() { + id_ = ""; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasTrial(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrial_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrial_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasTrial.class, + com.google.cloud.aiplatform.v1.NasTrial.Builder.class); + } + + /** + * + * + *
+   * Describes a NasTrial state.
+   * 
+ * + * Protobuf enum {@code google.cloud.aiplatform.v1.NasTrial.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * The NasTrial state is unspecified.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
+     * Indicates that a specific NasTrial has been requested, but it has not yet
+     * been suggested by the service.
+     * 
+ * + * REQUESTED = 1; + */ + REQUESTED(1), + /** + * + * + *
+     * Indicates that the NasTrial has been suggested.
+     * 
+ * + * ACTIVE = 2; + */ + ACTIVE(2), + /** + * + * + *
+     * Indicates that the NasTrial should stop according to the service.
+     * 
+ * + * STOPPING = 3; + */ + STOPPING(3), + /** + * + * + *
+     * Indicates that the NasTrial is completed successfully.
+     * 
+ * + * SUCCEEDED = 4; + */ + SUCCEEDED(4), + /** + * + * + *
+     * Indicates that the NasTrial should not be attempted again.
+     * The service will set a NasTrial to INFEASIBLE when it's done but missing
+     * the final_measurement.
+     * 
+ * + * INFEASIBLE = 5; + */ + INFEASIBLE(5), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * The NasTrial state is unspecified.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Indicates that a specific NasTrial has been requested, but it has not yet
+     * been suggested by the service.
+     * 
+ * + * REQUESTED = 1; + */ + public static final int REQUESTED_VALUE = 1; + /** + * + * + *
+     * Indicates that the NasTrial has been suggested.
+     * 
+ * + * ACTIVE = 2; + */ + public static final int ACTIVE_VALUE = 2; + /** + * + * + *
+     * Indicates that the NasTrial should stop according to the service.
+     * 
+ * + * STOPPING = 3; + */ + public static final int STOPPING_VALUE = 3; + /** + * + * + *
+     * Indicates that the NasTrial is completed successfully.
+     * 
+ * + * SUCCEEDED = 4; + */ + public static final int SUCCEEDED_VALUE = 4; + /** + * + * + *
+     * Indicates that the NasTrial should not be attempted again.
+     * The service will set a NasTrial to INFEASIBLE when it's done but missing
+     * the final_measurement.
+     * 
+ * + * INFEASIBLE = 5; + */ + public static final int INFEASIBLE_VALUE = 5; + + 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 REQUESTED; + case 2: + return ACTIVE; + case 3: + return STOPPING; + case 4: + return SUCCEEDED; + case 5: + return INFEASIBLE; + 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasTrial.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.aiplatform.v1.NasTrial.State) + } + + public static final int ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object id_ = ""; + /** + * + * + *
+   * Output only. The identifier of the NasTrial assigned by the service.
+   * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The identifier of the NasTrial assigned by the service.
+   * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 2; + private int state_ = 0; + /** + * + * + *
+   * Output only. The detailed state of the NasTrial.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.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 detailed state of the NasTrial.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial.State getState() { + com.google.cloud.aiplatform.v1.NasTrial.State result = + com.google.cloud.aiplatform.v1.NasTrial.State.forNumber(state_); + return result == null ? com.google.cloud.aiplatform.v1.NasTrial.State.UNRECOGNIZED : result; + } + + public static final int FINAL_MEASUREMENT_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1.Measurement finalMeasurement_; + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the finalMeasurement field is set. + */ + @java.lang.Override + public boolean hasFinalMeasurement() { + return finalMeasurement_ != null; + } + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The finalMeasurement. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.Measurement getFinalMeasurement() { + return finalMeasurement_ == null + ? com.google.cloud.aiplatform.v1.Measurement.getDefaultInstance() + : finalMeasurement_; + } + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.MeasurementOrBuilder getFinalMeasurementOrBuilder() { + return finalMeasurement_ == null + ? com.google.cloud.aiplatform.v1.Measurement.getDefaultInstance() + : finalMeasurement_; + } + + public static final int START_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp startTime_; + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return startTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + public static final int END_TIME_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp endTime_; + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + } + if (state_ != com.google.cloud.aiplatform.v1.NasTrial.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(2, state_); + } + if (finalMeasurement_ != null) { + output.writeMessage(3, getFinalMeasurement()); + } + if (startTime_ != null) { + output.writeMessage(4, getStartTime()); + } + if (endTime_ != null) { + output.writeMessage(5, getEndTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + } + if (state_ != com.google.cloud.aiplatform.v1.NasTrial.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + } + if (finalMeasurement_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinalMeasurement()); + } + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.NasTrial)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasTrial other = (com.google.cloud.aiplatform.v1.NasTrial) obj; + + if (!getId().equals(other.getId())) return false; + if (state_ != other.state_) return false; + if (hasFinalMeasurement() != other.hasFinalMeasurement()) return false; + if (hasFinalMeasurement()) { + if (!getFinalMeasurement().equals(other.getFinalMeasurement())) return false; + } + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime().equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime().equals(other.getEndTime())) 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(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasFinalMeasurement()) { + hash = (37 * hash) + FINAL_MEASUREMENT_FIELD_NUMBER; + hash = (53 * hash) + getFinalMeasurement().hashCode(); + } + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasTrial parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.NasTrial prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a uCAIP NasJob trial.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasTrial} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasTrial) + com.google.cloud.aiplatform.v1.NasTrialOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrial_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrial_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasTrial.class, + com.google.cloud.aiplatform.v1.NasTrial.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.NasTrial.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + id_ = ""; + state_ = 0; + finalMeasurement_ = null; + if (finalMeasurementBuilder_ != null) { + finalMeasurementBuilder_.dispose(); + finalMeasurementBuilder_ = null; + } + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrial_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial build() { + com.google.cloud.aiplatform.v1.NasTrial result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial buildPartial() { + com.google.cloud.aiplatform.v1.NasTrial result = + new com.google.cloud.aiplatform.v1.NasTrial(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.NasTrial result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.finalMeasurement_ = + finalMeasurementBuilder_ == null ? finalMeasurement_ : finalMeasurementBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.NasTrial) { + return mergeFrom((com.google.cloud.aiplatform.v1.NasTrial) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.NasTrial other) { + if (other == com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance()) return this; + if (!other.getId().isEmpty()) { + id_ = other.id_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasFinalMeasurement()) { + mergeFinalMeasurement(other.getFinalMeasurement()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + 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 16: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage( + getFinalMeasurementFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + 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 id_ = ""; + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearId() { + id_ = getDefaultInstance().getId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * + * + *
+     * Output only. The detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.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 detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.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_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial.State getState() { + com.google.cloud.aiplatform.v1.NasTrial.State result = + com.google.cloud.aiplatform.v1.NasTrial.State.forNumber(state_); + return result == null ? com.google.cloud.aiplatform.v1.NasTrial.State.UNRECOGNIZED : result; + } + /** + * + * + *
+     * Output only. The detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.aiplatform.v1.NasTrial.State value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000002); + state_ = 0; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1.Measurement finalMeasurement_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.Measurement, + com.google.cloud.aiplatform.v1.Measurement.Builder, + com.google.cloud.aiplatform.v1.MeasurementOrBuilder> + finalMeasurementBuilder_; + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the finalMeasurement field is set. + */ + public boolean hasFinalMeasurement() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The finalMeasurement. + */ + public com.google.cloud.aiplatform.v1.Measurement getFinalMeasurement() { + if (finalMeasurementBuilder_ == null) { + return finalMeasurement_ == null + ? com.google.cloud.aiplatform.v1.Measurement.getDefaultInstance() + : finalMeasurement_; + } else { + return finalMeasurementBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFinalMeasurement(com.google.cloud.aiplatform.v1.Measurement value) { + if (finalMeasurementBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + finalMeasurement_ = value; + } else { + finalMeasurementBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFinalMeasurement( + com.google.cloud.aiplatform.v1.Measurement.Builder builderForValue) { + if (finalMeasurementBuilder_ == null) { + finalMeasurement_ = builderForValue.build(); + } else { + finalMeasurementBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeFinalMeasurement(com.google.cloud.aiplatform.v1.Measurement value) { + if (finalMeasurementBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && finalMeasurement_ != null + && finalMeasurement_ + != com.google.cloud.aiplatform.v1.Measurement.getDefaultInstance()) { + getFinalMeasurementBuilder().mergeFrom(value); + } else { + finalMeasurement_ = value; + } + } else { + finalMeasurementBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearFinalMeasurement() { + bitField0_ = (bitField0_ & ~0x00000004); + finalMeasurement_ = null; + if (finalMeasurementBuilder_ != null) { + finalMeasurementBuilder_.dispose(); + finalMeasurementBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.Measurement.Builder getFinalMeasurementBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getFinalMeasurementFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1.MeasurementOrBuilder getFinalMeasurementOrBuilder() { + if (finalMeasurementBuilder_ != null) { + return finalMeasurementBuilder_.getMessageOrBuilder(); + } else { + return finalMeasurement_ == null + ? com.google.cloud.aiplatform.v1.Measurement.getDefaultInstance() + : finalMeasurement_; + } + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.Measurement, + com.google.cloud.aiplatform.v1.Measurement.Builder, + com.google.cloud.aiplatform.v1.MeasurementOrBuilder> + getFinalMeasurementFieldBuilder() { + if (finalMeasurementBuilder_ == null) { + finalMeasurementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.Measurement, + com.google.cloud.aiplatform.v1.Measurement.Builder, + com.google.cloud.aiplatform.v1.MeasurementOrBuilder>( + getFinalMeasurement(), getParentForChildren(), isClean()); + finalMeasurement_ = null; + } + return finalMeasurementBuilder_; + } + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000008); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000010); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasTrial) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasTrial) + private static final com.google.cloud.aiplatform.v1.NasTrial DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.NasTrial(); + } + + public static com.google.cloud.aiplatform.v1.NasTrial getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasTrial parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialDetail.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialDetail.java new file mode 100644 index 000000000000..3ba364a1f075 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialDetail.java @@ -0,0 +1,1389 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Represents a NasTrial details along with it's parameters. If there is a
+ * corresponding train NasTrial, the train NasTrial is also returned.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasTrialDetail} + */ +public final class NasTrialDetail extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.NasTrialDetail) + NasTrialDetailOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasTrialDetail.newBuilder() to construct. + private NasTrialDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasTrialDetail() { + name_ = ""; + parameters_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasTrialDetail(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrialDetail_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrialDetail_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasTrialDetail.class, + com.google.cloud.aiplatform.v1.NasTrialDetail.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Output only. Resource name of the NasTrialDetail.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+   * Output only. Resource name of the NasTrialDetail.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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 PARAMETERS_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object parameters_ = ""; + /** + * + * + *
+   * The parameters for the NasJob NasTrial.
+   * 
+ * + * string parameters = 2; + * + * @return The parameters. + */ + @java.lang.Override + public java.lang.String getParameters() { + java.lang.Object ref = parameters_; + 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(); + parameters_ = s; + return s; + } + } + /** + * + * + *
+   * The parameters for the NasJob NasTrial.
+   * 
+ * + * string parameters = 2; + * + * @return The bytes for parameters. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParametersBytes() { + java.lang.Object ref = parameters_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parameters_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SEARCH_TRIAL_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1.NasTrial searchTrial_; + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + * + * @return Whether the searchTrial field is set. + */ + @java.lang.Override + public boolean hasSearchTrial() { + return searchTrial_ != null; + } + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + * + * @return The searchTrial. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial getSearchTrial() { + return searchTrial_ == null + ? com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance() + : searchTrial_; + } + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialOrBuilder getSearchTrialOrBuilder() { + return searchTrial_ == null + ? com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance() + : searchTrial_; + } + + public static final int TRAIN_TRIAL_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1.NasTrial trainTrial_; + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+   * used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + * + * @return Whether the trainTrial field is set. + */ + @java.lang.Override + public boolean hasTrainTrial() { + return trainTrial_ != null; + } + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+   * used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + * + * @return The trainTrial. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrial getTrainTrial() { + return trainTrial_ == null + ? com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance() + : trainTrial_; + } + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+   * used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialOrBuilder getTrainTrialOrBuilder() { + return trainTrial_ == null + ? com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance() + : trainTrial_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parameters_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, parameters_); + } + if (searchTrial_ != null) { + output.writeMessage(3, getSearchTrial()); + } + if (trainTrial_ != null) { + output.writeMessage(4, getTrainTrial()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parameters_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parameters_); + } + if (searchTrial_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSearchTrial()); + } + if (trainTrial_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTrainTrial()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1.NasTrialDetail)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.NasTrialDetail other = + (com.google.cloud.aiplatform.v1.NasTrialDetail) obj; + + if (!getName().equals(other.getName())) return false; + if (!getParameters().equals(other.getParameters())) return false; + if (hasSearchTrial() != other.hasSearchTrial()) return false; + if (hasSearchTrial()) { + if (!getSearchTrial().equals(other.getSearchTrial())) return false; + } + if (hasTrainTrial() != other.hasTrainTrial()) return false; + if (hasTrainTrial()) { + if (!getTrainTrial().equals(other.getTrainTrial())) 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) + PARAMETERS_FIELD_NUMBER; + hash = (53 * hash) + getParameters().hashCode(); + if (hasSearchTrial()) { + hash = (37 * hash) + SEARCH_TRIAL_FIELD_NUMBER; + hash = (53 * hash) + getSearchTrial().hashCode(); + } + if (hasTrainTrial()) { + hash = (37 * hash) + TRAIN_TRIAL_FIELD_NUMBER; + hash = (53 * hash) + getTrainTrial().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1.NasTrialDetail prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a NasTrial details along with it's parameters. If there is a
+   * corresponding train NasTrial, the train NasTrial is also returned.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.NasTrialDetail} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.NasTrialDetail) + com.google.cloud.aiplatform.v1.NasTrialDetailOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrialDetail_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrialDetail_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.NasTrialDetail.class, + com.google.cloud.aiplatform.v1.NasTrialDetail.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.NasTrialDetail.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + parameters_ = ""; + searchTrial_ = null; + if (searchTrialBuilder_ != null) { + searchTrialBuilder_.dispose(); + searchTrialBuilder_ = null; + } + trainTrial_ = null; + if (trainTrialBuilder_ != null) { + trainTrialBuilder_.dispose(); + trainTrialBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.NasJobProto + .internal_static_google_cloud_aiplatform_v1_NasTrialDetail_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialDetail getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.NasTrialDetail.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialDetail build() { + com.google.cloud.aiplatform.v1.NasTrialDetail result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialDetail buildPartial() { + com.google.cloud.aiplatform.v1.NasTrialDetail result = + new com.google.cloud.aiplatform.v1.NasTrialDetail(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.NasTrialDetail result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.parameters_ = parameters_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.searchTrial_ = + searchTrialBuilder_ == null ? searchTrial_ : searchTrialBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.trainTrial_ = trainTrialBuilder_ == null ? trainTrial_ : trainTrialBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.NasTrialDetail) { + return mergeFrom((com.google.cloud.aiplatform.v1.NasTrialDetail) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.NasTrialDetail other) { + if (other == com.google.cloud.aiplatform.v1.NasTrialDetail.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getParameters().isEmpty()) { + parameters_ = other.parameters_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasSearchTrial()) { + mergeSearchTrial(other.getSearchTrial()); + } + if (other.hasTrainTrial()) { + mergeTrainTrial(other.getTrainTrial()); + } + 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: + { + parameters_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getSearchTrialFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getTrainTrialFieldBuilder().getBuilder(), extensionRegistry); + 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 name_ = ""; + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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 parameters_ = ""; + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @return The parameters. + */ + public java.lang.String getParameters() { + java.lang.Object ref = parameters_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parameters_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @return The bytes for parameters. + */ + public com.google.protobuf.ByteString getParametersBytes() { + java.lang.Object ref = parameters_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parameters_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @param value The parameters to set. + * @return This builder for chaining. + */ + public Builder setParameters(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parameters_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @return This builder for chaining. + */ + public Builder clearParameters() { + parameters_ = getDefaultInstance().getParameters(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @param value The bytes for parameters to set. + * @return This builder for chaining. + */ + public Builder setParametersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parameters_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1.NasTrial searchTrial_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder> + searchTrialBuilder_; + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + * + * @return Whether the searchTrial field is set. + */ + public boolean hasSearchTrial() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + * + * @return The searchTrial. + */ + public com.google.cloud.aiplatform.v1.NasTrial getSearchTrial() { + if (searchTrialBuilder_ == null) { + return searchTrial_ == null + ? com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance() + : searchTrial_; + } else { + return searchTrialBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + */ + public Builder setSearchTrial(com.google.cloud.aiplatform.v1.NasTrial value) { + if (searchTrialBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + searchTrial_ = value; + } else { + searchTrialBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + */ + public Builder setSearchTrial(com.google.cloud.aiplatform.v1.NasTrial.Builder builderForValue) { + if (searchTrialBuilder_ == null) { + searchTrial_ = builderForValue.build(); + } else { + searchTrialBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + */ + public Builder mergeSearchTrial(com.google.cloud.aiplatform.v1.NasTrial value) { + if (searchTrialBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && searchTrial_ != null + && searchTrial_ != com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance()) { + getSearchTrialBuilder().mergeFrom(value); + } else { + searchTrial_ = value; + } + } else { + searchTrialBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + */ + public Builder clearSearchTrial() { + bitField0_ = (bitField0_ & ~0x00000004); + searchTrial_ = null; + if (searchTrialBuilder_ != null) { + searchTrialBuilder_.dispose(); + searchTrialBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + */ + public com.google.cloud.aiplatform.v1.NasTrial.Builder getSearchTrialBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSearchTrialFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + */ + public com.google.cloud.aiplatform.v1.NasTrialOrBuilder getSearchTrialOrBuilder() { + if (searchTrialBuilder_ != null) { + return searchTrialBuilder_.getMessageOrBuilder(); + } else { + return searchTrial_ == null + ? com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance() + : searchTrial_; + } + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder> + getSearchTrialFieldBuilder() { + if (searchTrialBuilder_ == null) { + searchTrialBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder>( + getSearchTrial(), getParentForChildren(), isClean()); + searchTrial_ = null; + } + return searchTrialBuilder_; + } + + private com.google.cloud.aiplatform.v1.NasTrial trainTrial_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder> + trainTrialBuilder_; + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+     * used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + * + * @return Whether the trainTrial field is set. + */ + public boolean hasTrainTrial() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+     * used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + * + * @return The trainTrial. + */ + public com.google.cloud.aiplatform.v1.NasTrial getTrainTrial() { + if (trainTrialBuilder_ == null) { + return trainTrial_ == null + ? com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance() + : trainTrial_; + } else { + return trainTrialBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+     * used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + */ + public Builder setTrainTrial(com.google.cloud.aiplatform.v1.NasTrial value) { + if (trainTrialBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + trainTrial_ = value; + } else { + trainTrialBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+     * used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + */ + public Builder setTrainTrial(com.google.cloud.aiplatform.v1.NasTrial.Builder builderForValue) { + if (trainTrialBuilder_ == null) { + trainTrial_ = builderForValue.build(); + } else { + trainTrialBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+     * used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + */ + public Builder mergeTrainTrial(com.google.cloud.aiplatform.v1.NasTrial value) { + if (trainTrialBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && trainTrial_ != null + && trainTrial_ != com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance()) { + getTrainTrialBuilder().mergeFrom(value); + } else { + trainTrial_ = value; + } + } else { + trainTrialBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+     * used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + */ + public Builder clearTrainTrial() { + bitField0_ = (bitField0_ & ~0x00000008); + trainTrial_ = null; + if (trainTrialBuilder_ != null) { + trainTrialBuilder_.dispose(); + trainTrialBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+     * used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + */ + public com.google.cloud.aiplatform.v1.NasTrial.Builder getTrainTrialBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getTrainTrialFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+     * used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + */ + public com.google.cloud.aiplatform.v1.NasTrialOrBuilder getTrainTrialOrBuilder() { + if (trainTrialBuilder_ != null) { + return trainTrialBuilder_.getMessageOrBuilder(); + } else { + return trainTrial_ == null + ? com.google.cloud.aiplatform.v1.NasTrial.getDefaultInstance() + : trainTrial_; + } + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+     * used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder> + getTrainTrialFieldBuilder() { + if (trainTrialBuilder_ == null) { + trainTrialBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.NasTrial, + com.google.cloud.aiplatform.v1.NasTrial.Builder, + com.google.cloud.aiplatform.v1.NasTrialOrBuilder>( + getTrainTrial(), getParentForChildren(), isClean()); + trainTrial_ = null; + } + return trainTrialBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.NasTrialDetail) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.NasTrialDetail) + private static final com.google.cloud.aiplatform.v1.NasTrialDetail DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.NasTrialDetail(); + } + + public static com.google.cloud.aiplatform.v1.NasTrialDetail getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasTrialDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.NasTrialDetail getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialDetailName.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialDetailName.java new file mode 100644 index 000000000000..8ac7c0804c59 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialDetailName.java @@ -0,0 +1,269 @@ +/* + * Copyright 2022 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.aiplatform.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 NasTrialDetailName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_NAS_JOB_NAS_TRIAL_DETAIL = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String nasJob; + private final String nasTrialDetail; + + @Deprecated + protected NasTrialDetailName() { + project = null; + location = null; + nasJob = null; + nasTrialDetail = null; + } + + private NasTrialDetailName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + nasJob = Preconditions.checkNotNull(builder.getNasJob()); + nasTrialDetail = Preconditions.checkNotNull(builder.getNasTrialDetail()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNasJob() { + return nasJob; + } + + public String getNasTrialDetail() { + return nasTrialDetail; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static NasTrialDetailName of( + String project, String location, String nasJob, String nasTrialDetail) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNasJob(nasJob) + .setNasTrialDetail(nasTrialDetail) + .build(); + } + + public static String format( + String project, String location, String nasJob, String nasTrialDetail) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNasJob(nasJob) + .setNasTrialDetail(nasTrialDetail) + .build() + .toString(); + } + + public static NasTrialDetailName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_NAS_JOB_NAS_TRIAL_DETAIL.validatedMatch( + formattedString, "NasTrialDetailName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("nas_job"), + matchMap.get("nas_trial_detail")); + } + + 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 (NasTrialDetailName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_NAS_JOB_NAS_TRIAL_DETAIL.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 (nasJob != null) { + fieldMapBuilder.put("nas_job", nasJob); + } + if (nasTrialDetail != null) { + fieldMapBuilder.put("nas_trial_detail", nasTrialDetail); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_NAS_JOB_NAS_TRIAL_DETAIL.instantiate( + "project", + project, + "location", + location, + "nas_job", + nasJob, + "nas_trial_detail", + nasTrialDetail); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + NasTrialDetailName that = ((NasTrialDetailName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.nasJob, that.nasJob) + && Objects.equals(this.nasTrialDetail, that.nasTrialDetail); + } + 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(nasJob); + h *= 1000003; + h ^= Objects.hashCode(nasTrialDetail); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}. + */ + public static class Builder { + private String project; + private String location; + private String nasJob; + private String nasTrialDetail; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNasJob() { + return nasJob; + } + + public String getNasTrialDetail() { + return nasTrialDetail; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setNasJob(String nasJob) { + this.nasJob = nasJob; + return this; + } + + public Builder setNasTrialDetail(String nasTrialDetail) { + this.nasTrialDetail = nasTrialDetail; + return this; + } + + private Builder(NasTrialDetailName nasTrialDetailName) { + this.project = nasTrialDetailName.project; + this.location = nasTrialDetailName.location; + this.nasJob = nasTrialDetailName.nasJob; + this.nasTrialDetail = nasTrialDetailName.nasTrialDetail; + } + + public NasTrialDetailName build() { + return new NasTrialDetailName(this); + } + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialDetailOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialDetailOrBuilder.java new file mode 100644 index 000000000000..d1e0078015c8 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialDetailOrBuilder.java @@ -0,0 +1,157 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +public interface NasTrialDetailOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasTrialDetail) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Resource name of the NasTrialDetail.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. Resource name of the NasTrialDetail.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * The parameters for the NasJob NasTrial.
+   * 
+ * + * string parameters = 2; + * + * @return The parameters. + */ + java.lang.String getParameters(); + /** + * + * + *
+   * The parameters for the NasJob NasTrial.
+   * 
+ * + * string parameters = 2; + * + * @return The bytes for parameters. + */ + com.google.protobuf.ByteString getParametersBytes(); + + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + * + * @return Whether the searchTrial field is set. + */ + boolean hasSearchTrial(); + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + * + * @return The searchTrial. + */ + com.google.cloud.aiplatform.v1.NasTrial getSearchTrial(); + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial search_trial = 3; + */ + com.google.cloud.aiplatform.v1.NasTrialOrBuilder getSearchTrialOrBuilder(); + + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+   * used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + * + * @return Whether the trainTrial field is set. + */ + boolean hasTrainTrial(); + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+   * used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + * + * @return The trainTrial. + */ + com.google.cloud.aiplatform.v1.NasTrial getTrainTrial(); + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is
+   * used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1.NasTrial train_trial = 4; + */ + com.google.cloud.aiplatform.v1.NasTrialOrBuilder getTrainTrialOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialOrBuilder.java new file mode 100644 index 000000000000..dcbbca582855 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/NasTrialOrBuilder.java @@ -0,0 +1,199 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/nas_job.proto + +package com.google.cloud.aiplatform.v1; + +public interface NasTrialOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.NasTrial) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The identifier of the NasTrial assigned by the service.
+   * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The id. + */ + java.lang.String getId(); + /** + * + * + *
+   * Output only. The identifier of the NasTrial assigned by the service.
+   * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * + * + *
+   * Output only. The detailed state of the NasTrial.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * + * + *
+   * Output only. The detailed state of the NasTrial.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.aiplatform.v1.NasTrial.State getState(); + + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the finalMeasurement field is set. + */ + boolean hasFinalMeasurement(); + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The finalMeasurement. + */ + com.google.cloud.aiplatform.v1.Measurement getFinalMeasurement(); + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1.MeasurementOrBuilder getFinalMeasurementOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java index 20d099390260..fb799cf2481b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/OperationProto.java @@ -55,12 +55,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".google.protobuf.TimestampB\003\340A\003\"i\n\027Delet" + "eOperationMetadata\022N\n\020generic_metadata\030\001" + " \001(\01324.google.cloud.aiplatform.v1.Generi" - + "cOperationMetadataB\322\001\n\036com.google.cloud." - + "aiplatform.v1B\016OperationProtoP\001ZDgoogle." - + "golang.org/genproto/googleapis/cloud/aip" - + "latform/v1;aiplatform\252\002\032Google.Cloud.AIP" - + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352" - + "\002\035Google::Cloud::AIPlatform::V1b\006proto3" + + "cOperationMetadataB\314\001\n\036com.google.cloud." + + "aiplatform.v1B\016OperationProtoP\001Z>cloud.g" + + "oogle.com/go/aiplatform/apiv1/aiplatform" + + "pb;aiplatformpb\252\002\032Google.Cloud.AIPlatfor" + + "m.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goog" + + "le::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java index d7e83e9b9d7f..3ee64e5001a0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Pipeline.java @@ -206,28 +206,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "NDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEEDED\020\003\022\022\n\016C" + "ANCEL_PENDING\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCE" + "LLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPED\020\010\022\021\n\rNOT_T" - + "RIGGERED\020\t\"\267\004\n\032PipelineTaskExecutorDetai" + + "RIGGERED\020\t\"\313\004\n\032PipelineTaskExecutorDetai" + "l\022g\n\020container_detail\030\001 \001(\0132F.google.clo" + "ud.aiplatform.v1.PipelineTaskExecutorDet" - + "ail.ContainerDetailB\003\340A\003H\000\022j\n\021custom_job" + + "ail.ContainerDetailB\003\340A\003H\000\022h\n\021custom_job" + "_detail\030\002 \001(\0132F.google.cloud.aiplatform." + "v1.PipelineTaskExecutorDetail.CustomJobD" - + "etailB\005\030\001\340A\003H\000\032\347\001\n\017ContainerDetail\022=\n\010ma" - + "in_job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.googlea" - + "pis.com/CustomJob\022J\n\025pre_caching_check_j" - + "ob\030\002 \001(\tB+\340A\003\372A%\n#aiplatform.googleapis." - + "com/CustomJob\022\035\n\020failed_main_jobs\030\003 \003(\tB" - + "\003\340A\003\022*\n\035failed_pre_caching_check_jobs\030\004 " - + "\003(\tB\003\340A\003\032O\n\017CustomJobDetail\0228\n\003job\030\001 \001(\t" - + "B+\340A\003\372A%\n#aiplatform.googleapis.com/Cust" - + "omJob:\002\030\001B\t\n\007detailsB\235\002\n\036com.google.clou" - + "d.aiplatform.v1B\010PipelineP\001ZDgoogle.gola" - + "ng.org/genproto/googleapis/cloud/aiplatf" - + "orm/v1;aiplatform\252\002\032Google.Cloud.AIPlatf" - + "orm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Go" - + "ogle::Cloud::AIPlatform::V1\352AN\n\036compute." - + "googleapis.com/Network\022,projects/{projec" - + "t}/global/networks/{network}b\006proto3" + + "etailB\003\340A\003H\000\032\347\001\n\017ContainerDetail\022=\n\010main" + + "_job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.googleapi" + + "s.com/CustomJob\022J\n\025pre_caching_check_job" + + "\030\002 \001(\tB+\340A\003\372A%\n#aiplatform.googleapis.co" + + "m/CustomJob\022\035\n\020failed_main_jobs\030\003 \003(\tB\003\340" + + "A\003\022*\n\035failed_pre_caching_check_jobs\030\004 \003(" + + "\tB\003\340A\003\032e\n\017CustomJobDetail\0228\n\003job\030\001 \001(\tB+" + + "\340A\003\372A%\n#aiplatform.googleapis.com/Custom" + + "Job\022\030\n\013failed_jobs\030\003 \003(\tB\003\340A\003B\t\n\007details" + + "B\227\002\n\036com.google.cloud.aiplatform.v1B\010Pip" + + "elineP\001Z>cloud.google.com/go/aiplatform/" + + "apiv1/aiplatformpb;aiplatformpb\252\002\032Google" + + ".Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPl" + + "atform\\V1\352\002\035Google::Cloud::AIPlatform::V" + + "1\352AN\n\036compute.googleapis.com/Network\022,pr" + + "ojects/{project}/global/networks/{networ" + + "k}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -432,7 +433,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_PipelineTaskExecutorDetail_CustomJobDetail_descriptor, new java.lang.String[] { - "Job", + "Job", "FailedJobs", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineFailurePolicyProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineFailurePolicyProto.java index 6ca59be1d83d..6f303556ce5c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineFailurePolicyProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineFailurePolicyProto.java @@ -40,13 +40,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "orm.v1*\216\001\n\025PipelineFailurePolicy\022\'\n#PIPE" + "LINE_FAILURE_POLICY_UNSPECIFIED\020\000\022%\n!PIP" + "ELINE_FAILURE_POLICY_FAIL_SLOW\020\001\022%\n!PIPE" - + "LINE_FAILURE_POLICY_FAIL_FAST\020\002B\336\001\n\036com." + + "LINE_FAILURE_POLICY_FAIL_FAST\020\002B\330\001\n\036com." + "google.cloud.aiplatform.v1B\032PipelineFail" - + "urePolicyProtoP\001ZDgoogle.golang.org/genp" - + "roto/googleapis/cloud/aiplatform/v1;aipl" - + "atform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Go" - + "ogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud" - + "::AIPlatform::V1b\006proto3" + + "urePolicyProtoP\001Z>cloud.google.com/go/ai" + + "platform/apiv1/aiplatformpb;aiplatformpb" + + "\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\C" + + "loud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPl" + + "atform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceProto.java index a578abf4563f..f1bc7b779dbd 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineServiceProto.java @@ -187,12 +187,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cts/*/locations/*/pipelineJobs/*}:cancel" + ":\001*\332A\004name\032M\312A\031aiplatform.googleapis.com" + "\322A.https://www.googleapis.com/auth/cloud" - + "-platformB\330\001\n\036com.google.cloud.aiplatfor" - + "m.v1B\024PipelineServiceProtoP\001ZDgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1;aiplatform\252\002\032Google.Cloud.AIPlat" - + "form.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035G" - + "oogle::Cloud::AIPlatform::V1b\006proto3" + + "-platformB\322\001\n\036com.google.cloud.aiplatfor" + + "m.v1B\024PipelineServiceProtoP\001Z>cloud.goog" + + "le.com/go/aiplatform/apiv1/aiplatformpb;" + + "aiplatformpb\252\002\032Google.Cloud.AIPlatform.V" + + "1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google:" + + ":Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java index 802f1c958219..78ef39423588 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineStateProto.java @@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_RUNNING\020\003\022\034\n\030PIPELINE_STATE_SUCCEEDED\020\004" + "\022\031\n\025PIPELINE_STATE_FAILED\020\005\022\035\n\031PIPELINE_" + "STATE_CANCELLING\020\006\022\034\n\030PIPELINE_STATE_CAN" - + "CELLED\020\007\022\031\n\025PIPELINE_STATE_PAUSED\020\010B\326\001\n\036" + + "CELLED\020\007\022\031\n\025PIPELINE_STATE_PAUSED\020\010B\320\001\n\036" + "com.google.cloud.aiplatform.v1B\022Pipeline" - + "StateProtoP\001ZDgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1;aiplatfo" - + "rm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google" - + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI" - + "Platform::V1b\006proto3" + + "StateProtoP\001Z>cloud.google.com/go/aiplat" + + "form/apiv1/aiplatformpb;aiplatformpb\252\002\032G" + + "oogle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud" + + "\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatfo" + + "rm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetail.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetail.java index f18a68d0f2f3..b48ebc909881 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetail.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetail.java @@ -1858,7 +1858,6 @@ public com.google.protobuf.Parser getParserForType() { } } - @java.lang.Deprecated public interface CustomJobDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail) @@ -1894,6 +1893,65 @@ public interface CustomJobDetailOrBuilder * @return The bytes for job. */ com.google.protobuf.ByteString getJobBytes(); + + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+     * all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the failedJobs. + */ + java.util.List getFailedJobsList(); + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+     * all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of failedJobs. + */ + int getFailedJobsCount(); + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+     * all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The failedJobs at the given index. + */ + java.lang.String getFailedJobs(int index); + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+     * all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the failedJobs at the given index. + */ + com.google.protobuf.ByteString getFailedJobsBytes(int index); } /** * @@ -1904,7 +1962,6 @@ public interface CustomJobDetailOrBuilder * * Protobuf type {@code google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail} */ - @java.lang.Deprecated public static final class CustomJobDetail extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail) @@ -1917,6 +1974,7 @@ private CustomJobDetail(com.google.protobuf.GeneratedMessageV3.Builder builde private CustomJobDetail() { job_ = ""; + failedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @@ -2003,6 +2061,77 @@ public com.google.protobuf.ByteString getJobBytes() { } } + public static final int FAILED_JOBS_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList failedJobs_; + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+     * all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the failedJobs. + */ + public com.google.protobuf.ProtocolStringList getFailedJobsList() { + return failedJobs_; + } + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+     * all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of failedJobs. + */ + public int getFailedJobsCount() { + return failedJobs_.size(); + } + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+     * all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The failedJobs at the given index. + */ + public java.lang.String getFailedJobs(int index) { + return failedJobs_.get(index); + } + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+     * all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the failedJobs at the given index. + */ + public com.google.protobuf.ByteString getFailedJobsBytes(int index) { + return failedJobs_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2020,6 +2149,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(job_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, job_); } + for (int i = 0; i < failedJobs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, failedJobs_.getRaw(i)); + } getUnknownFields().writeTo(output); } @@ -2032,6 +2164,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(job_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, job_); } + { + int dataSize = 0; + for (int i = 0; i < failedJobs_.size(); i++) { + dataSize += computeStringSizeNoTag(failedJobs_.getRaw(i)); + } + size += dataSize; + size += 1 * getFailedJobsList().size(); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2050,6 +2190,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail) obj; if (!getJob().equals(other.getJob())) return false; + if (!getFailedJobsList().equals(other.getFailedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2063,6 +2204,10 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + JOB_FIELD_NUMBER; hash = (53 * hash) + getJob().hashCode(); + if (getFailedJobsCount() > 0) { + hash = (37 * hash) + FAILED_JOBS_FIELD_NUMBER; + hash = (53 * hash) + getFailedJobsList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2214,6 +2359,8 @@ public Builder clear() { super.clear(); bitField0_ = 0; job_ = ""; + failedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -2245,6 +2392,7 @@ public com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail buildPartial() { com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail result = new com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail(this); + buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -2252,6 +2400,15 @@ public com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail return result; } + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail result) { + if (((bitField0_ & 0x00000002) != 0)) { + failedJobs_ = failedJobs_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.failedJobs_ = failedJobs_; + } + private void buildPartial0( com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail result) { int from_bitField0_ = bitField0_; @@ -2317,6 +2474,16 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; onChanged(); } + if (!other.failedJobs_.isEmpty()) { + if (failedJobs_.isEmpty()) { + failedJobs_ = other.failedJobs_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureFailedJobsIsMutable(); + failedJobs_.addAll(other.failedJobs_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2349,6 +2516,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 10 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedJobsIsMutable(); + failedJobs_.add(s); + break; + } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2489,6 +2663,192 @@ public Builder setJobBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.LazyStringList failedJobs_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureFailedJobsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + failedJobs_ = new com.google.protobuf.LazyStringArrayList(failedJobs_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+       * all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the failedJobs. + */ + public com.google.protobuf.ProtocolStringList getFailedJobsList() { + return failedJobs_.getUnmodifiableView(); + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+       * all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of failedJobs. + */ + public int getFailedJobsCount() { + return failedJobs_.size(); + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+       * all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The failedJobs at the given index. + */ + public java.lang.String getFailedJobs(int index) { + return failedJobs_.get(index); + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+       * all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the failedJobs at the given index. + */ + public com.google.protobuf.ByteString getFailedJobsBytes(int index) { + return failedJobs_.getByteString(index); + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+       * all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index to set the value at. + * @param value The failedJobs to set. + * @return This builder for chaining. + */ + public Builder setFailedJobs(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFailedJobsIsMutable(); + failedJobs_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+       * all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The failedJobs to add. + * @return This builder for chaining. + */ + public Builder addFailedJobs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFailedJobsIsMutable(); + failedJobs_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+       * all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param values The failedJobs to add. + * @return This builder for chaining. + */ + public Builder addAllFailedJobs(java.lang.Iterable values) { + ensureFailedJobsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedJobs_); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+       * all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearFailedJobs() { + failedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the
+       * all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes of the failedJobs to add. + * @return This builder for chaining. + */ + public Builder addFailedJobsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureFailedJobsIsMutable(); + failedJobs_.add(value); + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2565,7 +2925,6 @@ public enum DetailsCase com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONTAINER_DETAIL(1), - @java.lang.Deprecated CUSTOM_JOB_DETAIL(2), DETAILS_NOT_SET(0); private final int value; @@ -2675,15 +3034,12 @@ public boolean hasContainerDetail() { *
* * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=401 * @return Whether the customJobDetail field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasCustomJobDetail() { return detailsCase_ == 2; } @@ -2695,15 +3051,12 @@ public boolean hasCustomJobDetail() { *
* * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=401 * @return The customJobDetail. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail getCustomJobDetail() { if (detailsCase_ == 2) { @@ -2720,11 +3073,10 @@ public boolean hasCustomJobDetail() { *
* * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetailOrBuilder getCustomJobDetailOrBuilder() { if (detailsCase_ == 2) { @@ -3416,15 +3768,12 @@ public Builder clearContainerDetail() { *
* * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=401 * @return Whether the customJobDetail field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasCustomJobDetail() { return detailsCase_ == 2; } @@ -3436,15 +3785,12 @@ public boolean hasCustomJobDetail() { *
* * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=401 * @return The customJobDetail. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail getCustomJobDetail() { if (customJobDetailBuilder_ == null) { @@ -3470,10 +3816,9 @@ public boolean hasCustomJobDetail() { * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public Builder setCustomJobDetail( com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail value) { if (customJobDetailBuilder_ == null) { @@ -3496,10 +3841,9 @@ public Builder setCustomJobDetail( * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public Builder setCustomJobDetail( com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail.Builder builderForValue) { @@ -3520,10 +3864,9 @@ public Builder setCustomJobDetail( * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public Builder mergeCustomJobDetail( com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail value) { if (customJobDetailBuilder_ == null) { @@ -3559,10 +3902,9 @@ public Builder mergeCustomJobDetail( * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public Builder clearCustomJobDetail() { if (customJobDetailBuilder_ == null) { if (detailsCase_ == 2) { @@ -3587,10 +3929,9 @@ public Builder clearCustomJobDetail() { * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail.Builder getCustomJobDetailBuilder() { return getCustomJobDetailFieldBuilder().getBuilder(); @@ -3603,11 +3944,10 @@ public Builder clearCustomJobDetail() { * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetailOrBuilder getCustomJobDetailOrBuilder() { if ((detailsCase_ == 2) && (customJobDetailBuilder_ != null)) { @@ -3629,7 +3969,7 @@ public Builder clearCustomJobDetail() { * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetailOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetailOrBuilder.java index e88466bdf692..87eeb5dd8d61 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetailOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PipelineTaskExecutorDetailOrBuilder.java @@ -73,14 +73,11 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=401 * @return Whether the customJobDetail field is set. */ - @java.lang.Deprecated boolean hasCustomJobDetail(); /** * @@ -90,14 +87,11 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1/pipeline_job.proto;l=401 * @return The customJobDetail. */ - @java.lang.Deprecated com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail getCustomJobDetail(); /** * @@ -107,10 +101,9 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * - * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated com.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetailOrBuilder getCustomJobDetailOrBuilder(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java index 61a2a23bf18c..7530f92602c8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PredictionServiceProto.java @@ -104,13 +104,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*/endpoints/*}:explain:\001*\332A/endpoint,ins" + "tances,parameters,deployed_model_id\032M\312A\031" + "aiplatform.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB\332\001\n\036c" + + "googleapis.com/auth/cloud-platformB\324\001\n\036c" + "om.google.cloud.aiplatform.v1B\026Predictio" - + "nServiceProtoP\001ZDgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1;aipla" - + "tform\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goo" - + "gle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud:" - + ":AIPlatform::V1b\006proto3" + + "nServiceProtoP\001Z>cloud.google.com/go/aip" + + "latform/apiv1/aiplatformpb;aiplatformpb\252" + + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl" + + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla" + + "tform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PrivateServiceConnectConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PrivateServiceConnectConfig.java new file mode 100644 index 000000000000..cbb8736a5d15 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PrivateServiceConnectConfig.java @@ -0,0 +1,835 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/service_networking.proto + +package com.google.cloud.aiplatform.v1; + +/** + * + * + *
+ * Represents configuration for private service connect.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PrivateServiceConnectConfig} + */ +public final class PrivateServiceConnectConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.PrivateServiceConnectConfig) + PrivateServiceConnectConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use PrivateServiceConnectConfig.newBuilder() to construct. + private PrivateServiceConnectConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PrivateServiceConnectConfig() { + projectAllowlist_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PrivateServiceConnectConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.class, + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.Builder.class); + } + + public static final int ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER = 1; + private boolean enablePrivateServiceConnect_ = false; + /** + * + * + *
+   * Required. If true, expose the IndexEndpoint via private service connect.
+   * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The enablePrivateServiceConnect. + */ + @java.lang.Override + public boolean getEnablePrivateServiceConnect() { + return enablePrivateServiceConnect_; + } + + public static final int PROJECT_ALLOWLIST_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList projectAllowlist_; + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @return A list containing the projectAllowlist. + */ + public com.google.protobuf.ProtocolStringList getProjectAllowlistList() { + return projectAllowlist_; + } + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @return The count of projectAllowlist. + */ + public int getProjectAllowlistCount() { + return projectAllowlist_.size(); + } + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the element to return. + * @return The projectAllowlist at the given index. + */ + public java.lang.String getProjectAllowlist(int index) { + return projectAllowlist_.get(index); + } + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the value to return. + * @return The bytes of the projectAllowlist at the given index. + */ + public com.google.protobuf.ByteString getProjectAllowlistBytes(int index) { + return projectAllowlist_.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 (enablePrivateServiceConnect_ != false) { + output.writeBool(1, enablePrivateServiceConnect_); + } + for (int i = 0; i < projectAllowlist_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectAllowlist_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enablePrivateServiceConnect_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateServiceConnect_); + } + { + int dataSize = 0; + for (int i = 0; i < projectAllowlist_.size(); i++) { + dataSize += computeStringSizeNoTag(projectAllowlist_.getRaw(i)); + } + size += dataSize; + size += 1 * getProjectAllowlistList().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.aiplatform.v1.PrivateServiceConnectConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig other = + (com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig) obj; + + if (getEnablePrivateServiceConnect() != other.getEnablePrivateServiceConnect()) return false; + if (!getProjectAllowlistList().equals(other.getProjectAllowlistList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateServiceConnect()); + if (getProjectAllowlistCount() > 0) { + hash = (37 * hash) + PROJECT_ALLOWLIST_FIELD_NUMBER; + hash = (53 * hash) + getProjectAllowlistList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents configuration for private service connect.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.PrivateServiceConnectConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.PrivateServiceConnectConfig) + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.class, + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + enablePrivateServiceConnect_ = false; + projectAllowlist_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig build() { + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig buildPartial() { + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig result = + new com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig result) { + if (((bitField0_ & 0x00000002) != 0)) { + projectAllowlist_ = projectAllowlist_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.projectAllowlist_ = projectAllowlist_; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enablePrivateServiceConnect_ = enablePrivateServiceConnect_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig) { + return mergeFrom((com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig other) { + if (other == com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig.getDefaultInstance()) + return this; + if (other.getEnablePrivateServiceConnect() != false) { + setEnablePrivateServiceConnect(other.getEnablePrivateServiceConnect()); + } + if (!other.projectAllowlist_.isEmpty()) { + if (projectAllowlist_.isEmpty()) { + projectAllowlist_ = other.projectAllowlist_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureProjectAllowlistIsMutable(); + projectAllowlist_.addAll(other.projectAllowlist_); + } + 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: + { + enablePrivateServiceConnect_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureProjectAllowlistIsMutable(); + projectAllowlist_.add(s); + 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 boolean enablePrivateServiceConnect_; + /** + * + * + *
+     * Required. If true, expose the IndexEndpoint via private service connect.
+     * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enablePrivateServiceConnect. + */ + @java.lang.Override + public boolean getEnablePrivateServiceConnect() { + return enablePrivateServiceConnect_; + } + /** + * + * + *
+     * Required. If true, expose the IndexEndpoint via private service connect.
+     * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The enablePrivateServiceConnect to set. + * @return This builder for chaining. + */ + public Builder setEnablePrivateServiceConnect(boolean value) { + + enablePrivateServiceConnect_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. If true, expose the IndexEndpoint via private service connect.
+     * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearEnablePrivateServiceConnect() { + bitField0_ = (bitField0_ & ~0x00000001); + enablePrivateServiceConnect_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList projectAllowlist_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureProjectAllowlistIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + projectAllowlist_ = new com.google.protobuf.LazyStringArrayList(projectAllowlist_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @return A list containing the projectAllowlist. + */ + public com.google.protobuf.ProtocolStringList getProjectAllowlistList() { + return projectAllowlist_.getUnmodifiableView(); + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @return The count of projectAllowlist. + */ + public int getProjectAllowlistCount() { + return projectAllowlist_.size(); + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the element to return. + * @return The projectAllowlist at the given index. + */ + public java.lang.String getProjectAllowlist(int index) { + return projectAllowlist_.get(index); + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the value to return. + * @return The bytes of the projectAllowlist at the given index. + */ + public com.google.protobuf.ByteString getProjectAllowlistBytes(int index) { + return projectAllowlist_.getByteString(index); + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index to set the value at. + * @param value The projectAllowlist to set. + * @return This builder for chaining. + */ + public Builder setProjectAllowlist(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureProjectAllowlistIsMutable(); + projectAllowlist_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param value The projectAllowlist to add. + * @return This builder for chaining. + */ + public Builder addProjectAllowlist(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureProjectAllowlistIsMutable(); + projectAllowlist_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param values The projectAllowlist to add. + * @return This builder for chaining. + */ + public Builder addAllProjectAllowlist(java.lang.Iterable values) { + ensureProjectAllowlistIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, projectAllowlist_); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @return This builder for chaining. + */ + public Builder clearProjectAllowlist() { + projectAllowlist_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param value The bytes of the projectAllowlist to add. + * @return This builder for chaining. + */ + public Builder addProjectAllowlistBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureProjectAllowlistIsMutable(); + projectAllowlist_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.PrivateServiceConnectConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.PrivateServiceConnectConfig) + private static final com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig(); + } + + public static com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateServiceConnectConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.PrivateServiceConnectConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PrivateServiceConnectConfigOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PrivateServiceConnectConfigOrBuilder.java new file mode 100644 index 000000000000..96c260e12517 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/PrivateServiceConnectConfigOrBuilder.java @@ -0,0 +1,93 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/service_networking.proto + +package com.google.cloud.aiplatform.v1; + +public interface PrivateServiceConnectConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.PrivateServiceConnectConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. If true, expose the IndexEndpoint via private service connect.
+   * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The enablePrivateServiceConnect. + */ + boolean getEnablePrivateServiceConnect(); + + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @return A list containing the projectAllowlist. + */ + java.util.List getProjectAllowlistList(); + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @return The count of projectAllowlist. + */ + int getProjectAllowlistCount(); + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the element to return. + * @return The projectAllowlist at the given index. + */ + java.lang.String getProjectAllowlist(int index); + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the value to return. + * @return The bytes of the projectAllowlist at the given index. + */ + com.google.protobuf.ByteString getProjectAllowlistBytes(int index); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQueryProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQueryProto.java index 160968d9d9ce..a3e95e2ab407 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQueryProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SavedQueryProto.java @@ -57,12 +57,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "}\n$aiplatform.googleapis.com/SavedQuery\022" + "Uprojects/{project}/locations/{location}" + "/datasets/{dataset}/savedQueries/{saved_" - + "query}B\323\001\n\036com.google.cloud.aiplatform.v" - + "1B\017SavedQueryProtoP\001ZDgoogle.golang.org/" - + "genproto/googleapis/cloud/aiplatform/v1;" - + "aiplatform\252\002\032Google.Cloud.AIPlatform.V1\312" - + "\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::C" - + "loud::AIPlatform::V1b\006proto3" + + "query}B\315\001\n\036com.google.cloud.aiplatform.v" + + "1B\017SavedQueryProtoP\001Z>cloud.google.com/g" + + "o/aiplatform/apiv1/aiplatformpb;aiplatfo" + + "rmpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" + + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::" + + "AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ServiceNetworkingProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ServiceNetworkingProto.java new file mode 100644 index 000000000000..365aa9606617 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ServiceNetworkingProto.java @@ -0,0 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1/service_networking.proto + +package com.google.cloud.aiplatform.v1; + +public final class ServiceNetworkingProto { + private ServiceNetworkingProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/aiplatform/v1/service_net" + + "working.proto\022\032google.cloud.aiplatform.v" + + "1\032\037google/api/field_behavior.proto\"e\n\033Pr" + + "ivateServiceConnectConfig\022+\n\036enable_priv" + + "ate_service_connect\030\001 \001(\010B\003\340A\002\022\031\n\021projec" + + "t_allowlist\030\002 \003(\tB\324\001\n\036com.google.cloud.a" + + "iplatform.v1B\026ServiceNetworkingProtoP\001Z>" + + "cloud.google.com/go/aiplatform/apiv1/aip" + + "latformpb;aiplatformpb\252\002\032Google.Cloud.AI" + + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" + + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_PrivateServiceConnectConfig_descriptor, + new java.lang.String[] { + "EnablePrivateServiceConnect", "ProjectAllowlist", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java index 8f82efbbc2d6..7fca6d80ef4f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolProto.java @@ -51,13 +51,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \n\030specialist_worker_emails\030\007 \003(\t:x\352Au\n(" + "aiplatform.googleapis.com/SpecialistPool" + "\022Iprojects/{project}/locations/{location" - + "}/specialistPools/{specialist_pool}B\327\001\n\036" + + "}/specialistPools/{specialist_pool}B\321\001\n\036" + "com.google.cloud.aiplatform.v1B\023Speciali" - + "stPoolProtoP\001ZDgoogle.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1;aiplatf" - + "orm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Googl" - + "e\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::A" - + "IPlatform::V1b\006proto3" + + "stPoolProtoP\001Z>cloud.google.com/go/aipla" + + "tform/apiv1/aiplatformpb;aiplatformpb\252\002\032" + + "Google.Cloud.AIPlatform.V1\312\002\032Google\\Clou" + + "d\\AIPlatform\\V1\352\002\035Google::Cloud::AIPlatf" + + "orm::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceProto.java index db12e99795ad..868a9b89526d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/SpecialistPoolServiceProto.java @@ -138,13 +138,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "A7\n\016SpecialistPool\022%UpdateSpecialistPool" + "OperationMetadata\032M\312A\031aiplatform.googlea" + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformB\336\001\n\036com.google.cloud.ai" + + "h/cloud-platformB\330\001\n\036com.google.cloud.ai" + "platform.v1B\032SpecialistPoolServiceProtoP" - + "\001ZDgoogle.golang.org/genproto/googleapis" - + "/cloud/aiplatform/v1;aiplatform\252\002\032Google" - + ".Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPl" - + "atform\\V1\352\002\035Google::Cloud::AIPlatform::V" - + "1b\006proto3" + + "\001Z>cloud.google.com/go/aiplatform/apiv1/" + + "aiplatformpb;aiplatformpb\252\002\032Google.Cloud" + + ".AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatform" + + "\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java index 0ebf3b5f6ff0..e2f6d2413bb9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudyProto.java @@ -51,6 +51,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1_StudySpec_ParameterSpec_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -156,7 +160,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\014\n\010STOPPING\020\003\022\r\n\tSUCCEEDED\020\004\022\016\n\nINFEASI" + "BLE\020\005:l\352Ai\n\037aiplatform.googleapis.com/Tr" + "ial\022Fprojects/{project}/locations/{locat" - + "ion}/studies/{study}/trials/{trial}\"\206\033\n\t" + + "ion}/studies/{study}/trials/{trial}\"\376\034\n\t" + "StudySpec\022j\n\031decay_curve_stopping_spec\030\004" + " \001(\0132E.google.cloud.aiplatform.v1.StudyS" + "pec.DecayCurveAutomatedStoppingSpecH\000\022k\n" @@ -175,86 +179,92 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "atform.v1.StudySpec.ObservationNoise\022b\n\032" + "measurement_selection_type\030\007 \001(\0162>.googl" + "e.cloud.aiplatform.v1.StudySpec.Measurem" - + "entSelectionType\032\265\001\n\nMetricSpec\022\026\n\tmetri" + + "entSelectionType\032\255\003\n\nMetricSpec\022\026\n\tmetri" + "c_id\030\001 \001(\tB\003\340A\002\022L\n\004goal\030\002 \001(\01629.google.c" + "loud.aiplatform.v1.StudySpec.MetricSpec." - + "GoalTypeB\003\340A\002\"A\n\010GoalType\022\031\n\025GOAL_TYPE_U" - + "NSPECIFIED\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n\010MINIMIZE\020\002" - + "\032\315\016\n\rParameterSpec\022`\n\021double_value_spec\030" - + "\002 \001(\0132C.google.cloud.aiplatform.v1.Study" - + "Spec.ParameterSpec.DoubleValueSpecH\000\022b\n\022" - + "integer_value_spec\030\003 \001(\0132D.google.cloud." - + "aiplatform.v1.StudySpec.ParameterSpec.In" - + "tegerValueSpecH\000\022j\n\026categorical_value_sp" - + "ec\030\004 \001(\0132H.google.cloud.aiplatform.v1.St" - + "udySpec.ParameterSpec.CategoricalValueSp" - + "ecH\000\022d\n\023discrete_value_spec\030\005 \001(\0132E.goog" - + "le.cloud.aiplatform.v1.StudySpec.Paramet" - + "erSpec.DiscreteValueSpecH\000\022\031\n\014parameter_" - + "id\030\001 \001(\tB\003\340A\002\022Q\n\nscale_type\030\006 \001(\0162=.goog" - + "le.cloud.aiplatform.v1.StudySpec.Paramet" - + "erSpec.ScaleType\022q\n\033conditional_paramete" - + "r_specs\030\n \003(\0132L.google.cloud.aiplatform." - + "v1.StudySpec.ParameterSpec.ConditionalPa" - + "rameterSpec\032o\n\017DoubleValueSpec\022\026\n\tmin_va" - + "lue\030\001 \001(\001B\003\340A\002\022\026\n\tmax_value\030\002 \001(\001B\003\340A\002\022\032" - + "\n\rdefault_value\030\004 \001(\001H\000\210\001\001B\020\n\016_default_v" - + "alue\032p\n\020IntegerValueSpec\022\026\n\tmin_value\030\001 " - + "\001(\003B\003\340A\002\022\026\n\tmax_value\030\002 \001(\003B\003\340A\002\022\032\n\rdefa" - + "ult_value\030\004 \001(\003H\000\210\001\001B\020\n\016_default_value\032Y" - + "\n\024CategoricalValueSpec\022\023\n\006values\030\001 \003(\tB\003" - + "\340A\002\022\032\n\rdefault_value\030\003 \001(\tH\000\210\001\001B\020\n\016_defa" - + "ult_value\032V\n\021DiscreteValueSpec\022\023\n\006values" - + "\030\001 \003(\001B\003\340A\002\022\032\n\rdefault_value\030\003 \001(\001H\000\210\001\001B" - + "\020\n\016_default_value\032\244\005\n\030ConditionalParamet" - + "erSpec\022\205\001\n\026parent_discrete_values\030\002 \001(\0132" - + "c.google.cloud.aiplatform.v1.StudySpec.P" - + "arameterSpec.ConditionalParameterSpec.Di" - + "screteValueConditionH\000\022{\n\021parent_int_val" - + "ues\030\003 \001(\0132^.google.cloud.aiplatform.v1.S" - + "tudySpec.ParameterSpec.ConditionalParame" - + "terSpec.IntValueConditionH\000\022\213\001\n\031parent_c" - + "ategorical_values\030\004 \001(\0132f.google.cloud.a" - + "iplatform.v1.StudySpec.ParameterSpec.Con" - + "ditionalParameterSpec.CategoricalValueCo" - + "nditionH\000\022P\n\016parameter_spec\030\001 \001(\01323.goog" - + "le.cloud.aiplatform.v1.StudySpec.Paramet" - + "erSpecB\003\340A\002\032-\n\026DiscreteValueCondition\022\023\n" - + "\006values\030\001 \003(\001B\003\340A\002\032(\n\021IntValueCondition\022" - + "\023\n\006values\030\001 \003(\003B\003\340A\002\0320\n\031CategoricalValue" - + "Condition\022\023\n\006values\030\001 \003(\tB\003\340A\002B\030\n\026parent" - + "_value_condition\"n\n\tScaleType\022\032\n\026SCALE_T" - + "YPE_UNSPECIFIED\020\000\022\025\n\021UNIT_LINEAR_SCALE\020\001" - + "\022\022\n\016UNIT_LOG_SCALE\020\002\022\032\n\026UNIT_REVERSE_LOG" - + "_SCALE\020\003B\026\n\024parameter_value_spec\032?\n\037Deca" - + "yCurveAutomatedStoppingSpec\022\034\n\024use_elaps" - + "ed_duration\030\001 \001(\010\032;\n\033MedianAutomatedStop" - + "pingSpec\022\034\n\024use_elapsed_duration\030\001 \001(\010\032\366" - + "\001\n\033ConvexAutomatedStoppingSpec\022\026\n\016max_st" - + "ep_count\030\001 \001(\003\022\026\n\016min_step_count\030\002 \001(\003\022\035" - + "\n\025min_measurement_count\030\003 \001(\003\022$\n\034learnin" - + "g_rate_parameter_name\030\004 \001(\t\022\034\n\024use_elaps" - + "ed_duration\030\005 \001(\010\022&\n\031update_all_stopped_" - + "trials\030\006 \001(\010H\000\210\001\001B\034\n\032_update_all_stopped" - + "_trials\"J\n\tAlgorithm\022\031\n\025ALGORITHM_UNSPEC" - + "IFIED\020\000\022\017\n\013GRID_SEARCH\020\002\022\021\n\rRANDOM_SEARC" - + "H\020\003\"H\n\020ObservationNoise\022!\n\035OBSERVATION_N" - + "OISE_UNSPECIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004HIGH\020\002\"r\n" - + "\030MeasurementSelectionType\022*\n&MEASUREMENT" - + "_SELECTION_TYPE_UNSPECIFIED\020\000\022\024\n\020LAST_ME" - + "ASUREMENT\020\001\022\024\n\020BEST_MEASUREMENT\020\002B\031\n\027aut" - + "omated_stopping_spec\"\334\001\n\013Measurement\0228\n\020" - + "elapsed_duration\030\001 \001(\0132\031.google.protobuf" - + ".DurationB\003\340A\003\022\027\n\nstep_count\030\002 \001(\003B\003\340A\003\022" - + "D\n\007metrics\030\003 \003(\0132..google.cloud.aiplatfo" - + "rm.v1.Measurement.MetricB\003\340A\003\0324\n\006Metric\022" - + "\026\n\tmetric_id\030\001 \001(\tB\003\340A\003\022\022\n\005value\030\002 \001(\001B\003" - + "\340A\003B\316\001\n\036com.google.cloud.aiplatform.v1B\n" - + "StudyProtoP\001ZDgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1;aiplatfo" - + "rm\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Google" - + "\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::AI" - + "Platform::V1b\006proto3" + + "GoalTypeB\003\340A\002\022_\n\rsafety_config\030\003 \001(\0132C.g" + + "oogle.cloud.aiplatform.v1.StudySpec.Metr" + + "icSpec.SafetyMetricConfigH\000\210\001\001\032\202\001\n\022Safet" + + "yMetricConfig\022\030\n\020safety_threshold\030\001 \001(\001\022" + + "-\n desired_min_safe_trials_fraction\030\002 \001(" + + "\001H\000\210\001\001B#\n!_desired_min_safe_trials_fract" + + "ion\"A\n\010GoalType\022\031\n\025GOAL_TYPE_UNSPECIFIED" + + "\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n\010MINIMIZE\020\002B\020\n\016_safet" + + "y_config\032\315\016\n\rParameterSpec\022`\n\021double_val" + + "ue_spec\030\002 \001(\0132C.google.cloud.aiplatform." + + "v1.StudySpec.ParameterSpec.DoubleValueSp" + + "ecH\000\022b\n\022integer_value_spec\030\003 \001(\0132D.googl" + + "e.cloud.aiplatform.v1.StudySpec.Paramete" + + "rSpec.IntegerValueSpecH\000\022j\n\026categorical_" + + "value_spec\030\004 \001(\0132H.google.cloud.aiplatfo" + + "rm.v1.StudySpec.ParameterSpec.Categorica" + + "lValueSpecH\000\022d\n\023discrete_value_spec\030\005 \001(" + + "\0132E.google.cloud.aiplatform.v1.StudySpec" + + ".ParameterSpec.DiscreteValueSpecH\000\022\031\n\014pa" + + "rameter_id\030\001 \001(\tB\003\340A\002\022Q\n\nscale_type\030\006 \001(" + + "\0162=.google.cloud.aiplatform.v1.StudySpec" + + ".ParameterSpec.ScaleType\022q\n\033conditional_" + + "parameter_specs\030\n \003(\0132L.google.cloud.aip" + + "latform.v1.StudySpec.ParameterSpec.Condi" + + "tionalParameterSpec\032o\n\017DoubleValueSpec\022\026" + + "\n\tmin_value\030\001 \001(\001B\003\340A\002\022\026\n\tmax_value\030\002 \001(" + + "\001B\003\340A\002\022\032\n\rdefault_value\030\004 \001(\001H\000\210\001\001B\020\n\016_d" + + "efault_value\032p\n\020IntegerValueSpec\022\026\n\tmin_" + + "value\030\001 \001(\003B\003\340A\002\022\026\n\tmax_value\030\002 \001(\003B\003\340A\002" + + "\022\032\n\rdefault_value\030\004 \001(\003H\000\210\001\001B\020\n\016_default" + + "_value\032Y\n\024CategoricalValueSpec\022\023\n\006values" + + "\030\001 \003(\tB\003\340A\002\022\032\n\rdefault_value\030\003 \001(\tH\000\210\001\001B" + + "\020\n\016_default_value\032V\n\021DiscreteValueSpec\022\023" + + "\n\006values\030\001 \003(\001B\003\340A\002\022\032\n\rdefault_value\030\003 \001" + + "(\001H\000\210\001\001B\020\n\016_default_value\032\244\005\n\030Conditiona" + + "lParameterSpec\022\205\001\n\026parent_discrete_value" + + "s\030\002 \001(\0132c.google.cloud.aiplatform.v1.Stu" + + "dySpec.ParameterSpec.ConditionalParamete" + + "rSpec.DiscreteValueConditionH\000\022{\n\021parent" + + "_int_values\030\003 \001(\0132^.google.cloud.aiplatf" + + "orm.v1.StudySpec.ParameterSpec.Condition" + + "alParameterSpec.IntValueConditionH\000\022\213\001\n\031" + + "parent_categorical_values\030\004 \001(\0132f.google" + + ".cloud.aiplatform.v1.StudySpec.Parameter" + + "Spec.ConditionalParameterSpec.Categorica" + + "lValueConditionH\000\022P\n\016parameter_spec\030\001 \001(" + + "\01323.google.cloud.aiplatform.v1.StudySpec" + + ".ParameterSpecB\003\340A\002\032-\n\026DiscreteValueCond" + + "ition\022\023\n\006values\030\001 \003(\001B\003\340A\002\032(\n\021IntValueCo" + + "ndition\022\023\n\006values\030\001 \003(\003B\003\340A\002\0320\n\031Categori" + + "calValueCondition\022\023\n\006values\030\001 \003(\tB\003\340A\002B\030" + + "\n\026parent_value_condition\"n\n\tScaleType\022\032\n" + + "\026SCALE_TYPE_UNSPECIFIED\020\000\022\025\n\021UNIT_LINEAR" + + "_SCALE\020\001\022\022\n\016UNIT_LOG_SCALE\020\002\022\032\n\026UNIT_REV" + + "ERSE_LOG_SCALE\020\003B\026\n\024parameter_value_spec" + + "\032?\n\037DecayCurveAutomatedStoppingSpec\022\034\n\024u" + + "se_elapsed_duration\030\001 \001(\010\032;\n\033MedianAutom" + + "atedStoppingSpec\022\034\n\024use_elapsed_duration" + + "\030\001 \001(\010\032\366\001\n\033ConvexAutomatedStoppingSpec\022\026" + + "\n\016max_step_count\030\001 \001(\003\022\026\n\016min_step_count" + + "\030\002 \001(\003\022\035\n\025min_measurement_count\030\003 \001(\003\022$\n" + + "\034learning_rate_parameter_name\030\004 \001(\t\022\034\n\024u" + + "se_elapsed_duration\030\005 \001(\010\022&\n\031update_all_" + + "stopped_trials\030\006 \001(\010H\000\210\001\001B\034\n\032_update_all" + + "_stopped_trials\"J\n\tAlgorithm\022\031\n\025ALGORITH" + + "M_UNSPECIFIED\020\000\022\017\n\013GRID_SEARCH\020\002\022\021\n\rRAND" + + "OM_SEARCH\020\003\"H\n\020ObservationNoise\022!\n\035OBSER" + + "VATION_NOISE_UNSPECIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004H" + + "IGH\020\002\"r\n\030MeasurementSelectionType\022*\n&MEA" + + "SUREMENT_SELECTION_TYPE_UNSPECIFIED\020\000\022\024\n" + + "\020LAST_MEASUREMENT\020\001\022\024\n\020BEST_MEASUREMENT\020" + + "\002B\031\n\027automated_stopping_spec\"\334\001\n\013Measure" + + "ment\0228\n\020elapsed_duration\030\001 \001(\0132\031.google." + + "protobuf.DurationB\003\340A\003\022\027\n\nstep_count\030\002 \001" + + "(\003B\003\340A\003\022D\n\007metrics\030\003 \003(\0132..google.cloud." + + "aiplatform.v1.Measurement.MetricB\003\340A\003\0324\n" + + "\006Metric\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\003\022\022\n\005value" + + "\030\002 \001(\001B\003\340A\003B\310\001\n\036com.google.cloud.aiplatf" + + "orm.v1B\nStudyProtoP\001Z>cloud.google.com/g" + + "o/aiplatform/apiv1/aiplatformpb;aiplatfo" + + "rmpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Goog" + + "le\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud::" + + "AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -331,7 +341,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_descriptor, new java.lang.String[] { - "MetricId", "Goal", + "MetricId", "Goal", "SafetyConfig", "SafetyConfig", + }); + internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor = + internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor, + new java.lang.String[] { + "SafetyThreshold", "DesiredMinSafeTrialsFraction", "DesiredMinSafeTrialsFraction", }); internal_static_google_cloud_aiplatform_v1_StudySpec_ParameterSpec_descriptor = internal_static_google_cloud_aiplatform_v1_StudySpec_descriptor.getNestedTypes().get(1); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudySpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudySpec.java index 01149947c752..d9036ffd8453 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudySpec.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/StudySpec.java @@ -633,6 +633,51 @@ public interface MetricSpecOrBuilder * @return The goal. */ com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.GoalType getGoal(); + + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return Whether the safetyConfig field is set. + */ + boolean hasSafetyConfig(); + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return The safetyConfig. + */ + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig getSafetyConfig(); + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder + getSafetyConfigOrBuilder(); } /** * @@ -804,45 +849,830 @@ public GoalType findValueByNumber(int 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."); + 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final GoalType[] VALUES = values(); + + public static GoalType 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 GoalType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.StudySpec.MetricSpec.GoalType) + } + + public interface SafetyMetricConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Safety threshold (boundary value between safe and unsafe). NOTE that if
+       * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+       * 
+ * + * double safety_threshold = 1; + * + * @return The safetyThreshold. + */ + double getSafetyThreshold(); + + /** + * + * + *
+       * Desired minimum fraction of safe trials (over total number of trials)
+       * that should be targeted by the algorithm at any time during the
+       * study (best effort). This should be between 0.0 and 1.0 and a value of
+       * 0.0 means that there is no minimum and an algorithm proceeds without
+       * targeting any specific fraction. A value of 1.0 means that the
+       * algorithm attempts to only Suggest safe Trials.
+       * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return Whether the desiredMinSafeTrialsFraction field is set. + */ + boolean hasDesiredMinSafeTrialsFraction(); + /** + * + * + *
+       * Desired minimum fraction of safe trials (over total number of trials)
+       * that should be targeted by the algorithm at any time during the
+       * study (best effort). This should be between 0.0 and 1.0 and a value of
+       * 0.0 means that there is no minimum and an algorithm proceeds without
+       * targeting any specific fraction. A value of 1.0 means that the
+       * algorithm attempts to only Suggest safe Trials.
+       * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return The desiredMinSafeTrialsFraction. + */ + double getDesiredMinSafeTrialsFraction(); + } + /** + * + * + *
+     * Used in safe optimization to specify threshold levels and risk tolerance.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig} + */ + public static final class SafetyMetricConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig) + SafetyMetricConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use SafetyMetricConfig.newBuilder() to construct. + private SafetyMetricConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SafetyMetricConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SafetyMetricConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.StudyProto + .internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.StudyProto + .internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.class, + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.Builder + .class); + } + + private int bitField0_; + public static final int SAFETY_THRESHOLD_FIELD_NUMBER = 1; + private double safetyThreshold_ = 0D; + /** + * + * + *
+       * Safety threshold (boundary value between safe and unsafe). NOTE that if
+       * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+       * 
+ * + * double safety_threshold = 1; + * + * @return The safetyThreshold. + */ + @java.lang.Override + public double getSafetyThreshold() { + return safetyThreshold_; + } + + public static final int DESIRED_MIN_SAFE_TRIALS_FRACTION_FIELD_NUMBER = 2; + private double desiredMinSafeTrialsFraction_ = 0D; + /** + * + * + *
+       * Desired minimum fraction of safe trials (over total number of trials)
+       * that should be targeted by the algorithm at any time during the
+       * study (best effort). This should be between 0.0 and 1.0 and a value of
+       * 0.0 means that there is no minimum and an algorithm proceeds without
+       * targeting any specific fraction. A value of 1.0 means that the
+       * algorithm attempts to only Suggest safe Trials.
+       * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return Whether the desiredMinSafeTrialsFraction field is set. + */ + @java.lang.Override + public boolean hasDesiredMinSafeTrialsFraction() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Desired minimum fraction of safe trials (over total number of trials)
+       * that should be targeted by the algorithm at any time during the
+       * study (best effort). This should be between 0.0 and 1.0 and a value of
+       * 0.0 means that there is no minimum and an algorithm proceeds without
+       * targeting any specific fraction. A value of 1.0 means that the
+       * algorithm attempts to only Suggest safe Trials.
+       * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return The desiredMinSafeTrialsFraction. + */ + @java.lang.Override + public double getDesiredMinSafeTrialsFraction() { + return desiredMinSafeTrialsFraction_; + } + + 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 (java.lang.Double.doubleToRawLongBits(safetyThreshold_) != 0) { + output.writeDouble(1, safetyThreshold_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeDouble(2, desiredMinSafeTrialsFraction_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Double.doubleToRawLongBits(safetyThreshold_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, safetyThreshold_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, desiredMinSafeTrialsFraction_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig other = + (com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig) obj; + + if (java.lang.Double.doubleToLongBits(getSafetyThreshold()) + != java.lang.Double.doubleToLongBits(other.getSafetyThreshold())) return false; + if (hasDesiredMinSafeTrialsFraction() != other.hasDesiredMinSafeTrialsFraction()) + return false; + if (hasDesiredMinSafeTrialsFraction()) { + if (java.lang.Double.doubleToLongBits(getDesiredMinSafeTrialsFraction()) + != java.lang.Double.doubleToLongBits(other.getDesiredMinSafeTrialsFraction())) + 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) + SAFETY_THRESHOLD_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSafetyThreshold())); + if (hasDesiredMinSafeTrialsFraction()) { + hash = (37 * hash) + DESIRED_MIN_SAFE_TRIALS_FRACTION_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDesiredMinSafeTrialsFraction())); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Used in safe optimization to specify threshold levels and risk tolerance.
+       * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig) + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1.StudyProto + .internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1.StudyProto + .internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.class, + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + safetyThreshold_ = 0D; + desiredMinSafeTrialsFraction_ = 0D; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1.StudyProto + .internal_static_google_cloud_aiplatform_v1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig build() { + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + buildPartial() { + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig result = + new com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.safetyThreshold_ = safetyThreshold_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.desiredMinSafeTrialsFraction_ = desiredMinSafeTrialsFraction_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig) { + return mergeFrom( + (com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig other) { + if (other + == com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance()) return this; + if (other.getSafetyThreshold() != 0D) { + setSafetyThreshold(other.getSafetyThreshold()); + } + if (other.hasDesiredMinSafeTrialsFraction()) { + setDesiredMinSafeTrialsFraction(other.getDesiredMinSafeTrialsFraction()); + } + 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 9: + { + safetyThreshold_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 17: + { + desiredMinSafeTrialsFraction_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + 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 double safetyThreshold_; + /** + * + * + *
+         * Safety threshold (boundary value between safe and unsafe). NOTE that if
+         * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+         * 
+ * + * double safety_threshold = 1; + * + * @return The safetyThreshold. + */ + @java.lang.Override + public double getSafetyThreshold() { + return safetyThreshold_; + } + /** + * + * + *
+         * Safety threshold (boundary value between safe and unsafe). NOTE that if
+         * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+         * 
+ * + * double safety_threshold = 1; + * + * @param value The safetyThreshold to set. + * @return This builder for chaining. + */ + public Builder setSafetyThreshold(double value) { + + safetyThreshold_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Safety threshold (boundary value between safe and unsafe). NOTE that if
+         * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+         * 
+ * + * double safety_threshold = 1; + * + * @return This builder for chaining. + */ + public Builder clearSafetyThreshold() { + bitField0_ = (bitField0_ & ~0x00000001); + safetyThreshold_ = 0D; + onChanged(); + return this; + } + + private double desiredMinSafeTrialsFraction_; + /** + * + * + *
+         * Desired minimum fraction of safe trials (over total number of trials)
+         * that should be targeted by the algorithm at any time during the
+         * study (best effort). This should be between 0.0 and 1.0 and a value of
+         * 0.0 means that there is no minimum and an algorithm proceeds without
+         * targeting any specific fraction. A value of 1.0 means that the
+         * algorithm attempts to only Suggest safe Trials.
+         * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return Whether the desiredMinSafeTrialsFraction field is set. + */ + @java.lang.Override + public boolean hasDesiredMinSafeTrialsFraction() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+         * Desired minimum fraction of safe trials (over total number of trials)
+         * that should be targeted by the algorithm at any time during the
+         * study (best effort). This should be between 0.0 and 1.0 and a value of
+         * 0.0 means that there is no minimum and an algorithm proceeds without
+         * targeting any specific fraction. A value of 1.0 means that the
+         * algorithm attempts to only Suggest safe Trials.
+         * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return The desiredMinSafeTrialsFraction. + */ + @java.lang.Override + public double getDesiredMinSafeTrialsFraction() { + return desiredMinSafeTrialsFraction_; + } + /** + * + * + *
+         * Desired minimum fraction of safe trials (over total number of trials)
+         * that should be targeted by the algorithm at any time during the
+         * study (best effort). This should be between 0.0 and 1.0 and a value of
+         * 0.0 means that there is no minimum and an algorithm proceeds without
+         * targeting any specific fraction. A value of 1.0 means that the
+         * algorithm attempts to only Suggest safe Trials.
+         * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @param value The desiredMinSafeTrialsFraction to set. + * @return This builder for chaining. + */ + public Builder setDesiredMinSafeTrialsFraction(double value) { + + desiredMinSafeTrialsFraction_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Desired minimum fraction of safe trials (over total number of trials)
+         * that should be targeted by the algorithm at any time during the
+         * study (best effort). This should be between 0.0 and 1.0 and a value of
+         * 0.0 means that there is no minimum and an algorithm proceeds without
+         * targeting any specific fraction. A value of 1.0 means that the
+         * algorithm attempts to only Suggest safe Trials.
+         * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return This builder for chaining. + */ + public Builder clearDesiredMinSafeTrialsFraction() { + bitField0_ = (bitField0_ & ~0x00000002); + desiredMinSafeTrialsFraction_ = 0D; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - return getDescriptor().getValues().get(ordinal()); + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig) } - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig) + private static final com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.getDescriptor() - .getEnumTypes() - .get(0); + public static com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; } - private static final GoalType[] VALUES = values(); + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SafetyMetricConfig 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 GoalType 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()]; + public static com.google.protobuf.Parser parser() { + return PARSER; } - private final int value; - - private GoalType(int value) { - this.value = value; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1.StudySpec.MetricSpec.GoalType) + @java.lang.Override + public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } + private int bitField0_; public static final int METRIC_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -937,6 +1767,69 @@ public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.GoalType getGoal() { : result; } + public static final int SAFETY_CONFIG_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safetyConfig_; + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return Whether the safetyConfig field is set. + */ + @java.lang.Override + public boolean hasSafetyConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return The safetyConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + getSafetyConfig() { + return safetyConfig_ == null + ? com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance() + : safetyConfig_; + } + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder + getSafetyConfigOrBuilder() { + return safetyConfig_ == null + ? com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance() + : safetyConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -959,6 +1852,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(2, goal_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getSafetyConfig()); + } getUnknownFields().writeTo(output); } @@ -976,6 +1872,9 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, goal_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSafetyConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -994,6 +1893,10 @@ public boolean equals(final java.lang.Object obj) { if (!getMetricId().equals(other.getMetricId())) return false; if (goal_ != other.goal_) return false; + if (hasSafetyConfig() != other.hasSafetyConfig()) return false; + if (hasSafetyConfig()) { + if (!getSafetyConfig().equals(other.getSafetyConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1009,6 +1912,10 @@ public int hashCode() { hash = (53 * hash) + getMetricId().hashCode(); hash = (37 * hash) + GOAL_FIELD_NUMBER; hash = (53 * hash) + goal_; + if (hasSafetyConfig()) { + hash = (37 * hash) + SAFETY_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getSafetyConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1141,10 +2048,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSafetyConfigFieldBuilder(); + } } @java.lang.Override @@ -1153,6 +2069,11 @@ public Builder clear() { bitField0_ = 0; metricId_ = ""; goal_ = 0; + safetyConfig_ = null; + if (safetyConfigBuilder_ != null) { + safetyConfigBuilder_.dispose(); + safetyConfigBuilder_ = null; + } return this; } @@ -1195,6 +2116,13 @@ private void buildPartial0(com.google.cloud.aiplatform.v1.StudySpec.MetricSpec r if (((from_bitField0_ & 0x00000002) != 0)) { result.goal_ = goal_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.safetyConfig_ = + safetyConfigBuilder_ == null ? safetyConfig_ : safetyConfigBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1253,6 +2181,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.StudySpec.MetricSpec oth if (other.goal_ != 0) { setGoalValue(other.getGoalValue()); } + if (other.hasSafetyConfig()) { + mergeSafetyConfig(other.getSafetyConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1291,6 +2222,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 16 + case 26: + { + input.readMessage(getSafetyConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1523,6 +2460,227 @@ public Builder clearGoal() { return this; } + private com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safetyConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig, + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.Builder, + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder> + safetyConfigBuilder_; + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return Whether the safetyConfig field is set. + */ + public boolean hasSafetyConfig() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return The safetyConfig. + */ + public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + getSafetyConfig() { + if (safetyConfigBuilder_ == null) { + return safetyConfig_ == null + ? com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance() + : safetyConfig_; + } else { + return safetyConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public Builder setSafetyConfig( + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig value) { + if (safetyConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + safetyConfig_ = value; + } else { + safetyConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public Builder setSafetyConfig( + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.Builder + builderForValue) { + if (safetyConfigBuilder_ == null) { + safetyConfig_ = builderForValue.build(); + } else { + safetyConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public Builder mergeSafetyConfig( + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig value) { + if (safetyConfigBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && safetyConfig_ != null + && safetyConfig_ + != com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance()) { + getSafetyConfigBuilder().mergeFrom(value); + } else { + safetyConfig_ = value; + } + } else { + safetyConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public Builder clearSafetyConfig() { + bitField0_ = (bitField0_ & ~0x00000004); + safetyConfig_ = null; + if (safetyConfigBuilder_ != null) { + safetyConfigBuilder_.dispose(); + safetyConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.Builder + getSafetyConfigBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSafetyConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder + getSafetyConfigOrBuilder() { + if (safetyConfigBuilder_ != null) { + return safetyConfigBuilder_.getMessageOrBuilder(); + } else { + return safetyConfig_ == null + ? com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance() + : safetyConfig_; + } + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig, + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.Builder, + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder> + getSafetyConfigFieldBuilder() { + if (safetyConfigBuilder_ == null) { + safetyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig, + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfig.Builder, + com.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder>( + getSafetyConfig(), getParentForChildren(), isClean()); + safetyConfig_ = null; + } + return safetyConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java index 58d5fc462cd0..264d2a12e933 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardDataProto.java @@ -83,13 +83,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"V\n\027TensorboardBlobSequence\022;\n\006values\030\001 " + "\003(\0132+.google.cloud.aiplatform.v1.Tensorb" + "oardBlob\"5\n\017TensorboardBlob\022\017\n\002id\030\001 \001(\tB" - + "\003\340A\003\022\021\n\004data\030\002 \001(\014B\003\340A\001B\330\001\n\036com.google.c" + + "\003\340A\003\022\021\n\004data\030\002 \001(\014B\003\340A\001B\322\001\n\036com.google.c" + "loud.aiplatform.v1B\024TensorboardDataProto" - + "P\001ZDgoogle.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1;aiplatform\252\002\032Googl" - + "e.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AIP" - + "latform\\V1\352\002\035Google::Cloud::AIPlatform::" - + "V1b\006proto3" + + "P\001Z>cloud.google.com/go/aiplatform/apiv1" + + "/aiplatformpb;aiplatformpb\252\002\032Google.Clou" + + "d.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfor" + + "m\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java index 520f286216bd..950b294a2c6c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardExperimentProto.java @@ -61,12 +61,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "eapis.com/TensorboardExperiment\022[project" + "s/{project}/locations/{location}/tensorb" + "oards/{tensorboard}/experiments/{experim" - + "ent}B\336\001\n\036com.google.cloud.aiplatform.v1B" - + "\032TensorboardExperimentProtoP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/aipla" - + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla" - + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" - + "Google::Cloud::AIPlatform::V1b\006proto3" + + "ent}B\330\001\n\036com.google.cloud.aiplatform.v1B" + + "\032TensorboardExperimentProtoP\001Z>cloud.goo" + + "gle.com/go/aiplatform/apiv1/aiplatformpb" + + ";aiplatformpb\252\002\032Google.Cloud.AIPlatform." + + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" + + "::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java index a100bc82dd0c..94dd3118cb1b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardProto.java @@ -63,13 +63,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:n\352Ak\n%aip" + "latform.googleapis.com/Tensorboard\022Bproj" + "ects/{project}/locations/{location}/tens" - + "orboards/{tensorboard}B\324\001\n\036com.google.cl" - + "oud.aiplatform.v1B\020TensorboardProtoP\001ZDg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1;aiplatform\252\002\032Google.Clo" - + "ud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatfo" - + "rm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006p" - + "roto3" + + "orboards/{tensorboard}B\316\001\n\036com.google.cl" + + "oud.aiplatform.v1B\020TensorboardProtoP\001Z>c" + + "loud.google.com/go/aiplatform/apiv1/aipl" + + "atformpb;aiplatformpb\252\002\032Google.Cloud.AIP" + + "latform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352" + + "\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java index 3ff1ab1c852e..7f5123baee62 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardRunProto.java @@ -60,12 +60,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogleapis.com/TensorboardRun\022fprojects/{p" + "roject}/locations/{location}/tensorboard" + "s/{tensorboard}/experiments/{experiment}" - + "/runs/{run}B\327\001\n\036com.google.cloud.aiplatf" - + "orm.v1B\023TensorboardRunProtoP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/aipla" - + "tform/v1;aiplatform\252\002\032Google.Cloud.AIPla" - + "tform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035" - + "Google::Cloud::AIPlatform::V1b\006proto3" + + "/runs/{run}B\321\001\n\036com.google.cloud.aiplatf" + + "orm.v1B\023TensorboardRunProtoP\001Z>cloud.goo" + + "gle.com/go/aiplatform/apiv1/aiplatformpb" + + ";aiplatformpb\252\002\032Google.Cloud.AIPlatform." + + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" + + "::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceProto.java index bdca2b4e4e73..a99d82c5206f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardServiceProto.java @@ -605,12 +605,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "orm.googleapis.com\322Aghttps://www.googlea" + "pis.com/auth/cloud-platform,https://www." + "googleapis.com/auth/cloud-platform.read-" - + "onlyB\333\001\n\036com.google.cloud.aiplatform.v1B" - + "\027TensorboardServiceProtoP\001ZDgoogle.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1;aiplatform\252\002\032Google.Cloud.AIPlatfo" - + "rm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goo" - + "gle::Cloud::AIPlatform::V1b\006proto3" + + "onlyB\325\001\n\036com.google.cloud.aiplatform.v1B" + + "\027TensorboardServiceProtoP\001Z>cloud.google" + + ".com/go/aiplatform/apiv1/aiplatformpb;ai" + + "platformpb\252\002\032Google.Cloud.AIPlatform.V1\312" + + "\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::C" + + "loud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java index 8b78d6223269..1f1031b53ee3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TensorboardTimeSeriesProto.java @@ -69,13 +69,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ries\022\177projects/{project}/locations/{loca" + "tion}/tensorboards/{tensorboard}/experim" + "ents/{experiment}/runs/{run}/timeSeries/" - + "{time_series}B\336\001\n\036com.google.cloud.aipla" - + "tform.v1B\032TensorboardTimeSeriesProtoP\001ZD" - + "google.golang.org/genproto/googleapis/cl" - + "oud/aiplatform/v1;aiplatform\252\002\032Google.Cl" - + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" - + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" - + "proto3" + + "{time_series}B\330\001\n\036com.google.cloud.aipla" + + "tform.v1B\032TensorboardTimeSeriesProtoP\001Z>" + + "cloud.google.com/go/aiplatform/apiv1/aip" + + "latformpb;aiplatformpb\252\002\032Google.Cloud.AI" + + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" + + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java index b9e6a70b2e4d..29365c1578bc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TrainingPipelineProto.java @@ -133,12 +133,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tB\003\340A\002\"r\n\017StratifiedSplit\022\031\n\021training_fr" + "action\030\001 \001(\001\022\033\n\023validation_fraction\030\002 \001(" + "\001\022\025\n\rtest_fraction\030\003 \001(\001\022\020\n\003key\030\004 \001(\tB\003\340" - + "A\002B\331\001\n\036com.google.cloud.aiplatform.v1B\025T" - + "rainingPipelineProtoP\001ZDgoogle.golang.or" - + "g/genproto/googleapis/cloud/aiplatform/v" - + "1;aiplatform\252\002\032Google.Cloud.AIPlatform.V" - + "1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google:" - + ":Cloud::AIPlatform::V1b\006proto3" + + "A\002B\323\001\n\036com.google.cloud.aiplatform.v1B\025T" + + "rainingPipelineProtoP\001Z>cloud.google.com" + + "/go/aiplatform/apiv1/aiplatformpb;aiplat" + + "formpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032Go" + + "ogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Cloud" + + "::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java index 57f91f28397c..a15e68e2a693 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/TypesProto.java @@ -56,13 +56,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\032google.cloud.aiplatform.v1\"\033\n\tBoolArra" + "y\022\016\n\006values\030\001 \003(\010\"\035\n\013DoubleArray\022\016\n\006valu" + "es\030\001 \003(\001\"\034\n\nInt64Array\022\016\n\006values\030\001 \003(\003\"\035" - + "\n\013StringArray\022\016\n\006values\030\001 \003(\tB\316\001\n\036com.go" - + "ogle.cloud.aiplatform.v1B\nTypesProtoP\001ZD" - + "google.golang.org/genproto/googleapis/cl" - + "oud/aiplatform/v1;aiplatform\252\002\032Google.Cl" - + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" - + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" - + "proto3" + + "\n\013StringArray\022\016\n\006values\030\001 \003(\tB\310\001\n\036com.go" + + "ogle.cloud.aiplatform.v1B\nTypesProtoP\001Z>" + + "cloud.google.com/go/aiplatform/apiv1/aip" + + "latformpb;aiplatformpb\252\002\032Google.Cloud.AI" + + "Platform.V1\312\002\032Google\\Cloud\\AIPlatform\\V1" + + "\352\002\035Google::Cloud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java index 6ae962c2dc7d..e0f0b05b56b0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UnmanagedContainerModelProto.java @@ -49,12 +49,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "google.cloud.aiplatform.v1.PredictSchema" + "ta\022K\n\016container_spec\030\003 \001(\0132..google.clou" + "d.aiplatform.v1.ModelContainerSpecB\003\340A\004B" - + "\340\001\n\036com.google.cloud.aiplatform.v1B\034Unma" - + "nagedContainerModelProtoP\001ZDgoogle.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1;aiplatform\252\002\032Google.Cloud.AIPlatfo" - + "rm.V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Goo" - + "gle::Cloud::AIPlatform::V1b\006proto3" + + "\332\001\n\036com.google.cloud.aiplatform.v1B\034Unma" + + "nagedContainerModelProtoP\001Z>cloud.google" + + ".com/go/aiplatform/apiv1/aiplatformpb;ai" + + "platformpb\252\002\032Google.Cloud.AIPlatform.V1\312" + + "\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google::C" + + "loud::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java index e60f29c94242..eb130dc1462e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UserActionReferenceProto.java @@ -44,13 +44,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_reference.proto\022\032google.cloud.aiplatfor" + "m.v1\"d\n\023UserActionReference\022\023\n\toperation" + "\030\001 \001(\tH\000\022\033\n\021data_labeling_job\030\002 \001(\tH\000\022\016\n" - + "\006method\030\003 \001(\tB\013\n\treferenceB\334\001\n\036com.googl" + + "\006method\030\003 \001(\tB\013\n\treferenceB\326\001\n\036com.googl" + "e.cloud.aiplatform.v1B\030UserActionReferen" - + "ceProtoP\001ZDgoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1;aiplatform\252" - + "\002\032Google.Cloud.AIPlatform.V1\312\002\032Google\\Cl" - + "oud\\AIPlatform\\V1\352\002\035Google::Cloud::AIPla" - + "tform::V1b\006proto3" + + "ceProtoP\001Z>cloud.google.com/go/aiplatfor" + + "m/apiv1/aiplatformpb;aiplatformpb\252\002\032Goog" + + "le.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\AI" + + "Platform\\V1\352\002\035Google::Cloud::AIPlatform:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java index 897740046757..08080b70cd63 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ValueProto.java @@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n&google/cloud/aiplatform/v1/value.proto" + "\022\032google.cloud.aiplatform.v1\"U\n\005Value\022\023\n" + "\tint_value\030\001 \001(\003H\000\022\026\n\014double_value\030\002 \001(\001" - + "H\000\022\026\n\014string_value\030\003 \001(\tH\000B\007\n\005valueB\316\001\n\036" + + "H\000\022\026\n\014string_value\030\003 \001(\tH\000B\007\n\005valueB\310\001\n\036" + "com.google.cloud.aiplatform.v1B\nValuePro" - + "toP\001ZDgoogle.golang.org/genproto/googlea" - + "pis/cloud/aiplatform/v1;aiplatform\252\002\032Goo" - + "gle.Cloud.AIPlatform.V1\312\002\032Google\\Cloud\\A" - + "IPlatform\\V1\352\002\035Google::Cloud::AIPlatform" - + "::V1b\006proto3" + + "toP\001Z>cloud.google.com/go/aiplatform/api" + + "v1/aiplatformpb;aiplatformpb\252\002\032Google.Cl" + + "oud.AIPlatform.V1\312\002\032Google\\Cloud\\AIPlatf" + + "orm\\V1\352\002\035Google::Cloud::AIPlatform::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceProto.java index 3792da0d9540..2b8d59e21e44 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/VizierServiceProto.java @@ -270,12 +270,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "studies/*}/trials:listOptimalTrials:\001*\332A" + "\006parent\032M\312A\031aiplatform.googleapis.com\322A." + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\326\001\n\036com.google.cloud.aiplatform.v" - + "1B\022VizierServiceProtoP\001ZDgoogle.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1;aiplatform\252\002\032Google.Cloud.AIPlatform." - + "V1\312\002\032Google\\Cloud\\AIPlatform\\V1\352\002\035Google" - + "::Cloud::AIPlatform::V1b\006proto3" + + "atformB\320\001\n\036com.google.cloud.aiplatform.v" + + "1B\022VizierServiceProtoP\001Z>cloud.google.co" + + "m/go/aiplatform/apiv1/aiplatformpb;aipla" + + "tformpb\252\002\032Google.Cloud.AIPlatform.V1\312\002\032G" + + "oogle\\Cloud\\AIPlatform\\V1\352\002\035Google::Clou" + + "d::AIPlatform::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java index d6ab1543a395..de32679a1030 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "2google.cloud.aiplatform.v1.schema.predi" + "ct.instance\"K\n%ImageClassificationPredic" + "tionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_ty" - + "pe\030\002 \001(\tB\347\002\n6com.google.cloud.aiplatform" + + "pe\030\002 \001(\tB\337\002\n6com.google.cloud.aiplatform" + ".v1.schema.predict.instanceB*ImageClassi" - + "ficationPredictionInstanceProtoP\001ZZgoogl" - + "e.golang.org/genproto/googleapis/cloud/a" - + "iplatform/v1/schema/predict/instance;ins" - + "tance\252\0022Google.Cloud.AIPlatform.V1.Schem" - + "a.Predict.Instance\312\0022Google\\Cloud\\AIPlat" - + "form\\V1\\Schema\\Predict\\Instance\352\0028Google" - + "::Cloud::AIPlatform::V1::Schema::Predict" - + "::Instanceb\006proto3" + + "ficationPredictionInstanceProtoP\001ZRcloud" + + ".google.com/go/aiplatform/apiv1/schema/p" + + "redict/instance/instancepb;instancepb\252\0022" + + "Google.Cloud.AIPlatform.V1.Schema.Predic" + + "t.Instance\312\0022Google\\Cloud\\AIPlatform\\V1\\" + + "Schema\\Predict\\Instance\352\0028Google::Cloud:" + + ":AIPlatform::V1::Schema::Predict::Instan" + + "ceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java index 70d922fe53da..8745cf9397d5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "o\0222google.cloud.aiplatform.v1.schema.pre" + "dict.instance\"L\n&ImageObjectDetectionPre" + "dictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime" - + "_type\030\002 \001(\tB\350\002\n6com.google.cloud.aiplatf" + + "_type\030\002 \001(\tB\340\002\n6com.google.cloud.aiplatf" + "orm.v1.schema.predict.instanceB+ImageObj" - + "ectDetectionPredictionInstanceProtoP\001ZZg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1/schema/predict/instance" - + ";instance\252\0022Google.Cloud.AIPlatform.V1.S" - + "chema.Predict.Instance\312\0022Google\\Cloud\\AI" - + "Platform\\V1\\Schema\\Predict\\Instance\352\0028Go" - + "ogle::Cloud::AIPlatform::V1::Schema::Pre" - + "dict::Instanceb\006proto3" + + "ectDetectionPredictionInstanceProtoP\001ZRc" + + "loud.google.com/go/aiplatform/apiv1/sche" + + "ma/predict/instance/instancepb;instancep" + + "b\252\0022Google.Cloud.AIPlatform.V1.Schema.Pr" + + "edict.Instance\312\0022Google\\Cloud\\AIPlatform" + + "\\V1\\Schema\\Predict\\Instance\352\0028Google::Cl" + + "oud::AIPlatform::V1::Schema::Predict::In" + + "stanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java index 4e828724e413..be3328e8ba15 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogle.cloud.aiplatform.v1.schema.predict" + ".instance\"I\n#ImageSegmentationPrediction" + "Instance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002" - + " \001(\tB\345\002\n6com.google.cloud.aiplatform.v1." + + " \001(\tB\335\002\n6com.google.cloud.aiplatform.v1." + "schema.predict.instanceB(ImageSegmentati" - + "onPredictionInstanceProtoP\001ZZgoogle.gola" - + "ng.org/genproto/googleapis/cloud/aiplatf" - + "orm/v1/schema/predict/instance;instance\252" - + "\0022Google.Cloud.AIPlatform.V1.Schema.Pred" - + "ict.Instance\312\0022Google\\Cloud\\AIPlatform\\V" - + "1\\Schema\\Predict\\Instance\352\0028Google::Clou" - + "d::AIPlatform::V1::Schema::Predict::Inst" - + "anceb\006proto3" + + "onPredictionInstanceProtoP\001ZRcloud.googl" + + "e.com/go/aiplatform/apiv1/schema/predict" + + "/instance/instancepb;instancepb\252\0022Google" + + ".Cloud.AIPlatform.V1.Schema.Predict.Inst" + + "ance\312\0022Google\\Cloud\\AIPlatform\\V1\\Schema" + + "\\Predict\\Instance\352\0028Google::Cloud::AIPla" + + "tform::V1::Schema::Predict::Instanceb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextClassificationPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextClassificationPredictionInstanceProto.java index 1a8e3fd687d7..da60ec91d3ad 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextClassificationPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextClassificationPredictionInstanceProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "google.cloud.aiplatform.v1.schema.predic" + "t.instance\"J\n$TextClassificationPredicti" + "onInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type" - + "\030\002 \001(\tB\346\002\n6com.google.cloud.aiplatform.v" + + "\030\002 \001(\tB\336\002\n6com.google.cloud.aiplatform.v" + "1.schema.predict.instanceB)TextClassific" - + "ationPredictionInstanceProtoP\001ZZgoogle.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1/schema/predict/instance;instan" - + "ce\252\0022Google.Cloud.AIPlatform.V1.Schema.P" - + "redict.Instance\312\0022Google\\Cloud\\AIPlatfor" - + "m\\V1\\Schema\\Predict\\Instance\352\0028Google::C" - + "loud::AIPlatform::V1::Schema::Predict::I" - + "nstanceb\006proto3" + + "ationPredictionInstanceProtoP\001ZRcloud.go" + + "ogle.com/go/aiplatform/apiv1/schema/pred" + + "ict/instance/instancepb;instancepb\252\0022Goo" + + "gle.Cloud.AIPlatform.V1.Schema.Predict.I" + + "nstance\312\0022Google\\Cloud\\AIPlatform\\V1\\Sch" + + "ema\\Predict\\Instance\352\0028Google::Cloud::AI" + + "Platform::V1::Schema::Predict::Instanceb" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextExtractionPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextExtractionPredictionInstanceProto.java index a0c80fd27266..b768fc7bf6ae 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextExtractionPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextExtractionPredictionInstanceProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.cloud.aiplatform.v1.schema.predict.in" + "stance\"S\n TextExtractionPredictionInstan" + "ce\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\022\013" - + "\n\003key\030\003 \001(\tB\342\002\n6com.google.cloud.aiplatf" + + "\n\003key\030\003 \001(\tB\332\002\n6com.google.cloud.aiplatf" + "orm.v1.schema.predict.instanceB%TextExtr" - + "actionPredictionInstanceProtoP\001ZZgoogle." - + "golang.org/genproto/googleapis/cloud/aip" - + "latform/v1/schema/predict/instance;insta" - + "nce\252\0022Google.Cloud.AIPlatform.V1.Schema." - + "Predict.Instance\312\0022Google\\Cloud\\AIPlatfo" - + "rm\\V1\\Schema\\Predict\\Instance\352\0028Google::" - + "Cloud::AIPlatform::V1::Schema::Predict::" - + "Instanceb\006proto3" + + "actionPredictionInstanceProtoP\001ZRcloud.g" + + "oogle.com/go/aiplatform/apiv1/schema/pre" + + "dict/instance/instancepb;instancepb\252\0022Go" + + "ogle.Cloud.AIPlatform.V1.Schema.Predict." + + "Instance\312\0022Google\\Cloud\\AIPlatform\\V1\\Sc" + + "hema\\Predict\\Instance\352\0028Google::Cloud::A" + + "IPlatform::V1::Schema::Predict::Instance" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextSentimentPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextSentimentPredictionInstanceProto.java index 946702f2a513..e20fd606f380 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextSentimentPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/TextSentimentPredictionInstanceProto.java @@ -44,16 +44,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ict/instance/text_sentiment.proto\0222googl" + "e.cloud.aiplatform.v1.schema.predict.ins" + "tance\"E\n\037TextSentimentPredictionInstance" - + "\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\tB\341\002\n" + + "\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\tB\331\002\n" + "6com.google.cloud.aiplatform.v1.schema.p" + "redict.instanceB$TextSentimentPrediction" - + "InstanceProtoP\001ZZgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1/schem" - + "a/predict/instance;instance\252\0022Google.Clo" - + "ud.AIPlatform.V1.Schema.Predict.Instance" - + "\312\0022Google\\Cloud\\AIPlatform\\V1\\Schema\\Pre" - + "dict\\Instance\352\0028Google::Cloud::AIPlatfor" - + "m::V1::Schema::Predict::Instanceb\006proto3" + + "InstanceProtoP\001ZRcloud.google.com/go/aip" + + "latform/apiv1/schema/predict/instance/in" + + "stancepb;instancepb\252\0022Google.Cloud.AIPla" + + "tform.V1.Schema.Predict.Instance\312\0022Googl" + + "e\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Ins" + + "tance\352\0028Google::Cloud::AIPlatform::V1::S" + + "chema::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java index 7ec1310b27a7..5dbfb908dfb9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java @@ -46,17 +46,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "redict.instance\"\204\001\n(VideoActionRecogniti" + "onPredictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n" + "\tmime_type\030\002 \001(\t\022\032\n\022time_segment_start\030\003" - + " \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\352\002\n6com.g" + + " \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\342\002\n6com.g" + "oogle.cloud.aiplatform.v1.schema.predict" + ".instanceB-VideoActionRecognitionPredict" - + "ionInstanceProtoP\001ZZgoogle.golang.org/ge" - + "nproto/googleapis/cloud/aiplatform/v1/sc" - + "hema/predict/instance;instance\252\0022Google." - + "Cloud.AIPlatform.V1.Schema.Predict.Insta" - + "nce\312\0022Google\\Cloud\\AIPlatform\\V1\\Schema\\" - + "Predict\\Instance\352\0028Google::Cloud::AIPlat" - + "form::V1::Schema::Predict::Instanceb\006pro" - + "to3" + + "ionInstanceProtoP\001ZRcloud.google.com/go/" + + "aiplatform/apiv1/schema/predict/instance" + + "/instancepb;instancepb\252\0022Google.Cloud.AI" + + "Platform.V1.Schema.Predict.Instance\312\0022Go" + + "ogle\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\" + + "Instance\352\0028Google::Cloud::AIPlatform::V1" + + "::Schema::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java index 27cdbad408fe..0ef66bf0bfa0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java @@ -46,16 +46,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ct.instance\"\201\001\n%VideoClassificationPredi" + "ctionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_t" + "ype\030\002 \001(\t\022\032\n\022time_segment_start\030\003 \001(\t\022\030\n" - + "\020time_segment_end\030\004 \001(\tB\347\002\n6com.google.c" + + "\020time_segment_end\030\004 \001(\tB\337\002\n6com.google.c" + "loud.aiplatform.v1.schema.predict.instan" + "ceB*VideoClassificationPredictionInstanc" - + "eProtoP\001ZZgoogle.golang.org/genproto/goo" - + "gleapis/cloud/aiplatform/v1/schema/predi" - + "ct/instance;instance\252\0022Google.Cloud.AIPl" - + "atform.V1.Schema.Predict.Instance\312\0022Goog" - + "le\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\In" - + "stance\352\0028Google::Cloud::AIPlatform::V1::" - + "Schema::Predict::Instanceb\006proto3" + + "eProtoP\001ZRcloud.google.com/go/aiplatform" + + "/apiv1/schema/predict/instance/instancep" + + "b;instancepb\252\0022Google.Cloud.AIPlatform.V" + + "1.Schema.Predict.Instance\312\0022Google\\Cloud" + + "\\AIPlatform\\V1\\Schema\\Predict\\Instance\352\002" + + "8Google::Cloud::AIPlatform::V1::Schema::" + + "Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java index 085769cd5cfd..2f0983b13b52 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java @@ -46,16 +46,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ict.instance\"\201\001\n%VideoObjectTrackingPred" + "ictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_" + "type\030\002 \001(\t\022\032\n\022time_segment_start\030\003 \001(\t\022\030" - + "\n\020time_segment_end\030\004 \001(\tB\347\002\n6com.google." + + "\n\020time_segment_end\030\004 \001(\tB\337\002\n6com.google." + "cloud.aiplatform.v1.schema.predict.insta" + "nceB*VideoObjectTrackingPredictionInstan" - + "ceProtoP\001ZZgoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1/schema/pred" - + "ict/instance;instance\252\0022Google.Cloud.AIP" - + "latform.V1.Schema.Predict.Instance\312\0022Goo" - + "gle\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\I" - + "nstance\352\0028Google::Cloud::AIPlatform::V1:" - + ":Schema::Predict::Instanceb\006proto3" + + "ceProtoP\001ZRcloud.google.com/go/aiplatfor" + + "m/apiv1/schema/predict/instance/instance" + + "pb;instancepb\252\0022Google.Cloud.AIPlatform." + + "V1.Schema.Predict.Instance\312\0022Google\\Clou" + + "d\\AIPlatform\\V1\\Schema\\Predict\\Instance\352" + + "\0028Google::Cloud::AIPlatform::V1::Schema:" + + ":Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageClassificationPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageClassificationPredictionParamsProto.java index 3d7682dfb3ac..c686d8c03e75 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageClassificationPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageClassificationPredictionParamsProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogle.cloud.aiplatform.v1.schema.predict" + ".params\"\\\n#ImageClassificationPrediction" + "Params\022\034\n\024confidence_threshold\030\001 \001(\002\022\027\n\017" - + "max_predictions\030\002 \001(\005B\331\002\n4com.google.clo" + + "max_predictions\030\002 \001(\005B\317\002\n4com.google.clo" + "ud.aiplatform.v1.schema.predict.paramsB(" + "ImageClassificationPredictionParamsProto" - + "P\001ZVgoogle.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1/schema/predict/par" - + "ams;params\252\0020Google.Cloud.AIPlatform.V1." - + "Schema.Predict.Params\312\0020Google\\Cloud\\AIP" - + "latform\\V1\\Schema\\Predict\\Params\352\0026Googl" - + "e::Cloud::AIPlatform::V1::Schema::Predic" - + "t::Paramsb\006proto3" + + "P\001ZLcloud.google.com/go/aiplatform/apiv1" + + "/schema/predict/params/paramspb;paramspb" + + "\252\0020Google.Cloud.AIPlatform.V1.Schema.Pre" + + "dict.Params\312\0020Google\\Cloud\\AIPlatform\\V1" + + "\\Schema\\Predict\\Params\352\0026Google::Cloud::" + + "AIPlatform::V1::Schema::Predict::Paramsb" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java index 94d58d722bf6..7dda789801af 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "0google.cloud.aiplatform.v1.schema.predi" + "ct.params\"]\n$ImageObjectDetectionPredict" + "ionParams\022\034\n\024confidence_threshold\030\001 \001(\002\022" - + "\027\n\017max_predictions\030\002 \001(\005B\332\002\n4com.google." + + "\027\n\017max_predictions\030\002 \001(\005B\320\002\n4com.google." + "cloud.aiplatform.v1.schema.predict.param" + "sB)ImageObjectDetectionPredictionParamsP" - + "rotoP\001ZVgoogle.golang.org/genproto/googl" - + "eapis/cloud/aiplatform/v1/schema/predict" - + "/params;params\252\0020Google.Cloud.AIPlatform" - + ".V1.Schema.Predict.Params\312\0020Google\\Cloud" - + "\\AIPlatform\\V1\\Schema\\Predict\\Params\352\0026G" - + "oogle::Cloud::AIPlatform::V1::Schema::Pr" - + "edict::Paramsb\006proto3" + + "rotoP\001ZLcloud.google.com/go/aiplatform/a" + + "piv1/schema/predict/params/paramspb;para" + + "mspb\252\0020Google.Cloud.AIPlatform.V1.Schema" + + ".Predict.Params\312\0020Google\\Cloud\\AIPlatfor" + + "m\\V1\\Schema\\Predict\\Params\352\0026Google::Clo" + + "ud::AIPlatform::V1::Schema::Predict::Par" + + "amsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageSegmentationPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageSegmentationPredictionParamsProto.java index f52d4e452ad2..5303174241f2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageSegmentationPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/ImageSegmentationPredictionParamsProto.java @@ -44,16 +44,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ict/params/image_segmentation.proto\0220goo" + "gle.cloud.aiplatform.v1.schema.predict.p" + "arams\"A\n!ImageSegmentationPredictionPara" - + "ms\022\034\n\024confidence_threshold\030\001 \001(\002B\327\002\n4com" + + "ms\022\034\n\024confidence_threshold\030\001 \001(\002B\315\002\n4com" + ".google.cloud.aiplatform.v1.schema.predi" + "ct.paramsB&ImageSegmentationPredictionPa" - + "ramsProtoP\001ZVgoogle.golang.org/genproto/" - + "googleapis/cloud/aiplatform/v1/schema/pr" - + "edict/params;params\252\0020Google.Cloud.AIPla" - + "tform.V1.Schema.Predict.Params\312\0020Google\\" - + "Cloud\\AIPlatform\\V1\\Schema\\Predict\\Param" - + "s\352\0026Google::Cloud::AIPlatform::V1::Schem" - + "a::Predict::Paramsb\006proto3" + + "ramsProtoP\001ZLcloud.google.com/go/aiplatf" + + "orm/apiv1/schema/predict/params/paramspb" + + ";paramspb\252\0020Google.Cloud.AIPlatform.V1.S" + + "chema.Predict.Params\312\0020Google\\Cloud\\AIPl" + + "atform\\V1\\Schema\\Predict\\Params\352\0026Google" + + "::Cloud::AIPlatform::V1::Schema::Predict" + + "::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java index f2244b02e4bf..609ed632311f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "o\0220google.cloud.aiplatform.v1.schema.pre" + "dict.params\"_\n&VideoActionRecognitionPre" + "dictionParams\022\034\n\024confidence_threshold\030\001 " - + "\001(\002\022\027\n\017max_predictions\030\002 \001(\005B\334\002\n4com.goo" + + "\001(\002\022\027\n\017max_predictions\030\002 \001(\005B\322\002\n4com.goo" + "gle.cloud.aiplatform.v1.schema.predict.p" + "aramsB+VideoActionRecognitionPredictionP" - + "aramsProtoP\001ZVgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1/schema/p" - + "redict/params;params\252\0020Google.Cloud.AIPl" - + "atform.V1.Schema.Predict.Params\312\0020Google" - + "\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Para" - + "ms\352\0026Google::Cloud::AIPlatform::V1::Sche" - + "ma::Predict::Paramsb\006proto3" + + "aramsProtoP\001ZLcloud.google.com/go/aiplat" + + "form/apiv1/schema/predict/params/paramsp" + + "b;paramspb\252\0020Google.Cloud.AIPlatform.V1." + + "Schema.Predict.Params\312\0020Google\\Cloud\\AIP" + + "latform\\V1\\Schema\\Predict\\Params\352\0026Googl" + + "e::Cloud::AIPlatform::V1::Schema::Predic" + + "t::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoClassificationPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoClassificationPredictionParamsProto.java index 5c76927aa0bd..6e04bf741967 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoClassificationPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoClassificationPredictionParamsProto.java @@ -48,15 +48,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017max_predictions\030\002 \001(\005\022\036\n\026segment_classi" + "fication\030\003 \001(\010\022\033\n\023shot_classification\030\004 " + "\001(\010\022\'\n\037one_sec_interval_classification\030\005" - + " \001(\010B\331\002\n4com.google.cloud.aiplatform.v1." + + " \001(\010B\317\002\n4com.google.cloud.aiplatform.v1." + "schema.predict.paramsB(VideoClassificati" - + "onPredictionParamsProtoP\001ZVgoogle.golang" - + ".org/genproto/googleapis/cloud/aiplatfor" - + "m/v1/schema/predict/params;params\252\0020Goog" - + "le.Cloud.AIPlatform.V1.Schema.Predict.Pa" - + "rams\312\0020Google\\Cloud\\AIPlatform\\V1\\Schema" - + "\\Predict\\Params\352\0026Google::Cloud::AIPlatf" - + "orm::V1::Schema::Predict::Paramsb\006proto3" + + "onPredictionParamsProtoP\001ZLcloud.google." + + "com/go/aiplatform/apiv1/schema/predict/p" + + "arams/paramspb;paramspb\252\0020Google.Cloud.A" + + "IPlatform.V1.Schema.Predict.Params\312\0020Goo" + + "gle\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\P" + + "arams\352\0026Google::Cloud::AIPlatform::V1::S" + + "chema::Predict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java index 6156ab98e370..535a282d0ff5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java @@ -46,16 +46,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "t.params\"{\n#VideoObjectTrackingPredictio" + "nParams\022\034\n\024confidence_threshold\030\001 \001(\002\022\027\n" + "\017max_predictions\030\002 \001(\005\022\035\n\025min_bounding_b" - + "ox_size\030\003 \001(\002B\331\002\n4com.google.cloud.aipla" + + "ox_size\030\003 \001(\002B\317\002\n4com.google.cloud.aipla" + "tform.v1.schema.predict.paramsB(VideoObj" - + "ectTrackingPredictionParamsProtoP\001ZVgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "aiplatform/v1/schema/predict/params;para" - + "ms\252\0020Google.Cloud.AIPlatform.V1.Schema.P" - + "redict.Params\312\0020Google\\Cloud\\AIPlatform\\" - + "V1\\Schema\\Predict\\Params\352\0026Google::Cloud" - + "::AIPlatform::V1::Schema::Predict::Param" - + "sb\006proto3" + + "ectTrackingPredictionParamsProtoP\001ZLclou" + + "d.google.com/go/aiplatform/apiv1/schema/" + + "predict/params/paramspb;paramspb\252\0020Googl" + + "e.Cloud.AIPlatform.V1.Schema.Predict.Par" + + "ams\312\0020Google\\Cloud\\AIPlatform\\V1\\Schema\\" + + "Predict\\Params\352\0026Google::Cloud::AIPlatfo" + + "rm::V1::Schema::Predict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ClassificationPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ClassificationPredictionResultProto.java index 12374c3ea734..2617f59bf6fd 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ClassificationPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ClassificationPredictionResultProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gle.cloud.aiplatform.v1.schema.predict.p" + "rediction\"Y\n\036ClassificationPredictionRes" + "ult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002 \003(\t\022" - + "\023\n\013confidences\030\003 \003(\002B\354\002\n8com.google.clou" + + "\023\n\013confidences\030\003 \003(\002B\346\002\n8com.google.clou" + "d.aiplatform.v1.schema.predict.predictio" + "nB#ClassificationPredictionResultProtoP\001" - + "Z^google.golang.org/genproto/googleapis/" - + "cloud/aiplatform/v1/schema/predict/predi" - + "ction;prediction\252\0024Google.Cloud.AIPlatfo" - + "rm.V1.Schema.Predict.Prediction\312\0024Google" - + "\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Pred" - + "iction\352\002:Google::Cloud::AIPlatform::V1::" - + "Schema::Predict::Predictionb\006proto3" + + "ZXcloud.google.com/go/aiplatform/apiv1/s" + + "chema/predict/prediction/predictionpb;pr" + + "edictionpb\252\0024Google.Cloud.AIPlatform.V1." + + "Schema.Predict.Prediction\312\0024Google\\Cloud" + + "\\AIPlatform\\V1\\Schema\\Predict\\Prediction" + + "\352\002:Google::Cloud::AIPlatform::V1::Schema" + + "::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java index 295e1c7a7d0f..cefe725e11e1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java @@ -47,17 +47,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "t.proto\"\213\001\n$ImageObjectDetectionPredicti" + "onResult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002" + " \003(\t\022\023\n\013confidences\030\003 \003(\002\022*\n\006bboxes\030\004 \003(" - + "\0132\032.google.protobuf.ListValueB\362\002\n8com.go" + + "\0132\032.google.protobuf.ListValueB\354\002\n8com.go" + "ogle.cloud.aiplatform.v1.schema.predict." + "predictionB)ImageObjectDetectionPredicti" - + "onResultProtoP\001Z^google.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1/schem" - + "a/predict/prediction;prediction\252\0024Google" - + ".Cloud.AIPlatform.V1.Schema.Predict.Pred" - + "iction\312\0024Google\\Cloud\\AIPlatform\\V1\\Sche" - + "ma\\Predict\\Prediction\352\002:Google::Cloud::A" - + "IPlatform::V1::Schema::Predict::Predicti" - + "onb\006proto3" + + "onResultProtoP\001ZXcloud.google.com/go/aip" + + "latform/apiv1/schema/predict/prediction/" + + "predictionpb;predictionpb\252\0024Google.Cloud" + + ".AIPlatform.V1.Schema.Predict.Prediction" + + "\312\0024Google\\Cloud\\AIPlatform\\V1\\Schema\\Pre" + + "dict\\Prediction\352\002:Google::Cloud::AIPlatf" + + "orm::V1::Schema::Predict::Predictionb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java index 35e88d00e5eb..05f5dabedd8a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "4google.cloud.aiplatform.v1.schema.predi" + "ct.prediction\"S\n!ImageSegmentationPredic" + "tionResult\022\025\n\rcategory_mask\030\001 \001(\t\022\027\n\017con" - + "fidence_mask\030\002 \001(\tB\357\002\n8com.google.cloud." + + "fidence_mask\030\002 \001(\tB\351\002\n8com.google.cloud." + "aiplatform.v1.schema.predict.predictionB" + "&ImageSegmentationPredictionResultProtoP" - + "\001Z^google.golang.org/genproto/googleapis" - + "/cloud/aiplatform/v1/schema/predict/pred" - + "iction;prediction\252\0024Google.Cloud.AIPlatf" - + "orm.V1.Schema.Predict.Prediction\312\0024Googl" - + "e\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Pre" - + "diction\352\002:Google::Cloud::AIPlatform::V1:" - + ":Schema::Predict::Predictionb\006proto3" + + "\001ZXcloud.google.com/go/aiplatform/apiv1/" + + "schema/predict/prediction/predictionpb;p" + + "redictionpb\252\0024Google.Cloud.AIPlatform.V1" + + ".Schema.Predict.Prediction\312\0024Google\\Clou" + + "d\\AIPlatform\\V1\\Schema\\Predict\\Predictio" + + "n\352\002:Google::Cloud::AIPlatform::V1::Schem" + + "a::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularClassificationPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularClassificationPredictionResultProto.java index 49c387206da4..77fe4344f640 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularClassificationPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularClassificationPredictionResultProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oto\0224google.cloud.aiplatform.v1.schema.p" + "redict.prediction\"H\n%TabularClassificati" + "onPredictionResult\022\017\n\007classes\030\001 \003(\t\022\016\n\006s" - + "cores\030\002 \003(\002B\363\002\n8com.google.cloud.aiplatf" + + "cores\030\002 \003(\002B\355\002\n8com.google.cloud.aiplatf" + "orm.v1.schema.predict.predictionB*Tabula" - + "rClassificationPredictionResultProtoP\001Z^" - + "google.golang.org/genproto/googleapis/cl" - + "oud/aiplatform/v1/schema/predict/predict" - + "ion;prediction\252\0024Google.Cloud.AIPlatform" - + ".V1.Schema.Predict.Prediction\312\0024Google\\C" - + "loud\\AIPlatform\\V1\\Schema\\Predict\\Predic" - + "tion\352\002:Google::Cloud::AIPlatform::V1::Sc" - + "hema::Predict::Predictionb\006proto3" + + "rClassificationPredictionResultProtoP\001ZX" + + "cloud.google.com/go/aiplatform/apiv1/sch" + + "ema/predict/prediction/predictionpb;pred" + + "ictionpb\252\0024Google.Cloud.AIPlatform.V1.Sc" + + "hema.Predict.Prediction\312\0024Google\\Cloud\\A" + + "IPlatform\\V1\\Schema\\Predict\\Prediction\352\002" + + ":Google::Cloud::AIPlatform::V1::Schema::" + + "Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularRegressionPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularRegressionPredictionResultProto.java index 3f20d71c992f..b475fccd6b0a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularRegressionPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TabularRegressionPredictionResultProto.java @@ -45,17 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "4google.cloud.aiplatform.v1.schema.predi" + "ct.prediction\"\\\n!TabularRegressionPredic" + "tionResult\022\r\n\005value\030\001 \001(\002\022\023\n\013lower_bound" - + "\030\002 \001(\002\022\023\n\013upper_bound\030\003 \001(\002B\357\002\n8com.goog" + + "\030\002 \001(\002\022\023\n\013upper_bound\030\003 \001(\002B\351\002\n8com.goog" + "le.cloud.aiplatform.v1.schema.predict.pr" + "edictionB&TabularRegressionPredictionRes" - + "ultProtoP\001Z^google.golang.org/genproto/g" - + "oogleapis/cloud/aiplatform/v1/schema/pre" - + "dict/prediction;prediction\252\0024Google.Clou" - + "d.AIPlatform.V1.Schema.Predict.Predictio" - + "n\312\0024Google\\Cloud\\AIPlatform\\V1\\Schema\\Pr" - + "edict\\Prediction\352\002:Google::Cloud::AIPlat" - + "form::V1::Schema::Predict::Predictionb\006p" - + "roto3" + + "ultProtoP\001ZXcloud.google.com/go/aiplatfo" + + "rm/apiv1/schema/predict/prediction/predi" + + "ctionpb;predictionpb\252\0024Google.Cloud.AIPl" + + "atform.V1.Schema.Predict.Prediction\312\0024Go" + + "ogle\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\" + + "Prediction\352\002:Google::Cloud::AIPlatform::" + + "V1::Schema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextExtractionPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextExtractionPredictionResultProto.java index e52f96ad4e93..dba92ce3bba7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextExtractionPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextExtractionPredictionResultProto.java @@ -47,16 +47,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "esult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_names\030\002 \003(" + "\t\022\"\n\032text_segment_start_offsets\030\003 \003(\003\022 \n" + "\030text_segment_end_offsets\030\004 \003(\003\022\023\n\013confi" - + "dences\030\005 \003(\002B\354\002\n8com.google.cloud.aiplat" + + "dences\030\005 \003(\002B\346\002\n8com.google.cloud.aiplat" + "form.v1.schema.predict.predictionB#TextE" - + "xtractionPredictionResultProtoP\001Z^google" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1/schema/predict/prediction;pr" - + "ediction\252\0024Google.Cloud.AIPlatform.V1.Sc" - + "hema.Predict.Prediction\312\0024Google\\Cloud\\A" - + "IPlatform\\V1\\Schema\\Predict\\Prediction\352\002" - + ":Google::Cloud::AIPlatform::V1::Schema::" - + "Predict::Predictionb\006proto3" + + "xtractionPredictionResultProtoP\001ZXcloud." + + "google.com/go/aiplatform/apiv1/schema/pr" + + "edict/prediction/predictionpb;prediction" + + "pb\252\0024Google.Cloud.AIPlatform.V1.Schema.P" + + "redict.Prediction\312\0024Google\\Cloud\\AIPlatf" + + "orm\\V1\\Schema\\Predict\\Prediction\352\002:Googl" + + "e::Cloud::AIPlatform::V1::Schema::Predic" + + "t::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextSentimentPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextSentimentPredictionResultProto.java index de932f50826c..58a61a61ab65 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextSentimentPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/TextSentimentPredictionResultProto.java @@ -44,16 +44,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ict/prediction/text_sentiment.proto\0224goo" + "gle.cloud.aiplatform.v1.schema.predict.p" + "rediction\"2\n\035TextSentimentPredictionResu" - + "lt\022\021\n\tsentiment\030\001 \001(\005B\353\002\n8com.google.clo" + + "lt\022\021\n\tsentiment\030\001 \001(\005B\345\002\n8com.google.clo" + "ud.aiplatform.v1.schema.predict.predicti" + "onB\"TextSentimentPredictionResultProtoP\001" - + "Z^google.golang.org/genproto/googleapis/" - + "cloud/aiplatform/v1/schema/predict/predi" - + "ction;prediction\252\0024Google.Cloud.AIPlatfo" - + "rm.V1.Schema.Predict.Prediction\312\0024Google" - + "\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Pred" - + "iction\352\002:Google::Cloud::AIPlatform::V1::" - + "Schema::Predict::Predictionb\006proto3" + + "ZXcloud.google.com/go/aiplatform/apiv1/s" + + "chema/predict/prediction/predictionpb;pr" + + "edictionpb\252\0024Google.Cloud.AIPlatform.V1." + + "Schema.Predict.Prediction\312\0024Google\\Cloud" + + "\\AIPlatform\\V1\\Schema\\Predict\\Prediction" + + "\352\002:Google::Cloud::AIPlatform::V1::Schema" + + "::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java index 70ee63f86247..fca8beb0ab3f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java @@ -50,17 +50,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\0225\n\022time_segment_start\030\004 \001(\0132\031.google.pr" + "otobuf.Duration\0223\n\020time_segment_end\030\005 \001(" + "\0132\031.google.protobuf.Duration\022/\n\nconfiden" - + "ce\030\006 \001(\0132\033.google.protobuf.FloatValueB\364\002" + + "ce\030\006 \001(\0132\033.google.protobuf.FloatValueB\356\002" + "\n8com.google.cloud.aiplatform.v1.schema." + "predict.predictionB+VideoActionRecogniti" - + "onPredictionResultProtoP\001Z^google.golang" - + ".org/genproto/googleapis/cloud/aiplatfor" - + "m/v1/schema/predict/prediction;predictio" - + "n\252\0024Google.Cloud.AIPlatform.V1.Schema.Pr" - + "edict.Prediction\312\0024Google\\Cloud\\AIPlatfo" - + "rm\\V1\\Schema\\Predict\\Prediction\352\002:Google" - + "::Cloud::AIPlatform::V1::Schema::Predict" - + "::Predictionb\006proto3" + + "onPredictionResultProtoP\001ZXcloud.google." + + "com/go/aiplatform/apiv1/schema/predict/p" + + "rediction/predictionpb;predictionpb\252\0024Go" + + "ogle.Cloud.AIPlatform.V1.Schema.Predict." + + "Prediction\312\0024Google\\Cloud\\AIPlatform\\V1\\" + + "Schema\\Predict\\Prediction\352\002:Google::Clou" + + "d::AIPlatform::V1::Schema::Predict::Pred" + + "ictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoClassificationPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoClassificationPredictionResultProto.java index 9ddddf50c06b..5abd90f20772 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoClassificationPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoClassificationPredictionResultProto.java @@ -51,16 +51,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle.protobuf.Duration\0223\n\020time_segment_e" + "nd\030\005 \001(\0132\031.google.protobuf.Duration\022/\n\nc" + "onfidence\030\006 \001(\0132\033.google.protobuf.FloatV" - + "alueB\361\002\n8com.google.cloud.aiplatform.v1." + + "alueB\353\002\n8com.google.cloud.aiplatform.v1." + "schema.predict.predictionB(VideoClassifi" - + "cationPredictionResultProtoP\001Z^google.go" - + "lang.org/genproto/googleapis/cloud/aipla" - + "tform/v1/schema/predict/prediction;predi" - + "ction\252\0024Google.Cloud.AIPlatform.V1.Schem" - + "a.Predict.Prediction\312\0024Google\\Cloud\\AIPl" - + "atform\\V1\\Schema\\Predict\\Prediction\352\002:Go" - + "ogle::Cloud::AIPlatform::V1::Schema::Pre" - + "dict::Predictionb\006proto3" + + "cationPredictionResultProtoP\001ZXcloud.goo" + + "gle.com/go/aiplatform/apiv1/schema/predi" + + "ct/prediction/predictionpb;predictionpb\252" + + "\0024Google.Cloud.AIPlatform.V1.Schema.Pred" + + "ict.Prediction\312\0024Google\\Cloud\\AIPlatform" + + "\\V1\\Schema\\Predict\\Prediction\352\002:Google::" + + "Cloud::AIPlatform::V1::Schema::Predict::" + + "Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java index a685fe616846..177326305924 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java @@ -63,16 +63,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tValue\022*\n\005x_max\030\003 \001(\0132\033.google.protobuf." + "FloatValue\022*\n\005y_min\030\004 \001(\0132\033.google.proto" + "buf.FloatValue\022*\n\005y_max\030\005 \001(\0132\033.google.p" - + "rotobuf.FloatValueB\361\002\n8com.google.cloud." + + "rotobuf.FloatValueB\353\002\n8com.google.cloud." + "aiplatform.v1.schema.predict.predictionB" + "(VideoObjectTrackingPredictionResultProt" - + "oP\001Z^google.golang.org/genproto/googleap" - + "is/cloud/aiplatform/v1/schema/predict/pr" - + "ediction;prediction\252\0024Google.Cloud.AIPla" - + "tform.V1.Schema.Predict.Prediction\312\0024Goo" - + "gle\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\P" - + "rediction\352\002:Google::Cloud::AIPlatform::V" - + "1::Schema::Predict::Predictionb\006proto3" + + "oP\001ZXcloud.google.com/go/aiplatform/apiv" + + "1/schema/predict/prediction/predictionpb" + + ";predictionpb\252\0024Google.Cloud.AIPlatform." + + "V1.Schema.Predict.Prediction\312\0024Google\\Cl" + + "oud\\AIPlatform\\V1\\Schema\\Predict\\Predict" + + "ion\352\002:Google::Cloud::AIPlatform::V1::Sch" + + "ema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageClassificationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageClassificationProto.java index dee7584b2421..4e0fb796d714 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageClassificationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageClassificationProto.java @@ -77,16 +77,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "SuccessfulStopReason\"g\n\024SuccessfulStopRe" + "ason\022&\n\"SUCCESSFUL_STOP_REASON_UNSPECIFI" + "ED\020\000\022\022\n\016BUDGET_REACHED\020\001\022\023\n\017MODEL_CONVER" - + "GED\020\002B\373\002\nGoogle::Cloud::AIPlatform::V1::Sche" - + "ma::TrainingJob::Definitionb\006proto3" + + "ageClassificationProtoP\001Z\\cloud.google.c" + + "om/go/aiplatform/apiv1/schema/trainingjo" + + "b/definition/definitionpb;definitionpb\252\002" + + "8Google.Cloud.AIPlatform.V1.Schema.Train" + + "ingJob.Definition\312\0028Google\\Cloud\\AIPlatf" + + "orm\\V1\\Schema\\TrainingJob\\Definition\352\002>G" + + "oogle::Cloud::AIPlatform::V1::Schema::Tr" + + "ainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java index 994ae71a03de..3e84ed47bfe7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java @@ -77,17 +77,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "adata.SuccessfulStopReason\"g\n\024Successful" + "StopReason\022&\n\"SUCCESSFUL_STOP_REASON_UNS" + "PECIFIED\020\000\022\022\n\016BUDGET_REACHED\020\001\022\023\n\017MODEL_" - + "CONVERGED\020\002B\374\002\nGoogle::Cloud::AIPlatform::V" - + "1::Schema::TrainingJob::Definitionb\006prot" - + "o3" + + "toMLImageObjectDetectionProtoP\001Z\\cloud.g" + + "oogle.com/go/aiplatform/apiv1/schema/tra" + + "iningjob/definition/definitionpb;definit" + + "ionpb\252\0028Google.Cloud.AIPlatform.V1.Schem" + + "a.TrainingJob.Definition\312\0028Google\\Cloud\\" + + "AIPlatform\\V1\\Schema\\TrainingJob\\Definit" + + "ion\352\002>Google::Cloud::AIPlatform::V1::Sch" + + "ema::TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java index 9d52f438fc8b..1e820b801065 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java @@ -74,16 +74,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "sfulStopReason\"g\n\024SuccessfulStopReason\022&" + "\n\"SUCCESSFUL_STOP_REASON_UNSPECIFIED\020\000\022\022" + "\n\016BUDGET_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B" - + "\371\002\nGoo" - + "gle::Cloud::AIPlatform::V1::Schema::Trai" - + "ningJob::Definitionb\006proto3" + + "mentationProtoP\001Z\\cloud.google.com/go/ai" + + "platform/apiv1/schema/trainingjob/defini" + + "tion/definitionpb;definitionpb\252\0028Google." + + "Cloud.AIPlatform.V1.Schema.TrainingJob.D" + + "efinition\312\0028Google\\Cloud\\AIPlatform\\V1\\S" + + "chema\\TrainingJob\\Definition\352\002>Google::C" + + "loud::AIPlatform::V1::Schema::TrainingJo" + + "b::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTablesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTablesProto.java index fd5ce18b24a3..72e51ffa8fa6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTablesProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTablesProto.java @@ -154,16 +154,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ormation_detailB*\n(additional_optimizati" + "on_objective_config\";\n\024AutoMlTablesMetad" + "ata\022#\n\033train_cost_milli_node_hours\030\001 \001(\003" - + "B\356\002\nGoogle::Cloud" - + "::AIPlatform::V1::Schema::TrainingJob::D" - + "efinitionb\006proto3" + + "rotoP\001Z\\cloud.google.com/go/aiplatform/a" + + "piv1/schema/trainingjob/definition/defin" + + "itionpb;definitionpb\252\0028Google.Cloud.AIPl" + + "atform.V1.Schema.TrainingJob.Definition\312" + + "\0028Google\\Cloud\\AIPlatform\\V1\\Schema\\Trai" + + "ningJob\\Definition\352\002>Google::Cloud::AIPl" + + "atform::V1::Schema::TrainingJob::Definit" + + "ionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextClassificationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextClassificationProto.java index afdbd158360f..8ac03d8a74b9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextClassificationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextClassificationProto.java @@ -52,17 +52,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gle.cloud.aiplatform.v1.schema.trainingj" + "ob.definition.AutoMlTextClassificationIn" + "puts\"5\n\036AutoMlTextClassificationInputs\022\023" - + "\n\013multi_label\030\001 \001(\010B\372\002\nGoogle::Cloud::AIPlatf" - + "orm::V1::Schema::TrainingJob::Definition" - + "b\006proto3" + + "tionB\035AutoMLTextClassificationProtoP\001Z\\c" + + "loud.google.com/go/aiplatform/apiv1/sche" + + "ma/trainingjob/definition/definitionpb;d" + + "efinitionpb\252\0028Google.Cloud.AIPlatform.V1" + + ".Schema.TrainingJob.Definition\312\0028Google\\" + + "Cloud\\AIPlatform\\V1\\Schema\\TrainingJob\\D" + + "efinition\352\002>Google::Cloud::AIPlatform::V" + + "1::Schema::TrainingJob::Definitionb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextExtractionProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextExtractionProto.java index bcef82273b48..9f2f913893b7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextExtractionProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextExtractionProto.java @@ -51,17 +51,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "xtraction\022d\n\006inputs\030\001 \001(\0132T.google.cloud" + ".aiplatform.v1.schema.trainingjob.defini" + "tion.AutoMlTextExtractionInputs\"\034\n\032AutoM" - + "lTextExtractionInputsB\366\002\nGoogle::Cloud::AIPlatfor" - + "m::V1::Schema::TrainingJob::Definitionb\006" - + "proto3" + + "nitionB\031AutoMLTextExtractionProtoP\001Z\\clo" + + "ud.google.com/go/aiplatform/apiv1/schema" + + "/trainingjob/definition/definitionpb;def" + + "initionpb\252\0028Google.Cloud.AIPlatform.V1.S" + + "chema.TrainingJob.Definition\312\0028Google\\Cl" + + "oud\\AIPlatform\\V1\\Schema\\TrainingJob\\Def" + + "inition\352\002>Google::Cloud::AIPlatform::V1:" + + ":Schema::TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextSentimentProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextSentimentProto.java index ce71301f5585..c60056503d8b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextSentimentProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLTextSentimentProto.java @@ -52,16 +52,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "iplatform.v1.schema.trainingjob.definiti" + "on.AutoMlTextSentimentInputs\"2\n\031AutoMlTe" + "xtSentimentInputs\022\025\n\rsentiment_max\030\001 \001(\005" - + "B\365\002\nGoogle" - + "::Cloud::AIPlatform::V1::Schema::Trainin" - + "gJob::Definitionb\006proto3" + + "timentProtoP\001Z\\cloud.google.com/go/aipla" + + "tform/apiv1/schema/trainingjob/definitio" + + "n/definitionpb;definitionpb\252\0028Google.Clo" + + "ud.AIPlatform.V1.Schema.TrainingJob.Defi" + + "nition\312\0028Google\\Cloud\\AIPlatform\\V1\\Sche" + + "ma\\TrainingJob\\Definition\352\002>Google::Clou" + + "d::AIPlatform::V1::Schema::TrainingJob::" + + "Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java index 350f09405de4..acfd26ca2661 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java @@ -59,17 +59,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tionInputs.ModelType\"\207\001\n\tModelType\022\032\n\026MO" + "DEL_TYPE_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOB" + "ILE_VERSATILE_1\020\002\022\035\n\031MOBILE_JETSON_VERSA" - + "TILE_1\020\003\022\034\n\030MOBILE_CORAL_VERSATILE_1\020\004B\376" + + "TILE_1\020\003\022\034\n\030MOBILE_CORAL_VERSATILE_1\020\004B\370" + "\002\nGoogle::Cloud::AIPlatform::V1::Schema::" - + "TrainingJob::Definitionb\006proto3" + + "onRecognitionProtoP\001Z\\cloud.google.com/g" + + "o/aiplatform/apiv1/schema/trainingjob/de" + + "finition/definitionpb;definitionpb\252\0028Goo" + + "gle.Cloud.AIPlatform.V1.Schema.TrainingJ" + + "ob.Definition\312\0028Google\\Cloud\\AIPlatform\\" + + "V1\\Schema\\TrainingJob\\Definition\352\002>Googl" + + "e::Cloud::AIPlatform::V1::Schema::Traini" + + "ngJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java index 79b1fab8acae..5e5cb14c186d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java @@ -58,17 +58,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "on.AutoMlVideoClassificationInputs.Model" + "Type\"i\n\tModelType\022\032\n\026MODEL_TYPE_UNSPECIF" + "IED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOBILE_VERSATILE_1\020\002" - + "\022\035\n\031MOBILE_JETSON_VERSATILE_1\020\003B\373\002\nGoogle::C" - + "loud::AIPlatform::V1::Schema::TrainingJo" - + "b::Definitionb\006proto3" + + "ionProtoP\001Z\\cloud.google.com/go/aiplatfo" + + "rm/apiv1/schema/trainingjob/definition/d" + + "efinitionpb;definitionpb\252\0028Google.Cloud." + + "AIPlatform.V1.Schema.TrainingJob.Definit" + + "ion\312\0028Google\\Cloud\\AIPlatform\\V1\\Schema\\" + + "TrainingJob\\Definition\352\002>Google::Cloud::" + + "AIPlatform::V1::Schema::TrainingJob::Def" + + "initionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java index 0d8d55c38319..e307c903b733 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java @@ -61,16 +61,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020\002\022\034\n\030MOBILE_CORAL_VERSATILE_1\020\003\022\036\n\032MOBI" + "LE_CORAL_LOW_LATENCY_1\020\004\022\035\n\031MOBILE_JETSO" + "N_VERSATILE_1\020\005\022\037\n\033MOBILE_JETSON_LOW_LAT" - + "ENCY_1\020\006B\373\002\nGoogle::Cloud::AIPlatform::V1::S" - + "chema::TrainingJob::Definitionb\006proto3" + + "LVideoObjectTrackingProtoP\001Z\\cloud.googl" + + "e.com/go/aiplatform/apiv1/schema/trainin" + + "gjob/definition/definitionpb;definitionp" + + "b\252\0028Google.Cloud.AIPlatform.V1.Schema.Tr" + + "ainingJob.Definition\312\0028Google\\Cloud\\AIPl" + + "atform\\V1\\Schema\\TrainingJob\\Definition\352" + + "\002>Google::Cloud::AIPlatform::V1::Schema:" + + ":TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java index d8b0af724b04..bbd26e6e3aa4 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java @@ -47,17 +47,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "form.v1.schema.trainingjob.definition\"c\n" + "\036ExportEvaluatedDataItemsConfig\022 \n\030desti" + "nation_bigquery_uri\030\001 \001(\t\022\037\n\027override_ex" - + "isting_table\030\002 \001(\010B\200\003\nGoogle::Cloud::AI" - + "Platform::V1::Schema::TrainingJob::Defin" - + "itionb\006proto3" + + "P\001Z\\cloud.google.com/go/aiplatform/apiv1" + + "/schema/trainingjob/definition/definitio" + + "npb;definitionpb\252\0028Google.Cloud.AIPlatfo" + + "rm.V1.Schema.TrainingJob.Definition\312\0028Go" + + "ogle\\Cloud\\AIPlatform\\V1\\Schema\\Training" + + "Job\\Definition\352\002>Google::Cloud::AIPlatfo" + + "rm::V1::Schema::TrainingJob::Definitionb" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/accelerator_type.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/accelerator_type.proto index 726ec203d4ca..d8c61e0762a0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/accelerator_type.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/accelerator_type.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "AcceleratorTypeProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto index c490f955b80e..98ac15345db2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "AnnotationProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto index e4bffcccd3bf..0a715556cdbf 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/annotation_spec.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "AnnotationSpecProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto index 2dbe5f5dd932..bdadc2d757d5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/artifact.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ArtifactProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto index 5ab6fe987469..3370f884362e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/batch_prediction_job.proto @@ -31,7 +31,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "BatchPredictionJobProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto index a098e914e28f..3cf5f834ce66 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/completion_stats.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "CompletionStatsProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto index fcf423e5540b..4a5452105f4c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/context.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ContextProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto index 4c372da1b10d..07015387779e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/custom_job.proto @@ -28,7 +28,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "CustomJobProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto index ef2117c64451..4ab14e19e347 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_item.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DataItemProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto index 58c328fb13a0..8bc07dbf2bc0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/data_labeling_job.proto @@ -26,7 +26,7 @@ import "google/rpc/status.proto"; import "google/type/money.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DataLabelingJobProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto index 25fbbc313413..e9fcca74eb26 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset.proto @@ -25,7 +25,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DatasetProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto index f6e7ba9238c2..70223bef1d84 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/dataset_service.proto @@ -30,7 +30,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DatasetServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto index 35c8b30c70b1..88263d5d3b28 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_index_ref.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DeployedIndexRefProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto index 8a7b1eb79eec..d37d0c06402d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/deployed_model_ref.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DeployedModelNameProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto index 4eae114f07f4..ce5ddad21504 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/encryption_spec.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EncryptionSpecProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto index 6c1a23b8b93f..edbfc0cbe4e8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint.proto @@ -25,7 +25,7 @@ import "google/cloud/aiplatform/v1/machine_resources.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EndpointProto"; option java_package = "com.google.cloud.aiplatform.v1"; @@ -96,7 +96,7 @@ message Endpoint { // this key. EncryptionSpec encryption_spec = 10; - // The full name of the Google Compute Engine + // Optional. The full name of the Google Compute Engine // [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) // to which the Endpoint should be peered. // @@ -113,6 +113,7 @@ message Endpoint { // Where `{project}` is a project number, as in `12345`, and `{network}` is // network name. string network = 13 [ + (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } ]; @@ -224,6 +225,8 @@ message DeployedModel { // User can disable container logging by setting this flag to true. bool disable_container_logging = 15; + // If true, online prediction access logs are sent to StackDriver + // Logging. // These logs are like standard server access logs, containing // information like timestamp and latency for each prediction request. // diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint_service.proto index 324fd9204ec4..f7aed01fafa7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EndpointServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto index dcdea9645e15..5ff273926c75 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/entity_type.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1/featurestore_monitoring.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EntityTypeProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/env_var.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/env_var.proto index 34722e362558..1bf42292534a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/env_var.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/env_var.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EnvVarProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/event.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/event.proto index 0056445bb2ec..85150440542e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/event.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/event.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EventProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/execution.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/execution.proto index 5af5c2aca85a..4ba955e3e2a2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/execution.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/execution.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ExecutionProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto index 24d9e28f72ae..b5a53187b6a6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation.proto @@ -21,7 +21,7 @@ import "google/cloud/aiplatform/v1/explanation_metadata.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ExplanationProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation_metadata.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation_metadata.proto index aac28243085b..50ba68996590 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation_metadata.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/explanation_metadata.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ExplanationMetadataProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto index ea62bd1b7b13..b242d9ba9c11 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1/feature_monitoring_stats.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeatureProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_monitoring_stats.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_monitoring_stats.proto index 95cad9fc475d..0f778d42992f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_monitoring_stats.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_monitoring_stats.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeatureMonitoringStatsProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_selector.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_selector.proto index 7a4a8e664902..b653f8ec2576 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_selector.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/feature_selector.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeatureSelectorProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore.proto index facac33d0ef8..9e8d2d9b455c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeaturestoreProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto index 071f6a24656e..7dfa325abbfd 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_monitoring.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeaturestoreMonitoringProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_online_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_online_service.proto index b9c4f3dbf4dd..262a7bb43fc2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_online_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_online_service.proto @@ -25,7 +25,7 @@ import "google/cloud/aiplatform/v1/types.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeaturestoreOnlineServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto index b500a4aa2b8c..86c3afb35095 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/featurestore_service.proto @@ -31,7 +31,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeaturestoreServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto index 0178d6d53f62..5f80864e31f1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "HyperparameterTuningJobProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto index c50e5d48f8cf..559f3485a221 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IndexProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto index 8aed1b0f5571..6fbbb8817e02 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint.proto @@ -19,10 +19,11 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/machine_resources.proto"; +import "google/cloud/aiplatform/v1/service_networking.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IndexEndpointProto"; option java_package = "com.google.cloud.aiplatform.v1"; @@ -102,6 +103,14 @@ message IndexEndpoint { // can be set. bool enable_private_service_connect = 10 [deprecated = true, (google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for private service connect. + // + // [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and + // [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config] + // are mutually exclusive. + PrivateServiceConnectConfig private_service_connect_config = 12 + [(google.api.field_behavior) = OPTIONAL]; } // A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes. @@ -177,10 +186,10 @@ message DeployedIndex { // e2-standard-16 and all machine types available for LARGE shard. // // Available machine types for LARGE shard: - // e2-standard-32, e2-highmem-16, n2d-standard-32. + // e2-highmem-16, n2d-standard-32. // // n1-standard-16 and n1-standard-32 are still available, but we recommend - // e2-standard-16 and e2-standard-32 for cost efficiency. + // e2-standard-16 and e2-highmem-16 for cost efficiency. DedicatedResources dedicated_resources = 16 [(google.api.field_behavior) = OPTIONAL]; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint_service.proto index 72dcb7566ca3..561edf93e28f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_endpoint_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IndexEndpointServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_service.proto index bf323fa2b86f..229825e50eec 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/index_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IndexServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/io.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/io.proto index 676c3a891fd4..13294bb1e040 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/io.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/io.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IoProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto index cf4abe14947b..ce8d664a379e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto @@ -25,6 +25,7 @@ import "google/cloud/aiplatform/v1/custom_job.proto"; import "google/cloud/aiplatform/v1/data_labeling_job.proto"; import "google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto"; import "google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto"; +import "google/cloud/aiplatform/v1/nas_job.proto"; import "google/cloud/aiplatform/v1/operation.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; @@ -32,7 +33,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "JobServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; @@ -43,7 +44,8 @@ option ruby_package = "Google::Cloud::AIPlatform::V1"; service JobService { option (google.api.default_host) = "aiplatform.googleapis.com"; option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloud-platform.read-only"; // Creates a CustomJob. A created CustomJob right away // will be attempted to be run. @@ -219,6 +221,81 @@ service JobService { option (google.api.method_signature) = "name"; } + // Creates a NasJob + rpc CreateNasJob(CreateNasJobRequest) returns (NasJob) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/nasJobs" + body: "nas_job" + }; + option (google.api.method_signature) = "parent,nas_job"; + } + + // Gets a NasJob + rpc GetNasJob(GetNasJobRequest) returns (NasJob) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/nasJobs/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists NasJobs in a Location. + rpc ListNasJobs(ListNasJobsRequest) returns (ListNasJobsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/nasJobs" + }; + option (google.api.method_signature) = "parent"; + } + + // Deletes a NasJob. + rpc DeleteNasJob(DeleteNasJobRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/nasJobs/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteOperationMetadata" + }; + } + + // Cancels a NasJob. + // Starts asynchronous cancellation on the NasJob. The server + // makes a best effort to cancel the job, but success is not + // guaranteed. Clients can use + // [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or + // other methods to check whether the cancellation succeeded or whether the + // job completed despite cancellation. On successful cancellation, + // the NasJob is not deleted; instead it becomes a job with + // a [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`, and + // [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to + // `CANCELLED`. + rpc CancelNasJob(CancelNasJobRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/nasJobs/*}:cancel" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Gets a NasTrialDetail. + rpc GetNasTrialDetail(GetNasTrialDetailRequest) returns (NasTrialDetail) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/nasJobs/*/nasTrialDetails/*}" + }; + option (google.api.method_signature) = "name"; + } + + // List top NasTrialDetails of a NasJob. + rpc ListNasTrialDetails(ListNasTrialDetailsRequest) + returns (ListNasTrialDetailsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/nasJobs/*}/nasTrialDetails" + }; + option (google.api.method_signature) = "parent"; + } + // Creates a BatchPredictionJob. A BatchPredictionJob once created will // right away be attempted to start. rpc CreateBatchPredictionJob(CreateBatchPredictionJobRequest) @@ -752,6 +829,180 @@ message CancelHyperparameterTuningJobRequest { ]; } +// Request message for +// [JobService.CreateNasJob][google.cloud.aiplatform.v1.JobService.CreateNasJob]. +message CreateNasJobRequest { + // Required. The resource name of the Location to create the NasJob in. + // Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The NasJob to create. + NasJob nas_job = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for +// [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob]. +message GetNasJobRequest { + // Required. The name of the NasJob resource. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasJob" + } + ]; +} + +// Request message for +// [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs]. +message ListNasJobsRequest { + // Required. The resource name of the Location to list the NasJobs + // from. Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // The standard list filter. + // + // Supported fields: + // + // * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. + // * `state` supports `=`, `!=` comparisons. + // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. + // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence + // + // Some examples of using the filter are: + // + // * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` + // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` + // * `NOT display_name="my_job"` + // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` + string filter = 2; + + // The standard list page size. + int32 page_size = 3; + + // The standard list page token. + // Typically obtained via + // [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasJobsResponse.next_page_token] + // of the previous + // [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs] + // call. + string page_token = 4; + + // Mask specifying which fields to read. + google.protobuf.FieldMask read_mask = 5; +} + +// Response message for +// [JobService.ListNasJobs][google.cloud.aiplatform.v1.JobService.ListNasJobs] +message ListNasJobsResponse { + // List of NasJobs in the requested page. + // [NasJob.nas_job_output][google.cloud.aiplatform.v1.NasJob.nas_job_output] + // of the jobs will not be returned. + repeated NasJob nas_jobs = 1; + + // A token to retrieve the next page of results. + // Pass to + // [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1.ListNasJobsRequest.page_token] + // to obtain that page. + string next_page_token = 2; +} + +// Request message for +// [JobService.DeleteNasJob][google.cloud.aiplatform.v1.JobService.DeleteNasJob]. +message DeleteNasJobRequest { + // Required. The name of the NasJob resource to be deleted. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasJob" + } + ]; +} + +// Request message for +// [JobService.CancelNasJob][google.cloud.aiplatform.v1.JobService.CancelNasJob]. +message CancelNasJobRequest { + // Required. The name of the NasJob to cancel. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasJob" + } + ]; +} + +// Request message for +// [JobService.GetNasTrialDetail][google.cloud.aiplatform.v1.JobService.GetNasTrialDetail]. +message GetNasTrialDetailRequest { + // Required. The name of the NasTrialDetail resource. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasTrialDetail" + } + ]; +} + +// Request message for +// [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails]. +message ListNasTrialDetailsRequest { + // Required. The name of the NasJob resource. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasJob" + } + ]; + + // The standard list page size. + int32 page_size = 2; + + // The standard list page token. + // Typically obtained via + // [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsResponse.next_page_token] + // of the previous + // [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails] + // call. + string page_token = 3; +} + +// Response message for +// [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1.JobService.ListNasTrialDetails] +message ListNasTrialDetailsResponse { + // List of top NasTrials in the requested page. + repeated NasTrialDetail nas_trial_details = 1; + + // A token to retrieve the next page of results. + // Pass to + // [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1.ListNasTrialDetailsRequest.page_token] + // to obtain that page. + string next_page_token = 2; +} + // Request message for // [JobService.CreateBatchPredictionJob][google.cloud.aiplatform.v1.JobService.CreateBatchPredictionJob]. message CreateBatchPredictionJobRequest { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_state.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_state.proto index 45b101c017f1..16efd4556fa7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_state.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_state.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "JobStateProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/lineage_subgraph.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/lineage_subgraph.proto index 7ad020b6129a..428ec31456f1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/lineage_subgraph.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/lineage_subgraph.proto @@ -21,7 +21,7 @@ import "google/cloud/aiplatform/v1/event.proto"; import "google/cloud/aiplatform/v1/execution.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "LineageSubgraphProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto index 23b93f8e4641..60dea057bebe 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/machine_resources.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1/accelerator_type.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MachineResourcesProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto index a32ccfac66a5..68ea0a035126 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ManualBatchTuningParametersProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_schema.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_schema.proto index c82e6e1fb234..26a5257df408 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_schema.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_schema.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MetadataSchemaProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_service.proto index ae10562c1525..04a07627fcc1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_service.proto @@ -32,7 +32,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MetadataServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_store.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_store.proto index a151ddce9b21..c8583ae2be5f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_store.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/metadata_store.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MetadataProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migratable_resource.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migratable_resource.proto index 04dff9c8566c..cf8322c682e2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migratable_resource.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migratable_resource.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MigratableResourceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migration_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migration_service.proto index 7acbdb11e3d5..ac1b7f0ea02d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migration_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/migration_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MigrationServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model.proto index 3c6d66b8ac10..8ca72f5260b7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model.proto @@ -26,7 +26,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelProto"; option java_package = "com.google.cloud.aiplatform.v1"; @@ -90,6 +90,19 @@ message Model { [(google.api.field_behavior) = OUTPUT_ONLY]; } + // Contains information about the original Model if this Model is a copy. + message OriginalModelInfo { + // Output only. The resource name of the Model this Model is a copy of, + // including the revision. Format: + // `projects/{project}/locations/{location}/models/{model_id}@{version_id}` + string model = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; + } + // Identifies a type of Model's prediction resources. enum DeploymentResourcesType { // Should not be used. @@ -376,6 +389,11 @@ message Model { ModelSourceInfo model_source_info = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. If this Model is a copy of another Model, this contains info + // about the original. + OriginalModelInfo original_model_info = 34 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The resource name of the Artifact that was created in // MetadataStore when creating the Model. The Artifact resource name pattern // is diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto index ecbda9d84872..3f03831c0b0d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto @@ -29,7 +29,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelDeploymentMonitoringJobProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation.proto index a8f12525bf3c..ecf0f9e014cb 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelEvaluationProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation_slice.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation_slice.proto index 085132e38d84..dd7949b772b5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation_slice.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_evaluation_slice.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelEvaluationSliceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto index 1b44c09230a8..73c5e0b2b3af 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_monitoring.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/io.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelMonitoringProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto index cac89f57a704..4afe6afcac51 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/model_service.proto @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/cloud/aiplatform/v1/io.proto"; import "google/cloud/aiplatform/v1/model.proto"; import "google/cloud/aiplatform/v1/model_evaluation.proto"; @@ -29,7 +30,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; @@ -151,6 +152,24 @@ service ModelService { }; } + // Copies an already existing Vertex AI Model into the specified Location. + // The source Model must exist in the same Project. + // When copying custom Models, the users themselves are responsible for + // [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be + // region-agnostic, as well as making sure that any resources (e.g. files) it + // depends on remain accessible. + rpc CopyModel(CopyModelRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/models:copy" + body: "*" + }; + option (google.api.method_signature) = "parent,source_model"; + option (google.longrunning.operation_info) = { + response_type: "CopyModelResponse" + metadata_type: "CopyModelOperationMetadata" + }; + } + // Imports an externally generated ModelEvaluation. rpc ImportModelEvaluation(ImportModelEvaluationRequest) returns (ModelEvaluation) { @@ -580,6 +599,75 @@ message ExportModelOperationMetadata { // operation. message ExportModelResponse {} +// Request message for +// [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel]. +message CopyModelRequest { + // If both fields are unset, a new Model will be created with a generated ID. + oneof destination_model { + // Optional. Copy source_model into a new Model with this ID. The ID will + // become the final component of the model resource name. + // + // This value may be up to 63 characters, and valid characters are + // `[a-z0-9_-]`. The first character cannot be a number or hyphen. + string model_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specify this field to copy source_model into this existing + // Model as a new version. Format: + // `projects/{project}/locations/{location}/models/{model}` + string parent_model = 5 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; + } + + // Required. The resource name of the Location into which to copy the Model. + // Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The resource name of the Model to copy. That Model must be in the + // same Project. Format: + // `projects/{project}/locations/{location}/models/{model}` + string source_model = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; + + // Customer-managed encryption key options. If this is set, + // then the Model copy will be encrypted with the provided encryption key. + EncryptionSpec encryption_spec = 3; +} + +// Details of +// [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel] +// operation. +message CopyModelOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; +} + +// Response message of +// [ModelService.CopyModel][google.cloud.aiplatform.v1.ModelService.CopyModel] +// operation. +message CopyModelResponse { + // The name of the copied Model resource. + // Format: `projects/{project}/locations/{location}/models/{model}` + string model = 1 [(google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + }]; + + // Output only. The version ID of the model that is copied. + string model_version_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Request message for // [ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1.ModelService.ImportModelEvaluation] message ImportModelEvaluationRequest { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/nas_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/nas_job.proto new file mode 100644 index 000000000000..f763b655f9f4 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/nas_job.proto @@ -0,0 +1,306 @@ +// Copyright 2022 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 +// +// http://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. + +syntax = "proto3"; + +package google.cloud.aiplatform.v1; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1/custom_job.proto"; +import "google/cloud/aiplatform/v1/encryption_spec.proto"; +import "google/cloud/aiplatform/v1/job_state.proto"; +import "google/cloud/aiplatform/v1/study.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; + +option csharp_namespace = "Google.Cloud.AIPlatform.V1"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; +option java_multiple_files = true; +option java_outer_classname = "NasJobProto"; +option java_package = "com.google.cloud.aiplatform.v1"; +option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; +option ruby_package = "Google::Cloud::AIPlatform::V1"; + +// Represents a Neural Architecture Search (NAS) job. +message NasJob { + option (google.api.resource) = { + type: "aiplatform.googleapis.com/NasJob" + pattern: "projects/{project}/locations/{location}/nasJobs/{nas_job}" + }; + + // Output only. Resource name of the NasJob. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The display name of the NasJob. + // The name can be up to 128 characters long and can consist of any UTF-8 + // characters. + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The specification of a NasJob. + NasJobSpec nas_job_spec = 4 [(google.api.field_behavior) = REQUIRED]; + + // Output only. Output of the NasJob. + NasJobOutput nas_job_output = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The detailed state of the job. + JobState state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasJob was created. + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasJob for the first time entered the + // `JOB_STATE_RUNNING` state. + google.protobuf.Timestamp start_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasJob entered any of the following states: + // `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. + google.protobuf.Timestamp end_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasJob was most recently updated. + google.protobuf.Timestamp update_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Only populated when job's state is JOB_STATE_FAILED or + // JOB_STATE_CANCELLED. + google.rpc.Status error = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The labels with user-defined metadata to organize NasJobs. + // + // Label keys and values can be no longer than 64 characters + // (Unicode codepoints), can only contain lowercase letters, numeric + // characters, underscores and dashes. International characters are allowed. + // + // See https://goo.gl/xmQnxf for more information and examples of labels. + map labels = 12; + + // Customer-managed encryption key options for a NasJob. + // If this is set, then all resources created by the NasJob + // will be encrypted with the provided encryption key. + EncryptionSpec encryption_spec = 13; + + // Optional. Enable a separation of Custom model training + // and restricted image training for tenant project. + bool enable_restricted_image_training = 14 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Represents a NasTrial details along with it's parameters. If there is a +// corresponding train NasTrial, the train NasTrial is also returned. +message NasTrialDetail { + option (google.api.resource) = { + type: "aiplatform.googleapis.com/NasTrialDetail" + pattern: "projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}" + }; + + // Output only. Resource name of the NasTrialDetail. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The parameters for the NasJob NasTrial. + string parameters = 2; + + // The requested search NasTrial. + NasTrial search_trial = 3; + + // The train NasTrial corresponding to + // [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial]. + // Only populated if + // [search_trial][google.cloud.aiplatform.v1.NasTrialDetail.search_trial] is + // used for training. + NasTrial train_trial = 4; +} + +// Represents the spec of a NasJob. +message NasJobSpec { + // The spec of multi-trial Neural Architecture Search (NAS). + message MultiTrialAlgorithmSpec { + // Represents a metric to optimize. + message MetricSpec { + // The available types of optimization goals. + enum GoalType { + // Goal Type will default to maximize. + GOAL_TYPE_UNSPECIFIED = 0; + + // Maximize the goal metric. + MAXIMIZE = 1; + + // Minimize the goal metric. + MINIMIZE = 2; + } + + // Required. The ID of the metric. Must not contain whitespaces. + string metric_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The optimization goal of the metric. + GoalType goal = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Represent spec for search trials. + message SearchTrialSpec { + // Required. The spec of a search trial job. The same spec applies to + // all search trials. + CustomJobSpec search_trial_job_spec = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The maximum number of Neural Architecture Search (NAS) trials + // to run. + int32 max_trial_count = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The maximum number of trials to run in parallel. + int32 max_parallel_trial_count = 3 + [(google.api.field_behavior) = REQUIRED]; + + // The number of failed trials that need to be seen before failing + // the NasJob. + // + // If set to 0, Vertex AI decides how many trials must fail + // before the whole job fails. + int32 max_failed_trial_count = 4; + } + + // Represent spec for train trials. + message TrainTrialSpec { + // Required. The spec of a train trial job. The same spec applies to + // all train trials. + CustomJobSpec train_trial_job_spec = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The maximum number of trials to run in parallel. + int32 max_parallel_trial_count = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Frequency of search trials to start train stage. Top N + // [TrainTrialSpec.max_parallel_trial_count] + // search trials will be trained for every M + // [TrainTrialSpec.frequency] trials searched. + int32 frequency = 3 [(google.api.field_behavior) = REQUIRED]; + } + + // The available types of multi-trial algorithms. + enum MultiTrialAlgorithm { + // Defaults to `REINFORCEMENT_LEARNING`. + MULTI_TRIAL_ALGORITHM_UNSPECIFIED = 0; + + // The Reinforcement Learning Algorithm for Multi-trial Neural + // Architecture Search (NAS). + REINFORCEMENT_LEARNING = 1; + + // The Grid Search Algorithm for Multi-trial Neural + // Architecture Search (NAS). + GRID_SEARCH = 2; + } + + // The multi-trial Neural Architecture Search (NAS) algorithm + // type. Defaults to `REINFORCEMENT_LEARNING`. + MultiTrialAlgorithm multi_trial_algorithm = 1; + + // Metric specs for the NAS job. + // Validation for this field is done at `multi_trial_algorithm_spec` field. + MetricSpec metric = 2; + + // Required. Spec for search trials. + SearchTrialSpec search_trial_spec = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count] + // search trials will be trained for every M + // [TrainTrialSpec.frequency] trials searched. + TrainTrialSpec train_trial_spec = 4; + } + + // The Neural Architecture Search (NAS) algorithm specification. + oneof nas_algorithm_spec { + // The spec of multi-trial algorithms. + MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + } + + // The ID of the existing NasJob in the same Project and Location + // which will be used to resume search. search_space_spec and + // nas_algorithm_spec are obtained from previous NasJob hence should not + // provide them again for this NasJob. + string resume_nas_job_id = 3; + + // It defines the search space for Neural Architecture Search (NAS). + string search_space_spec = 1; +} + +// Represents a uCAIP NasJob output. +message NasJobOutput { + // The output of a multi-trial Neural Architecture Search (NAS) jobs. + message MultiTrialJobOutput { + // Output only. List of NasTrials that were started as part of search stage. + repeated NasTrial search_trials = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. List of NasTrials that were started as part of train stage. + repeated NasTrial train_trials = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // The output of this Neural Architecture Search (NAS) job. + oneof output { + // Output only. The output of this multi-trial Neural Architecture Search + // (NAS) job. + MultiTrialJobOutput multi_trial_job_output = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} + +// Represents a uCAIP NasJob trial. +message NasTrial { + // Describes a NasTrial state. + enum State { + // The NasTrial state is unspecified. + STATE_UNSPECIFIED = 0; + + // Indicates that a specific NasTrial has been requested, but it has not yet + // been suggested by the service. + REQUESTED = 1; + + // Indicates that the NasTrial has been suggested. + ACTIVE = 2; + + // Indicates that the NasTrial should stop according to the service. + STOPPING = 3; + + // Indicates that the NasTrial is completed successfully. + SUCCEEDED = 4; + + // Indicates that the NasTrial should not be attempted again. + // The service will set a NasTrial to INFEASIBLE when it's done but missing + // the final_measurement. + INFEASIBLE = 5; + } + + // Output only. The identifier of the NasTrial assigned by the service. + string id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The detailed state of the NasTrial. + State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The final measurement containing the objective value. + Measurement final_measurement = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasTrial was started. + google.protobuf.Timestamp start_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasTrial's status changed to `SUCCEEDED` or + // `INFEASIBLE`. + google.protobuf.Timestamp end_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/operation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/operation.proto index e1d4a90079f4..05d994ffe533 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/operation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/operation.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "OperationProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_failure_policy.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_failure_policy.proto index 5ff3b78be4ae..35b0401efc2f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_failure_policy.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_failure_policy.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "PipelineFailurePolicyProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto index 66f862a4f7b7..f0f6d2bb6a02 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_job.proto @@ -30,7 +30,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "Pipeline"; option java_package = "com.google.cloud.aiplatform.v1"; @@ -381,8 +381,6 @@ message PipelineTaskExecutorDetail { // The detailed info for a custom job executor. message CustomJobDetail { - option deprecated = true; - // Output only. The name of the // [CustomJob][google.cloud.aiplatform.v1.CustomJob]. string job = 1 [ @@ -391,6 +389,11 @@ message PipelineTaskExecutorDetail { type: "aiplatform.googleapis.com/CustomJob" } ]; + + // Output only. The names of the previously failed + // [CustomJob][google.cloud.aiplatform.v1.CustomJob]. The list includes the + // all attempts in chronological order. + repeated string failed_jobs = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } oneof details { @@ -400,6 +403,6 @@ message PipelineTaskExecutorDetail { // Output only. The detailed info for a custom job executor. CustomJobDetail custom_job_detail = 2 - [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; + [(google.api.field_behavior) = OUTPUT_ONLY]; } } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto index ada10871dc70..7bd1055f80f0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "PipelineServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_state.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_state.proto index a06ae8abeb4a..28baee3b34d6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_state.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/pipeline_state.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "PipelineStateProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto index e2f5e420293d..e02e5704c8b5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/prediction_service.proto @@ -25,7 +25,7 @@ import "google/cloud/aiplatform/v1/explanation.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "PredictionServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/saved_query.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/saved_query.proto index ec9ec0c9f3b8..cdf1f8d1119f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/saved_query.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/saved_query.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "SavedQueryProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto index 7ebb77ab8624..e7f14c262ed7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "ImageClassificationPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto index 96aa4b14ef15..cf6995dd65bc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "ImageObjectDetectionPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto index 95dbf98cf0a3..0916ae560ee1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "ImageSegmentationPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto index 7d977a2f3496..acf3ad888207 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "TextClassificationPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto index b0b60c0fc0ef..492d907d5ae7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "TextExtractionPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto index 15ded40b9dfd..cb3b732a487d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "TextSentimentPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto index a43507dd619f..0cc58f06d827 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "VideoActionRecognitionPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto index 70318a602202..d849d0476b63 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "VideoClassificationPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto index 26b34930bfe4..4418c4926b0e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "VideoObjectTrackingPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto index 6aab8b468ddc..68b6d402c6d2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "ImageClassificationPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto index e957e2af2e9c..6def9cb3d74e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "ImageObjectDetectionPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto index 5469108a3a74..83e12562c4a7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "ImageSegmentationPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto index ba6ec5403bf1..d7778531d2bf 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "VideoActionRecognitionPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto index f4325f8a1631..acf7ce0d937f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "VideoClassificationPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto index 82449062d7d8..721a080563c6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "VideoObjectTrackingPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto index be54f2c8d371..a727b42bddea 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "ClassificationPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto index b0bb842e618f..8a449d2b63ae 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "ImageObjectDetectionPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto index 20ff4f6d2d0c..5510a6c42e13 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "ImageSegmentationPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto index 979461bd3f89..cd49449dec06 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "TabularClassificationPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto index ba6bc6a7d8c2..d3ebc73e0438 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "TabularRegressionPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto index f74a82bfd46a..a16ce5c21661 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "TextExtractionPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto index 4e8d5ec2c0d1..e5352b60d4d3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "TextSentimentPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto index 35aecb6c54bf..ea44f1e1d648 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto @@ -20,7 +20,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "VideoActionRecognitionPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto index fee01c7e752a..d06450871ac5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto @@ -20,7 +20,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "VideoClassificationPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto index d445c0cc404c..415c03d77801 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto @@ -20,7 +20,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "VideoObjectTrackingPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto index 0f2c1ea4e795..697a9b61dbf5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLImageClassificationProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto index 1459a85a7635..a930bf140cae 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLImageObjectDetectionProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto index 8303ef692e12..69e7e893c76e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLImageSegmentationProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto index 5b43fc7be082..b0fcfbf43426 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; import "google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLTablesProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto index 1713e6a6c6f7..ad75ea174360 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLTextClassificationProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto index 01f56c31f385..e12c49409102 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLTextExtractionProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto index cb3f0ac5f45a..642e9d50e7ab 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLTextSentimentProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto index 331033bdc729..870066f76720 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLVideoActionRecognitionProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto index 194ea3c66e78..672601224403 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLVideoClassificationProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto index d97e356f36a6..c941b5c8c5f1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLVideoObjectTrackingProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto index eaa3298a23a1..f5eaa303a242 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "ExportEvaluatedDataItemsConfigProto"; option java_package = "com.google.cloud.aiplatform.v1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/service_networking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/service_networking.proto new file mode 100644 index 000000000000..e8ae11b7a823 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/service_networking.proto @@ -0,0 +1,38 @@ +// Copyright 2022 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 +// +// http://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. + +syntax = "proto3"; + +package google.cloud.aiplatform.v1; + +import "google/api/field_behavior.proto"; + +option csharp_namespace = "Google.Cloud.AIPlatform.V1"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; +option java_multiple_files = true; +option java_outer_classname = "ServiceNetworkingProto"; +option java_package = "com.google.cloud.aiplatform.v1"; +option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; +option ruby_package = "Google::Cloud::AIPlatform::V1"; + +// Represents configuration for private service connect. +message PrivateServiceConnectConfig { + // Required. If true, expose the IndexEndpoint via private service connect. + bool enable_private_service_connect = 1 + [(google.api.field_behavior) = REQUIRED]; + + // A list of Projects from which the forwarding rule will target the service + // attachment. + repeated string project_allowlist = 2; +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool.proto index d186592a578e..3fc47f97b89e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "SpecialistPoolProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool_service.proto index 982b1395a5e6..0f1f7531f3fc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/specialist_pool_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "SpecialistPoolServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/study.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/study.proto index 7a949bc8f31a..4ef70dbeb245 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/study.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/study.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "StudyProto"; option java_package = "com.google.cloud.aiplatform.v1"; @@ -199,6 +199,21 @@ message Trial { message StudySpec { // Represents a metric to optimize. message MetricSpec { + // Used in safe optimization to specify threshold levels and risk tolerance. + message SafetyMetricConfig { + // Safety threshold (boundary value between safe and unsafe). NOTE that if + // you leave SafetyMetricConfig unset, a default value of 0 will be used. + double safety_threshold = 1; + + // Desired minimum fraction of safe trials (over total number of trials) + // that should be targeted by the algorithm at any time during the + // study (best effort). This should be between 0.0 and 1.0 and a value of + // 0.0 means that there is no minimum and an algorithm proceeds without + // targeting any specific fraction. A value of 1.0 means that the + // algorithm attempts to only Suggest safe Trials. + optional double desired_min_safe_trials_fraction = 2; + } + // The available types of optimization goals. enum GoalType { // Goal Type will default to maximize. @@ -217,6 +232,10 @@ message StudySpec { // Required. The optimization goal of the metric. GoalType goal = 2 [(google.api.field_behavior) = REQUIRED]; + + // Used for safe search. In the case, the metric will be a safety + // metric. You must provide a separate metric for objective metric. + optional SafetyMetricConfig safety_config = 3; } // Represents a single parameter to optimize. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard.proto index a0c6aad55765..541cbfe4cd90 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_data.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_data.proto index 6cc0f24d7bad..282a01be3a19 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_data.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_data.proto @@ -21,7 +21,7 @@ import "google/cloud/aiplatform/v1/tensorboard_time_series.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardDataProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_experiment.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_experiment.proto index 30a334f2c904..db57d584aaef 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_experiment.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_experiment.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardExperimentProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_run.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_run.proto index 25c373f605d1..bc109db9db90 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_run.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_run.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardRunProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_service.proto index 07ea601dedac..8a17a6221018 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_service.proto @@ -30,7 +30,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_time_series.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_time_series.proto index 09af560fb8d9..e09648af38cf 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_time_series.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/tensorboard_time_series.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardTimeSeriesProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/training_pipeline.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/training_pipeline.proto index 298cc49a1d6c..10d96e55704f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/training_pipeline.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/training_pipeline.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TrainingPipelineProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/types.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/types.proto index 095b73c114fc..c724b8ec2739 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/types.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/types.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TypesProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/unmanaged_container_model.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/unmanaged_container_model.proto index c3d167d817ab..de9b6ccf7e88 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/unmanaged_container_model.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/unmanaged_container_model.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1/model.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "UnmanagedContainerModelProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/user_action_reference.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/user_action_reference.proto index 102dac6d47fc..25c50397701d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/user_action_reference.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/user_action_reference.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "UserActionReferenceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/value.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/value.proto index e8ab58538c2c..8b52968d8557 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/value.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/value.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ValueProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/vizier_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/vizier_service.proto index da56853fa6eb..d269b87efae7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/vizier_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/vizier_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "VizierServiceProto"; option java_package = "com.google.cloud.aiplatform.v1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/pom.xml b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/pom.xml index 59a3c0fd3d98..c792921c6133 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/pom.xml +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-aiplatform-v1beta1 - 0.26.0 + 0.27.0 proto-google-cloud-aiplatform-v1beta1 Proto library for google-cloud-aiplatform com.google.cloud google-cloud-aiplatform-parent - 3.10.0 + 3.11.0 diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java index 56964ef502d6..1d7d53153c03 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AcceleratorTypeProto.java @@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ESLA_V100\020\003\022\023\n\017NVIDIA_TESLA_P4\020\004\022\023\n\017NVID" + "IA_TESLA_T4\020\005\022\025\n\021NVIDIA_TESLA_A100\020\010\022\024\n\020" + "NVIDIA_A100_80GB\020\t\022\n\n\006TPU_V2\020\006\022\n\n\006TPU_V3" - + "\020\007B\361\001\n#com.google.cloud.aiplatform.v1bet" - + "a1B\024AcceleratorTypeProtoP\001ZIgoogle.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1beta1;aiplatform\252\002\037Google.Cloud.AIP" - + "latform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfor" - + "m\\V1beta1\352\002\"Google::Cloud::AIPlatform::V" - + "1beta1b\006proto3" + + "\020\007B\353\001\n#com.google.cloud.aiplatform.v1bet" + + "a1B\024AcceleratorTypeProtoP\001ZCcloud.google" + + ".com/go/aiplatform/apiv1beta1/aiplatform" + + "pb;aiplatformpb\252\002\037Google.Cloud.AIPlatfor" + + "m.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1be" + + "ta1\352\002\"Google::Cloud::AIPlatform::V1beta1" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AnnotationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AnnotationProto.java index 37fb1be29140..9db85147d808 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AnnotationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AnnotationProto.java @@ -65,13 +65,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001\352A\221\001\n$aiplatform.googleapis.com/Annotat" + "ion\022iprojects/{project}/locations/{locat" + "ion}/datasets/{dataset}/dataItems/{data_" - + "item}/annotations/{annotation}B\354\001\n#com.g" + + "item}/annotations/{annotation}B\346\001\n#com.g" + "oogle.cloud.aiplatform.v1beta1B\017Annotati" - + "onProtoP\001ZIgoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1beta1;aiplat" - + "form\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002" - + "\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Googl" - + "e::Cloud::AIPlatform::V1beta1b\006proto3" + + "onProtoP\001ZCcloud.google.com/go/aiplatfor" + + "m/apiv1beta1/aiplatformpb;aiplatformpb\252\002" + + "\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Googl" + + "e\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Clo" + + "ud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AnnotationSpecProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AnnotationSpecProto.java index 9c3bbcd06630..504e74681993 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AnnotationSpecProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/AnnotationSpecProto.java @@ -52,14 +52,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ag\030\005 \001(\tB\003\340A\001:\214\001\352A\210\001\n(aiplatform.googlea" + "pis.com/AnnotationSpec\022\\projects/{projec" + "t}/locations/{location}/datasets/{datase" - + "t}/annotationSpecs/{annotation_spec}B\360\001\n" + + "t}/annotationSpecs/{annotation_spec}B\352\001\n" + "#com.google.cloud.aiplatform.v1beta1B\023An" - + "notationSpecProtoP\001ZIgoogle.golang.org/g" - + "enproto/googleapis/cloud/aiplatform/v1be" - + "ta1;aiplatform\252\002\037Google.Cloud.AIPlatform" - + ".V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1bet" - + "a1\352\002\"Google::Cloud::AIPlatform::V1beta1b" - + "\006proto3" + + "notationSpecProtoP\001ZCcloud.google.com/go" + + "/aiplatform/apiv1beta1/aiplatformpb;aipl" + + "atformpb\252\002\037Google.Cloud.AIPlatform.V1Bet" + + "a1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"G" + + "oogle::Cloud::AIPlatform::V1beta1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ArtifactProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ArtifactProto.java index 804c4179bc15..678ad5009d37 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ArtifactProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ArtifactProto.java @@ -65,14 +65,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007PENDING\020\001\022\010\n\004LIVE\020\002:\206\001\352A\202\001\n\"aiplatform." + "googleapis.com/Artifact\022\\projects/{proje" + "ct}/locations/{location}/metadataStores/" - + "{metadata_store}/artifacts/{artifact}B\352\001" + + "{metadata_store}/artifacts/{artifact}B\344\001" + "\n#com.google.cloud.aiplatform.v1beta1B\rA" - + "rtifactProtoP\001ZIgoogle.golang.org/genpro" - + "to/googleapis/cloud/aiplatform/v1beta1;a" - + "iplatform\252\002\037Google.Cloud.AIPlatform.V1Be" - + "ta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"" - + "Google::Cloud::AIPlatform::V1beta1b\006prot" - + "o3" + + "rtifactProtoP\001ZCcloud.google.com/go/aipl" + + "atform/apiv1beta1/aiplatformpb;aiplatfor" + + "mpb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037" + + "Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Google" + + "::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java index ac3e6ea05601..4f98504c0dff 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/BatchPredictionJobProto.java @@ -150,13 +150,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n,aiplatform.googleapis.com/BatchPredict" + "ionJob\022Rprojects/{project}/locations/{lo" + "cation}/batchPredictionJobs/{batch_predi" - + "ction_job}B\364\001\n#com.google.cloud.aiplatfo" - + "rm.v1beta1B\027BatchPredictionJobProtoP\001ZIg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1beta1;aiplatform\252\002\037Googl" - + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou" - + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI" - + "Platform::V1beta1b\006proto3" + + "ction_job}B\356\001\n#com.google.cloud.aiplatfo" + + "rm.v1beta1B\027BatchPredictionJobProtoP\001ZCc" + + "loud.google.com/go/aiplatform/apiv1beta1" + + "/aiplatformpb;aiplatformpb\252\002\037Google.Clou" + + "d.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPl" + + "atform\\V1beta1\352\002\"Google::Cloud::AIPlatfo" + + "rm::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/GetPolicyBasedRouteRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CancelNasJobRequest.java similarity index 69% rename from java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/GetPolicyBasedRouteRequest.java rename to java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CancelNasJobRequest.java index 845b618e3a6f..4ac5d7528f2b 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/GetPolicyBasedRouteRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CancelNasJobRequest.java @@ -14,37 +14,38 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto +// source: google/cloud/aiplatform/v1beta1/job_service.proto -package com.google.cloud.networkconnectivity.v1; +package com.google.cloud.aiplatform.v1beta1; /** * * *
- * Request for [PolicyBasedRouting.GetPolicyBasedRoute][] method.
+ * Request message for
+ * [JobService.CancelNasJob][google.cloud.aiplatform.v1beta1.JobService.CancelNasJob].
  * 
* - * Protobuf type {@code google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest} + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CancelNasJobRequest} */ -public final class GetPolicyBasedRouteRequest extends com.google.protobuf.GeneratedMessageV3 +public final class CancelNasJobRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest) - GetPolicyBasedRouteRequestOrBuilder { + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.CancelNasJobRequest) + CancelNasJobRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use GetPolicyBasedRouteRequest.newBuilder() to construct. - private GetPolicyBasedRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use CancelNasJobRequest.newBuilder() to construct. + private CancelNasJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPolicyBasedRouteRequest() { + private CancelNasJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetPolicyBasedRouteRequest(); + return new CancelNasJobRequest(); } @java.lang.Override @@ -53,18 +54,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_descriptor; + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CancelNasJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_fieldAccessorTable + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CancelNasJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest.class, - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest.Builder.class); + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest.class, + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; @@ -75,7 +76,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Name of the PolicyBasedRoute resource to get.
+   * Required. The name of the NasJob to cancel.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
    * 
* * @@ -100,7 +103,9 @@ public java.lang.String getName() { * * *
-   * Required. Name of the PolicyBasedRoute resource to get.
+   * Required. The name of the NasJob to cancel.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
    * 
* * @@ -161,11 +166,11 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest)) { + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest)) { return super.equals(obj); } - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest other = - (com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest) obj; + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest other = + (com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest) obj; if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -186,72 +191,71 @@ public int hashCode() { return hash; } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest 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.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest 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.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -269,7 +273,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest prototype) { + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -287,32 +291,32 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [PolicyBasedRouting.GetPolicyBasedRoute][] method.
+   * Request message for
+   * [JobService.CancelNasJob][google.cloud.aiplatform.v1beta1.JobService.CancelNasJob].
    * 
* - * Protobuf type {@code google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest} + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CancelNasJobRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest) - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.CancelNasJobRequest) + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_descriptor; + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CancelNasJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_fieldAccessorTable + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CancelNasJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest.class, - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest.Builder.class); + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest.class, + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest.Builder.class); } - // Construct using - // com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest.newBuilder() + // Construct using com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -329,20 +333,18 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_descriptor; + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CancelNasJobRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest - getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest - .getDefaultInstance(); + public com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest build() { - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest result = buildPartial(); + public com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest build() { + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -350,9 +352,9 @@ public com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest build( } @java.lang.Override - public com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest buildPartial() { - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest result = - new com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest(this); + public com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest result = + new com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -360,8 +362,7 @@ public com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest buildP return result; } - private void buildPartial0( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest result) { + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -403,20 +404,17 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest) { - return mergeFrom( - (com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest) other); + if (other instanceof com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest other) { - if (other - == com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest other) { + if (other == com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -478,7 +476,9 @@ public Builder mergeFrom( * * *
-     * Required. Name of the PolicyBasedRoute resource to get.
+     * Required. The name of the NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -502,7 +502,9 @@ public java.lang.String getName() { * * *
-     * Required. Name of the PolicyBasedRoute resource to get.
+     * Required. The name of the NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -526,7 +528,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. Name of the PolicyBasedRoute resource to get.
+     * Required. The name of the NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -549,7 +553,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. Name of the PolicyBasedRoute resource to get.
+     * Required. The name of the NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -568,7 +574,9 @@ public Builder clearName() { * * *
-     * Required. Name of the PolicyBasedRoute resource to get.
+     * Required. The name of the NasJob to cancel.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -600,26 +608,24 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest) + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.CancelNasJobRequest) } - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest) - private static final com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest - DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.CancelNasJobRequest) + private static final com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest(); + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest(); } - public static com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest - getDefaultInstance() { + public static com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public GetPolicyBasedRouteRequest parsePartialFrom( + public CancelNasJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -638,18 +644,17 @@ public GetPolicyBasedRouteRequest parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest - getDefaultInstanceForType() { + public com.google.cloud.aiplatform.v1beta1.CancelNasJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CancelNasJobRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CancelNasJobRequestOrBuilder.java new file mode 100644 index 000000000000..8c9bf3fd4681 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CancelNasJobRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface CancelNasJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.CancelNasJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NasJob to cancel.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the NasJob to cancel.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CompletionStatsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CompletionStatsProto.java index e372bf084499..1c4264a7e43c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CompletionStatsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CompletionStatsProto.java @@ -46,14 +46,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "to\"\230\001\n\017CompletionStats\022\035\n\020successful_cou" + "nt\030\001 \001(\003B\003\340A\003\022\031\n\014failed_count\030\002 \001(\003B\003\340A\003" + "\022\035\n\020incomplete_count\030\003 \001(\003B\003\340A\003\022,\n\037succe" - + "ssful_forecast_point_count\030\005 \001(\003B\003\340A\003B\361\001" + + "ssful_forecast_point_count\030\005 \001(\003B\003\340A\003B\353\001" + "\n#com.google.cloud.aiplatform.v1beta1B\024C" - + "ompletionStatsProtoP\001ZIgoogle.golang.org" - + "/genproto/googleapis/cloud/aiplatform/v1" - + "beta1;aiplatform\252\002\037Google.Cloud.AIPlatfo" - + "rm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1b" - + "eta1\352\002\"Google::Cloud::AIPlatform::V1beta" - + "1b\006proto3" + + "ompletionStatsProtoP\001ZCcloud.google.com/" + + "go/aiplatform/apiv1beta1/aiplatformpb;ai" + + "platformpb\252\002\037Google.Cloud.AIPlatform.V1B" + + "eta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002" + + "\"Google::Cloud::AIPlatform::V1beta1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextProto.java index c98e57da66ac..fe7fad832c63 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ContextProto.java @@ -64,13 +64,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "!aiplatform.googleapis.com/Context\022Zproj" + "ects/{project}/locations/{location}/meta" + "dataStores/{metadata_store}/contexts/{co" - + "ntext}B\351\001\n#com.google.cloud.aiplatform.v" - + "1beta1B\014ContextProtoP\001ZIgoogle.golang.or" - + "g/genproto/googleapis/cloud/aiplatform/v" - + "1beta1;aiplatform\252\002\037Google.Cloud.AIPlatf" - + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" - + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" - + "a1b\006proto3" + + "ntext}B\343\001\n#com.google.cloud.aiplatform.v" + + "1beta1B\014ContextProtoP\001ZCcloud.google.com" + + "/go/aiplatform/apiv1beta1/aiplatformpb;a" + + "iplatformpb\252\002\037Google.Cloud.AIPlatform.V1" + + "Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352" + + "\002\"Google::Cloud::AIPlatform::V1beta1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelOperationMetadata.java new file mode 100644 index 000000000000..c0b1c63acd67 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelOperationMetadata.java @@ -0,0 +1,730 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/model_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Details of
+ * [ModelService.CopyModel][google.cloud.aiplatform.v1beta1.ModelService.CopyModel]
+ * operation.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata} + */ +public final class CopyModelOperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata) + CopyModelOperationMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use CopyModelOperationMetadata.newBuilder() to construct. + private CopyModelOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CopyModelOperationMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CopyModelOperationMetadata(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata.class, + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata.Builder.class); + } + + public static final int GENERIC_METADATA_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata genericMetadata_; + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + * + * @return Whether the genericMetadata field is set. + */ + @java.lang.Override + public boolean hasGenericMetadata() { + return genericMetadata_ != null; + } + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + * + * @return The genericMetadata. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata() { + return genericMetadata_ == null + ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance() + : genericMetadata_; + } + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder + getGenericMetadataOrBuilder() { + return genericMetadata_ == null + ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance() + : genericMetadata_; + } + + 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 (genericMetadata_ != null) { + output.writeMessage(1, getGenericMetadata()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (genericMetadata_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGenericMetadata()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata other = + (com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata) obj; + + if (hasGenericMetadata() != other.hasGenericMetadata()) return false; + if (hasGenericMetadata()) { + if (!getGenericMetadata().equals(other.getGenericMetadata())) 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 (hasGenericMetadata()) { + hash = (37 * hash) + GENERIC_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getGenericMetadata().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Details of
+   * [ModelService.CopyModel][google.cloud.aiplatform.v1beta1.ModelService.CopyModel]
+   * operation.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata) + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata.class, + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + genericMetadata_ = null; + if (genericMetadataBuilder_ != null) { + genericMetadataBuilder_.dispose(); + genericMetadataBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata build() { + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata buildPartial() { + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata result = + new com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.genericMetadata_ = + genericMetadataBuilder_ == null ? genericMetadata_ : genericMetadataBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata other) { + if (other + == com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata.getDefaultInstance()) + return this; + if (other.hasGenericMetadata()) { + mergeGenericMetadata(other.getGenericMetadata()); + } + 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(getGenericMetadataFieldBuilder().getBuilder(), extensionRegistry); + 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 com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata genericMetadata_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata, + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder, + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder> + genericMetadataBuilder_; + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + * + * @return Whether the genericMetadata field is set. + */ + public boolean hasGenericMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + * + * @return The genericMetadata. + */ + public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata() { + if (genericMetadataBuilder_ == null) { + return genericMetadata_ == null + ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance() + : genericMetadata_; + } else { + return genericMetadataBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + */ + public Builder setGenericMetadata( + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata value) { + if (genericMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + genericMetadata_ = value; + } else { + genericMetadataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + */ + public Builder setGenericMetadata( + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder builderForValue) { + if (genericMetadataBuilder_ == null) { + genericMetadata_ = builderForValue.build(); + } else { + genericMetadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + */ + public Builder mergeGenericMetadata( + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata value) { + if (genericMetadataBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && genericMetadata_ != null + && genericMetadata_ + != com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata + .getDefaultInstance()) { + getGenericMetadataBuilder().mergeFrom(value); + } else { + genericMetadata_ = value; + } + } else { + genericMetadataBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + */ + public Builder clearGenericMetadata() { + bitField0_ = (bitField0_ & ~0x00000001); + genericMetadata_ = null; + if (genericMetadataBuilder_ != null) { + genericMetadataBuilder_.dispose(); + genericMetadataBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + */ + public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder + getGenericMetadataBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getGenericMetadataFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + */ + public com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder + getGenericMetadataOrBuilder() { + if (genericMetadataBuilder_ != null) { + return genericMetadataBuilder_.getMessageOrBuilder(); + } else { + return genericMetadata_ == null + ? com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.getDefaultInstance() + : genericMetadata_; + } + } + /** + * + * + *
+     * The common part of the operation metadata.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata, + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder, + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder> + getGenericMetadataFieldBuilder() { + if (genericMetadataBuilder_ == null) { + genericMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata, + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.Builder, + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder>( + getGenericMetadata(), getParentForChildren(), isClean()); + genericMetadata_ = null; + } + return genericMetadataBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata) + private static final com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata(); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyModelOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelOperationMetadataOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelOperationMetadataOrBuilder.java new file mode 100644 index 000000000000..a0b80e344fea --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelOperationMetadataOrBuilder.java @@ -0,0 +1,61 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/model_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface CopyModelOperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + * + * @return Whether the genericMetadata field is set. + */ + boolean hasGenericMetadata(); + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + * + * @return The genericMetadata. + */ + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadata getGenericMetadata(); + /** + * + * + *
+   * The common part of the operation metadata.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.GenericOperationMetadata generic_metadata = 1; + */ + com.google.cloud.aiplatform.v1beta1.GenericOperationMetadataOrBuilder + getGenericMetadataOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelRequest.java new file mode 100644 index 000000000000..731201fc1484 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelRequest.java @@ -0,0 +1,1751 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/model_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for
+ * [ModelService.CopyModel][google.cloud.aiplatform.v1beta1.ModelService.CopyModel].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CopyModelRequest} + */ +public final class CopyModelRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.CopyModelRequest) + CopyModelRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CopyModelRequest.newBuilder() to construct. + private CopyModelRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CopyModelRequest() { + parent_ = ""; + sourceModel_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CopyModelRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.CopyModelRequest.class, + com.google.cloud.aiplatform.v1beta1.CopyModelRequest.Builder.class); + } + + private int destinationModelCase_ = 0; + private java.lang.Object destinationModel_; + + public enum DestinationModelCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + MODEL_ID(4), + PARENT_MODEL(5), + DESTINATIONMODEL_NOT_SET(0); + private final int value; + + private DestinationModelCase(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 DestinationModelCase valueOf(int value) { + return forNumber(value); + } + + public static DestinationModelCase forNumber(int value) { + switch (value) { + case 4: + return MODEL_ID; + case 5: + return PARENT_MODEL; + case 0: + return DESTINATIONMODEL_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public DestinationModelCase getDestinationModelCase() { + return DestinationModelCase.forNumber(destinationModelCase_); + } + + public static final int MODEL_ID_FIELD_NUMBER = 4; + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the modelId field is set. + */ + public boolean hasModelId() { + return destinationModelCase_ == 4; + } + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The modelId. + */ + public java.lang.String getModelId() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 4) { + ref = destinationModel_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationModelCase_ == 4) { + destinationModel_ = s; + } + return s; + } + } + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for modelId. + */ + public com.google.protobuf.ByteString getModelIdBytes() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 4) { + ref = destinationModel_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationModelCase_ == 4) { + destinationModel_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARENT_MODEL_FIELD_NUMBER = 5; + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the parentModel field is set. + */ + public boolean hasParentModel() { + return destinationModelCase_ == 5; + } + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The parentModel. + */ + public java.lang.String getParentModel() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 5) { + ref = destinationModel_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationModelCase_ == 5) { + destinationModel_ = s; + } + return s; + } + } + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parentModel. + */ + public com.google.protobuf.ByteString getParentModelBytes() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 5) { + ref = destinationModel_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationModelCase_ == 5) { + destinationModel_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The resource name of the Location into which to copy the Model.
+   * Format: `projects/{project}/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 resource name of the Location into which to copy the Model.
+   * Format: `projects/{project}/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 SOURCE_MODEL_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object sourceModel_ = ""; + /** + * + * + *
+   * Required. The resource name of the Model to copy. That Model must be in the
+   * same Project. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The sourceModel. + */ + @java.lang.Override + public java.lang.String getSourceModel() { + java.lang.Object ref = sourceModel_; + 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(); + sourceModel_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The resource name of the Model to copy. That Model must be in the
+   * same Project. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for sourceModel. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceModelBytes() { + java.lang.Object ref = sourceModel_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceModel_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ENCRYPTION_SPEC_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1beta1.EncryptionSpec encryptionSpec_; + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + * + * @return Whether the encryptionSpec field is set. + */ + @java.lang.Override + public boolean hasEncryptionSpec() { + return encryptionSpec_ != null; + } + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + * + * @return The encryptionSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.EncryptionSpec getEncryptionSpec() { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceModel_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceModel_); + } + if (encryptionSpec_ != null) { + output.writeMessage(3, getEncryptionSpec()); + } + if (destinationModelCase_ == 4) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, destinationModel_); + } + if (destinationModelCase_ == 5) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, destinationModel_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceModel_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceModel_); + } + if (encryptionSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEncryptionSpec()); + } + if (destinationModelCase_ == 4) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, destinationModel_); + } + if (destinationModelCase_ == 5) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, destinationModel_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.CopyModelRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.CopyModelRequest other = + (com.google.cloud.aiplatform.v1beta1.CopyModelRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getSourceModel().equals(other.getSourceModel())) return false; + if (hasEncryptionSpec() != other.hasEncryptionSpec()) return false; + if (hasEncryptionSpec()) { + if (!getEncryptionSpec().equals(other.getEncryptionSpec())) return false; + } + if (!getDestinationModelCase().equals(other.getDestinationModelCase())) return false; + switch (destinationModelCase_) { + case 4: + if (!getModelId().equals(other.getModelId())) return false; + break; + case 5: + if (!getParentModel().equals(other.getParentModel())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + SOURCE_MODEL_FIELD_NUMBER; + hash = (53 * hash) + getSourceModel().hashCode(); + if (hasEncryptionSpec()) { + hash = (37 * hash) + ENCRYPTION_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getEncryptionSpec().hashCode(); + } + switch (destinationModelCase_) { + case 4: + hash = (37 * hash) + MODEL_ID_FIELD_NUMBER; + hash = (53 * hash) + getModelId().hashCode(); + break; + case 5: + hash = (37 * hash) + PARENT_MODEL_FIELD_NUMBER; + hash = (53 * hash) + getParentModel().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.CopyModelRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [ModelService.CopyModel][google.cloud.aiplatform.v1beta1.ModelService.CopyModel].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CopyModelRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.CopyModelRequest) + com.google.cloud.aiplatform.v1beta1.CopyModelRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.CopyModelRequest.class, + com.google.cloud.aiplatform.v1beta1.CopyModelRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.CopyModelRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + sourceModel_ = ""; + encryptionSpec_ = null; + if (encryptionSpecBuilder_ != null) { + encryptionSpecBuilder_.dispose(); + encryptionSpecBuilder_ = null; + } + destinationModelCase_ = 0; + destinationModel_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.CopyModelRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelRequest build() { + com.google.cloud.aiplatform.v1beta1.CopyModelRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.CopyModelRequest result = + new com.google.cloud.aiplatform.v1beta1.CopyModelRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.CopyModelRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sourceModel_ = sourceModel_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.encryptionSpec_ = + encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build(); + } + } + + private void buildPartialOneofs(com.google.cloud.aiplatform.v1beta1.CopyModelRequest result) { + result.destinationModelCase_ = destinationModelCase_; + result.destinationModel_ = this.destinationModel_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.CopyModelRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.CopyModelRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.CopyModelRequest other) { + if (other == com.google.cloud.aiplatform.v1beta1.CopyModelRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getSourceModel().isEmpty()) { + sourceModel_ = other.sourceModel_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasEncryptionSpec()) { + mergeEncryptionSpec(other.getEncryptionSpec()); + } + switch (other.getDestinationModelCase()) { + case MODEL_ID: + { + destinationModelCase_ = 4; + destinationModel_ = other.destinationModel_; + onChanged(); + break; + } + case PARENT_MODEL: + { + destinationModelCase_ = 5; + destinationModel_ = other.destinationModel_; + onChanged(); + break; + } + case DESTINATIONMODEL_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: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + sourceModel_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: + { + input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + destinationModelCase_ = 4; + destinationModel_ = s; + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + destinationModelCase_ = 5; + destinationModel_ = s; + 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 destinationModelCase_ = 0; + private java.lang.Object destinationModel_; + + public DestinationModelCase getDestinationModelCase() { + return DestinationModelCase.forNumber(destinationModelCase_); + } + + public Builder clearDestinationModel() { + destinationModelCase_ = 0; + destinationModel_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the modelId field is set. + */ + @java.lang.Override + public boolean hasModelId() { + return destinationModelCase_ == 4; + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The modelId. + */ + @java.lang.Override + public java.lang.String getModelId() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 4) { + ref = destinationModel_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationModelCase_ == 4) { + destinationModel_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for modelId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModelIdBytes() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 4) { + ref = destinationModel_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationModelCase_ == 4) { + destinationModel_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The modelId to set. + * @return This builder for chaining. + */ + public Builder setModelId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + destinationModelCase_ = 4; + destinationModel_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearModelId() { + if (destinationModelCase_ == 4) { + destinationModelCase_ = 0; + destinationModel_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. Copy source_model into a new Model with this ID. The ID will
+     * become the final component of the model resource name.
+     * This value may be up to 63 characters, and valid characters are
+     * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+     * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for modelId to set. + * @return This builder for chaining. + */ + public Builder setModelIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationModelCase_ = 4; + destinationModel_ = value; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the parentModel field is set. + */ + @java.lang.Override + public boolean hasParentModel() { + return destinationModelCase_ == 5; + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The parentModel. + */ + @java.lang.Override + public java.lang.String getParentModel() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 5) { + ref = destinationModel_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (destinationModelCase_ == 5) { + destinationModel_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parentModel. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentModelBytes() { + java.lang.Object ref = ""; + if (destinationModelCase_ == 5) { + ref = destinationModel_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + if (destinationModelCase_ == 5) { + destinationModel_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The parentModel to set. + * @return This builder for chaining. + */ + public Builder setParentModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + destinationModelCase_ = 5; + destinationModel_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParentModel() { + if (destinationModelCase_ == 5) { + destinationModelCase_ = 0; + destinationModel_ = null; + onChanged(); + } + return this; + } + /** + * + * + *
+     * Optional. Specify this field to copy source_model into this existing
+     * Model as a new version. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parentModel to set. + * @return This builder for chaining. + */ + public Builder setParentModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + destinationModelCase_ = 5; + destinationModel_ = value; + onChanged(); + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
+     * Required. The resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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 resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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 resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Location into which to copy the Model.
+     * Format: `projects/{project}/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_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object sourceModel_ = ""; + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The sourceModel. + */ + public java.lang.String getSourceModel() { + java.lang.Object ref = sourceModel_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceModel_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for sourceModel. + */ + public com.google.protobuf.ByteString getSourceModelBytes() { + java.lang.Object ref = sourceModel_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceModel_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The sourceModel to set. + * @return This builder for chaining. + */ + public Builder setSourceModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sourceModel_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearSourceModel() { + sourceModel_ = getDefaultInstance().getSourceModel(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The resource name of the Model to copy. That Model must be in the
+     * same Project. Format:
+     * `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for sourceModel to set. + * @return This builder for chaining. + */ + public Builder setSourceModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceModel_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1beta1.EncryptionSpec encryptionSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.EncryptionSpec, + com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder> + encryptionSpecBuilder_; + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + * + * @return Whether the encryptionSpec field is set. + */ + public boolean hasEncryptionSpec() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + * + * @return The encryptionSpec. + */ + public com.google.cloud.aiplatform.v1beta1.EncryptionSpec getEncryptionSpec() { + if (encryptionSpecBuilder_ == null) { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } else { + return encryptionSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + */ + public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1beta1.EncryptionSpec value) { + if (encryptionSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + encryptionSpec_ = value; + } else { + encryptionSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + */ + public Builder setEncryptionSpec( + com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder builderForValue) { + if (encryptionSpecBuilder_ == null) { + encryptionSpec_ = builderForValue.build(); + } else { + encryptionSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + */ + public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1beta1.EncryptionSpec value) { + if (encryptionSpecBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && encryptionSpec_ != null + && encryptionSpec_ + != com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance()) { + getEncryptionSpecBuilder().mergeFrom(value); + } else { + encryptionSpec_ = value; + } + } else { + encryptionSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + */ + public Builder clearEncryptionSpec() { + bitField0_ = (bitField0_ & ~0x00000010); + encryptionSpec_ = null; + if (encryptionSpecBuilder_ != null) { + encryptionSpecBuilder_.dispose(); + encryptionSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + */ + public com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder getEncryptionSpecBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getEncryptionSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + */ + public com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder + getEncryptionSpecOrBuilder() { + if (encryptionSpecBuilder_ != null) { + return encryptionSpecBuilder_.getMessageOrBuilder(); + } else { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + } + /** + * + * + *
+     * Customer-managed encryption key options. If this is set,
+     * then the Model copy will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.EncryptionSpec, + com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder> + getEncryptionSpecFieldBuilder() { + if (encryptionSpecBuilder_ == null) { + encryptionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.EncryptionSpec, + com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder>( + getEncryptionSpec(), getParentForChildren(), isClean()); + encryptionSpec_ = null; + } + return encryptionSpecBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.CopyModelRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.CopyModelRequest) + private static final com.google.cloud.aiplatform.v1beta1.CopyModelRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.CopyModelRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyModelRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelRequestOrBuilder.java new file mode 100644 index 000000000000..c3d435778342 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelRequestOrBuilder.java @@ -0,0 +1,225 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/model_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface CopyModelRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.CopyModelRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the modelId field is set. + */ + boolean hasModelId(); + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The modelId. + */ + java.lang.String getModelId(); + /** + * + * + *
+   * Optional. Copy source_model into a new Model with this ID. The ID will
+   * become the final component of the model resource name.
+   * This value may be up to 63 characters, and valid characters are
+   * `[a-z0-9_-]`. The first character cannot be a number or hyphen.
+   * 
+ * + * string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for modelId. + */ + com.google.protobuf.ByteString getModelIdBytes(); + + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the parentModel field is set. + */ + boolean hasParentModel(); + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The parentModel. + */ + java.lang.String getParentModel(); + /** + * + * + *
+   * Optional. Specify this field to copy source_model into this existing
+   * Model as a new version. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parentModel. + */ + com.google.protobuf.ByteString getParentModelBytes(); + + /** + * + * + *
+   * Required. The resource name of the Location into which to copy the Model.
+   * Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the Location into which to copy the Model.
+   * Format: `projects/{project}/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 resource name of the Model to copy. That Model must be in the
+   * same Project. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The sourceModel. + */ + java.lang.String getSourceModel(); + /** + * + * + *
+   * Required. The resource name of the Model to copy. That Model must be in the
+   * same Project. Format:
+   * `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * + * string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for sourceModel. + */ + com.google.protobuf.ByteString getSourceModelBytes(); + + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + * + * @return Whether the encryptionSpec field is set. + */ + boolean hasEncryptionSpec(); + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + * + * @return The encryptionSpec. + */ + com.google.cloud.aiplatform.v1beta1.EncryptionSpec getEncryptionSpec(); + /** + * + * + *
+   * Customer-managed encryption key options. If this is set,
+   * then the Model copy will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 3; + */ + com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder(); + + public com.google.cloud.aiplatform.v1beta1.CopyModelRequest.DestinationModelCase + getDestinationModelCase(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelResponse.java new file mode 100644 index 000000000000..30e1ea2024ea --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelResponse.java @@ -0,0 +1,823 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/model_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Response message of
+ * [ModelService.CopyModel][google.cloud.aiplatform.v1beta1.ModelService.CopyModel]
+ * operation.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CopyModelResponse} + */ +public final class CopyModelResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.CopyModelResponse) + CopyModelResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use CopyModelResponse.newBuilder() to construct. + private CopyModelResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CopyModelResponse() { + model_ = ""; + modelVersionId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CopyModelResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.CopyModelResponse.class, + com.google.cloud.aiplatform.v1beta1.CopyModelResponse.Builder.class); + } + + public static final int MODEL_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object model_ = ""; + /** + * + * + *
+   * The name of the copied Model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The model. + */ + @java.lang.Override + public java.lang.String getModel() { + java.lang.Object ref = model_; + 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(); + model_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the copied Model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for model. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModelBytes() { + java.lang.Object ref = model_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + model_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MODEL_VERSION_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object modelVersionId_ = ""; + /** + * + * + *
+   * Output only. The version ID of the model that is copied.
+   * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The modelVersionId. + */ + @java.lang.Override + public java.lang.String getModelVersionId() { + java.lang.Object ref = modelVersionId_; + 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(); + modelVersionId_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The version ID of the model that is copied.
+   * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for modelVersionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModelVersionIdBytes() { + java.lang.Object ref = modelVersionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + modelVersionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, modelVersionId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, modelVersionId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.CopyModelResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.CopyModelResponse other = + (com.google.cloud.aiplatform.v1beta1.CopyModelResponse) obj; + + if (!getModel().equals(other.getModel())) return false; + if (!getModelVersionId().equals(other.getModelVersionId())) 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) + MODEL_FIELD_NUMBER; + hash = (53 * hash) + getModel().hashCode(); + hash = (37 * hash) + MODEL_VERSION_ID_FIELD_NUMBER; + hash = (53 * hash) + getModelVersionId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.CopyModelResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message of
+   * [ModelService.CopyModel][google.cloud.aiplatform.v1beta1.ModelService.CopyModel]
+   * operation.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CopyModelResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.CopyModelResponse) + com.google.cloud.aiplatform.v1beta1.CopyModelResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.CopyModelResponse.class, + com.google.cloud.aiplatform.v1beta1.CopyModelResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.CopyModelResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + model_ = ""; + modelVersionId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ModelServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelResponse getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.CopyModelResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelResponse build() { + com.google.cloud.aiplatform.v1beta1.CopyModelResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelResponse buildPartial() { + com.google.cloud.aiplatform.v1beta1.CopyModelResponse result = + new com.google.cloud.aiplatform.v1beta1.CopyModelResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.CopyModelResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.model_ = model_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.modelVersionId_ = modelVersionId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.CopyModelResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.CopyModelResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.CopyModelResponse other) { + if (other == com.google.cloud.aiplatform.v1beta1.CopyModelResponse.getDefaultInstance()) + return this; + if (!other.getModel().isEmpty()) { + model_ = other.model_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getModelVersionId().isEmpty()) { + modelVersionId_ = other.modelVersionId_; + 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: + { + model_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + modelVersionId_ = 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 model_ = ""; + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The model. + */ + public java.lang.String getModel() { + java.lang.Object ref = model_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + model_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for model. + */ + public com.google.protobuf.ByteString getModelBytes() { + java.lang.Object ref = model_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + model_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The model to set. + * @return This builder for chaining. + */ + public Builder setModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + model_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return This builder for chaining. + */ + public Builder clearModel() { + model_ = getDefaultInstance().getModel(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the copied Model resource.
+     * Format: `projects/{project}/locations/{location}/models/{model}`
+     * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @param value The bytes for model to set. + * @return This builder for chaining. + */ + public Builder setModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object modelVersionId_ = ""; + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The modelVersionId. + */ + public java.lang.String getModelVersionId() { + java.lang.Object ref = modelVersionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + modelVersionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for modelVersionId. + */ + public com.google.protobuf.ByteString getModelVersionIdBytes() { + java.lang.Object ref = modelVersionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + modelVersionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The modelVersionId to set. + * @return This builder for chaining. + */ + public Builder setModelVersionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + modelVersionId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearModelVersionId() { + modelVersionId_ = getDefaultInstance().getModelVersionId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The version ID of the model that is copied.
+     * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for modelVersionId to set. + * @return This builder for chaining. + */ + public Builder setModelVersionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + modelVersionId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.CopyModelResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.CopyModelResponse) + private static final com.google.cloud.aiplatform.v1beta1.CopyModelResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.CopyModelResponse(); + } + + public static com.google.cloud.aiplatform.v1beta1.CopyModelResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyModelResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CopyModelResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelResponseOrBuilder.java new file mode 100644 index 000000000000..99fa813f7e94 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CopyModelResponseOrBuilder.java @@ -0,0 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/model_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface CopyModelResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.CopyModelResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the copied Model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The model. + */ + java.lang.String getModel(); + /** + * + * + *
+   * The name of the copied Model resource.
+   * Format: `projects/{project}/locations/{location}/models/{model}`
+   * 
+ * + * string model = 1 [(.google.api.resource_reference) = { ... } + * + * @return The bytes for model. + */ + com.google.protobuf.ByteString getModelBytes(); + + /** + * + * + *
+   * Output only. The version ID of the model that is copied.
+   * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The modelVersionId. + */ + java.lang.String getModelVersionId(); + /** + * + * + *
+   * Output only. The version ID of the model that is copied.
+   * 
+ * + * string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for modelVersionId. + */ + com.google.protobuf.ByteString getModelVersionIdBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CreateNasJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CreateNasJobRequest.java new file mode 100644 index 000000000000..528d1ecefb96 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CreateNasJobRequest.java @@ -0,0 +1,941 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for
+ * [JobService.CreateNasJob][google.cloud.aiplatform.v1beta1.JobService.CreateNasJob].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CreateNasJobRequest} + */ +public final class CreateNasJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.CreateNasJobRequest) + CreateNasJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreateNasJobRequest.newBuilder() to construct. + private CreateNasJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreateNasJobRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateNasJobRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CreateNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CreateNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest.class, + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The resource name of the Location to create the NasJob in.
+   * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+   * Format: `projects/{project}/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 NAS_JOB_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1beta1.NasJob nasJob_; + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJob field is set. + */ + @java.lang.Override + public boolean hasNasJob() { + return nasJob_ != null; + } + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJob. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJob getNasJob() { + return nasJob_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance() + : nasJob_; + } + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder getNasJobOrBuilder() { + return nasJob_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance() + : nasJob_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (nasJob_ != null) { + output.writeMessage(2, getNasJob()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (nasJob_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNasJob()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest other = + (com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasNasJob() != other.hasNasJob()) return false; + if (hasNasJob()) { + if (!getNasJob().equals(other.getNasJob())) 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(); + if (hasNasJob()) { + hash = (37 * hash) + NAS_JOB_FIELD_NUMBER; + hash = (53 * hash) + getNasJob().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.CreateNasJob][google.cloud.aiplatform.v1beta1.JobService.CreateNasJob].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.CreateNasJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.CreateNasJobRequest) + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CreateNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CreateNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest.class, + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + nasJob_ = null; + if (nasJobBuilder_ != null) { + nasJobBuilder_.dispose(); + nasJobBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_CreateNasJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest build() { + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest result = + new com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nasJob_ = nasJobBuilder_ == null ? nasJob_ : nasJobBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest other) { + if (other == com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasNasJob()) { + mergeNasJob(other.getNasJob()); + } + 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: + { + input.readMessage(getNasJobFieldBuilder().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 parent_ = ""; + /** + * + * + *
+     * Required. The resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 resource name of the Location to create the NasJob in.
+     * Format: `projects/{project}/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 com.google.cloud.aiplatform.v1beta1.NasJob nasJob_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJob, + com.google.cloud.aiplatform.v1beta1.NasJob.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder> + nasJobBuilder_; + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJob field is set. + */ + public boolean hasNasJob() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJob. + */ + public com.google.cloud.aiplatform.v1beta1.NasJob getNasJob() { + if (nasJobBuilder_ == null) { + return nasJob_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance() + : nasJob_; + } else { + return nasJobBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNasJob(com.google.cloud.aiplatform.v1beta1.NasJob value) { + if (nasJobBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nasJob_ = value; + } else { + nasJobBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNasJob(com.google.cloud.aiplatform.v1beta1.NasJob.Builder builderForValue) { + if (nasJobBuilder_ == null) { + nasJob_ = builderForValue.build(); + } else { + nasJobBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeNasJob(com.google.cloud.aiplatform.v1beta1.NasJob value) { + if (nasJobBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && nasJob_ != null + && nasJob_ != com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance()) { + getNasJobBuilder().mergeFrom(value); + } else { + nasJob_ = value; + } + } else { + nasJobBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearNasJob() { + bitField0_ = (bitField0_ & ~0x00000002); + nasJob_ = null; + if (nasJobBuilder_ != null) { + nasJobBuilder_.dispose(); + nasJobBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJob.Builder getNasJobBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getNasJobFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder getNasJobOrBuilder() { + if (nasJobBuilder_ != null) { + return nasJobBuilder_.getMessageOrBuilder(); + } else { + return nasJob_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance() + : nasJob_; + } + } + /** + * + * + *
+     * Required. The NasJob to create.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJob, + com.google.cloud.aiplatform.v1beta1.NasJob.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder> + getNasJobFieldBuilder() { + if (nasJobBuilder_ == null) { + nasJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJob, + com.google.cloud.aiplatform.v1beta1.NasJob.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder>( + getNasJob(), getParentForChildren(), isClean()); + nasJob_ = null; + } + return nasJobBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.CreateNasJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.CreateNasJobRequest) + private static final com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateNasJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CreateNasJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CreateNasJobRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CreateNasJobRequestOrBuilder.java new file mode 100644 index 000000000000..77d8657e05b8 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CreateNasJobRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface CreateNasJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.CreateNasJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the Location to create the NasJob in.
+   * Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the Location to create the NasJob in.
+   * Format: `projects/{project}/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 NasJob to create.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJob field is set. + */ + boolean hasNasJob(); + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJob. + */ + com.google.cloud.aiplatform.v1beta1.NasJob getNasJob(); + /** + * + * + *
+   * Required. The NasJob to create.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder getNasJobOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java index e9cc1f94c5e9..0c24c9162cd9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/CustomJobProto.java @@ -135,13 +135,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gle.cloud.aiplatform.v1beta1.EnvVar\"_\n\nS" + "cheduling\022*\n\007timeout\030\001 \001(\0132\031.google.prot" + "obuf.Duration\022%\n\035restart_job_on_worker_r" - + "estart\030\003 \001(\010B\353\001\n#com.google.cloud.aiplat" - + "form.v1beta1B\016CustomJobProtoP\001ZIgoogle.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1beta1;aiplatform\252\002\037Google.Cloud" - + ".AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPla" - + "tform\\V1beta1\352\002\"Google::Cloud::AIPlatfor" - + "m::V1beta1b\006proto3" + + "estart\030\003 \001(\010B\345\001\n#com.google.cloud.aiplat" + + "form.v1beta1B\016CustomJobProtoP\001ZCcloud.go" + + "ogle.com/go/aiplatform/apiv1beta1/aiplat" + + "formpb;aiplatformpb\252\002\037Google.Cloud.AIPla" + + "tform.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\" + + "V1beta1\352\002\"Google::Cloud::AIPlatform::V1b" + + "eta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DataItemProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DataItemProto.java index b5414ce9f194..47b1dc1d561b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DataItemProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DataItemProto.java @@ -60,13 +60,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "lue\030\002 \001(\t:\0028\001:y\352Av\n\"aiplatform.googleapi" + "s.com/DataItem\022Pprojects/{project}/locat" + "ions/{location}/datasets/{dataset}/dataI" - + "tems/{data_item}B\352\001\n#com.google.cloud.ai" - + "platform.v1beta1B\rDataItemProtoP\001ZIgoogl" - + "e.golang.org/genproto/googleapis/cloud/a" - + "iplatform/v1beta1;aiplatform\252\002\037Google.Cl" - + "oud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AI" - + "Platform\\V1beta1\352\002\"Google::Cloud::AIPlat" - + "form::V1beta1b\006proto3" + + "tems/{data_item}B\344\001\n#com.google.cloud.ai" + + "platform.v1beta1B\rDataItemProtoP\001ZCcloud" + + ".google.com/go/aiplatform/apiv1beta1/aip" + + "latformpb;aiplatformpb\252\002\037Google.Cloud.AI" + + "Platform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfo" + + "rm\\V1beta1\352\002\"Google::Cloud::AIPlatform::" + + "V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DataLabelingJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DataLabelingJobProto.java index 56d62de388c2..c51916d0acb0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DataLabelingJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DataLabelingJobProto.java @@ -113,14 +113,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TEGY_UNSPECIFIED\020\000\022\017\n\013UNCERTAINTY\020\001B\033\n\031i" + "nitial_batch_sample_sizeB\035\n\033following_ba" + "tch_sample_size\"6\n\016TrainingConfig\022$\n\034tim" - + "eout_training_milli_hours\030\001 \001(\003B\361\001\n#com." + + "eout_training_milli_hours\030\001 \001(\003B\353\001\n#com." + "google.cloud.aiplatform.v1beta1B\024DataLab" - + "elingJobProtoP\001ZIgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1beta1;" - + "aiplatform\252\002\037Google.Cloud.AIPlatform.V1B" - + "eta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002" - + "\"Google::Cloud::AIPlatform::V1beta1b\006pro" - + "to3" + + "elingJobProtoP\001ZCcloud.google.com/go/aip" + + "latform/apiv1beta1/aiplatformpb;aiplatfo" + + "rmpb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002" + + "\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Googl" + + "e::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetProto.java index 7f4a8e91f5d7..30c5f0d04e9a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetProto.java @@ -100,13 +100,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "fig\022J\n\017gcs_destination\030\001 \001(\0132/.google.cl" + "oud.aiplatform.v1beta1.GcsDestinationH\000\022" + "\032\n\022annotations_filter\030\002 \001(\tB\r\n\013destinati" - + "onB\351\001\n#com.google.cloud.aiplatform.v1bet" - + "a1B\014DatasetProtoP\001ZIgoogle.golang.org/ge" - + "nproto/googleapis/cloud/aiplatform/v1bet" - + "a1;aiplatform\252\002\037Google.Cloud.AIPlatform." - + "V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta" - + "1\352\002\"Google::Cloud::AIPlatform::V1beta1b\006" - + "proto3" + + "onB\343\001\n#com.google.cloud.aiplatform.v1bet" + + "a1B\014DatasetProtoP\001ZCcloud.google.com/go/" + + "aiplatform/apiv1beta1/aiplatformpb;aipla" + + "tformpb\252\002\037Google.Cloud.AIPlatform.V1Beta" + + "1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Go" + + "ogle::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceProto.java index ef9e2e28f3c7..5743c6e94f74 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DatasetServiceProto.java @@ -304,13 +304,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "asets/*/dataItems/*}/annotations\332A\006paren" + "t\032M\312A\031aiplatform.googleapis.com\322A.https:" + "//www.googleapis.com/auth/cloud-platform" - + "B\360\001\n#com.google.cloud.aiplatform.v1beta1" - + "B\023DatasetServiceProtoP\001ZIgoogle.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1beta1;aiplatform\252\002\037Google.Cloud.AIPlat" - + "form.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V" - + "1beta1\352\002\"Google::Cloud::AIPlatform::V1be" - + "ta1b\006proto3" + + "B\352\001\n#com.google.cloud.aiplatform.v1beta1" + + "B\023DatasetServiceProtoP\001ZCcloud.google.co" + + "m/go/aiplatform/apiv1beta1/aiplatformpb;" + + "aiplatformpb\252\002\037Google.Cloud.AIPlatform.V" + + "1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1" + + "\352\002\"Google::Cloud::AIPlatform::V1beta1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNasJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNasJobRequest.java new file mode 100644 index 000000000000..5772969bd894 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNasJobRequest.java @@ -0,0 +1,660 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for
+ * [JobService.DeleteNasJob][google.cloud.aiplatform.v1beta1.JobService.DeleteNasJob].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.DeleteNasJobRequest} + */ +public final class DeleteNasJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.DeleteNasJobRequest) + DeleteNasJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteNasJobRequest.newBuilder() to construct. + private DeleteNasJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteNasJobRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteNasJobRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest.class, + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the NasJob resource to be deleted.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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 NasJob resource to be deleted.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1beta1.DeleteNasJobRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest other = + (com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest) 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.aiplatform.v1beta1.DeleteNasJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.DeleteNasJob][google.cloud.aiplatform.v1beta1.JobService.DeleteNasJob].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.DeleteNasJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.DeleteNasJobRequest) + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest.class, + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_DeleteNasJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest build() { + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest result = + new com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest other) { + if (other == com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest.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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource to be deleted.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.DeleteNasJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.DeleteNasJobRequest) + private static final com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNasJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.DeleteNasJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNasJobRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNasJobRequestOrBuilder.java new file mode 100644 index 000000000000..db11d81b05d8 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeleteNasJobRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface DeleteNasJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.DeleteNasJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NasJob resource to be deleted.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the NasJob resource to be deleted.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndex.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndex.java index 40d88188df2d..f8e5357281ac 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndex.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndex.java @@ -545,9 +545,9 @@ public com.google.cloud.aiplatform.v1beta1.AutomaticResources getAutomaticResour * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -574,9 +574,9 @@ public boolean hasDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -605,9 +605,9 @@ public com.google.cloud.aiplatform.v1beta1.DedicatedResources getDedicatedResour * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -2951,9 +2951,9 @@ public Builder clearAutomaticResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -2979,9 +2979,9 @@ public boolean hasDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3013,9 +3013,9 @@ public com.google.cloud.aiplatform.v1beta1.DedicatedResources getDedicatedResour * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3050,9 +3050,9 @@ public Builder setDedicatedResources( * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3084,9 +3084,9 @@ public Builder setDedicatedResources( * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3125,9 +3125,9 @@ public Builder mergeDedicatedResources( * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3158,9 +3158,9 @@ public Builder clearDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3187,9 +3187,9 @@ public Builder clearDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -3220,9 +3220,9 @@ public Builder clearDedicatedResources() { * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndexOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndexOrBuilder.java index 293c0cd0b7e5..e6f13c8e00e2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndexOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndexOrBuilder.java @@ -359,9 +359,9 @@ public interface DeployedIndexOrBuilder * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -385,9 +385,9 @@ public interface DeployedIndexOrBuilder * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * @@ -411,9 +411,9 @@ public interface DeployedIndexOrBuilder * Available machine types for MEDIUM shard: * e2-standard-16 and all machine types available for LARGE shard. * Available machine types for LARGE shard: - * e2-standard-32, e2-highmem-16, n2d-standard-32. + * e2-highmem-16, n2d-standard-32. * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-standard-32 for cost efficiency. + * e2-standard-16 and e2-highmem-16 for cost efficiency. * * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndexRefProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndexRefProto.java index 686b159c7790..f77a31840fee 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndexRefProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedIndexRefProto.java @@ -46,14 +46,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "roto\032\031google/api/resource.proto\"{\n\020Deplo" + "yedIndexRef\022G\n\016index_endpoint\030\001 \001(\tB/\340A\005" + "\372A)\n\'aiplatform.googleapis.com/IndexEndp" - + "oint\022\036\n\021deployed_index_id\030\002 \001(\tB\003\340A\005B\362\001\n" + + "oint\022\036\n\021deployed_index_id\030\002 \001(\tB\003\340A\005B\354\001\n" + "#com.google.cloud.aiplatform.v1beta1B\025De" - + "ployedIndexRefProtoP\001ZIgoogle.golang.org" - + "/genproto/googleapis/cloud/aiplatform/v1" - + "beta1;aiplatform\252\002\037Google.Cloud.AIPlatfo" - + "rm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1b" - + "eta1\352\002\"Google::Cloud::AIPlatform::V1beta" - + "1b\006proto3" + + "ployedIndexRefProtoP\001ZCcloud.google.com/" + + "go/aiplatform/apiv1beta1/aiplatformpb;ai" + + "platformpb\252\002\037Google.Cloud.AIPlatform.V1B" + + "eta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002" + + "\"Google::Cloud::AIPlatform::V1beta1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModel.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModel.java index 3ce17fed5716..0041996ebf10 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModel.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModel.java @@ -674,6 +674,28 @@ public com.google.cloud.aiplatform.v1beta1.ExplanationSpec getExplanationSpec() : explanationSpec_; } + public static final int DISABLE_EXPLANATIONS_FIELD_NUMBER = 19; + private boolean disableExplanations_ = false; + /** + * + * + *
+   * If true, deploy the model without explainable feature, regardless the
+   * existence of
+   * [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec]
+   * or
+   * [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec].
+   * 
+ * + * bool disable_explanations = 19; + * + * @return The disableExplanations. + */ + @java.lang.Override + public boolean getDisableExplanations() { + return disableExplanations_; + } + public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 11; @SuppressWarnings("serial") @@ -761,6 +783,8 @@ public boolean getEnableContainerLogging() { * * *
+   * If true, online prediction access logs are sent to StackDriver
+   * Logging.
    * These logs are like standard server access logs, containing
    * information like timestamp and latency for each prediction request.
    * Note that Stackdriver logs may incur a cost, especially if your project
@@ -898,6 +922,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 18, modelVersionId_);
     }
+    if (disableExplanations_ != false) {
+      output.writeBool(19, disableExplanations_);
+    }
     getUnknownFields().writeTo(output);
   }
 
@@ -950,6 +977,9 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modelVersionId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, modelVersionId_);
     }
+    if (disableExplanations_ != false) {
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(19, disableExplanations_);
+    }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
     return size;
@@ -978,6 +1008,7 @@ public boolean equals(final java.lang.Object obj) {
     if (hasExplanationSpec()) {
       if (!getExplanationSpec().equals(other.getExplanationSpec())) return false;
     }
+    if (getDisableExplanations() != other.getDisableExplanations()) return false;
     if (!getServiceAccount().equals(other.getServiceAccount())) return false;
     if (getEnableContainerLogging() != other.getEnableContainerLogging()) return false;
     if (getEnableAccessLogging() != other.getEnableAccessLogging()) return false;
@@ -1026,6 +1057,8 @@ public int hashCode() {
       hash = (37 * hash) + EXPLANATION_SPEC_FIELD_NUMBER;
       hash = (53 * hash) + getExplanationSpec().hashCode();
     }
+    hash = (37 * hash) + DISABLE_EXPLANATIONS_FIELD_NUMBER;
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableExplanations());
     hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER;
     hash = (53 * hash) + getServiceAccount().hashCode();
     hash = (37 * hash) + ENABLE_CONTAINER_LOGGING_FIELD_NUMBER;
@@ -1211,6 +1244,7 @@ public Builder clear() {
         explanationSpecBuilder_.dispose();
         explanationSpecBuilder_ = null;
       }
+      disableExplanations_ = false;
       serviceAccount_ = "";
       enableContainerLogging_ = false;
       enableAccessLogging_ = false;
@@ -1278,15 +1312,18 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.DeployedModel res
             explanationSpecBuilder_ == null ? explanationSpec_ : explanationSpecBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.serviceAccount_ = serviceAccount_;
+        result.disableExplanations_ = disableExplanations_;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.enableContainerLogging_ = enableContainerLogging_;
+        result.serviceAccount_ = serviceAccount_;
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
-        result.enableAccessLogging_ = enableAccessLogging_;
+        result.enableContainerLogging_ = enableContainerLogging_;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
+        result.enableAccessLogging_ = enableAccessLogging_;
+      }
+      if (((from_bitField0_ & 0x00002000) != 0)) {
         result.privateEndpoints_ =
             privateEndpointsBuilder_ == null ? privateEndpoints_ : privateEndpointsBuilder_.build();
       }
@@ -1375,9 +1412,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.DeployedModel other
       if (other.hasExplanationSpec()) {
         mergeExplanationSpec(other.getExplanationSpec());
       }
+      if (other.getDisableExplanations() != false) {
+        setDisableExplanations(other.getDisableExplanations());
+      }
       if (!other.getServiceAccount().isEmpty()) {
         serviceAccount_ = other.serviceAccount_;
-        bitField0_ |= 0x00000200;
+        bitField0_ |= 0x00000400;
         onChanged();
       }
       if (other.getEnableContainerLogging() != false) {
@@ -1485,26 +1525,26 @@ public Builder mergeFrom(
             case 90:
               {
                 serviceAccount_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000200;
+                bitField0_ |= 0x00000400;
                 break;
               } // case 90
             case 96:
               {
                 enableContainerLogging_ = input.readBool();
-                bitField0_ |= 0x00000400;
+                bitField0_ |= 0x00000800;
                 break;
               } // case 96
             case 104:
               {
                 enableAccessLogging_ = input.readBool();
-                bitField0_ |= 0x00000800;
+                bitField0_ |= 0x00001000;
                 break;
               } // case 104
             case 114:
               {
                 input.readMessage(
                     getPrivateEndpointsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00001000;
+                bitField0_ |= 0x00002000;
                 break;
               } // case 114
             case 138:
@@ -1520,6 +1560,12 @@ public Builder mergeFrom(
                 bitField0_ |= 0x00000020;
                 break;
               } // case 146
+            case 152:
+              {
+                disableExplanations_ = input.readBool();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 152
             default:
               {
                 if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -3138,6 +3184,71 @@ public com.google.cloud.aiplatform.v1beta1.ExplanationSpec.Builder getExplanatio
       return explanationSpecBuilder_;
     }
 
+    private boolean disableExplanations_;
+    /**
+     *
+     *
+     * 
+     * If true, deploy the model without explainable feature, regardless the
+     * existence of
+     * [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec]
+     * or
+     * [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec].
+     * 
+ * + * bool disable_explanations = 19; + * + * @return The disableExplanations. + */ + @java.lang.Override + public boolean getDisableExplanations() { + return disableExplanations_; + } + /** + * + * + *
+     * If true, deploy the model without explainable feature, regardless the
+     * existence of
+     * [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec]
+     * or
+     * [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec].
+     * 
+ * + * bool disable_explanations = 19; + * + * @param value The disableExplanations to set. + * @return This builder for chaining. + */ + public Builder setDisableExplanations(boolean value) { + + disableExplanations_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * If true, deploy the model without explainable feature, regardless the
+     * existence of
+     * [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec]
+     * or
+     * [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec].
+     * 
+ * + * bool disable_explanations = 19; + * + * @return This builder for chaining. + */ + public Builder clearDisableExplanations() { + bitField0_ = (bitField0_ & ~0x00000200); + disableExplanations_ = false; + onChanged(); + return this; + } + private java.lang.Object serviceAccount_ = ""; /** * @@ -3215,7 +3326,7 @@ public Builder setServiceAccount(java.lang.String value) { throw new NullPointerException(); } serviceAccount_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3237,7 +3348,7 @@ public Builder setServiceAccount(java.lang.String value) { */ public Builder clearServiceAccount() { serviceAccount_ = getDefaultInstance().getServiceAccount(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -3264,7 +3375,7 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); serviceAccount_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3304,7 +3415,7 @@ public boolean getEnableContainerLogging() { public Builder setEnableContainerLogging(boolean value) { enableContainerLogging_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3322,7 +3433,7 @@ public Builder setEnableContainerLogging(boolean value) { * @return This builder for chaining. */ public Builder clearEnableContainerLogging() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); enableContainerLogging_ = false; onChanged(); return this; @@ -3333,6 +3444,8 @@ public Builder clearEnableContainerLogging() { * * *
+     * If true, online prediction access logs are sent to StackDriver
+     * Logging.
      * These logs are like standard server access logs, containing
      * information like timestamp and latency for each prediction request.
      * Note that Stackdriver logs may incur a cost, especially if your project
@@ -3352,6 +3465,8 @@ public boolean getEnableAccessLogging() {
      *
      *
      * 
+     * If true, online prediction access logs are sent to StackDriver
+     * Logging.
      * These logs are like standard server access logs, containing
      * information like timestamp and latency for each prediction request.
      * Note that Stackdriver logs may incur a cost, especially if your project
@@ -3367,7 +3482,7 @@ public boolean getEnableAccessLogging() {
     public Builder setEnableAccessLogging(boolean value) {
 
       enableAccessLogging_ = value;
-      bitField0_ |= 0x00000800;
+      bitField0_ |= 0x00001000;
       onChanged();
       return this;
     }
@@ -3375,6 +3490,8 @@ public Builder setEnableAccessLogging(boolean value) {
      *
      *
      * 
+     * If true, online prediction access logs are sent to StackDriver
+     * Logging.
      * These logs are like standard server access logs, containing
      * information like timestamp and latency for each prediction request.
      * Note that Stackdriver logs may incur a cost, especially if your project
@@ -3387,7 +3504,7 @@ public Builder setEnableAccessLogging(boolean value) {
      * @return This builder for chaining.
      */
     public Builder clearEnableAccessLogging() {
-      bitField0_ = (bitField0_ & ~0x00000800);
+      bitField0_ = (bitField0_ & ~0x00001000);
       enableAccessLogging_ = false;
       onChanged();
       return this;
@@ -3416,7 +3533,7 @@ public Builder clearEnableAccessLogging() {
      * @return Whether the privateEndpoints field is set.
      */
     public boolean hasPrivateEndpoints() {
-      return ((bitField0_ & 0x00001000) != 0);
+      return ((bitField0_ & 0x00002000) != 0);
     }
     /**
      *
@@ -3466,7 +3583,7 @@ public Builder setPrivateEndpoints(com.google.cloud.aiplatform.v1beta1.PrivateEn
       } else {
         privateEndpointsBuilder_.setMessage(value);
       }
-      bitField0_ |= 0x00001000;
+      bitField0_ |= 0x00002000;
       onChanged();
       return this;
     }
@@ -3491,7 +3608,7 @@ public Builder setPrivateEndpoints(
       } else {
         privateEndpointsBuilder_.setMessage(builderForValue.build());
       }
-      bitField0_ |= 0x00001000;
+      bitField0_ |= 0x00002000;
       onChanged();
       return this;
     }
@@ -3512,7 +3629,7 @@ public Builder setPrivateEndpoints(
     public Builder mergePrivateEndpoints(
         com.google.cloud.aiplatform.v1beta1.PrivateEndpoints value) {
       if (privateEndpointsBuilder_ == null) {
-        if (((bitField0_ & 0x00001000) != 0)
+        if (((bitField0_ & 0x00002000) != 0)
             && privateEndpoints_ != null
             && privateEndpoints_
                 != com.google.cloud.aiplatform.v1beta1.PrivateEndpoints.getDefaultInstance()) {
@@ -3523,7 +3640,7 @@ public Builder mergePrivateEndpoints(
       } else {
         privateEndpointsBuilder_.mergeFrom(value);
       }
-      bitField0_ |= 0x00001000;
+      bitField0_ |= 0x00002000;
       onChanged();
       return this;
     }
@@ -3542,7 +3659,7 @@ public Builder mergePrivateEndpoints(
      * 
      */
     public Builder clearPrivateEndpoints() {
-      bitField0_ = (bitField0_ & ~0x00001000);
+      bitField0_ = (bitField0_ & ~0x00002000);
       privateEndpoints_ = null;
       if (privateEndpointsBuilder_ != null) {
         privateEndpointsBuilder_.dispose();
@@ -3567,7 +3684,7 @@ public Builder clearPrivateEndpoints() {
      */
     public com.google.cloud.aiplatform.v1beta1.PrivateEndpoints.Builder
         getPrivateEndpointsBuilder() {
-      bitField0_ |= 0x00001000;
+      bitField0_ |= 0x00002000;
       onChanged();
       return getPrivateEndpointsFieldBuilder().getBuilder();
     }
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModelNameProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModelNameProto.java
index 37b422ed8743..59dfe200c8aa 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModelNameProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModelNameProto.java
@@ -46,13 +46,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "roto\032\031google/api/resource.proto\"p\n\020Deplo"
           + "yedModelRef\022<\n\010endpoint\030\001 \001(\tB*\340A\005\372A$\n\"a"
           + "iplatform.googleapis.com/Endpoint\022\036\n\021dep"
-          + "loyed_model_id\030\002 \001(\tB\003\340A\005B\363\001\n#com.google"
+          + "loyed_model_id\030\002 \001(\tB\003\340A\005B\355\001\n#com.google"
           + ".cloud.aiplatform.v1beta1B\026DeployedModel"
-          + "NameProtoP\001ZIgoogle.golang.org/genproto/"
-          + "googleapis/cloud/aiplatform/v1beta1;aipl"
-          + "atform\252\002\037Google.Cloud.AIPlatform.V1Beta1"
-          + "\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Goo"
-          + "gle::Cloud::AIPlatform::V1beta1b\006proto3"
+          + "NameProtoP\001ZCcloud.google.com/go/aiplatf"
+          + "orm/apiv1beta1/aiplatformpb;aiplatformpb"
+          + "\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goo"
+          + "gle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::C"
+          + "loud::AIPlatform::V1beta1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModelOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModelOrBuilder.java
index f54385ce79a5..acdadce8a6b9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModelOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeployedModelOrBuilder.java
@@ -378,6 +378,23 @@ public interface DeployedModelOrBuilder
    */
   com.google.cloud.aiplatform.v1beta1.ExplanationSpecOrBuilder getExplanationSpecOrBuilder();
 
+  /**
+   *
+   *
+   * 
+   * If true, deploy the model without explainable feature, regardless the
+   * existence of
+   * [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec]
+   * or
+   * [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec].
+   * 
+ * + * bool disable_explanations = 19; + * + * @return The disableExplanations. + */ + boolean getDisableExplanations(); + /** * * @@ -432,6 +449,8 @@ public interface DeployedModelOrBuilder * * *
+   * If true, online prediction access logs are sent to StackDriver
+   * Logging.
    * These logs are like standard server access logs, containing
    * information like timestamp and latency for each prediction request.
    * Note that Stackdriver logs may incur a cost, especially if your project
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolProto.java
index a5debc83b373..e6e55cde348d 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolProto.java
@@ -54,14 +54,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\001\n0aiplatform.googleapis.com/DeploymentR"
           + "esourcePool\022Zprojects/{project}/location"
           + "s/{location}/deploymentResourcePools/{de"
-          + "ployment_resource_pool}B\370\001\n#com.google.c"
+          + "ployment_resource_pool}B\362\001\n#com.google.c"
           + "loud.aiplatform.v1beta1B\033DeploymentResou"
-          + "rcePoolProtoP\001ZIgoogle.golang.org/genpro"
-          + "to/googleapis/cloud/aiplatform/v1beta1;a"
-          + "iplatform\252\002\037Google.Cloud.AIPlatform.V1Be"
-          + "ta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\""
-          + "Google::Cloud::AIPlatform::V1beta1b\006prot"
-          + "o3"
+          + "rcePoolProtoP\001ZCcloud.google.com/go/aipl"
+          + "atform/apiv1beta1/aiplatformpb;aiplatfor"
+          + "mpb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037"
+          + "Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Google"
+          + "::Cloud::AIPlatform::V1beta1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceProto.java
index cc8d3a2996ff..5df1442599e5 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/DeploymentResourcePoolServiceProto.java
@@ -156,14 +156,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "ploymentResourcePools/*}:queryDeployedMo"
           + "dels\332A\030deployment_resource_pool\032M\312A\031aipl"
           + "atform.googleapis.com\322A.https://www.goog"
-          + "leapis.com/auth/cloud-platformB\377\001\n#com.g"
+          + "leapis.com/auth/cloud-platformB\371\001\n#com.g"
           + "oogle.cloud.aiplatform.v1beta1B\"Deployme"
-          + "ntResourcePoolServiceProtoP\001ZIgoogle.gol"
-          + "ang.org/genproto/googleapis/cloud/aiplat"
-          + "form/v1beta1;aiplatform\252\002\037Google.Cloud.A"
-          + "IPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlatf"
-          + "orm\\V1beta1\352\002\"Google::Cloud::AIPlatform:"
-          + ":V1beta1b\006proto3"
+          + "ntResourcePoolServiceProtoP\001ZCcloud.goog"
+          + "le.com/go/aiplatform/apiv1beta1/aiplatfo"
+          + "rmpb;aiplatformpb\252\002\037Google.Cloud.AIPlatf"
+          + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1"
+          + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet"
+          + "a1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EncryptionSpecProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EncryptionSpecProto.java
index a48163d5bf8f..8d22ddc97dee 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EncryptionSpecProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EncryptionSpecProto.java
@@ -44,13 +44,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "tion_spec.proto\022\037google.cloud.aiplatform"
           + ".v1beta1\032\037google/api/field_behavior.prot"
           + "o\"+\n\016EncryptionSpec\022\031\n\014kms_key_name\030\001 \001("
-          + "\tB\003\340A\002B\360\001\n#com.google.cloud.aiplatform.v"
-          + "1beta1B\023EncryptionSpecProtoP\001ZIgoogle.go"
-          + "lang.org/genproto/googleapis/cloud/aipla"
-          + "tform/v1beta1;aiplatform\252\002\037Google.Cloud."
-          + "AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlat"
-          + "form\\V1beta1\352\002\"Google::Cloud::AIPlatform"
-          + "::V1beta1b\006proto3"
+          + "\tB\003\340A\002B\352\001\n#com.google.cloud.aiplatform.v"
+          + "1beta1B\023EncryptionSpecProtoP\001ZCcloud.goo"
+          + "gle.com/go/aiplatform/apiv1beta1/aiplatf"
+          + "ormpb;aiplatformpb\252\002\037Google.Cloud.AIPlat"
+          + "form.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V"
+          + "1beta1\352\002\"Google::Cloud::AIPlatform::V1be"
+          + "ta1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Endpoint.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Endpoint.java
index 73dca0895bf8..64bac7387d9c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Endpoint.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Endpoint.java
@@ -805,7 +805,7 @@ public com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder getEncryption
    *
    *
    * 
-   * The full name of the Google Compute Engine
+   * Optional. The full name of the Google Compute Engine
    * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    * to which the Endpoint should be peered.
    * Private services access must already be configured for the network. If left
@@ -820,7 +820,9 @@ public com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder getEncryption
    * network name.
    * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The network. */ @@ -840,7 +842,7 @@ public java.lang.String getNetwork() { * * *
-   * The full name of the Google Compute Engine
+   * Optional. The full name of the Google Compute Engine
    * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    * to which the Endpoint should be peered.
    * Private services access must already be configured for the network. If left
@@ -855,7 +857,9 @@ public java.lang.String getNetwork() {
    * network name.
    * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The bytes for network. */ @@ -888,7 +892,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=124 + * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=125 * @return The enablePrivateServiceConnect. */ @java.lang.Override @@ -3734,7 +3738,7 @@ public com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder getEncryptionS * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3749,7 +3753,9 @@ public com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder getEncryptionS
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The network. */ @@ -3768,7 +3774,7 @@ public java.lang.String getNetwork() { * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3783,7 +3789,9 @@ public java.lang.String getNetwork() {
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The bytes for network. */ @@ -3802,7 +3810,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3817,7 +3825,9 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @param value The network to set. * @return This builder for chaining. @@ -3835,7 +3845,7 @@ public Builder setNetwork(java.lang.String value) { * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3850,7 +3860,9 @@ public Builder setNetwork(java.lang.String value) {
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -3864,7 +3876,7 @@ public Builder clearNetwork() { * * *
-     * The full name of the Google Compute Engine
+     * Optional. The full name of the Google Compute Engine
      * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
      * to which the Endpoint should be peered.
      * Private services access must already be configured for the network. If left
@@ -3879,7 +3891,9 @@ public Builder clearNetwork() {
      * network name.
      * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for network to set. * @return This builder for chaining. @@ -3910,7 +3924,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=124 + * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=125 * @return The enablePrivateServiceConnect. */ @java.lang.Override @@ -3932,7 +3946,7 @@ public boolean getEnablePrivateServiceConnect() { * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=124 + * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=125 * @param value The enablePrivateServiceConnect to set. * @return This builder for chaining. */ @@ -3958,7 +3972,7 @@ public Builder setEnablePrivateServiceConnect(boolean value) { * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=124 + * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=125 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointOrBuilder.java index bb58f7eecc20..df88d991b949 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointOrBuilder.java @@ -494,7 +494,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * The full name of the Google Compute Engine
+   * Optional. The full name of the Google Compute Engine
    * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    * to which the Endpoint should be peered.
    * Private services access must already be configured for the network. If left
@@ -509,7 +509,9 @@ java.lang.String getLabelsOrDefault(
    * network name.
    * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The network. */ @@ -518,7 +520,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * The full name of the Google Compute Engine
+   * Optional. The full name of the Google Compute Engine
    * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks)
    * to which the Endpoint should be peered.
    * Private services access must already be configured for the network. If left
@@ -533,7 +535,9 @@ java.lang.String getLabelsOrDefault(
    * network name.
    * 
* - * string network = 13 [(.google.api.resource_reference) = { ... } + * + * string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * * * @return The bytes for network. */ @@ -553,7 +557,7 @@ java.lang.String getLabelsOrDefault( * bool enable_private_service_connect = 17 [deprecated = true]; * * @deprecated google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=124 + * deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=125 * @return The enablePrivateServiceConnect. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointProto.java index d3124bae4dec..ca5a17b588a2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/EndpointProto.java @@ -69,7 +69,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "n.proto\032(google/cloud/aiplatform/v1beta1" + "/io.proto\0327google/cloud/aiplatform/v1bet" + "a1/machine_resources.proto\032\037google/proto" - + "buf/timestamp.proto\"\207\010\n\010Endpoint\022\021\n\004name" + + "buf/timestamp.proto\"\212\010\n\010Endpoint\022\021\n\004name" + "\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023" + "\n\013description\030\003 \001(\t\022L\n\017deployed_models\030\004" + " \003(\0132..google.cloud.aiplatform.v1beta1.D" @@ -82,52 +82,52 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\0224\n\013update_time\030\t \001(\0132\032.google.protobuf." + "TimestampB\003\340A\003\022H\n\017encryption_spec\030\n \001(\0132" + "/.google.cloud.aiplatform.v1beta1.Encryp" - + "tionSpec\0224\n\007network\030\r \001(\tB#\372A \n\036compute." - + "googleapis.com/Network\022*\n\036enable_private" - + "_service_connect\030\021 \001(\010B\002\030\001\022g\n\037model_depl" - + "oyment_monitoring_job\030\016 \001(\tB>\340A\003\372A8\n6aip" - + "latform.googleapis.com/ModelDeploymentMo" - + "nitoringJob\022u\n\'predict_request_response_" - + "logging_config\030\022 \001(\0132D.google.cloud.aipl" - + "atform.v1beta1.PredictRequestResponseLog" - + "gingConfig\0323\n\021TrafficSplitEntry\022\013\n\003key\030\001" - + " \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\032-\n\013LabelsEntry\022\013" - + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:e\352Ab\n\"aip" - + "latform.googleapis.com/Endpoint\022\340A\003\372A8\n6" + + "aiplatform.googleapis.com/ModelDeploymen" + + "tMonitoringJob\022u\n\'predict_request_respon" + + "se_logging_config\030\022 \001(\0132D.google.cloud.a" + + "iplatform.v1beta1.PredictRequestResponse" + + "LoggingConfig\0323\n\021TrafficSplitEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001\032-\n\013LabelsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:e\352Ab\n\"" + + "aiplatform.googleapis.com/Endpoint\022 + * Request message for + * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob]. + *
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GetNasJobRequest} + */ +public final class GetNasJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GetNasJobRequest) + GetNasJobRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetNasJobRequest.newBuilder() to construct. + private GetNasJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetNasJobRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetNasJobRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest.class, + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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 NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1beta1.GetNasJobRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest other = + (com.google.cloud.aiplatform.v1beta1.GetNasJobRequest) 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.aiplatform.v1beta1.GetNasJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.GetNasJobRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GetNasJobRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.GetNasJobRequest) + com.google.cloud.aiplatform.v1beta1.GetNasJobRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasJobRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasJobRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest.class, + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.GetNasJobRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasJobRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNasJobRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.GetNasJobRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNasJobRequest build() { + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNasJobRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.GetNasJobRequest result = + new com.google.cloud.aiplatform.v1beta1.GetNasJobRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.GetNasJobRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.GetNasJobRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.GetNasJobRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GetNasJobRequest other) { + if (other == com.google.cloud.aiplatform.v1beta1.GetNasJobRequest.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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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 NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+     * 
+ * + * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.GetNasJobRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GetNasJobRequest) + private static final com.google.cloud.aiplatform.v1beta1.GetNasJobRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.GetNasJobRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasJobRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNasJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNasJobRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNasJobRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNasJobRequestOrBuilder.java new file mode 100644 index 000000000000..228b62e55d79 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNasJobRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface GetNasJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.GetNasJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * 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-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNasTrialDetailRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNasTrialDetailRequest.java new file mode 100644 index 000000000000..c72aab3e8bb2 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNasTrialDetailRequest.java @@ -0,0 +1,664 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for
+ * [JobService.GetNasTrialDetail][google.cloud.aiplatform.v1beta1.JobService.GetNasTrialDetail].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest} + */ +public final class GetNasTrialDetailRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest) + GetNasTrialDetailRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetNasTrialDetailRequest.newBuilder() to construct. + private GetNasTrialDetailRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetNasTrialDetailRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetNasTrialDetailRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasTrialDetailRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasTrialDetailRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest.class, + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Required. The name of the NasTrialDetail resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+   * 
+ * + * + * 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 NasTrialDetail resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+   * 
+ * + * + * 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.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1beta1.GetNasTrialDetailRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest other = + (com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest) 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.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.GetNasTrialDetail][google.cloud.aiplatform.v1beta1.JobService.GetNasTrialDetail].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest) + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasTrialDetailRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasTrialDetailRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest.class, + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.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.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_GetNasTrialDetailRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest build() { + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest result = + new com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest other) { + if (other + == com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest.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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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 NasTrialDetail resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+     * 
+ * + * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest) + private static final com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNasTrialDetailRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNasTrialDetailRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNasTrialDetailRequestOrBuilder.java new file mode 100644 index 000000000000..d7e81dbccb6c --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/GetNasTrialDetailRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface GetNasTrialDetailRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.GetNasTrialDetailRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NasTrialDetail resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the NasTrialDetail resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}`
+   * 
+ * + * + * 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-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/HyperparameterTuningJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/HyperparameterTuningJobProto.java index 00ae143da8c3..b5b8d9ceab8e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/HyperparameterTuningJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/HyperparameterTuningJobProto.java @@ -80,14 +80,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\221\001\n1aiplatform.googleapis.com/Hyperparam" + "eterTuningJob\022\\projects/{project}/locati" + "ons/{location}/hyperparameterTuningJobs/" - + "{hyperparameter_tuning_job}B\371\001\n#com.goog" + + "{hyperparameter_tuning_job}B\363\001\n#com.goog" + "le.cloud.aiplatform.v1beta1B\034Hyperparame" - + "terTuningJobProtoP\001ZIgoogle.golang.org/g" - + "enproto/googleapis/cloud/aiplatform/v1be" - + "ta1;aiplatform\252\002\037Google.Cloud.AIPlatform" - + ".V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1bet" - + "a1\352\002\"Google::Cloud::AIPlatform::V1beta1b" - + "\006proto3" + + "terTuningJobProtoP\001ZCcloud.google.com/go" + + "/aiplatform/apiv1beta1/aiplatformpb;aipl" + + "atformpb\252\002\037Google.Cloud.AIPlatform.V1Bet" + + "a1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"G" + + "oogle::Cloud::AIPlatform::V1beta1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpoint.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpoint.java index 269d255d5419..d42bfb1a56dd 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpoint.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpoint.java @@ -694,7 +694,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { *
* * @deprecated google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=103 * @return The enablePrivateServiceConnect. */ @java.lang.Override @@ -703,6 +703,74 @@ public boolean getEnablePrivateServiceConnect() { return enablePrivateServiceConnect_; } + public static final int PRIVATE_SERVICE_CONNECT_CONFIG_FIELD_NUMBER = 12; + private com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + privateServiceConnectConfig_; + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the privateServiceConnectConfig field is set. + */ + @java.lang.Override + public boolean hasPrivateServiceConnectConfig() { + return privateServiceConnectConfig_ != null; + } + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The privateServiceConnectConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + getPrivateServiceConnectConfig() { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder + getPrivateServiceConnectConfigOrBuilder() { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -746,6 +814,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enablePrivateServiceConnect_ != false) { output.writeBool(10, enablePrivateServiceConnect_); } + if (privateServiceConnectConfig_ != null) { + output.writeMessage(12, getPrivateServiceConnectConfig()); + } getUnknownFields().writeTo(output); } @@ -793,6 +864,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, enablePrivateServiceConnect_); } + if (privateServiceConnectConfig_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, getPrivateServiceConnectConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -825,6 +901,11 @@ public boolean equals(final java.lang.Object obj) { } if (!getNetwork().equals(other.getNetwork())) return false; if (getEnablePrivateServiceConnect() != other.getEnablePrivateServiceConnect()) return false; + if (hasPrivateServiceConnectConfig() != other.hasPrivateServiceConnectConfig()) return false; + if (hasPrivateServiceConnectConfig()) { + if (!getPrivateServiceConnectConfig().equals(other.getPrivateServiceConnectConfig())) + return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -864,6 +945,10 @@ public int hashCode() { hash = (53 * hash) + getNetwork().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateServiceConnect()); + if (hasPrivateServiceConnectConfig()) { + hash = (37 * hash) + PRIVATE_SERVICE_CONNECT_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getPrivateServiceConnectConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1048,6 +1133,11 @@ public Builder clear() { } network_ = ""; enablePrivateServiceConnect_ = false; + privateServiceConnectConfig_ = null; + if (privateServiceConnectConfigBuilder_ != null) { + privateServiceConnectConfigBuilder_.dispose(); + privateServiceConnectConfigBuilder_ = null; + } return this; } @@ -1126,6 +1216,12 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.IndexEndpoint res if (((from_bitField0_ & 0x00000200) != 0)) { result.enablePrivateServiceConnect_ = enablePrivateServiceConnect_; } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.privateServiceConnectConfig_ = + privateServiceConnectConfigBuilder_ == null + ? privateServiceConnectConfig_ + : privateServiceConnectConfigBuilder_.build(); + } } @java.lang.Override @@ -1237,6 +1333,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.IndexEndpoint other if (other.getEnablePrivateServiceConnect() != false) { setEnablePrivateServiceConnect(other.getEnablePrivateServiceConnect()); } + if (other.hasPrivateServiceConnectConfig()) { + mergePrivateServiceConnectConfig(other.getPrivateServiceConnectConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1337,6 +1436,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000200; break; } // case 80 + case 98: + { + input.readMessage( + getPrivateServiceConnectConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2992,7 +3098,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=103 * @return The enablePrivateServiceConnect. */ @java.lang.Override @@ -3017,7 +3123,7 @@ public boolean getEnablePrivateServiceConnect() { * * * @deprecated google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=103 * @param value The enablePrivateServiceConnect to set. * @return This builder for chaining. */ @@ -3046,7 +3152,7 @@ public Builder setEnablePrivateServiceConnect(boolean value) { * * * @deprecated google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=103 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3057,6 +3163,243 @@ public Builder clearEnablePrivateServiceConnect() { return this; } + private com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + privateServiceConnectConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder> + privateServiceConnectConfigBuilder_; + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the privateServiceConnectConfig field is set. + */ + public boolean hasPrivateServiceConnectConfig() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The privateServiceConnectConfig. + */ + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + getPrivateServiceConnectConfig() { + if (privateServiceConnectConfigBuilder_ == null) { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } else { + return privateServiceConnectConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setPrivateServiceConnectConfig( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig value) { + if (privateServiceConnectConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + privateServiceConnectConfig_ = value; + } else { + privateServiceConnectConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setPrivateServiceConnectConfig( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder builderForValue) { + if (privateServiceConnectConfigBuilder_ == null) { + privateServiceConnectConfig_ = builderForValue.build(); + } else { + privateServiceConnectConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergePrivateServiceConnectConfig( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig value) { + if (privateServiceConnectConfigBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) + && privateServiceConnectConfig_ != null + && privateServiceConnectConfig_ + != com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + .getDefaultInstance()) { + getPrivateServiceConnectConfigBuilder().mergeFrom(value); + } else { + privateServiceConnectConfig_ = value; + } + } else { + privateServiceConnectConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearPrivateServiceConnectConfig() { + bitField0_ = (bitField0_ & ~0x00000400); + privateServiceConnectConfig_ = null; + if (privateServiceConnectConfigBuilder_ != null) { + privateServiceConnectConfigBuilder_.dispose(); + privateServiceConnectConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder + getPrivateServiceConnectConfigBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getPrivateServiceConnectConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder + getPrivateServiceConnectConfigOrBuilder() { + if (privateServiceConnectConfigBuilder_ != null) { + return privateServiceConnectConfigBuilder_.getMessageOrBuilder(); + } else { + return privateServiceConnectConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance() + : privateServiceConnectConfig_; + } + } + /** + * + * + *
+     * Optional. Configuration for private service connect.
+     * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+     * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+     * are mutually exclusive.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder> + getPrivateServiceConnectConfigFieldBuilder() { + if (privateServiceConnectConfigBuilder_ == null) { + privateServiceConnectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder>( + getPrivateServiceConnectConfig(), getParentForChildren(), isClean()); + privateServiceConnectConfig_ = null; + } + return privateServiceConnectConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointOrBuilder.java index e008721274e9..42cdcea29763 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointOrBuilder.java @@ -418,9 +418,60 @@ java.lang.String getLabelsOrDefault( * * * @deprecated google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect is - * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=102 + * deprecated. See google/cloud/aiplatform/v1beta1/index_endpoint.proto;l=103 * @return The enablePrivateServiceConnect. */ @java.lang.Deprecated boolean getEnablePrivateServiceConnect(); + + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the privateServiceConnectConfig field is set. + */ + boolean hasPrivateServiceConnectConfig(); + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The privateServiceConnectConfig. + */ + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig getPrivateServiceConnectConfig(); + /** + * + * + *
+   * Optional. Configuration for private service connect.
+   * [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and
+   * [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config]
+   * are mutually exclusive.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder + getPrivateServiceConnectConfigOrBuilder(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointProto.java index 14b67dcc1c7e..f9176afef5b8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointProto.java @@ -65,53 +65,57 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "v1beta1\032\037google/api/field_behavior.proto" + "\032\031google/api/resource.proto\0327google/clou" + "d/aiplatform/v1beta1/machine_resources.p" - + "roto\032\037google/protobuf/timestamp.proto\"\322\004" - + "\n\rIndexEndpoint\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014di" - + "splay_name\030\002 \001(\tB\003\340A\002\022\023\n\013description\030\003 \001" - + "(\t\022M\n\020deployed_indexes\030\004 \003(\0132..google.cl" - + "oud.aiplatform.v1beta1.DeployedIndexB\003\340A" - + "\003\022\014\n\004etag\030\005 \001(\t\022J\n\006labels\030\006 \003(\0132:.google" - + ".cloud.aiplatform.v1beta1.IndexEndpoint." - + "LabelsEntry\0224\n\013create_time\030\007 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" - + "\030\010 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "\024\n\007network\030\t \001(\tB\003\340A\001\022-\n\036enable_private_" - + "service_connect\030\n \001(\010B\005\030\001\340A\001\032-\n\013LabelsEn" - + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:u\352Ar" - + "\n\'aiplatform.googleapis.com/IndexEndpoin" - + "t\022Gprojects/{project}/locations/{locatio" - + "n}/indexEndpoints/{index_endpoint}\"\253\005\n\rD" - + "eployedIndex\022\017\n\002id\030\001 \001(\tB\003\340A\002\0226\n\005index\030\002" - + " \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapis.com/" - + "Index\022\024\n\014display_name\030\003 \001(\t\0224\n\013create_ti" - + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\022V\n\021private_endpoints\030\005 \001(\01326.google.cl" - + "oud.aiplatform.v1beta1.IndexPrivateEndpo" - + "intsB\003\340A\003\0228\n\017index_sync_time\030\006 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\022U\n\023automatic" - + "_resources\030\007 \001(\01323.google.cloud.aiplatfo" - + "rm.v1beta1.AutomaticResourcesB\003\340A\001\022U\n\023de" - + "dicated_resources\030\020 \001(\01323.google.cloud.a" - + "iplatform.v1beta1.DedicatedResourcesB\003\340A" - + "\001\022\"\n\025enable_access_logging\030\010 \001(\010B\003\340A\001\022a\n" - + "\032deployed_index_auth_config\030\t \001(\01328.goog" - + "le.cloud.aiplatform.v1beta1.DeployedInde" - + "xAuthConfigB\003\340A\001\022\037\n\022reserved_ip_ranges\030\n" - + " \003(\tB\003\340A\001\022\035\n\020deployment_group\030\013 \001(\tB\003\340A\001" - + "\"\263\001\n\027DeployedIndexAuthConfig\022\\\n\rauth_pro" - + "vider\030\001 \001(\0132E.google.cloud.aiplatform.v1" - + "beta1.DeployedIndexAuthConfig.AuthProvid" - + "er\032:\n\014AuthProvider\022\021\n\taudiences\030\001 \003(\t\022\027\n" - + "\017allowed_issuers\030\002 \003(\t\"Y\n\025IndexPrivateEn" - + "dpoints\022\037\n\022match_grpc_address\030\001 \001(\tB\003\340A\003" - + "\022\037\n\022service_attachment\030\002 \001(\tB\003\340A\003B\357\001\n#co" - + "m.google.cloud.aiplatform.v1beta1B\022Index" - + "EndpointProtoP\001ZIgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1beta1;" - + "aiplatform\252\002\037Google.Cloud.AIPlatform.V1B" - + "eta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002" - + "\"Google::Cloud::AIPlatform::V1beta1b\006pro" - + "to3" + + "roto\0328google/cloud/aiplatform/v1beta1/se" + + "rvice_networking.proto\032\037google/protobuf/" + + "timestamp.proto\"\275\005\n\rIndexEndpoint\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022" + + "\023\n\013description\030\003 \001(\t\022M\n\020deployed_indexes" + + "\030\004 \003(\0132..google.cloud.aiplatform.v1beta1" + + ".DeployedIndexB\003\340A\003\022\014\n\004etag\030\005 \001(\t\022J\n\006lab" + + "els\030\006 \003(\0132:.google.cloud.aiplatform.v1be" + + "ta1.IndexEndpoint.LabelsEntry\0224\n\013create_" + + "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.protob" + + "uf.TimestampB\003\340A\003\022\024\n\007network\030\t \001(\tB\003\340A\001\022" + + "-\n\036enable_private_service_connect\030\n \001(\010B" + + "\005\030\001\340A\001\022i\n\036private_service_connect_config" + + "\030\014 \001(\0132<.google.cloud.aiplatform.v1beta1" + + ".PrivateServiceConnectConfigB\003\340A\001\032-\n\013Lab" + + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + ":u\352Ar\n\'aiplatform.googleapis.com/IndexEn" + + "dpoint\022Gprojects/{project}/locations/{lo" + + "cation}/indexEndpoints/{index_endpoint}\"" + + "\253\005\n\rDeployedIndex\022\017\n\002id\030\001 \001(\tB\003\340A\002\0226\n\005in" + + "dex\030\002 \001(\tB\'\340A\002\372A!\n\037aiplatform.googleapis" + + ".com/Index\022\024\n\014display_name\030\003 \001(\t\0224\n\013crea" + + "te_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022V\n\021private_endpoints\030\005 \001(\01326.goog" + + "le.cloud.aiplatform.v1beta1.IndexPrivate" + + "EndpointsB\003\340A\003\0228\n\017index_sync_time\030\006 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022U\n\023auto" + + "matic_resources\030\007 \001(\01323.google.cloud.aip" + + "latform.v1beta1.AutomaticResourcesB\003\340A\001\022" + + "U\n\023dedicated_resources\030\020 \001(\01323.google.cl" + + "oud.aiplatform.v1beta1.DedicatedResource" + + "sB\003\340A\001\022\"\n\025enable_access_logging\030\010 \001(\010B\003\340" + + "A\001\022a\n\032deployed_index_auth_config\030\t \001(\01328" + + ".google.cloud.aiplatform.v1beta1.Deploye" + + "dIndexAuthConfigB\003\340A\001\022\037\n\022reserved_ip_ran" + + "ges\030\n \003(\tB\003\340A\001\022\035\n\020deployment_group\030\013 \001(\t" + + "B\003\340A\001\"\263\001\n\027DeployedIndexAuthConfig\022\\\n\raut" + + "h_provider\030\001 \001(\0132E.google.cloud.aiplatfo" + + "rm.v1beta1.DeployedIndexAuthConfig.AuthP" + + "rovider\032:\n\014AuthProvider\022\021\n\taudiences\030\001 \003" + + "(\t\022\027\n\017allowed_issuers\030\002 \003(\t\"Y\n\025IndexPriv" + + "ateEndpoints\022\037\n\022match_grpc_address\030\001 \001(\t" + + "B\003\340A\003\022\037\n\022service_attachment\030\002 \001(\tB\003\340A\003B\351" + + "\001\n#com.google.cloud.aiplatform.v1beta1B\022" + + "IndexEndpointProtoP\001ZCcloud.google.com/g" + + "o/aiplatform/apiv1beta1/aiplatformpb;aip" + + "latformpb\252\002\037Google.Cloud.AIPlatform.V1Be" + + "ta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"" + + "Google::Cloud::AIPlatform::V1beta1b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -120,6 +124,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.MachineResourcesProto.getDescriptor(), + com.google.cloud.aiplatform.v1beta1.ServiceNetworkingProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_google_cloud_aiplatform_v1beta1_IndexEndpoint_descriptor = @@ -138,6 +143,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpdateTime", "Network", "EnablePrivateServiceConnect", + "PrivateServiceConnectConfig", }); internal_static_google_cloud_aiplatform_v1beta1_IndexEndpoint_LabelsEntry_descriptor = internal_static_google_cloud_aiplatform_v1beta1_IndexEndpoint_descriptor @@ -204,6 +210,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.MachineResourcesProto.getDescriptor(); + com.google.cloud.aiplatform.v1beta1.ServiceNetworkingProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceProto.java index 4c622eba94c4..d0fbe95d4785 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexEndpointServiceProto.java @@ -216,14 +216,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "d_index\312AC\n\033MutateDeployedIndexResponse\022" + "$MutateDeployedIndexOperationMetadata\032M\312" + "A\031aiplatform.googleapis.com\322A.https://ww" - + "w.googleapis.com/auth/cloud-platformB\366\001\n" + + "w.googleapis.com/auth/cloud-platformB\360\001\n" + "#com.google.cloud.aiplatform.v1beta1B\031In" - + "dexEndpointServiceProtoP\001ZIgoogle.golang" - + ".org/genproto/googleapis/cloud/aiplatfor" - + "m/v1beta1;aiplatform\252\002\037Google.Cloud.AIPl" - + "atform.V1Beta1\312\002\037Google\\Cloud\\AIPlatform" - + "\\V1beta1\352\002\"Google::Cloud::AIPlatform::V1" - + "beta1b\006proto3" + + "dexEndpointServiceProtoP\001ZCcloud.google." + + "com/go/aiplatform/apiv1beta1/aiplatformp" + + "b;aiplatformpb\252\002\037Google.Cloud.AIPlatform" + + ".V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1bet" + + "a1\352\002\"Google::Cloud::AIPlatform::V1beta1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexProto.java index 284c24794d1f..fb03cbd39563 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexProto.java @@ -97,13 +97,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\001 \001(\t\022\022\n\nallow_list\030\002 \003(\t\022\021\n\tdeny_list\030" + "\003 \003(\t\032)\n\013CrowdingTag\022\032\n\022crowding_attribu" + "te\030\001 \001(\t\"C\n\nIndexStats\022\032\n\rvectors_count\030" - + "\001 \001(\003B\003\340A\003\022\031\n\014shards_count\030\002 \001(\005B\003\340A\003B\347\001" + + "\001 \001(\003B\003\340A\003\022\031\n\014shards_count\030\002 \001(\005B\003\340A\003B\341\001" + "\n#com.google.cloud.aiplatform.v1beta1B\nI" - + "ndexProtoP\001ZIgoogle.golang.org/genproto/" - + "googleapis/cloud/aiplatform/v1beta1;aipl" - + "atform\252\002\037Google.Cloud.AIPlatform.V1Beta1" - + "\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Goo" - + "gle::Cloud::AIPlatform::V1beta1b\006proto3" + + "ndexProtoP\001ZCcloud.google.com/go/aiplatf" + + "orm/apiv1beta1/aiplatformpb;aiplatformpb" + + "\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goo" + + "gle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::C" + + "loud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceProto.java index 0a37d6926dce..503af403aedf 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IndexServiceProto.java @@ -203,13 +203,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ndex=projects/*/locations/*/indexes/*}:r" + "emoveDatapoints:\001*\032M\312A\031aiplatform.google" + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\356\001\n#com.google.cloud.a" - + "iplatform.v1beta1B\021IndexServiceProtoP\001ZI" - + "google.golang.org/genproto/googleapis/cl" - + "oud/aiplatform/v1beta1;aiplatform\252\002\037Goog" - + "le.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clo" - + "ud\\AIPlatform\\V1beta1\352\002\"Google::Cloud::A" - + "IPlatform::V1beta1b\006proto3" + + "th/cloud-platformB\350\001\n#com.google.cloud.a" + + "iplatform.v1beta1B\021IndexServiceProtoP\001ZC" + + "cloud.google.com/go/aiplatform/apiv1beta" + + "1/aiplatformpb;aiplatformpb\252\002\037Google.Clo" + + "ud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIP" + + "latform\\V1beta1\352\002\"Google::Cloud::AIPlatf" + + "orm::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IoProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IoProto.java index f7b726fcbf23..a692e23476fc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IoProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/IoProto.java @@ -89,13 +89,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ation\022M\n\017gcs_destination\030\001 \001(\0132/.google." + "cloud.aiplatform.v1beta1.GcsDestinationB" + "\003\340A\002\"7\n\034ContainerRegistryDestination\022\027\n\n" - + "output_uri\030\001 \001(\tB\003\340A\002B\344\001\n#com.google.clo" - + "ud.aiplatform.v1beta1B\007IoProtoP\001ZIgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1beta1;aiplatform\252\002\037Google.Clo" - + "ud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIP" - + "latform\\V1beta1\352\002\"Google::Cloud::AIPlatf" - + "orm::V1beta1b\006proto3" + + "output_uri\030\001 \001(\tB\003\340A\002B\336\001\n#com.google.clo" + + "ud.aiplatform.v1beta1B\007IoProtoP\001ZCcloud." + + "google.com/go/aiplatform/apiv1beta1/aipl" + + "atformpb;aiplatformpb\252\002\037Google.Cloud.AIP" + + "latform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfor" + + "m\\V1beta1\352\002\"Google::Cloud::AIPlatform::V" + + "1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceProto.java index dd2263f9d3b6..cd1e75f43388 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/JobServiceProto.java @@ -99,6 +99,42 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_CancelHyperparameterTuningJobRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_CancelHyperparameterTuningJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_CreateNasJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_CreateNasJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_GetNasJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_GetNasJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_DeleteNasJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_DeleteNasJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_CancelNasJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_CancelNasJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_GetNasTrialDetailRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_GetNasTrialDetailRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_CreateBatchPredictionJobRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -192,335 +228,397 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".proto\032?google/cloud/aiplatform/v1beta1/" + "hyperparameter_tuning_job.proto\032Egoogle/" + "cloud/aiplatform/v1beta1/model_deploymen" - + "t_monitoring_job.proto\032/google/cloud/aip" - + "latform/v1beta1/operation.proto\032#google/" - + "longrunning/operations.proto\032\033google/pro" - + "tobuf/empty.proto\032 google/protobuf/field" - + "_mask.proto\032\037google/protobuf/timestamp.p" - + "roto\"\230\001\n\026CreateCustomJobRequest\0229\n\006paren" - + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" - + "m/Location\022C\n\ncustom_job\030\002 \001(\0132*.google." - + "cloud.aiplatform.v1beta1.CustomJobB\003\340A\002\"" - + "P\n\023GetCustomJobRequest\0229\n\004name\030\001 \001(\tB+\340A" + + "t_monitoring_job.proto\032-google/cloud/aip" + + "latform/v1beta1/nas_job.proto\032/google/cl" + + "oud/aiplatform/v1beta1/operation.proto\032#" + + "google/longrunning/operations.proto\032\033goo" + + "gle/protobuf/empty.proto\032 google/protobu" + + "f/field_mask.proto\032\037google/protobuf/time" + + "stamp.proto\"\230\001\n\026CreateCustomJobRequest\0229" + + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.google" + + "apis.com/Location\022C\n\ncustom_job\030\002 \001(\0132*." + + "google.cloud.aiplatform.v1beta1.CustomJo" + + "bB\003\340A\002\"P\n\023GetCustomJobRequest\0229\n\004name\030\001 " + + "\001(\tB+\340A\002\372A%\n#aiplatform.googleapis.com/C" + + "ustomJob\"\270\001\n\025ListCustomJobsRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis" + + ".com/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si" + + "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mas" + + "k\030\005 \001(\0132\032.google.protobuf.FieldMask\"r\n\026L" + + "istCustomJobsResponse\022?\n\013custom_jobs\030\001 \003" + + "(\0132*.google.cloud.aiplatform.v1beta1.Cus" + + "tomJob\022\027\n\017next_page_token\030\002 \001(\t\"S\n\026Delet" + + "eCustomJobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n" + + "#aiplatform.googleapis.com/CustomJob\"S\n\026" + + "CancelCustomJobRequest\0229\n\004name\030\001 \001(\tB+\340A" + "\002\372A%\n#aiplatform.googleapis.com/CustomJo" - + "b\"\270\001\n\025ListCustomJobsRequest\0229\n\006parent\030\001 " - + "\001(\tB)\340A\002\372A#\n!locations.googleapis.com/Lo" - + "cation\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(" - + "\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\013" - + "2\032.google.protobuf.FieldMask\"r\n\026ListCust" - + "omJobsResponse\022?\n\013custom_jobs\030\001 \003(\0132*.go" - + "ogle.cloud.aiplatform.v1beta1.CustomJob\022" - + "\027\n\017next_page_token\030\002 \001(\t\"S\n\026DeleteCustom" - + "JobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#aiplat" - + "form.googleapis.com/CustomJob\"S\n\026CancelC" - + "ustomJobRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#a" - + "iplatform.googleapis.com/CustomJob\"\253\001\n\034C" - + "reateDataLabelingJobRequest\0229\n\006parent\030\001 " - + "\001(\tB)\340A\002\372A#\n!locations.googleapis.com/Lo" - + "cation\022P\n\021data_labeling_job\030\002 \001(\01320.goog" - + "le.cloud.aiplatform.v1beta1.DataLabeling" - + "JobB\003\340A\002\"\\\n\031GetDataLabelingJobRequest\022?\n" - + "\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.googleap" - + "is.com/DataLabelingJob\"\320\001\n\033ListDataLabel" - + "ingJobsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" - + "locations.googleapis.com/Location\022\016\n\006fil" - + "ter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_tok" - + "en\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google.pro" - + "tobuf.FieldMask\022\020\n\010order_by\030\006 \001(\t\"\205\001\n\034Li" - + "stDataLabelingJobsResponse\022L\n\022data_label" - + "ing_jobs\030\001 \003(\01320.google.cloud.aiplatform" - + ".v1beta1.DataLabelingJob\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"_\n\034DeleteDataLabelingJobReques" - + "t\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.goog" - + "leapis.com/DataLabelingJob\"_\n\034CancelData" - + "LabelingJobRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+" - + "\n)aiplatform.googleapis.com/DataLabeling" - + "Job\"\303\001\n$CreateHyperparameterTuningJobReq" - + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." - + "googleapis.com/Location\022`\n\031hyperparamete" - + "r_tuning_job\030\002 \001(\01328.google.cloud.aiplat" - + "form.v1beta1.HyperparameterTuningJobB\003\340A" - + "\002\"l\n!GetHyperparameterTuningJobRequest\022G" - + "\n\004name\030\001 \001(\tB9\340A\002\372A3\n1aiplatform.googlea" - + "pis.com/HyperparameterTuningJob\"\306\001\n#List" - + "HyperparameterTuningJobsRequest\0229\n\006paren" - + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" - + "m/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030" - + "\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005" - + " \001(\0132\032.google.protobuf.FieldMask\"\235\001\n$Lis" - + "tHyperparameterTuningJobsResponse\022\\\n\032hyp" - + "erparameter_tuning_jobs\030\001 \003(\01328.google.c" - + "loud.aiplatform.v1beta1.HyperparameterTu" - + "ningJob\022\027\n\017next_page_token\030\002 \001(\t\"o\n$Dele" - + "teHyperparameterTuningJobRequest\022G\n\004name" + + "b\"\253\001\n\034CreateDataLabelingJobRequest\0229\n\006pa" + + "rent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis" + + ".com/Location\022P\n\021data_labeling_job\030\002 \001(\013" + + "20.google.cloud.aiplatform.v1beta1.DataL" + + "abelingJobB\003\340A\002\"\\\n\031GetDataLabelingJobReq" + + "uest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatform.g" + + "oogleapis.com/DataLabelingJob\"\320\001\n\033ListDa" + + "taLabelingJobsRequest\0229\n\006parent\030\001 \001(\tB)\340" + + "A\002\372A#\n!locations.googleapis.com/Location" + + "\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\np" + + "age_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.goo" + + "gle.protobuf.FieldMask\022\020\n\010order_by\030\006 \001(\t" + + "\"\205\001\n\034ListDataLabelingJobsResponse\022L\n\022dat" + + "a_labeling_jobs\030\001 \003(\01320.google.cloud.aip" + + "latform.v1beta1.DataLabelingJob\022\027\n\017next_" + + "page_token\030\002 \001(\t\"_\n\034DeleteDataLabelingJo" + + "bRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)aiplatfo" + + "rm.googleapis.com/DataLabelingJob\"_\n\034Can" + + "celDataLabelingJobRequest\022?\n\004name\030\001 \001(\tB" + + "1\340A\002\372A+\n)aiplatform.googleapis.com/DataL" + + "abelingJob\"\303\001\n$CreateHyperparameterTunin" + + "gJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loc" + + "ations.googleapis.com/Location\022`\n\031hyperp" + + "arameter_tuning_job\030\002 \001(\01328.google.cloud" + + ".aiplatform.v1beta1.HyperparameterTuning" + + "JobB\003\340A\002\"l\n!GetHyperparameterTuningJobRe" + + "quest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1aiplatform." + + "googleapis.com/HyperparameterTuningJob\"\306" + + "\001\n#ListHyperparameterTuningJobsRequest\0229" + + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.google" + + "apis.com/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpag" + + "e_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread" + + "_mask\030\005 \001(\0132\032.google.protobuf.FieldMask\"" + + "\235\001\n$ListHyperparameterTuningJobsResponse" + + "\022\\\n\032hyperparameter_tuning_jobs\030\001 \003(\01328.g" + + "oogle.cloud.aiplatform.v1beta1.Hyperpara" + + "meterTuningJob\022\027\n\017next_page_token\030\002 \001(\t\"" + + "o\n$DeleteHyperparameterTuningJobRequest\022" + + "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1aiplatform.google" + + "apis.com/HyperparameterTuningJob\"o\n$Canc" + + "elHyperparameterTuningJobRequest\022G\n\004name" + "\030\001 \001(\tB9\340A\002\372A3\n1aiplatform.googleapis.co" - + "m/HyperparameterTuningJob\"o\n$CancelHyper" - + "parameterTuningJobRequest\022G\n\004name\030\001 \001(\tB" - + "9\340A\002\372A3\n1aiplatform.googleapis.com/Hyper" - + "parameterTuningJob\"\264\001\n\037CreateBatchPredic" - + "tionJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" - + "locations.googleapis.com/Location\022V\n\024bat" - + "ch_prediction_job\030\002 \001(\01323.google.cloud.a" - + "iplatform.v1beta1.BatchPredictionJobB\003\340A" - + "\002\"b\n\034GetBatchPredictionJobRequest\022B\n\004nam" - + "e\030\001 \001(\tB4\340A\002\372A.\n,aiplatform.googleapis.c" - + "om/BatchPredictionJob\"\301\001\n\036ListBatchPredi" - + "ctionJobsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#" - + "\n!locations.googleapis.com/Location\022\016\n\006f" - + "ilter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_t" - + "oken\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132\032.google.p" - + "rotobuf.FieldMask\"\216\001\n\037ListBatchPredictio" - + "nJobsResponse\022R\n\025batch_prediction_jobs\030\001" - + " \003(\01323.google.cloud.aiplatform.v1beta1.B" - + "atchPredictionJob\022\027\n\017next_page_token\030\002 \001" - + "(\t\"e\n\037DeleteBatchPredictionJobRequest\022B\n" - + "\004name\030\001 \001(\tB4\340A\002\372A.\n,aiplatform.googleap" - + "is.com/BatchPredictionJob\"e\n\037CancelBatch" - + "PredictionJobRequest\022B\n\004name\030\001 \001(\tB4\340A\002\372" - + "A.\n,aiplatform.googleapis.com/BatchPredi" - + "ctionJob\"\323\001\n)CreateModelDeploymentMonito" - + "ringJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" - + "locations.googleapis.com/Location\022k\n\037mod" - + "el_deployment_monitoring_job\030\002 \001(\0132=.goo" - + "gle.cloud.aiplatform.v1beta1.ModelDeploy" - + "mentMonitoringJobB\003\340A\002\"\371\004\n4SearchModelDe" - + "ploymentMonitoringStatsAnomaliesRequest\022" - + "g\n\037model_deployment_monitoring_job\030\001 \001(\t" - + "B>\340A\002\372A8\n6aiplatform.googleapis.com/Mode" - + "lDeploymentMonitoringJob\022\036\n\021deployed_mod" - + "el_id\030\002 \001(\tB\003\340A\002\022\034\n\024feature_display_name" - + "\030\003 \001(\t\022\206\001\n\nobjectives\030\004 \003(\0132m.google.clo" - + "ud.aiplatform.v1beta1.SearchModelDeploym" - + "entMonitoringStatsAnomaliesRequest.Stats" - + "AnomaliesObjectiveB\003\340A\002\022\021\n\tpage_size\030\005 \001" - + "(\005\022\022\n\npage_token\030\006 \001(\t\022.\n\nstart_time\030\007 \001" - + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" - + "me\030\010 \001(\0132\032.google.protobuf.Timestamp\032\213\001\n" - + "\027StatsAnomaliesObjective\022U\n\004type\030\001 \001(\0162G" - + ".google.cloud.aiplatform.v1beta1.ModelDe" - + "ploymentMonitoringObjectiveType\022\031\n\021top_f" - + "eature_count\030\004 \001(\005\"\252\001\n5SearchModelDeploy" - + "mentMonitoringStatsAnomaliesResponse\022X\n\020" - + "monitoring_stats\030\001 \003(\0132>.google.cloud.ai" - + "platform.v1beta1.ModelMonitoringStatsAno" - + "malies\022\027\n\017next_page_token\030\002 \001(\t\"v\n&GetMo" - + "delDeploymentMonitoringJobRequest\022L\n\004nam" - + "e\030\001 \001(\tB>\340A\002\372A8\n6aiplatform.googleapis.c" - + "om/ModelDeploymentMonitoringJob\"\313\001\n(List" - + "ModelDeploymentMonitoringJobsRequest\0229\n\006" - + "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap" - + "is.com/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_" - + "size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_m" - + "ask\030\005 \001(\0132\032.google.protobuf.FieldMask\"\255\001" - + "\n)ListModelDeploymentMonitoringJobsRespo" - + "nse\022g\n model_deployment_monitoring_jobs\030" - + "\001 \003(\0132=.google.cloud.aiplatform.v1beta1." - + "ModelDeploymentMonitoringJob\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"\316\001\n)UpdateModelDeploymentM" - + "onitoringJobRequest\022k\n\037model_deployment_" - + "monitoring_job\030\001 \001(\0132=.google.cloud.aipl" - + "atform.v1beta1.ModelDeploymentMonitoring" - + "JobB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\003\340A\002\"y\n)DeleteModelDep" - + "loymentMonitoringJobRequest\022L\n\004name\030\001 \001(" - + "\tB>\340A\002\372A8\n6aiplatform.googleapis.com/Mod" - + "elDeploymentMonitoringJob\"x\n(PauseModelD" - + "eploymentMonitoringJobRequest\022L\n\004name\030\001 " - + "\001(\tB>\340A\002\372A8\n6aiplatform.googleapis.com/M" - + "odelDeploymentMonitoringJob\"y\n)ResumeMod" - + "elDeploymentMonitoringJobRequest\022L\n\004name" - + "\030\001 \001(\tB>\340A\002\372A8\n6aiplatform.googleapis.co" - + "m/ModelDeploymentMonitoringJob\"\212\001\n3Updat" - + "eModelDeploymentMonitoringJobOperationMe" - + "tadata\022S\n\020generic_metadata\030\001 \001(\01329.googl" - + "e.cloud.aiplatform.v1beta1.GenericOperat" - + "ionMetadata2\2208\n\nJobService\022\323\001\n\017CreateCus" - + "tomJob\0227.google.cloud.aiplatform.v1beta1" - + ".CreateCustomJobRequest\032*.google.cloud.a" - + "iplatform.v1beta1.CustomJob\"[\202\323\344\223\002A\"3/v1" - + "beta1/{parent=projects/*/locations/*}/cu" - + "stomJobs:\ncustom_job\332A\021parent,custom_job" - + "\022\264\001\n\014GetCustomJob\0224.google.cloud.aiplatf" - + "orm.v1beta1.GetCustomJobRequest\032*.google" - + ".cloud.aiplatform.v1beta1.CustomJob\"B\202\323\344" - + "\223\0025\0223/v1beta1/{name=projects/*/locations" - + "/*/customJobs/*}\332A\004name\022\307\001\n\016ListCustomJo" - + "bs\0226.google.cloud.aiplatform.v1beta1.Lis" - + "tCustomJobsRequest\0327.google.cloud.aiplat" - + "form.v1beta1.ListCustomJobsResponse\"D\202\323\344" - + "\223\0025\0223/v1beta1/{parent=projects/*/locatio" - + "ns/*}/customJobs\332A\006parent\022\340\001\n\017DeleteCust" - + "omJob\0227.google.cloud.aiplatform.v1beta1." - + "DeleteCustomJobRequest\032\035.google.longrunn" - + "ing.Operation\"u\202\323\344\223\0025*3/v1beta1/{name=pr" - + "ojects/*/locations/*/customJobs/*}\332A\004nam" - + "e\312A0\n\025google.protobuf.Empty\022\027DeleteOpera" - + "tionMetadata\022\260\001\n\017CancelCustomJob\0227.googl" - + "e.cloud.aiplatform.v1beta1.CancelCustomJ" - + "obRequest\032\026.google.protobuf.Empty\"L\202\323\344\223\002" - + "?\":/v1beta1/{name=projects/*/locations/*" - + "/customJobs/*}:cancel:\001*\332A\004name\022\371\001\n\025Crea" - + "teDataLabelingJob\022=.google.cloud.aiplatf" - + "orm.v1beta1.CreateDataLabelingJobRequest" - + "\0320.google.cloud.aiplatform.v1beta1.DataL" - + "abelingJob\"o\202\323\344\223\002N\"9/v1beta1/{parent=pro" - + "jects/*/locations/*}/dataLabelingJobs:\021d" - + "ata_labeling_job\332A\030parent,data_labeling_" - + "job\022\314\001\n\022GetDataLabelingJob\022:.google.clou" - + "d.aiplatform.v1beta1.GetDataLabelingJobR" - + "equest\0320.google.cloud.aiplatform.v1beta1" - + ".DataLabelingJob\"H\202\323\344\223\002;\0229/v1beta1/{name" - + "=projects/*/locations/*/dataLabelingJobs" - + "/*}\332A\004name\022\337\001\n\024ListDataLabelingJobs\022<.go" - + "ogle.cloud.aiplatform.v1beta1.ListDataLa" - + "belingJobsRequest\032=.google.cloud.aiplatf" - + "orm.v1beta1.ListDataLabelingJobsResponse" - + "\"J\202\323\344\223\002;\0229/v1beta1/{parent=projects/*/lo" - + "cations/*}/dataLabelingJobs\332A\006parent\022\362\001\n" - + "\025DeleteDataLabelingJob\022=.google.cloud.ai" - + "platform.v1beta1.DeleteDataLabelingJobRe" - + "quest\032\035.google.longrunning.Operation\"{\202\323" - + "\344\223\002;*9/v1beta1/{name=projects/*/location" - + "s/*/dataLabelingJobs/*}\332A\004name\312A0\n\025googl" - + "e.protobuf.Empty\022\027DeleteOperationMetadat" - + "a\022\302\001\n\025CancelDataLabelingJob\022=.google.clo" - + "ud.aiplatform.v1beta1.CancelDataLabeling" - + "JobRequest\032\026.google.protobuf.Empty\"R\202\323\344\223" - + "\002E\"@/v1beta1/{name=projects/*/locations/" - + "*/dataLabelingJobs/*}:cancel:\001*\332A\004name\022\252" - + "\002\n\035CreateHyperparameterTuningJob\022E.googl" - + "e.cloud.aiplatform.v1beta1.CreateHyperpa" - + "rameterTuningJobRequest\0328.google.cloud.a" - + "iplatform.v1beta1.HyperparameterTuningJo" - + "b\"\207\001\202\323\344\223\002^\"A/v1beta1/{parent=projects/*/" - + "locations/*}/hyperparameterTuningJobs:\031h" - + "yperparameter_tuning_job\332A parent,hyperp" - + "arameter_tuning_job\022\354\001\n\032GetHyperparamete" - + "rTuningJob\022B.google.cloud.aiplatform.v1b" - + "eta1.GetHyperparameterTuningJobRequest\0328" - + ".google.cloud.aiplatform.v1beta1.Hyperpa" - + "rameterTuningJob\"P\202\323\344\223\002C\022A/v1beta1/{name" - + "=projects/*/locations/*/hyperparameterTu" - + "ningJobs/*}\332A\004name\022\377\001\n\034ListHyperparamete" - + "rTuningJobs\022D.google.cloud.aiplatform.v1" - + "beta1.ListHyperparameterTuningJobsReques" - + "t\032E.google.cloud.aiplatform.v1beta1.List" - + "HyperparameterTuningJobsResponse\"R\202\323\344\223\002C" - + "\022A/v1beta1/{parent=projects/*/locations/" - + "*}/hyperparameterTuningJobs\332A\006parent\022\213\002\n" - + "\035DeleteHyperparameterTuningJob\022E.google." - + "cloud.aiplatform.v1beta1.DeleteHyperpara" - + "meterTuningJobRequest\032\035.google.longrunni" - + "ng.Operation\"\203\001\202\323\344\223\002C*A/v1beta1/{name=pr" - + "ojects/*/locations/*/hyperparameterTunin" - + "gJobs/*}\332A\004name\312A0\n\025google.protobuf.Empt" - + "y\022\027DeleteOperationMetadata\022\332\001\n\035CancelHyp" + + "m/HyperparameterTuningJob\"\217\001\n\023CreateNasJ" + + "obRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locat" + + "ions.googleapis.com/Location\022=\n\007nas_job\030" + + "\002 \001(\0132\'.google.cloud.aiplatform.v1beta1." + + "NasJobB\003\340A\002\"J\n\020GetNasJobRequest\0226\n\004name\030" + + "\001 \001(\tB(\340A\002\372A\"\n aiplatform.googleapis.com" + + "/NasJob\"\265\001\n\022ListNasJobsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com" + + "/Location\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003" + + " \001(\005\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 " + + "\001(\0132\032.google.protobuf.FieldMask\"i\n\023ListN" + + "asJobsResponse\0229\n\010nas_jobs\030\001 \003(\0132\'.googl" + + "e.cloud.aiplatform.v1beta1.NasJob\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"M\n\023DeleteNasJobReques" + + "t\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n aiplatform.goog" + + "leapis.com/NasJob\"M\n\023CancelNasJobRequest" + + "\0226\n\004name\030\001 \001(\tB(\340A\002\372A\"\n aiplatform.googl" + + "eapis.com/NasJob\"Z\n\030GetNasTrialDetailReq" + + "uest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(aiplatform.g" + + "oogleapis.com/NasTrialDetail\"}\n\032ListNasT" + + "rialDetailsRequest\0228\n\006parent\030\001 \001(\tB(\340A\002\372" + + "A\"\n aiplatform.googleapis.com/NasJob\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\033" + + "ListNasTrialDetailsResponse\022J\n\021nas_trial" + + "_details\030\001 \003(\0132/.google.cloud.aiplatform" + + ".v1beta1.NasTrialDetail\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\264\001\n\037CreateBatchPredictionJobReq" + + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." + + "googleapis.com/Location\022V\n\024batch_predict" + + "ion_job\030\002 \001(\01323.google.cloud.aiplatform." + + "v1beta1.BatchPredictionJobB\003\340A\002\"b\n\034GetBa" + + "tchPredictionJobRequest\022B\n\004name\030\001 \001(\tB4\340" + + "A\002\372A.\n,aiplatform.googleapis.com/BatchPr" + + "edictionJob\"\301\001\n\036ListBatchPredictionJobsR" + + "equest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!location" + + "s.googleapis.com/Location\022\016\n\006filter\030\002 \001(" + + "\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t" + + "\022-\n\tread_mask\030\005 \001(\0132\032.google.protobuf.Fi" + + "eldMask\"\216\001\n\037ListBatchPredictionJobsRespo" + + "nse\022R\n\025batch_prediction_jobs\030\001 \003(\01323.goo" + + "gle.cloud.aiplatform.v1beta1.BatchPredic" + + "tionJob\022\027\n\017next_page_token\030\002 \001(\t\"e\n\037Dele" + + "teBatchPredictionJobRequest\022B\n\004name\030\001 \001(" + + "\tB4\340A\002\372A.\n,aiplatform.googleapis.com/Bat" + + "chPredictionJob\"e\n\037CancelBatchPrediction" + + "JobRequest\022B\n\004name\030\001 \001(\tB4\340A\002\372A.\n,aiplat" + + "form.googleapis.com/BatchPredictionJob\"\323" + + "\001\n)CreateModelDeploymentMonitoringJobReq" + + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations." + + "googleapis.com/Location\022k\n\037model_deploym" + + "ent_monitoring_job\030\002 \001(\0132=.google.cloud." + + "aiplatform.v1beta1.ModelDeploymentMonito" + + "ringJobB\003\340A\002\"\371\004\n4SearchModelDeploymentMo" + + "nitoringStatsAnomaliesRequest\022g\n\037model_d" + + "eployment_monitoring_job\030\001 \001(\tB>\340A\002\372A8\n6" + + "aiplatform.googleapis.com/ModelDeploymen" + + "tMonitoringJob\022\036\n\021deployed_model_id\030\002 \001(" + + "\tB\003\340A\002\022\034\n\024feature_display_name\030\003 \001(\t\022\206\001\n" + + "\nobjectives\030\004 \003(\0132m.google.cloud.aiplatf" + + "orm.v1beta1.SearchModelDeploymentMonitor" + + "ingStatsAnomaliesRequest.StatsAnomaliesO" + + "bjectiveB\003\340A\002\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage" + + "_token\030\006 \001(\t\022.\n\nstart_time\030\007 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022,\n\010end_time\030\010 \001(\0132\032" + + ".google.protobuf.Timestamp\032\213\001\n\027StatsAnom" + + "aliesObjective\022U\n\004type\030\001 \001(\0162G.google.cl" + + "oud.aiplatform.v1beta1.ModelDeploymentMo" + + "nitoringObjectiveType\022\031\n\021top_feature_cou" + + "nt\030\004 \001(\005\"\252\001\n5SearchModelDeploymentMonito" + + "ringStatsAnomaliesResponse\022X\n\020monitoring" + + "_stats\030\001 \003(\0132>.google.cloud.aiplatform.v" + + "1beta1.ModelMonitoringStatsAnomalies\022\027\n\017" + + "next_page_token\030\002 \001(\t\"v\n&GetModelDeploym" + + "entMonitoringJobRequest\022L\n\004name\030\001 \001(\tB>\340" + + "A\002\372A8\n6aiplatform.googleapis.com/ModelDe" + + "ploymentMonitoringJob\"\313\001\n(ListModelDeplo" + + "ymentMonitoringJobsRequest\0229\n\006parent\030\001 \001" + + "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc" + + "ation\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005" + + "\022\022\n\npage_token\030\004 \001(\t\022-\n\tread_mask\030\005 \001(\0132" + + "\032.google.protobuf.FieldMask\"\255\001\n)ListMode" + + "lDeploymentMonitoringJobsResponse\022g\n mod" + + "el_deployment_monitoring_jobs\030\001 \003(\0132=.go" + + "ogle.cloud.aiplatform.v1beta1.ModelDeplo" + + "ymentMonitoringJob\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\316\001\n)UpdateModelDeploymentMonitoringJ" + + "obRequest\022k\n\037model_deployment_monitoring" + + "_job\030\001 \001(\0132=.google.cloud.aiplatform.v1b" + + "eta1.ModelDeploymentMonitoringJobB\003\340A\002\0224" + + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\003\340A\002\"y\n)DeleteModelDeploymentMon" + + "itoringJobRequest\022L\n\004name\030\001 \001(\tB>\340A\002\372A8\n" + + "6aiplatform.googleapis.com/ModelDeployme" + + "ntMonitoringJob\"x\n(PauseModelDeploymentM" + + "onitoringJobRequest\022L\n\004name\030\001 \001(\tB>\340A\002\372A" + + "8\n6aiplatform.googleapis.com/ModelDeploy" + + "mentMonitoringJob\"y\n)ResumeModelDeployme" + + "ntMonitoringJobRequest\022L\n\004name\030\001 \001(\tB>\340A" + + "\002\372A8\n6aiplatform.googleapis.com/ModelDep" + + "loymentMonitoringJob\"\212\001\n3UpdateModelDepl" + + "oymentMonitoringJobOperationMetadata\022S\n\020" + + "generic_metadata\030\001 \001(\01329.google.cloud.ai" + + "platform.v1beta1.GenericOperationMetadat" + + "a2\270C\n\nJobService\022\323\001\n\017CreateCustomJob\0227.g" + + "oogle.cloud.aiplatform.v1beta1.CreateCus" + + "tomJobRequest\032*.google.cloud.aiplatform." + + "v1beta1.CustomJob\"[\202\323\344\223\002A\"3/v1beta1/{par" + + "ent=projects/*/locations/*}/customJobs:\n" + + "custom_job\332A\021parent,custom_job\022\264\001\n\014GetCu" + + "stomJob\0224.google.cloud.aiplatform.v1beta" + + "1.GetCustomJobRequest\032*.google.cloud.aip" + + "latform.v1beta1.CustomJob\"B\202\323\344\223\0025\0223/v1be" + + "ta1/{name=projects/*/locations/*/customJ" + + "obs/*}\332A\004name\022\307\001\n\016ListCustomJobs\0226.googl" + + "e.cloud.aiplatform.v1beta1.ListCustomJob" + + "sRequest\0327.google.cloud.aiplatform.v1bet" + + "a1.ListCustomJobsResponse\"D\202\323\344\223\0025\0223/v1be" + + "ta1/{parent=projects/*/locations/*}/cust" + + "omJobs\332A\006parent\022\340\001\n\017DeleteCustomJob\0227.go" + + "ogle.cloud.aiplatform.v1beta1.DeleteCust" + + "omJobRequest\032\035.google.longrunning.Operat" + + "ion\"u\202\323\344\223\0025*3/v1beta1/{name=projects/*/l" + + "ocations/*/customJobs/*}\332A\004name\312A0\n\025goog" + + "le.protobuf.Empty\022\027DeleteOperationMetada" + + "ta\022\260\001\n\017CancelCustomJob\0227.google.cloud.ai" + + "platform.v1beta1.CancelCustomJobRequest\032" + + "\026.google.protobuf.Empty\"L\202\323\344\223\002?\":/v1beta" + + "1/{name=projects/*/locations/*/customJob" + + "s/*}:cancel:\001*\332A\004name\022\371\001\n\025CreateDataLabe" + + "lingJob\022=.google.cloud.aiplatform.v1beta" + + "1.CreateDataLabelingJobRequest\0320.google." + + "cloud.aiplatform.v1beta1.DataLabelingJob" + + "\"o\202\323\344\223\002N\"9/v1beta1/{parent=projects/*/lo" + + "cations/*}/dataLabelingJobs:\021data_labeli" + + "ng_job\332A\030parent,data_labeling_job\022\314\001\n\022Ge" + + "tDataLabelingJob\022:.google.cloud.aiplatfo" + + "rm.v1beta1.GetDataLabelingJobRequest\0320.g" + + "oogle.cloud.aiplatform.v1beta1.DataLabel" + + "ingJob\"H\202\323\344\223\002;\0229/v1beta1/{name=projects/" + + "*/locations/*/dataLabelingJobs/*}\332A\004name" + + "\022\337\001\n\024ListDataLabelingJobs\022<.google.cloud" + + ".aiplatform.v1beta1.ListDataLabelingJobs" + + "Request\032=.google.cloud.aiplatform.v1beta" + + "1.ListDataLabelingJobsResponse\"J\202\323\344\223\002;\0229" + + "/v1beta1/{parent=projects/*/locations/*}" + + "/dataLabelingJobs\332A\006parent\022\362\001\n\025DeleteDat" + + "aLabelingJob\022=.google.cloud.aiplatform.v" + + "1beta1.DeleteDataLabelingJobRequest\032\035.go" + + "ogle.longrunning.Operation\"{\202\323\344\223\002;*9/v1b" + + "eta1/{name=projects/*/locations/*/dataLa" + + "belingJobs/*}\332A\004name\312A0\n\025google.protobuf" + + ".Empty\022\027DeleteOperationMetadata\022\302\001\n\025Canc" + + "elDataLabelingJob\022=.google.cloud.aiplatf" + + "orm.v1beta1.CancelDataLabelingJobRequest" + + "\032\026.google.protobuf.Empty\"R\202\323\344\223\002E\"@/v1bet" + + "a1/{name=projects/*/locations/*/dataLabe" + + "lingJobs/*}:cancel:\001*\332A\004name\022\252\002\n\035CreateH" + + "yperparameterTuningJob\022E.google.cloud.ai" + + "platform.v1beta1.CreateHyperparameterTun" + + "ingJobRequest\0328.google.cloud.aiplatform." + + "v1beta1.HyperparameterTuningJob\"\207\001\202\323\344\223\002^" + + "\"A/v1beta1/{parent=projects/*/locations/" + + "*}/hyperparameterTuningJobs:\031hyperparame" + + "ter_tuning_job\332A parent,hyperparameter_t" + + "uning_job\022\354\001\n\032GetHyperparameterTuningJob" + + "\022B.google.cloud.aiplatform.v1beta1.GetHy" + + "perparameterTuningJobRequest\0328.google.cl" + + "oud.aiplatform.v1beta1.HyperparameterTun" + + "ingJob\"P\202\323\344\223\002C\022A/v1beta1/{name=projects/" + + "*/locations/*/hyperparameterTuningJobs/*" + + "}\332A\004name\022\377\001\n\034ListHyperparameterTuningJob" + + "s\022D.google.cloud.aiplatform.v1beta1.List" + + "HyperparameterTuningJobsRequest\032E.google" + + ".cloud.aiplatform.v1beta1.ListHyperparam" + + "eterTuningJobsResponse\"R\202\323\344\223\002C\022A/v1beta1" + + "/{parent=projects/*/locations/*}/hyperpa" + + "rameterTuningJobs\332A\006parent\022\213\002\n\035DeleteHyp" + "erparameterTuningJob\022E.google.cloud.aipl" - + "atform.v1beta1.CancelHyperparameterTunin" - + "gJobRequest\032\026.google.protobuf.Empty\"Z\202\323\344" - + "\223\002M\"H/v1beta1/{name=projects/*/locations" - + "/*/hyperparameterTuningJobs/*}:cancel:\001*" - + "\332A\004name\022\213\002\n\030CreateBatchPredictionJob\022@.g" - + "oogle.cloud.aiplatform.v1beta1.CreateBat" - + "chPredictionJobRequest\0323.google.cloud.ai" - + "platform.v1beta1.BatchPredictionJob\"x\202\323\344" - + "\223\002T\"\022\022*\022\022*\n\nexe" + "cutions\030\002 \003(\0132*.google.cloud.aiplatform." + "v1beta1.Execution\0226\n\006events\030\003 \003(\0132&.goog" - + "le.cloud.aiplatform.v1beta1.EventB\361\001\n#co" + + "le.cloud.aiplatform.v1beta1.EventB\353\001\n#co" + "m.google.cloud.aiplatform.v1beta1B\024Linea" - + "geSubgraphProtoP\001ZIgoogle.golang.org/gen" - + "proto/googleapis/cloud/aiplatform/v1beta" - + "1;aiplatform\252\002\037Google.Cloud.AIPlatform.V" - + "1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1" - + "\352\002\"Google::Cloud::AIPlatform::V1beta1b\006p" - + "roto3" + + "geSubgraphProtoP\001ZCcloud.google.com/go/a" + + "iplatform/apiv1beta1/aiplatformpb;aiplat" + + "formpb\252\002\037Google.Cloud.AIPlatform.V1Beta1" + + "\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Goo" + + "gle::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsRequest.java new file mode 100644 index 000000000000..72ac69c98f76 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsRequest.java @@ -0,0 +1,1506 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Request message for
+ * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs].
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNasJobsRequest} + */ +public final class ListNasJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ListNasJobsRequest) + ListNasJobsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNasJobsRequest.newBuilder() to construct. + private ListNasJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNasJobsRequest() { + parent_ = ""; + filter_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNasJobsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest.class, + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + * + * + *
+   * Required. The resource name of the Location to list the NasJobs
+   * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+   * from. Format: `projects/{project}/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 FILTER_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + * + * + *
+   * The standard list filter.
+   * Supported fields:
+   *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+   *   * `state` supports `=`, `!=` comparisons.
+   *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+   *     `create_time` must be in RFC 3339 format.
+   *   * `labels` supports general map functions that is:
+   *     `labels.key=value` - key:value equality
+   *     `labels.key:* - key existence
+   * Some examples of using the filter are:
+   *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+   *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+   *   * `NOT display_name="my_job"`
+   *   * `create_time>"2021-05-18T00:00:00Z"`
+   *   * `labels.keyA=valueA`
+   *   * `labels.keyB:*`
+   * 
+ * + * string filter = 2; + * + * @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; + } + } + /** + * + * + *
+   * The standard list filter.
+   * Supported fields:
+   *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+   *   * `state` supports `=`, `!=` comparisons.
+   *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+   *     `create_time` must be in RFC 3339 format.
+   *   * `labels` supports general map functions that is:
+   *     `labels.key=value` - key:value equality
+   *     `labels.key:* - key existence
+   * Some examples of using the filter are:
+   *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+   *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+   *   * `NOT display_name="my_job"`
+   *   * `create_time>"2021-05-18T00:00:00Z"`
+   *   * `labels.keyA=valueA`
+   *   * `labels.keyB:*`
+   * 
+ * + * string filter = 2; + * + * @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 PAGE_SIZE_FIELD_NUMBER = 3; + private int pageSize_ = 0; + /** + * + * + *
+   * The standard list page size.
+   * 
+ * + * int32 page_size = 3; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+   * call.
+   * 
+ * + * string page_token = 4; + * + * @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; + } + } + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+   * call.
+   * 
+ * + * string page_token = 4; + * + * @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 READ_MASK_FIELD_NUMBER = 5; + private com.google.protobuf.FieldMask readMask_; + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return Whether the readMask field is set. + */ + @java.lang.Override + public boolean hasReadMask() { + return readMask_ != null; + } + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return The readMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getReadMask() { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); + } + if (pageSize_ != 0) { + output.writeInt32(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); + } + if (readMask_ != null) { + output.writeMessage(5, getReadMask()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); + } + if (readMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getReadMask()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest other = + (com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (hasReadMask() != other.hasReadMask()) return false; + if (hasReadMask()) { + if (!getReadMask().equals(other.getReadMask())) 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) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + if (hasReadMask()) { + hash = (37 * hash) + READ_MASK_FIELD_NUMBER; + hash = (53 * hash) + getReadMask().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Request message for
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs].
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNasJobsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ListNasJobsRequest) + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest.class, + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + filter_ = ""; + pageSize_ = 0; + pageToken_ = ""; + readMask_ = null; + if (readMaskBuilder_ != null) { + readMaskBuilder_.dispose(); + readMaskBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest build() { + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest result = + new com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.filter_ = filter_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.pageToken_ = pageToken_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest other) { + if (other == com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasReadMask()) { + mergeReadMask(other.getReadMask()); + } + 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: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry); + 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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 resource name of the Location to list the NasJobs
+     * from. Format: `projects/{project}/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 filter_ = ""; + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @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; + } + } + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @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; + } + } + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @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_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list filter.
+     * Supported fields:
+     *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+     *   * `state` supports `=`, `!=` comparisons.
+     *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+     *     `create_time` must be in RFC 3339 format.
+     *   * `labels` supports general map functions that is:
+     *     `labels.key=value` - key:value equality
+     *     `labels.key:* - key existence
+     * Some examples of using the filter are:
+     *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+     *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+     *   * `NOT display_name="my_job"`
+     *   * `create_time>"2021-05-18T00:00:00Z"`
+     *   * `labels.keyA=valueA`
+     *   * `labels.keyB:*`
+     * 
+ * + * string filter = 2; + * + * @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_ |= 0x00000002; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
+     * The standard list page size.
+     * 
+ * + * int32 page_size = 3; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
+     * The standard list page size.
+     * 
+ * + * int32 page_size = 3; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list page size.
+     * 
+ * + * int32 page_size = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000004); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @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; + } + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @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; + } + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @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_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+     * call.
+     * 
+ * + * string page_token = 4; + * + * @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_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.protobuf.FieldMask readMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + readMaskBuilder_; + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return Whether the readMask field is set. + */ + public boolean hasReadMask() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return The readMask. + */ + public com.google.protobuf.FieldMask getReadMask() { + if (readMaskBuilder_ == null) { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } else { + return readMaskBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public Builder setReadMask(com.google.protobuf.FieldMask value) { + if (readMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + readMask_ = value; + } else { + readMaskBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (readMaskBuilder_ == null) { + readMask_ = builderForValue.build(); + } else { + readMaskBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public Builder mergeReadMask(com.google.protobuf.FieldMask value) { + if (readMaskBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && readMask_ != null + && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + getReadMaskBuilder().mergeFrom(value); + } else { + readMask_ = value; + } + } else { + readMaskBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public Builder clearReadMask() { + bitField0_ = (bitField0_ & ~0x00000010); + readMask_ = null; + if (readMaskBuilder_ != null) { + readMaskBuilder_.dispose(); + readMaskBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getReadMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { + if (readMaskBuilder_ != null) { + return readMaskBuilder_.getMessageOrBuilder(); + } else { + return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_; + } + } + /** + * + * + *
+     * Mask specifying which fields to read.
+     * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + getReadMaskFieldBuilder() { + if (readMaskBuilder_ == null) { + readMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getReadMask(), getParentForChildren(), isClean()); + readMask_ = null; + } + return readMaskBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ListNasJobsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ListNasJobsRequest) + private static final com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest(); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNasJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasJobsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsRequestOrBuilder.java new file mode 100644 index 000000000000..1533abd1527c --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsRequestOrBuilder.java @@ -0,0 +1,194 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface ListNasJobsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ListNasJobsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the Location to list the NasJobs
+   * from. Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the Location to list the NasJobs
+   * from. Format: `projects/{project}/locations/{location}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The standard list filter.
+   * Supported fields:
+   *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+   *   * `state` supports `=`, `!=` comparisons.
+   *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+   *     `create_time` must be in RFC 3339 format.
+   *   * `labels` supports general map functions that is:
+   *     `labels.key=value` - key:value equality
+   *     `labels.key:* - key existence
+   * Some examples of using the filter are:
+   *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+   *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+   *   * `NOT display_name="my_job"`
+   *   * `create_time>"2021-05-18T00:00:00Z"`
+   *   * `labels.keyA=valueA`
+   *   * `labels.keyB:*`
+   * 
+ * + * string filter = 2; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * The standard list filter.
+   * Supported fields:
+   *   * `display_name` supports `=`, `!=` comparisons, and `:` wildcard.
+   *   * `state` supports `=`, `!=` comparisons.
+   *   * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons.
+   *     `create_time` must be in RFC 3339 format.
+   *   * `labels` supports general map functions that is:
+   *     `labels.key=value` - key:value equality
+   *     `labels.key:* - key existence
+   * Some examples of using the filter are:
+   *   * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"`
+   *   * `state!="JOB_STATE_FAILED" OR display_name="my_job"`
+   *   * `NOT display_name="my_job"`
+   *   * `create_time>"2021-05-18T00:00:00Z"`
+   *   * `labels.keyA=valueA`
+   *   * `labels.keyB:*`
+   * 
+ * + * string filter = 2; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
+   * The standard list page size.
+   * 
+ * + * int32 page_size = 3; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+   * call.
+   * 
+ * + * string page_token = 4; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+   * call.
+   * 
+ * + * string page_token = 4; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return Whether the readMask field is set. + */ + boolean hasReadMask(); + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + * + * @return The readMask. + */ + com.google.protobuf.FieldMask getReadMask(); + /** + * + * + *
+   * Mask specifying which fields to read.
+   * 
+ * + * .google.protobuf.FieldMask read_mask = 5; + */ + com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsResponse.java new file mode 100644 index 000000000000..bf25b3e6407a --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsResponse.java @@ -0,0 +1,1192 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Response message for
+ * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNasJobsResponse} + */ +public final class ListNasJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ListNasJobsResponse) + ListNasJobsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNasJobsResponse.newBuilder() to construct. + private ListNasJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNasJobsResponse() { + nasJobs_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNasJobsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse.class, + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse.Builder.class); + } + + public static final int NAS_JOBS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List nasJobs_; + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public java.util.List getNasJobsList() { + return nasJobs_; + } + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public java.util.List + getNasJobsOrBuilderList() { + return nasJobs_; + } + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public int getNasJobsCount() { + return nasJobs_.size(); + } + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJob getNasJobs(int index) { + return nasJobs_.get(index); + } + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder getNasJobsOrBuilder(int index) { + return nasJobs_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * 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; + } + } + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * 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; + } + } + + 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 < nasJobs_.size(); i++) { + output.writeMessage(1, nasJobs_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < nasJobs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nasJobs_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse other = + (com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse) obj; + + if (!getNasJobsList().equals(other.getNasJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) 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 (getNasJobsCount() > 0) { + hash = (37 * hash) + NAS_JOBS_FIELD_NUMBER; + hash = (53 * hash) + getNasJobsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for
+   * [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNasJobsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ListNasJobsResponse) + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse.class, + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (nasJobsBuilder_ == null) { + nasJobs_ = java.util.Collections.emptyList(); + } else { + nasJobs_ = null; + nasJobsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasJobsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse build() { + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse buildPartial() { + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse result = + new com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse result) { + if (nasJobsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + nasJobs_ = java.util.Collections.unmodifiableList(nasJobs_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.nasJobs_ = nasJobs_; + } else { + result.nasJobs_ = nasJobsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse other) { + if (other == com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse.getDefaultInstance()) + return this; + if (nasJobsBuilder_ == null) { + if (!other.nasJobs_.isEmpty()) { + if (nasJobs_.isEmpty()) { + nasJobs_ = other.nasJobs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNasJobsIsMutable(); + nasJobs_.addAll(other.nasJobs_); + } + onChanged(); + } + } else { + if (!other.nasJobs_.isEmpty()) { + if (nasJobsBuilder_.isEmpty()) { + nasJobsBuilder_.dispose(); + nasJobsBuilder_ = null; + nasJobs_ = other.nasJobs_; + bitField0_ = (bitField0_ & ~0x00000001); + nasJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNasJobsFieldBuilder() + : null; + } else { + nasJobsBuilder_.addAllMessages(other.nasJobs_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + 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: + { + com.google.cloud.aiplatform.v1beta1.NasJob m = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.NasJob.parser(), extensionRegistry); + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.add(m); + } else { + nasJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = 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.util.List nasJobs_ = + java.util.Collections.emptyList(); + + private void ensureNasJobsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + nasJobs_ = new java.util.ArrayList(nasJobs_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJob, + com.google.cloud.aiplatform.v1beta1.NasJob.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder> + nasJobsBuilder_; + + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public java.util.List getNasJobsList() { + if (nasJobsBuilder_ == null) { + return java.util.Collections.unmodifiableList(nasJobs_); + } else { + return nasJobsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public int getNasJobsCount() { + if (nasJobsBuilder_ == null) { + return nasJobs_.size(); + } else { + return nasJobsBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasJob getNasJobs(int index) { + if (nasJobsBuilder_ == null) { + return nasJobs_.get(index); + } else { + return nasJobsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public Builder setNasJobs(int index, com.google.cloud.aiplatform.v1beta1.NasJob value) { + if (nasJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasJobsIsMutable(); + nasJobs_.set(index, value); + onChanged(); + } else { + nasJobsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public Builder setNasJobs( + int index, com.google.cloud.aiplatform.v1beta1.NasJob.Builder builderForValue) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.set(index, builderForValue.build()); + onChanged(); + } else { + nasJobsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public Builder addNasJobs(com.google.cloud.aiplatform.v1beta1.NasJob value) { + if (nasJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasJobsIsMutable(); + nasJobs_.add(value); + onChanged(); + } else { + nasJobsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public Builder addNasJobs(int index, com.google.cloud.aiplatform.v1beta1.NasJob value) { + if (nasJobsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasJobsIsMutable(); + nasJobs_.add(index, value); + onChanged(); + } else { + nasJobsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public Builder addNasJobs(com.google.cloud.aiplatform.v1beta1.NasJob.Builder builderForValue) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.add(builderForValue.build()); + onChanged(); + } else { + nasJobsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public Builder addNasJobs( + int index, com.google.cloud.aiplatform.v1beta1.NasJob.Builder builderForValue) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.add(index, builderForValue.build()); + onChanged(); + } else { + nasJobsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public Builder addAllNasJobs( + java.lang.Iterable values) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nasJobs_); + onChanged(); + } else { + nasJobsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public Builder clearNasJobs() { + if (nasJobsBuilder_ == null) { + nasJobs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + nasJobsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public Builder removeNasJobs(int index) { + if (nasJobsBuilder_ == null) { + ensureNasJobsIsMutable(); + nasJobs_.remove(index); + onChanged(); + } else { + nasJobsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasJob.Builder getNasJobsBuilder(int index) { + return getNasJobsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder getNasJobsOrBuilder(int index) { + if (nasJobsBuilder_ == null) { + return nasJobs_.get(index); + } else { + return nasJobsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public java.util.List + getNasJobsOrBuilderList() { + if (nasJobsBuilder_ != null) { + return nasJobsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(nasJobs_); + } + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasJob.Builder addNasJobsBuilder() { + return getNasJobsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance()); + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasJob.Builder addNasJobsBuilder(int index) { + return getNasJobsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance()); + } + /** + * + * + *
+     * List of NasJobs in the requested page.
+     * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+     * of the jobs will not be returned.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + public java.util.List + getNasJobsBuilderList() { + return getNasJobsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJob, + com.google.cloud.aiplatform.v1beta1.NasJob.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder> + getNasJobsFieldBuilder() { + if (nasJobsBuilder_ == null) { + nasJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJob, + com.google.cloud.aiplatform.v1beta1.NasJob.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder>( + nasJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + nasJobs_ = null; + } + return nasJobsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ListNasJobsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ListNasJobsResponse) + private static final com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse(); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNasJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasJobsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsResponseOrBuilder.java new file mode 100644 index 000000000000..31f14c428dee --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasJobsResponseOrBuilder.java @@ -0,0 +1,118 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface ListNasJobsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ListNasJobsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + java.util.List getNasJobsList(); + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + com.google.cloud.aiplatform.v1beta1.NasJob getNasJobs(int index); + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + int getNasJobsCount(); + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + java.util.List + getNasJobsOrBuilderList(); + /** + * + * + *
+   * List of NasJobs in the requested page.
+   * [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output]
+   * of the jobs will not be returned.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasJob nas_jobs = 1; + */ + com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder getNasJobsOrBuilder(int index); + + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/ListPolicyBasedRoutesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsRequest.java similarity index 57% rename from java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/ListPolicyBasedRoutesRequest.java rename to java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsRequest.java index 9b8eb43b32e7..0bdd9a313a29 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/ListPolicyBasedRoutesRequest.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsRequest.java @@ -14,40 +14,39 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto +// source: google/cloud/aiplatform/v1beta1/job_service.proto -package com.google.cloud.networkconnectivity.v1; +package com.google.cloud.aiplatform.v1beta1; /** * * *
- * Request for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.
+ * Request message for
+ * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails].
  * 
* - * Protobuf type {@code google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest} + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest} */ -public final class ListPolicyBasedRoutesRequest extends com.google.protobuf.GeneratedMessageV3 +public final class ListNasTrialDetailsRequest extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest) - ListPolicyBasedRoutesRequestOrBuilder { + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest) + ListNasTrialDetailsRequestOrBuilder { private static final long serialVersionUID = 0L; - // Use ListPolicyBasedRoutesRequest.newBuilder() to construct. - private ListPolicyBasedRoutesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use ListNasTrialDetailsRequest.newBuilder() to construct. + private ListNasTrialDetailsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPolicyBasedRoutesRequest() { + private ListNasTrialDetailsRequest() { parent_ = ""; pageToken_ = ""; - filter_ = ""; - orderBy_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListPolicyBasedRoutesRequest(); + return new ListNasTrialDetailsRequest(); } @java.lang.Override @@ -56,18 +55,18 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_descriptor; + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_fieldAccessorTable + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest.class, - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest.Builder.class); + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.class, + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; @@ -78,7 +77,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The parent resource's name.
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
    * 
* * @@ -103,7 +104,9 @@ public java.lang.String getParent() { * * *
-   * Required. The parent resource's name.
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
    * 
* * @@ -131,7 +134,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The maximum number of results per page that should be returned.
+   * The standard list page size.
    * 
* * int32 page_size = 2; @@ -151,7 +154,12 @@ public int getPageSize() { * * *
-   * The page token.
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+   * call.
    * 
* * string page_token = 3; @@ -174,7 +182,12 @@ public java.lang.String getPageToken() { * * *
-   * The page token.
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+   * call.
    * 
* * string page_token = 3; @@ -194,108 +207,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } - public static final int FILTER_FIELD_NUMBER = 4; - - @SuppressWarnings("serial") - private volatile java.lang.Object filter_ = ""; - /** - * - * - *
-   * A filter expression that filters the results listed in the response.
-   * 
- * - * string filter = 4; - * - * @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; - } - } - /** - * - * - *
-   * A filter expression that filters the results listed in the response.
-   * 
- * - * string filter = 4; - * - * @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_ = ""; - /** - * - * - *
-   * Sort the results by a certain order.
-   * 
- * - * string order_by = 5; - * - * @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; - } - } - /** - * - * - *
-   * Sort the results by a certain order.
-   * 
- * - * string order_by = 5; - * - * @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 @@ -319,12 +230,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_); - } getUnknownFields().writeTo(output); } @@ -343,12 +248,6 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); - } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -359,17 +258,15 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest)) { + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest)) { return super.equals(obj); } - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest other = - (com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest) obj; + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest other = + (com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest) 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; } @@ -387,81 +284,76 @@ public int hashCode() { 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.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest 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.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest 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.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseFrom( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest parseFrom( + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -479,7 +371,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest prototype) { + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -497,32 +389,32 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.
+   * Request message for
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails].
    * 
* - * Protobuf type {@code google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest} + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest) - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest) + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_descriptor; + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_fieldAccessorTable + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest.class, - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest.Builder.class); + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.class, + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.Builder.class); } - // Construct using - // com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest.newBuilder() + // Construct using com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.newBuilder() private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { @@ -536,27 +428,24 @@ public Builder clear() { parent_ = ""; pageSize_ = 0; pageToken_ = ""; - filter_ = ""; - orderBy_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_descriptor; + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsRequest_descriptor; } @java.lang.Override - public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest + public com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest - .getDefaultInstance(); + return com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest build() { - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest result = buildPartial(); + public com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest build() { + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -564,9 +453,9 @@ public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest buil } @java.lang.Override - public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest buildPartial() { - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest result = - new com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest(this); + public com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest buildPartial() { + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest result = + new com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest(this); if (bitField0_ != 0) { buildPartial0(result); } @@ -575,7 +464,7 @@ public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest buil } private void buildPartial0( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest result) { + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -586,12 +475,6 @@ private void buildPartial0( 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 @@ -629,20 +512,18 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest) { - return mergeFrom( - (com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest) other); + if (other instanceof com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest other) { + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest other) { if (other - == com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest - .getDefaultInstance()) return this; + == com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -656,16 +537,6 @@ public Builder mergeFrom( 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; @@ -710,18 +581,6 @@ public Builder mergeFrom( 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)) { @@ -746,7 +605,9 @@ public Builder mergeFrom( * * *
-     * Required. The parent resource's name.
+     * Required. The name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -770,7 +631,9 @@ public java.lang.String getParent() { * * *
-     * Required. The parent resource's name.
+     * Required. The name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -794,7 +657,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. The parent resource's name.
+     * Required. The name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -817,7 +682,9 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. The parent resource's name.
+     * Required. The name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -836,7 +703,9 @@ public Builder clearParent() { * * *
-     * Required. The parent resource's name.
+     * Required. The name of the NasJob resource.
+     * Format:
+     * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
      * 
* * @@ -862,7 +731,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The maximum number of results per page that should be returned.
+     * The standard list page size.
      * 
* * int32 page_size = 2; @@ -877,7 +746,7 @@ public int getPageSize() { * * *
-     * The maximum number of results per page that should be returned.
+     * The standard list page size.
      * 
* * int32 page_size = 2; @@ -896,7 +765,7 @@ public Builder setPageSize(int value) { * * *
-     * The maximum number of results per page that should be returned.
+     * The standard list page size.
      * 
* * int32 page_size = 2; @@ -915,7 +784,12 @@ public Builder clearPageSize() { * * *
-     * The page token.
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+     * call.
      * 
* * string page_token = 3; @@ -937,7 +811,12 @@ public java.lang.String getPageToken() { * * *
-     * The page token.
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+     * call.
      * 
* * string page_token = 3; @@ -959,7 +838,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
-     * The page token.
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+     * call.
      * 
* * string page_token = 3; @@ -980,7 +864,12 @@ public Builder setPageToken(java.lang.String value) { * * *
-     * The page token.
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+     * call.
      * 
* * string page_token = 3; @@ -997,7 +886,12 @@ public Builder clearPageToken() { * * *
-     * The page token.
+     * The standard list page token.
+     * Typically obtained via
+     * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token]
+     * of the previous
+     * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+     * call.
      * 
* * string page_token = 3; @@ -1016,218 +910,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private java.lang.Object filter_ = ""; - /** - * - * - *
-     * A filter expression that filters the results listed in the response.
-     * 
- * - * string filter = 4; - * - * @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; - } - } - /** - * - * - *
-     * A filter expression that filters the results listed in the response.
-     * 
- * - * string filter = 4; - * - * @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; - } - } - /** - * - * - *
-     * A filter expression that filters the results listed in the response.
-     * 
- * - * string filter = 4; - * - * @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; - } - /** - * - * - *
-     * A filter expression that filters the results listed in the response.
-     * 
- * - * string filter = 4; - * - * @return This builder for chaining. - */ - public Builder clearFilter() { - filter_ = getDefaultInstance().getFilter(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - /** - * - * - *
-     * A filter expression that filters the results listed in the response.
-     * 
- * - * string filter = 4; - * - * @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_ = ""; - /** - * - * - *
-     * Sort the results by a certain order.
-     * 
- * - * string order_by = 5; - * - * @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; - } - } - /** - * - * - *
-     * Sort the results by a certain order.
-     * 
- * - * string order_by = 5; - * - * @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; - } - } - /** - * - * - *
-     * Sort the results by a certain order.
-     * 
- * - * string order_by = 5; - * - * @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; - } - /** - * - * - *
-     * Sort the results by a certain order.
-     * 
- * - * string order_by = 5; - * - * @return This builder for chaining. - */ - public Builder clearOrderBy() { - orderBy_ = getDefaultInstance().getOrderBy(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - /** - * - * - *
-     * Sort the results by a certain order.
-     * 
- * - * string order_by = 5; - * - * @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; - } - @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); @@ -1239,26 +921,26 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest) + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest) } - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest) - private static final com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest) + private static final com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest(); + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest(); } - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { @java.lang.Override - public ListPolicyBasedRoutesRequest parsePartialFrom( + public ListNasTrialDetailsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1277,17 +959,17 @@ public ListPolicyBasedRoutesRequest parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest + public com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsRequestOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsRequestOrBuilder.java new file mode 100644 index 000000000000..a355bd76843e --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsRequestOrBuilder.java @@ -0,0 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface ListNasTrialDetailsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The name of the NasJob resource.
+   * Format:
+   * `projects/{project}/locations/{location}/nasJobs/{nas_job}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * The standard list page size.
+   * 
+ * + * int32 page_size = 2; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+   * call.
+   * 
+ * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
+   * The standard list page token.
+   * Typically obtained via
+   * [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token]
+   * of the previous
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+   * call.
+   * 
+ * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsResponse.java new file mode 100644 index 000000000000..c0ce4488772a --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsResponse.java @@ -0,0 +1,1169 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Response message for
+ * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse} + */ +public final class ListNasTrialDetailsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse) + ListNasTrialDetailsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNasTrialDetailsResponse.newBuilder() to construct. + private ListNasTrialDetailsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNasTrialDetailsResponse() { + nasTrialDetails_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNasTrialDetailsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.class, + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.Builder.class); + } + + public static final int NAS_TRIAL_DETAILS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List nasTrialDetails_; + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public java.util.List + getNasTrialDetailsList() { + return nasTrialDetails_; + } + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public java.util.List + getNasTrialDetailsOrBuilderList() { + return nasTrialDetails_; + } + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public int getNasTrialDetailsCount() { + return nasTrialDetails_.size(); + } + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail getNasTrialDetails(int index) { + return nasTrialDetails_.get(index); + } + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialDetailOrBuilder getNasTrialDetailsOrBuilder( + int index) { + return nasTrialDetails_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * 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; + } + } + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * 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; + } + } + + 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 < nasTrialDetails_.size(); i++) { + output.writeMessage(1, nasTrialDetails_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < nasTrialDetails_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nasTrialDetails_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse other = + (com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse) obj; + + if (!getNasTrialDetailsList().equals(other.getNasTrialDetailsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) 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 (getNasTrialDetailsCount() > 0) { + hash = (37 * hash) + NAS_TRIAL_DETAILS_FIELD_NUMBER; + hash = (53 * hash) + getNasTrialDetailsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Response message for
+   * [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse) + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.class, + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (nasTrialDetailsBuilder_ == null) { + nasTrialDetails_ = java.util.Collections.emptyList(); + } else { + nasTrialDetails_ = null; + nasTrialDetailsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.JobServiceProto + .internal_static_google_cloud_aiplatform_v1beta1_ListNasTrialDetailsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse build() { + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse buildPartial() { + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse result = + new com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse result) { + if (nasTrialDetailsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + nasTrialDetails_ = java.util.Collections.unmodifiableList(nasTrialDetails_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.nasTrialDetails_ = nasTrialDetails_; + } else { + result.nasTrialDetails_ = nasTrialDetailsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse other) { + if (other + == com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.getDefaultInstance()) + return this; + if (nasTrialDetailsBuilder_ == null) { + if (!other.nasTrialDetails_.isEmpty()) { + if (nasTrialDetails_.isEmpty()) { + nasTrialDetails_ = other.nasTrialDetails_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.addAll(other.nasTrialDetails_); + } + onChanged(); + } + } else { + if (!other.nasTrialDetails_.isEmpty()) { + if (nasTrialDetailsBuilder_.isEmpty()) { + nasTrialDetailsBuilder_.dispose(); + nasTrialDetailsBuilder_ = null; + nasTrialDetails_ = other.nasTrialDetails_; + bitField0_ = (bitField0_ & ~0x00000001); + nasTrialDetailsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNasTrialDetailsFieldBuilder() + : null; + } else { + nasTrialDetailsBuilder_.addAllMessages(other.nasTrialDetails_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + 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: + { + com.google.cloud.aiplatform.v1beta1.NasTrialDetail m = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.NasTrialDetail.parser(), + extensionRegistry); + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(m); + } else { + nasTrialDetailsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = 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.util.List nasTrialDetails_ = + java.util.Collections.emptyList(); + + private void ensureNasTrialDetailsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + nasTrialDetails_ = + new java.util.ArrayList( + nasTrialDetails_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrialDetail, + com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialDetailOrBuilder> + nasTrialDetailsBuilder_; + + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public java.util.List + getNasTrialDetailsList() { + if (nasTrialDetailsBuilder_ == null) { + return java.util.Collections.unmodifiableList(nasTrialDetails_); + } else { + return nasTrialDetailsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public int getNasTrialDetailsCount() { + if (nasTrialDetailsBuilder_ == null) { + return nasTrialDetails_.size(); + } else { + return nasTrialDetailsBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail getNasTrialDetails(int index) { + if (nasTrialDetailsBuilder_ == null) { + return nasTrialDetails_.get(index); + } else { + return nasTrialDetailsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public Builder setNasTrialDetails( + int index, com.google.cloud.aiplatform.v1beta1.NasTrialDetail value) { + if (nasTrialDetailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.set(index, value); + onChanged(); + } else { + nasTrialDetailsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public Builder setNasTrialDetails( + int index, com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder builderForValue) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.set(index, builderForValue.build()); + onChanged(); + } else { + nasTrialDetailsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addNasTrialDetails(com.google.cloud.aiplatform.v1beta1.NasTrialDetail value) { + if (nasTrialDetailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(value); + onChanged(); + } else { + nasTrialDetailsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addNasTrialDetails( + int index, com.google.cloud.aiplatform.v1beta1.NasTrialDetail value) { + if (nasTrialDetailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(index, value); + onChanged(); + } else { + nasTrialDetailsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addNasTrialDetails( + com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder builderForValue) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(builderForValue.build()); + onChanged(); + } else { + nasTrialDetailsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addNasTrialDetails( + int index, com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder builderForValue) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.add(index, builderForValue.build()); + onChanged(); + } else { + nasTrialDetailsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public Builder addAllNasTrialDetails( + java.lang.Iterable values) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nasTrialDetails_); + onChanged(); + } else { + nasTrialDetailsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public Builder clearNasTrialDetails() { + if (nasTrialDetailsBuilder_ == null) { + nasTrialDetails_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + nasTrialDetailsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public Builder removeNasTrialDetails(int index) { + if (nasTrialDetailsBuilder_ == null) { + ensureNasTrialDetailsIsMutable(); + nasTrialDetails_.remove(index); + onChanged(); + } else { + nasTrialDetailsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder getNasTrialDetailsBuilder( + int index) { + return getNasTrialDetailsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasTrialDetailOrBuilder getNasTrialDetailsOrBuilder( + int index) { + if (nasTrialDetailsBuilder_ == null) { + return nasTrialDetails_.get(index); + } else { + return nasTrialDetailsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public java.util.List + getNasTrialDetailsOrBuilderList() { + if (nasTrialDetailsBuilder_ != null) { + return nasTrialDetailsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(nasTrialDetails_); + } + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder addNasTrialDetailsBuilder() { + return getNasTrialDetailsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1beta1.NasTrialDetail.getDefaultInstance()); + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder addNasTrialDetailsBuilder( + int index) { + return getNasTrialDetailsFieldBuilder() + .addBuilder( + index, com.google.cloud.aiplatform.v1beta1.NasTrialDetail.getDefaultInstance()); + } + /** + * + * + *
+     * List of top NasTrials in the requested page.
+     * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + public java.util.List + getNasTrialDetailsBuilderList() { + return getNasTrialDetailsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrialDetail, + com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialDetailOrBuilder> + getNasTrialDetailsFieldBuilder() { + if (nasTrialDetailsBuilder_ == null) { + nasTrialDetailsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrialDetail, + com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialDetailOrBuilder>( + nasTrialDetails_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + nasTrialDetails_ = null; + } + return nasTrialDetailsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * A token to retrieve the next page of results.
+     * Pass to
+     * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token]
+     * to obtain that page.
+     * 
+ * + * 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; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse) + private static final com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse(); + } + + public static com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNasTrialDetailsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsResponseOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsResponseOrBuilder.java new file mode 100644 index 000000000000..268b8eb501a7 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ListNasTrialDetailsResponseOrBuilder.java @@ -0,0 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/job_service.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface ListNasTrialDetailsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + java.util.List getNasTrialDetailsList(); + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + com.google.cloud.aiplatform.v1beta1.NasTrialDetail getNasTrialDetails(int index); + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + int getNasTrialDetailsCount(); + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + java.util.List + getNasTrialDetailsOrBuilderList(); + /** + * + * + *
+   * List of top NasTrials in the requested page.
+   * 
+ * + * repeated .google.cloud.aiplatform.v1beta1.NasTrialDetail nas_trial_details = 1; + */ + com.google.cloud.aiplatform.v1beta1.NasTrialDetailOrBuilder getNasTrialDetailsOrBuilder( + int index); + + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token to retrieve the next page of results.
+   * Pass to
+   * [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token]
+   * to obtain that page.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java index 76177f63b1fb..fa1bef6cc618 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java @@ -95,13 +95,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "(\005\"L\n\010NfsMount\022\023\n\006server\030\001 \001(\tB\003\340A\002\022\021\n\004p" + "ath\030\002 \001(\tB\003\340A\002\022\030\n\013mount_point\030\003 \001(\tB\003\340A\002" + "\"A\n\025AutoscalingMetricSpec\022\030\n\013metric_name" - + "\030\001 \001(\tB\003\340A\002\022\016\n\006target\030\002 \001(\005B\362\001\n#com.goog" + + "\030\001 \001(\tB\003\340A\002\022\016\n\006target\030\002 \001(\005B\354\001\n#com.goog" + "le.cloud.aiplatform.v1beta1B\025MachineReso" - + "urcesProtoP\001ZIgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1beta1;aip" - + "latform\252\002\037Google.Cloud.AIPlatform.V1Beta" - + "1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Go" - + "ogle::Cloud::AIPlatform::V1beta1b\006proto3" + + "urcesProtoP\001ZCcloud.google.com/go/aiplat" + + "form/apiv1beta1/aiplatformpb;aiplatformp" + + "b\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Go" + + "ogle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::" + + "Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ManualBatchTuningParametersProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ManualBatchTuningParametersProto.java index 1db675517705..f102fabc8ce6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ManualBatchTuningParametersProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ManualBatchTuningParametersProto.java @@ -44,14 +44,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_batch_tuning_parameters.proto\022\037google.c" + "loud.aiplatform.v1beta1\032\037google/api/fiel" + "d_behavior.proto\"6\n\033ManualBatchTuningPar" - + "ameters\022\027\n\nbatch_size\030\001 \001(\005B\003\340A\005B\375\001\n#com" + + "ameters\022\027\n\nbatch_size\030\001 \001(\005B\003\340A\005B\367\001\n#com" + ".google.cloud.aiplatform.v1beta1B Manual" - + "BatchTuningParametersProtoP\001ZIgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1beta1;aiplatform\252\002\037Google.Cloud.A" - + "IPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlatf" - + "orm\\V1beta1\352\002\"Google::Cloud::AIPlatform:" - + ":V1beta1b\006proto3" + + "BatchTuningParametersProtoP\001ZCcloud.goog" + + "le.com/go/aiplatform/apiv1beta1/aiplatfo" + + "rmpb;aiplatformpb\252\002\037Google.Cloud.AIPlatf" + + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" + + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataProto.java index ccaf07dc9b16..a26035780bf0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataProto.java @@ -62,13 +62,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tion_bytes\030\001 \001(\003:u\352Ar\n\'aiplatform.google" + "apis.com/MetadataStore\022Gprojects/{projec" + "t}/locations/{location}/metadataStores/{" - + "metadata_store}B\352\001\n#com.google.cloud.aip" - + "latform.v1beta1B\rMetadataProtoP\001ZIgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1beta1;aiplatform\252\002\037Google.Clo" - + "ud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIP" - + "latform\\V1beta1\352\002\"Google::Cloud::AIPlatf" - + "orm::V1beta1b\006proto3" + + "metadata_store}B\344\001\n#com.google.cloud.aip" + + "latform.v1beta1B\rMetadataProtoP\001ZCcloud." + + "google.com/go/aiplatform/apiv1beta1/aipl" + + "atformpb;aiplatformpb\252\002\037Google.Cloud.AIP" + + "latform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfor" + + "m\\V1beta1\352\002\"Google::Cloud::AIPlatform::V" + + "1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataSchemaProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataSchemaProto.java index ec5c9cb59f57..b3fe7d8d2cbe 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataSchemaProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataSchemaProto.java @@ -57,13 +57,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "form.googleapis.com/MetadataSchema\022iproj" + "ects/{project}/locations/{location}/meta" + "dataStores/{metadata_store}/metadataSche" - + "mas/{metadata_schema}B\360\001\n#com.google.clo" + + "mas/{metadata_schema}B\352\001\n#com.google.clo" + "ud.aiplatform.v1beta1B\023MetadataSchemaPro" - + "toP\001ZIgoogle.golang.org/genproto/googlea" - + "pis/cloud/aiplatform/v1beta1;aiplatform\252" - + "\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goog" - + "le\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Cl" - + "oud::AIPlatform::V1beta1b\006proto3" + + "toP\001ZCcloud.google.com/go/aiplatform/api" + + "v1beta1/aiplatformpb;aiplatformpb\252\002\037Goog" + + "le.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clo" + + "ud\\AIPlatform\\V1beta1\352\002\"Google::Cloud::A" + + "IPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceProto.java index c1ccbf45ccf7..90b8968c2058 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MetadataServiceProto.java @@ -599,13 +599,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/artifacts/*}:queryArtifactLineageSubgra" + "ph\332A\010artifact\032M\312A\031aiplatform.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\361\001\n#com.google.cloud.aiplat" - + "form.v1beta1B\024MetadataServiceProtoP\001ZIgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/aiplatform/v1beta1;aiplatform\252\002\037Google" - + ".Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cloud" - + "\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AIP" - + "latform::V1beta1b\006proto3" + + "oud-platformB\353\001\n#com.google.cloud.aiplat" + + "form.v1beta1B\024MetadataServiceProtoP\001ZCcl" + + "oud.google.com/go/aiplatform/apiv1beta1/" + + "aiplatformpb;aiplatformpb\252\002\037Google.Cloud" + + ".AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPla" + + "tform\\V1beta1\352\002\"Google::Cloud::AIPlatfor" + + "m::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigratableResourceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigratableResourceProto.java index 95c08b27b92f..6bf54a175df8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigratableResourceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigratableResourceProto.java @@ -96,25 +96,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\021annotated_dataset\030\001 \001(\tB1\372A.\n,datalabe" + "ling.googleapis.com/AnnotatedDataset\022&\n\036" + "annotated_dataset_display_name\030\003 \001(\tB\n\n\010" - + "resourceB\313\005\n#com.google.cloud.aiplatform" - + ".v1beta1B\027MigratableResourceProtoP\001ZIgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1beta1;aiplatform\252\002\037Google." - + "Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\" - + "AIPlatform\\V1beta1\352\002\"Google::Cloud::AIPl" - + "atform::V1beta1\352AQ\n\031ml.googleapis.com/Ve" - + "rsion\0224projects/{project}/models/{model}" - + "/versions/{version}\352AU\n\033automl.googleapi" - + "s.com/Model\0226projects/{project}/location" - + "s/{location}/models/{model}\352A[\n\035automl.g" - + "oogleapis.com/Dataset\022:projects/{project" - + "}/locations/{location}/datasets/{dataset" - + "}\352AL\n#datalabeling.googleapis.com/Datase" - + "t\022%projects/{project}/datasets/{dataset}" - + "\352A{\n,datalabeling.googleapis.com/Annotat" - + "edDataset\022Kprojects/{project}/datasets/{" - + "dataset}/annotatedDatasets/{annotated_da" - + "taset}b\006proto3" + + "resourceB\305\005\n#com.google.cloud.aiplatform" + + ".v1beta1B\027MigratableResourceProtoP\001ZCclo" + + "ud.google.com/go/aiplatform/apiv1beta1/a" + + "iplatformpb;aiplatformpb\252\002\037Google.Cloud." + + "AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlat" + + "form\\V1beta1\352\002\"Google::Cloud::AIPlatform" + + "::V1beta1\352AQ\n\031ml.googleapis.com/Version\022" + + "4projects/{project}/models/{model}/versi" + + "ons/{version}\352AU\n\033automl.googleapis.com/" + + "Model\0226projects/{project}/locations/{loc" + + "ation}/models/{model}\352A[\n\035automl.googlea" + + "pis.com/Dataset\022:projects/{project}/loca" + + "tions/{location}/datasets/{dataset}\352AL\n#" + + "datalabeling.googleapis.com/Dataset\022%pro" + + "jects/{project}/datasets/{dataset}\352A{\n,d" + + "atalabeling.googleapis.com/AnnotatedData" + + "set\022Kprojects/{project}/datasets/{datase" + + "t}/annotatedDatasets/{annotated_dataset}" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceProto.java index 3872302f0d10..b05c6b9f6517 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MigrationServiceProto.java @@ -183,13 +183,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "onse\022&BatchMigrateResourcesOperationMeta" + "data\032M\312A\031aiplatform.googleapis.com\322A.htt" + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\362\001\n#com.google.cloud.aiplatform.v1be" - + "ta1B\025MigrationServiceProtoP\001ZIgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1beta1;aiplatform\252\002\037Google.Cloud.A" - + "IPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlatf" - + "orm\\V1beta1\352\002\"Google::Cloud::AIPlatform:" - + ":V1beta1b\006proto3" + + "ormB\354\001\n#com.google.cloud.aiplatform.v1be" + + "ta1B\025MigrationServiceProtoP\001ZCcloud.goog" + + "le.com/go/aiplatform/apiv1beta1/aiplatfo" + + "rmpb;aiplatformpb\252\002\037Google.Cloud.AIPlatf" + + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" + + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Model.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Model.java index d0ea2bf64b27..606c9672d787 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Model.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Model.java @@ -1759,6 +1759,693 @@ public com.google.cloud.aiplatform.v1beta1.Model.ExportFormat getDefaultInstance } } + public interface OriginalModelInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Output only. The resource name of the Model this Model is a copy of,
+     * including the revision. Format:
+     * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+     * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The model. + */ + java.lang.String getModel(); + /** + * + * + *
+     * Output only. The resource name of the Model this Model is a copy of,
+     * including the revision. Format:
+     * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+     * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for model. + */ + com.google.protobuf.ByteString getModelBytes(); + } + /** + * + * + *
+   * Contains information about the original Model if this Model is a copy.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo} + */ + public static final class OriginalModelInfo extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo) + OriginalModelInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use OriginalModelInfo.newBuilder() to construct. + private OriginalModelInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private OriginalModelInfo() { + model_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new OriginalModelInfo(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelProto + .internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelProto + .internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.class, + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.Builder.class); + } + + public static final int MODEL_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object model_ = ""; + /** + * + * + *
+     * Output only. The resource name of the Model this Model is a copy of,
+     * including the revision. Format:
+     * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+     * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The model. + */ + @java.lang.Override + public java.lang.String getModel() { + java.lang.Object ref = model_; + 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(); + model_ = s; + return s; + } + } + /** + * + * + *
+     * Output only. The resource name of the Model this Model is a copy of,
+     * including the revision. Format:
+     * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+     * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for model. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModelBytes() { + java.lang.Object ref = model_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + model_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, model_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, model_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo other = + (com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo) obj; + + if (!getModel().equals(other.getModel())) 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) + MODEL_FIELD_NUMBER; + hash = (53 * hash) + getModel().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * Contains information about the original Model if this Model is a copy.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo) + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ModelProto + .internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ModelProto + .internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.class, + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + model_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ModelProto + .internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo build() { + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo buildPartial() { + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo result = + new com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.model_ = model_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo other) { + if (other + == com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.getDefaultInstance()) + return this; + if (!other.getModel().isEmpty()) { + model_ = other.model_; + 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: + { + model_ = 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 model_ = ""; + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The model. + */ + public java.lang.String getModel() { + java.lang.Object ref = model_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + model_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for model. + */ + public com.google.protobuf.ByteString getModelBytes() { + java.lang.Object ref = model_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + model_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The model to set. + * @return This builder for chaining. + */ + public Builder setModel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + model_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearModel() { + model_ = getDefaultInstance().getModel(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The resource name of the Model this Model is a copy of,
+       * including the revision. Format:
+       * `projects/{project}/locations/{location}/models/{model_id}@{version_id}`
+       * 
+ * + * + * string model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for model to set. + * @return This builder for chaining. + */ + public Builder setModelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + model_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo) + private static final com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo(); + } + + public static com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OriginalModelInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -3891,6 +4578,66 @@ public com.google.cloud.aiplatform.v1beta1.ModelSourceInfo getModelSourceInfo() : modelSourceInfo_; } + public static final int ORIGINAL_MODEL_INFO_FIELD_NUMBER = 34; + private com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo originalModelInfo_; + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the originalModelInfo field is set. + */ + @java.lang.Override + public boolean hasOriginalModelInfo() { + return originalModelInfo_ != null; + } + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The originalModelInfo. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo getOriginalModelInfo() { + return originalModelInfo_ == null + ? com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.getDefaultInstance() + : originalModelInfo_; + } + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfoOrBuilder + getOriginalModelInfoOrBuilder() { + return originalModelInfo_ == null + ? com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.getDefaultInstance() + : originalModelInfo_; + } + public static final int METADATA_ARTIFACT_FIELD_NUMBER = 44; @SuppressWarnings("serial") @@ -4043,6 +4790,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (versionUpdateTime_ != null) { output.writeMessage(32, getVersionUpdateTime()); } + if (originalModelInfo_ != null) { + output.writeMessage(34, getOriginalModelInfo()); + } if (modelSourceInfo_ != null) { output.writeMessage(38, getModelSourceInfo()); } @@ -4168,6 +4918,9 @@ public int getSerializedSize() { if (versionUpdateTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(32, getVersionUpdateTime()); } + if (originalModelInfo_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(34, getOriginalModelInfo()); + } if (modelSourceInfo_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getModelSourceInfo()); } @@ -4250,6 +5003,10 @@ public boolean equals(final java.lang.Object obj) { if (hasModelSourceInfo()) { if (!getModelSourceInfo().equals(other.getModelSourceInfo())) return false; } + if (hasOriginalModelInfo() != other.hasOriginalModelInfo()) return false; + if (hasOriginalModelInfo()) { + if (!getOriginalModelInfo().equals(other.getOriginalModelInfo())) return false; + } if (!getMetadataArtifact().equals(other.getMetadataArtifact())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4348,6 +5105,10 @@ public int hashCode() { hash = (37 * hash) + MODEL_SOURCE_INFO_FIELD_NUMBER; hash = (53 * hash) + getModelSourceInfo().hashCode(); } + if (hasOriginalModelInfo()) { + hash = (37 * hash) + ORIGINAL_MODEL_INFO_FIELD_NUMBER; + hash = (53 * hash) + getOriginalModelInfo().hashCode(); + } hash = (37 * hash) + METADATA_ARTIFACT_FIELD_NUMBER; hash = (53 * hash) + getMetadataArtifact().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -4591,6 +5352,11 @@ public Builder clear() { modelSourceInfoBuilder_.dispose(); modelSourceInfoBuilder_ = null; } + originalModelInfo_ = null; + if (originalModelInfoBuilder_ != null) { + originalModelInfoBuilder_.dispose(); + originalModelInfoBuilder_ = null; + } metadataArtifact_ = ""; return this; } @@ -4744,6 +5510,12 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.Model result) { modelSourceInfoBuilder_ == null ? modelSourceInfo_ : modelSourceInfoBuilder_.build(); } if (((from_bitField0_ & 0x04000000) != 0)) { + result.originalModelInfo_ = + originalModelInfoBuilder_ == null + ? originalModelInfo_ + : originalModelInfoBuilder_.build(); + } + if (((from_bitField0_ & 0x08000000) != 0)) { result.metadataArtifact_ = metadataArtifact_; } } @@ -4964,9 +5736,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.Model other) { if (other.hasModelSourceInfo()) { mergeModelSourceInfo(other.getModelSourceInfo()); } + if (other.hasOriginalModelInfo()) { + mergeOriginalModelInfo(other.getOriginalModelInfo()); + } if (!other.getMetadataArtifact().isEmpty()) { metadataArtifact_ = other.metadataArtifact_; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -5185,6 +5960,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000010; break; } // case 258 + case 274: + { + input.readMessage( + getOriginalModelInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x04000000; + break; + } // case 274 case 306: { input.readMessage(getModelSourceInfoFieldBuilder().getBuilder(), extensionRegistry); @@ -5194,7 +5976,7 @@ public Builder mergeFrom( case 354: { metadataArtifact_ = input.readStringRequireUtf8(); - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; break; } // case 354 default: @@ -11255,6 +12037,223 @@ public com.google.cloud.aiplatform.v1beta1.ModelSourceInfo.Builder getModelSourc return modelSourceInfoBuilder_; } + private com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo originalModelInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo, + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.Builder, + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfoOrBuilder> + originalModelInfoBuilder_; + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the originalModelInfo field is set. + */ + public boolean hasOriginalModelInfo() { + return ((bitField0_ & 0x04000000) != 0); + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The originalModelInfo. + */ + public com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo getOriginalModelInfo() { + if (originalModelInfoBuilder_ == null) { + return originalModelInfo_ == null + ? com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.getDefaultInstance() + : originalModelInfo_; + } else { + return originalModelInfoBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setOriginalModelInfo( + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo value) { + if (originalModelInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + originalModelInfo_ = value; + } else { + originalModelInfoBuilder_.setMessage(value); + } + bitField0_ |= 0x04000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setOriginalModelInfo( + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.Builder builderForValue) { + if (originalModelInfoBuilder_ == null) { + originalModelInfo_ = builderForValue.build(); + } else { + originalModelInfoBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x04000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeOriginalModelInfo( + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo value) { + if (originalModelInfoBuilder_ == null) { + if (((bitField0_ & 0x04000000) != 0) + && originalModelInfo_ != null + && originalModelInfo_ + != com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo + .getDefaultInstance()) { + getOriginalModelInfoBuilder().mergeFrom(value); + } else { + originalModelInfo_ = value; + } + } else { + originalModelInfoBuilder_.mergeFrom(value); + } + bitField0_ |= 0x04000000; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearOriginalModelInfo() { + bitField0_ = (bitField0_ & ~0x04000000); + originalModelInfo_ = null; + if (originalModelInfoBuilder_ != null) { + originalModelInfoBuilder_.dispose(); + originalModelInfoBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.Builder + getOriginalModelInfoBuilder() { + bitField0_ |= 0x04000000; + onChanged(); + return getOriginalModelInfoFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfoOrBuilder + getOriginalModelInfoOrBuilder() { + if (originalModelInfoBuilder_ != null) { + return originalModelInfoBuilder_.getMessageOrBuilder(); + } else { + return originalModelInfo_ == null + ? com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.getDefaultInstance() + : originalModelInfo_; + } + } + /** + * + * + *
+     * Output only. If this Model is a copy of another Model, this contains info
+     * about the original.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo, + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.Builder, + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfoOrBuilder> + getOriginalModelInfoFieldBuilder() { + if (originalModelInfoBuilder_ == null) { + originalModelInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo, + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo.Builder, + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfoOrBuilder>( + getOriginalModelInfo(), getParentForChildren(), isClean()); + originalModelInfo_ = null; + } + return originalModelInfoBuilder_; + } + private java.lang.Object metadataArtifact_ = ""; /** * @@ -11326,7 +12325,7 @@ public Builder setMetadataArtifact(java.lang.String value) { throw new NullPointerException(); } metadataArtifact_ = value; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -11346,7 +12345,7 @@ public Builder setMetadataArtifact(java.lang.String value) { */ public Builder clearMetadataArtifact() { metadataArtifact_ = getDefaultInstance().getMetadataArtifact(); - bitField0_ = (bitField0_ & ~0x04000000); + bitField0_ = (bitField0_ & ~0x08000000); onChanged(); return this; } @@ -11371,7 +12370,7 @@ public Builder setMetadataArtifactBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); metadataArtifact_ = value; - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); return this; } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelDeploymentMonitoringJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelDeploymentMonitoringJobProto.java index 1b70c1bd76a1..5d79b44c1092 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelDeploymentMonitoringJobProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelDeploymentMonitoringJobProto.java @@ -173,14 +173,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "G_OBJECTIVE_TYPE_UNSPECIFIED\020\000\022\024\n\020RAW_FE" + "ATURE_SKEW\020\001\022\025\n\021RAW_FEATURE_DRIFT\020\002\022\034\n\030F" + "EATURE_ATTRIBUTION_SKEW\020\003\022\035\n\031FEATURE_ATT" - + "RIBUTION_DRIFT\020\004B\376\001\n#com.google.cloud.ai" + + "RIBUTION_DRIFT\020\004B\370\001\n#com.google.cloud.ai" + "platform.v1beta1B!ModelDeploymentMonitor" - + "ingJobProtoP\001ZIgoogle.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1beta1;ai" - + "platform\252\002\037Google.Cloud.AIPlatform.V1Bet" - + "a1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"G" - + "oogle::Cloud::AIPlatform::V1beta1b\006proto" - + "3" + + "ingJobProtoP\001ZCcloud.google.com/go/aipla" + + "tform/apiv1beta1/aiplatformpb;aiplatform" + + "pb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037G" + + "oogle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google:" + + ":Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationProto.java index 0423d487c5ef..6f36bd693539 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationProto.java @@ -68,13 +68,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\352A|\n)aiplatform.googleapis.com/ModelEval" + "uation\022Oprojects/{project}/locations/{lo" + "cation}/models/{model}/evaluations/{eval" - + "uation}B\361\001\n#com.google.cloud.aiplatform." - + "v1beta1B\024ModelEvaluationProtoP\001ZIgoogle." - + "golang.org/genproto/googleapis/cloud/aip" - + "latform/v1beta1;aiplatform\252\002\037Google.Clou" - + "d.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPl" - + "atform\\V1beta1\352\002\"Google::Cloud::AIPlatfo" - + "rm::V1beta1b\006proto3" + + "uation}B\353\001\n#com.google.cloud.aiplatform." + + "v1beta1B\024ModelEvaluationProtoP\001ZCcloud.g" + + "oogle.com/go/aiplatform/apiv1beta1/aipla" + + "tformpb;aiplatformpb\252\002\037Google.Cloud.AIPl" + + "atform.V1Beta1\312\002\037Google\\Cloud\\AIPlatform" + + "\\V1beta1\352\002\"Google::Cloud::AIPlatform::V1" + + "beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationSliceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationSliceProto.java index d627708c0f29..c28f9367246a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationSliceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelEvaluationSliceProto.java @@ -61,13 +61,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "com/ModelEvaluationSlice\022^projects/{proj" + "ect}/locations/{location}/models/{model}" + "/evaluations/{evaluation}/slices/{slice}" - + "B\366\001\n#com.google.cloud.aiplatform.v1beta1" - + "B\031ModelEvaluationSliceProtoP\001ZIgoogle.go" - + "lang.org/genproto/googleapis/cloud/aipla" - + "tform/v1beta1;aiplatform\252\002\037Google.Cloud." - + "AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlat" - + "form\\V1beta1\352\002\"Google::Cloud::AIPlatform" - + "::V1beta1b\006proto3" + + "B\360\001\n#com.google.cloud.aiplatform.v1beta1" + + "B\031ModelEvaluationSliceProtoP\001ZCcloud.goo" + + "gle.com/go/aiplatform/apiv1beta1/aiplatf" + + "ormpb;aiplatformpb\252\002\037Google.Cloud.AIPlat" + + "form.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V" + + "1beta1\352\002\"Google::Cloud::AIPlatform::V1be" + + "ta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringProto.java index a3f4658fd158..e781acaade6b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelMonitoringProto.java @@ -194,13 +194,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_sample_config\030\001 \001(\0132D.google.cloud.aipl" + "atform.v1beta1.SamplingStrategy.RandomSa" + "mpleConfig\032)\n\022RandomSampleConfig\022\023\n\013samp" - + "le_rate\030\001 \001(\001B\361\001\n#com.google.cloud.aipla" - + "tform.v1beta1B\024ModelMonitoringProtoP\001ZIg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1beta1;aiplatform\252\002\037Googl" - + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou" - + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI" - + "Platform::V1beta1b\006proto3" + + "le_rate\030\001 \001(\001B\353\001\n#com.google.cloud.aipla" + + "tform.v1beta1B\024ModelMonitoringProtoP\001ZCc" + + "loud.google.com/go/aiplatform/apiv1beta1" + + "/aiplatformpb;aiplatformpb\252\002\037Google.Clou" + + "d.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPl" + + "atform\\V1beta1\352\002\"Google::Cloud::AIPlatfo" + + "rm::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelOrBuilder.java index 67d76e5bd9c6..f00ac60b9e5d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelOrBuilder.java @@ -1622,6 +1622,51 @@ java.lang.String getLabelsOrDefault( */ com.google.cloud.aiplatform.v1beta1.ModelSourceInfoOrBuilder getModelSourceInfoOrBuilder(); + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the originalModelInfo field is set. + */ + boolean hasOriginalModelInfo(); + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The originalModelInfo. + */ + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo getOriginalModelInfo(); + /** + * + * + *
+   * Output only. If this Model is a copy of another Model, this contains info
+   * about the original.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo original_model_info = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.Model.OriginalModelInfoOrBuilder + getOriginalModelInfoOrBuilder(); + /** * * diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelProto.java index d527d67b3809..2293cf86b746 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelProto.java @@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_Model_ExportFormat_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_Model_ExportFormat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_Model_LabelsEntry_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -74,7 +78,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "eta1/env_var.proto\0321google/cloud/aiplatf" + "orm/v1beta1/explanation.proto\032\034google/pr" + "otobuf/struct.proto\032\037google/protobuf/tim" - + "estamp.proto\"\250\017\n\005Model\022\014\n\004name\030\001 \001(\t\022\032\n\n" + + "estamp.proto\"\321\020\n\005Model\022\014\n\004name\030\001 \001(\t\022\032\n\n" + "version_id\030\034 \001(\tB\006\340A\005\340A\003\022\027\n\017version_alia" + "ses\030\035 \003(\t\022<\n\023version_create_time\030\037 \001(\0132\032" + ".google.protobuf.TimestampB\003\340A\003\022<\n\023versi" @@ -109,42 +113,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ry\022H\n\017encryption_spec\030\030 \001(\0132/.google.clo" + "ud.aiplatform.v1beta1.EncryptionSpec\022P\n\021" + "model_source_info\030& \001(\01320.google.cloud.a" - + "iplatform.v1beta1.ModelSourceInfoB\003\340A\003\022\036" - + "\n\021metadata_artifact\030, \001(\tB\003\340A\003\032\332\001\n\014Expor" - + "tFormat\022\017\n\002id\030\001 \001(\tB\003\340A\003\022g\n\023exportable_c" - + "ontents\030\002 \003(\0162E.google.cloud.aiplatform." - + "v1beta1.Model.ExportFormat.ExportableCon" - + "tentB\003\340A\003\"P\n\021ExportableContent\022\"\n\036EXPORT" - + "ABLE_CONTENT_UNSPECIFIED\020\000\022\014\n\010ARTIFACT\020\001" - + "\022\t\n\005IMAGE\020\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001\"\214\001\n\027DeploymentResourc" - + "esType\022)\n%DEPLOYMENT_RESOURCES_TYPE_UNSP" - + "ECIFIED\020\000\022\027\n\023DEDICATED_RESOURCES\020\001\022\027\n\023AU" - + "TOMATIC_RESOURCES\020\002\022\024\n\020SHARED_RESOURCES\020" - + "\003:\\\352AY\n\037aiplatform.googleapis.com/Model\022" - + "6projects/{project}/locations/{location}" - + "/models/{model}\"{\n\017PredictSchemata\022 \n\023in" - + "stance_schema_uri\030\001 \001(\tB\003\340A\005\022\"\n\025paramete" - + "rs_schema_uri\030\002 \001(\tB\003\340A\005\022\"\n\025prediction_s" - + "chema_uri\030\003 \001(\tB\003\340A\005\"\205\002\n\022ModelContainerS" - + "pec\022\031\n\timage_uri\030\001 \001(\tB\006\340A\002\340A\005\022\024\n\007comman" - + "d\030\002 \003(\tB\003\340A\005\022\021\n\004args\030\003 \003(\tB\003\340A\005\0229\n\003env\030\004" - + " \003(\0132\'.google.cloud.aiplatform.v1beta1.E" - + "nvVarB\003\340A\005\0229\n\005ports\030\005 \003(\0132%.google.cloud" - + ".aiplatform.v1beta1.PortB\003\340A\005\022\032\n\rpredict" - + "_route\030\006 \001(\tB\003\340A\005\022\031\n\014health_route\030\007 \001(\tB" - + "\003\340A\005\"\036\n\004Port\022\026\n\016container_port\030\003 \001(\005\"\300\001\n" - + "\017ModelSourceInfo\022U\n\013source_type\030\001 \001(\0162@." - + "google.cloud.aiplatform.v1beta1.ModelSou" - + "rceInfo.ModelSourceType\"V\n\017ModelSourceTy" - + "pe\022!\n\035MODEL_SOURCE_TYPE_UNSPECIFIED\020\000\022\n\n" - + "\006AUTOML\020\001\022\n\n\006CUSTOM\020\002\022\010\n\004BQML\020\003B\347\001\n#com." - + "google.cloud.aiplatform.v1beta1B\nModelPr" - + "otoP\001ZIgoogle.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1beta1;aiplatform" - + "\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goo" - + "gle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::C" - + "loud::AIPlatform::V1beta1b\006proto3" + + "iplatform.v1beta1.ModelSourceInfoB\003\340A\003\022Z" + + "\n\023original_model_info\030\" \001(\01328.google.clo" + + "ud.aiplatform.v1beta1.Model.OriginalMode" + + "lInfoB\003\340A\003\022\036\n\021metadata_artifact\030, \001(\tB\003\340" + + "A\003\032\332\001\n\014ExportFormat\022\017\n\002id\030\001 \001(\tB\003\340A\003\022g\n\023" + + "exportable_contents\030\002 \003(\0162E.google.cloud" + + ".aiplatform.v1beta1.Model.ExportFormat.E" + + "xportableContentB\003\340A\003\"P\n\021ExportableConte" + + "nt\022\"\n\036EXPORTABLE_CONTENT_UNSPECIFIED\020\000\022\014" + + "\n\010ARTIFACT\020\001\022\t\n\005IMAGE\020\002\032K\n\021OriginalModel" + + "Info\0226\n\005model\030\001 \001(\tB\'\340A\003\372A!\n\037aiplatform." + + "googleapis.com/Model\032-\n\013LabelsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\214\001\n\027Deployme" + + "ntResourcesType\022)\n%DEPLOYMENT_RESOURCES_" + + "TYPE_UNSPECIFIED\020\000\022\027\n\023DEDICATED_RESOURCE" + + "S\020\001\022\027\n\023AUTOMATIC_RESOURCES\020\002\022\024\n\020SHARED_R" + + "ESOURCES\020\003:\\\352AY\n\037aiplatform.googleapis.c" + + "om/Model\0226projects/{project}/locations/{" + + "location}/models/{model}\"{\n\017PredictSchem" + + "ata\022 \n\023instance_schema_uri\030\001 \001(\tB\003\340A\005\022\"\n" + + "\025parameters_schema_uri\030\002 \001(\tB\003\340A\005\022\"\n\025pre" + + "diction_schema_uri\030\003 \001(\tB\003\340A\005\"\205\002\n\022ModelC" + + "ontainerSpec\022\031\n\timage_uri\030\001 \001(\tB\006\340A\002\340A\005\022" + + "\024\n\007command\030\002 \003(\tB\003\340A\005\022\021\n\004args\030\003 \003(\tB\003\340A\005" + + "\0229\n\003env\030\004 \003(\0132\'.google.cloud.aiplatform." + + "v1beta1.EnvVarB\003\340A\005\0229\n\005ports\030\005 \003(\0132%.goo" + + "gle.cloud.aiplatform.v1beta1.PortB\003\340A\005\022\032" + + "\n\rpredict_route\030\006 \001(\tB\003\340A\005\022\031\n\014health_rou" + + "te\030\007 \001(\tB\003\340A\005\"\036\n\004Port\022\026\n\016container_port\030" + + "\003 \001(\005\"\300\001\n\017ModelSourceInfo\022U\n\013source_type" + + "\030\001 \001(\0162@.google.cloud.aiplatform.v1beta1" + + ".ModelSourceInfo.ModelSourceType\"V\n\017Mode" + + "lSourceType\022!\n\035MODEL_SOURCE_TYPE_UNSPECI" + + "FIED\020\000\022\n\n\006AUTOML\020\001\022\n\n\006CUSTOM\020\002\022\010\n\004BQML\020\003" + + "B\341\001\n#com.google.cloud.aiplatform.v1beta1" + + "B\nModelProtoP\001ZCcloud.google.com/go/aipl" + + "atform/apiv1beta1/aiplatformpb;aiplatfor" + + "mpb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037" + + "Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Google" + + "::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -191,6 +199,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Labels", "EncryptionSpec", "ModelSourceInfo", + "OriginalModelInfo", "MetadataArtifact", }); internal_static_google_cloud_aiplatform_v1beta1_Model_ExportFormat_descriptor = @@ -201,8 +210,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Id", "ExportableContents", }); - internal_static_google_cloud_aiplatform_v1beta1_Model_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_descriptor = internal_static_google_cloud_aiplatform_v1beta1_Model_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_Model_OriginalModelInfo_descriptor, + new java.lang.String[] { + "Model", + }); + internal_static_google_cloud_aiplatform_v1beta1_Model_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_Model_descriptor.getNestedTypes().get(2); internal_static_google_cloud_aiplatform_v1beta1_Model_LabelsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_Model_LabelsEntry_descriptor, diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceProto.java index e722dc94fdec..99da54fc192d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ModelServiceProto.java @@ -107,6 +107,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_ExportModelResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_ExportModelResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -157,215 +169,236 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1beta1\032\034google/api/annotations.proto\032\027go" + "ogle/api/client.proto\032\037google/api/field_" + "behavior.proto\032\031google/api/resource.prot" - + "o\0321google/cloud/aiplatform/v1beta1/expla" - + "nation.proto\032(google/cloud/aiplatform/v1" - + "beta1/io.proto\032+google/cloud/aiplatform/" - + "v1beta1/model.proto\0326google/cloud/aiplat" - + "form/v1beta1/model_evaluation.proto\032" - + "\202\323\344\223\0021\022//v1beta1/{name=projects/*/locati" - + "ons/*/models/*}\332A\004name\022\267\001\n\nListModels\0222." - + "google.cloud.aiplatform.v1beta1.ListMode" - + "lsRequest\0323.google.cloud.aiplatform.v1be" - + "ta1.ListModelsResponse\"@\202\323\344\223\0021\022//v1beta1" - + "/{parent=projects/*/locations/*}/models\332" - + "A\006parent\022\327\001\n\021ListModelVersions\0229.google." - + "cloud.aiplatform.v1beta1.ListModelVersio" - + "nsRequest\032:.google.cloud.aiplatform.v1be" - + "ta1.ListModelVersionsResponse\"K\202\323\344\223\002>\02225/v1beta1/{model" - + ".name=projects/*/locations/*/models/*}:\005" - + "model\332A\021model,update_mask\022\252\002\n\030UpdateExpl" - + "anationDataset\022@.google.cloud.aiplatform" - + ".v1beta1.UpdateExplanationDatasetRequest" - + "\032\035.google.longrunning.Operation\"\254\001\202\323\344\223\002N" - + "\"I/v1beta1/{model=projects/*/locations/*" - + "/models/*}:updateExplanationDataset:\001*\332A" - + "\005model\312AM\n UpdateExplanationDatasetRespo" - + "nse\022)UpdateExplanationDatasetOperationMe" - + "tadata\022\324\001\n\013DeleteModel\0223.google.cloud.ai" - + "platform.v1beta1.DeleteModelRequest\032\035.go" - + "ogle.longrunning.Operation\"q\202\323\344\223\0021*//v1b" - + "eta1/{name=projects/*/locations/*/models" - + "/*}\332A\004name\312A0\n\025google.protobuf.Empty\022\027De" - + "leteOperationMetadata\022\360\001\n\022DeleteModelVer" - + "sion\022:.google.cloud.aiplatform.v1beta1.D" - + "eleteModelVersionRequest\032\035.google.longru" - + "nning.Operation\"\177\202\323\344\223\002?*=/v1beta1/{name=" - + "projects/*/locations/*/models/*}:deleteV" - + "ersion\332A\004name\312A0\n\025google.protobuf.Empty\022" - + "\027DeleteOperationMetadata\022\341\001\n\023MergeVersio" - + "nAliases\022;.google.cloud.aiplatform.v1bet" - + "a1.MergeVersionAliasesRequest\032&.google.c" - + "loud.aiplatform.v1beta1.Model\"e\202\323\344\223\002H\"C/" + + "o\0325google/cloud/aiplatform/v1beta1/encry" + + "ption_spec.proto\0321google/cloud/aiplatfor" + + "m/v1beta1/explanation.proto\032(google/clou" + + "d/aiplatform/v1beta1/io.proto\032+google/cl" + + "oud/aiplatform/v1beta1/model.proto\0326goog" + + "le/cloud/aiplatform/v1beta1/model_evalua" + + "tion.proto\032\202\323\344\223\0021\022//v1beta1/{name=projects/*/loc" + + "ations/*/models/*}\332A\004name\022\267\001\n\nListModels" + + "\0222.google.cloud.aiplatform.v1beta1.ListM" + + "odelsRequest\0323.google.cloud.aiplatform.v" + + "1beta1.ListModelsResponse\"@\202\323\344\223\0021\022//v1be" + + "ta1/{parent=projects/*/locations/*}/mode" + + "ls\332A\006parent\022\327\001\n\021ListModelVersions\0229.goog" + + "le.cloud.aiplatform.v1beta1.ListModelVer" + + "sionsRequest\032:.google.cloud.aiplatform.v" + + "1beta1.ListModelVersionsResponse\"K\202\323\344\223\002>" + + "\02225/v1beta1/{mo" + + "del.name=projects/*/locations/*/models/*" + + "}:\005model\332A\021model,update_mask\022\252\002\n\030UpdateE" + + "xplanationDataset\022@.google.cloud.aiplatf" + + "orm.v1beta1.UpdateExplanationDatasetRequ" + + "est\032\035.google.longrunning.Operation\"\254\001\202\323\344" + + "\223\002N\"I/v1beta1/{model=projects/*/location" + + "s/*/models/*}:updateExplanationDataset:\001" + + "*\332A\005model\312AM\n UpdateExplanationDatasetRe" + + "sponse\022)UpdateExplanationDatasetOperatio" + + "nMetadata\022\324\001\n\013DeleteModel\0223.google.cloud" + + ".aiplatform.v1beta1.DeleteModelRequest\032\035" + + ".google.longrunning.Operation\"q\202\323\344\223\0021*//" + "v1beta1/{name=projects/*/locations/*/mod" - + "els/*}:mergeVersionAliases:\001*\332A\024name,ver" - + "sion_aliases\022\360\001\n\013ExportModel\0223.google.cl" - + "oud.aiplatform.v1beta1.ExportModelReques" - + "t\032\035.google.longrunning.Operation\"\214\001\202\323\344\223\002" - + ";\"6/v1beta1/{name=projects/*/locations/*" - + "/models/*}:export:\001*\332A\022name,output_confi" - + "g\312A3\n\023ExportModelResponse\022\034ExportModelOp" - + "erationMetadata\022\363\001\n\025ImportModelEvaluatio" - + "n\022=.google.cloud.aiplatform.v1beta1.Impo" - + "rtModelEvaluationRequest\0320.google.cloud." - + "aiplatform.v1beta1.ModelEvaluation\"i\202\323\344\223" - + "\002I\"D/v1beta1/{parent=projects/*/location" - + "s/*/models/*}/evaluations:import:\001*\332A\027pa" - + "rent,model_evaluation\022\267\002\n BatchImportMod" - + "elEvaluationSlices\022H.google.cloud.aiplat" - + "form.v1beta1.BatchImportModelEvaluationS" - + "licesRequest\032I.google.cloud.aiplatform.v" - + "1beta1.BatchImportModelEvaluationSlicesR" - + "esponse\"~\202\323\344\223\002W\"R/v1beta1/{parent=projec" - + "ts/*/locations/*/models/*/evaluations/*}" - + "/slices:batchImport:\001*\332A\036parent,model_ev" - + "aluation_slices\022\320\001\n\022GetModelEvaluation\022:" - + ".google.cloud.aiplatform.v1beta1.GetMode" - + "lEvaluationRequest\0320.google.cloud.aiplat" - + "form.v1beta1.ModelEvaluation\"L\202\323\344\223\002?\022=/v" - + "1beta1/{name=projects/*/locations/*/mode" - + "ls/*/evaluations/*}\332A\004name\022\343\001\n\024ListModel" - + "Evaluations\022<.google.cloud.aiplatform.v1" - + "beta1.ListModelEvaluationsRequest\032=.goog" - + "le.cloud.aiplatform.v1beta1.ListModelEva" - + "luationsResponse\"N\202\323\344\223\002?\022=/v1beta1/{pare" - + "nt=projects/*/locations/*/models/*}/eval" - + "uations\332A\006parent\022\350\001\n\027GetModelEvaluationS" - + "lice\022?.google.cloud.aiplatform.v1beta1.G" - + "etModelEvaluationSliceRequest\0325.google.c" - + "loud.aiplatform.v1beta1.ModelEvaluationS" - + "lice\"U\202\323\344\223\002H\022F/v1beta1/{name=projects/*/" - + "locations/*/models/*/evaluations/*/slice" - + "s/*}\332A\004name\022\373\001\n\031ListModelEvaluationSlice" - + "s\022A.google.cloud.aiplatform.v1beta1.List" - + "ModelEvaluationSlicesRequest\032B.google.cl" - + "oud.aiplatform.v1beta1.ListModelEvaluati" - + "onSlicesResponse\"W\202\323\344\223\002H\022F/v1beta1/{pare" - + "nt=projects/*/locations/*/models/*/evalu" - + "ations/*}/slices\332A\006parent\032M\312A\031aiplatform" - + ".googleapis.com\322A.https://www.googleapis" - + ".com/auth/cloud-platformB\356\001\n#com.google." - + "cloud.aiplatform.v1beta1B\021ModelServicePr" - + "otoP\001ZIgoogle.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1beta1;aiplatform" - + "\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goo" - + "gle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::C" - + "loud::AIPlatform::V1beta1b\006proto3" + + "els/*}\332A\004name\312A0\n\025google.protobuf.Empty\022" + + "\027DeleteOperationMetadata\022\360\001\n\022DeleteModel" + + "Version\022:.google.cloud.aiplatform.v1beta" + + "1.DeleteModelVersionRequest\032\035.google.lon" + + "grunning.Operation\"\177\202\323\344\223\002?*=/v1beta1/{na" + + "me=projects/*/locations/*/models/*}:dele" + + "teVersion\332A\004name\312A0\n\025google.protobuf.Emp" + + "ty\022\027DeleteOperationMetadata\022\341\001\n\023MergeVer" + + "sionAliases\022;.google.cloud.aiplatform.v1" + + "beta1.MergeVersionAliasesRequest\032&.googl" + + "e.cloud.aiplatform.v1beta1.Model\"e\202\323\344\223\002H" + + "\"C/v1beta1/{name=projects/*/locations/*/" + + "models/*}:mergeVersionAliases:\001*\332A\024name," + + "version_aliases\022\360\001\n\013ExportModel\0223.google" + + ".cloud.aiplatform.v1beta1.ExportModelReq" + + "uest\032\035.google.longrunning.Operation\"\214\001\202\323" + + "\344\223\002;\"6/v1beta1/{name=projects/*/location" + + "s/*/models/*}:export:\001*\332A\022name,output_co" + + "nfig\312A3\n\023ExportModelResponse\022\034ExportMode" + + "lOperationMetadata\022\347\001\n\tCopyModel\0221.googl" + + "e.cloud.aiplatform.v1beta1.CopyModelRequ" + + "est\032\035.google.longrunning.Operation\"\207\001\202\323\344" + + "\223\0029\"4/v1beta1/{parent=projects/*/locatio" + + "ns/*}/models:copy:\001*\332A\023parent,source_mod" + + "el\312A/\n\021CopyModelResponse\022\032CopyModelOpera" + + "tionMetadata\022\363\001\n\025ImportModelEvaluation\022=" + + ".google.cloud.aiplatform.v1beta1.ImportM" + + "odelEvaluationRequest\0320.google.cloud.aip" + + "latform.v1beta1.ModelEvaluation\"i\202\323\344\223\002I\"" + + "D/v1beta1/{parent=projects/*/locations/*" + + "/models/*}/evaluations:import:\001*\332A\027paren" + + "t,model_evaluation\022\267\002\n BatchImportModelE" + + "valuationSlices\022H.google.cloud.aiplatfor" + + "m.v1beta1.BatchImportModelEvaluationSlic" + + "esRequest\032I.google.cloud.aiplatform.v1be" + + "ta1.BatchImportModelEvaluationSlicesResp" + + "onse\"~\202\323\344\223\002W\"R/v1beta1/{parent=projects/" + + "*/locations/*/models/*/evaluations/*}/sl" + + "ices:batchImport:\001*\332A\036parent,model_evalu" + + "ation_slices\022\320\001\n\022GetModelEvaluation\022:.go" + + "ogle.cloud.aiplatform.v1beta1.GetModelEv" + + "aluationRequest\0320.google.cloud.aiplatfor" + + "m.v1beta1.ModelEvaluation\"L\202\323\344\223\002?\022=/v1be" + + "ta1/{name=projects/*/locations/*/models/" + + "*/evaluations/*}\332A\004name\022\343\001\n\024ListModelEva" + + "luations\022<.google.cloud.aiplatform.v1bet" + + "a1.ListModelEvaluationsRequest\032=.google." + + "cloud.aiplatform.v1beta1.ListModelEvalua" + + "tionsResponse\"N\202\323\344\223\002?\022=/v1beta1/{parent=" + + "projects/*/locations/*/models/*}/evaluat" + + "ions\332A\006parent\022\350\001\n\027GetModelEvaluationSlic" + + "e\022?.google.cloud.aiplatform.v1beta1.GetM" + + "odelEvaluationSliceRequest\0325.google.clou" + + "d.aiplatform.v1beta1.ModelEvaluationSlic" + + "e\"U\202\323\344\223\002H\022F/v1beta1/{name=projects/*/loc" + + "ations/*/models/*/evaluations/*/slices/*" + + "}\332A\004name\022\373\001\n\031ListModelEvaluationSlices\022A" + + ".google.cloud.aiplatform.v1beta1.ListMod" + + "elEvaluationSlicesRequest\032B.google.cloud" + + ".aiplatform.v1beta1.ListModelEvaluationS" + + "licesResponse\"W\202\323\344\223\002H\022F/v1beta1/{parent=" + + "projects/*/locations/*/models/*/evaluati" + + "ons/*}/slices\332A\006parent\032M\312A\031aiplatform.go" + + "ogleapis.com\322A.https://www.googleapis.co" + + "m/auth/cloud-platformB\350\001\n#com.google.clo" + + "ud.aiplatform.v1beta1B\021ModelServiceProto" + + "P\001ZCcloud.google.com/go/aiplatform/apiv1" + + "beta1/aiplatformpb;aiplatformpb\252\002\037Google" + + ".Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cloud" + + "\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AIP" + + "latform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -375,6 +408,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.aiplatform.v1beta1.EncryptionSpecProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.ExplanationProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.IoProto.getDescriptor(), com.google.cloud.aiplatform.v1beta1.ModelProto.getDescriptor(), @@ -544,8 +578,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ExportModelResponse_descriptor, new java.lang.String[] {}); - internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_descriptor = getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_CopyModelRequest_descriptor, + new java.lang.String[] { + "ModelId", + "ParentModel", + "Parent", + "SourceModel", + "EncryptionSpec", + "DestinationModel", + }); + internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_CopyModelOperationMetadata_descriptor, + new java.lang.String[] { + "GenericMetadata", + }); + internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_CopyModelResponse_descriptor, + new java.lang.String[] { + "Model", "ModelVersionId", + }); + internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor = + getDescriptor().getMessageTypes().get(21); internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ImportModelEvaluationRequest_descriptor, @@ -553,7 +616,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "ModelEvaluation", }); internal_static_google_cloud_aiplatform_v1beta1_BatchImportModelEvaluationSlicesRequest_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(22); internal_static_google_cloud_aiplatform_v1beta1_BatchImportModelEvaluationSlicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_BatchImportModelEvaluationSlicesRequest_descriptor, @@ -561,7 +624,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "ModelEvaluationSlices", }); internal_static_google_cloud_aiplatform_v1beta1_BatchImportModelEvaluationSlicesResponse_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(23); internal_static_google_cloud_aiplatform_v1beta1_BatchImportModelEvaluationSlicesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_BatchImportModelEvaluationSlicesResponse_descriptor, @@ -569,7 +632,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ImportedModelEvaluationSlices", }); internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationRequest_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(24); internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationRequest_descriptor, @@ -577,7 +640,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(25); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsRequest_descriptor, @@ -585,7 +648,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsResponse_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(26); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationsResponse_descriptor, @@ -593,7 +656,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ModelEvaluations", "NextPageToken", }); internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationSliceRequest_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(27); internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationSliceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_GetModelEvaluationSliceRequest_descriptor, @@ -601,7 +664,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesRequest_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(28); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesRequest_descriptor, @@ -609,7 +672,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Filter", "PageSize", "PageToken", "ReadMask", }); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesResponse_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(29); internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_ListModelEvaluationSlicesResponse_descriptor, @@ -631,6 +694,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.aiplatform.v1beta1.EncryptionSpecProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.ExplanationProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.IoProto.getDescriptor(); com.google.cloud.aiplatform.v1beta1.ModelProto.getDescriptor(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJob.java new file mode 100644 index 000000000000..987cd7044f40 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJob.java @@ -0,0 +1,3723 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Represents a Neural Architecture Search (NAS) job.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJob} + */ +public final class NasJob extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasJob) + NasJobOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasJob.newBuilder() to construct. + private NasJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasJob() { + name_ = ""; + displayName_ = ""; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasJob(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJob_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 12: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJob_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJob.class, + com.google.cloud.aiplatform.v1beta1.NasJob.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Output only. Resource name of the NasJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+   * Output only. Resource name of the NasJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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 DISPLAY_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object displayName_ = ""; + /** + * + * + *
+   * Required. The display name of the NasJob.
+   * The name can be up to 128 characters long and can consist of any UTF-8
+   * characters.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + 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(); + displayName_ = s; + return s; + } + } + /** + * + * + *
+   * Required. The display name of the NasJob.
+   * The name can be up to 128 characters long and can consist of any UTF-8
+   * characters.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAS_JOB_SPEC_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1beta1.NasJobSpec nasJobSpec_; + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJobSpec field is set. + */ + @java.lang.Override + public boolean hasNasJobSpec() { + return nasJobSpec_ != null; + } + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJobSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec getNasJobSpec() { + return nasJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.getDefaultInstance() + : nasJobSpec_; + } + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpecOrBuilder getNasJobSpecOrBuilder() { + return nasJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.getDefaultInstance() + : nasJobSpec_; + } + + public static final int NAS_JOB_OUTPUT_FIELD_NUMBER = 5; + private com.google.cloud.aiplatform.v1beta1.NasJobOutput nasJobOutput_; + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the nasJobOutput field is set. + */ + @java.lang.Override + public boolean hasNasJobOutput() { + return nasJobOutput_ != null; + } + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The nasJobOutput. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput getNasJobOutput() { + return nasJobOutput_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobOutput.getDefaultInstance() + : nasJobOutput_; + } + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutputOrBuilder getNasJobOutputOrBuilder() { + return nasJobOutput_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobOutput.getDefaultInstance() + : nasJobOutput_; + } + + public static final int STATE_FIELD_NUMBER = 6; + private int state_ = 0; + /** + * + * + *
+   * Output only. The detailed state of the job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState 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. The detailed state of the job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.JobState getState() { + com.google.cloud.aiplatform.v1beta1.JobState result = + com.google.cloud.aiplatform.v1beta1.JobState.forNumber(state_); + return result == null ? com.google.cloud.aiplatform.v1beta1.JobState.UNRECOGNIZED : result; + } + + public static final int CREATE_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.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 NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.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 START_TIME_FIELD_NUMBER = 8; + private com.google.protobuf.Timestamp startTime_; + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return startTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + public static final int END_TIME_FIELD_NUMBER = 9; + private com.google.protobuf.Timestamp endTime_; + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 10; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.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 NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.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 ERROR_FIELD_NUMBER = 11; + private com.google.rpc.Status error_; + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return error_ != null; + } + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.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. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.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 LABELS_FIELD_NUMBER = 12; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJob_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(); + } + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + @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(); + } + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + @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; + } + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + @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 ENCRYPTION_SPEC_FIELD_NUMBER = 13; + private com.google.cloud.aiplatform.v1beta1.EncryptionSpec encryptionSpec_; + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + * + * @return Whether the encryptionSpec field is set. + */ + @java.lang.Override + public boolean hasEncryptionSpec() { + return encryptionSpec_ != null; + } + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + * + * @return The encryptionSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.EncryptionSpec getEncryptionSpec() { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + + public static final int ENABLE_RESTRICTED_IMAGE_TRAINING_FIELD_NUMBER = 14; + private boolean enableRestrictedImageTraining_ = false; + /** + * + * + *
+   * Optional. Enable a separation of Custom model training
+   * and restricted image training for tenant project.
+   * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enableRestrictedImageTraining. + */ + @java.lang.Override + public boolean getEnableRestrictedImageTraining() { + return enableRestrictedImageTraining_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_); + } + if (nasJobSpec_ != null) { + output.writeMessage(4, getNasJobSpec()); + } + if (nasJobOutput_ != null) { + output.writeMessage(5, getNasJobOutput()); + } + if (state_ != com.google.cloud.aiplatform.v1beta1.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(6, state_); + } + if (createTime_ != null) { + output.writeMessage(7, getCreateTime()); + } + if (startTime_ != null) { + output.writeMessage(8, getStartTime()); + } + if (endTime_ != null) { + output.writeMessage(9, getEndTime()); + } + if (updateTime_ != null) { + output.writeMessage(10, getUpdateTime()); + } + if (error_ != null) { + output.writeMessage(11, getError()); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 12); + if (encryptionSpec_ != null) { + output.writeMessage(13, getEncryptionSpec()); + } + if (enableRestrictedImageTraining_ != false) { + output.writeBool(14, enableRestrictedImageTraining_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); + } + if (nasJobSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNasJobSpec()); + } + if (nasJobOutput_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getNasJobOutput()); + } + if (state_ != com.google.cloud.aiplatform.v1beta1.JobState.JOB_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + } + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getStartTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getEndTime()); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); + } + if (error_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getError()); + } + 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(12, labels__); + } + if (encryptionSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getEncryptionSpec()); + } + if (enableRestrictedImageTraining_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(14, enableRestrictedImageTraining_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.NasJob)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasJob other = + (com.google.cloud.aiplatform.v1beta1.NasJob) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (hasNasJobSpec() != other.hasNasJobSpec()) return false; + if (hasNasJobSpec()) { + if (!getNasJobSpec().equals(other.getNasJobSpec())) return false; + } + if (hasNasJobOutput() != other.hasNasJobOutput()) return false; + if (hasNasJobOutput()) { + if (!getNasJobOutput().equals(other.getNasJobOutput())) return false; + } + if (state_ != other.state_) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime().equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (hasError() != other.hasError()) return false; + if (hasError()) { + if (!getError().equals(other.getError())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (hasEncryptionSpec() != other.hasEncryptionSpec()) return false; + if (hasEncryptionSpec()) { + if (!getEncryptionSpec().equals(other.getEncryptionSpec())) return false; + } + if (getEnableRestrictedImageTraining() != other.getEnableRestrictedImageTraining()) + 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) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + if (hasNasJobSpec()) { + hash = (37 * hash) + NAS_JOB_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getNasJobSpec().hashCode(); + } + if (hasNasJobOutput()) { + hash = (37 * hash) + NAS_JOB_OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getNasJobOutput().hashCode(); + } + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (hasError()) { + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + if (hasEncryptionSpec()) { + hash = (37 * hash) + ENCRYPTION_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getEncryptionSpec().hashCode(); + } + hash = (37 * hash) + ENABLE_RESTRICTED_IMAGE_TRAINING_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableRestrictedImageTraining()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.NasJob prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a Neural Architecture Search (NAS) job.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJob} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasJob) + com.google.cloud.aiplatform.v1beta1.NasJobOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJob_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 12: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 12: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJob_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJob.class, + com.google.cloud.aiplatform.v1beta1.NasJob.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.NasJob.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + displayName_ = ""; + nasJobSpec_ = null; + if (nasJobSpecBuilder_ != null) { + nasJobSpecBuilder_.dispose(); + nasJobSpecBuilder_ = null; + } + nasJobOutput_ = null; + if (nasJobOutputBuilder_ != null) { + nasJobOutputBuilder_.dispose(); + nasJobOutputBuilder_ = null; + } + state_ = 0; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + internalGetMutableLabels().clear(); + encryptionSpec_ = null; + if (encryptionSpecBuilder_ != null) { + encryptionSpecBuilder_.dispose(); + encryptionSpecBuilder_ = null; + } + enableRestrictedImageTraining_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJob_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJob getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJob build() { + com.google.cloud.aiplatform.v1beta1.NasJob result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJob buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasJob result = + new com.google.cloud.aiplatform.v1beta1.NasJob(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.NasJob result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.displayName_ = displayName_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.nasJobSpec_ = nasJobSpecBuilder_ == null ? nasJobSpec_ : nasJobSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.nasJobOutput_ = + nasJobOutputBuilder_ == null ? nasJobOutput_ : nasJobOutputBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.encryptionSpec_ = + encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.enableRestrictedImageTraining_ = enableRestrictedImageTraining_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.NasJob) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.NasJob) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NasJob other) { + if (other == com.google.cloud.aiplatform.v1beta1.NasJob.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasNasJobSpec()) { + mergeNasJobSpec(other.getNasJobSpec()); + } + if (other.hasNasJobOutput()) { + mergeNasJobOutput(other.getNasJobOutput()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + if (other.hasError()) { + mergeError(other.getError()); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000400; + if (other.hasEncryptionSpec()) { + mergeEncryptionSpec(other.getEncryptionSpec()); + } + if (other.getEnableRestrictedImageTraining() != false) { + setEnableRestrictedImageTraining(other.getEnableRestrictedImageTraining()); + } + 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: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + input.readMessage(getNasJobSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: + { + input.readMessage(getNasJobOutputFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 48: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 48 + case 58: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 + case 90: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 90 + case 98: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000400; + break; + } // case 98 + case 106: + { + input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000800; + break; + } // case 106 + case 112: + { + enableRestrictedImageTraining_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 112 + 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_ = ""; + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Resource name of the NasJob.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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 displayName_ = ""; + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + displayName_ = getDefaultInstance().getDisplayName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The display name of the NasJob.
+     * The name can be up to 128 characters long and can consist of any UTF-8
+     * characters.
+     * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1beta1.NasJobSpec nasJobSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpecOrBuilder> + nasJobSpecBuilder_; + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJobSpec field is set. + */ + public boolean hasNasJobSpec() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJobSpec. + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec getNasJobSpec() { + if (nasJobSpecBuilder_ == null) { + return nasJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.getDefaultInstance() + : nasJobSpec_; + } else { + return nasJobSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNasJobSpec(com.google.cloud.aiplatform.v1beta1.NasJobSpec value) { + if (nasJobSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nasJobSpec_ = value; + } else { + nasJobSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNasJobSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.Builder builderForValue) { + if (nasJobSpecBuilder_ == null) { + nasJobSpec_ = builderForValue.build(); + } else { + nasJobSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeNasJobSpec(com.google.cloud.aiplatform.v1beta1.NasJobSpec value) { + if (nasJobSpecBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && nasJobSpec_ != null + && nasJobSpec_ != com.google.cloud.aiplatform.v1beta1.NasJobSpec.getDefaultInstance()) { + getNasJobSpecBuilder().mergeFrom(value); + } else { + nasJobSpec_ = value; + } + } else { + nasJobSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearNasJobSpec() { + bitField0_ = (bitField0_ & ~0x00000004); + nasJobSpec_ = null; + if (nasJobSpecBuilder_ != null) { + nasJobSpecBuilder_.dispose(); + nasJobSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.Builder getNasJobSpecBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getNasJobSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpecOrBuilder getNasJobSpecOrBuilder() { + if (nasJobSpecBuilder_ != null) { + return nasJobSpecBuilder_.getMessageOrBuilder(); + } else { + return nasJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.getDefaultInstance() + : nasJobSpec_; + } + } + /** + * + * + *
+     * Required. The specification of a NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpecOrBuilder> + getNasJobSpecFieldBuilder() { + if (nasJobSpecBuilder_ == null) { + nasJobSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpecOrBuilder>( + getNasJobSpec(), getParentForChildren(), isClean()); + nasJobSpec_ = null; + } + return nasJobSpecBuilder_; + } + + private com.google.cloud.aiplatform.v1beta1.NasJobOutput nasJobOutput_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobOutput, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOutputOrBuilder> + nasJobOutputBuilder_; + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the nasJobOutput field is set. + */ + public boolean hasNasJobOutput() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The nasJobOutput. + */ + public com.google.cloud.aiplatform.v1beta1.NasJobOutput getNasJobOutput() { + if (nasJobOutputBuilder_ == null) { + return nasJobOutput_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobOutput.getDefaultInstance() + : nasJobOutput_; + } else { + return nasJobOutputBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNasJobOutput(com.google.cloud.aiplatform.v1beta1.NasJobOutput value) { + if (nasJobOutputBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nasJobOutput_ = value; + } else { + nasJobOutputBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setNasJobOutput( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.Builder builderForValue) { + if (nasJobOutputBuilder_ == null) { + nasJobOutput_ = builderForValue.build(); + } else { + nasJobOutputBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeNasJobOutput(com.google.cloud.aiplatform.v1beta1.NasJobOutput value) { + if (nasJobOutputBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && nasJobOutput_ != null + && nasJobOutput_ + != com.google.cloud.aiplatform.v1beta1.NasJobOutput.getDefaultInstance()) { + getNasJobOutputBuilder().mergeFrom(value); + } else { + nasJobOutput_ = value; + } + } else { + nasJobOutputBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearNasJobOutput() { + bitField0_ = (bitField0_ & ~0x00000008); + nasJobOutput_ = null; + if (nasJobOutputBuilder_ != null) { + nasJobOutputBuilder_.dispose(); + nasJobOutputBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.Builder getNasJobOutputBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getNasJobOutputFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobOutputOrBuilder getNasJobOutputOrBuilder() { + if (nasJobOutputBuilder_ != null) { + return nasJobOutputBuilder_.getMessageOrBuilder(); + } else { + return nasJobOutput_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobOutput.getDefaultInstance() + : nasJobOutput_; + } + } + /** + * + * + *
+     * Output only. Output of the NasJob.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobOutput, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOutputOrBuilder> + getNasJobOutputFieldBuilder() { + if (nasJobOutputBuilder_ == null) { + nasJobOutputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobOutput, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOutputOrBuilder>( + getNasJobOutput(), getParentForChildren(), isClean()); + nasJobOutput_ = null; + } + return nasJobOutputBuilder_; + } + + private int state_ = 0; + /** + * + * + *
+     * Output only. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState 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. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState 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_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.JobState getState() { + com.google.cloud.aiplatform.v1beta1.JobState result = + com.google.cloud.aiplatform.v1beta1.JobState.forNumber(state_); + return result == null ? com.google.cloud.aiplatform.v1beta1.JobState.UNRECOGNIZED : result; + } + /** + * + * + *
+     * Output only. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState 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.aiplatform.v1beta1.JobState value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The detailed state of the job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000010); + state_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000020) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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 NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000020); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.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 NasJob was created.
+     * 
+ * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + 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 startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000040); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + * + * + *
+     * Output only. Time when the NasJob for the first time entered the
+     * `JOB_STATE_RUNNING` state.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000080); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + * + * + *
+     * Output only. Time when the NasJob entered any of the following states:
+     * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.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 NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.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_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.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_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00000100); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.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 NasJob was most recently updated.
+     * 
+ * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.rpc.Status error_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the error field is set. + */ + public boolean hasError() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.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. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.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_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.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_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeError(com.google.rpc.Status value) { + if (errorBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0) + && error_ != null + && error_ != com.google.rpc.Status.getDefaultInstance()) { + getErrorBuilder().mergeFrom(value); + } else { + error_ = value; + } + } else { + errorBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearError() { + bitField0_ = (bitField0_ & ~0x00000200); + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status.Builder getErrorBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getErrorFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.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. Only populated when job's state is JOB_STATE_FAILED or
+     * JOB_STATE_CANCELLED.
+     * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + getErrorFieldBuilder() { + if (errorBuilder_ == null) { + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + error_ = null; + } + return errorBuilder_; + } + + 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_ |= 0x00000400; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + @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(); + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + @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; + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + @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_ & ~0x00000400); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + 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_ |= 0x00000400; + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + 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_ |= 0x00000400; + return this; + } + /** + * + * + *
+     * The labels with user-defined metadata to organize NasJobs.
+     * Label keys and values can be no longer than 64 characters
+     * (Unicode codepoints), can only contain lowercase letters, numeric
+     * characters, underscores and dashes. International characters are allowed.
+     * See https://goo.gl/xmQnxf for more information and examples of labels.
+     * 
+ * + * map<string, string> labels = 12; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000400; + return this; + } + + private com.google.cloud.aiplatform.v1beta1.EncryptionSpec encryptionSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.EncryptionSpec, + com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder> + encryptionSpecBuilder_; + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + * + * @return Whether the encryptionSpec field is set. + */ + public boolean hasEncryptionSpec() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + * + * @return The encryptionSpec. + */ + public com.google.cloud.aiplatform.v1beta1.EncryptionSpec getEncryptionSpec() { + if (encryptionSpecBuilder_ == null) { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } else { + return encryptionSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + */ + public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1beta1.EncryptionSpec value) { + if (encryptionSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + encryptionSpec_ = value; + } else { + encryptionSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + */ + public Builder setEncryptionSpec( + com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder builderForValue) { + if (encryptionSpecBuilder_ == null) { + encryptionSpec_ = builderForValue.build(); + } else { + encryptionSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + */ + public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1beta1.EncryptionSpec value) { + if (encryptionSpecBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) + && encryptionSpec_ != null + && encryptionSpec_ + != com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance()) { + getEncryptionSpecBuilder().mergeFrom(value); + } else { + encryptionSpec_ = value; + } + } else { + encryptionSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000800; + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + */ + public Builder clearEncryptionSpec() { + bitField0_ = (bitField0_ & ~0x00000800); + encryptionSpec_ = null; + if (encryptionSpecBuilder_ != null) { + encryptionSpecBuilder_.dispose(); + encryptionSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + */ + public com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder getEncryptionSpecBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return getEncryptionSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + */ + public com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder + getEncryptionSpecOrBuilder() { + if (encryptionSpecBuilder_ != null) { + return encryptionSpecBuilder_.getMessageOrBuilder(); + } else { + return encryptionSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.EncryptionSpec.getDefaultInstance() + : encryptionSpec_; + } + } + /** + * + * + *
+     * Customer-managed encryption key options for a NasJob.
+     * If this is set, then all resources created by the NasJob
+     * will be encrypted with the provided encryption key.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.EncryptionSpec, + com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder> + getEncryptionSpecFieldBuilder() { + if (encryptionSpecBuilder_ == null) { + encryptionSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.EncryptionSpec, + com.google.cloud.aiplatform.v1beta1.EncryptionSpec.Builder, + com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder>( + getEncryptionSpec(), getParentForChildren(), isClean()); + encryptionSpec_ = null; + } + return encryptionSpecBuilder_; + } + + private boolean enableRestrictedImageTraining_; + /** + * + * + *
+     * Optional. Enable a separation of Custom model training
+     * and restricted image training for tenant project.
+     * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enableRestrictedImageTraining. + */ + @java.lang.Override + public boolean getEnableRestrictedImageTraining() { + return enableRestrictedImageTraining_; + } + /** + * + * + *
+     * Optional. Enable a separation of Custom model training
+     * and restricted image training for tenant project.
+     * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enableRestrictedImageTraining to set. + * @return This builder for chaining. + */ + public Builder setEnableRestrictedImageTraining(boolean value) { + + enableRestrictedImageTraining_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Enable a separation of Custom model training
+     * and restricted image training for tenant project.
+     * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearEnableRestrictedImageTraining() { + bitField0_ = (bitField0_ & ~0x00001000); + enableRestrictedImageTraining_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasJob) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasJob) + private static final com.google.cloud.aiplatform.v1beta1.NasJob DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.NasJob(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJob getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasJob parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJob getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobName.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobName.java new file mode 100644 index 000000000000..4da41e401811 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobName.java @@ -0,0 +1,223 @@ +/* + * Copyright 2022 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.aiplatform.v1beta1; + +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 NasJobName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_NAS_JOB = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/nasJobs/{nas_job}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String nasJob; + + @Deprecated + protected NasJobName() { + project = null; + location = null; + nasJob = null; + } + + private NasJobName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + nasJob = Preconditions.checkNotNull(builder.getNasJob()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNasJob() { + return nasJob; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static NasJobName of(String project, String location, String nasJob) { + return newBuilder().setProject(project).setLocation(location).setNasJob(nasJob).build(); + } + + public static String format(String project, String location, String nasJob) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNasJob(nasJob) + .build() + .toString(); + } + + public static NasJobName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_NAS_JOB.validatedMatch( + formattedString, "NasJobName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("nas_job")); + } + + 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 (NasJobName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_NAS_JOB.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 (nasJob != null) { + fieldMapBuilder.put("nas_job", nasJob); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_NAS_JOB.instantiate( + "project", project, "location", location, "nas_job", nasJob); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + NasJobName that = ((NasJobName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.nasJob, that.nasJob); + } + 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(nasJob); + return h; + } + + /** Builder for projects/{project}/locations/{location}/nasJobs/{nas_job}. */ + public static class Builder { + private String project; + private String location; + private String nasJob; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNasJob() { + return nasJob; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setNasJob(String nasJob) { + this.nasJob = nasJob; + return this; + } + + private Builder(NasJobName nasJobName) { + this.project = nasJobName.project; + this.location = nasJobName.location; + this.nasJob = nasJobName.nasJob; + } + + public NasJobName build() { + return new NasJobName(this); + } + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobOrBuilder.java new file mode 100644 index 000000000000..0d2d6ac0f011 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobOrBuilder.java @@ -0,0 +1,520 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface NasJobOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasJob) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Resource name of the NasJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. Resource name of the NasJob.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Required. The display name of the NasJob.
+   * The name can be up to 128 characters long and can consist of any UTF-8
+   * characters.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
+   * Required. The display name of the NasJob.
+   * The name can be up to 128 characters long and can consist of any UTF-8
+   * characters.
+   * 
+ * + * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the nasJobSpec field is set. + */ + boolean hasNasJobSpec(); + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The nasJobSpec. + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec getNasJobSpec(); + /** + * + * + *
+   * Required. The specification of a NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec nas_job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpecOrBuilder getNasJobSpecOrBuilder(); + + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the nasJobOutput field is set. + */ + boolean hasNasJobOutput(); + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The nasJobOutput. + */ + com.google.cloud.aiplatform.v1beta1.NasJobOutput getNasJobOutput(); + /** + * + * + *
+   * Output only. Output of the NasJob.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput nas_job_output = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.NasJobOutputOrBuilder getNasJobOutputOrBuilder(); + + /** + * + * + *
+   * Output only. The detailed state of the job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * + * + *
+   * Output only. The detailed state of the job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.JobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.aiplatform.v1beta1.JobState getState(); + + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
+   * Output only. Time when the NasJob was created.
+   * 
+ * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + * + * + *
+   * Output only. Time when the NasJob for the first time entered the
+   * `JOB_STATE_RUNNING` state.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * + * + *
+   * Output only. Time when the NasJob entered any of the following states:
+   * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
+   * Output only. Time when the NasJob was most recently updated.
+   * 
+ * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the error field is set. + */ + boolean hasError(); + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. + */ + com.google.rpc.Status getError(); + /** + * + * + *
+   * Output only. Only populated when job's state is JOB_STATE_FAILED or
+   * JOB_STATE_CANCELLED.
+   * 
+ * + * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.StatusOrBuilder getErrorOrBuilder(); + + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + int getLabelsCount(); + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + /** + * + * + *
+   * The labels with user-defined metadata to organize NasJobs.
+   * Label keys and values can be no longer than 64 characters
+   * (Unicode codepoints), can only contain lowercase letters, numeric
+   * characters, underscores and dashes. International characters are allowed.
+   * See https://goo.gl/xmQnxf for more information and examples of labels.
+   * 
+ * + * map<string, string> labels = 12; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + * + * @return Whether the encryptionSpec field is set. + */ + boolean hasEncryptionSpec(); + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + * + * @return The encryptionSpec. + */ + com.google.cloud.aiplatform.v1beta1.EncryptionSpec getEncryptionSpec(); + /** + * + * + *
+   * Customer-managed encryption key options for a NasJob.
+   * If this is set, then all resources created by the NasJob
+   * will be encrypted with the provided encryption key.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 13; + */ + com.google.cloud.aiplatform.v1beta1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder(); + + /** + * + * + *
+   * Optional. Enable a separation of Custom model training
+   * and restricted image training for tenant project.
+   * 
+ * + * bool enable_restricted_image_training = 14 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enableRestrictedImageTraining. + */ + boolean getEnableRestrictedImageTraining(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobOutput.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobOutput.java new file mode 100644 index 000000000000..68620ce7a826 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobOutput.java @@ -0,0 +1,2542 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Represents a uCAIP NasJob output.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJobOutput} + */ +public final class NasJobOutput extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasJobOutput) + NasJobOutputOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasJobOutput.newBuilder() to construct. + private NasJobOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasJobOutput() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasJobOutput(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.class, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.Builder.class); + } + + public interface MultiTrialJobOutputOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List getSearchTrialsList(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.NasTrial getSearchTrials(int index); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getSearchTrialsCount(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getSearchTrialsOrBuilderList(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getSearchTrialsOrBuilder(int index); + + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List getTrainTrialsList(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.NasTrial getTrainTrials(int index); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getTrainTrialsCount(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getTrainTrialsOrBuilderList(); + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getTrainTrialsOrBuilder(int index); + } + /** + * + * + *
+   * The output of a multi-trial Neural Architecture Search (NAS) jobs.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput} + */ + public static final class MultiTrialJobOutput extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) + MultiTrialJobOutputOrBuilder { + private static final long serialVersionUID = 0L; + // Use MultiTrialJobOutput.newBuilder() to construct. + private MultiTrialJobOutput(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MultiTrialJobOutput() { + searchTrials_ = java.util.Collections.emptyList(); + trainTrials_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MultiTrialJobOutput(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.class, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.Builder.class); + } + + public static final int SEARCH_TRIALS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List searchTrials_; + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List getSearchTrialsList() { + return searchTrials_; + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getSearchTrialsOrBuilderList() { + return searchTrials_; + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getSearchTrialsCount() { + return searchTrials_.size(); + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial getSearchTrials(int index) { + return searchTrials_.get(index); + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of search stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getSearchTrialsOrBuilder( + int index) { + return searchTrials_.get(index); + } + + public static final int TRAIN_TRIALS_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private java.util.List trainTrials_; + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List getTrainTrialsList() { + return trainTrials_; + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getTrainTrialsOrBuilderList() { + return trainTrials_; + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getTrainTrialsCount() { + return trainTrials_.size(); + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial getTrainTrials(int index) { + return trainTrials_.get(index); + } + /** + * + * + *
+     * Output only. List of NasTrials that were started as part of train stage.
+     * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getTrainTrialsOrBuilder( + int index) { + return trainTrials_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < searchTrials_.size(); i++) { + output.writeMessage(1, searchTrials_.get(i)); + } + for (int i = 0; i < trainTrials_.size(); i++) { + output.writeMessage(2, trainTrials_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < searchTrials_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, searchTrials_.get(i)); + } + for (int i = 0; i < trainTrials_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, trainTrials_.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.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput other = + (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) obj; + + if (!getSearchTrialsList().equals(other.getSearchTrialsList())) return false; + if (!getTrainTrialsList().equals(other.getTrainTrialsList())) 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 (getSearchTrialsCount() > 0) { + hash = (37 * hash) + SEARCH_TRIALS_FIELD_NUMBER; + hash = (53 * hash) + getSearchTrialsList().hashCode(); + } + if (getTrainTrialsCount() > 0) { + hash = (37 * hash) + TRAIN_TRIALS_FIELD_NUMBER; + hash = (53 * hash) + getTrainTrialsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * The output of a multi-trial Neural Architecture Search (NAS) jobs.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.class, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (searchTrialsBuilder_ == null) { + searchTrials_ = java.util.Collections.emptyList(); + } else { + searchTrials_ = null; + searchTrialsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (trainTrialsBuilder_ == null) { + trainTrials_ = java.util.Collections.emptyList(); + } else { + trainTrials_ = null; + trainTrialsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput build() { + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput result = + new com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput result) { + if (searchTrialsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + searchTrials_ = java.util.Collections.unmodifiableList(searchTrials_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.searchTrials_ = searchTrials_; + } else { + result.searchTrials_ = searchTrialsBuilder_.build(); + } + if (trainTrialsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + trainTrials_ = java.util.Collections.unmodifiableList(trainTrials_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.trainTrials_ = trainTrials_; + } else { + result.trainTrials_ = trainTrialsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput other) { + if (other + == com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + .getDefaultInstance()) return this; + if (searchTrialsBuilder_ == null) { + if (!other.searchTrials_.isEmpty()) { + if (searchTrials_.isEmpty()) { + searchTrials_ = other.searchTrials_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSearchTrialsIsMutable(); + searchTrials_.addAll(other.searchTrials_); + } + onChanged(); + } + } else { + if (!other.searchTrials_.isEmpty()) { + if (searchTrialsBuilder_.isEmpty()) { + searchTrialsBuilder_.dispose(); + searchTrialsBuilder_ = null; + searchTrials_ = other.searchTrials_; + bitField0_ = (bitField0_ & ~0x00000001); + searchTrialsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSearchTrialsFieldBuilder() + : null; + } else { + searchTrialsBuilder_.addAllMessages(other.searchTrials_); + } + } + } + if (trainTrialsBuilder_ == null) { + if (!other.trainTrials_.isEmpty()) { + if (trainTrials_.isEmpty()) { + trainTrials_ = other.trainTrials_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTrainTrialsIsMutable(); + trainTrials_.addAll(other.trainTrials_); + } + onChanged(); + } + } else { + if (!other.trainTrials_.isEmpty()) { + if (trainTrialsBuilder_.isEmpty()) { + trainTrialsBuilder_.dispose(); + trainTrialsBuilder_ = null; + trainTrials_ = other.trainTrials_; + bitField0_ = (bitField0_ & ~0x00000002); + trainTrialsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTrainTrialsFieldBuilder() + : null; + } else { + trainTrialsBuilder_.addAllMessages(other.trainTrials_); + } + } + } + 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.aiplatform.v1beta1.NasTrial m = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.NasTrial.parser(), extensionRegistry); + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.add(m); + } else { + searchTrialsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.aiplatform.v1beta1.NasTrial m = + input.readMessage( + com.google.cloud.aiplatform.v1beta1.NasTrial.parser(), extensionRegistry); + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.add(m); + } else { + trainTrialsBuilder_.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 java.util.List searchTrials_ = + java.util.Collections.emptyList(); + + private void ensureSearchTrialsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + searchTrials_ = + new java.util.ArrayList(searchTrials_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder> + searchTrialsBuilder_; + + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List getSearchTrialsList() { + if (searchTrialsBuilder_ == null) { + return java.util.Collections.unmodifiableList(searchTrials_); + } else { + return searchTrialsBuilder_.getMessageList(); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public int getSearchTrialsCount() { + if (searchTrialsBuilder_ == null) { + return searchTrials_.size(); + } else { + return searchTrialsBuilder_.getCount(); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial getSearchTrials(int index) { + if (searchTrialsBuilder_ == null) { + return searchTrials_.get(index); + } else { + return searchTrialsBuilder_.getMessage(index); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSearchTrials( + int index, com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (searchTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSearchTrialsIsMutable(); + searchTrials_.set(index, value); + onChanged(); + } else { + searchTrialsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSearchTrials( + int index, com.google.cloud.aiplatform.v1beta1.NasTrial.Builder builderForValue) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.set(index, builderForValue.build()); + onChanged(); + } else { + searchTrialsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addSearchTrials(com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (searchTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSearchTrialsIsMutable(); + searchTrials_.add(value); + onChanged(); + } else { + searchTrialsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addSearchTrials( + int index, com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (searchTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSearchTrialsIsMutable(); + searchTrials_.add(index, value); + onChanged(); + } else { + searchTrialsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addSearchTrials( + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder builderForValue) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.add(builderForValue.build()); + onChanged(); + } else { + searchTrialsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addSearchTrials( + int index, com.google.cloud.aiplatform.v1beta1.NasTrial.Builder builderForValue) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.add(index, builderForValue.build()); + onChanged(); + } else { + searchTrialsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addAllSearchTrials( + java.lang.Iterable values) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, searchTrials_); + onChanged(); + } else { + searchTrialsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearSearchTrials() { + if (searchTrialsBuilder_ == null) { + searchTrials_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + searchTrialsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeSearchTrials(int index) { + if (searchTrialsBuilder_ == null) { + ensureSearchTrialsIsMutable(); + searchTrials_.remove(index); + onChanged(); + } else { + searchTrialsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial.Builder getSearchTrialsBuilder( + int index) { + return getSearchTrialsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getSearchTrialsOrBuilder( + int index) { + if (searchTrialsBuilder_ == null) { + return searchTrials_.get(index); + } else { + return searchTrialsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getSearchTrialsOrBuilderList() { + if (searchTrialsBuilder_ != null) { + return searchTrialsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(searchTrials_); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial.Builder addSearchTrialsBuilder() { + return getSearchTrialsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance()); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial.Builder addSearchTrialsBuilder( + int index) { + return getSearchTrialsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance()); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of search stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial search_trials = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getSearchTrialsBuilderList() { + return getSearchTrialsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder> + getSearchTrialsFieldBuilder() { + if (searchTrialsBuilder_ == null) { + searchTrialsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder>( + searchTrials_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + searchTrials_ = null; + } + return searchTrialsBuilder_; + } + + private java.util.List trainTrials_ = + java.util.Collections.emptyList(); + + private void ensureTrainTrialsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + trainTrials_ = + new java.util.ArrayList(trainTrials_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder> + trainTrialsBuilder_; + + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List getTrainTrialsList() { + if (trainTrialsBuilder_ == null) { + return java.util.Collections.unmodifiableList(trainTrials_); + } else { + return trainTrialsBuilder_.getMessageList(); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public int getTrainTrialsCount() { + if (trainTrialsBuilder_ == null) { + return trainTrials_.size(); + } else { + return trainTrialsBuilder_.getCount(); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial getTrainTrials(int index) { + if (trainTrialsBuilder_ == null) { + return trainTrials_.get(index); + } else { + return trainTrialsBuilder_.getMessage(index); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setTrainTrials(int index, com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (trainTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTrainTrialsIsMutable(); + trainTrials_.set(index, value); + onChanged(); + } else { + trainTrialsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setTrainTrials( + int index, com.google.cloud.aiplatform.v1beta1.NasTrial.Builder builderForValue) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.set(index, builderForValue.build()); + onChanged(); + } else { + trainTrialsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addTrainTrials(com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (trainTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTrainTrialsIsMutable(); + trainTrials_.add(value); + onChanged(); + } else { + trainTrialsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addTrainTrials(int index, com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (trainTrialsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTrainTrialsIsMutable(); + trainTrials_.add(index, value); + onChanged(); + } else { + trainTrialsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addTrainTrials( + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder builderForValue) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.add(builderForValue.build()); + onChanged(); + } else { + trainTrialsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addTrainTrials( + int index, com.google.cloud.aiplatform.v1beta1.NasTrial.Builder builderForValue) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.add(index, builderForValue.build()); + onChanged(); + } else { + trainTrialsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addAllTrainTrials( + java.lang.Iterable values) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, trainTrials_); + onChanged(); + } else { + trainTrialsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearTrainTrials() { + if (trainTrialsBuilder_ == null) { + trainTrials_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + trainTrialsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeTrainTrials(int index) { + if (trainTrialsBuilder_ == null) { + ensureTrainTrialsIsMutable(); + trainTrials_.remove(index); + onChanged(); + } else { + trainTrialsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial.Builder getTrainTrialsBuilder(int index) { + return getTrainTrialsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getTrainTrialsOrBuilder( + int index) { + if (trainTrialsBuilder_ == null) { + return trainTrials_.get(index); + } else { + return trainTrialsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getTrainTrialsOrBuilderList() { + if (trainTrialsBuilder_ != null) { + return trainTrialsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(trainTrials_); + } + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial.Builder addTrainTrialsBuilder() { + return getTrainTrialsFieldBuilder() + .addBuilder(com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance()); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial.Builder addTrainTrialsBuilder(int index) { + return getTrainTrialsFieldBuilder() + .addBuilder(index, com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance()); + } + /** + * + * + *
+       * Output only. List of NasTrials that were started as part of train stage.
+       * 
+ * + * + * repeated .google.cloud.aiplatform.v1beta1.NasTrial train_trials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getTrainTrialsBuilderList() { + return getTrainTrialsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder> + getTrainTrialsFieldBuilder() { + if (trainTrialsBuilder_ == null) { + trainTrialsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder>( + trainTrials_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + trainTrials_ = null; + } + return trainTrialsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) + private static final com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiTrialJobOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int outputCase_ = 0; + private java.lang.Object output_; + + public enum OutputCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + MULTI_TRIAL_JOB_OUTPUT(1), + OUTPUT_NOT_SET(0); + private final int value; + + private OutputCase(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 OutputCase valueOf(int value) { + return forNumber(value); + } + + public static OutputCase forNumber(int value) { + switch (value) { + case 1: + return MULTI_TRIAL_JOB_OUTPUT; + case 0: + return OUTPUT_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); + } + + public static final int MULTI_TRIAL_JOB_OUTPUT_FIELD_NUMBER = 1; + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the multiTrialJobOutput field is set. + */ + @java.lang.Override + public boolean hasMultiTrialJobOutput() { + return outputCase_ == 1; + } + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The multiTrialJobOutput. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + getMultiTrialJobOutput() { + if (outputCase_ == 1) { + return (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) output_; + } + return com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + .getDefaultInstance(); + } + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutputOrBuilder + getMultiTrialJobOutputOrBuilder() { + if (outputCase_ == 1) { + return (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) output_; + } + return com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + .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 (outputCase_ == 1) { + output.writeMessage( + 1, (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) output_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (outputCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) output_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.NasJobOutput)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasJobOutput other = + (com.google.cloud.aiplatform.v1beta1.NasJobOutput) obj; + + if (!getOutputCase().equals(other.getOutputCase())) return false; + switch (outputCase_) { + case 1: + if (!getMultiTrialJobOutput().equals(other.getMultiTrialJobOutput())) 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 (outputCase_) { + case 1: + hash = (37 * hash) + MULTI_TRIAL_JOB_OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getMultiTrialJobOutput().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.NasJobOutput prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a uCAIP NasJob output.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJobOutput} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasJobOutput) + com.google.cloud.aiplatform.v1beta1.NasJobOutputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.class, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.NasJobOutput.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (multiTrialJobOutputBuilder_ != null) { + multiTrialJobOutputBuilder_.clear(); + } + outputCase_ = 0; + output_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobOutput.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput build() { + com.google.cloud.aiplatform.v1beta1.NasJobOutput result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasJobOutput result = + new com.google.cloud.aiplatform.v1beta1.NasJobOutput(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.NasJobOutput result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.aiplatform.v1beta1.NasJobOutput result) { + result.outputCase_ = outputCase_; + result.output_ = this.output_; + if (outputCase_ == 1 && multiTrialJobOutputBuilder_ != null) { + result.output_ = multiTrialJobOutputBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.NasJobOutput) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.NasJobOutput) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NasJobOutput other) { + if (other == com.google.cloud.aiplatform.v1beta1.NasJobOutput.getDefaultInstance()) + return this; + switch (other.getOutputCase()) { + case MULTI_TRIAL_JOB_OUTPUT: + { + mergeMultiTrialJobOutput(other.getMultiTrialJobOutput()); + break; + } + case OUTPUT_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( + getMultiTrialJobOutputFieldBuilder().getBuilder(), extensionRegistry); + outputCase_ = 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 outputCase_ = 0; + private java.lang.Object output_; + + public OutputCase getOutputCase() { + return OutputCase.forNumber(outputCase_); + } + + public Builder clearOutput() { + outputCase_ = 0; + output_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutputOrBuilder> + multiTrialJobOutputBuilder_; + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the multiTrialJobOutput field is set. + */ + @java.lang.Override + public boolean hasMultiTrialJobOutput() { + return outputCase_ == 1; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The multiTrialJobOutput. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + getMultiTrialJobOutput() { + if (multiTrialJobOutputBuilder_ == null) { + if (outputCase_ == 1) { + return (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) output_; + } + return com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + .getDefaultInstance(); + } else { + if (outputCase_ == 1) { + return multiTrialJobOutputBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + .getDefaultInstance(); + } + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setMultiTrialJobOutput( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput value) { + if (multiTrialJobOutputBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + output_ = value; + onChanged(); + } else { + multiTrialJobOutputBuilder_.setMessage(value); + } + outputCase_ = 1; + return this; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setMultiTrialJobOutput( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.Builder + builderForValue) { + if (multiTrialJobOutputBuilder_ == null) { + output_ = builderForValue.build(); + onChanged(); + } else { + multiTrialJobOutputBuilder_.setMessage(builderForValue.build()); + } + outputCase_ = 1; + return this; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeMultiTrialJobOutput( + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput value) { + if (multiTrialJobOutputBuilder_ == null) { + if (outputCase_ == 1 + && output_ + != com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + .getDefaultInstance()) { + output_ = + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.newBuilder( + (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) + output_) + .mergeFrom(value) + .buildPartial(); + } else { + output_ = value; + } + onChanged(); + } else { + if (outputCase_ == 1) { + multiTrialJobOutputBuilder_.mergeFrom(value); + } else { + multiTrialJobOutputBuilder_.setMessage(value); + } + } + outputCase_ = 1; + return this; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearMultiTrialJobOutput() { + if (multiTrialJobOutputBuilder_ == null) { + if (outputCase_ == 1) { + outputCase_ = 0; + output_ = null; + onChanged(); + } + } else { + if (outputCase_ == 1) { + outputCase_ = 0; + output_ = null; + } + multiTrialJobOutputBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.Builder + getMultiTrialJobOutputBuilder() { + return getMultiTrialJobOutputFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutputOrBuilder + getMultiTrialJobOutputOrBuilder() { + if ((outputCase_ == 1) && (multiTrialJobOutputBuilder_ != null)) { + return multiTrialJobOutputBuilder_.getMessageOrBuilder(); + } else { + if (outputCase_ == 1) { + return (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) output_; + } + return com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + .getDefaultInstance(); + } + } + /** + * + * + *
+     * Output only. The output of this multi-trial Neural Architecture Search
+     * (NAS) job.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutputOrBuilder> + getMultiTrialJobOutputFieldBuilder() { + if (multiTrialJobOutputBuilder_ == null) { + if (!(outputCase_ == 1)) { + output_ = + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput + .getDefaultInstance(); + } + multiTrialJobOutputBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutputOrBuilder>( + (com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput) output_, + getParentForChildren(), + isClean()); + output_ = null; + } + outputCase_ = 1; + onChanged(); + return multiTrialJobOutputBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasJobOutput) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasJobOutput) + private static final com.google.cloud.aiplatform.v1beta1.NasJobOutput DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.NasJobOutput(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobOutput getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasJobOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobOutput getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobOutputOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobOutputOrBuilder.java new file mode 100644 index 000000000000..04b7037030f2 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobOutputOrBuilder.java @@ -0,0 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface NasJobOutputOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasJobOutput) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the multiTrialJobOutput field is set. + */ + boolean hasMultiTrialJobOutput(); + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The multiTrialJobOutput. + */ + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput getMultiTrialJobOutput(); + /** + * + * + *
+   * Output only. The output of this multi-trial Neural Architecture Search
+   * (NAS) job.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutput multi_trial_job_output = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.NasJobOutput.MultiTrialJobOutputOrBuilder + getMultiTrialJobOutputOrBuilder(); + + public com.google.cloud.aiplatform.v1beta1.NasJobOutput.OutputCase getOutputCase(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobProto.java new file mode 100644 index 000000000000..cb3afa62a548 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobProto.java @@ -0,0 +1,321 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +public final class NasJobProto { + private NasJobProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasJob_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasJob_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_NasTrial_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_NasTrial_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/aiplatform/v1beta1/nas_jo" + + "b.proto\022\037google.cloud.aiplatform.v1beta1" + + "\032\037google/api/field_behavior.proto\032\031googl" + + "e/api/resource.proto\0320google/cloud/aipla" + + "tform/v1beta1/custom_job.proto\0325google/c" + + "loud/aiplatform/v1beta1/encryption_spec." + + "proto\032/google/cloud/aiplatform/v1beta1/j" + + "ob_state.proto\032+google/cloud/aiplatform/" + + "v1beta1/study.proto\032\037google/protobuf/tim" + + "estamp.proto\032\027google/rpc/status.proto\"\324\006" + + "\n\006NasJob\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\031\n\014display_n" + + "ame\030\002 \001(\tB\003\340A\002\022F\n\014nas_job_spec\030\004 \001(\0132+.g" + + "oogle.cloud.aiplatform.v1beta1.NasJobSpe" + + "cB\003\340A\002\022J\n\016nas_job_output\030\005 \001(\0132-.google." + + "cloud.aiplatform.v1beta1.NasJobOutputB\003\340" + + "A\003\022=\n\005state\030\006 \001(\0162).google.cloud.aiplatf" + + "orm.v1beta1.JobStateB\003\340A\003\0224\n\013create_time" + + "\030\007 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "3\n\nstart_time\030\010 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0221\n\010end_time\030\t \001(\0132\032.google." + + "protobuf.TimestampB\003\340A\003\0224\n\013update_time\030\n" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022&\n" + + "\005error\030\013 \001(\0132\022.google.rpc.StatusB\003\340A\003\022C\n" + + "\006labels\030\014 \003(\01323.google.cloud.aiplatform." + + "v1beta1.NasJob.LabelsEntry\022H\n\017encryption" + + "_spec\030\r \001(\0132/.google.cloud.aiplatform.v1" + + "beta1.EncryptionSpec\022-\n enable_restricte" + + "d_image_training\030\016 \001(\010B\003\340A\001\032-\n\013LabelsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:`\352A]\n" + + " aiplatform.googleapis.com/NasJob\0229proje" + + "cts/{project}/locations/{location}/nasJo" + + "bs/{nas_job}\"\307\002\n\016NasTrialDetail\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\022\n\nparameters\030\002 \001(\t\022?\n\014search" + + "_trial\030\003 \001(\0132).google.cloud.aiplatform.v" + + "1beta1.NasTrial\022>\n\013train_trial\030\004 \001(\0132).g" + + "oogle.cloud.aiplatform.v1beta1.NasTrial:" + + "\214\001\352A\210\001\n(aiplatform.googleapis.com/NasTri" + + "alDetail\022\\projects/{project}/locations/{" + + "location}/nasJobs/{nas_job}/nasTrialDeta" + + "ils/{nas_trial_detail}\"\315\n\n\nNasJobSpec\022i\n" + + "\032multi_trial_algorithm_spec\030\002 \001(\0132C.goog" + + "le.cloud.aiplatform.v1beta1.NasJobSpec.M" + + "ultiTrialAlgorithmSpecH\000\022\031\n\021resume_nas_j" + + "ob_id\030\003 \001(\t\022\031\n\021search_space_spec\030\001 \001(\t\032\207" + + "\t\n\027MultiTrialAlgorithmSpec\022v\n\025multi_tria" + + "l_algorithm\030\001 \001(\0162W.google.cloud.aiplatf" + + "orm.v1beta1.NasJobSpec.MultiTrialAlgorit" + + "hmSpec.MultiTrialAlgorithm\022^\n\006metric\030\002 \001" + + "(\0132N.google.cloud.aiplatform.v1beta1.Nas" + + "JobSpec.MultiTrialAlgorithmSpec.MetricSp" + + "ec\022s\n\021search_trial_spec\030\003 \001(\0132S.google.c" + + "loud.aiplatform.v1beta1.NasJobSpec.Multi" + + "TrialAlgorithmSpec.SearchTrialSpecB\003\340A\002\022" + + "l\n\020train_trial_spec\030\004 \001(\0132R.google.cloud" + + ".aiplatform.v1beta1.NasJobSpec.MultiTria" + + "lAlgorithmSpec.TrainTrialSpec\032\323\001\n\nMetric" + + "Spec\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\002\022j\n\004goal\030\002 \001" + + "(\0162W.google.cloud.aiplatform.v1beta1.Nas" + + "JobSpec.MultiTrialAlgorithmSpec.MetricSp" + + "ec.GoalTypeB\003\340A\002\"A\n\010GoalType\022\031\n\025GOAL_TYP" + + "E_UNSPECIFIED\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n\010MINIMIZ" + + "E\020\002\032\312\001\n\017SearchTrialSpec\022R\n\025search_trial_" + + "job_spec\030\001 \001(\0132..google.cloud.aiplatform" + + ".v1beta1.CustomJobSpecB\003\340A\002\022\034\n\017max_trial" + + "_count\030\002 \001(\005B\003\340A\002\022%\n\030max_parallel_trial_" + + "count\030\003 \001(\005B\003\340A\002\022\036\n\026max_failed_trial_cou" + + "nt\030\004 \001(\005\032\242\001\n\016TrainTrialSpec\022Q\n\024train_tri" + + "al_job_spec\030\001 \001(\0132..google.cloud.aiplatf" + + "orm.v1beta1.CustomJobSpecB\003\340A\002\022%\n\030max_pa" + + "rallel_trial_count\030\002 \001(\005B\003\340A\002\022\026\n\tfrequen" + + "cy\030\003 \001(\005B\003\340A\002\"i\n\023MultiTrialAlgorithm\022%\n!" + + "MULTI_TRIAL_ALGORITHM_UNSPECIFIED\020\000\022\032\n\026R" + + "EINFORCEMENT_LEARNING\020\001\022\017\n\013GRID_SEARCH\020\002" + + "B\024\n\022nas_algorithm_spec\"\247\002\n\014NasJobOutput\022" + + "h\n\026multi_trial_job_output\030\001 \001(\0132A.google" + + ".cloud.aiplatform.v1beta1.NasJobOutput.M" + + "ultiTrialJobOutputB\003\340A\003H\000\032\242\001\n\023MultiTrial" + + "JobOutput\022E\n\rsearch_trials\030\001 \003(\0132).googl" + + "e.cloud.aiplatform.v1beta1.NasTrialB\003\340A\003" + + "\022D\n\014train_trials\030\002 \003(\0132).google.cloud.ai" + + "platform.v1beta1.NasTrialB\003\340A\003B\010\n\006output" + + "\"\376\002\n\010NasTrial\022\017\n\002id\030\001 \001(\tB\003\340A\003\022C\n\005state\030" + + "\002 \001(\0162/.google.cloud.aiplatform.v1beta1." + + "NasTrial.StateB\003\340A\003\022L\n\021final_measurement" + + "\030\003 \001(\0132,.google.cloud.aiplatform.v1beta1" + + ".MeasurementB\003\340A\003\0223\n\nstart_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0221\n\010end_ti" + + "me\030\005 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\"f\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tREQ" + + "UESTED\020\001\022\n\n\006ACTIVE\020\002\022\014\n\010STOPPING\020\003\022\r\n\tSU" + + "CCEEDED\020\004\022\016\n\nINFEASIBLE\020\005B\342\001\n#com.google" + + ".cloud.aiplatform.v1beta1B\013NasJobProtoP\001" + + "ZCcloud.google.com/go/aiplatform/apiv1be" + + "ta1/aiplatformpb;aiplatformpb\252\002\037Google.C" + + "loud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\A" + + "IPlatform\\V1beta1\352\002\"Google::Cloud::AIPla" + + "tform::V1beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.aiplatform.v1beta1.CustomJobProto.getDescriptor(), + com.google.cloud.aiplatform.v1beta1.EncryptionSpecProto.getDescriptor(), + com.google.cloud.aiplatform.v1beta1.JobStateProto.getDescriptor(), + com.google.cloud.aiplatform.v1beta1.StudyProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_aiplatform_v1beta1_NasJob_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_aiplatform_v1beta1_NasJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasJob_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "NasJobSpec", + "NasJobOutput", + "State", + "CreateTime", + "StartTime", + "EndTime", + "UpdateTime", + "Error", + "Labels", + "EncryptionSpec", + "EnableRestrictedImageTraining", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasJob_LabelsEntry_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_NasJob_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_aiplatform_v1beta1_NasJob_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasJob_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_descriptor, + new java.lang.String[] { + "Name", "Parameters", "SearchTrial", "TrainTrial", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_descriptor, + new java.lang.String[] { + "MultiTrialAlgorithmSpec", "ResumeNasJobId", "SearchSpaceSpec", "NasAlgorithmSpec", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor, + new java.lang.String[] { + "MultiTrialAlgorithm", "Metric", "SearchTrialSpec", "TrainTrialSpec", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor, + new java.lang.String[] { + "MetricId", "Goal", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor, + new java.lang.String[] { + "SearchTrialJobSpec", "MaxTrialCount", "MaxParallelTrialCount", "MaxFailedTrialCount", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor, + new java.lang.String[] { + "TrainTrialJobSpec", "MaxParallelTrialCount", "Frequency", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_descriptor, + new java.lang.String[] { + "MultiTrialJobOutput", "Output", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasJobOutput_MultiTrialJobOutput_descriptor, + new java.lang.String[] { + "SearchTrials", "TrainTrials", + }); + internal_static_google_cloud_aiplatform_v1beta1_NasTrial_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_aiplatform_v1beta1_NasTrial_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_NasTrial_descriptor, + new java.lang.String[] { + "Id", "State", "FinalMeasurement", "StartTime", "EndTime", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.aiplatform.v1beta1.CustomJobProto.getDescriptor(); + com.google.cloud.aiplatform.v1beta1.EncryptionSpecProto.getDescriptor(); + com.google.cloud.aiplatform.v1beta1.JobStateProto.getDescriptor(); + com.google.cloud.aiplatform.v1beta1.StudyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobSpec.java new file mode 100644 index 000000000000..578c6dcf0b23 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobSpec.java @@ -0,0 +1,6592 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Represents the spec of a NasJob.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJobSpec} + */ +public final class NasJobSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasJobSpec) + NasJobSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasJobSpec.newBuilder() to construct. + private NasJobSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasJobSpec() { + resumeNasJobId_ = ""; + searchSpaceSpec_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasJobSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.Builder.class); + } + + public interface MultiTrialAlgorithmSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+     * The multi-trial Neural Architecture Search (NAS) algorithm
+     * type. Defaults to `REINFORCEMENT_LEARNING`.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The enum numeric value on the wire for multiTrialAlgorithm. + */ + int getMultiTrialAlgorithmValue(); + /** + * + * + *
+     * The multi-trial Neural Architecture Search (NAS) algorithm
+     * type. Defaults to `REINFORCEMENT_LEARNING`.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The multiTrialAlgorithm. + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + getMultiTrialAlgorithm(); + + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return Whether the metric field is set. + */ + boolean hasMetric(); + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return The metric. + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec getMetric(); + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder + getMetricOrBuilder(); + + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialSpec field is set. + */ + boolean hasSearchTrialSpec(); + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialSpec. + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + getSearchTrialSpec(); + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpecOrBuilder + getSearchTrialSpecOrBuilder(); + + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return Whether the trainTrialSpec field is set. + */ + boolean hasTrainTrialSpec(); + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return The trainTrialSpec. + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getTrainTrialSpec(); + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpecOrBuilder + getTrainTrialSpecOrBuilder(); + } + /** + * + * + *
+   * The spec of multi-trial Neural Architecture Search (NAS).
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec} + */ + public static final class MultiTrialAlgorithmSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + MultiTrialAlgorithmSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use MultiTrialAlgorithmSpec.newBuilder() to construct. + private MultiTrialAlgorithmSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MultiTrialAlgorithmSpec() { + multiTrialAlgorithm_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MultiTrialAlgorithmSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.Builder.class); + } + + /** + * + * + *
+     * The available types of multi-trial algorithms.
+     * 
+ * + * Protobuf enum {@code + * google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm} + */ + public enum MultiTrialAlgorithm implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+       * Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * MULTI_TRIAL_ALGORITHM_UNSPECIFIED = 0; + */ + MULTI_TRIAL_ALGORITHM_UNSPECIFIED(0), + /** + * + * + *
+       * The Reinforcement Learning Algorithm for Multi-trial Neural
+       * Architecture Search (NAS).
+       * 
+ * + * REINFORCEMENT_LEARNING = 1; + */ + REINFORCEMENT_LEARNING(1), + /** + * + * + *
+       * The Grid Search Algorithm for Multi-trial Neural
+       * Architecture Search (NAS).
+       * 
+ * + * GRID_SEARCH = 2; + */ + GRID_SEARCH(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+       * Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * MULTI_TRIAL_ALGORITHM_UNSPECIFIED = 0; + */ + public static final int MULTI_TRIAL_ALGORITHM_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+       * The Reinforcement Learning Algorithm for Multi-trial Neural
+       * Architecture Search (NAS).
+       * 
+ * + * REINFORCEMENT_LEARNING = 1; + */ + public static final int REINFORCEMENT_LEARNING_VALUE = 1; + /** + * + * + *
+       * The Grid Search Algorithm for Multi-trial Neural
+       * Architecture Search (NAS).
+       * 
+ * + * GRID_SEARCH = 2; + */ + public static final int GRID_SEARCH_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 MultiTrialAlgorithm 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 MultiTrialAlgorithm forNumber(int value) { + switch (value) { + case 0: + return MULTI_TRIAL_ALGORITHM_UNSPECIFIED; + case 1: + return REINFORCEMENT_LEARNING; + case 2: + return GRID_SEARCH; + 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 MultiTrialAlgorithm findValueByNumber(int number) { + return MultiTrialAlgorithm.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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final MultiTrialAlgorithm[] VALUES = values(); + + public static MultiTrialAlgorithm 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 MultiTrialAlgorithm(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm) + } + + public interface MetricSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Required. The ID of the metric. Must not contain whitespaces.
+       * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The metricId. + */ + java.lang.String getMetricId(); + /** + * + * + *
+       * Required. The ID of the metric. Must not contain whitespaces.
+       * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for metricId. + */ + com.google.protobuf.ByteString getMetricIdBytes(); + + /** + * + * + *
+       * Required. The optimization goal of the metric.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for goal. + */ + int getGoalValue(); + /** + * + * + *
+       * Required. The optimization goal of the metric.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The goal. + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + getGoal(); + } + /** + * + * + *
+     * Represents a metric to optimize.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec} + */ + public static final class MetricSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + MetricSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use MetricSpec.newBuilder() to construct. + private MetricSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MetricSpec() { + metricId_ = ""; + goal_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new MetricSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .Builder.class); + } + + /** + * + * + *
+       * The available types of optimization goals.
+       * 
+ * + * Protobuf enum {@code + * google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType} + */ + public enum GoalType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+         * Goal Type will default to maximize.
+         * 
+ * + * GOAL_TYPE_UNSPECIFIED = 0; + */ + GOAL_TYPE_UNSPECIFIED(0), + /** + * + * + *
+         * Maximize the goal metric.
+         * 
+ * + * MAXIMIZE = 1; + */ + MAXIMIZE(1), + /** + * + * + *
+         * Minimize the goal metric.
+         * 
+ * + * MINIMIZE = 2; + */ + MINIMIZE(2), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+         * Goal Type will default to maximize.
+         * 
+ * + * GOAL_TYPE_UNSPECIFIED = 0; + */ + public static final int GOAL_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+         * Maximize the goal metric.
+         * 
+ * + * MAXIMIZE = 1; + */ + public static final int MAXIMIZE_VALUE = 1; + /** + * + * + *
+         * Minimize the goal metric.
+         * 
+ * + * MINIMIZE = 2; + */ + public static final int MINIMIZE_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 GoalType 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 GoalType forNumber(int value) { + switch (value) { + case 0: + return GOAL_TYPE_UNSPECIFIED; + case 1: + return MAXIMIZE; + case 2: + return MINIMIZE; + 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 GoalType findValueByNumber(int number) { + return GoalType.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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final GoalType[] VALUES = values(); + + public static GoalType 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 GoalType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType) + } + + public static final int METRIC_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object metricId_ = ""; + /** + * + * + *
+       * Required. The ID of the metric. Must not contain whitespaces.
+       * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The metricId. + */ + @java.lang.Override + public java.lang.String getMetricId() { + java.lang.Object ref = metricId_; + 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(); + metricId_ = s; + return s; + } + } + /** + * + * + *
+       * Required. The ID of the metric. Must not contain whitespaces.
+       * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for metricId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getMetricIdBytes() { + java.lang.Object ref = metricId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + metricId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GOAL_FIELD_NUMBER = 2; + private int goal_ = 0; + /** + * + * + *
+       * Required. The optimization goal of the metric.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for goal. + */ + @java.lang.Override + public int getGoalValue() { + return goal_; + } + /** + * + * + *
+       * Required. The optimization goal of the metric.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The goal. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType + getGoal() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + result = + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType.forNumber(goal_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType.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.GeneratedMessageV3.isStringEmpty(metricId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricId_); + } + if (goal_ + != com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType.GOAL_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, goal_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricId_); + } + if (goal_ + != com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType.GOAL_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, goal_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec other = + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) obj; + + if (!getMetricId().equals(other.getMetricId())) return false; + if (goal_ != other.goal_) 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) + METRIC_ID_FIELD_NUMBER; + hash = (53 * hash) + getMetricId().hashCode(); + hash = (37 * hash) + GOAL_FIELD_NUMBER; + hash = (53 * hash) + goal_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Represents a metric to optimize.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + metricId_ = ""; + goal_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_MetricSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + build() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec result = + new com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.metricId_ = metricId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.goal_ = goal_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + other) { + if (other + == com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance()) return this; + if (!other.getMetricId().isEmpty()) { + metricId_ = other.metricId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.goal_ != 0) { + setGoalValue(other.getGoalValue()); + } + 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: + { + metricId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + goal_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + 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 metricId_ = ""; + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The metricId. + */ + public java.lang.String getMetricId() { + java.lang.Object ref = metricId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + metricId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for metricId. + */ + public com.google.protobuf.ByteString getMetricIdBytes() { + java.lang.Object ref = metricId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + metricId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The metricId to set. + * @return This builder for chaining. + */ + public Builder setMetricId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + metricId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearMetricId() { + metricId_ = getDefaultInstance().getMetricId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The ID of the metric. Must not contain whitespaces.
+         * 
+ * + * string metric_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for metricId to set. + * @return This builder for chaining. + */ + public Builder setMetricIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + metricId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int goal_ = 0; + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for goal. + */ + @java.lang.Override + public int getGoalValue() { + return goal_; + } + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The enum numeric value on the wire for goal to set. + * @return This builder for chaining. + */ + public Builder setGoalValue(int value) { + goal_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The goal. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType + getGoal() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType + result = + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType.forNumber(goal_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType.UNRECOGNIZED + : result; + } + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The goal to set. + * @return This builder for chaining. + */ + public Builder setGoal( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .GoalType + value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + goal_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The optimization goal of the metric.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearGoal() { + bitField0_ = (bitField0_ & ~0x00000002); + goal_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec) + private static final com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MetricSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface SearchTrialSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialJobSpec field is set. + */ + boolean hasSearchTrialJobSpec(); + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialJobSpec. + */ + com.google.cloud.aiplatform.v1beta1.CustomJobSpec getSearchTrialJobSpec(); + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder getSearchTrialJobSpecOrBuilder(); + + /** + * + * + *
+       * Required. The maximum number of Neural Architecture Search (NAS) trials
+       * to run.
+       * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxTrialCount. + */ + int getMaxTrialCount(); + + /** + * + * + *
+       * Required. The maximum number of trials to run in parallel.
+       * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxParallelTrialCount. + */ + int getMaxParallelTrialCount(); + + /** + * + * + *
+       * The number of failed trials that need to be seen before failing
+       * the NasJob.
+       * If set to 0, Vertex AI decides how many trials must fail
+       * before the whole job fails.
+       * 
+ * + * int32 max_failed_trial_count = 4; + * + * @return The maxFailedTrialCount. + */ + int getMaxFailedTrialCount(); + } + /** + * + * + *
+     * Represent spec for search trials.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec} + */ + public static final class SearchTrialSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + SearchTrialSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use SearchTrialSpec.newBuilder() to construct. + private SearchTrialSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SearchTrialSpec() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SearchTrialSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.Builder.class); + } + + public static final int SEARCH_TRIAL_JOB_SPEC_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1beta1.CustomJobSpec searchTrialJobSpec_; + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialJobSpec field is set. + */ + @java.lang.Override + public boolean hasSearchTrialJobSpec() { + return searchTrialJobSpec_ != null; + } + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialJobSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CustomJobSpec getSearchTrialJobSpec() { + return searchTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance() + : searchTrialJobSpec_; + } + /** + * + * + *
+       * Required. The spec of a search trial job. The same spec applies to
+       * all search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder + getSearchTrialJobSpecOrBuilder() { + return searchTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance() + : searchTrialJobSpec_; + } + + public static final int MAX_TRIAL_COUNT_FIELD_NUMBER = 2; + private int maxTrialCount_ = 0; + /** + * + * + *
+       * Required. The maximum number of Neural Architecture Search (NAS) trials
+       * to run.
+       * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxTrialCount. + */ + @java.lang.Override + public int getMaxTrialCount() { + return maxTrialCount_; + } + + public static final int MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER = 3; + private int maxParallelTrialCount_ = 0; + /** + * + * + *
+       * Required. The maximum number of trials to run in parallel.
+       * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxParallelTrialCount. + */ + @java.lang.Override + public int getMaxParallelTrialCount() { + return maxParallelTrialCount_; + } + + public static final int MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER = 4; + private int maxFailedTrialCount_ = 0; + /** + * + * + *
+       * The number of failed trials that need to be seen before failing
+       * the NasJob.
+       * If set to 0, Vertex AI decides how many trials must fail
+       * before the whole job fails.
+       * 
+ * + * int32 max_failed_trial_count = 4; + * + * @return The maxFailedTrialCount. + */ + @java.lang.Override + public int getMaxFailedTrialCount() { + return maxFailedTrialCount_; + } + + 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 (searchTrialJobSpec_ != null) { + output.writeMessage(1, getSearchTrialJobSpec()); + } + if (maxTrialCount_ != 0) { + output.writeInt32(2, maxTrialCount_); + } + if (maxParallelTrialCount_ != 0) { + output.writeInt32(3, maxParallelTrialCount_); + } + if (maxFailedTrialCount_ != 0) { + output.writeInt32(4, maxFailedTrialCount_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (searchTrialJobSpec_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSearchTrialJobSpec()); + } + if (maxTrialCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxTrialCount_); + } + if (maxParallelTrialCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxParallelTrialCount_); + } + if (maxFailedTrialCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, maxFailedTrialCount_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + other = + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec) + obj; + + if (hasSearchTrialJobSpec() != other.hasSearchTrialJobSpec()) return false; + if (hasSearchTrialJobSpec()) { + if (!getSearchTrialJobSpec().equals(other.getSearchTrialJobSpec())) return false; + } + if (getMaxTrialCount() != other.getMaxTrialCount()) return false; + if (getMaxParallelTrialCount() != other.getMaxParallelTrialCount()) return false; + if (getMaxFailedTrialCount() != other.getMaxFailedTrialCount()) 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 (hasSearchTrialJobSpec()) { + hash = (37 * hash) + SEARCH_TRIAL_JOB_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSearchTrialJobSpec().hashCode(); + } + hash = (37 * hash) + MAX_TRIAL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getMaxTrialCount(); + hash = (37 * hash) + MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getMaxParallelTrialCount(); + hash = (37 * hash) + MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getMaxFailedTrialCount(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Represent spec for search trials.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + searchTrialJobSpec_ = null; + if (searchTrialJobSpecBuilder_ != null) { + searchTrialJobSpecBuilder_.dispose(); + searchTrialJobSpecBuilder_ = null; + } + maxTrialCount_ = 0; + maxParallelTrialCount_ = 0; + maxFailedTrialCount_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_SearchTrialSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + build() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + result = + new com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.searchTrialJobSpec_ = + searchTrialJobSpecBuilder_ == null + ? searchTrialJobSpec_ + : searchTrialJobSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxTrialCount_ = maxTrialCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.maxParallelTrialCount_ = maxParallelTrialCount_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.maxFailedTrialCount_ = maxFailedTrialCount_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + other) { + if (other + == com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.getDefaultInstance()) return this; + if (other.hasSearchTrialJobSpec()) { + mergeSearchTrialJobSpec(other.getSearchTrialJobSpec()); + } + if (other.getMaxTrialCount() != 0) { + setMaxTrialCount(other.getMaxTrialCount()); + } + if (other.getMaxParallelTrialCount() != 0) { + setMaxParallelTrialCount(other.getMaxParallelTrialCount()); + } + if (other.getMaxFailedTrialCount() != 0) { + setMaxFailedTrialCount(other.getMaxFailedTrialCount()); + } + 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( + getSearchTrialJobSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + maxTrialCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + maxParallelTrialCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + maxFailedTrialCount_ = input.readInt32(); + 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 com.google.cloud.aiplatform.v1beta1.CustomJobSpec searchTrialJobSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.CustomJobSpec, + com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder> + searchTrialJobSpecBuilder_; + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialJobSpec field is set. + */ + public boolean hasSearchTrialJobSpec() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialJobSpec. + */ + public com.google.cloud.aiplatform.v1beta1.CustomJobSpec getSearchTrialJobSpec() { + if (searchTrialJobSpecBuilder_ == null) { + return searchTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance() + : searchTrialJobSpec_; + } else { + return searchTrialJobSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchTrialJobSpec( + com.google.cloud.aiplatform.v1beta1.CustomJobSpec value) { + if (searchTrialJobSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + searchTrialJobSpec_ = value; + } else { + searchTrialJobSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchTrialJobSpec( + com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder builderForValue) { + if (searchTrialJobSpecBuilder_ == null) { + searchTrialJobSpec_ = builderForValue.build(); + } else { + searchTrialJobSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeSearchTrialJobSpec( + com.google.cloud.aiplatform.v1beta1.CustomJobSpec value) { + if (searchTrialJobSpecBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && searchTrialJobSpec_ != null + && searchTrialJobSpec_ + != com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance()) { + getSearchTrialJobSpecBuilder().mergeFrom(value); + } else { + searchTrialJobSpec_ = value; + } + } else { + searchTrialJobSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSearchTrialJobSpec() { + bitField0_ = (bitField0_ & ~0x00000001); + searchTrialJobSpec_ = null; + if (searchTrialJobSpecBuilder_ != null) { + searchTrialJobSpecBuilder_.dispose(); + searchTrialJobSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder + getSearchTrialJobSpecBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getSearchTrialJobSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder + getSearchTrialJobSpecOrBuilder() { + if (searchTrialJobSpecBuilder_ != null) { + return searchTrialJobSpecBuilder_.getMessageOrBuilder(); + } else { + return searchTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance() + : searchTrialJobSpec_; + } + } + /** + * + * + *
+         * Required. The spec of a search trial job. The same spec applies to
+         * all search trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec search_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.CustomJobSpec, + com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder> + getSearchTrialJobSpecFieldBuilder() { + if (searchTrialJobSpecBuilder_ == null) { + searchTrialJobSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.CustomJobSpec, + com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder>( + getSearchTrialJobSpec(), getParentForChildren(), isClean()); + searchTrialJobSpec_ = null; + } + return searchTrialJobSpecBuilder_; + } + + private int maxTrialCount_; + /** + * + * + *
+         * Required. The maximum number of Neural Architecture Search (NAS) trials
+         * to run.
+         * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxTrialCount. + */ + @java.lang.Override + public int getMaxTrialCount() { + return maxTrialCount_; + } + /** + * + * + *
+         * Required. The maximum number of Neural Architecture Search (NAS) trials
+         * to run.
+         * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The maxTrialCount to set. + * @return This builder for chaining. + */ + public Builder setMaxTrialCount(int value) { + + maxTrialCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The maximum number of Neural Architecture Search (NAS) trials
+         * to run.
+         * 
+ * + * int32 max_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearMaxTrialCount() { + bitField0_ = (bitField0_ & ~0x00000002); + maxTrialCount_ = 0; + onChanged(); + return this; + } + + private int maxParallelTrialCount_; + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The maxParallelTrialCount. + */ + @java.lang.Override + public int getMaxParallelTrialCount() { + return maxParallelTrialCount_; + } + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The maxParallelTrialCount to set. + * @return This builder for chaining. + */ + public Builder setMaxParallelTrialCount(int value) { + + maxParallelTrialCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearMaxParallelTrialCount() { + bitField0_ = (bitField0_ & ~0x00000004); + maxParallelTrialCount_ = 0; + onChanged(); + return this; + } + + private int maxFailedTrialCount_; + /** + * + * + *
+         * The number of failed trials that need to be seen before failing
+         * the NasJob.
+         * If set to 0, Vertex AI decides how many trials must fail
+         * before the whole job fails.
+         * 
+ * + * int32 max_failed_trial_count = 4; + * + * @return The maxFailedTrialCount. + */ + @java.lang.Override + public int getMaxFailedTrialCount() { + return maxFailedTrialCount_; + } + /** + * + * + *
+         * The number of failed trials that need to be seen before failing
+         * the NasJob.
+         * If set to 0, Vertex AI decides how many trials must fail
+         * before the whole job fails.
+         * 
+ * + * int32 max_failed_trial_count = 4; + * + * @param value The maxFailedTrialCount to set. + * @return This builder for chaining. + */ + public Builder setMaxFailedTrialCount(int value) { + + maxFailedTrialCount_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+         * The number of failed trials that need to be seen before failing
+         * the NasJob.
+         * If set to 0, Vertex AI decides how many trials must fail
+         * before the whole job fails.
+         * 
+ * + * int32 max_failed_trial_count = 4; + * + * @return This builder for chaining. + */ + public Builder clearMaxFailedTrialCount() { + bitField0_ = (bitField0_ & ~0x00000008); + maxFailedTrialCount_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec) + private static final com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchTrialSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public interface TrainTrialSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the trainTrialJobSpec field is set. + */ + boolean hasTrainTrialJobSpec(); + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The trainTrialJobSpec. + */ + com.google.cloud.aiplatform.v1beta1.CustomJobSpec getTrainTrialJobSpec(); + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder getTrainTrialJobSpecOrBuilder(); + + /** + * + * + *
+       * Required. The maximum number of trials to run in parallel.
+       * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxParallelTrialCount. + */ + int getMaxParallelTrialCount(); + + /** + * + * + *
+       * Required. Frequency of search trials to start train stage. Top N
+       * [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The frequency. + */ + int getFrequency(); + } + /** + * + * + *
+     * Represent spec for train trials.
+     * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec} + */ + public static final class TrainTrialSpec extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + TrainTrialSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use TrainTrialSpec.newBuilder() to construct. + private TrainTrialSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TrainTrialSpec() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TrainTrialSpec(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.Builder.class); + } + + public static final int TRAIN_TRIAL_JOB_SPEC_FIELD_NUMBER = 1; + private com.google.cloud.aiplatform.v1beta1.CustomJobSpec trainTrialJobSpec_; + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the trainTrialJobSpec field is set. + */ + @java.lang.Override + public boolean hasTrainTrialJobSpec() { + return trainTrialJobSpec_ != null; + } + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The trainTrialJobSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CustomJobSpec getTrainTrialJobSpec() { + return trainTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance() + : trainTrialJobSpec_; + } + /** + * + * + *
+       * Required. The spec of a train trial job. The same spec applies to
+       * all train trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder + getTrainTrialJobSpecOrBuilder() { + return trainTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance() + : trainTrialJobSpec_; + } + + public static final int MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER = 2; + private int maxParallelTrialCount_ = 0; + /** + * + * + *
+       * Required. The maximum number of trials to run in parallel.
+       * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The maxParallelTrialCount. + */ + @java.lang.Override + public int getMaxParallelTrialCount() { + return maxParallelTrialCount_; + } + + public static final int FREQUENCY_FIELD_NUMBER = 3; + private int frequency_ = 0; + /** + * + * + *
+       * Required. Frequency of search trials to start train stage. Top N
+       * [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The frequency. + */ + @java.lang.Override + public int getFrequency() { + return frequency_; + } + + 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 (trainTrialJobSpec_ != null) { + output.writeMessage(1, getTrainTrialJobSpec()); + } + if (maxParallelTrialCount_ != 0) { + output.writeInt32(2, maxParallelTrialCount_); + } + if (frequency_ != 0) { + output.writeInt32(3, frequency_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (trainTrialJobSpec_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTrainTrialJobSpec()); + } + if (maxParallelTrialCount_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxParallelTrialCount_); + } + if (frequency_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, frequency_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + other = + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec) + obj; + + if (hasTrainTrialJobSpec() != other.hasTrainTrialJobSpec()) return false; + if (hasTrainTrialJobSpec()) { + if (!getTrainTrialJobSpec().equals(other.getTrainTrialJobSpec())) return false; + } + if (getMaxParallelTrialCount() != other.getMaxParallelTrialCount()) return false; + if (getFrequency() != other.getFrequency()) 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 (hasTrainTrialJobSpec()) { + hash = (37 * hash) + TRAIN_TRIAL_JOB_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getTrainTrialJobSpec().hashCode(); + } + hash = (37 * hash) + MAX_PARALLEL_TRIAL_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getMaxParallelTrialCount(); + hash = (37 * hash) + FREQUENCY_FIELD_NUMBER; + hash = (53 * hash) + getFrequency(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Represent spec for train trials.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + trainTrialJobSpec_ = null; + if (trainTrialJobSpecBuilder_ != null) { + trainTrialJobSpecBuilder_.dispose(); + trainTrialJobSpecBuilder_ = null; + } + maxParallelTrialCount_ = 0; + frequency_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_TrainTrialSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + build() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + result = + new com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.trainTrialJobSpec_ = + trainTrialJobSpecBuilder_ == null + ? trainTrialJobSpec_ + : trainTrialJobSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxParallelTrialCount_ = maxParallelTrialCount_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.frequency_ = frequency_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + other) { + if (other + == com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.getDefaultInstance()) return this; + if (other.hasTrainTrialJobSpec()) { + mergeTrainTrialJobSpec(other.getTrainTrialJobSpec()); + } + if (other.getMaxParallelTrialCount() != 0) { + setMaxParallelTrialCount(other.getMaxParallelTrialCount()); + } + if (other.getFrequency() != 0) { + setFrequency(other.getFrequency()); + } + 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( + getTrainTrialJobSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + maxParallelTrialCount_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + frequency_ = input.readInt32(); + 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 com.google.cloud.aiplatform.v1beta1.CustomJobSpec trainTrialJobSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.CustomJobSpec, + com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder> + trainTrialJobSpecBuilder_; + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the trainTrialJobSpec field is set. + */ + public boolean hasTrainTrialJobSpec() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The trainTrialJobSpec. + */ + public com.google.cloud.aiplatform.v1beta1.CustomJobSpec getTrainTrialJobSpec() { + if (trainTrialJobSpecBuilder_ == null) { + return trainTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance() + : trainTrialJobSpec_; + } else { + return trainTrialJobSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTrainTrialJobSpec( + com.google.cloud.aiplatform.v1beta1.CustomJobSpec value) { + if (trainTrialJobSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + trainTrialJobSpec_ = value; + } else { + trainTrialJobSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTrainTrialJobSpec( + com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder builderForValue) { + if (trainTrialJobSpecBuilder_ == null) { + trainTrialJobSpec_ = builderForValue.build(); + } else { + trainTrialJobSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeTrainTrialJobSpec( + com.google.cloud.aiplatform.v1beta1.CustomJobSpec value) { + if (trainTrialJobSpecBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && trainTrialJobSpec_ != null + && trainTrialJobSpec_ + != com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance()) { + getTrainTrialJobSpecBuilder().mergeFrom(value); + } else { + trainTrialJobSpec_ = value; + } + } else { + trainTrialJobSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearTrainTrialJobSpec() { + bitField0_ = (bitField0_ & ~0x00000001); + trainTrialJobSpec_ = null; + if (trainTrialJobSpecBuilder_ != null) { + trainTrialJobSpecBuilder_.dispose(); + trainTrialJobSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder + getTrainTrialJobSpecBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getTrainTrialJobSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder + getTrainTrialJobSpecOrBuilder() { + if (trainTrialJobSpecBuilder_ != null) { + return trainTrialJobSpecBuilder_.getMessageOrBuilder(); + } else { + return trainTrialJobSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.CustomJobSpec.getDefaultInstance() + : trainTrialJobSpec_; + } + } + /** + * + * + *
+         * Required. The spec of a train trial job. The same spec applies to
+         * all train trials.
+         * 
+ * + * + * .google.cloud.aiplatform.v1beta1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.CustomJobSpec, + com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder> + getTrainTrialJobSpecFieldBuilder() { + if (trainTrialJobSpecBuilder_ == null) { + trainTrialJobSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.CustomJobSpec, + com.google.cloud.aiplatform.v1beta1.CustomJobSpec.Builder, + com.google.cloud.aiplatform.v1beta1.CustomJobSpecOrBuilder>( + getTrainTrialJobSpec(), getParentForChildren(), isClean()); + trainTrialJobSpec_ = null; + } + return trainTrialJobSpecBuilder_; + } + + private int maxParallelTrialCount_; + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The maxParallelTrialCount. + */ + @java.lang.Override + public int getMaxParallelTrialCount() { + return maxParallelTrialCount_; + } + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The maxParallelTrialCount to set. + * @return This builder for chaining. + */ + public Builder setMaxParallelTrialCount(int value) { + + maxParallelTrialCount_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. The maximum number of trials to run in parallel.
+         * 
+ * + * int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearMaxParallelTrialCount() { + bitField0_ = (bitField0_ & ~0x00000002); + maxParallelTrialCount_ = 0; + onChanged(); + return this; + } + + private int frequency_; + /** + * + * + *
+         * Required. Frequency of search trials to start train stage. Top N
+         * [TrainTrialSpec.max_parallel_trial_count]
+         * search trials will be trained for every M
+         * [TrainTrialSpec.frequency] trials searched.
+         * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The frequency. + */ + @java.lang.Override + public int getFrequency() { + return frequency_; + } + /** + * + * + *
+         * Required. Frequency of search trials to start train stage. Top N
+         * [TrainTrialSpec.max_parallel_trial_count]
+         * search trials will be trained for every M
+         * [TrainTrialSpec.frequency] trials searched.
+         * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The frequency to set. + * @return This builder for chaining. + */ + public Builder setFrequency(int value) { + + frequency_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+         * Required. Frequency of search trials to start train stage. Top N
+         * [TrainTrialSpec.max_parallel_trial_count]
+         * search trials will be trained for every M
+         * [TrainTrialSpec.frequency] trials searched.
+         * 
+ * + * int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFrequency() { + bitField0_ = (bitField0_ & ~0x00000004); + frequency_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec) + private static final com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrainTrialSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + public static final int MULTI_TRIAL_ALGORITHM_FIELD_NUMBER = 1; + private int multiTrialAlgorithm_ = 0; + /** + * + * + *
+     * The multi-trial Neural Architecture Search (NAS) algorithm
+     * type. Defaults to `REINFORCEMENT_LEARNING`.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The enum numeric value on the wire for multiTrialAlgorithm. + */ + @java.lang.Override + public int getMultiTrialAlgorithmValue() { + return multiTrialAlgorithm_; + } + /** + * + * + *
+     * The multi-trial Neural Architecture Search (NAS) algorithm
+     * type. Defaults to `REINFORCEMENT_LEARNING`.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The multiTrialAlgorithm. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MultiTrialAlgorithm + getMultiTrialAlgorithm() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + result = + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MultiTrialAlgorithm.forNumber(multiTrialAlgorithm_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MultiTrialAlgorithm.UNRECOGNIZED + : result; + } + + public static final int METRIC_FIELD_NUMBER = 2; + private com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + metric_; + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return Whether the metric field is set. + */ + @java.lang.Override + public boolean hasMetric() { + return metric_ != null; + } + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return The metric. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + getMetric() { + return metric_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance() + : metric_; + } + /** + * + * + *
+     * Metric specs for the NAS job.
+     * Validation for this field is done at `multi_trial_algorithm_spec` field.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpecOrBuilder + getMetricOrBuilder() { + return metric_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance() + : metric_; + } + + public static final int SEARCH_TRIAL_SPEC_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + searchTrialSpec_; + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialSpec field is set. + */ + @java.lang.Override + public boolean hasSearchTrialSpec() { + return searchTrialSpec_ != null; + } + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + getSearchTrialSpec() { + return searchTrialSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .getDefaultInstance() + : searchTrialSpec_; + } + /** + * + * + *
+     * Required. Spec for search trials.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder + getSearchTrialSpecOrBuilder() { + return searchTrialSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .getDefaultInstance() + : searchTrialSpec_; + } + + public static final int TRAIN_TRIAL_SPEC_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + trainTrialSpec_; + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return Whether the trainTrialSpec field is set. + */ + @java.lang.Override + public boolean hasTrainTrialSpec() { + return trainTrialSpec_ != null; + } + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return The trainTrialSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getTrainTrialSpec() { + return trainTrialSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .getDefaultInstance() + : trainTrialSpec_; + } + /** + * + * + *
+     * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+     * search trials will be trained for every M
+     * [TrainTrialSpec.frequency] trials searched.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder + getTrainTrialSpecOrBuilder() { + return trainTrialSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .getDefaultInstance() + : trainTrialSpec_; + } + + 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 (multiTrialAlgorithm_ + != com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MultiTrialAlgorithm.MULTI_TRIAL_ALGORITHM_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, multiTrialAlgorithm_); + } + if (metric_ != null) { + output.writeMessage(2, getMetric()); + } + if (searchTrialSpec_ != null) { + output.writeMessage(3, getSearchTrialSpec()); + } + if (trainTrialSpec_ != null) { + output.writeMessage(4, getTrainTrialSpec()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (multiTrialAlgorithm_ + != com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MultiTrialAlgorithm.MULTI_TRIAL_ALGORITHM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, multiTrialAlgorithm_); + } + if (metric_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetric()); + } + if (searchTrialSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSearchTrialSpec()); + } + if (trainTrialSpec_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTrainTrialSpec()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec other = + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) obj; + + if (multiTrialAlgorithm_ != other.multiTrialAlgorithm_) return false; + if (hasMetric() != other.hasMetric()) return false; + if (hasMetric()) { + if (!getMetric().equals(other.getMetric())) return false; + } + if (hasSearchTrialSpec() != other.hasSearchTrialSpec()) return false; + if (hasSearchTrialSpec()) { + if (!getSearchTrialSpec().equals(other.getSearchTrialSpec())) return false; + } + if (hasTrainTrialSpec() != other.hasTrainTrialSpec()) return false; + if (hasTrainTrialSpec()) { + if (!getTrainTrialSpec().equals(other.getTrainTrialSpec())) 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) + MULTI_TRIAL_ALGORITHM_FIELD_NUMBER; + hash = (53 * hash) + multiTrialAlgorithm_; + if (hasMetric()) { + hash = (37 * hash) + METRIC_FIELD_NUMBER; + hash = (53 * hash) + getMetric().hashCode(); + } + if (hasSearchTrialSpec()) { + hash = (37 * hash) + SEARCH_TRIAL_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSearchTrialSpec().hashCode(); + } + if (hasTrainTrialSpec()) { + hash = (37 * hash) + TRAIN_TRIAL_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getTrainTrialSpec().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+     * The spec of multi-trial Neural Architecture Search (NAS).
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.Builder + .class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + multiTrialAlgorithm_ = 0; + metric_ = null; + if (metricBuilder_ != null) { + metricBuilder_.dispose(); + metricBuilder_ = null; + } + searchTrialSpec_ = null; + if (searchTrialSpecBuilder_ != null) { + searchTrialSpecBuilder_.dispose(); + searchTrialSpecBuilder_ = null; + } + trainTrialSpec_ = null; + if (trainTrialSpecBuilder_ != null) { + trainTrialSpecBuilder_.dispose(); + trainTrialSpecBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_MultiTrialAlgorithmSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec build() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec result = + new com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.multiTrialAlgorithm_ = multiTrialAlgorithm_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.metric_ = metricBuilder_ == null ? metric_ : metricBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.searchTrialSpec_ = + searchTrialSpecBuilder_ == null ? searchTrialSpec_ : searchTrialSpecBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.trainTrialSpec_ = + trainTrialSpecBuilder_ == null ? trainTrialSpec_ : trainTrialSpecBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec other) { + if (other + == com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance()) return this; + if (other.multiTrialAlgorithm_ != 0) { + setMultiTrialAlgorithmValue(other.getMultiTrialAlgorithmValue()); + } + if (other.hasMetric()) { + mergeMetric(other.getMetric()); + } + if (other.hasSearchTrialSpec()) { + mergeSearchTrialSpec(other.getSearchTrialSpec()); + } + if (other.hasTrainTrialSpec()) { + mergeTrainTrialSpec(other.getTrainTrialSpec()); + } + 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: + { + multiTrialAlgorithm_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getMetricFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getSearchTrialSpecFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getTrainTrialSpecFieldBuilder().getBuilder(), extensionRegistry); + 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 int multiTrialAlgorithm_ = 0; + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The enum numeric value on the wire for multiTrialAlgorithm. + */ + @java.lang.Override + public int getMultiTrialAlgorithmValue() { + return multiTrialAlgorithm_; + } + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @param value The enum numeric value on the wire for multiTrialAlgorithm to set. + * @return This builder for chaining. + */ + public Builder setMultiTrialAlgorithmValue(int value) { + multiTrialAlgorithm_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return The multiTrialAlgorithm. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MultiTrialAlgorithm + getMultiTrialAlgorithm() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + result = + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MultiTrialAlgorithm.forNumber(multiTrialAlgorithm_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MultiTrialAlgorithm.UNRECOGNIZED + : result; + } + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @param value The multiTrialAlgorithm to set. + * @return This builder for chaining. + */ + public Builder setMultiTrialAlgorithm( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm + value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + multiTrialAlgorithm_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+       * The multi-trial Neural Architecture Search (NAS) algorithm
+       * type. Defaults to `REINFORCEMENT_LEARNING`.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm multi_trial_algorithm = 1; + * + * + * @return This builder for chaining. + */ + public Builder clearMultiTrialAlgorithm() { + bitField0_ = (bitField0_ & ~0x00000001); + multiTrialAlgorithm_ = 0; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + metric_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpecOrBuilder> + metricBuilder_; + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return Whether the metric field is set. + */ + public boolean hasMetric() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + * + * @return The metric. + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + getMetric() { + if (metricBuilder_ == null) { + return metric_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance() + : metric_; + } else { + return metricBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public Builder setMetric( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec value) { + if (metricBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metric_ = value; + } else { + metricBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public Builder setMetric( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.Builder + builderForValue) { + if (metricBuilder_ == null) { + metric_ = builderForValue.build(); + } else { + metricBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public Builder mergeMetric( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec value) { + if (metricBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && metric_ != null + && metric_ + != com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpec.getDefaultInstance()) { + getMetricBuilder().mergeFrom(value); + } else { + metric_ = value; + } + } else { + metricBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public Builder clearMetric() { + bitField0_ = (bitField0_ & ~0x00000002); + metric_ = null; + if (metricBuilder_ != null) { + metricBuilder_.dispose(); + metricBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .Builder + getMetricBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getMetricFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpecOrBuilder + getMetricOrBuilder() { + if (metricBuilder_ != null) { + return metricBuilder_.getMessageOrBuilder(); + } else { + return metric_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .getDefaultInstance() + : metric_; + } + } + /** + * + * + *
+       * Metric specs for the NAS job.
+       * Validation for this field is done at `multi_trial_algorithm_spec` field.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec metric = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpecOrBuilder> + getMetricFieldBuilder() { + if (metricBuilder_ == null) { + metricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .MetricSpecOrBuilder>(getMetric(), getParentForChildren(), isClean()); + metric_ = null; + } + return metricBuilder_; + } + + private com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + searchTrialSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder> + searchTrialSpecBuilder_; + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the searchTrialSpec field is set. + */ + public boolean hasSearchTrialSpec() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The searchTrialSpec. + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + getSearchTrialSpec() { + if (searchTrialSpecBuilder_ == null) { + return searchTrialSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.getDefaultInstance() + : searchTrialSpec_; + } else { + return searchTrialSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchTrialSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + value) { + if (searchTrialSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + searchTrialSpec_ = value; + } else { + searchTrialSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSearchTrialSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder + builderForValue) { + if (searchTrialSpecBuilder_ == null) { + searchTrialSpec_ = builderForValue.build(); + } else { + searchTrialSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeSearchTrialSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + value) { + if (searchTrialSpecBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && searchTrialSpec_ != null + && searchTrialSpec_ + != com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.getDefaultInstance()) { + getSearchTrialSpecBuilder().mergeFrom(value); + } else { + searchTrialSpec_ = value; + } + } else { + searchTrialSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSearchTrialSpec() { + bitField0_ = (bitField0_ & ~0x00000004); + searchTrialSpec_ = null; + if (searchTrialSpecBuilder_ != null) { + searchTrialSpecBuilder_.dispose(); + searchTrialSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder + getSearchTrialSpecBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSearchTrialSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder + getSearchTrialSpecOrBuilder() { + if (searchTrialSpecBuilder_ != null) { + return searchTrialSpecBuilder_.getMessageOrBuilder(); + } else { + return searchTrialSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.getDefaultInstance() + : searchTrialSpec_; + } + } + /** + * + * + *
+       * Required. Spec for search trials.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec search_trial_spec = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder> + getSearchTrialSpecFieldBuilder() { + if (searchTrialSpecBuilder_ == null) { + searchTrialSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpec.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .SearchTrialSpecOrBuilder>( + getSearchTrialSpec(), getParentForChildren(), isClean()); + searchTrialSpec_ = null; + } + return searchTrialSpecBuilder_; + } + + private com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + trainTrialSpec_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder> + trainTrialSpecBuilder_; + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return Whether the trainTrialSpec field is set. + */ + public boolean hasTrainTrialSpec() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + * + * @return The trainTrialSpec. + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + getTrainTrialSpec() { + if (trainTrialSpecBuilder_ == null) { + return trainTrialSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.getDefaultInstance() + : trainTrialSpec_; + } else { + return trainTrialSpecBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public Builder setTrainTrialSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + value) { + if (trainTrialSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + trainTrialSpec_ = value; + } else { + trainTrialSpecBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public Builder setTrainTrialSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder + builderForValue) { + if (trainTrialSpecBuilder_ == null) { + trainTrialSpec_ = builderForValue.build(); + } else { + trainTrialSpecBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public Builder mergeTrainTrialSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + value) { + if (trainTrialSpecBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && trainTrialSpec_ != null + && trainTrialSpec_ + != com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.getDefaultInstance()) { + getTrainTrialSpecBuilder().mergeFrom(value); + } else { + trainTrialSpec_ = value; + } + } else { + trainTrialSpecBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public Builder clearTrainTrialSpec() { + bitField0_ = (bitField0_ & ~0x00000008); + trainTrialSpec_ = null; + if (trainTrialSpecBuilder_ != null) { + trainTrialSpecBuilder_.dispose(); + trainTrialSpecBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder + getTrainTrialSpecBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getTrainTrialSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder + getTrainTrialSpecOrBuilder() { + if (trainTrialSpecBuilder_ != null) { + return trainTrialSpecBuilder_.getMessageOrBuilder(); + } else { + return trainTrialSpec_ == null + ? com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.getDefaultInstance() + : trainTrialSpec_; + } + } + /** + * + * + *
+       * Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count]
+       * search trials will be trained for every M
+       * [TrainTrialSpec.frequency] trials searched.
+       * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec train_trial_spec = 4; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec + .Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder> + getTrainTrialSpecFieldBuilder() { + if (trainTrialSpecBuilder_ == null) { + trainTrialSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpec.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .TrainTrialSpecOrBuilder>( + getTrainTrialSpec(), getParentForChildren(), isClean()); + trainTrialSpec_ = null; + } + return trainTrialSpecBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + private static final com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiTrialAlgorithmSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + + private int nasAlgorithmSpecCase_ = 0; + private java.lang.Object nasAlgorithmSpec_; + + public enum NasAlgorithmSpecCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + MULTI_TRIAL_ALGORITHM_SPEC(2), + NASALGORITHMSPEC_NOT_SET(0); + private final int value; + + private NasAlgorithmSpecCase(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 NasAlgorithmSpecCase valueOf(int value) { + return forNumber(value); + } + + public static NasAlgorithmSpecCase forNumber(int value) { + switch (value) { + case 2: + return MULTI_TRIAL_ALGORITHM_SPEC; + case 0: + return NASALGORITHMSPEC_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public NasAlgorithmSpecCase getNasAlgorithmSpecCase() { + return NasAlgorithmSpecCase.forNumber(nasAlgorithmSpecCase_); + } + + public static final int MULTI_TRIAL_ALGORITHM_SPEC_FIELD_NUMBER = 2; + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return Whether the multiTrialAlgorithmSpec field is set. + */ + @java.lang.Override + public boolean hasMultiTrialAlgorithmSpec() { + return nasAlgorithmSpecCase_ == 2; + } + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return The multiTrialAlgorithmSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + getMultiTrialAlgorithmSpec() { + if (nasAlgorithmSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_; + } + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder + getMultiTrialAlgorithmSpecOrBuilder() { + if (nasAlgorithmSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_; + } + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + + public static final int RESUME_NAS_JOB_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object resumeNasJobId_ = ""; + /** + * + * + *
+   * The ID of the existing NasJob in the same Project and Location
+   * which will be used to resume search. search_space_spec and
+   * nas_algorithm_spec are obtained from previous NasJob hence should not
+   * provide them again for this NasJob.
+   * 
+ * + * string resume_nas_job_id = 3; + * + * @return The resumeNasJobId. + */ + @java.lang.Override + public java.lang.String getResumeNasJobId() { + java.lang.Object ref = resumeNasJobId_; + 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(); + resumeNasJobId_ = s; + return s; + } + } + /** + * + * + *
+   * The ID of the existing NasJob in the same Project and Location
+   * which will be used to resume search. search_space_spec and
+   * nas_algorithm_spec are obtained from previous NasJob hence should not
+   * provide them again for this NasJob.
+   * 
+ * + * string resume_nas_job_id = 3; + * + * @return The bytes for resumeNasJobId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getResumeNasJobIdBytes() { + java.lang.Object ref = resumeNasJobId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resumeNasJobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SEARCH_SPACE_SPEC_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object searchSpaceSpec_ = ""; + /** + * + * + *
+   * It defines the search space for Neural Architecture Search (NAS).
+   * 
+ * + * string search_space_spec = 1; + * + * @return The searchSpaceSpec. + */ + @java.lang.Override + public java.lang.String getSearchSpaceSpec() { + java.lang.Object ref = searchSpaceSpec_; + 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(); + searchSpaceSpec_ = s; + return s; + } + } + /** + * + * + *
+   * It defines the search space for Neural Architecture Search (NAS).
+   * 
+ * + * string search_space_spec = 1; + * + * @return The bytes for searchSpaceSpec. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSearchSpaceSpecBytes() { + java.lang.Object ref = searchSpaceSpec_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + searchSpaceSpec_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchSpaceSpec_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, searchSpaceSpec_); + } + if (nasAlgorithmSpecCase_ == 2) { + output.writeMessage( + 2, + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resumeNasJobId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, resumeNasJobId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchSpaceSpec_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, searchSpaceSpec_); + } + if (nasAlgorithmSpecCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resumeNasJobId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resumeNasJobId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.NasJobSpec)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasJobSpec other = + (com.google.cloud.aiplatform.v1beta1.NasJobSpec) obj; + + if (!getResumeNasJobId().equals(other.getResumeNasJobId())) return false; + if (!getSearchSpaceSpec().equals(other.getSearchSpaceSpec())) return false; + if (!getNasAlgorithmSpecCase().equals(other.getNasAlgorithmSpecCase())) return false; + switch (nasAlgorithmSpecCase_) { + case 2: + if (!getMultiTrialAlgorithmSpec().equals(other.getMultiTrialAlgorithmSpec())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RESUME_NAS_JOB_ID_FIELD_NUMBER; + hash = (53 * hash) + getResumeNasJobId().hashCode(); + hash = (37 * hash) + SEARCH_SPACE_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getSearchSpaceSpec().hashCode(); + switch (nasAlgorithmSpecCase_) { + case 2: + hash = (37 * hash) + MULTI_TRIAL_ALGORITHM_SPEC_FIELD_NUMBER; + hash = (53 * hash) + getMultiTrialAlgorithmSpec().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.NasJobSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents the spec of a NasJob.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasJobSpec} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasJobSpec) + com.google.cloud.aiplatform.v1beta1.NasJobSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.class, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.NasJobSpec.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (multiTrialAlgorithmSpecBuilder_ != null) { + multiTrialAlgorithmSpecBuilder_.clear(); + } + resumeNasJobId_ = ""; + searchSpaceSpec_ = ""; + nasAlgorithmSpecCase_ = 0; + nasAlgorithmSpec_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasJobSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec build() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasJobSpec result = + new com.google.cloud.aiplatform.v1beta1.NasJobSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.NasJobSpec result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.resumeNasJobId_ = resumeNasJobId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.searchSpaceSpec_ = searchSpaceSpec_; + } + } + + private void buildPartialOneofs(com.google.cloud.aiplatform.v1beta1.NasJobSpec result) { + result.nasAlgorithmSpecCase_ = nasAlgorithmSpecCase_; + result.nasAlgorithmSpec_ = this.nasAlgorithmSpec_; + if (nasAlgorithmSpecCase_ == 2 && multiTrialAlgorithmSpecBuilder_ != null) { + result.nasAlgorithmSpec_ = multiTrialAlgorithmSpecBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.NasJobSpec) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.NasJobSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NasJobSpec other) { + if (other == com.google.cloud.aiplatform.v1beta1.NasJobSpec.getDefaultInstance()) return this; + if (!other.getResumeNasJobId().isEmpty()) { + resumeNasJobId_ = other.resumeNasJobId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getSearchSpaceSpec().isEmpty()) { + searchSpaceSpec_ = other.searchSpaceSpec_; + bitField0_ |= 0x00000004; + onChanged(); + } + switch (other.getNasAlgorithmSpecCase()) { + case MULTI_TRIAL_ALGORITHM_SPEC: + { + mergeMultiTrialAlgorithmSpec(other.getMultiTrialAlgorithmSpec()); + break; + } + case NASALGORITHMSPEC_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: + { + searchSpaceSpec_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 18: + { + input.readMessage( + getMultiTrialAlgorithmSpecFieldBuilder().getBuilder(), extensionRegistry); + nasAlgorithmSpecCase_ = 2; + break; + } // case 18 + case 26: + { + resumeNasJobId_ = input.readStringRequireUtf8(); + 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 nasAlgorithmSpecCase_ = 0; + private java.lang.Object nasAlgorithmSpec_; + + public NasAlgorithmSpecCase getNasAlgorithmSpecCase() { + return NasAlgorithmSpecCase.forNumber(nasAlgorithmSpecCase_); + } + + public Builder clearNasAlgorithmSpec() { + nasAlgorithmSpecCase_ = 0; + nasAlgorithmSpec_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder> + multiTrialAlgorithmSpecBuilder_; + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return Whether the multiTrialAlgorithmSpec field is set. + */ + @java.lang.Override + public boolean hasMultiTrialAlgorithmSpec() { + return nasAlgorithmSpecCase_ == 2; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return The multiTrialAlgorithmSpec. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + getMultiTrialAlgorithmSpec() { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (nasAlgorithmSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_; + } + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } else { + if (nasAlgorithmSpecCase_ == 2) { + return multiTrialAlgorithmSpecBuilder_.getMessage(); + } + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public Builder setMultiTrialAlgorithmSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec value) { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + nasAlgorithmSpec_ = value; + onChanged(); + } else { + multiTrialAlgorithmSpecBuilder_.setMessage(value); + } + nasAlgorithmSpecCase_ = 2; + return this; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public Builder setMultiTrialAlgorithmSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.Builder + builderForValue) { + if (multiTrialAlgorithmSpecBuilder_ == null) { + nasAlgorithmSpec_ = builderForValue.build(); + onChanged(); + } else { + multiTrialAlgorithmSpecBuilder_.setMessage(builderForValue.build()); + } + nasAlgorithmSpecCase_ = 2; + return this; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public Builder mergeMultiTrialAlgorithmSpec( + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec value) { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (nasAlgorithmSpecCase_ == 2 + && nasAlgorithmSpec_ + != com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance()) { + nasAlgorithmSpec_ = + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.newBuilder( + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_) + .mergeFrom(value) + .buildPartial(); + } else { + nasAlgorithmSpec_ = value; + } + onChanged(); + } else { + if (nasAlgorithmSpecCase_ == 2) { + multiTrialAlgorithmSpecBuilder_.mergeFrom(value); + } else { + multiTrialAlgorithmSpecBuilder_.setMessage(value); + } + } + nasAlgorithmSpecCase_ = 2; + return this; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public Builder clearMultiTrialAlgorithmSpec() { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (nasAlgorithmSpecCase_ == 2) { + nasAlgorithmSpecCase_ = 0; + nasAlgorithmSpec_ = null; + onChanged(); + } + } else { + if (nasAlgorithmSpecCase_ == 2) { + nasAlgorithmSpecCase_ = 0; + nasAlgorithmSpec_ = null; + } + multiTrialAlgorithmSpecBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.Builder + getMultiTrialAlgorithmSpecBuilder() { + return getMultiTrialAlgorithmSpecFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder + getMultiTrialAlgorithmSpecOrBuilder() { + if ((nasAlgorithmSpecCase_ == 2) && (multiTrialAlgorithmSpecBuilder_ != null)) { + return multiTrialAlgorithmSpecBuilder_.getMessageOrBuilder(); + } else { + if (nasAlgorithmSpecCase_ == 2) { + return (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_; + } + return com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + } + /** + * + * + *
+     * The spec of multi-trial algorithms.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder> + getMultiTrialAlgorithmSpecFieldBuilder() { + if (multiTrialAlgorithmSpecBuilder_ == null) { + if (!(nasAlgorithmSpecCase_ == 2)) { + nasAlgorithmSpec_ = + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + .getDefaultInstance(); + } + multiTrialAlgorithmSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec.Builder, + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder>( + (com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec) + nasAlgorithmSpec_, + getParentForChildren(), + isClean()); + nasAlgorithmSpec_ = null; + } + nasAlgorithmSpecCase_ = 2; + onChanged(); + return multiTrialAlgorithmSpecBuilder_; + } + + private java.lang.Object resumeNasJobId_ = ""; + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @return The resumeNasJobId. + */ + public java.lang.String getResumeNasJobId() { + java.lang.Object ref = resumeNasJobId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resumeNasJobId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @return The bytes for resumeNasJobId. + */ + public com.google.protobuf.ByteString getResumeNasJobIdBytes() { + java.lang.Object ref = resumeNasJobId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + resumeNasJobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @param value The resumeNasJobId to set. + * @return This builder for chaining. + */ + public Builder setResumeNasJobId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + resumeNasJobId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearResumeNasJobId() { + resumeNasJobId_ = getDefaultInstance().getResumeNasJobId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The ID of the existing NasJob in the same Project and Location
+     * which will be used to resume search. search_space_spec and
+     * nas_algorithm_spec are obtained from previous NasJob hence should not
+     * provide them again for this NasJob.
+     * 
+ * + * string resume_nas_job_id = 3; + * + * @param value The bytes for resumeNasJobId to set. + * @return This builder for chaining. + */ + public Builder setResumeNasJobIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resumeNasJobId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object searchSpaceSpec_ = ""; + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @return The searchSpaceSpec. + */ + public java.lang.String getSearchSpaceSpec() { + java.lang.Object ref = searchSpaceSpec_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + searchSpaceSpec_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @return The bytes for searchSpaceSpec. + */ + public com.google.protobuf.ByteString getSearchSpaceSpecBytes() { + java.lang.Object ref = searchSpaceSpec_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + searchSpaceSpec_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @param value The searchSpaceSpec to set. + * @return This builder for chaining. + */ + public Builder setSearchSpaceSpec(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + searchSpaceSpec_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @return This builder for chaining. + */ + public Builder clearSearchSpaceSpec() { + searchSpaceSpec_ = getDefaultInstance().getSearchSpaceSpec(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * It defines the search space for Neural Architecture Search (NAS).
+     * 
+ * + * string search_space_spec = 1; + * + * @param value The bytes for searchSpaceSpec to set. + * @return This builder for chaining. + */ + public Builder setSearchSpaceSpecBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchSpaceSpec_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasJobSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasJobSpec) + private static final com.google.cloud.aiplatform.v1beta1.NasJobSpec DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.NasJobSpec(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasJobSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasJobSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasJobSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobSpecOrBuilder.java new file mode 100644 index 000000000000..03912d8c80bf --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasJobSpecOrBuilder.java @@ -0,0 +1,127 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface NasJobSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasJobSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return Whether the multiTrialAlgorithmSpec field is set. + */ + boolean hasMultiTrialAlgorithmSpec(); + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + * + * @return The multiTrialAlgorithmSpec. + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec + getMultiTrialAlgorithmSpec(); + /** + * + * + *
+   * The spec of multi-trial algorithms.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + * + */ + com.google.cloud.aiplatform.v1beta1.NasJobSpec.MultiTrialAlgorithmSpecOrBuilder + getMultiTrialAlgorithmSpecOrBuilder(); + + /** + * + * + *
+   * The ID of the existing NasJob in the same Project and Location
+   * which will be used to resume search. search_space_spec and
+   * nas_algorithm_spec are obtained from previous NasJob hence should not
+   * provide them again for this NasJob.
+   * 
+ * + * string resume_nas_job_id = 3; + * + * @return The resumeNasJobId. + */ + java.lang.String getResumeNasJobId(); + /** + * + * + *
+   * The ID of the existing NasJob in the same Project and Location
+   * which will be used to resume search. search_space_spec and
+   * nas_algorithm_spec are obtained from previous NasJob hence should not
+   * provide them again for this NasJob.
+   * 
+ * + * string resume_nas_job_id = 3; + * + * @return The bytes for resumeNasJobId. + */ + com.google.protobuf.ByteString getResumeNasJobIdBytes(); + + /** + * + * + *
+   * It defines the search space for Neural Architecture Search (NAS).
+   * 
+ * + * string search_space_spec = 1; + * + * @return The searchSpaceSpec. + */ + java.lang.String getSearchSpaceSpec(); + /** + * + * + *
+   * It defines the search space for Neural Architecture Search (NAS).
+   * 
+ * + * string search_space_spec = 1; + * + * @return The bytes for searchSpaceSpec. + */ + com.google.protobuf.ByteString getSearchSpaceSpecBytes(); + + public com.google.cloud.aiplatform.v1beta1.NasJobSpec.NasAlgorithmSpecCase + getNasAlgorithmSpecCase(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrial.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrial.java new file mode 100644 index 000000000000..28f9af9176fa --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrial.java @@ -0,0 +1,1865 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Represents a uCAIP NasJob trial.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasTrial} + */ +public final class NasTrial extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasTrial) + NasTrialOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasTrial.newBuilder() to construct. + private NasTrial(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasTrial() { + id_ = ""; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasTrial(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrial_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrial_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasTrial.class, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder.class); + } + + /** + * + * + *
+   * Describes a NasTrial state.
+   * 
+ * + * Protobuf enum {@code google.cloud.aiplatform.v1beta1.NasTrial.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * The NasTrial state is unspecified.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
+     * Indicates that a specific NasTrial has been requested, but it has not yet
+     * been suggested by the service.
+     * 
+ * + * REQUESTED = 1; + */ + REQUESTED(1), + /** + * + * + *
+     * Indicates that the NasTrial has been suggested.
+     * 
+ * + * ACTIVE = 2; + */ + ACTIVE(2), + /** + * + * + *
+     * Indicates that the NasTrial should stop according to the service.
+     * 
+ * + * STOPPING = 3; + */ + STOPPING(3), + /** + * + * + *
+     * Indicates that the NasTrial is completed successfully.
+     * 
+ * + * SUCCEEDED = 4; + */ + SUCCEEDED(4), + /** + * + * + *
+     * Indicates that the NasTrial should not be attempted again.
+     * The service will set a NasTrial to INFEASIBLE when it's done but missing
+     * the final_measurement.
+     * 
+ * + * INFEASIBLE = 5; + */ + INFEASIBLE(5), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * The NasTrial state is unspecified.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Indicates that a specific NasTrial has been requested, but it has not yet
+     * been suggested by the service.
+     * 
+ * + * REQUESTED = 1; + */ + public static final int REQUESTED_VALUE = 1; + /** + * + * + *
+     * Indicates that the NasTrial has been suggested.
+     * 
+ * + * ACTIVE = 2; + */ + public static final int ACTIVE_VALUE = 2; + /** + * + * + *
+     * Indicates that the NasTrial should stop according to the service.
+     * 
+ * + * STOPPING = 3; + */ + public static final int STOPPING_VALUE = 3; + /** + * + * + *
+     * Indicates that the NasTrial is completed successfully.
+     * 
+ * + * SUCCEEDED = 4; + */ + public static final int SUCCEEDED_VALUE = 4; + /** + * + * + *
+     * Indicates that the NasTrial should not be attempted again.
+     * The service will set a NasTrial to INFEASIBLE when it's done but missing
+     * the final_measurement.
+     * 
+ * + * INFEASIBLE = 5; + */ + public static final int INFEASIBLE_VALUE = 5; + + 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 REQUESTED; + case 2: + return ACTIVE; + case 3: + return STOPPING; + case 4: + return SUCCEEDED; + case 5: + return INFEASIBLE; + 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasTrial.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.aiplatform.v1beta1.NasTrial.State) + } + + public static final int ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object id_ = ""; + /** + * + * + *
+   * Output only. The identifier of the NasTrial assigned by the service.
+   * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } + } + /** + * + * + *
+   * Output only. The identifier of the NasTrial assigned by the service.
+   * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 2; + private int state_ = 0; + /** + * + * + *
+   * Output only. The detailed state of the NasTrial.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.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 detailed state of the NasTrial.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial.State getState() { + com.google.cloud.aiplatform.v1beta1.NasTrial.State result = + com.google.cloud.aiplatform.v1beta1.NasTrial.State.forNumber(state_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.State.UNRECOGNIZED + : result; + } + + public static final int FINAL_MEASUREMENT_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1beta1.Measurement finalMeasurement_; + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the finalMeasurement field is set. + */ + @java.lang.Override + public boolean hasFinalMeasurement() { + return finalMeasurement_ != null; + } + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The finalMeasurement. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.Measurement getFinalMeasurement() { + return finalMeasurement_ == null + ? com.google.cloud.aiplatform.v1beta1.Measurement.getDefaultInstance() + : finalMeasurement_; + } + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.MeasurementOrBuilder getFinalMeasurementOrBuilder() { + return finalMeasurement_ == null + ? com.google.cloud.aiplatform.v1beta1.Measurement.getDefaultInstance() + : finalMeasurement_; + } + + public static final int START_TIME_FIELD_NUMBER = 4; + private com.google.protobuf.Timestamp startTime_; + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return startTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + public static final int END_TIME_FIELD_NUMBER = 5; + private com.google.protobuf.Timestamp endTime_; + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + } + if (state_ + != com.google.cloud.aiplatform.v1beta1.NasTrial.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(2, state_); + } + if (finalMeasurement_ != null) { + output.writeMessage(3, getFinalMeasurement()); + } + if (startTime_ != null) { + output.writeMessage(4, getStartTime()); + } + if (endTime_ != null) { + output.writeMessage(5, getEndTime()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + } + if (state_ + != com.google.cloud.aiplatform.v1beta1.NasTrial.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + } + if (finalMeasurement_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinalMeasurement()); + } + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.NasTrial)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasTrial other = + (com.google.cloud.aiplatform.v1beta1.NasTrial) obj; + + if (!getId().equals(other.getId())) return false; + if (state_ != other.state_) return false; + if (hasFinalMeasurement() != other.hasFinalMeasurement()) return false; + if (hasFinalMeasurement()) { + if (!getFinalMeasurement().equals(other.getFinalMeasurement())) return false; + } + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime().equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime().equals(other.getEndTime())) 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(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasFinalMeasurement()) { + hash = (37 * hash) + FINAL_MEASUREMENT_FIELD_NUMBER; + hash = (53 * hash) + getFinalMeasurement().hashCode(); + } + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.NasTrial prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a uCAIP NasJob trial.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasTrial} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasTrial) + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrial_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrial_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasTrial.class, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.NasTrial.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + id_ = ""; + state_ = 0; + finalMeasurement_ = null; + if (finalMeasurementBuilder_ != null) { + finalMeasurementBuilder_.dispose(); + finalMeasurementBuilder_ = null; + } + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrial_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial build() { + com.google.cloud.aiplatform.v1beta1.NasTrial result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasTrial result = + new com.google.cloud.aiplatform.v1beta1.NasTrial(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.NasTrial result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.finalMeasurement_ = + finalMeasurementBuilder_ == null ? finalMeasurement_ : finalMeasurementBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.NasTrial) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.NasTrial) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NasTrial other) { + if (other == com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance()) return this; + if (!other.getId().isEmpty()) { + id_ = other.id_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasFinalMeasurement()) { + mergeFinalMeasurement(other.getFinalMeasurement()); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + 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 16: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage( + getFinalMeasurementFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + 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 id_ = ""; + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearId() { + id_ = getDefaultInstance().getId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The identifier of the NasTrial assigned by the service.
+     * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int state_ = 0; + /** + * + * + *
+     * Output only. The detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.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 detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.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_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial.State getState() { + com.google.cloud.aiplatform.v1beta1.NasTrial.State result = + com.google.cloud.aiplatform.v1beta1.NasTrial.State.forNumber(state_); + return result == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.State.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * Output only. The detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.aiplatform.v1beta1.NasTrial.State value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The detailed state of the NasTrial.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000002); + state_ = 0; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1beta1.Measurement finalMeasurement_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.Measurement, + com.google.cloud.aiplatform.v1beta1.Measurement.Builder, + com.google.cloud.aiplatform.v1beta1.MeasurementOrBuilder> + finalMeasurementBuilder_; + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the finalMeasurement field is set. + */ + public boolean hasFinalMeasurement() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The finalMeasurement. + */ + public com.google.cloud.aiplatform.v1beta1.Measurement getFinalMeasurement() { + if (finalMeasurementBuilder_ == null) { + return finalMeasurement_ == null + ? com.google.cloud.aiplatform.v1beta1.Measurement.getDefaultInstance() + : finalMeasurement_; + } else { + return finalMeasurementBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFinalMeasurement(com.google.cloud.aiplatform.v1beta1.Measurement value) { + if (finalMeasurementBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + finalMeasurement_ = value; + } else { + finalMeasurementBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setFinalMeasurement( + com.google.cloud.aiplatform.v1beta1.Measurement.Builder builderForValue) { + if (finalMeasurementBuilder_ == null) { + finalMeasurement_ = builderForValue.build(); + } else { + finalMeasurementBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeFinalMeasurement(com.google.cloud.aiplatform.v1beta1.Measurement value) { + if (finalMeasurementBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && finalMeasurement_ != null + && finalMeasurement_ + != com.google.cloud.aiplatform.v1beta1.Measurement.getDefaultInstance()) { + getFinalMeasurementBuilder().mergeFrom(value); + } else { + finalMeasurement_ = value; + } + } else { + finalMeasurementBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearFinalMeasurement() { + bitField0_ = (bitField0_ & ~0x00000004); + finalMeasurement_ = null; + if (finalMeasurementBuilder_ != null) { + finalMeasurementBuilder_.dispose(); + finalMeasurementBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.Measurement.Builder getFinalMeasurementBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getFinalMeasurementFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.aiplatform.v1beta1.MeasurementOrBuilder getFinalMeasurementOrBuilder() { + if (finalMeasurementBuilder_ != null) { + return finalMeasurementBuilder_.getMessageOrBuilder(); + } else { + return finalMeasurement_ == null + ? com.google.cloud.aiplatform.v1beta1.Measurement.getDefaultInstance() + : finalMeasurement_; + } + } + /** + * + * + *
+     * Output only. The final measurement containing the objective value.
+     * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.Measurement, + com.google.cloud.aiplatform.v1beta1.Measurement.Builder, + com.google.cloud.aiplatform.v1beta1.MeasurementOrBuilder> + getFinalMeasurementFieldBuilder() { + if (finalMeasurementBuilder_ == null) { + finalMeasurementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.Measurement, + com.google.cloud.aiplatform.v1beta1.Measurement.Builder, + com.google.cloud.aiplatform.v1beta1.MeasurementOrBuilder>( + getFinalMeasurement(), getParentForChildren(), isClean()); + finalMeasurement_ = null; + } + return finalMeasurementBuilder_; + } + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000008); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + * + * + *
+     * Output only. Time when the NasTrial was started.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000010); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + * + * + *
+     * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+     * `INFEASIBLE`.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasTrial) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasTrial) + private static final com.google.cloud.aiplatform.v1beta1.NasTrial DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.NasTrial(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrial getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasTrial parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialDetail.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialDetail.java new file mode 100644 index 000000000000..3ec675cbff30 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialDetail.java @@ -0,0 +1,1392 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Represents a NasTrial details along with it's parameters. If there is a
+ * corresponding train NasTrial, the train NasTrial is also returned.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasTrialDetail} + */ +public final class NasTrialDetail extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.NasTrialDetail) + NasTrialDetailOrBuilder { + private static final long serialVersionUID = 0L; + // Use NasTrialDetail.newBuilder() to construct. + private NasTrialDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NasTrialDetail() { + name_ = ""; + parameters_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NasTrialDetail(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasTrialDetail.class, + com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + * + * + *
+   * Output only. Resource name of the NasTrialDetail.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+   * Output only. Resource name of the NasTrialDetail.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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 PARAMETERS_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object parameters_ = ""; + /** + * + * + *
+   * The parameters for the NasJob NasTrial.
+   * 
+ * + * string parameters = 2; + * + * @return The parameters. + */ + @java.lang.Override + public java.lang.String getParameters() { + java.lang.Object ref = parameters_; + 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(); + parameters_ = s; + return s; + } + } + /** + * + * + *
+   * The parameters for the NasJob NasTrial.
+   * 
+ * + * string parameters = 2; + * + * @return The bytes for parameters. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParametersBytes() { + java.lang.Object ref = parameters_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parameters_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SEARCH_TRIAL_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1beta1.NasTrial searchTrial_; + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + * + * @return Whether the searchTrial field is set. + */ + @java.lang.Override + public boolean hasSearchTrial() { + return searchTrial_ != null; + } + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + * + * @return The searchTrial. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial getSearchTrial() { + return searchTrial_ == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance() + : searchTrial_; + } + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getSearchTrialOrBuilder() { + return searchTrial_ == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance() + : searchTrial_; + } + + public static final int TRAIN_TRIAL_FIELD_NUMBER = 4; + private com.google.cloud.aiplatform.v1beta1.NasTrial trainTrial_; + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+   * is used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + * + * @return Whether the trainTrial field is set. + */ + @java.lang.Override + public boolean hasTrainTrial() { + return trainTrial_ != null; + } + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+   * is used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + * + * @return The trainTrial. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrial getTrainTrial() { + return trainTrial_ == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance() + : trainTrial_; + } + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+   * is used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getTrainTrialOrBuilder() { + return trainTrial_ == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance() + : trainTrial_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parameters_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, parameters_); + } + if (searchTrial_ != null) { + output.writeMessage(3, getSearchTrial()); + } + if (trainTrial_ != null) { + output.writeMessage(4, getTrainTrial()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parameters_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parameters_); + } + if (searchTrial_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSearchTrial()); + } + if (trainTrial_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTrainTrial()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.NasTrialDetail)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.NasTrialDetail other = + (com.google.cloud.aiplatform.v1beta1.NasTrialDetail) obj; + + if (!getName().equals(other.getName())) return false; + if (!getParameters().equals(other.getParameters())) return false; + if (hasSearchTrial() != other.hasSearchTrial()) return false; + if (hasSearchTrial()) { + if (!getSearchTrial().equals(other.getSearchTrial())) return false; + } + if (hasTrainTrial() != other.hasTrainTrial()) return false; + if (hasTrainTrial()) { + if (!getTrainTrial().equals(other.getTrainTrial())) 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) + PARAMETERS_FIELD_NUMBER; + hash = (53 * hash) + getParameters().hashCode(); + if (hasSearchTrial()) { + hash = (37 * hash) + SEARCH_TRIAL_FIELD_NUMBER; + hash = (53 * hash) + getSearchTrial().hashCode(); + } + if (hasTrainTrial()) { + hash = (37 * hash) + TRAIN_TRIAL_FIELD_NUMBER; + hash = (53 * hash) + getTrainTrial().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.NasTrialDetail prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents a NasTrial details along with it's parameters. If there is a
+   * corresponding train NasTrial, the train NasTrial is also returned.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.NasTrialDetail} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.NasTrialDetail) + com.google.cloud.aiplatform.v1beta1.NasTrialDetailOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.NasTrialDetail.class, + com.google.cloud.aiplatform.v1beta1.NasTrialDetail.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.NasTrialDetail.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + parameters_ = ""; + searchTrial_ = null; + if (searchTrialBuilder_ != null) { + searchTrialBuilder_.dispose(); + searchTrialBuilder_ = null; + } + trainTrial_ = null; + if (trainTrialBuilder_ != null) { + trainTrialBuilder_.dispose(); + trainTrialBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.NasJobProto + .internal_static_google_cloud_aiplatform_v1beta1_NasTrialDetail_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.NasTrialDetail.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail build() { + com.google.cloud.aiplatform.v1beta1.NasTrialDetail result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail buildPartial() { + com.google.cloud.aiplatform.v1beta1.NasTrialDetail result = + new com.google.cloud.aiplatform.v1beta1.NasTrialDetail(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.aiplatform.v1beta1.NasTrialDetail result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.parameters_ = parameters_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.searchTrial_ = + searchTrialBuilder_ == null ? searchTrial_ : searchTrialBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.trainTrial_ = trainTrialBuilder_ == null ? trainTrial_ : trainTrialBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.NasTrialDetail) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.NasTrialDetail) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.NasTrialDetail other) { + if (other == com.google.cloud.aiplatform.v1beta1.NasTrialDetail.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getParameters().isEmpty()) { + parameters_ = other.parameters_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasSearchTrial()) { + mergeSearchTrial(other.getSearchTrial()); + } + if (other.hasTrainTrial()) { + mergeTrainTrial(other.getTrainTrial()); + } + 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: + { + parameters_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getSearchTrialFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getTrainTrialFieldBuilder().getBuilder(), extensionRegistry); + 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 name_ = ""; + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + } + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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; + } + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Resource name of the NasTrialDetail.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @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 parameters_ = ""; + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @return The parameters. + */ + public java.lang.String getParameters() { + java.lang.Object ref = parameters_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parameters_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @return The bytes for parameters. + */ + public com.google.protobuf.ByteString getParametersBytes() { + java.lang.Object ref = parameters_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parameters_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @param value The parameters to set. + * @return This builder for chaining. + */ + public Builder setParameters(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parameters_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @return This builder for chaining. + */ + public Builder clearParameters() { + parameters_ = getDefaultInstance().getParameters(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * The parameters for the NasJob NasTrial.
+     * 
+ * + * string parameters = 2; + * + * @param value The bytes for parameters to set. + * @return This builder for chaining. + */ + public Builder setParametersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parameters_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.aiplatform.v1beta1.NasTrial searchTrial_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder> + searchTrialBuilder_; + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + * + * @return Whether the searchTrial field is set. + */ + public boolean hasSearchTrial() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + * + * @return The searchTrial. + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial getSearchTrial() { + if (searchTrialBuilder_ == null) { + return searchTrial_ == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance() + : searchTrial_; + } else { + return searchTrialBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + */ + public Builder setSearchTrial(com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (searchTrialBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + searchTrial_ = value; + } else { + searchTrialBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + */ + public Builder setSearchTrial( + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder builderForValue) { + if (searchTrialBuilder_ == null) { + searchTrial_ = builderForValue.build(); + } else { + searchTrialBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + */ + public Builder mergeSearchTrial(com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (searchTrialBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && searchTrial_ != null + && searchTrial_ != com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance()) { + getSearchTrialBuilder().mergeFrom(value); + } else { + searchTrial_ = value; + } + } else { + searchTrialBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + */ + public Builder clearSearchTrial() { + bitField0_ = (bitField0_ & ~0x00000004); + searchTrial_ = null; + if (searchTrialBuilder_ != null) { + searchTrialBuilder_.dispose(); + searchTrialBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial.Builder getSearchTrialBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSearchTrialFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + */ + public com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getSearchTrialOrBuilder() { + if (searchTrialBuilder_ != null) { + return searchTrialBuilder_.getMessageOrBuilder(); + } else { + return searchTrial_ == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance() + : searchTrial_; + } + } + /** + * + * + *
+     * The requested search NasTrial.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder> + getSearchTrialFieldBuilder() { + if (searchTrialBuilder_ == null) { + searchTrialBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder>( + getSearchTrial(), getParentForChildren(), isClean()); + searchTrial_ = null; + } + return searchTrialBuilder_; + } + + private com.google.cloud.aiplatform.v1beta1.NasTrial trainTrial_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder> + trainTrialBuilder_; + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+     * is used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + * + * @return Whether the trainTrial field is set. + */ + public boolean hasTrainTrial() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+     * is used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + * + * @return The trainTrial. + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial getTrainTrial() { + if (trainTrialBuilder_ == null) { + return trainTrial_ == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance() + : trainTrial_; + } else { + return trainTrialBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+     * is used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + */ + public Builder setTrainTrial(com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (trainTrialBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + trainTrial_ = value; + } else { + trainTrialBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+     * is used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + */ + public Builder setTrainTrial( + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder builderForValue) { + if (trainTrialBuilder_ == null) { + trainTrial_ = builderForValue.build(); + } else { + trainTrialBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+     * is used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + */ + public Builder mergeTrainTrial(com.google.cloud.aiplatform.v1beta1.NasTrial value) { + if (trainTrialBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && trainTrial_ != null + && trainTrial_ != com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance()) { + getTrainTrialBuilder().mergeFrom(value); + } else { + trainTrial_ = value; + } + } else { + trainTrialBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+     * is used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + */ + public Builder clearTrainTrial() { + bitField0_ = (bitField0_ & ~0x00000008); + trainTrial_ = null; + if (trainTrialBuilder_ != null) { + trainTrialBuilder_.dispose(); + trainTrialBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+     * is used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + */ + public com.google.cloud.aiplatform.v1beta1.NasTrial.Builder getTrainTrialBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getTrainTrialFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+     * is used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + */ + public com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getTrainTrialOrBuilder() { + if (trainTrialBuilder_ != null) { + return trainTrialBuilder_.getMessageOrBuilder(); + } else { + return trainTrial_ == null + ? com.google.cloud.aiplatform.v1beta1.NasTrial.getDefaultInstance() + : trainTrial_; + } + } + /** + * + * + *
+     * The train NasTrial corresponding to
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+     * Only populated if
+     * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+     * is used for training.
+     * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder> + getTrainTrialFieldBuilder() { + if (trainTrialBuilder_ == null) { + trainTrialBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.NasTrial, + com.google.cloud.aiplatform.v1beta1.NasTrial.Builder, + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder>( + getTrainTrial(), getParentForChildren(), isClean()); + trainTrial_ = null; + } + return trainTrialBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.NasTrialDetail) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.NasTrialDetail) + private static final com.google.cloud.aiplatform.v1beta1.NasTrialDetail DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.NasTrialDetail(); + } + + public static com.google.cloud.aiplatform.v1beta1.NasTrialDetail getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NasTrialDetail parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.NasTrialDetail getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialDetailName.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialDetailName.java new file mode 100644 index 000000000000..41e72a479bac --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialDetailName.java @@ -0,0 +1,269 @@ +/* + * Copyright 2022 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.aiplatform.v1beta1; + +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 NasTrialDetailName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_NAS_JOB_NAS_TRIAL_DETAIL = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String nasJob; + private final String nasTrialDetail; + + @Deprecated + protected NasTrialDetailName() { + project = null; + location = null; + nasJob = null; + nasTrialDetail = null; + } + + private NasTrialDetailName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + nasJob = Preconditions.checkNotNull(builder.getNasJob()); + nasTrialDetail = Preconditions.checkNotNull(builder.getNasTrialDetail()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNasJob() { + return nasJob; + } + + public String getNasTrialDetail() { + return nasTrialDetail; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static NasTrialDetailName of( + String project, String location, String nasJob, String nasTrialDetail) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNasJob(nasJob) + .setNasTrialDetail(nasTrialDetail) + .build(); + } + + public static String format( + String project, String location, String nasJob, String nasTrialDetail) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setNasJob(nasJob) + .setNasTrialDetail(nasTrialDetail) + .build() + .toString(); + } + + public static NasTrialDetailName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_NAS_JOB_NAS_TRIAL_DETAIL.validatedMatch( + formattedString, "NasTrialDetailName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("nas_job"), + matchMap.get("nas_trial_detail")); + } + + 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 (NasTrialDetailName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_NAS_JOB_NAS_TRIAL_DETAIL.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 (nasJob != null) { + fieldMapBuilder.put("nas_job", nasJob); + } + if (nasTrialDetail != null) { + fieldMapBuilder.put("nas_trial_detail", nasTrialDetail); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_NAS_JOB_NAS_TRIAL_DETAIL.instantiate( + "project", + project, + "location", + location, + "nas_job", + nasJob, + "nas_trial_detail", + nasTrialDetail); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + NasTrialDetailName that = ((NasTrialDetailName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.nasJob, that.nasJob) + && Objects.equals(this.nasTrialDetail, that.nasTrialDetail); + } + 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(nasJob); + h *= 1000003; + h ^= Objects.hashCode(nasTrialDetail); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}. + */ + public static class Builder { + private String project; + private String location; + private String nasJob; + private String nasTrialDetail; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getNasJob() { + return nasJob; + } + + public String getNasTrialDetail() { + return nasTrialDetail; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setNasJob(String nasJob) { + this.nasJob = nasJob; + return this; + } + + public Builder setNasTrialDetail(String nasTrialDetail) { + this.nasTrialDetail = nasTrialDetail; + return this; + } + + private Builder(NasTrialDetailName nasTrialDetailName) { + this.project = nasTrialDetailName.project; + this.location = nasTrialDetailName.location; + this.nasJob = nasTrialDetailName.nasJob; + this.nasTrialDetail = nasTrialDetailName.nasTrialDetail; + } + + public NasTrialDetailName build() { + return new NasTrialDetailName(this); + } + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialDetailOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialDetailOrBuilder.java new file mode 100644 index 000000000000..24c21855d0e8 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialDetailOrBuilder.java @@ -0,0 +1,157 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface NasTrialDetailOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasTrialDetail) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Resource name of the NasTrialDetail.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. Resource name of the NasTrialDetail.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * The parameters for the NasJob NasTrial.
+   * 
+ * + * string parameters = 2; + * + * @return The parameters. + */ + java.lang.String getParameters(); + /** + * + * + *
+   * The parameters for the NasJob NasTrial.
+   * 
+ * + * string parameters = 2; + * + * @return The bytes for parameters. + */ + com.google.protobuf.ByteString getParametersBytes(); + + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + * + * @return Whether the searchTrial field is set. + */ + boolean hasSearchTrial(); + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + * + * @return The searchTrial. + */ + com.google.cloud.aiplatform.v1beta1.NasTrial getSearchTrial(); + /** + * + * + *
+   * The requested search NasTrial.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial search_trial = 3; + */ + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getSearchTrialOrBuilder(); + + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+   * is used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + * + * @return Whether the trainTrial field is set. + */ + boolean hasTrainTrial(); + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+   * is used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + * + * @return The trainTrial. + */ + com.google.cloud.aiplatform.v1beta1.NasTrial getTrainTrial(); + /** + * + * + *
+   * The train NasTrial corresponding to
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial].
+   * Only populated if
+   * [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]
+   * is used for training.
+   * 
+ * + * .google.cloud.aiplatform.v1beta1.NasTrial train_trial = 4; + */ + com.google.cloud.aiplatform.v1beta1.NasTrialOrBuilder getTrainTrialOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialOrBuilder.java new file mode 100644 index 000000000000..b7abde1bea66 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/NasTrialOrBuilder.java @@ -0,0 +1,199 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/nas_job.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface NasTrialOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.NasTrial) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The identifier of the NasTrial assigned by the service.
+   * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The id. + */ + java.lang.String getId(); + /** + * + * + *
+   * Output only. The identifier of the NasTrial assigned by the service.
+   * 
+ * + * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * + * + *
+   * Output only. The detailed state of the NasTrial.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + * + * + *
+   * Output only. The detailed state of the NasTrial.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.NasTrial.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.aiplatform.v1beta1.NasTrial.State getState(); + + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the finalMeasurement field is set. + */ + boolean hasFinalMeasurement(); + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The finalMeasurement. + */ + com.google.cloud.aiplatform.v1beta1.Measurement getFinalMeasurement(); + /** + * + * + *
+   * Output only. The final measurement containing the objective value.
+   * 
+ * + * + * .google.cloud.aiplatform.v1beta1.Measurement final_measurement = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.aiplatform.v1beta1.MeasurementOrBuilder getFinalMeasurementOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + * + * + *
+   * Output only. Time when the NasTrial was started.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + * + * + *
+   * Output only. Time when the NasTrial's status changed to `SUCCEEDED` or
+   * `INFEASIBLE`.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/OperationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/OperationProto.java index 5c9961d8349b..db9b0a578f7c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/OperationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/OperationProto.java @@ -55,13 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "me\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A" + "\003\"n\n\027DeleteOperationMetadata\022S\n\020generic_" + "metadata\030\001 \001(\01329.google.cloud.aiplatform" - + ".v1beta1.GenericOperationMetadataB\353\001\n#co" + + ".v1beta1.GenericOperationMetadataB\345\001\n#co" + "m.google.cloud.aiplatform.v1beta1B\016Opera" - + "tionProtoP\001ZIgoogle.golang.org/genproto/" - + "googleapis/cloud/aiplatform/v1beta1;aipl" - + "atform\252\002\037Google.Cloud.AIPlatform.V1Beta1" - + "\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Goo" - + "gle::Cloud::AIPlatform::V1beta1b\006proto3" + + "tionProtoP\001ZCcloud.google.com/go/aiplatf" + + "orm/apiv1beta1/aiplatformpb;aiplatformpb" + + "\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goo" + + "gle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::C" + + "loud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Pipeline.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Pipeline.java index 4669a4a69794..34c4f666d3a1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Pipeline.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Pipeline.java @@ -210,30 +210,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RUNNING\020\002\022\r\n\tSUCCEE" + "DED\020\003\022\022\n\016CANCEL_PENDING\020\004\022\016\n\nCANCELLING\020" + "\005\022\r\n\tCANCELLED\020\006\022\n\n\006FAILED\020\007\022\013\n\007SKIPPED\020" - + "\010\022\021\n\rNOT_TRIGGERED\020\t\"\301\004\n\032PipelineTaskExe" + + "\010\022\021\n\rNOT_TRIGGERED\020\t\"\325\004\n\032PipelineTaskExe" + "cutorDetail\022l\n\020container_detail\030\001 \001(\0132K." + "google.cloud.aiplatform.v1beta1.Pipeline" + "TaskExecutorDetail.ContainerDetailB\003\340A\003H" - + "\000\022o\n\021custom_job_detail\030\002 \001(\0132K.google.cl" + + "\000\022m\n\021custom_job_detail\030\002 \001(\0132K.google.cl" + "oud.aiplatform.v1beta1.PipelineTaskExecu" - + "torDetail.CustomJobDetailB\005\030\001\340A\003H\000\032\347\001\n\017C" - + "ontainerDetail\022=\n\010main_job\030\001 \001(\tB+\340A\003\372A%" - + "\n#aiplatform.googleapis.com/CustomJob\022J\n" - + "\025pre_caching_check_job\030\002 \001(\tB+\340A\003\372A%\n#ai" - + "platform.googleapis.com/CustomJob\022\035\n\020fai" - + "led_main_jobs\030\003 \003(\tB\003\340A\003\022*\n\035failed_pre_c" - + "aching_check_jobs\030\004 \003(\tB\003\340A\003\032O\n\017CustomJo" - + "bDetail\0228\n\003job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform" - + ".googleapis.com/CustomJob:\002\030\001B\t\n\007details" - + "B\266\002\n#com.google.cloud.aiplatform.v1beta1" - + "B\010PipelineP\001ZIgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1beta1;aip" - + "latform\252\002\037Google.Cloud.AIPlatform.V1Beta" - + "1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Go" - + "ogle::Cloud::AIPlatform::V1beta1\352AN\n\036com" - + "pute.googleapis.com/Network\022,projects/{p" - + "roject}/global/networks/{network}b\006proto" - + "3" + + "torDetail.CustomJobDetailB\003\340A\003H\000\032\347\001\n\017Con" + + "tainerDetail\022=\n\010main_job\030\001 \001(\tB+\340A\003\372A%\n#" + + "aiplatform.googleapis.com/CustomJob\022J\n\025p" + + "re_caching_check_job\030\002 \001(\tB+\340A\003\372A%\n#aipl" + + "atform.googleapis.com/CustomJob\022\035\n\020faile" + + "d_main_jobs\030\003 \003(\tB\003\340A\003\022*\n\035failed_pre_cac" + + "hing_check_jobs\030\004 \003(\tB\003\340A\003\032e\n\017CustomJobD" + + "etail\0228\n\003job\030\001 \001(\tB+\340A\003\372A%\n#aiplatform.g" + + "oogleapis.com/CustomJob\022\030\n\013failed_jobs\030\003" + + " \003(\tB\003\340A\003B\t\n\007detailsB\260\002\n#com.google.clou" + + "d.aiplatform.v1beta1B\010PipelineP\001ZCcloud." + + "google.com/go/aiplatform/apiv1beta1/aipl" + + "atformpb;aiplatformpb\252\002\037Google.Cloud.AIP" + + "latform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfor" + + "m\\V1beta1\352\002\"Google::Cloud::AIPlatform::V" + + "1beta1\352AN\n\036compute.googleapis.com/Networ" + + "k\022,projects/{project}/global/networks/{n" + + "etwork}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -442,7 +442,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_PipelineTaskExecutorDetail_CustomJobDetail_descriptor, new java.lang.String[] { - "Job", + "Job", "FailedJobs", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineFailurePolicyProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineFailurePolicyProto.java index 8869e7da3524..e452b722e2b7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineFailurePolicyProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineFailurePolicyProto.java @@ -41,13 +41,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cy\022\'\n#PIPELINE_FAILURE_POLICY_UNSPECIFIE" + "D\020\000\022%\n!PIPELINE_FAILURE_POLICY_FAIL_SLOW" + "\020\001\022%\n!PIPELINE_FAILURE_POLICY_FAIL_FAST\020" - + "\002B\367\001\n#com.google.cloud.aiplatform.v1beta" - + "1B\032PipelineFailurePolicyProtoP\001ZIgoogle." - + "golang.org/genproto/googleapis/cloud/aip" - + "latform/v1beta1;aiplatform\252\002\037Google.Clou" - + "d.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPl" - + "atform\\V1beta1\352\002\"Google::Cloud::AIPlatfo" - + "rm::V1beta1b\006proto3" + + "\002B\361\001\n#com.google.cloud.aiplatform.v1beta" + + "1B\032PipelineFailurePolicyProtoP\001ZCcloud.g" + + "oogle.com/go/aiplatform/apiv1beta1/aipla" + + "tformpb;aiplatformpb\252\002\037Google.Cloud.AIPl" + + "atform.V1Beta1\312\002\037Google\\Cloud\\AIPlatform" + + "\\V1beta1\352\002\"Google::Cloud::AIPlatform::V1" + + "beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceProto.java index 61430755cb43..55f5026ef464 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineServiceProto.java @@ -191,13 +191,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "name=projects/*/locations/*/pipelineJobs" + "/*}:cancel:\001*\332A\004name\032M\312A\031aiplatform.goog" + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\361\001\n#com.google.cloud" + + "auth/cloud-platformB\353\001\n#com.google.cloud" + ".aiplatform.v1beta1B\024PipelineServiceProt" - + "oP\001ZIgoogle.golang.org/genproto/googleap" - + "is/cloud/aiplatform/v1beta1;aiplatform\252\002" - + "\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Googl" - + "e\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Clo" - + "ud::AIPlatform::V1beta1b\006proto3" + + "oP\001ZCcloud.google.com/go/aiplatform/apiv" + + "1beta1/aiplatformpb;aiplatformpb\252\002\037Googl" + + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou" + + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI" + + "Platform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineStateProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineStateProto.java index 1e2ddda20104..85cdef89acb0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineStateProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineStateProto.java @@ -44,13 +44,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "UCCEEDED\020\004\022\031\n\025PIPELINE_STATE_FAILED\020\005\022\035\n" + "\031PIPELINE_STATE_CANCELLING\020\006\022\034\n\030PIPELINE" + "_STATE_CANCELLED\020\007\022\031\n\025PIPELINE_STATE_PAU" - + "SED\020\010B\357\001\n#com.google.cloud.aiplatform.v1" - + "beta1B\022PipelineStateProtoP\001ZIgoogle.gola" - + "ng.org/genproto/googleapis/cloud/aiplatf" - + "orm/v1beta1;aiplatform\252\002\037Google.Cloud.AI" - + "Platform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\352\002\"Google::Cloud::AIPlatform::" - + "V1beta1b\006proto3" + + "SED\020\010B\351\001\n#com.google.cloud.aiplatform.v1" + + "beta1B\022PipelineStateProtoP\001ZCcloud.googl" + + "e.com/go/aiplatform/apiv1beta1/aiplatfor" + + "mpb;aiplatformpb\252\002\037Google.Cloud.AIPlatfo" + + "rm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1b" + + "eta1\352\002\"Google::Cloud::AIPlatform::V1beta" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetail.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetail.java index 98e73217d6e7..cc6cfdfaef14 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetail.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetail.java @@ -1884,7 +1884,6 @@ public com.google.protobuf.Parser getParserForType() { } } - @java.lang.Deprecated public interface CustomJobDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail) @@ -1920,6 +1919,65 @@ public interface CustomJobDetailOrBuilder * @return The bytes for job. */ com.google.protobuf.ByteString getJobBytes(); + + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+     * the all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the failedJobs. + */ + java.util.List getFailedJobsList(); + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+     * the all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of failedJobs. + */ + int getFailedJobsCount(); + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+     * the all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The failedJobs at the given index. + */ + java.lang.String getFailedJobs(int index); + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+     * the all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the failedJobs at the given index. + */ + com.google.protobuf.ByteString getFailedJobsBytes(int index); } /** * @@ -1931,7 +1989,6 @@ public interface CustomJobDetailOrBuilder * Protobuf type {@code * google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail} */ - @java.lang.Deprecated public static final class CustomJobDetail extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail) @@ -1944,6 +2001,7 @@ private CustomJobDetail(com.google.protobuf.GeneratedMessageV3.Builder builde private CustomJobDetail() { job_ = ""; + failedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @@ -2030,6 +2088,77 @@ public com.google.protobuf.ByteString getJobBytes() { } } + public static final int FAILED_JOBS_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList failedJobs_; + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+     * the all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the failedJobs. + */ + public com.google.protobuf.ProtocolStringList getFailedJobsList() { + return failedJobs_; + } + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+     * the all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of failedJobs. + */ + public int getFailedJobsCount() { + return failedJobs_.size(); + } + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+     * the all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The failedJobs at the given index. + */ + public java.lang.String getFailedJobs(int index) { + return failedJobs_.get(index); + } + /** + * + * + *
+     * Output only. The names of the previously failed
+     * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+     * the all attempts in chronological order.
+     * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the failedJobs at the given index. + */ + public com.google.protobuf.ByteString getFailedJobsBytes(int index) { + return failedJobs_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2047,6 +2176,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(job_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, job_); } + for (int i = 0; i < failedJobs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, failedJobs_.getRaw(i)); + } getUnknownFields().writeTo(output); } @@ -2059,6 +2191,14 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(job_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, job_); } + { + int dataSize = 0; + for (int i = 0; i < failedJobs_.size(); i++) { + dataSize += computeStringSizeNoTag(failedJobs_.getRaw(i)); + } + size += dataSize; + size += 1 * getFailedJobsList().size(); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2078,6 +2218,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail) obj; if (!getJob().equals(other.getJob())) return false; + if (!getFailedJobsList().equals(other.getFailedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2091,6 +2232,10 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + JOB_FIELD_NUMBER; hash = (53 * hash) + getJob().hashCode(); + if (getFailedJobsCount() > 0) { + hash = (37 * hash) + FAILED_JOBS_FIELD_NUMBER; + hash = (53 * hash) + getFailedJobsList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2244,6 +2389,8 @@ public Builder clear() { super.clear(); bitField0_ = 0; job_ = ""; + failedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -2277,6 +2424,7 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail result = new com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail( this); + buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -2284,6 +2432,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return result; } + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail result) { + if (((bitField0_ & 0x00000002) != 0)) { + failedJobs_ = failedJobs_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.failedJobs_ = failedJobs_; + } + private void buildPartial0( com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail result) { int from_bitField0_ = bitField0_; @@ -2351,6 +2508,16 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; onChanged(); } + if (!other.failedJobs_.isEmpty()) { + if (failedJobs_.isEmpty()) { + failedJobs_ = other.failedJobs_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureFailedJobsIsMutable(); + failedJobs_.addAll(other.failedJobs_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2383,6 +2550,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 10 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedJobsIsMutable(); + failedJobs_.add(s); + break; + } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2523,6 +2697,192 @@ public Builder setJobBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.protobuf.LazyStringList failedJobs_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureFailedJobsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + failedJobs_ = new com.google.protobuf.LazyStringArrayList(failedJobs_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+       * the all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the failedJobs. + */ + public com.google.protobuf.ProtocolStringList getFailedJobsList() { + return failedJobs_.getUnmodifiableView(); + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+       * the all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of failedJobs. + */ + public int getFailedJobsCount() { + return failedJobs_.size(); + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+       * the all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The failedJobs at the given index. + */ + public java.lang.String getFailedJobs(int index) { + return failedJobs_.get(index); + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+       * the all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the failedJobs at the given index. + */ + public com.google.protobuf.ByteString getFailedJobsBytes(int index) { + return failedJobs_.getByteString(index); + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+       * the all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index to set the value at. + * @param value The failedJobs to set. + * @return This builder for chaining. + */ + public Builder setFailedJobs(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFailedJobsIsMutable(); + failedJobs_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+       * the all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The failedJobs to add. + * @return This builder for chaining. + */ + public Builder addFailedJobs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFailedJobsIsMutable(); + failedJobs_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+       * the all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param values The failedJobs to add. + * @return This builder for chaining. + */ + public Builder addAllFailedJobs(java.lang.Iterable values) { + ensureFailedJobsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedJobs_); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+       * the all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearFailedJobs() { + failedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+       * Output only. The names of the previously failed
+       * [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes
+       * the all attempts in chronological order.
+       * 
+ * + * repeated string failed_jobs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes of the failedJobs to add. + * @return This builder for chaining. + */ + public Builder addFailedJobsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureFailedJobsIsMutable(); + failedJobs_.add(value); + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2600,7 +2960,6 @@ public enum DetailsCase com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CONTAINER_DETAIL(1), - @java.lang.Deprecated CUSTOM_JOB_DETAIL(2), DETAILS_NOT_SET(0); private final int value; @@ -2712,15 +3071,12 @@ public boolean hasContainerDetail() { *
* * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=402 * @return Whether the customJobDetail field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasCustomJobDetail() { return detailsCase_ == 2; } @@ -2732,15 +3088,12 @@ public boolean hasCustomJobDetail() { *
* * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=402 * @return The customJobDetail. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail getCustomJobDetail() { if (detailsCase_ == 2) { @@ -2758,11 +3111,10 @@ public boolean hasCustomJobDetail() { *
* * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetailOrBuilder getCustomJobDetailOrBuilder() { if (detailsCase_ == 2) { @@ -3468,15 +3820,12 @@ public Builder clearContainerDetail() { *
* * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=402 * @return Whether the customJobDetail field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasCustomJobDetail() { return detailsCase_ == 2; } @@ -3488,15 +3837,12 @@ public boolean hasCustomJobDetail() { * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=402 * @return The customJobDetail. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail getCustomJobDetail() { if (customJobDetailBuilder_ == null) { @@ -3522,10 +3868,9 @@ public boolean hasCustomJobDetail() { * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public Builder setCustomJobDetail( com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail value) { if (customJobDetailBuilder_ == null) { @@ -3548,10 +3893,9 @@ public Builder setCustomJobDetail( * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public Builder setCustomJobDetail( com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail.Builder builderForValue) { @@ -3572,10 +3916,9 @@ public Builder setCustomJobDetail( * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public Builder mergeCustomJobDetail( com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail value) { if (customJobDetailBuilder_ == null) { @@ -3613,10 +3956,9 @@ public Builder mergeCustomJobDetail( * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public Builder clearCustomJobDetail() { if (customJobDetailBuilder_ == null) { if (detailsCase_ == 2) { @@ -3641,10 +3983,9 @@ public Builder clearCustomJobDetail() { * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated public com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail.Builder getCustomJobDetailBuilder() { return getCustomJobDetailFieldBuilder().getBuilder(); @@ -3657,11 +3998,10 @@ public Builder clearCustomJobDetail() { * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetailOrBuilder getCustomJobDetailOrBuilder() { if ((detailsCase_ == 2) && (customJobDetailBuilder_ != null)) { @@ -3683,7 +4023,7 @@ public Builder clearCustomJobDetail() { * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetailOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetailOrBuilder.java index 5ea4521c5743..eb56e7389d92 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetailOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PipelineTaskExecutorDetailOrBuilder.java @@ -74,14 +74,11 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=402 * @return Whether the customJobDetail field is set. */ - @java.lang.Deprecated boolean hasCustomJobDetail(); /** * @@ -91,14 +88,11 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * - * @deprecated google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.custom_job_detail is - * deprecated. See google/cloud/aiplatform/v1beta1/pipeline_job.proto;l=402 * @return The customJobDetail. */ - @java.lang.Deprecated com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail getCustomJobDetail(); /** @@ -109,10 +103,9 @@ public interface PipelineTaskExecutorDetailOrBuilder * * * - * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetail custom_job_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - @java.lang.Deprecated com.google.cloud.aiplatform.v1beta1.PipelineTaskExecutorDetail.CustomJobDetailOrBuilder getCustomJobDetailOrBuilder(); diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java index ee7cd848892e..610bb6999c34 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceProto.java @@ -106,13 +106,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "explain:\001*\332A/endpoint,instances,paramete" + "rs,deployed_model_id\032M\312A\031aiplatform.goog" + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\363\001\n#com.google.cloud" + + "auth/cloud-platformB\355\001\n#com.google.cloud" + ".aiplatform.v1beta1B\026PredictionServicePr" - + "otoP\001ZIgoogle.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1beta1;aiplatform" - + "\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Goo" - + "gle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::C" - + "loud::AIPlatform::V1beta1b\006proto3" + + "otoP\001ZCcloud.google.com/go/aiplatform/ap" + + "iv1beta1/aiplatformpb;aiplatformpb\252\002\037Goo" + + "gle.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cl" + + "oud\\AIPlatform\\V1beta1\352\002\"Google::Cloud::" + + "AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PrivateServiceConnectConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PrivateServiceConnectConfig.java new file mode 100644 index 000000000000..af3447d46726 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PrivateServiceConnectConfig.java @@ -0,0 +1,842 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/service_networking.proto + +package com.google.cloud.aiplatform.v1beta1; + +/** + * + * + *
+ * Represents configuration for private service connect.
+ * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig} + */ +public final class PrivateServiceConnectConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig) + PrivateServiceConnectConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use PrivateServiceConnectConfig.newBuilder() to construct. + private PrivateServiceConnectConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PrivateServiceConnectConfig() { + projectAllowlist_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PrivateServiceConnectConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.class, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder.class); + } + + public static final int ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER = 1; + private boolean enablePrivateServiceConnect_ = false; + /** + * + * + *
+   * Required. If true, expose the IndexEndpoint via private service connect.
+   * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The enablePrivateServiceConnect. + */ + @java.lang.Override + public boolean getEnablePrivateServiceConnect() { + return enablePrivateServiceConnect_; + } + + public static final int PROJECT_ALLOWLIST_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList projectAllowlist_; + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @return A list containing the projectAllowlist. + */ + public com.google.protobuf.ProtocolStringList getProjectAllowlistList() { + return projectAllowlist_; + } + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @return The count of projectAllowlist. + */ + public int getProjectAllowlistCount() { + return projectAllowlist_.size(); + } + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the element to return. + * @return The projectAllowlist at the given index. + */ + public java.lang.String getProjectAllowlist(int index) { + return projectAllowlist_.get(index); + } + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the value to return. + * @return The bytes of the projectAllowlist at the given index. + */ + public com.google.protobuf.ByteString getProjectAllowlistBytes(int index) { + return projectAllowlist_.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 (enablePrivateServiceConnect_ != false) { + output.writeBool(1, enablePrivateServiceConnect_); + } + for (int i = 0; i < projectAllowlist_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectAllowlist_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enablePrivateServiceConnect_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateServiceConnect_); + } + { + int dataSize = 0; + for (int i = 0; i < projectAllowlist_.size(); i++) { + dataSize += computeStringSizeNoTag(projectAllowlist_.getRaw(i)); + } + size += dataSize; + size += 1 * getProjectAllowlistList().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.aiplatform.v1beta1.PrivateServiceConnectConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig other = + (com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig) obj; + + if (getEnablePrivateServiceConnect() != other.getEnablePrivateServiceConnect()) return false; + if (!getProjectAllowlistList().equals(other.getProjectAllowlistList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateServiceConnect()); + if (getProjectAllowlistCount() > 0) { + hash = (37 * hash) + PROJECT_ALLOWLIST_FIELD_NUMBER; + hash = (53 * hash) + getProjectAllowlistList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Represents configuration for private service connect.
+   * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig) + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.class, + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.Builder.class); + } + + // Construct using com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + enablePrivateServiceConnect_ = false; + projectAllowlist_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.ServiceNetworkingProto + .internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig build() { + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig buildPartial() { + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig result = + new com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig result) { + if (((bitField0_ & 0x00000002) != 0)) { + projectAllowlist_ = projectAllowlist_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.projectAllowlist_ = projectAllowlist_; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.enablePrivateServiceConnect_ = enablePrivateServiceConnect_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig) { + return mergeFrom((com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig other) { + if (other + == com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig.getDefaultInstance()) + return this; + if (other.getEnablePrivateServiceConnect() != false) { + setEnablePrivateServiceConnect(other.getEnablePrivateServiceConnect()); + } + if (!other.projectAllowlist_.isEmpty()) { + if (projectAllowlist_.isEmpty()) { + projectAllowlist_ = other.projectAllowlist_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureProjectAllowlistIsMutable(); + projectAllowlist_.addAll(other.projectAllowlist_); + } + 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: + { + enablePrivateServiceConnect_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureProjectAllowlistIsMutable(); + projectAllowlist_.add(s); + 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 boolean enablePrivateServiceConnect_; + /** + * + * + *
+     * Required. If true, expose the IndexEndpoint via private service connect.
+     * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enablePrivateServiceConnect. + */ + @java.lang.Override + public boolean getEnablePrivateServiceConnect() { + return enablePrivateServiceConnect_; + } + /** + * + * + *
+     * Required. If true, expose the IndexEndpoint via private service connect.
+     * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The enablePrivateServiceConnect to set. + * @return This builder for chaining. + */ + public Builder setEnablePrivateServiceConnect(boolean value) { + + enablePrivateServiceConnect_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * Required. If true, expose the IndexEndpoint via private service connect.
+     * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearEnablePrivateServiceConnect() { + bitField0_ = (bitField0_ & ~0x00000001); + enablePrivateServiceConnect_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList projectAllowlist_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureProjectAllowlistIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + projectAllowlist_ = new com.google.protobuf.LazyStringArrayList(projectAllowlist_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @return A list containing the projectAllowlist. + */ + public com.google.protobuf.ProtocolStringList getProjectAllowlistList() { + return projectAllowlist_.getUnmodifiableView(); + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @return The count of projectAllowlist. + */ + public int getProjectAllowlistCount() { + return projectAllowlist_.size(); + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the element to return. + * @return The projectAllowlist at the given index. + */ + public java.lang.String getProjectAllowlist(int index) { + return projectAllowlist_.get(index); + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the value to return. + * @return The bytes of the projectAllowlist at the given index. + */ + public com.google.protobuf.ByteString getProjectAllowlistBytes(int index) { + return projectAllowlist_.getByteString(index); + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index to set the value at. + * @param value The projectAllowlist to set. + * @return This builder for chaining. + */ + public Builder setProjectAllowlist(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureProjectAllowlistIsMutable(); + projectAllowlist_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param value The projectAllowlist to add. + * @return This builder for chaining. + */ + public Builder addProjectAllowlist(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureProjectAllowlistIsMutable(); + projectAllowlist_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param values The projectAllowlist to add. + * @return This builder for chaining. + */ + public Builder addAllProjectAllowlist(java.lang.Iterable values) { + ensureProjectAllowlistIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, projectAllowlist_); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @return This builder for chaining. + */ + public Builder clearProjectAllowlist() { + projectAllowlist_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * A list of Projects from which the forwarding rule will target the service
+     * attachment.
+     * 
+ * + * repeated string project_allowlist = 2; + * + * @param value The bytes of the projectAllowlist to add. + * @return This builder for chaining. + */ + public Builder addProjectAllowlistBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureProjectAllowlistIsMutable(); + projectAllowlist_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig) + private static final com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig(); + } + + public static com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateServiceConnectConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PrivateServiceConnectConfigOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PrivateServiceConnectConfigOrBuilder.java new file mode 100644 index 000000000000..f8e5f7fff91f --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PrivateServiceConnectConfigOrBuilder.java @@ -0,0 +1,93 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/service_networking.proto + +package com.google.cloud.aiplatform.v1beta1; + +public interface PrivateServiceConnectConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. If true, expose the IndexEndpoint via private service connect.
+   * 
+ * + * bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The enablePrivateServiceConnect. + */ + boolean getEnablePrivateServiceConnect(); + + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @return A list containing the projectAllowlist. + */ + java.util.List getProjectAllowlistList(); + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @return The count of projectAllowlist. + */ + int getProjectAllowlistCount(); + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the element to return. + * @return The projectAllowlist at the given index. + */ + java.lang.String getProjectAllowlist(int index); + /** + * + * + *
+   * A list of Projects from which the forwarding rule will target the service
+   * attachment.
+   * 
+ * + * repeated string project_allowlist = 2; + * + * @param index The index of the value to return. + * @return The bytes of the projectAllowlist at the given index. + */ + com.google.protobuf.ByteString getProjectAllowlistBytes(int index); +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQueryProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQueryProto.java index 00841bc40bb0..e837fdc478d3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQueryProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SavedQueryProto.java @@ -57,13 +57,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "B\003\340A\003:\200\001\352A}\n$aiplatform.googleapis.com/S" + "avedQuery\022Uprojects/{project}/locations/" + "{location}/datasets/{dataset}/savedQueri" - + "es/{saved_query}B\354\001\n#com.google.cloud.ai" - + "platform.v1beta1B\017SavedQueryProtoP\001ZIgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1beta1;aiplatform\252\002\037Google." - + "Cloud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\" - + "AIPlatform\\V1beta1\352\002\"Google::Cloud::AIPl" - + "atform::V1beta1b\006proto3" + + "es/{saved_query}B\346\001\n#com.google.cloud.ai" + + "platform.v1beta1B\017SavedQueryProtoP\001ZCclo" + + "ud.google.com/go/aiplatform/apiv1beta1/a" + + "iplatformpb;aiplatformpb\252\002\037Google.Cloud." + + "AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlat" + + "form\\V1beta1\352\002\"Google::Cloud::AIPlatform" + + "::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ServiceNetworkingProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ServiceNetworkingProto.java new file mode 100644 index 000000000000..07e7c40e6ba5 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ServiceNetworkingProto.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/aiplatform/v1beta1/service_networking.proto + +package com.google.cloud.aiplatform.v1beta1; + +public final class ServiceNetworkingProto { + private ServiceNetworkingProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n8google/cloud/aiplatform/v1beta1/servic" + + "e_networking.proto\022\037google.cloud.aiplatf" + + "orm.v1beta1\032\037google/api/field_behavior.p" + + "roto\"e\n\033PrivateServiceConnectConfig\022+\n\036e" + + "nable_private_service_connect\030\001 \001(\010B\003\340A\002" + + "\022\031\n\021project_allowlist\030\002 \003(\tB\355\001\n#com.goog" + + "le.cloud.aiplatform.v1beta1B\026ServiceNetw" + + "orkingProtoP\001ZCcloud.google.com/go/aipla" + + "tform/apiv1beta1/aiplatformpb;aiplatform" + + "pb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037G" + + "oogle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google:" + + ":Cloud::AIPlatform::V1beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_PrivateServiceConnectConfig_descriptor, + new java.lang.String[] { + "EnablePrivateServiceConnect", "ProjectAllowlist", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolProto.java index a2bca9c2d8bd..653cd84841c5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolProto.java @@ -52,13 +52,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003(\t:x\352Au\n(aiplatform.googleapis.com/Spec" + "ialistPool\022Iprojects/{project}/locations" + "/{location}/specialistPools/{specialist_" - + "pool}B\360\001\n#com.google.cloud.aiplatform.v1" - + "beta1B\023SpecialistPoolProtoP\001ZIgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1beta1;aiplatform\252\002\037Google.Cloud.A" - + "IPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlatf" - + "orm\\V1beta1\352\002\"Google::Cloud::AIPlatform:" - + ":V1beta1b\006proto3" + + "pool}B\352\001\n#com.google.cloud.aiplatform.v1" + + "beta1B\023SpecialistPoolProtoP\001ZCcloud.goog" + + "le.com/go/aiplatform/apiv1beta1/aiplatfo" + + "rmpb;aiplatformpb\252\002\037Google.Cloud.AIPlatf" + + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" + + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceProto.java index bbd24e7353d3..6088aac9d45f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SpecialistPoolServiceProto.java @@ -141,13 +141,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Pool\022%UpdateSpecialistPoolOperationMetad" + "ata\032M\312A\031aiplatform.googleapis.com\322A.http" + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\367\001\n#com.google.cloud.aiplatform.v1bet" - + "a1B\032SpecialistPoolServiceProtoP\001ZIgoogle" - + ".golang.org/genproto/googleapis/cloud/ai" - + "platform/v1beta1;aiplatform\252\002\037Google.Clo" - + "ud.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIP" - + "latform\\V1beta1\352\002\"Google::Cloud::AIPlatf" - + "orm::V1beta1b\006proto3" + + "rmB\361\001\n#com.google.cloud.aiplatform.v1bet" + + "a1B\032SpecialistPoolServiceProtoP\001ZCcloud." + + "google.com/go/aiplatform/apiv1beta1/aipl" + + "atformpb;aiplatformpb\252\002\037Google.Cloud.AIP" + + "latform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfor" + + "m\\V1beta1\352\002\"Google::Cloud::AIPlatform::V" + + "1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyProto.java index b52d939ea21f..294b18bd95ae 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudyProto.java @@ -51,6 +51,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_aiplatform_v1beta1_StudySpec_ParameterSpec_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -166,7 +170,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "FEASIBLE\020\005:l\352Ai\n\037aiplatform.googleapis.c" + "om/Trial\022Fprojects/{project}/locations/{" + "location}/studies/{study}/trials/{trial}" - + "\"\247\037\n\tStudySpec\022o\n\031decay_curve_stopping_s" + + "\"\244!\n\tStudySpec\022o\n\031decay_curve_stopping_s" + "pec\030\004 \001(\0132J.google.cloud.aiplatform.v1be" + "ta1.StudySpec.DecayCurveAutomatedStoppin" + "gSpecH\000\022p\n\036median_automated_stopping_spe" @@ -190,94 +194,101 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1.StudySpec.MeasurementSelectionType\022c\n\030" + "transfer_learning_config\030\n \001(\0132A.google." + "cloud.aiplatform.v1beta1.StudySpec.Trans" - + "ferLearningConfig\032\272\001\n\nMetricSpec\022\026\n\tmetr" + + "ferLearningConfig\032\267\003\n\nMetricSpec\022\026\n\tmetr" + "ic_id\030\001 \001(\tB\003\340A\002\022Q\n\004goal\030\002 \001(\0162>.google." + "cloud.aiplatform.v1beta1.StudySpec.Metri" - + "cSpec.GoalTypeB\003\340A\002\"A\n\010GoalType\022\031\n\025GOAL_" - + "TYPE_UNSPECIFIED\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n\010MINI" - + "MIZE\020\002\032\200\017\n\rParameterSpec\022e\n\021double_value" - + "_spec\030\002 \001(\0132H.google.cloud.aiplatform.v1" - + "beta1.StudySpec.ParameterSpec.DoubleValu" - + "eSpecH\000\022g\n\022integer_value_spec\030\003 \001(\0132I.go" - + "ogle.cloud.aiplatform.v1beta1.StudySpec." - + "ParameterSpec.IntegerValueSpecH\000\022o\n\026cate" - + "gorical_value_spec\030\004 \001(\0132M.google.cloud." + + "cSpec.GoalTypeB\003\340A\002\022d\n\rsafety_config\030\003 \001" + + "(\0132H.google.cloud.aiplatform.v1beta1.Stu" + + "dySpec.MetricSpec.SafetyMetricConfigH\000\210\001" + + "\001\032\202\001\n\022SafetyMetricConfig\022\030\n\020safety_thres" + + "hold\030\001 \001(\001\022-\n desired_min_safe_trials_fr" + + "action\030\002 \001(\001H\000\210\001\001B#\n!_desired_min_safe_t" + + "rials_fraction\"A\n\010GoalType\022\031\n\025GOAL_TYPE_" + + "UNSPECIFIED\020\000\022\014\n\010MAXIMIZE\020\001\022\014\n\010MINIMIZE\020" + + "\002B\020\n\016_safety_config\032\200\017\n\rParameterSpec\022e\n" + + "\021double_value_spec\030\002 \001(\0132H.google.cloud." + "aiplatform.v1beta1.StudySpec.ParameterSp" - + "ec.CategoricalValueSpecH\000\022i\n\023discrete_va" - + "lue_spec\030\005 \001(\0132J.google.cloud.aiplatform" - + ".v1beta1.StudySpec.ParameterSpec.Discret" - + "eValueSpecH\000\022\031\n\014parameter_id\030\001 \001(\tB\003\340A\002\022" - + "V\n\nscale_type\030\006 \001(\0162B.google.cloud.aipla" - + "tform.v1beta1.StudySpec.ParameterSpec.Sc" - + "aleType\022v\n\033conditional_parameter_specs\030\n" - + " \003(\0132Q.google.cloud.aiplatform.v1beta1.S" - + "tudySpec.ParameterSpec.ConditionalParame" - + "terSpec\032o\n\017DoubleValueSpec\022\026\n\tmin_value\030" - + "\001 \001(\001B\003\340A\002\022\026\n\tmax_value\030\002 \001(\001B\003\340A\002\022\032\n\rde" - + "fault_value\030\004 \001(\001H\000\210\001\001B\020\n\016_default_value" - + "\032p\n\020IntegerValueSpec\022\026\n\tmin_value\030\001 \001(\003B" - + "\003\340A\002\022\026\n\tmax_value\030\002 \001(\003B\003\340A\002\022\032\n\rdefault_" - + "value\030\004 \001(\003H\000\210\001\001B\020\n\016_default_value\032Y\n\024Ca" - + "tegoricalValueSpec\022\023\n\006values\030\001 \003(\tB\003\340A\002\022" - + "\032\n\rdefault_value\030\003 \001(\tH\000\210\001\001B\020\n\016_default_" - + "value\032V\n\021DiscreteValueSpec\022\023\n\006values\030\001 \003" - + "(\001B\003\340A\002\022\032\n\rdefault_value\030\003 \001(\001H\000\210\001\001B\020\n\016_" - + "default_value\032\271\005\n\030ConditionalParameterSp" - + "ec\022\212\001\n\026parent_discrete_values\030\002 \001(\0132h.go" - + "ogle.cloud.aiplatform.v1beta1.StudySpec." - + "ParameterSpec.ConditionalParameterSpec.D" - + "iscreteValueConditionH\000\022\200\001\n\021parent_int_v" - + "alues\030\003 \001(\0132c.google.cloud.aiplatform.v1" - + "beta1.StudySpec.ParameterSpec.Conditiona" - + "lParameterSpec.IntValueConditionH\000\022\220\001\n\031p" - + "arent_categorical_values\030\004 \001(\0132k.google." - + "cloud.aiplatform.v1beta1.StudySpec.Param" - + "eterSpec.ConditionalParameterSpec.Catego" - + "ricalValueConditionH\000\022U\n\016parameter_spec\030" - + "\001 \001(\01328.google.cloud.aiplatform.v1beta1." - + "StudySpec.ParameterSpecB\003\340A\002\032-\n\026Discrete" - + "ValueCondition\022\023\n\006values\030\001 \003(\001B\003\340A\002\032(\n\021I" - + "ntValueCondition\022\023\n\006values\030\001 \003(\003B\003\340A\002\0320\n" - + "\031CategoricalValueCondition\022\023\n\006values\030\001 \003" - + "(\tB\003\340A\002B\030\n\026parent_value_condition\"n\n\tSca" - + "leType\022\032\n\026SCALE_TYPE_UNSPECIFIED\020\000\022\025\n\021UN" - + "IT_LINEAR_SCALE\020\001\022\022\n\016UNIT_LOG_SCALE\020\002\022\032\n" - + "\026UNIT_REVERSE_LOG_SCALE\020\003B\026\n\024parameter_v" - + "alue_spec\032?\n\037DecayCurveAutomatedStopping" - + "Spec\022\034\n\024use_elapsed_duration\030\001 \001(\010\032;\n\033Me" - + "dianAutomatedStoppingSpec\022\034\n\024use_elapsed" - + "_duration\030\001 \001(\010\032\366\001\n\033ConvexAutomatedStopp" - + "ingSpec\022\026\n\016max_step_count\030\001 \001(\003\022\026\n\016min_s" - + "tep_count\030\002 \001(\003\022\035\n\025min_measurement_count" - + "\030\003 \001(\003\022$\n\034learning_rate_parameter_name\030\004" - + " \001(\t\022\034\n\024use_elapsed_duration\030\005 \001(\010\022&\n\031up" - + "date_all_stopped_trials\030\006 \001(\010H\000\210\001\001B\034\n\032_u" - + "pdate_all_stopped_trials\032\235\001\n\020ConvexStopC" - + "onfig\022\025\n\rmax_num_steps\030\001 \001(\003\022\025\n\rmin_num_" - + "steps\030\002 \001(\003\022\034\n\024autoregressive_order\030\003 \001(" - + "\003\022$\n\034learning_rate_parameter_name\030\004 \001(\t\022" - + "\023\n\013use_seconds\030\005 \001(\010:\002\030\001\032[\n\026TransferLear" - + "ningConfig\022!\n\031disable_transfer_learning\030" - + "\001 \001(\010\022\036\n\021prior_study_names\030\002 \003(\tB\003\340A\003\"J\n" - + "\tAlgorithm\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\022\017\n" - + "\013GRID_SEARCH\020\002\022\021\n\rRANDOM_SEARCH\020\003\"H\n\020Obs" - + "ervationNoise\022!\n\035OBSERVATION_NOISE_UNSPE" - + "CIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004HIGH\020\002\"r\n\030Measureme" - + "ntSelectionType\022*\n&MEASUREMENT_SELECTION" - + "_TYPE_UNSPECIFIED\020\000\022\024\n\020LAST_MEASUREMENT\020" - + "\001\022\024\n\020BEST_MEASUREMENT\020\002B\031\n\027automated_sto" - + "pping_spec\"\341\001\n\013Measurement\0228\n\020elapsed_du" - + "ration\030\001 \001(\0132\031.google.protobuf.DurationB" - + "\003\340A\003\022\027\n\nstep_count\030\002 \001(\003B\003\340A\003\022I\n\007metrics" - + "\030\003 \003(\01323.google.cloud.aiplatform.v1beta1" - + ".Measurement.MetricB\003\340A\003\0324\n\006Metric\022\026\n\tme" - + "tric_id\030\001 \001(\tB\003\340A\003\022\022\n\005value\030\002 \001(\001B\003\340A\003B\347" - + "\001\n#com.google.cloud.aiplatform.v1beta1B\n" - + "StudyProtoP\001ZIgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1beta1;aip" - + "latform\252\002\037Google.Cloud.AIPlatform.V1Beta" - + "1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Go" - + "ogle::Cloud::AIPlatform::V1beta1b\006proto3" + + "ec.DoubleValueSpecH\000\022g\n\022integer_value_sp" + + "ec\030\003 \001(\0132I.google.cloud.aiplatform.v1bet" + + "a1.StudySpec.ParameterSpec.IntegerValueS" + + "pecH\000\022o\n\026categorical_value_spec\030\004 \001(\0132M." + + "google.cloud.aiplatform.v1beta1.StudySpe" + + "c.ParameterSpec.CategoricalValueSpecH\000\022i" + + "\n\023discrete_value_spec\030\005 \001(\0132J.google.clo" + + "ud.aiplatform.v1beta1.StudySpec.Paramete" + + "rSpec.DiscreteValueSpecH\000\022\031\n\014parameter_i" + + "d\030\001 \001(\tB\003\340A\002\022V\n\nscale_type\030\006 \001(\0162B.googl" + + "e.cloud.aiplatform.v1beta1.StudySpec.Par" + + "ameterSpec.ScaleType\022v\n\033conditional_para" + + "meter_specs\030\n \003(\0132Q.google.cloud.aiplatf" + + "orm.v1beta1.StudySpec.ParameterSpec.Cond" + + "itionalParameterSpec\032o\n\017DoubleValueSpec\022" + + "\026\n\tmin_value\030\001 \001(\001B\003\340A\002\022\026\n\tmax_value\030\002 \001" + + "(\001B\003\340A\002\022\032\n\rdefault_value\030\004 \001(\001H\000\210\001\001B\020\n\016_" + + "default_value\032p\n\020IntegerValueSpec\022\026\n\tmin" + + "_value\030\001 \001(\003B\003\340A\002\022\026\n\tmax_value\030\002 \001(\003B\003\340A" + + "\002\022\032\n\rdefault_value\030\004 \001(\003H\000\210\001\001B\020\n\016_defaul" + + "t_value\032Y\n\024CategoricalValueSpec\022\023\n\006value" + + "s\030\001 \003(\tB\003\340A\002\022\032\n\rdefault_value\030\003 \001(\tH\000\210\001\001" + + "B\020\n\016_default_value\032V\n\021DiscreteValueSpec\022" + + "\023\n\006values\030\001 \003(\001B\003\340A\002\022\032\n\rdefault_value\030\003 " + + "\001(\001H\000\210\001\001B\020\n\016_default_value\032\271\005\n\030Condition" + + "alParameterSpec\022\212\001\n\026parent_discrete_valu" + + "es\030\002 \001(\0132h.google.cloud.aiplatform.v1bet" + + "a1.StudySpec.ParameterSpec.ConditionalPa" + + "rameterSpec.DiscreteValueConditionH\000\022\200\001\n" + + "\021parent_int_values\030\003 \001(\0132c.google.cloud." + + "aiplatform.v1beta1.StudySpec.ParameterSp" + + "ec.ConditionalParameterSpec.IntValueCond" + + "itionH\000\022\220\001\n\031parent_categorical_values\030\004 " + + "\001(\0132k.google.cloud.aiplatform.v1beta1.St" + + "udySpec.ParameterSpec.ConditionalParamet" + + "erSpec.CategoricalValueConditionH\000\022U\n\016pa" + + "rameter_spec\030\001 \001(\01328.google.cloud.aiplat" + + "form.v1beta1.StudySpec.ParameterSpecB\003\340A" + + "\002\032-\n\026DiscreteValueCondition\022\023\n\006values\030\001 " + + "\003(\001B\003\340A\002\032(\n\021IntValueCondition\022\023\n\006values\030" + + "\001 \003(\003B\003\340A\002\0320\n\031CategoricalValueCondition\022" + + "\023\n\006values\030\001 \003(\tB\003\340A\002B\030\n\026parent_value_con" + + "dition\"n\n\tScaleType\022\032\n\026SCALE_TYPE_UNSPEC" + + "IFIED\020\000\022\025\n\021UNIT_LINEAR_SCALE\020\001\022\022\n\016UNIT_L" + + "OG_SCALE\020\002\022\032\n\026UNIT_REVERSE_LOG_SCALE\020\003B\026" + + "\n\024parameter_value_spec\032?\n\037DecayCurveAuto" + + "matedStoppingSpec\022\034\n\024use_elapsed_duratio" + + "n\030\001 \001(\010\032;\n\033MedianAutomatedStoppingSpec\022\034" + + "\n\024use_elapsed_duration\030\001 \001(\010\032\366\001\n\033ConvexA" + + "utomatedStoppingSpec\022\026\n\016max_step_count\030\001" + + " \001(\003\022\026\n\016min_step_count\030\002 \001(\003\022\035\n\025min_meas" + + "urement_count\030\003 \001(\003\022$\n\034learning_rate_par" + + "ameter_name\030\004 \001(\t\022\034\n\024use_elapsed_duratio" + + "n\030\005 \001(\010\022&\n\031update_all_stopped_trials\030\006 \001" + + "(\010H\000\210\001\001B\034\n\032_update_all_stopped_trials\032\235\001" + + "\n\020ConvexStopConfig\022\025\n\rmax_num_steps\030\001 \001(" + + "\003\022\025\n\rmin_num_steps\030\002 \001(\003\022\034\n\024autoregressi" + + "ve_order\030\003 \001(\003\022$\n\034learning_rate_paramete" + + "r_name\030\004 \001(\t\022\023\n\013use_seconds\030\005 \001(\010:\002\030\001\032[\n" + + "\026TransferLearningConfig\022!\n\031disable_trans" + + "fer_learning\030\001 \001(\010\022\036\n\021prior_study_names\030" + + "\002 \003(\tB\003\340A\003\"J\n\tAlgorithm\022\031\n\025ALGORITHM_UNS" + + "PECIFIED\020\000\022\017\n\013GRID_SEARCH\020\002\022\021\n\rRANDOM_SE" + + "ARCH\020\003\"H\n\020ObservationNoise\022!\n\035OBSERVATIO" + + "N_NOISE_UNSPECIFIED\020\000\022\007\n\003LOW\020\001\022\010\n\004HIGH\020\002" + + "\"r\n\030MeasurementSelectionType\022*\n&MEASUREM" + + "ENT_SELECTION_TYPE_UNSPECIFIED\020\000\022\024\n\020LAST" + + "_MEASUREMENT\020\001\022\024\n\020BEST_MEASUREMENT\020\002B\031\n\027" + + "automated_stopping_spec\"\341\001\n\013Measurement\022" + + "8\n\020elapsed_duration\030\001 \001(\0132\031.google.proto" + + "buf.DurationB\003\340A\003\022\027\n\nstep_count\030\002 \001(\003B\003\340" + + "A\003\022I\n\007metrics\030\003 \003(\01323.google.cloud.aipla" + + "tform.v1beta1.Measurement.MetricB\003\340A\003\0324\n" + + "\006Metric\022\026\n\tmetric_id\030\001 \001(\tB\003\340A\003\022\022\n\005value" + + "\030\002 \001(\001B\003\340A\003B\341\001\n#com.google.cloud.aiplatf" + + "orm.v1beta1B\nStudyProtoP\001ZCcloud.google." + + "com/go/aiplatform/apiv1beta1/aiplatformp" + + "b;aiplatformpb\252\002\037Google.Cloud.AIPlatform" + + ".V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1bet" + + "a1\352\002\"Google::Cloud::AIPlatform::V1beta1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -358,7 +369,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_descriptor, new java.lang.String[] { - "MetricId", "Goal", + "MetricId", "Goal", "SafetyConfig", "SafetyConfig", + }); + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor = + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor, + new java.lang.String[] { + "SafetyThreshold", "DesiredMinSafeTrialsFraction", "DesiredMinSafeTrialsFraction", }); internal_static_google_cloud_aiplatform_v1beta1_StudySpec_ParameterSpec_descriptor = internal_static_google_cloud_aiplatform_v1beta1_StudySpec_descriptor diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpec.java index 72eb5f25ddc3..de449b823935 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpec.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpec.java @@ -633,6 +633,51 @@ public interface MetricSpecOrBuilder * @return The goal. */ com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.GoalType getGoal(); + + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return Whether the safetyConfig field is set. + */ + boolean hasSafetyConfig(); + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return The safetyConfig. + */ + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig getSafetyConfig(); + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder + getSafetyConfigOrBuilder(); } /** * @@ -804,45 +849,835 @@ public GoalType findValueByNumber(int 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."); + 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final GoalType[] VALUES = values(); + + public static GoalType 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 GoalType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.GoalType) + } + + public interface SafetyMetricConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+       * Safety threshold (boundary value between safe and unsafe). NOTE that if
+       * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+       * 
+ * + * double safety_threshold = 1; + * + * @return The safetyThreshold. + */ + double getSafetyThreshold(); + + /** + * + * + *
+       * Desired minimum fraction of safe trials (over total number of trials)
+       * that should be targeted by the algorithm at any time during the
+       * study (best effort). This should be between 0.0 and 1.0 and a value of
+       * 0.0 means that there is no minimum and an algorithm proceeds without
+       * targeting any specific fraction. A value of 1.0 means that the
+       * algorithm attempts to only Suggest safe Trials.
+       * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return Whether the desiredMinSafeTrialsFraction field is set. + */ + boolean hasDesiredMinSafeTrialsFraction(); + /** + * + * + *
+       * Desired minimum fraction of safe trials (over total number of trials)
+       * that should be targeted by the algorithm at any time during the
+       * study (best effort). This should be between 0.0 and 1.0 and a value of
+       * 0.0 means that there is no minimum and an algorithm proceeds without
+       * targeting any specific fraction. A value of 1.0 means that the
+       * algorithm attempts to only Suggest safe Trials.
+       * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return The desiredMinSafeTrialsFraction. + */ + double getDesiredMinSafeTrialsFraction(); + } + /** + * + * + *
+     * Used in safe optimization to specify threshold levels and risk tolerance.
+     * 
+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig} + */ + public static final class SafetyMetricConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig) + SafetyMetricConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use SafetyMetricConfig.newBuilder() to construct. + private SafetyMetricConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SafetyMetricConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SafetyMetricConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig.class, + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig.Builder + .class); + } + + private int bitField0_; + public static final int SAFETY_THRESHOLD_FIELD_NUMBER = 1; + private double safetyThreshold_ = 0D; + /** + * + * + *
+       * Safety threshold (boundary value between safe and unsafe). NOTE that if
+       * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+       * 
+ * + * double safety_threshold = 1; + * + * @return The safetyThreshold. + */ + @java.lang.Override + public double getSafetyThreshold() { + return safetyThreshold_; + } + + public static final int DESIRED_MIN_SAFE_TRIALS_FRACTION_FIELD_NUMBER = 2; + private double desiredMinSafeTrialsFraction_ = 0D; + /** + * + * + *
+       * Desired minimum fraction of safe trials (over total number of trials)
+       * that should be targeted by the algorithm at any time during the
+       * study (best effort). This should be between 0.0 and 1.0 and a value of
+       * 0.0 means that there is no minimum and an algorithm proceeds without
+       * targeting any specific fraction. A value of 1.0 means that the
+       * algorithm attempts to only Suggest safe Trials.
+       * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return Whether the desiredMinSafeTrialsFraction field is set. + */ + @java.lang.Override + public boolean hasDesiredMinSafeTrialsFraction() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+       * Desired minimum fraction of safe trials (over total number of trials)
+       * that should be targeted by the algorithm at any time during the
+       * study (best effort). This should be between 0.0 and 1.0 and a value of
+       * 0.0 means that there is no minimum and an algorithm proceeds without
+       * targeting any specific fraction. A value of 1.0 means that the
+       * algorithm attempts to only Suggest safe Trials.
+       * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return The desiredMinSafeTrialsFraction. + */ + @java.lang.Override + public double getDesiredMinSafeTrialsFraction() { + return desiredMinSafeTrialsFraction_; + } + + 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 (java.lang.Double.doubleToRawLongBits(safetyThreshold_) != 0) { + output.writeDouble(1, safetyThreshold_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeDouble(2, desiredMinSafeTrialsFraction_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (java.lang.Double.doubleToRawLongBits(safetyThreshold_) != 0) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, safetyThreshold_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 2, desiredMinSafeTrialsFraction_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig)) { + return super.equals(obj); + } + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig other = + (com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig) obj; + + if (java.lang.Double.doubleToLongBits(getSafetyThreshold()) + != java.lang.Double.doubleToLongBits(other.getSafetyThreshold())) return false; + if (hasDesiredMinSafeTrialsFraction() != other.hasDesiredMinSafeTrialsFraction()) + return false; + if (hasDesiredMinSafeTrialsFraction()) { + if (java.lang.Double.doubleToLongBits(getDesiredMinSafeTrialsFraction()) + != java.lang.Double.doubleToLongBits(other.getDesiredMinSafeTrialsFraction())) + 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) + SAFETY_THRESHOLD_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSafetyThreshold())); + if (hasDesiredMinSafeTrialsFraction()) { + hash = (37 * hash) + DESIRED_MIN_SAFE_TRIALS_FRACTION_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDesiredMinSafeTrialsFraction())); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+       * Used in safe optimization to specify threshold levels and risk tolerance.
+       * 
+ * + * Protobuf type {@code + * google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig) + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig.class, + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + .Builder.class); + } + + // Construct using + // com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + safetyThreshold_ = 0D; + desiredMinSafeTrialsFraction_ = 0D; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.aiplatform.v1beta1.StudyProto + .internal_static_google_cloud_aiplatform_v1beta1_StudySpec_MetricSpec_SafetyMetricConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + getDefaultInstanceForType() { + return com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig build() { + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + buildPartial() { + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig result = + new com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.safetyThreshold_ = safetyThreshold_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.desiredMinSafeTrialsFraction_ = desiredMinSafeTrialsFraction_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other + instanceof + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig) { + return mergeFrom( + (com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig other) { + if (other + == com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance()) return this; + if (other.getSafetyThreshold() != 0D) { + setSafetyThreshold(other.getSafetyThreshold()); + } + if (other.hasDesiredMinSafeTrialsFraction()) { + setDesiredMinSafeTrialsFraction(other.getDesiredMinSafeTrialsFraction()); + } + 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 9: + { + safetyThreshold_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 17: + { + desiredMinSafeTrialsFraction_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + 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 double safetyThreshold_; + /** + * + * + *
+         * Safety threshold (boundary value between safe and unsafe). NOTE that if
+         * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+         * 
+ * + * double safety_threshold = 1; + * + * @return The safetyThreshold. + */ + @java.lang.Override + public double getSafetyThreshold() { + return safetyThreshold_; + } + /** + * + * + *
+         * Safety threshold (boundary value between safe and unsafe). NOTE that if
+         * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+         * 
+ * + * double safety_threshold = 1; + * + * @param value The safetyThreshold to set. + * @return This builder for chaining. + */ + public Builder setSafetyThreshold(double value) { + + safetyThreshold_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+         * Safety threshold (boundary value between safe and unsafe). NOTE that if
+         * you leave SafetyMetricConfig unset, a default value of 0 will be used.
+         * 
+ * + * double safety_threshold = 1; + * + * @return This builder for chaining. + */ + public Builder clearSafetyThreshold() { + bitField0_ = (bitField0_ & ~0x00000001); + safetyThreshold_ = 0D; + onChanged(); + return this; + } + + private double desiredMinSafeTrialsFraction_; + /** + * + * + *
+         * Desired minimum fraction of safe trials (over total number of trials)
+         * that should be targeted by the algorithm at any time during the
+         * study (best effort). This should be between 0.0 and 1.0 and a value of
+         * 0.0 means that there is no minimum and an algorithm proceeds without
+         * targeting any specific fraction. A value of 1.0 means that the
+         * algorithm attempts to only Suggest safe Trials.
+         * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return Whether the desiredMinSafeTrialsFraction field is set. + */ + @java.lang.Override + public boolean hasDesiredMinSafeTrialsFraction() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+         * Desired minimum fraction of safe trials (over total number of trials)
+         * that should be targeted by the algorithm at any time during the
+         * study (best effort). This should be between 0.0 and 1.0 and a value of
+         * 0.0 means that there is no minimum and an algorithm proceeds without
+         * targeting any specific fraction. A value of 1.0 means that the
+         * algorithm attempts to only Suggest safe Trials.
+         * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return The desiredMinSafeTrialsFraction. + */ + @java.lang.Override + public double getDesiredMinSafeTrialsFraction() { + return desiredMinSafeTrialsFraction_; + } + /** + * + * + *
+         * Desired minimum fraction of safe trials (over total number of trials)
+         * that should be targeted by the algorithm at any time during the
+         * study (best effort). This should be between 0.0 and 1.0 and a value of
+         * 0.0 means that there is no minimum and an algorithm proceeds without
+         * targeting any specific fraction. A value of 1.0 means that the
+         * algorithm attempts to only Suggest safe Trials.
+         * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @param value The desiredMinSafeTrialsFraction to set. + * @return This builder for chaining. + */ + public Builder setDesiredMinSafeTrialsFraction(double value) { + + desiredMinSafeTrialsFraction_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+         * Desired minimum fraction of safe trials (over total number of trials)
+         * that should be targeted by the algorithm at any time during the
+         * study (best effort). This should be between 0.0 and 1.0 and a value of
+         * 0.0 means that there is no minimum and an algorithm proceeds without
+         * targeting any specific fraction. A value of 1.0 means that the
+         * algorithm attempts to only Suggest safe Trials.
+         * 
+ * + * optional double desired_min_safe_trials_fraction = 2; + * + * @return This builder for chaining. + */ + public Builder clearDesiredMinSafeTrialsFraction() { + bitField0_ = (bitField0_ & ~0x00000002); + desiredMinSafeTrialsFraction_ = 0D; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - return getDescriptor().getValues().get(ordinal()); + + // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig) } - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); + // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig) + private static final com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec + .SafetyMetricConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.getDescriptor() - .getEnumTypes() - .get(0); + public static com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; } - private static final GoalType[] VALUES = values(); + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SafetyMetricConfig 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 GoalType 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()]; + public static com.google.protobuf.Parser parser() { + return PARSER; } - private final int value; - - private GoalType(int value) { - this.value = value; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - // @@protoc_insertion_point(enum_scope:google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.GoalType) + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } } + private int bitField0_; public static final int METRIC_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -937,6 +1772,70 @@ public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.GoalType getGoal : result; } + public static final int SAFETY_CONFIG_FIELD_NUMBER = 3; + private com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + safetyConfig_; + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return Whether the safetyConfig field is set. + */ + @java.lang.Override + public boolean hasSafetyConfig() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return The safetyConfig. + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + getSafetyConfig() { + return safetyConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance() + : safetyConfig_; + } + /** + * + * + *
+     * Used for safe search. In the case, the metric will be a safety
+     * metric. You must provide a separate metric for objective metric.
+     * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + @java.lang.Override + public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder + getSafetyConfigOrBuilder() { + return safetyConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance() + : safetyConfig_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -959,6 +1858,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(2, goal_); } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getSafetyConfig()); + } getUnknownFields().writeTo(output); } @@ -976,6 +1878,9 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, goal_); } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSafetyConfig()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -994,6 +1899,10 @@ public boolean equals(final java.lang.Object obj) { if (!getMetricId().equals(other.getMetricId())) return false; if (goal_ != other.goal_) return false; + if (hasSafetyConfig() != other.hasSafetyConfig()) return false; + if (hasSafetyConfig()) { + if (!getSafetyConfig().equals(other.getSafetyConfig())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1009,6 +1918,10 @@ public int hashCode() { hash = (53 * hash) + getMetricId().hashCode(); hash = (37 * hash) + GOAL_FIELD_NUMBER; hash = (53 * hash) + goal_; + if (hasSafetyConfig()) { + hash = (37 * hash) + SAFETY_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getSafetyConfig().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1141,10 +2054,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSafetyConfigFieldBuilder(); + } } @java.lang.Override @@ -1153,6 +2075,11 @@ public Builder clear() { bitField0_ = 0; metricId_ = ""; goal_ = 0; + safetyConfig_ = null; + if (safetyConfigBuilder_ != null) { + safetyConfigBuilder_.dispose(); + safetyConfigBuilder_ = null; + } return this; } @@ -1195,6 +2122,13 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.StudySpec.MetricS if (((from_bitField0_ & 0x00000002) != 0)) { result.goal_ = goal_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.safetyConfig_ = + safetyConfigBuilder_ == null ? safetyConfig_ : safetyConfigBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1253,6 +2187,9 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpe if (other.goal_ != 0) { setGoalValue(other.getGoalValue()); } + if (other.hasSafetyConfig()) { + mergeSafetyConfig(other.getSafetyConfig()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1291,6 +2228,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 16 + case 26: + { + input.readMessage(getSafetyConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1524,6 +2467,230 @@ public Builder clearGoal() { return this; } + private com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + safetyConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig, + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig.Builder, + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder> + safetyConfigBuilder_; + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return Whether the safetyConfig field is set. + */ + public boolean hasSafetyConfig() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + * + * @return The safetyConfig. + */ + public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + getSafetyConfig() { + if (safetyConfigBuilder_ == null) { + return safetyConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance() + : safetyConfig_; + } else { + return safetyConfigBuilder_.getMessage(); + } + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public Builder setSafetyConfig( + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig value) { + if (safetyConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + safetyConfig_ = value; + } else { + safetyConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public Builder setSafetyConfig( + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig.Builder + builderForValue) { + if (safetyConfigBuilder_ == null) { + safetyConfig_ = builderForValue.build(); + } else { + safetyConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public Builder mergeSafetyConfig( + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig value) { + if (safetyConfigBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && safetyConfig_ != null + && safetyConfig_ + != com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance()) { + getSafetyConfigBuilder().mergeFrom(value); + } else { + safetyConfig_ = value; + } + } else { + safetyConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public Builder clearSafetyConfig() { + bitField0_ = (bitField0_ & ~0x00000004); + safetyConfig_ = null; + if (safetyConfigBuilder_ != null) { + safetyConfigBuilder_.dispose(); + safetyConfigBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig.Builder + getSafetyConfigBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getSafetyConfigFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + public com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder + getSafetyConfigOrBuilder() { + if (safetyConfigBuilder_ != null) { + return safetyConfigBuilder_.getMessageOrBuilder(); + } else { + return safetyConfig_ == null + ? com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + .getDefaultInstance() + : safetyConfig_; + } + } + /** + * + * + *
+       * Used for safe search. In the case, the metric will be a safety
+       * metric. You must provide a separate metric for objective metric.
+       * 
+ * + * + * optional .google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig safety_config = 3; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig, + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig.Builder, + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfigOrBuilder> + getSafetyConfigFieldBuilder() { + if (safetyConfigBuilder_ == null) { + safetyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig, + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec.SafetyMetricConfig + .Builder, + com.google.cloud.aiplatform.v1beta1.StudySpec.MetricSpec + .SafetyMetricConfigOrBuilder>( + getSafetyConfig(), getParentForChildren(), isClean()); + safetyConfig_ = null; + } + return safetyConfigBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -18625,7 +19792,7 @@ public boolean hasMedianAutomatedStoppingSpec() { *
* * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=588 + * google/cloud/aiplatform/v1beta1/study.proto;l=607 * @return Whether the convexStopConfig field is set. */ @java.lang.Override @@ -18646,7 +19813,7 @@ public boolean hasConvexStopConfig() { *
* * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=588 + * google/cloud/aiplatform/v1beta1/study.proto;l=607 * @return The convexStopConfig. */ @java.lang.Override @@ -20368,7 +21535,7 @@ public Builder clearMedianAutomatedStoppingSpec() { *
* * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=588 + * google/cloud/aiplatform/v1beta1/study.proto;l=607 * @return Whether the convexStopConfig field is set. */ @java.lang.Override @@ -20389,7 +21556,7 @@ public boolean hasConvexStopConfig() { *
* * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=588 + * google/cloud/aiplatform/v1beta1/study.proto;l=607 * @return The convexStopConfig. */ @java.lang.Override diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpecOrBuilder.java index 8345bf5be7a4..56d5e56ad171 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpecOrBuilder.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/StudySpecOrBuilder.java @@ -122,7 +122,7 @@ public interface StudySpecOrBuilder *
* * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=588 + * google/cloud/aiplatform/v1beta1/study.proto;l=607 * @return Whether the convexStopConfig field is set. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface StudySpecOrBuilder *
* * @deprecated google.cloud.aiplatform.v1beta1.StudySpec.convex_stop_config is deprecated. See - * google/cloud/aiplatform/v1beta1/study.proto;l=588 + * google/cloud/aiplatform/v1beta1/study.proto;l=607 * @return The convexStopConfig. */ @java.lang.Deprecated diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardDataProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardDataProto.java index 2dca719efedc..f6a3918e8f9a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardDataProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardDataProto.java @@ -84,13 +84,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"[\n\027TensorboardBlobSequence\022@\n\006values\030\001 " + "\003(\01320.google.cloud.aiplatform.v1beta1.Te" + "nsorboardBlob\"5\n\017TensorboardBlob\022\017\n\002id\030\001" - + " \001(\tB\003\340A\003\022\021\n\004data\030\002 \001(\014B\003\340A\001B\361\001\n#com.goo" + + " \001(\tB\003\340A\003\022\021\n\004data\030\002 \001(\014B\003\340A\001B\353\001\n#com.goo" + "gle.cloud.aiplatform.v1beta1B\024Tensorboar" - + "dDataProtoP\001ZIgoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1beta1;aip" - + "latform\252\002\037Google.Cloud.AIPlatform.V1Beta" - + "1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Go" - + "ogle::Cloud::AIPlatform::V1beta1b\006proto3" + + "dDataProtoP\001ZCcloud.google.com/go/aiplat" + + "form/apiv1beta1/aiplatformpb;aiplatformp" + + "b\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Go" + + "ogle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::" + + "Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardExperimentProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardExperimentProto.java index f39f34578d74..ee9074e0b9ee 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardExperimentProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardExperimentProto.java @@ -61,13 +61,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "iplatform.googleapis.com/TensorboardExpe" + "riment\022[projects/{project}/locations/{lo" + "cation}/tensorboards/{tensorboard}/exper" - + "iments/{experiment}B\367\001\n#com.google.cloud" + + "iments/{experiment}B\361\001\n#com.google.cloud" + ".aiplatform.v1beta1B\032TensorboardExperime" - + "ntProtoP\001ZIgoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1beta1;aiplat" - + "form\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002" - + "\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Googl" - + "e::Cloud::AIPlatform::V1beta1b\006proto3" + + "ntProtoP\001ZCcloud.google.com/go/aiplatfor" + + "m/apiv1beta1/aiplatformpb;aiplatformpb\252\002" + + "\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Googl" + + "e\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Clo" + + "ud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardProto.java index 3a3a657419e6..0ee76be060ac 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardProto.java @@ -64,13 +64,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "value\030\002 \001(\t:\0028\001:n\352Ak\n%aiplatform.googlea" + "pis.com/Tensorboard\022Bprojects/{project}/" + "locations/{location}/tensorboards/{tenso" - + "rboard}B\355\001\n#com.google.cloud.aiplatform." - + "v1beta1B\020TensorboardProtoP\001ZIgoogle.gola" - + "ng.org/genproto/googleapis/cloud/aiplatf" - + "orm/v1beta1;aiplatform\252\002\037Google.Cloud.AI" - + "Platform.V1Beta1\312\002\037Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\352\002\"Google::Cloud::AIPlatform::" - + "V1beta1b\006proto3" + + "rboard}B\347\001\n#com.google.cloud.aiplatform." + + "v1beta1B\020TensorboardProtoP\001ZCcloud.googl" + + "e.com/go/aiplatform/apiv1beta1/aiplatfor" + + "mpb;aiplatformpb\252\002\037Google.Cloud.AIPlatfo" + + "rm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1b" + + "eta1\352\002\"Google::Cloud::AIPlatform::V1beta" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardRunProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardRunProto.java index fffbbb9065c4..85ef92fbaff1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardRunProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardRunProto.java @@ -60,13 +60,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n(aiplatform.googleapis.com/TensorboardR" + "un\022fprojects/{project}/locations/{locati" + "on}/tensorboards/{tensorboard}/experimen" - + "ts/{experiment}/runs/{run}B\360\001\n#com.googl" + + "ts/{experiment}/runs/{run}B\352\001\n#com.googl" + "e.cloud.aiplatform.v1beta1B\023TensorboardR" - + "unProtoP\001ZIgoogle.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1beta1;aiplat" - + "form\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002" - + "\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Googl" - + "e::Cloud::AIPlatform::V1beta1b\006proto3" + + "unProtoP\001ZCcloud.google.com/go/aiplatfor" + + "m/apiv1beta1/aiplatformpb;aiplatformpb\252\002" + + "\037Google.Cloud.AIPlatform.V1Beta1\312\002\037Googl" + + "e\\Cloud\\AIPlatform\\V1beta1\352\002\"Google::Clo" + + "ud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceProto.java index c26933e384b6..33be4e7c05ca 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardServiceProto.java @@ -618,13 +618,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tTensorboardTimeSeries:\001*\332A\027tensorboard_" + "time_series\032M\312A\031aiplatform.googleapis.co" + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformB\364\001\n#com.google.cloud.aiplatfo" - + "rm.v1beta1B\027TensorboardServiceProtoP\001ZIg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1beta1;aiplatform\252\002\037Googl" - + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou" - + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI", - "Platform::V1beta1b\006proto3" + + "d-platformB\356\001\n#com.google.cloud.aiplatfo" + + "rm.v1beta1B\027TensorboardServiceProtoP\001ZCc" + + "loud.google.com/go/aiplatform/apiv1beta1" + + "/aiplatformpb;aiplatformpb\252\002\037Google.Clou" + + "d.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPl" + + "atform\\V1beta1\352\002\"Google::Cloud::AIPlatfo", + "rm::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardTimeSeriesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardTimeSeriesProto.java index bff59fee1eb3..bbb4c9066356 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardTimeSeriesProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TensorboardTimeSeriesProto.java @@ -69,14 +69,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "om/TensorboardTimeSeries\022\177projects/{proj" + "ect}/locations/{location}/tensorboards/{" + "tensorboard}/experiments/{experiment}/ru" - + "ns/{run}/timeSeries/{time_series}B\367\001\n#co" + + "ns/{run}/timeSeries/{time_series}B\361\001\n#co" + "m.google.cloud.aiplatform.v1beta1B\032Tenso" - + "rboardTimeSeriesProtoP\001ZIgoogle.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1beta1;aiplatform\252\002\037Google.Cloud.AIPlat" - + "form.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V" - + "1beta1\352\002\"Google::Cloud::AIPlatform::V1be" - + "ta1b\006proto3" + + "rboardTimeSeriesProtoP\001ZCcloud.google.co" + + "m/go/aiplatform/apiv1beta1/aiplatformpb;" + + "aiplatformpb\252\002\037Google.Cloud.AIPlatform.V" + + "1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1" + + "\352\002\"Google::Cloud::AIPlatform::V1beta1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrainingPipelineProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrainingPipelineProto.java index 8552e8174c78..dba5bd983dcd 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrainingPipelineProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TrainingPipelineProto.java @@ -135,13 +135,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\003key\030\004 \001(\tB\003\340A\002\"r\n\017StratifiedSplit\022\031\n\021t" + "raining_fraction\030\001 \001(\001\022\033\n\023validation_fra" + "ction\030\002 \001(\001\022\025\n\rtest_fraction\030\003 \001(\001\022\020\n\003ke" - + "y\030\004 \001(\tB\003\340A\002B\362\001\n#com.google.cloud.aiplat" - + "form.v1beta1B\025TrainingPipelineProtoP\001ZIg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/aiplatform/v1beta1;aiplatform\252\002\037Googl" - + "e.Cloud.AIPlatform.V1Beta1\312\002\037Google\\Clou" - + "d\\AIPlatform\\V1beta1\352\002\"Google::Cloud::AI" - + "Platform::V1beta1b\006proto3" + + "y\030\004 \001(\tB\003\340A\002B\354\001\n#com.google.cloud.aiplat" + + "form.v1beta1B\025TrainingPipelineProtoP\001ZCc" + + "loud.google.com/go/aiplatform/apiv1beta1" + + "/aiplatformpb;aiplatformpb\252\002\037Google.Clou" + + "d.AIPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPl" + + "atform\\V1beta1\352\002\"Google::Cloud::AIPlatfo" + + "rm::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TypesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TypesProto.java index 4435e8559948..da7e0d709714 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TypesProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/TypesProto.java @@ -57,13 +57,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\tBoolArray\022\016\n\006values\030\001 \003(\010\"\035\n\013DoubleArr" + "ay\022\016\n\006values\030\001 \003(\001\"\034\n\nInt64Array\022\016\n\006valu" + "es\030\001 \003(\003\"\035\n\013StringArray\022\016\n\006values\030\001 \003(\tB" - + "\347\001\n#com.google.cloud.aiplatform.v1beta1B" - + "\nTypesProtoP\001ZIgoogle.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1beta1;ai" - + "platform\252\002\037Google.Cloud.AIPlatform.V1Bet" - + "a1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"G" - + "oogle::Cloud::AIPlatform::V1beta1b\006proto" - + "3" + + "\341\001\n#com.google.cloud.aiplatform.v1beta1B" + + "\nTypesProtoP\001ZCcloud.google.com/go/aipla" + + "tform/apiv1beta1/aiplatformpb;aiplatform" + + "pb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312\002\037G" + + "oogle\\Cloud\\AIPlatform\\V1beta1\352\002\"Google:" + + ":Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UnmanagedContainerModelProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UnmanagedContainerModelProto.java index b625ff46edfa..91acb9095af9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UnmanagedContainerModelProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UnmanagedContainerModelProto.java @@ -49,14 +49,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "hemata\030\002 \001(\01320.google.cloud.aiplatform.v" + "1beta1.PredictSchemata\022P\n\016container_spec" + "\030\003 \001(\01323.google.cloud.aiplatform.v1beta1" - + ".ModelContainerSpecB\003\340A\004B\371\001\n#com.google." + + ".ModelContainerSpecB\003\340A\004B\363\001\n#com.google." + "cloud.aiplatform.v1beta1B\034UnmanagedConta" - + "inerModelProtoP\001ZIgoogle.golang.org/genp" - + "roto/googleapis/cloud/aiplatform/v1beta1" - + ";aiplatform\252\002\037Google.Cloud.AIPlatform.V1" - + "Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352" - + "\002\"Google::Cloud::AIPlatform::V1beta1b\006pr" - + "oto3" + + "inerModelProtoP\001ZCcloud.google.com/go/ai" + + "platform/apiv1beta1/aiplatformpb;aiplatf" + + "ormpb\252\002\037Google.Cloud.AIPlatform.V1Beta1\312" + + "\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"Goog" + + "le::Cloud::AIPlatform::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReferenceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReferenceProto.java index b67bcd11c9fb..3929cde17839 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReferenceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/UserActionReferenceProto.java @@ -44,14 +44,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ction_reference.proto\022\037google.cloud.aipl" + "atform.v1beta1\"d\n\023UserActionReference\022\023\n" + "\toperation\030\001 \001(\tH\000\022\033\n\021data_labeling_job\030" - + "\002 \001(\tH\000\022\016\n\006method\030\003 \001(\tB\013\n\treferenceB\365\001\n" + + "\002 \001(\tH\000\022\016\n\006method\030\003 \001(\tB\013\n\treferenceB\357\001\n" + "#com.google.cloud.aiplatform.v1beta1B\030Us" - + "erActionReferenceProtoP\001ZIgoogle.golang." - + "org/genproto/googleapis/cloud/aiplatform" - + "/v1beta1;aiplatform\252\002\037Google.Cloud.AIPla" - + "tform.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\" - + "V1beta1\352\002\"Google::Cloud::AIPlatform::V1b" - + "eta1b\006proto3" + + "erActionReferenceProtoP\001ZCcloud.google.c" + + "om/go/aiplatform/apiv1beta1/aiplatformpb" + + ";aiplatformpb\252\002\037Google.Cloud.AIPlatform." + + "V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1beta" + + "1\352\002\"Google::Cloud::AIPlatform::V1beta1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ValueProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ValueProto.java index d95c98e8aeff..12d325c9fa5a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ValueProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/ValueProto.java @@ -44,13 +44,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\022\037google.cloud.aiplatform.v1beta1\"U" + "\n\005Value\022\023\n\tint_value\030\001 \001(\003H\000\022\026\n\014double_v" + "alue\030\002 \001(\001H\000\022\026\n\014string_value\030\003 \001(\tH\000B\007\n\005" - + "valueB\347\001\n#com.google.cloud.aiplatform.v1" - + "beta1B\nValueProtoP\001ZIgoogle.golang.org/g" - + "enproto/googleapis/cloud/aiplatform/v1be" - + "ta1;aiplatform\252\002\037Google.Cloud.AIPlatform" - + ".V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1bet" - + "a1\352\002\"Google::Cloud::AIPlatform::V1beta1b" - + "\006proto3" + + "valueB\341\001\n#com.google.cloud.aiplatform.v1" + + "beta1B\nValueProtoP\001ZCcloud.google.com/go" + + "/aiplatform/apiv1beta1/aiplatformpb;aipl" + + "atformpb\252\002\037Google.Cloud.AIPlatform.V1Bet" + + "a1\312\002\037Google\\Cloud\\AIPlatform\\V1beta1\352\002\"G" + + "oogle::Cloud::AIPlatform::V1beta1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceProto.java index a3f73107d659..7533a25fdf59 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/VizierServiceProto.java @@ -277,13 +277,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "studies/*}/trials:listOptimalTrials:\001*\332A" + "\006parent\032M\312A\031aiplatform.googleapis.com\322A." + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\357\001\n#com.google.cloud.aiplatform.v" - + "1beta1B\022VizierServiceProtoP\001ZIgoogle.gol" - + "ang.org/genproto/googleapis/cloud/aiplat" - + "form/v1beta1;aiplatform\252\002\037Google.Cloud.A" - + "IPlatform.V1Beta1\312\002\037Google\\Cloud\\AIPlatf" - + "orm\\V1beta1\352\002\"Google::Cloud::AIPlatform:" - + ":V1beta1b\006proto3" + + "atformB\351\001\n#com.google.cloud.aiplatform.v" + + "1beta1B\022VizierServiceProtoP\001ZCcloud.goog" + + "le.com/go/aiplatform/apiv1beta1/aiplatfo" + + "rmpb;aiplatformpb\252\002\037Google.Cloud.AIPlatf" + + "orm.V1Beta1\312\002\037Google\\Cloud\\AIPlatform\\V1" + + "beta1\352\002\"Google::Cloud::AIPlatform::V1bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java index 0c6b0f519e9d..47cdf849bcdc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageClassificationPredictionInstanceProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "roto\0227google.cloud.aiplatform.v1beta1.sc" + "hema.predict.instance\"K\n%ImageClassifica" + "tionPredictionInstance\022\017\n\007content\030\001 \001(\t\022" - + "\021\n\tmime_type\030\002 \001(\tB\200\003\n;com.google.cloud." + + "\021\n\tmime_type\030\002 \001(\tB\370\002\n;com.google.cloud." + "aiplatform.v1beta1.schema.predict.instan" + "ceB*ImageClassificationPredictionInstanc" - + "eProtoP\001Z_google.golang.org/genproto/goo" - + "gleapis/cloud/aiplatform/v1beta1/schema/" - + "predict/instance;instance\252\0027Google.Cloud" - + ".AIPlatform.V1Beta1.Schema.Predict.Insta" - + "nce\312\0027Google\\Cloud\\AIPlatform\\V1beta1\\Sc" - + "hema\\Predict\\Instance\352\002=Google::Cloud::A" - + "IPlatform::V1beta1::Schema::Predict::Ins" - + "tanceb\006proto3" + + "eProtoP\001ZWcloud.google.com/go/aiplatform" + + "/apiv1beta1/schema/predict/instance/inst" + + "ancepb;instancepb\252\0027Google.Cloud.AIPlatf" + + "orm.V1Beta1.Schema.Predict.Instance\312\0027Go" + + "ogle\\Cloud\\AIPlatform\\V1beta1\\Schema\\Pre" + + "dict\\Instance\352\002=Google::Cloud::AIPlatfor" + + "m::V1beta1::Schema::Predict::Instanceb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java index e06ab6d4e23b..81a3ed33d956 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageObjectDetectionPredictionInstanceProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".proto\0227google.cloud.aiplatform.v1beta1." + "schema.predict.instance\"L\n&ImageObjectDe" + "tectionPredictionInstance\022\017\n\007content\030\001 \001" - + "(\t\022\021\n\tmime_type\030\002 \001(\tB\201\003\n;com.google.clo" + + "(\t\022\021\n\tmime_type\030\002 \001(\tB\371\002\n;com.google.clo" + "ud.aiplatform.v1beta1.schema.predict.ins" + "tanceB+ImageObjectDetectionPredictionIns" - + "tanceProtoP\001Z_google.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1beta1/sch" - + "ema/predict/instance;instance\252\0027Google.C" - + "loud.AIPlatform.V1Beta1.Schema.Predict.I" - + "nstance\312\0027Google\\Cloud\\AIPlatform\\V1beta" - + "1\\Schema\\Predict\\Instance\352\002=Google::Clou" - + "d::AIPlatform::V1beta1::Schema::Predict:" - + ":Instanceb\006proto3" + + "tanceProtoP\001ZWcloud.google.com/go/aiplat" + + "form/apiv1beta1/schema/predict/instance/" + + "instancepb;instancepb\252\0027Google.Cloud.AIP" + + "latform.V1Beta1.Schema.Predict.Instance\312" + + "\0027Google\\Cloud\\AIPlatform\\V1beta1\\Schema" + + "\\Predict\\Instance\352\002=Google::Cloud::AIPla" + + "tform::V1beta1::Schema::Predict::Instanc" + + "eb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java index 1db7d1cc0b4b..f10dd80b6a25 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/ImageSegmentationPredictionInstanceProto.java @@ -45,17 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "to\0227google.cloud.aiplatform.v1beta1.sche" + "ma.predict.instance\"I\n#ImageSegmentation" + "PredictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tm" - + "ime_type\030\002 \001(\tB\376\002\n;com.google.cloud.aipl" + + "ime_type\030\002 \001(\tB\366\002\n;com.google.cloud.aipl" + "atform.v1beta1.schema.predict.instanceB(" + "ImageSegmentationPredictionInstanceProto" - + "P\001Z_google.golang.org/genproto/googleapi" - + "s/cloud/aiplatform/v1beta1/schema/predic" - + "t/instance;instance\252\0027Google.Cloud.AIPla" - + "tform.V1Beta1.Schema.Predict.Instance\312\0027" - + "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\P" - + "redict\\Instance\352\002=Google::Cloud::AIPlatf" - + "orm::V1beta1::Schema::Predict::Instanceb" - + "\006proto3" + + "P\001ZWcloud.google.com/go/aiplatform/apiv1" + + "beta1/schema/predict/instance/instancepb" + + ";instancepb\252\0027Google.Cloud.AIPlatform.V1" + + "Beta1.Schema.Predict.Instance\312\0027Google\\C" + + "loud\\AIPlatform\\V1beta1\\Schema\\Predict\\I" + + "nstance\352\002=Google::Cloud::AIPlatform::V1b" + + "eta1::Schema::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextClassificationPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextClassificationPredictionInstanceProto.java index 59d6590f8162..a77cdb29bc2e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextClassificationPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextClassificationPredictionInstanceProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oto\0227google.cloud.aiplatform.v1beta1.sch" + "ema.predict.instance\"J\n$TextClassificati" + "onPredictionInstance\022\017\n\007content\030\001 \001(\t\022\021\n" - + "\tmime_type\030\002 \001(\tB\377\002\n;com.google.cloud.ai" + + "\tmime_type\030\002 \001(\tB\367\002\n;com.google.cloud.ai" + "platform.v1beta1.schema.predict.instance" + "B)TextClassificationPredictionInstancePr" - + "otoP\001Z_google.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1beta1/schema/pre" - + "dict/instance;instance\252\0027Google.Cloud.AI" - + "Platform.V1Beta1.Schema.Predict.Instance" - + "\312\0027Google\\Cloud\\AIPlatform\\V1beta1\\Schem" - + "a\\Predict\\Instance\352\002=Google::Cloud::AIPl" - + "atform::V1beta1::Schema::Predict::Instan" - + "ceb\006proto3" + + "otoP\001ZWcloud.google.com/go/aiplatform/ap" + + "iv1beta1/schema/predict/instance/instanc" + + "epb;instancepb\252\0027Google.Cloud.AIPlatform" + + ".V1Beta1.Schema.Predict.Instance\312\0027Googl" + + "e\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predic" + + "t\\Instance\352\002=Google::Cloud::AIPlatform::" + + "V1beta1::Schema::Predict::Instanceb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextExtractionPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextExtractionPredictionInstanceProto.java index cd88d8c080d5..6b815825608d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextExtractionPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextExtractionPredictionInstanceProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "7google.cloud.aiplatform.v1beta1.schema." + "predict.instance\"S\n TextExtractionPredic" + "tionInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_ty" - + "pe\030\002 \001(\t\022\013\n\003key\030\003 \001(\tB\373\002\n;com.google.clo" + + "pe\030\002 \001(\t\022\013\n\003key\030\003 \001(\tB\363\002\n;com.google.clo" + "ud.aiplatform.v1beta1.schema.predict.ins" + "tanceB%TextExtractionPredictionInstanceP" - + "rotoP\001Z_google.golang.org/genproto/googl" - + "eapis/cloud/aiplatform/v1beta1/schema/pr" - + "edict/instance;instance\252\0027Google.Cloud.A" - + "IPlatform.V1Beta1.Schema.Predict.Instanc" - + "e\312\0027Google\\Cloud\\AIPlatform\\V1beta1\\Sche" - + "ma\\Predict\\Instance\352\002=Google::Cloud::AIP" - + "latform::V1beta1::Schema::Predict::Insta" - + "nceb\006proto3" + + "rotoP\001ZWcloud.google.com/go/aiplatform/a" + + "piv1beta1/schema/predict/instance/instan" + + "cepb;instancepb\252\0027Google.Cloud.AIPlatfor" + + "m.V1Beta1.Schema.Predict.Instance\312\0027Goog" + + "le\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predi" + + "ct\\Instance\352\002=Google::Cloud::AIPlatform:" + + ":V1beta1::Schema::Predict::Instanceb\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextSentimentPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextSentimentPredictionInstanceProto.java index 5593377fbc70..39b556ab1a70 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextSentimentPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/TextSentimentPredictionInstanceProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "google.cloud.aiplatform.v1beta1.schema.p" + "redict.instance\"E\n\037TextSentimentPredicti" + "onInstance\022\017\n\007content\030\001 \001(\t\022\021\n\tmime_type" - + "\030\002 \001(\tB\372\002\n;com.google.cloud.aiplatform.v" + + "\030\002 \001(\tB\362\002\n;com.google.cloud.aiplatform.v" + "1beta1.schema.predict.instanceB$TextSent" - + "imentPredictionInstanceProtoP\001Z_google.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1beta1/schema/predict/instance;i" - + "nstance\252\0027Google.Cloud.AIPlatform.V1Beta" - + "1.Schema.Predict.Instance\312\0027Google\\Cloud" - + "\\AIPlatform\\V1beta1\\Schema\\Predict\\Insta" - + "nce\352\002=Google::Cloud::AIPlatform::V1beta1" - + "::Schema::Predict::Instanceb\006proto3" + + "imentPredictionInstanceProtoP\001ZWcloud.go" + + "ogle.com/go/aiplatform/apiv1beta1/schema" + + "/predict/instance/instancepb;instancepb\252" + + "\0027Google.Cloud.AIPlatform.V1Beta1.Schema" + + ".Predict.Instance\312\0027Google\\Cloud\\AIPlatf" + + "orm\\V1beta1\\Schema\\Predict\\Instance\352\002=Go" + + "ogle::Cloud::AIPlatform::V1beta1::Schema" + + "::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java index 9cff669bda88..2da7a8d83805 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoActionRecognitionPredictionInstanceProto.java @@ -47,16 +47,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nRecognitionPredictionInstance\022\017\n\007conten" + "t\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\022\032\n\022time_segme" + "nt_start\030\003 \001(\t\022\030\n\020time_segment_end\030\004 \001(\t" - + "B\203\003\n;com.google.cloud.aiplatform.v1beta1" + + "B\373\002\n;com.google.cloud.aiplatform.v1beta1" + ".schema.predict.instanceB-VideoActionRec" - + "ognitionPredictionInstanceProtoP\001Z_googl" - + "e.golang.org/genproto/googleapis/cloud/a" - + "iplatform/v1beta1/schema/predict/instanc" - + "e;instance\252\0027Google.Cloud.AIPlatform.V1B" - + "eta1.Schema.Predict.Instance\312\0027Google\\Cl" - + "oud\\AIPlatform\\V1beta1\\Schema\\Predict\\In" - + "stance\352\002=Google::Cloud::AIPlatform::V1be" - + "ta1::Schema::Predict::Instanceb\006proto3" + + "ognitionPredictionInstanceProtoP\001ZWcloud" + + ".google.com/go/aiplatform/apiv1beta1/sch" + + "ema/predict/instance/instancepb;instance" + + "pb\252\0027Google.Cloud.AIPlatform.V1Beta1.Sch" + + "ema.Predict.Instance\312\0027Google\\Cloud\\AIPl" + + "atform\\V1beta1\\Schema\\Predict\\Instance\352\002" + + "=Google::Cloud::AIPlatform::V1beta1::Sch" + + "ema::Predict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java index ffdcc6f48ce4..609ea3b15132 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoClassificationPredictionInstanceProto.java @@ -46,17 +46,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "hema.predict.instance\"\201\001\n%VideoClassific" + "ationPredictionInstance\022\017\n\007content\030\001 \001(\t" + "\022\021\n\tmime_type\030\002 \001(\t\022\032\n\022time_segment_star" - + "t\030\003 \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\200\003\n;co" + + "t\030\003 \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\370\002\n;co" + "m.google.cloud.aiplatform.v1beta1.schema" + ".predict.instanceB*VideoClassificationPr" - + "edictionInstanceProtoP\001Z_google.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1beta1/schema/predict/instance;instance" - + "\252\0027Google.Cloud.AIPlatform.V1Beta1.Schem" - + "a.Predict.Instance\312\0027Google\\Cloud\\AIPlat" - + "form\\V1beta1\\Schema\\Predict\\Instance\352\002=G" - + "oogle::Cloud::AIPlatform::V1beta1::Schem" - + "a::Predict::Instanceb\006proto3" + + "edictionInstanceProtoP\001ZWcloud.google.co" + + "m/go/aiplatform/apiv1beta1/schema/predic" + + "t/instance/instancepb;instancepb\252\0027Googl" + + "e.Cloud.AIPlatform.V1Beta1.Schema.Predic" + + "t.Instance\312\0027Google\\Cloud\\AIPlatform\\V1b" + + "eta1\\Schema\\Predict\\Instance\352\002=Google::C" + + "loud::AIPlatform::V1beta1::Schema::Predi" + + "ct::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java index 4814f5e637d6..c0a2e58f619a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/instance/VideoObjectTrackingPredictionInstanceProto.java @@ -46,17 +46,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "chema.predict.instance\"\201\001\n%VideoObjectTr" + "ackingPredictionInstance\022\017\n\007content\030\001 \001(" + "\t\022\021\n\tmime_type\030\002 \001(\t\022\032\n\022time_segment_sta" - + "rt\030\003 \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\200\003\n;c" + + "rt\030\003 \001(\t\022\030\n\020time_segment_end\030\004 \001(\tB\370\002\n;c" + "om.google.cloud.aiplatform.v1beta1.schem" + "a.predict.instanceB*VideoObjectTrackingP" - + "redictionInstanceProtoP\001Z_google.golang." - + "org/genproto/googleapis/cloud/aiplatform" - + "/v1beta1/schema/predict/instance;instanc" - + "e\252\0027Google.Cloud.AIPlatform.V1Beta1.Sche" - + "ma.Predict.Instance\312\0027Google\\Cloud\\AIPla" - + "tform\\V1beta1\\Schema\\Predict\\Instance\352\002=" - + "Google::Cloud::AIPlatform::V1beta1::Sche" - + "ma::Predict::Instanceb\006proto3" + + "redictionInstanceProtoP\001ZWcloud.google.c" + + "om/go/aiplatform/apiv1beta1/schema/predi" + + "ct/instance/instancepb;instancepb\252\0027Goog" + + "le.Cloud.AIPlatform.V1Beta1.Schema.Predi" + + "ct.Instance\312\0027Google\\Cloud\\AIPlatform\\V1" + + "beta1\\Schema\\Predict\\Instance\352\002=Google::" + + "Cloud::AIPlatform::V1beta1::Schema::Pred" + + "ict::Instanceb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageClassificationPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageClassificationPredictionParamsProto.java index df77f0fd50d2..4fc9f78d8773 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageClassificationPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageClassificationPredictionParamsProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "to\0225google.cloud.aiplatform.v1beta1.sche" + "ma.predict.params\"\\\n#ImageClassification" + "PredictionParams\022\034\n\024confidence_threshold" - + "\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005B\362\002\n9com." + + "\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005B\350\002\n9com." + "google.cloud.aiplatform.v1beta1.schema.p" + "redict.paramsB(ImageClassificationPredic" - + "tionParamsProtoP\001Z[google.golang.org/gen" - + "proto/googleapis/cloud/aiplatform/v1beta" - + "1/schema/predict/params;params\252\0025Google." - + "Cloud.AIPlatform.V1Beta1.Schema.Predict." - + "Params\312\0025Google\\Cloud\\AIPlatform\\V1beta1" - + "\\Schema\\Predict\\Params\352\002;Google::Cloud::" - + "AIPlatform::V1beta1::Schema::Predict::Pa" - + "ramsb\006proto3" + + "tionParamsProtoP\001ZQcloud.google.com/go/a" + + "iplatform/apiv1beta1/schema/predict/para" + + "ms/paramspb;paramspb\252\0025Google.Cloud.AIPl" + + "atform.V1Beta1.Schema.Predict.Params\312\0025G" + + "oogle\\Cloud\\AIPlatform\\V1beta1\\Schema\\Pr" + + "edict\\Params\352\002;Google::Cloud::AIPlatform" + + "::V1beta1::Schema::Predict::Paramsb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java index c9a94382a573..a234c180f7cc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageObjectDetectionPredictionParamsProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "roto\0225google.cloud.aiplatform.v1beta1.sc" + "hema.predict.params\"]\n$ImageObjectDetect" + "ionPredictionParams\022\034\n\024confidence_thresh" - + "old\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005B\363\002\n9c" + + "old\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005B\351\002\n9c" + "om.google.cloud.aiplatform.v1beta1.schem" + "a.predict.paramsB)ImageObjectDetectionPr" - + "edictionParamsProtoP\001Z[google.golang.org" - + "/genproto/googleapis/cloud/aiplatform/v1" - + "beta1/schema/predict/params;params\252\0025Goo" - + "gle.Cloud.AIPlatform.V1Beta1.Schema.Pred" - + "ict.Params\312\0025Google\\Cloud\\AIPlatform\\V1b" - + "eta1\\Schema\\Predict\\Params\352\002;Google::Clo" - + "ud::AIPlatform::V1beta1::Schema::Predict" - + "::Paramsb\006proto3" + + "edictionParamsProtoP\001ZQcloud.google.com/" + + "go/aiplatform/apiv1beta1/schema/predict/" + + "params/paramspb;paramspb\252\0025Google.Cloud." + + "AIPlatform.V1Beta1.Schema.Predict.Params" + + "\312\0025Google\\Cloud\\AIPlatform\\V1beta1\\Schem" + + "a\\Predict\\Params\352\002;Google::Cloud::AIPlat" + + "form::V1beta1::Schema::Predict::Paramsb\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageSegmentationPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageSegmentationPredictionParamsProto.java index 8bee603d6f5b..98e2daaef43c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageSegmentationPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/ImageSegmentationPredictionParamsProto.java @@ -45,16 +45,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\0225google.cloud.aiplatform.v1beta1.schema" + ".predict.params\"A\n!ImageSegmentationPred" + "ictionParams\022\034\n\024confidence_threshold\030\001 \001" - + "(\002B\360\002\n9com.google.cloud.aiplatform.v1bet" + + "(\002B\346\002\n9com.google.cloud.aiplatform.v1bet" + "a1.schema.predict.paramsB&ImageSegmentat" - + "ionPredictionParamsProtoP\001Z[google.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1beta1/schema/predict/params;params\252" - + "\0025Google.Cloud.AIPlatform.V1Beta1.Schema" - + ".Predict.Params\312\0025Google\\Cloud\\AIPlatfor" - + "m\\V1beta1\\Schema\\Predict\\Params\352\002;Google" - + "::Cloud::AIPlatform::V1beta1::Schema::Pr" - + "edict::Paramsb\006proto3" + + "ionPredictionParamsProtoP\001ZQcloud.google" + + ".com/go/aiplatform/apiv1beta1/schema/pre" + + "dict/params/paramspb;paramspb\252\0025Google.C" + + "loud.AIPlatform.V1Beta1.Schema.Predict.P" + + "arams\312\0025Google\\Cloud\\AIPlatform\\V1beta1\\" + + "Schema\\Predict\\Params\352\002;Google::Cloud::A" + + "IPlatform::V1beta1::Schema::Predict::Par" + + "amsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java index bc7a6e48fe32..3091d8c0b504 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoActionRecognitionPredictionParamsProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".proto\0225google.cloud.aiplatform.v1beta1." + "schema.predict.params\"_\n&VideoActionReco" + "gnitionPredictionParams\022\034\n\024confidence_th" - + "reshold\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005B\365" + + "reshold\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005B\353" + "\002\n9com.google.cloud.aiplatform.v1beta1.s" + "chema.predict.paramsB+VideoActionRecogni" - + "tionPredictionParamsProtoP\001Z[google.gola" - + "ng.org/genproto/googleapis/cloud/aiplatf" - + "orm/v1beta1/schema/predict/params;params" - + "\252\0025Google.Cloud.AIPlatform.V1Beta1.Schem" - + "a.Predict.Params\312\0025Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\\Schema\\Predict\\Params\352\002;Googl" - + "e::Cloud::AIPlatform::V1beta1::Schema::P" - + "redict::Paramsb\006proto3" + + "tionPredictionParamsProtoP\001ZQcloud.googl" + + "e.com/go/aiplatform/apiv1beta1/schema/pr" + + "edict/params/paramspb;paramspb\252\0025Google." + + "Cloud.AIPlatform.V1Beta1.Schema.Predict." + + "Params\312\0025Google\\Cloud\\AIPlatform\\V1beta1" + + "\\Schema\\Predict\\Params\352\002;Google::Cloud::" + + "AIPlatform::V1beta1::Schema::Predict::Pa" + + "ramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoClassificationPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoClassificationPredictionParamsProto.java index 620cecdc20fb..cea74a86033c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoClassificationPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoClassificationPredictionParamsProto.java @@ -48,16 +48,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "d\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005\022\036\n\026segm" + "ent_classification\030\003 \001(\010\022\033\n\023shot_classif" + "ication\030\004 \001(\010\022\'\n\037one_sec_interval_classi" - + "fication\030\005 \001(\010B\362\002\n9com.google.cloud.aipl" + + "fication\030\005 \001(\010B\350\002\n9com.google.cloud.aipl" + "atform.v1beta1.schema.predict.paramsB(Vi" + "deoClassificationPredictionParamsProtoP\001" - + "Z[google.golang.org/genproto/googleapis/" - + "cloud/aiplatform/v1beta1/schema/predict/" - + "params;params\252\0025Google.Cloud.AIPlatform." - + "V1Beta1.Schema.Predict.Params\312\0025Google\\C" - + "loud\\AIPlatform\\V1beta1\\Schema\\Predict\\P" - + "arams\352\002;Google::Cloud::AIPlatform::V1bet" - + "a1::Schema::Predict::Paramsb\006proto3" + + "ZQcloud.google.com/go/aiplatform/apiv1be" + + "ta1/schema/predict/params/paramspb;param" + + "spb\252\0025Google.Cloud.AIPlatform.V1Beta1.Sc" + + "hema.Predict.Params\312\0025Google\\Cloud\\AIPla" + + "tform\\V1beta1\\Schema\\Predict\\Params\352\002;Go" + + "ogle::Cloud::AIPlatform::V1beta1::Schema" + + "::Predict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java index 731a51c103e5..42eb3bb5a1a2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/params/VideoObjectTrackingPredictionParamsProto.java @@ -46,17 +46,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ema.predict.params\"{\n#VideoObjectTrackin" + "gPredictionParams\022\034\n\024confidence_threshol" + "d\030\001 \001(\002\022\027\n\017max_predictions\030\002 \001(\005\022\035\n\025min_" - + "bounding_box_size\030\003 \001(\002B\362\002\n9com.google.c" + + "bounding_box_size\030\003 \001(\002B\350\002\n9com.google.c" + "loud.aiplatform.v1beta1.schema.predict.p" + "aramsB(VideoObjectTrackingPredictionPara" - + "msProtoP\001Z[google.golang.org/genproto/go" - + "ogleapis/cloud/aiplatform/v1beta1/schema" - + "/predict/params;params\252\0025Google.Cloud.AI" - + "Platform.V1Beta1.Schema.Predict.Params\312\002" - + "5Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\" - + "Predict\\Params\352\002;Google::Cloud::AIPlatfo" - + "rm::V1beta1::Schema::Predict::Paramsb\006pr" - + "oto3" + + "msProtoP\001ZQcloud.google.com/go/aiplatfor" + + "m/apiv1beta1/schema/predict/params/param" + + "spb;paramspb\252\0025Google.Cloud.AIPlatform.V" + + "1Beta1.Schema.Predict.Params\312\0025Google\\Cl" + + "oud\\AIPlatform\\V1beta1\\Schema\\Predict\\Pa" + + "rams\352\002;Google::Cloud::AIPlatform::V1beta" + + "1::Schema::Predict::Paramsb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ClassificationPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ClassificationPredictionResultProto.java index 770d0e3dbdd5..b02c9d37bb58 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ClassificationPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ClassificationPredictionResultProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\0229google.cloud.aiplatform.v1beta1.schema" + ".predict.prediction\"Y\n\036ClassificationPre" + "dictionResult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_na" - + "mes\030\002 \003(\t\022\023\n\013confidences\030\003 \003(\002B\205\003\n=com.g" + + "mes\030\002 \003(\t\022\023\n\013confidences\030\003 \003(\002B\377\002\n=com.g" + "oogle.cloud.aiplatform.v1beta1.schema.pr" + "edict.predictionB#ClassificationPredicti" - + "onResultProtoP\001Zcgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1beta1/" - + "schema/predict/prediction;prediction\252\0029G" - + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Pr" - + "edict.Prediction\312\0029Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\\Schema\\Predict\\Prediction\352\002?G" - + "oogle::Cloud::AIPlatform::V1beta1::Schem" - + "a::Predict::Predictionb\006proto3" + + "onResultProtoP\001Z]cloud.google.com/go/aip" + + "latform/apiv1beta1/schema/predict/predic" + + "tion/predictionpb;predictionpb\252\0029Google." + + "Cloud.AIPlatform.V1Beta1.Schema.Predict." + + "Prediction\312\0029Google\\Cloud\\AIPlatform\\V1b" + + "eta1\\Schema\\Predict\\Prediction\352\002?Google:" + + ":Cloud::AIPlatform::V1beta1::Schema::Pre" + + "dict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java index 720be912a2c1..60aa7512bfa3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageObjectDetectionPredictionResultProto.java @@ -48,17 +48,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "onPredictionResult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdispl" + "ay_names\030\002 \003(\t\022\023\n\013confidences\030\003 \003(\002\022*\n\006b" + "boxes\030\004 \003(\0132\032.google.protobuf.ListValueB" - + "\213\003\n=com.google.cloud.aiplatform.v1beta1." + + "\205\003\n=com.google.cloud.aiplatform.v1beta1." + "schema.predict.predictionB)ImageObjectDe" - + "tectionPredictionResultProtoP\001Zcgoogle.g" - + "olang.org/genproto/googleapis/cloud/aipl" - + "atform/v1beta1/schema/predict/prediction" - + ";prediction\252\0029Google.Cloud.AIPlatform.V1" - + "Beta1.Schema.Predict.Prediction\312\0029Google" - + "\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict" - + "\\Prediction\352\002?Google::Cloud::AIPlatform:" - + ":V1beta1::Schema::Predict::Predictionb\006p" - + "roto3" + + "tectionPredictionResultProtoP\001Z]cloud.go" + + "ogle.com/go/aiplatform/apiv1beta1/schema" + + "/predict/prediction/predictionpb;predict" + + "ionpb\252\0029Google.Cloud.AIPlatform.V1Beta1." + + "Schema.Predict.Prediction\312\0029Google\\Cloud" + + "\\AIPlatform\\V1beta1\\Schema\\Predict\\Predi" + + "ction\352\002?Google::Cloud::AIPlatform::V1bet" + + "a1::Schema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java index 10f7d3c9a4cc..0d3b131fc3ed 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/ImageSegmentationPredictionResultProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "roto\0229google.cloud.aiplatform.v1beta1.sc" + "hema.predict.prediction\"S\n!ImageSegmenta" + "tionPredictionResult\022\025\n\rcategory_mask\030\001 " - + "\001(\t\022\027\n\017confidence_mask\030\002 \001(\tB\210\003\n=com.goo" + + "\001(\t\022\027\n\017confidence_mask\030\002 \001(\tB\202\003\n=com.goo" + "gle.cloud.aiplatform.v1beta1.schema.pred" + "ict.predictionB&ImageSegmentationPredict" - + "ionResultProtoP\001Zcgoogle.golang.org/genp" - + "roto/googleapis/cloud/aiplatform/v1beta1" - + "/schema/predict/prediction;prediction\252\0029" - + "Google.Cloud.AIPlatform.V1Beta1.Schema.P" - + "redict.Prediction\312\0029Google\\Cloud\\AIPlatf" - + "orm\\V1beta1\\Schema\\Predict\\Prediction\352\002?" - + "Google::Cloud::AIPlatform::V1beta1::Sche" - + "ma::Predict::Predictionb\006proto3" + + "ionResultProtoP\001Z]cloud.google.com/go/ai" + + "platform/apiv1beta1/schema/predict/predi" + + "ction/predictionpb;predictionpb\252\0029Google" + + ".Cloud.AIPlatform.V1Beta1.Schema.Predict" + + ".Prediction\312\0029Google\\Cloud\\AIPlatform\\V1" + + "beta1\\Schema\\Predict\\Prediction\352\002?Google" + + "::Cloud::AIPlatform::V1beta1::Schema::Pr" + + "edict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularClassificationPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularClassificationPredictionResultProto.java index bb2f9538dd82..e3db15403c00 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularClassificationPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularClassificationPredictionResultProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "on.proto\0229google.cloud.aiplatform.v1beta" + "1.schema.predict.prediction\"H\n%TabularCl" + "assificationPredictionResult\022\017\n\007classes\030" - + "\001 \003(\t\022\016\n\006scores\030\002 \003(\002B\214\003\n=com.google.clo" + + "\001 \003(\t\022\016\n\006scores\030\002 \003(\002B\206\003\n=com.google.clo" + "ud.aiplatform.v1beta1.schema.predict.pre" + "dictionB*TabularClassificationPrediction" - + "ResultProtoP\001Zcgoogle.golang.org/genprot" - + "o/googleapis/cloud/aiplatform/v1beta1/sc" - + "hema/predict/prediction;prediction\252\0029Goo" - + "gle.Cloud.AIPlatform.V1Beta1.Schema.Pred" - + "ict.Prediction\312\0029Google\\Cloud\\AIPlatform" - + "\\V1beta1\\Schema\\Predict\\Prediction\352\002?Goo" - + "gle::Cloud::AIPlatform::V1beta1::Schema:" - + ":Predict::Predictionb\006proto3" + + "ResultProtoP\001Z]cloud.google.com/go/aipla" + + "tform/apiv1beta1/schema/predict/predicti" + + "on/predictionpb;predictionpb\252\0029Google.Cl" + + "oud.AIPlatform.V1Beta1.Schema.Predict.Pr" + + "ediction\312\0029Google\\Cloud\\AIPlatform\\V1bet" + + "a1\\Schema\\Predict\\Prediction\352\002?Google::C" + + "loud::AIPlatform::V1beta1::Schema::Predi" + + "ct::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularRegressionPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularRegressionPredictionResultProto.java index dfd92de17742..0a888b3fef72 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularRegressionPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TabularRegressionPredictionResultProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "roto\0229google.cloud.aiplatform.v1beta1.sc" + "hema.predict.prediction\"\\\n!TabularRegres" + "sionPredictionResult\022\r\n\005value\030\001 \001(\002\022\023\n\013l" - + "ower_bound\030\002 \001(\002\022\023\n\013upper_bound\030\003 \001(\002B\210\003" + + "ower_bound\030\002 \001(\002\022\023\n\013upper_bound\030\003 \001(\002B\202\003" + "\n=com.google.cloud.aiplatform.v1beta1.sc" + "hema.predict.predictionB&TabularRegressi" - + "onPredictionResultProtoP\001Zcgoogle.golang" - + ".org/genproto/googleapis/cloud/aiplatfor" - + "m/v1beta1/schema/predict/prediction;pred" - + "iction\252\0029Google.Cloud.AIPlatform.V1Beta1" - + ".Schema.Predict.Prediction\312\0029Google\\Clou" - + "d\\AIPlatform\\V1beta1\\Schema\\Predict\\Pred" - + "iction\352\002?Google::Cloud::AIPlatform::V1be" - + "ta1::Schema::Predict::Predictionb\006proto3" + + "onPredictionResultProtoP\001Z]cloud.google." + + "com/go/aiplatform/apiv1beta1/schema/pred" + + "ict/prediction/predictionpb;predictionpb" + + "\252\0029Google.Cloud.AIPlatform.V1Beta1.Schem" + + "a.Predict.Prediction\312\0029Google\\Cloud\\AIPl" + + "atform\\V1beta1\\Schema\\Predict\\Prediction" + + "\352\002?Google::Cloud::AIPlatform::V1beta1::S" + + "chema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextExtractionPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextExtractionPredictionResultProto.java index 2dbd4d3f9639..320936edf7cf 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextExtractionPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextExtractionPredictionResultProto.java @@ -47,17 +47,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "redictionResult\022\013\n\003ids\030\001 \003(\003\022\025\n\rdisplay_" + "names\030\002 \003(\t\022\"\n\032text_segment_start_offset" + "s\030\003 \003(\003\022 \n\030text_segment_end_offsets\030\004 \003(" - + "\003\022\023\n\013confidences\030\005 \003(\002B\205\003\n=com.google.cl" + + "\003\022\023\n\013confidences\030\005 \003(\002B\377\002\n=com.google.cl" + "oud.aiplatform.v1beta1.schema.predict.pr" + "edictionB#TextExtractionPredictionResult" - + "ProtoP\001Zcgoogle.golang.org/genproto/goog" - + "leapis/cloud/aiplatform/v1beta1/schema/p" - + "redict/prediction;prediction\252\0029Google.Cl" - + "oud.AIPlatform.V1Beta1.Schema.Predict.Pr" - + "ediction\312\0029Google\\Cloud\\AIPlatform\\V1bet" - + "a1\\Schema\\Predict\\Prediction\352\002?Google::C" - + "loud::AIPlatform::V1beta1::Schema::Predi" - + "ct::Predictionb\006proto3" + + "ProtoP\001Z]cloud.google.com/go/aiplatform/" + + "apiv1beta1/schema/predict/prediction/pre" + + "dictionpb;predictionpb\252\0029Google.Cloud.AI" + + "Platform.V1Beta1.Schema.Predict.Predicti" + + "on\312\0029Google\\Cloud\\AIPlatform\\V1beta1\\Sch" + + "ema\\Predict\\Prediction\352\002?Google::Cloud::" + + "AIPlatform::V1beta1::Schema::Predict::Pr" + + "edictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultProto.java index 606faecffe84..5580c5d38a4f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TextSentimentPredictionResultProto.java @@ -44,17 +44,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/predict/prediction/text_sentiment.proto" + "\0229google.cloud.aiplatform.v1beta1.schema" + ".predict.prediction\"2\n\035TextSentimentPred" - + "ictionResult\022\021\n\tsentiment\030\001 \001(\005B\204\003\n=com." + + "ictionResult\022\021\n\tsentiment\030\001 \001(\005B\376\002\n=com." + "google.cloud.aiplatform.v1beta1.schema.p" + "redict.predictionB\"TextSentimentPredicti" - + "onResultProtoP\001Zcgoogle.golang.org/genpr" - + "oto/googleapis/cloud/aiplatform/v1beta1/" - + "schema/predict/prediction;prediction\252\0029G" - + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Pr" - + "edict.Prediction\312\0029Google\\Cloud\\AIPlatfo" - + "rm\\V1beta1\\Schema\\Predict\\Prediction\352\002?G" - + "oogle::Cloud::AIPlatform::V1beta1::Schem" - + "a::Predict::Predictionb\006proto3" + + "onResultProtoP\001Z]cloud.google.com/go/aip" + + "latform/apiv1beta1/schema/predict/predic" + + "tion/predictionpb;predictionpb\252\0029Google." + + "Cloud.AIPlatform.V1Beta1.Schema.Predict." + + "Prediction\312\0029Google\\Cloud\\AIPlatform\\V1b" + + "eta1\\Schema\\Predict\\Prediction\352\002?Google:" + + ":Cloud::AIPlatform::V1beta1::Schema::Pre" + + "dict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java index 6884b7360a1b..1ac1e088993d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/TimeSeriesForecastingPredictionResultProto.java @@ -45,17 +45,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ing.proto\0229google.cloud.aiplatform.v1bet" + "a1.schema.predict.prediction\"6\n%TimeSeri" + "esForecastingPredictionResult\022\r\n\005value\030\001" - + " \001(\002B\214\003\n=com.google.cloud.aiplatform.v1b" + + " \001(\002B\206\003\n=com.google.cloud.aiplatform.v1b" + "eta1.schema.predict.predictionB*TimeSeri" - + "esForecastingPredictionResultProtoP\001Zcgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/aiplatform/v1beta1/schema/predict/pred" - + "iction;prediction\252\0029Google.Cloud.AIPlatf" - + "orm.V1Beta1.Schema.Predict.Prediction\312\0029" - + "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\P" - + "redict\\Prediction\352\002?Google::Cloud::AIPla" - + "tform::V1beta1::Schema::Predict::Predict" - + "ionb\006proto3" + + "esForecastingPredictionResultProtoP\001Z]cl" + + "oud.google.com/go/aiplatform/apiv1beta1/" + + "schema/predict/prediction/predictionpb;p" + + "redictionpb\252\0029Google.Cloud.AIPlatform.V1" + + "Beta1.Schema.Predict.Prediction\312\0029Google" + + "\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict" + + "\\Prediction\352\002?Google::Cloud::AIPlatform:" + + ":V1beta1::Schema::Predict::Predictionb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java index 66ede52b8a24..09e82a040807 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoActionRecognitionPredictionResultProto.java @@ -51,17 +51,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".google.protobuf.Duration\0223\n\020time_segmen" + "t_end\030\005 \001(\0132\031.google.protobuf.Duration\022/" + "\n\nconfidence\030\006 \001(\0132\033.google.protobuf.Flo" - + "atValueB\215\003\n=com.google.cloud.aiplatform." + + "atValueB\207\003\n=com.google.cloud.aiplatform." + "v1beta1.schema.predict.predictionB+Video" + "ActionRecognitionPredictionResultProtoP\001" - + "Zcgoogle.golang.org/genproto/googleapis/" - + "cloud/aiplatform/v1beta1/schema/predict/" - + "prediction;prediction\252\0029Google.Cloud.AIP" - + "latform.V1Beta1.Schema.Predict.Predictio" - + "n\312\0029Google\\Cloud\\AIPlatform\\V1beta1\\Sche" - + "ma\\Predict\\Prediction\352\002?Google::Cloud::A" - + "IPlatform::V1beta1::Schema::Predict::Pre" - + "dictionb\006proto3" + + "Z]cloud.google.com/go/aiplatform/apiv1be" + + "ta1/schema/predict/prediction/prediction" + + "pb;predictionpb\252\0029Google.Cloud.AIPlatfor" + + "m.V1Beta1.Schema.Predict.Prediction\312\0029Go" + + "ogle\\Cloud\\AIPlatform\\V1beta1\\Schema\\Pre" + + "dict\\Prediction\352\002?Google::Cloud::AIPlatf" + + "orm::V1beta1::Schema::Predict::Predictio" + + "nb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoClassificationPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoClassificationPredictionResultProto.java index 39c984651792..be61910cf1bb 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoClassificationPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoClassificationPredictionResultProto.java @@ -51,17 +51,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004 \001(\0132\031.google.protobuf.Duration\0223\n\020time" + "_segment_end\030\005 \001(\0132\031.google.protobuf.Dur" + "ation\022/\n\nconfidence\030\006 \001(\0132\033.google.proto" - + "buf.FloatValueB\212\003\n=com.google.cloud.aipl" + + "buf.FloatValueB\204\003\n=com.google.cloud.aipl" + "atform.v1beta1.schema.predict.prediction" + "B(VideoClassificationPredictionResultPro" - + "toP\001Zcgoogle.golang.org/genproto/googlea" - + "pis/cloud/aiplatform/v1beta1/schema/pred" - + "ict/prediction;prediction\252\0029Google.Cloud" - + ".AIPlatform.V1Beta1.Schema.Predict.Predi" - + "ction\312\0029Google\\Cloud\\AIPlatform\\V1beta1\\" - + "Schema\\Predict\\Prediction\352\002?Google::Clou" - + "d::AIPlatform::V1beta1::Schema::Predict:" - + ":Predictionb\006proto3" + + "toP\001Z]cloud.google.com/go/aiplatform/api" + + "v1beta1/schema/predict/prediction/predic" + + "tionpb;predictionpb\252\0029Google.Cloud.AIPla" + + "tform.V1Beta1.Schema.Predict.Prediction\312" + + "\0029Google\\Cloud\\AIPlatform\\V1beta1\\Schema" + + "\\Predict\\Prediction\352\002?Google::Cloud::AIP" + + "latform::V1beta1::Schema::Predict::Predi" + + "ctionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java index 4695cf63eb6b..c1b4cfb4b95f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/predict/prediction/VideoObjectTrackingPredictionResultProto.java @@ -63,17 +63,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.protobuf.FloatValue\022*\n\005x_max\030\003 \001(\0132\033.g" + "oogle.protobuf.FloatValue\022*\n\005y_min\030\004 \001(\013" + "2\033.google.protobuf.FloatValue\022*\n\005y_max\030\005" - + " \001(\0132\033.google.protobuf.FloatValueB\212\003\n=co" + + " \001(\0132\033.google.protobuf.FloatValueB\204\003\n=co" + "m.google.cloud.aiplatform.v1beta1.schema" + ".predict.predictionB(VideoObjectTracking" - + "PredictionResultProtoP\001Zcgoogle.golang.o" - + "rg/genproto/googleapis/cloud/aiplatform/" - + "v1beta1/schema/predict/prediction;predic" - + "tion\252\0029Google.Cloud.AIPlatform.V1Beta1.S" - + "chema.Predict.Prediction\312\0029Google\\Cloud\\" - + "AIPlatform\\V1beta1\\Schema\\Predict\\Predic" - + "tion\352\002?Google::Cloud::AIPlatform::V1beta" - + "1::Schema::Predict::Predictionb\006proto3" + + "PredictionResultProtoP\001Z]cloud.google.co" + + "m/go/aiplatform/apiv1beta1/schema/predic" + + "t/prediction/predictionpb;predictionpb\252\002" + + "9Google.Cloud.AIPlatform.V1Beta1.Schema." + + "Predict.Prediction\312\0029Google\\Cloud\\AIPlat" + + "form\\V1beta1\\Schema\\Predict\\Prediction\352\002" + + "?Google::Cloud::AIPlatform::V1beta1::Sch" + + "ema::Predict::Predictionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java index 1858491e0ce9..5e51f10e684d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLForecastingProto.java @@ -139,17 +139,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "n_detail\032-\n\013Granularity\022\014\n\004unit\030\001 \001(\t\022\020\n" + "\010quantity\030\002 \001(\003\"@\n\031AutoMlForecastingMeta" + "data\022#\n\033train_cost_milli_node_hours\030\001 \001(" - + "\003B\214\003\nAcom.google.cloud.aiplatform.v1beta" + + "\003B\206\003\nAcom.google.cloud.aiplatform.v1beta" + "1.schema.trainingjob.definitionB\026AutoMLF" - + "orecastingProtoP\001Zggoogle.golang.org/gen" - + "proto/googleapis/cloud/aiplatform/v1beta" - + "1/schema/trainingjob/definition;definiti" - + "on\252\002=Google.Cloud.AIPlatform.V1Beta1.Sch" - + "ema.TrainingJob.Definition\312\002=Google\\Clou" - + "d\\AIPlatform\\V1beta1\\Schema\\TrainingJob\\" - + "Definition\352\002CGoogle::Cloud::AIPlatform::" - + "V1beta1::Schema::TrainingJob::Definition" - + "b\006proto3" + + "orecastingProtoP\001Zacloud.google.com/go/a" + + "iplatform/apiv1beta1/schema/trainingjob/" + + "definition/definitionpb;definitionpb\252\002=G" + + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Tr" + + "ainingJob.Definition\312\002=Google\\Cloud\\AIPl" + + "atform\\V1beta1\\Schema\\TrainingJob\\Defini" + + "tion\352\002CGoogle::Cloud::AIPlatform::V1beta" + + "1::Schema::TrainingJob::Definitionb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageClassificationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageClassificationProto.java index e59de8bc3da4..2129cbe80a6d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageClassificationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageClassificationProto.java @@ -77,18 +77,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "MlImageClassificationMetadata.Successful" + "StopReason\"g\n\024SuccessfulStopReason\022&\n\"SU" + "CCESSFUL_STOP_REASON_UNSPECIFIED\020\000\022\022\n\016BU" - + "DGET_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\224\003\nA" + + "DGET_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\216\003\nA" + "com.google.cloud.aiplatform.v1beta1.sche" + "ma.trainingjob.definitionB\036AutoMLImageCl" - + "assificationProtoP\001Zggoogle.golang.org/g" - + "enproto/googleapis/cloud/aiplatform/v1be" - + "ta1/schema/trainingjob/definition;defini" - + "tion\252\002=Google.Cloud.AIPlatform.V1Beta1.S" - + "chema.TrainingJob.Definition\312\002=Google\\Cl" - + "oud\\AIPlatform\\V1beta1\\Schema\\TrainingJo" - + "b\\Definition\352\002CGoogle::Cloud::AIPlatform" - + "::V1beta1::Schema::TrainingJob::Definiti" - + "onb\006proto3" + + "assificationProtoP\001Zacloud.google.com/go" + + "/aiplatform/apiv1beta1/schema/trainingjo" + + "b/definition/definitionpb;definitionpb\252\002" + + "=Google.Cloud.AIPlatform.V1Beta1.Schema." + + "TrainingJob.Definition\312\002=Google\\Cloud\\AI" + + "Platform\\V1beta1\\Schema\\TrainingJob\\Defi" + + "nition\352\002CGoogle::Cloud::AIPlatform::V1be" + + "ta1::Schema::TrainingJob::Definitionb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java index 2a09090afb30..293c9b915584 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageObjectDetectionProto.java @@ -78,17 +78,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "essfulStopReason\"g\n\024SuccessfulStopReason" + "\022&\n\"SUCCESSFUL_STOP_REASON_UNSPECIFIED\020\000" + "\022\022\n\016BUDGET_REACHED\020\001\022\023\n\017MODEL_CONVERGED\020" - + "\002B\225\003\nAcom.google.cloud.aiplatform.v1beta" + + "\002B\217\003\nAcom.google.cloud.aiplatform.v1beta" + "1.schema.trainingjob.definitionB\037AutoMLI" - + "mageObjectDetectionProtoP\001Zggoogle.golan" - + "g.org/genproto/googleapis/cloud/aiplatfo" - + "rm/v1beta1/schema/trainingjob/definition" - + ";definition\252\002=Google.Cloud.AIPlatform.V1" - + "Beta1.Schema.TrainingJob.Definition\312\002=Go" - + "ogle\\Cloud\\AIPlatform\\V1beta1\\Schema\\Tra" - + "iningJob\\Definition\352\002CGoogle::Cloud::AIP" - + "latform::V1beta1::Schema::TrainingJob::D" - + "efinitionb\006proto3" + + "mageObjectDetectionProtoP\001Zacloud.google" + + ".com/go/aiplatform/apiv1beta1/schema/tra" + + "iningjob/definition/definitionpb;definit" + + "ionpb\252\002=Google.Cloud.AIPlatform.V1Beta1." + + "Schema.TrainingJob.Definition\312\002=Google\\C" + + "loud\\AIPlatform\\V1beta1\\Schema\\TrainingJ" + + "ob\\Definition\352\002CGoogle::Cloud::AIPlatfor" + + "m::V1beta1::Schema::TrainingJob::Definit" + + "ionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java index 2753744b4c70..b7e4e4d2c3b9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLImageSegmentationProto.java @@ -75,18 +75,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ageSegmentationMetadata.SuccessfulStopRe" + "ason\"g\n\024SuccessfulStopReason\022&\n\"SUCCESSF" + "UL_STOP_REASON_UNSPECIFIED\020\000\022\022\n\016BUDGET_R" - + "EACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\222\003\nAcom.go" + + "EACHED\020\001\022\023\n\017MODEL_CONVERGED\020\002B\214\003\nAcom.go" + "ogle.cloud.aiplatform.v1beta1.schema.tra" + "iningjob.definitionB\034AutoMLImageSegmenta" - + "tionProtoP\001Zggoogle.golang.org/genproto/" - + "googleapis/cloud/aiplatform/v1beta1/sche" - + "ma/trainingjob/definition;definition\252\002=G" - + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Tr" - + "ainingJob.Definition\312\002=Google\\Cloud\\AIPl" - + "atform\\V1beta1\\Schema\\TrainingJob\\Defini" - + "tion\352\002CGoogle::Cloud::AIPlatform::V1beta" - + "1::Schema::TrainingJob::Definitionb\006prot" - + "o3" + + "tionProtoP\001Zacloud.google.com/go/aiplatf" + + "orm/apiv1beta1/schema/trainingjob/defini" + + "tion/definitionpb;definitionpb\252\002=Google." + + "Cloud.AIPlatform.V1Beta1.Schema.Training" + + "Job.Definition\312\002=Google\\Cloud\\AIPlatform" + + "\\V1beta1\\Schema\\TrainingJob\\Definition\352\002" + + "CGoogle::Cloud::AIPlatform::V1beta1::Sch" + + "ema::TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTablesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTablesProto.java index 04478ab2fceb..660095168597 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTablesProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTablesProto.java @@ -155,17 +155,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "mation\022\023\n\013column_name\030\001 \001(\tB\027\n\025transform" + "ation_detailB*\n(additional_optimization_" + "objective_config\";\n\024AutoMlTablesMetadata" - + "\022#\n\033train_cost_milli_node_hours\030\001 \001(\003B\207\003" + + "\022#\n\033train_cost_milli_node_hours\030\001 \001(\003B\201\003" + "\nAcom.google.cloud.aiplatform.v1beta1.sc" + "hema.trainingjob.definitionB\021AutoMLTable" - + "sProtoP\001Zggoogle.golang.org/genproto/goo" - + "gleapis/cloud/aiplatform/v1beta1/schema/" - + "trainingjob/definition;definition\252\002=Goog" - + "le.Cloud.AIPlatform.V1Beta1.Schema.Train" - + "ingJob.Definition\312\002=Google\\Cloud\\AIPlatf" - + "orm\\V1beta1\\Schema\\TrainingJob\\Definitio" - + "n\352\002CGoogle::Cloud::AIPlatform::V1beta1::" - + "Schema::TrainingJob::Definitionb\006proto3" + + "sProtoP\001Zacloud.google.com/go/aiplatform" + + "/apiv1beta1/schema/trainingjob/definitio" + + "n/definitionpb;definitionpb\252\002=Google.Clo" + + "ud.AIPlatform.V1Beta1.Schema.TrainingJob" + + ".Definition\312\002=Google\\Cloud\\AIPlatform\\V1" + + "beta1\\Schema\\TrainingJob\\Definition\352\002CGo" + + "ogle::Cloud::AIPlatform::V1beta1::Schema" + + "::TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextClassificationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextClassificationProto.java index 9d1dc6ba934c..53e3b6e7a6c7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextClassificationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextClassificationProto.java @@ -53,18 +53,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132].google.cloud.aiplatform.v1beta1.s" + "chema.trainingjob.definition.AutoMlTextC" + "lassificationInputs\"5\n\036AutoMlTextClassif" - + "icationInputs\022\023\n\013multi_label\030\001 \001(\010B\223\003\nAc" + + "icationInputs\022\023\n\013multi_label\030\001 \001(\010B\215\003\nAc" + "om.google.cloud.aiplatform.v1beta1.schem" + "a.trainingjob.definitionB\035AutoMLTextClas" - + "sificationProtoP\001Zggoogle.golang.org/gen" - + "proto/googleapis/cloud/aiplatform/v1beta" - + "1/schema/trainingjob/definition;definiti" - + "on\252\002=Google.Cloud.AIPlatform.V1Beta1.Sch" - + "ema.TrainingJob.Definition\312\002=Google\\Clou" - + "d\\AIPlatform\\V1beta1\\Schema\\TrainingJob\\" - + "Definition\352\002CGoogle::Cloud::AIPlatform::" - + "V1beta1::Schema::TrainingJob::Definition" - + "b\006proto3" + + "sificationProtoP\001Zacloud.google.com/go/a" + + "iplatform/apiv1beta1/schema/trainingjob/" + + "definition/definitionpb;definitionpb\252\002=G" + + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Tr" + + "ainingJob.Definition\312\002=Google\\Cloud\\AIPl" + + "atform\\V1beta1\\Schema\\TrainingJob\\Defini" + + "tion\352\002CGoogle::Cloud::AIPlatform::V1beta" + + "1::Schema::TrainingJob::Definitionb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextExtractionProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextExtractionProto.java index c7e1ee97e151..c9fa69198e7d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextExtractionProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextExtractionProto.java @@ -52,18 +52,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "AutoMlTextExtraction\022i\n\006inputs\030\001 \001(\0132Y.g" + "oogle.cloud.aiplatform.v1beta1.schema.tr" + "ainingjob.definition.AutoMlTextExtractio" - + "nInputs\"\034\n\032AutoMlTextExtractionInputsB\217\003" + + "nInputs\"\034\n\032AutoMlTextExtractionInputsB\211\003" + "\nAcom.google.cloud.aiplatform.v1beta1.sc" + "hema.trainingjob.definitionB\031AutoMLTextE" - + "xtractionProtoP\001Zggoogle.golang.org/genp" - + "roto/googleapis/cloud/aiplatform/v1beta1" - + "/schema/trainingjob/definition;definitio" - + "n\252\002=Google.Cloud.AIPlatform.V1Beta1.Sche" - + "ma.TrainingJob.Definition\312\002=Google\\Cloud" - + "\\AIPlatform\\V1beta1\\Schema\\TrainingJob\\D" - + "efinition\352\002CGoogle::Cloud::AIPlatform::V" - + "1beta1::Schema::TrainingJob::Definitionb" - + "\006proto3" + + "xtractionProtoP\001Zacloud.google.com/go/ai" + + "platform/apiv1beta1/schema/trainingjob/d" + + "efinition/definitionpb;definitionpb\252\002=Go" + + "ogle.Cloud.AIPlatform.V1Beta1.Schema.Tra" + + "iningJob.Definition\312\002=Google\\Cloud\\AIPla" + + "tform\\V1beta1\\Schema\\TrainingJob\\Definit" + + "ion\352\002CGoogle::Cloud::AIPlatform::V1beta1" + + "::Schema::TrainingJob::Definitionb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextSentimentProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextSentimentProto.java index 3a87d16ecd49..bf0338f4601a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextSentimentProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLTextSentimentProto.java @@ -52,17 +52,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.cloud.aiplatform.v1beta1.schema.train" + "ingjob.definition.AutoMlTextSentimentInp" + "uts\"2\n\031AutoMlTextSentimentInputs\022\025\n\rsent" - + "iment_max\030\001 \001(\005B\216\003\nAcom.google.cloud.aip" + + "iment_max\030\001 \001(\005B\210\003\nAcom.google.cloud.aip" + "latform.v1beta1.schema.trainingjob.defin" - + "itionB\030AutoMLTextSentimentProtoP\001Zggoogl" - + "e.golang.org/genproto/googleapis/cloud/a" - + "iplatform/v1beta1/schema/trainingjob/def" - + "inition;definition\252\002=Google.Cloud.AIPlat" - + "form.V1Beta1.Schema.TrainingJob.Definiti" - + "on\312\002=Google\\Cloud\\AIPlatform\\V1beta1\\Sch" - + "ema\\TrainingJob\\Definition\352\002CGoogle::Clo" - + "ud::AIPlatform::V1beta1::Schema::Trainin" - + "gJob::Definitionb\006proto3" + + "itionB\030AutoMLTextSentimentProtoP\001Zacloud" + + ".google.com/go/aiplatform/apiv1beta1/sch" + + "ema/trainingjob/definition/definitionpb;" + + "definitionpb\252\002=Google.Cloud.AIPlatform.V" + + "1Beta1.Schema.TrainingJob.Definition\312\002=G" + + "oogle\\Cloud\\AIPlatform\\V1beta1\\Schema\\Tr" + + "ainingJob\\Definition\352\002CGoogle::Cloud::AI" + + "Platform::V1beta1::Schema::TrainingJob::" + + "Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java index 25fb0206eb88..0606cb03c0cf 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoActionRecognitionProto.java @@ -60,17 +60,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"\207\001\n\tModelType\022\032\n\026MODEL_TYPE_UNSPECIFIED" + "\020\000\022\t\n\005CLOUD\020\001\022\026\n\022MOBILE_VERSATILE_1\020\002\022\035\n" + "\031MOBILE_JETSON_VERSATILE_1\020\003\022\034\n\030MOBILE_C" - + "ORAL_VERSATILE_1\020\004B\227\003\nAcom.google.cloud." + + "ORAL_VERSATILE_1\020\004B\221\003\nAcom.google.cloud." + "aiplatform.v1beta1.schema.trainingjob.de" + "finitionB!AutoMLVideoActionRecognitionPr" - + "otoP\001Zggoogle.golang.org/genproto/google" - + "apis/cloud/aiplatform/v1beta1/schema/tra" - + "iningjob/definition;definition\252\002=Google." - + "Cloud.AIPlatform.V1Beta1.Schema.Training" - + "Job.Definition\312\002=Google\\Cloud\\AIPlatform" - + "\\V1beta1\\Schema\\TrainingJob\\Definition\352\002" - + "CGoogle::Cloud::AIPlatform::V1beta1::Sch" - + "ema::TrainingJob::Definitionb\006proto3" + + "otoP\001Zacloud.google.com/go/aiplatform/ap" + + "iv1beta1/schema/trainingjob/definition/d" + + "efinitionpb;definitionpb\252\002=Google.Cloud." + + "AIPlatform.V1Beta1.Schema.TrainingJob.De" + + "finition\312\002=Google\\Cloud\\AIPlatform\\V1bet" + + "a1\\Schema\\TrainingJob\\Definition\352\002CGoogl" + + "e::Cloud::AIPlatform::V1beta1::Schema::T" + + "rainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java index ad929fb1df7e..2e1a9e6036c7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoClassificationProto.java @@ -59,17 +59,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ficationInputs.ModelType\"i\n\tModelType\022\032\n" + "\026MODEL_TYPE_UNSPECIFIED\020\000\022\t\n\005CLOUD\020\001\022\026\n\022" + "MOBILE_VERSATILE_1\020\002\022\035\n\031MOBILE_JETSON_VE" - + "RSATILE_1\020\003B\224\003\nAcom.google.cloud.aiplatf" + + "RSATILE_1\020\003B\216\003\nAcom.google.cloud.aiplatf" + "orm.v1beta1.schema.trainingjob.definitio" - + "nB\036AutoMLVideoClassificationProtoP\001Zggoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/aiplatform/v1beta1/schema/trainingjob/d" - + "efinition;definition\252\002=Google.Cloud.AIPl" - + "atform.V1Beta1.Schema.TrainingJob.Defini" - + "tion\312\002=Google\\Cloud\\AIPlatform\\V1beta1\\S" - + "chema\\TrainingJob\\Definition\352\002CGoogle::C" - + "loud::AIPlatform::V1beta1::Schema::Train" - + "ingJob::Definitionb\006proto3" + + "nB\036AutoMLVideoClassificationProtoP\001Zaclo" + + "ud.google.com/go/aiplatform/apiv1beta1/s" + + "chema/trainingjob/definition/definitionp" + + "b;definitionpb\252\002=Google.Cloud.AIPlatform" + + ".V1Beta1.Schema.TrainingJob.Definition\312\002" + + "=Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\" + + "TrainingJob\\Definition\352\002CGoogle::Cloud::" + + "AIPlatform::V1beta1::Schema::TrainingJob" + + "::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java index 75e7fc4c4967..e1fe8583d000 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/AutoMLVideoObjectTrackingProto.java @@ -61,18 +61,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\022MOBILE_VERSATILE_1\020\002\022\034\n\030MOBILE_CORAL_V" + "ERSATILE_1\020\003\022\036\n\032MOBILE_CORAL_LOW_LATENCY" + "_1\020\004\022\035\n\031MOBILE_JETSON_VERSATILE_1\020\005\022\037\n\033M" - + "OBILE_JETSON_LOW_LATENCY_1\020\006B\224\003\nAcom.goo" + + "OBILE_JETSON_LOW_LATENCY_1\020\006B\216\003\nAcom.goo" + "gle.cloud.aiplatform.v1beta1.schema.trai" + "ningjob.definitionB\036AutoMLVideoObjectTra" - + "ckingProtoP\001Zggoogle.golang.org/genproto" - + "/googleapis/cloud/aiplatform/v1beta1/sch" - + "ema/trainingjob/definition;definition\252\002=" - + "Google.Cloud.AIPlatform.V1Beta1.Schema.T" - + "rainingJob.Definition\312\002=Google\\Cloud\\AIP" - + "latform\\V1beta1\\Schema\\TrainingJob\\Defin" - + "ition\352\002CGoogle::Cloud::AIPlatform::V1bet" - + "a1::Schema::TrainingJob::Definitionb\006pro" - + "to3" + + "ckingProtoP\001Zacloud.google.com/go/aiplat" + + "form/apiv1beta1/schema/trainingjob/defin" + + "ition/definitionpb;definitionpb\252\002=Google" + + ".Cloud.AIPlatform.V1Beta1.Schema.Trainin" + + "gJob.Definition\312\002=Google\\Cloud\\AIPlatfor" + + "m\\V1beta1\\Schema\\TrainingJob\\Definition\352" + + "\002CGoogle::Cloud::AIPlatform::V1beta1::Sc" + + "hema::TrainingJob::Definitionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java index 0fd0b58177c2..71be24df48b5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/ExportEvaluatedDataItemsConfigProto.java @@ -47,18 +47,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "iplatform.v1beta1.schema.trainingjob.def" + "inition\"c\n\036ExportEvaluatedDataItemsConfi" + "g\022 \n\030destination_bigquery_uri\030\001 \001(\t\022\037\n\027o" - + "verride_existing_table\030\002 \001(\010B\231\003\nAcom.goo" + + "verride_existing_table\030\002 \001(\010B\223\003\nAcom.goo" + "gle.cloud.aiplatform.v1beta1.schema.trai" + "ningjob.definitionB#ExportEvaluatedDataI" - + "temsConfigProtoP\001Zggoogle.golang.org/gen" - + "proto/googleapis/cloud/aiplatform/v1beta" - + "1/schema/trainingjob/definition;definiti" - + "on\252\002=Google.Cloud.AIPlatform.V1Beta1.Sch" - + "ema.TrainingJob.Definition\312\002=Google\\Clou" - + "d\\AIPlatform\\V1beta1\\Schema\\TrainingJob\\" - + "Definition\352\002CGoogle::Cloud::AIPlatform::" - + "V1beta1::Schema::TrainingJob::Definition" - + "b\006proto3" + + "temsConfigProtoP\001Zacloud.google.com/go/a" + + "iplatform/apiv1beta1/schema/trainingjob/" + + "definition/definitionpb;definitionpb\252\002=G" + + "oogle.Cloud.AIPlatform.V1Beta1.Schema.Tr" + + "ainingJob.Definition\312\002=Google\\Cloud\\AIPl" + + "atform\\V1beta1\\Schema\\TrainingJob\\Defini" + + "tion\352\002CGoogle::Cloud::AIPlatform::V1beta" + + "1::Schema::TrainingJob::Definitionb\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/accelerator_type.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/accelerator_type.proto index 4d4c3b8f01c0..ebee15157ee1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/accelerator_type.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/accelerator_type.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "AcceleratorTypeProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/annotation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/annotation.proto index 44858aa0ebd8..4723c8a34fe9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/annotation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/annotation.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "AnnotationProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/annotation_spec.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/annotation_spec.proto index a2c18690bc11..56b937507926 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/annotation_spec.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/annotation_spec.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "AnnotationSpecProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/artifact.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/artifact.proto index b0df629bcbab..135a42de7db5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/artifact.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/artifact.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ArtifactProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto index bf4f40b8f6d2..cbdd9f046a2b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto @@ -33,7 +33,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "BatchPredictionJobProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/completion_stats.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/completion_stats.proto index ee99522663f9..ef9bf10dfde6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/completion_stats.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/completion_stats.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "CompletionStatsProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/context.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/context.proto index 3c6ae7750b67..3f50fbd7b1fc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/context.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/context.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ContextProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto index 917616422ad3..9c16cf95ca27 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto @@ -28,7 +28,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "CustomJobProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/data_item.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/data_item.proto index b65ebdaf5c7c..1249a6962697 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/data_item.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/data_item.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DataItemProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/data_labeling_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/data_labeling_job.proto index 38cf99ffee1d..c1582fb9cc23 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/data_labeling_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/data_labeling_job.proto @@ -26,7 +26,7 @@ import "google/rpc/status.proto"; import "google/type/money.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DataLabelingJobProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset.proto index 51ef2928a1b6..b89a9525f3aa 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset.proto @@ -25,7 +25,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DatasetProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset_service.proto index 30097e817d9c..fdef69d1502b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/dataset_service.proto @@ -30,7 +30,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DatasetServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto index fd20f4d63295..01e970b44eb5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DeployedIndexRefProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto index 337ba55e82e7..2f3e7555114a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DeployedModelNameProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployment_resource_pool.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployment_resource_pool.proto index 8f794120f86d..3237bb905568 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployment_resource_pool.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployment_resource_pool.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1beta1/machine_resources.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DeploymentResourcePoolProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployment_resource_pool_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployment_resource_pool_service.proto index 752d8407aae7..fbce75a91a74 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployment_resource_pool_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/deployment_resource_pool_service.proto @@ -27,7 +27,7 @@ import "google/cloud/aiplatform/v1beta1/operation.proto"; import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "DeploymentResourcePoolServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/encryption_spec.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/encryption_spec.proto index 738f8876b8d5..89cc8b9a6338 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/encryption_spec.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/encryption_spec.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EncryptionSpecProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/endpoint.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/endpoint.proto index c8055754466f..e5528607bf1e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/endpoint.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/endpoint.proto @@ -25,7 +25,7 @@ import "google/cloud/aiplatform/v1beta1/machine_resources.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EndpointProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; @@ -96,7 +96,7 @@ message Endpoint { // this key. EncryptionSpec encryption_spec = 10; - // The full name of the Google Compute Engine + // Optional. The full name of the Google Compute Engine // [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) // to which the Endpoint should be peered. // @@ -113,6 +113,7 @@ message Endpoint { // Where `{project}` is a project number, as in `12345`, and `{network}` is // network name. string network = 13 [ + (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } ]; @@ -213,6 +214,13 @@ message DeployedModel { // will be used for the explanation configuration. ExplanationSpec explanation_spec = 9; + // If true, deploy the model without explainable feature, regardless the + // existence of + // [Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec] + // or + // [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec]. + bool disable_explanations = 19; + // The service account that the DeployedModel's container runs as. Specify the // email address of the service account. If this service account is not // specified, the container runs as a service account that doesn't have access @@ -228,6 +236,8 @@ message DeployedModel { // Only supported for custom-trained Models and AutoML Tabular Models. bool enable_container_logging = 12; + // If true, online prediction access logs are sent to StackDriver + // Logging. // These logs are like standard server access logs, containing // information like timestamp and latency for each prediction request. // diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/endpoint_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/endpoint_service.proto index 8496b62ff598..d48a018b2fad 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/endpoint_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/endpoint_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EndpointServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/entity_type.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/entity_type.proto index e69d56a09807..4455292036d8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/entity_type.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/entity_type.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EntityTypeProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/env_var.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/env_var.proto index 5e1d677b998d..8dc7bbf17cdd 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/env_var.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/env_var.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EnvVarProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/event.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/event.proto index 628aba7b6bda..d6c5794bf9ad 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/event.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/event.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "EventProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/execution.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/execution.proto index 7c477048abfa..260c8246de98 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/execution.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/execution.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ExecutionProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation.proto index 222e75daa22b..28970d9d124d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1beta1/io.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ExplanationProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation_metadata.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation_metadata.proto index 7089c4e01d1c..c7f079c8c7a2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation_metadata.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/explanation_metadata.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ExplanationMetadataProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto index 2d9b8883d7cb..c9dc14a7c1e1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature.proto @@ -23,7 +23,7 @@ import "google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeatureProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto index 749632305ded..b1f490deb100 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeatureMonitoringStatsProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_selector.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_selector.proto index 907f14e23ef1..c29347c499f6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_selector.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/feature_selector.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeatureSelectorProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore.proto index 3530ca6fbecf..a5c0ad452b93 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeaturestoreProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto index 307a3cd88ed1..3f1653dc02a9 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeaturestoreMonitoringProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto index 8ee05dffa2c2..0a6922b9dd44 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto @@ -25,7 +25,7 @@ import "google/cloud/aiplatform/v1beta1/types.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeaturestoreOnlineServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto index 31aed3da96c3..688deafa6458 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/featurestore_service.proto @@ -32,7 +32,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/interval.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "FeaturestoreServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto index ac5d551570ec..7f8e8c183315 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "HyperparameterTuningJobProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index.proto index 279c421d8833..35dbfe23006f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IndexProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_endpoint.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_endpoint.proto index 2230eae354a6..fc387c80b1bc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_endpoint.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_endpoint.proto @@ -19,10 +19,11 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/machine_resources.proto"; +import "google/cloud/aiplatform/v1beta1/service_networking.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IndexEndpointProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; @@ -102,6 +103,14 @@ message IndexEndpoint { // can be set. bool enable_private_service_connect = 10 [deprecated = true, (google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for private service connect. + // + // [network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network] and + // [private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config] + // are mutually exclusive. + PrivateServiceConnectConfig private_service_connect_config = 12 + [(google.api.field_behavior) = OPTIONAL]; } // A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes. @@ -178,10 +187,10 @@ message DeployedIndex { // e2-standard-16 and all machine types available for LARGE shard. // // Available machine types for LARGE shard: - // e2-standard-32, e2-highmem-16, n2d-standard-32. + // e2-highmem-16, n2d-standard-32. // // n1-standard-16 and n1-standard-32 are still available, but we recommend - // e2-standard-16 and e2-standard-32 for cost efficiency. + // e2-standard-16 and e2-highmem-16 for cost efficiency. DedicatedResources dedicated_resources = 16 [(google.api.field_behavior) = OPTIONAL]; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto index 27e5e374d7ae..64e1a2cc115a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IndexEndpointServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_service.proto index 68bc40488852..2565ca7ae86e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/index_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IndexServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/io.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/io.proto index 2b52b83aeb5b..7bc38c3150d1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/io.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/io.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "IoProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_service.proto index ec07d5fd4aac..abde6266bf89 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_service.proto @@ -25,6 +25,7 @@ import "google/cloud/aiplatform/v1beta1/custom_job.proto"; import "google/cloud/aiplatform/v1beta1/data_labeling_job.proto"; import "google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto"; import "google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto"; +import "google/cloud/aiplatform/v1beta1/nas_job.proto"; import "google/cloud/aiplatform/v1beta1/operation.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; @@ -32,7 +33,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "JobServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; @@ -43,7 +44,8 @@ option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; service JobService { option (google.api.default_host) = "aiplatform.googleapis.com"; option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloud-platform.read-only"; // Creates a CustomJob. A created CustomJob right away // will be attempted to be run. @@ -219,6 +221,81 @@ service JobService { option (google.api.method_signature) = "name"; } + // Creates a NasJob + rpc CreateNasJob(CreateNasJobRequest) returns (NasJob) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*}/nasJobs" + body: "nas_job" + }; + option (google.api.method_signature) = "parent,nas_job"; + } + + // Gets a NasJob + rpc GetNasJob(GetNasJobRequest) returns (NasJob) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/nasJobs/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists NasJobs in a Location. + rpc ListNasJobs(ListNasJobsRequest) returns (ListNasJobsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*}/nasJobs" + }; + option (google.api.method_signature) = "parent"; + } + + // Deletes a NasJob. + rpc DeleteNasJob(DeleteNasJobRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/nasJobs/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteOperationMetadata" + }; + } + + // Cancels a NasJob. + // Starts asynchronous cancellation on the NasJob. The server + // makes a best effort to cancel the job, but success is not + // guaranteed. Clients can use + // [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob] + // or other methods to check whether the cancellation succeeded or whether the + // job completed despite cancellation. On successful cancellation, + // the NasJob is not deleted; instead it becomes a job with + // a [NasJob.error][google.cloud.aiplatform.v1beta1.NasJob.error] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`, and + // [NasJob.state][google.cloud.aiplatform.v1beta1.NasJob.state] is set to + // `CANCELLED`. + rpc CancelNasJob(CancelNasJobRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/nasJobs/*}:cancel" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Gets a NasTrialDetail. + rpc GetNasTrialDetail(GetNasTrialDetailRequest) returns (NasTrialDetail) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/nasJobs/*/nasTrialDetails/*}" + }; + option (google.api.method_signature) = "name"; + } + + // List top NasTrialDetails of a NasJob. + rpc ListNasTrialDetails(ListNasTrialDetailsRequest) + returns (ListNasTrialDetailsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/nasJobs/*}/nasTrialDetails" + }; + option (google.api.method_signature) = "parent"; + } + // Creates a BatchPredictionJob. A BatchPredictionJob once created will // right away be attempted to start. rpc CreateBatchPredictionJob(CreateBatchPredictionJobRequest) @@ -752,6 +829,180 @@ message CancelHyperparameterTuningJobRequest { ]; } +// Request message for +// [JobService.CreateNasJob][google.cloud.aiplatform.v1beta1.JobService.CreateNasJob]. +message CreateNasJobRequest { + // Required. The resource name of the Location to create the NasJob in. + // Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The NasJob to create. + NasJob nas_job = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for +// [JobService.GetNasJob][google.cloud.aiplatform.v1beta1.JobService.GetNasJob]. +message GetNasJobRequest { + // Required. The name of the NasJob resource. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasJob" + } + ]; +} + +// Request message for +// [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs]. +message ListNasJobsRequest { + // Required. The resource name of the Location to list the NasJobs + // from. Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // The standard list filter. + // + // Supported fields: + // + // * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. + // * `state` supports `=`, `!=` comparisons. + // * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. + // `create_time` must be in RFC 3339 format. + // * `labels` supports general map functions that is: + // `labels.key=value` - key:value equality + // `labels.key:* - key existence + // + // Some examples of using the filter are: + // + // * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` + // * `state!="JOB_STATE_FAILED" OR display_name="my_job"` + // * `NOT display_name="my_job"` + // * `create_time>"2021-05-18T00:00:00Z"` + // * `labels.keyA=valueA` + // * `labels.keyB:*` + string filter = 2; + + // The standard list page size. + int32 page_size = 3; + + // The standard list page token. + // Typically obtained via + // [ListNasJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasJobsResponse.next_page_token] + // of the previous + // [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs] + // call. + string page_token = 4; + + // Mask specifying which fields to read. + google.protobuf.FieldMask read_mask = 5; +} + +// Response message for +// [JobService.ListNasJobs][google.cloud.aiplatform.v1beta1.JobService.ListNasJobs] +message ListNasJobsResponse { + // List of NasJobs in the requested page. + // [NasJob.nas_job_output][google.cloud.aiplatform.v1beta1.NasJob.nas_job_output] + // of the jobs will not be returned. + repeated NasJob nas_jobs = 1; + + // A token to retrieve the next page of results. + // Pass to + // [ListNasJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasJobsRequest.page_token] + // to obtain that page. + string next_page_token = 2; +} + +// Request message for +// [JobService.DeleteNasJob][google.cloud.aiplatform.v1beta1.JobService.DeleteNasJob]. +message DeleteNasJobRequest { + // Required. The name of the NasJob resource to be deleted. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasJob" + } + ]; +} + +// Request message for +// [JobService.CancelNasJob][google.cloud.aiplatform.v1beta1.JobService.CancelNasJob]. +message CancelNasJobRequest { + // Required. The name of the NasJob to cancel. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasJob" + } + ]; +} + +// Request message for +// [JobService.GetNasTrialDetail][google.cloud.aiplatform.v1beta1.JobService.GetNasTrialDetail]. +message GetNasTrialDetailRequest { + // Required. The name of the NasTrialDetail resource. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasTrialDetail" + } + ]; +} + +// Request message for +// [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails]. +message ListNasTrialDetailsRequest { + // Required. The name of the NasJob resource. + // Format: + // `projects/{project}/locations/{location}/nasJobs/{nas_job}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/NasJob" + } + ]; + + // The standard list page size. + int32 page_size = 2; + + // The standard list page token. + // Typically obtained via + // [ListNasTrialDetailsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsResponse.next_page_token] + // of the previous + // [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails] + // call. + string page_token = 3; +} + +// Response message for +// [JobService.ListNasTrialDetails][google.cloud.aiplatform.v1beta1.JobService.ListNasTrialDetails] +message ListNasTrialDetailsResponse { + // List of top NasTrials in the requested page. + repeated NasTrialDetail nas_trial_details = 1; + + // A token to retrieve the next page of results. + // Pass to + // [ListNasTrialDetailsRequest.page_token][google.cloud.aiplatform.v1beta1.ListNasTrialDetailsRequest.page_token] + // to obtain that page. + string next_page_token = 2; +} + // Request message for // [JobService.CreateBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.CreateBatchPredictionJob]. message CreateBatchPredictionJobRequest { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_state.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_state.proto index 14458e2ee68e..fb0ffdc33d2d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_state.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/job_state.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "JobStateProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto index ce2797179620..58d308733f3a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto @@ -21,7 +21,7 @@ import "google/cloud/aiplatform/v1beta1/event.proto"; import "google/cloud/aiplatform/v1beta1/execution.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "LineageSubgraphProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/machine_resources.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/machine_resources.proto index fcf75e357f54..7f26271c3544 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/machine_resources.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/machine_resources.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1beta1/accelerator_type.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MachineResourcesProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto index 189e88f21d64..1131aa2e1cc5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ManualBatchTuningParametersProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_schema.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_schema.proto index fbe45dff4e05..a3042d2f4ffa 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_schema.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_schema.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MetadataSchemaProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_service.proto index 215b853170ee..b1b6c664c93c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_service.proto @@ -32,7 +32,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MetadataServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_store.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_store.proto index 7e6bcbcb8059..a96a5780e856 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_store.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/metadata_store.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MetadataProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/migratable_resource.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/migratable_resource.proto index e0995f3d37d3..21ab28c9dfbe 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/migratable_resource.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/migratable_resource.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MigratableResourceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/migration_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/migration_service.proto index c3db729b5336..00e4f582fb09 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/migration_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/migration_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "MigrationServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model.proto index 8c7b0fdc73fd..ed2b51e18485 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model.proto @@ -26,7 +26,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; @@ -90,6 +90,19 @@ message Model { [(google.api.field_behavior) = OUTPUT_ONLY]; } + // Contains information about the original Model if this Model is a copy. + message OriginalModelInfo { + // Output only. The resource name of the Model this Model is a copy of, + // including the revision. Format: + // `projects/{project}/locations/{location}/models/{model_id}@{version_id}` + string model = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; + } + // Identifies a type of Model's prediction resources. enum DeploymentResourcesType { // Should not be used. @@ -380,6 +393,11 @@ message Model { ModelSourceInfo model_source_info = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. If this Model is a copy of another Model, this contains info + // about the original. + OriginalModelInfo original_model_info = 34 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The resource name of the Artifact that was created in // MetadataStore when creating the Model. The Artifact resource name pattern // is diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto index 153417ed0aa6..48707707980d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto @@ -29,7 +29,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelDeploymentMonitoringJobProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation.proto index e37ad53a1c68..96d2d1016f7a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelEvaluationProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto index d52c4766a889..145cbda470e1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelEvaluationSliceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto index 3dc687e5f107..73bc3c6b3f88 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_monitoring.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/io.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelMonitoringProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto index 80da8a99f8d5..c1a68c12c526 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/model_service.proto @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/cloud/aiplatform/v1beta1/explanation.proto"; import "google/cloud/aiplatform/v1beta1/io.proto"; import "google/cloud/aiplatform/v1beta1/model.proto"; @@ -30,7 +31,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ModelServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; @@ -166,6 +167,24 @@ service ModelService { }; } + // Copies an already existing Vertex AI Model into the specified Location. + // The source Model must exist in the same Project. + // When copying custom Models, the users themselves are responsible for + // [Model.metadata][google.cloud.aiplatform.v1beta1.Model.metadata] content to + // be region-agnostic, as well as making sure that any resources (e.g. files) + // it depends on remain accessible. + rpc CopyModel(CopyModelRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*}/models:copy" + body: "*" + }; + option (google.api.method_signature) = "parent,source_model"; + option (google.longrunning.operation_info) = { + response_type: "CopyModelResponse" + metadata_type: "CopyModelOperationMetadata" + }; + } + // Imports an externally generated ModelEvaluation. rpc ImportModelEvaluation(ImportModelEvaluationRequest) returns (ModelEvaluation) { @@ -612,6 +631,75 @@ message UpdateExplanationDatasetResponse {} // operation. message ExportModelResponse {} +// Request message for +// [ModelService.CopyModel][google.cloud.aiplatform.v1beta1.ModelService.CopyModel]. +message CopyModelRequest { + // If both fields are unset, a new Model will be created with a generated ID. + oneof destination_model { + // Optional. Copy source_model into a new Model with this ID. The ID will + // become the final component of the model resource name. + // + // This value may be up to 63 characters, and valid characters are + // `[a-z0-9_-]`. The first character cannot be a number or hyphen. + string model_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specify this field to copy source_model into this existing + // Model as a new version. Format: + // `projects/{project}/locations/{location}/models/{model}` + string parent_model = 5 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; + } + + // Required. The resource name of the Location into which to copy the Model. + // Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The resource name of the Model to copy. That Model must be in the + // same Project. Format: + // `projects/{project}/locations/{location}/models/{model}` + string source_model = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; + + // Customer-managed encryption key options. If this is set, + // then the Model copy will be encrypted with the provided encryption key. + EncryptionSpec encryption_spec = 3; +} + +// Details of +// [ModelService.CopyModel][google.cloud.aiplatform.v1beta1.ModelService.CopyModel] +// operation. +message CopyModelOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; +} + +// Response message of +// [ModelService.CopyModel][google.cloud.aiplatform.v1beta1.ModelService.CopyModel] +// operation. +message CopyModelResponse { + // The name of the copied Model resource. + // Format: `projects/{project}/locations/{location}/models/{model}` + string model = 1 [(google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + }]; + + // Output only. The version ID of the model that is copied. + string model_version_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Request message for // [ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1beta1.ModelService.ImportModelEvaluation] message ImportModelEvaluationRequest { diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/nas_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/nas_job.proto new file mode 100644 index 000000000000..383d3c5aca2a --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/nas_job.proto @@ -0,0 +1,306 @@ +// Copyright 2022 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 +// +// http://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. + +syntax = "proto3"; + +package google.cloud.aiplatform.v1beta1; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/custom_job.proto"; +import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; +import "google/cloud/aiplatform/v1beta1/job_state.proto"; +import "google/cloud/aiplatform/v1beta1/study.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; + +option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; +option java_multiple_files = true; +option java_outer_classname = "NasJobProto"; +option java_package = "com.google.cloud.aiplatform.v1beta1"; +option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; +option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; + +// Represents a Neural Architecture Search (NAS) job. +message NasJob { + option (google.api.resource) = { + type: "aiplatform.googleapis.com/NasJob" + pattern: "projects/{project}/locations/{location}/nasJobs/{nas_job}" + }; + + // Output only. Resource name of the NasJob. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The display name of the NasJob. + // The name can be up to 128 characters long and can consist of any UTF-8 + // characters. + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The specification of a NasJob. + NasJobSpec nas_job_spec = 4 [(google.api.field_behavior) = REQUIRED]; + + // Output only. Output of the NasJob. + NasJobOutput nas_job_output = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The detailed state of the job. + JobState state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasJob was created. + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasJob for the first time entered the + // `JOB_STATE_RUNNING` state. + google.protobuf.Timestamp start_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasJob entered any of the following states: + // `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. + google.protobuf.Timestamp end_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasJob was most recently updated. + google.protobuf.Timestamp update_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Only populated when job's state is JOB_STATE_FAILED or + // JOB_STATE_CANCELLED. + google.rpc.Status error = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The labels with user-defined metadata to organize NasJobs. + // + // Label keys and values can be no longer than 64 characters + // (Unicode codepoints), can only contain lowercase letters, numeric + // characters, underscores and dashes. International characters are allowed. + // + // See https://goo.gl/xmQnxf for more information and examples of labels. + map labels = 12; + + // Customer-managed encryption key options for a NasJob. + // If this is set, then all resources created by the NasJob + // will be encrypted with the provided encryption key. + EncryptionSpec encryption_spec = 13; + + // Optional. Enable a separation of Custom model training + // and restricted image training for tenant project. + bool enable_restricted_image_training = 14 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Represents a NasTrial details along with it's parameters. If there is a +// corresponding train NasTrial, the train NasTrial is also returned. +message NasTrialDetail { + option (google.api.resource) = { + type: "aiplatform.googleapis.com/NasTrialDetail" + pattern: "projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}" + }; + + // Output only. Resource name of the NasTrialDetail. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The parameters for the NasJob NasTrial. + string parameters = 2; + + // The requested search NasTrial. + NasTrial search_trial = 3; + + // The train NasTrial corresponding to + // [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial]. + // Only populated if + // [search_trial][google.cloud.aiplatform.v1beta1.NasTrialDetail.search_trial] + // is used for training. + NasTrial train_trial = 4; +} + +// Represents the spec of a NasJob. +message NasJobSpec { + // The spec of multi-trial Neural Architecture Search (NAS). + message MultiTrialAlgorithmSpec { + // Represents a metric to optimize. + message MetricSpec { + // The available types of optimization goals. + enum GoalType { + // Goal Type will default to maximize. + GOAL_TYPE_UNSPECIFIED = 0; + + // Maximize the goal metric. + MAXIMIZE = 1; + + // Minimize the goal metric. + MINIMIZE = 2; + } + + // Required. The ID of the metric. Must not contain whitespaces. + string metric_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The optimization goal of the metric. + GoalType goal = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Represent spec for search trials. + message SearchTrialSpec { + // Required. The spec of a search trial job. The same spec applies to + // all search trials. + CustomJobSpec search_trial_job_spec = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The maximum number of Neural Architecture Search (NAS) trials + // to run. + int32 max_trial_count = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The maximum number of trials to run in parallel. + int32 max_parallel_trial_count = 3 + [(google.api.field_behavior) = REQUIRED]; + + // The number of failed trials that need to be seen before failing + // the NasJob. + // + // If set to 0, Vertex AI decides how many trials must fail + // before the whole job fails. + int32 max_failed_trial_count = 4; + } + + // Represent spec for train trials. + message TrainTrialSpec { + // Required. The spec of a train trial job. The same spec applies to + // all train trials. + CustomJobSpec train_trial_job_spec = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The maximum number of trials to run in parallel. + int32 max_parallel_trial_count = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Frequency of search trials to start train stage. Top N + // [TrainTrialSpec.max_parallel_trial_count] + // search trials will be trained for every M + // [TrainTrialSpec.frequency] trials searched. + int32 frequency = 3 [(google.api.field_behavior) = REQUIRED]; + } + + // The available types of multi-trial algorithms. + enum MultiTrialAlgorithm { + // Defaults to `REINFORCEMENT_LEARNING`. + MULTI_TRIAL_ALGORITHM_UNSPECIFIED = 0; + + // The Reinforcement Learning Algorithm for Multi-trial Neural + // Architecture Search (NAS). + REINFORCEMENT_LEARNING = 1; + + // The Grid Search Algorithm for Multi-trial Neural + // Architecture Search (NAS). + GRID_SEARCH = 2; + } + + // The multi-trial Neural Architecture Search (NAS) algorithm + // type. Defaults to `REINFORCEMENT_LEARNING`. + MultiTrialAlgorithm multi_trial_algorithm = 1; + + // Metric specs for the NAS job. + // Validation for this field is done at `multi_trial_algorithm_spec` field. + MetricSpec metric = 2; + + // Required. Spec for search trials. + SearchTrialSpec search_trial_spec = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Spec for train trials. Top N [TrainTrialSpec.max_parallel_trial_count] + // search trials will be trained for every M + // [TrainTrialSpec.frequency] trials searched. + TrainTrialSpec train_trial_spec = 4; + } + + // The Neural Architecture Search (NAS) algorithm specification. + oneof nas_algorithm_spec { + // The spec of multi-trial algorithms. + MultiTrialAlgorithmSpec multi_trial_algorithm_spec = 2; + } + + // The ID of the existing NasJob in the same Project and Location + // which will be used to resume search. search_space_spec and + // nas_algorithm_spec are obtained from previous NasJob hence should not + // provide them again for this NasJob. + string resume_nas_job_id = 3; + + // It defines the search space for Neural Architecture Search (NAS). + string search_space_spec = 1; +} + +// Represents a uCAIP NasJob output. +message NasJobOutput { + // The output of a multi-trial Neural Architecture Search (NAS) jobs. + message MultiTrialJobOutput { + // Output only. List of NasTrials that were started as part of search stage. + repeated NasTrial search_trials = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. List of NasTrials that were started as part of train stage. + repeated NasTrial train_trials = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // The output of this Neural Architecture Search (NAS) job. + oneof output { + // Output only. The output of this multi-trial Neural Architecture Search + // (NAS) job. + MultiTrialJobOutput multi_trial_job_output = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} + +// Represents a uCAIP NasJob trial. +message NasTrial { + // Describes a NasTrial state. + enum State { + // The NasTrial state is unspecified. + STATE_UNSPECIFIED = 0; + + // Indicates that a specific NasTrial has been requested, but it has not yet + // been suggested by the service. + REQUESTED = 1; + + // Indicates that the NasTrial has been suggested. + ACTIVE = 2; + + // Indicates that the NasTrial should stop according to the service. + STOPPING = 3; + + // Indicates that the NasTrial is completed successfully. + SUCCEEDED = 4; + + // Indicates that the NasTrial should not be attempted again. + // The service will set a NasTrial to INFEASIBLE when it's done but missing + // the final_measurement. + INFEASIBLE = 5; + } + + // Output only. The identifier of the NasTrial assigned by the service. + string id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The detailed state of the NasTrial. + State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The final measurement containing the objective value. + Measurement final_measurement = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasTrial was started. + google.protobuf.Timestamp start_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the NasTrial's status changed to `SUCCEEDED` or + // `INFEASIBLE`. + google.protobuf.Timestamp end_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/operation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/operation.proto index 330ab6245a05..b7ea2af4be41 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/operation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/operation.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "OperationProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto index f197f510f090..8d4ecef391c8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "PipelineFailurePolicyProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_job.proto index 637707f3a77a..88d66b17647b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_job.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_job.proto @@ -30,7 +30,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "Pipeline"; option java_package = "com.google.cloud.aiplatform.v1beta1"; @@ -382,8 +382,6 @@ message PipelineTaskExecutorDetail { // The detailed info for a custom job executor. message CustomJobDetail { - option deprecated = true; - // Output only. The name of the // [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. string job = 1 [ @@ -392,6 +390,11 @@ message PipelineTaskExecutorDetail { type: "aiplatform.googleapis.com/CustomJob" } ]; + + // Output only. The names of the previously failed + // [CustomJob][google.cloud.aiplatform.v1beta1.CustomJob]. The list includes + // the all attempts in chronological order. + repeated string failed_jobs = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } oneof details { @@ -401,6 +404,6 @@ message PipelineTaskExecutorDetail { // Output only. The detailed info for a custom job executor. CustomJobDetail custom_job_detail = 2 - [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; + [(google.api.field_behavior) = OUTPUT_ONLY]; } } diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_service.proto index 26ea0fb67042..d17c375342eb 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "PipelineServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_state.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_state.proto index 41f2fb6ae0c6..1d4356bb4ae8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_state.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/pipeline_state.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "PipelineStateProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto index 72e516fe6e79..1171de23f37a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/prediction_service.proto @@ -25,7 +25,7 @@ import "google/cloud/aiplatform/v1beta1/explanation.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "PredictionServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/saved_query.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/saved_query.proto index e7c03ff9e260..d78fd10068f8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/saved_query.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/saved_query.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "SavedQueryProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto index 249c5ca3c328..18950e8441e0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto @@ -21,7 +21,7 @@ import "google/cloud/aiplatform/v1beta1/schema/geometry.proto"; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/schemapb;schemapb"; option java_multiple_files = true; option java_outer_classname = "AnnotationPayloadProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto index 5a4b976741ae..b5ae22ffc6e6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1.schema; import "google/type/color.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/schemapb;schemapb"; option java_multiple_files = true; option java_outer_classname = "AnnotationSpecColorProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto index 6f8b3eff8b6a..8911cd607f8b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1.schema; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/schemapb;schemapb"; option java_multiple_files = true; option java_outer_classname = "DataItemPayloadProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto index d35bbc33cf97..730280aee0b7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/schemapb;schemapb"; option java_multiple_files = true; option java_outer_classname = "DatasetMetadataProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto index 5dd708e37e35..f196fe3524e0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/geometry.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema;schema"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/schemapb;schemapb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto index 7ce0a3442998..3a9cd5b3b2c1 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "ImageClassificationPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto index b92db336cc7c..1edc6cc8e7fa 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "ImageObjectDetectionPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto index a83b7fbcceb3..5056881c1e11 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "ImageSegmentationPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto index 99b8deda78c8..bf773184d209 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "TextClassificationPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto index 0265e4c03b8d..764eeea7e4db 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "TextExtractionPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto index 17480d0c1ebb..73bf08939674 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "TextSentimentPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto index f65c6d2b114c..570f0394e09a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "VideoActionRecognitionPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto index 9261a240279e..52eee2a81362 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "VideoClassificationPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto index 6a420074a9fb..b347e992535a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.instance; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance;instance"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "VideoObjectTrackingPredictionInstanceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.instance"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto index 088f0495265e..8082195114a3 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "ImageClassificationPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto index 32861f2b6499..637d1569e685 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "ImageObjectDetectionPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto index a49c81364bd9..47d8ddcf25a4 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "ImageSegmentationPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto index 02e8ec9fb802..fad0f06ef8e6 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "VideoActionRecognitionPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto index c93ccb6be96b..57dc95f678bc 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "VideoClassificationPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto index 25c91dd711fd..8232278bb06f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.params; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params;params"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/params/paramspb;paramspb"; option java_multiple_files = true; option java_outer_classname = "VideoObjectTrackingPredictionParamsProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.params"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto index b7b6d3db133e..1bd03d4de2e5 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "ClassificationPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto index a5489b1bcbba..3521f7955698 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "ImageObjectDetectionPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto index 77629ccffc2f..edd3a740b472 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "ImageSegmentationPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto index 1616dfca57ce..ffdb995768ef 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "TabularClassificationPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto index 0aa04bddad53..65fd7cfcca23 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "TabularRegressionPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto index e7c0cffcee15..1b42997ee8c7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "TextExtractionPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto index b5b7a1458b21..23c1b68a90d8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "TextSentimentPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto index e2db5812d049..c9f641e65959 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.predict.prediction; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "TimeSeriesForecastingPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto index 86ff341c2e57..30bfd9963c1b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto @@ -20,7 +20,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "VideoActionRecognitionPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto index 6cff97622ea9..faac51147e7e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto @@ -20,7 +20,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "VideoClassificationPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto index 11e28a9aa527..6af9eea3d719 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto @@ -20,7 +20,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction;prediction"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb"; option java_multiple_files = true; option java_outer_classname = "VideoObjectTrackingPredictionResultProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.predict.prediction"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto index 1b874b03b6e1..1a2c9ede4f27 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLImageClassificationProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto index 938ece400fc6..b80309b501c8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLImageObjectDetectionProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto index e368e00b66de..b4385fbc0e5b 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLImageSegmentationProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto index 5488f747fca3..5930e169902f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; import "google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLTablesProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto index b57492a5f99d..61c16c434c8a 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLTextClassificationProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto index a367486a45af..f92b0b467e07 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLTextExtractionProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto index b63162d7c1f9..75563ff2a640 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLTextSentimentProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto index 596d0abd5a87..130a2f0ebebf 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_time_series_forecasting.proto @@ -19,7 +19,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; import "google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLForecastingProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto index ef5284b7d331..750ddfa4b928 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLVideoActionRecognitionProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto index c6e15229147a..e69c1ab03018 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLVideoClassificationProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto index 7d929d2038fd..72132b3e3a4f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "AutoMLVideoObjectTrackingProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto index b88d0c4f1929..0fec2c8554e8 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto @@ -18,7 +18,7 @@ package google.cloud.aiplatform.v1beta1.schema.trainingjob.definition; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1.Schema.TrainingJob.Definition"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition;definition"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/schema/trainingjob/definition/definitionpb;definitionpb"; option java_multiple_files = true; option java_outer_classname = "ExportEvaluatedDataItemsConfigProto"; option java_package = "com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/service_networking.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/service_networking.proto new file mode 100644 index 000000000000..3c3052633ec1 --- /dev/null +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/service_networking.proto @@ -0,0 +1,38 @@ +// Copyright 2022 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 +// +// http://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. + +syntax = "proto3"; + +package google.cloud.aiplatform.v1beta1; + +import "google/api/field_behavior.proto"; + +option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; +option java_multiple_files = true; +option java_outer_classname = "ServiceNetworkingProto"; +option java_package = "com.google.cloud.aiplatform.v1beta1"; +option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; +option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; + +// Represents configuration for private service connect. +message PrivateServiceConnectConfig { + // Required. If true, expose the IndexEndpoint via private service connect. + bool enable_private_service_connect = 1 + [(google.api.field_behavior) = REQUIRED]; + + // A list of Projects from which the forwarding rule will target the service + // attachment. + repeated string project_allowlist = 2; +} diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/specialist_pool.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/specialist_pool.proto index 0e0fe0248173..1c57376cd0f0 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/specialist_pool.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/specialist_pool.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "SpecialistPoolProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto index 204e4de10993..01d037b812ef 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "SpecialistPoolServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/study.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/study.proto index 8d27d555bcd2..03a9cfb72ea2 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/study.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/study.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "StudyProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; @@ -199,6 +199,21 @@ message Trial { message StudySpec { // Represents a metric to optimize. message MetricSpec { + // Used in safe optimization to specify threshold levels and risk tolerance. + message SafetyMetricConfig { + // Safety threshold (boundary value between safe and unsafe). NOTE that if + // you leave SafetyMetricConfig unset, a default value of 0 will be used. + double safety_threshold = 1; + + // Desired minimum fraction of safe trials (over total number of trials) + // that should be targeted by the algorithm at any time during the + // study (best effort). This should be between 0.0 and 1.0 and a value of + // 0.0 means that there is no minimum and an algorithm proceeds without + // targeting any specific fraction. A value of 1.0 means that the + // algorithm attempts to only Suggest safe Trials. + optional double desired_min_safe_trials_fraction = 2; + } + // The available types of optimization goals. enum GoalType { // Goal Type will default to maximize. @@ -217,6 +232,10 @@ message StudySpec { // Required. The optimization goal of the metric. GoalType goal = 2 [(google.api.field_behavior) = REQUIRED]; + + // Used for safe search. In the case, the metric will be a safety + // metric. You must provide a separate metric for objective metric. + optional SafetyMetricConfig safety_config = 3; } // Represents a single parameter to optimize. diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard.proto index ef7d56470ab6..b4bb6897f408 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard.proto @@ -22,7 +22,7 @@ import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_data.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_data.proto index 90d883bf4f3d..7bdee1604878 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_data.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_data.proto @@ -21,7 +21,7 @@ import "google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardDataProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto index 01c6007753b9..d4f40a27e982 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardExperimentProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_run.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_run.proto index d13446ae341c..5239784a138e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_run.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_run.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardRunProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_service.proto index 955e050610f8..2a150320bec7 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_service.proto @@ -30,7 +30,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto index 22d01783d926..cc07a7bbe62e 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TensorboardTimeSeriesProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/training_pipeline.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/training_pipeline.proto index b5c09f0ce3b2..42ab55457ccb 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/training_pipeline.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/training_pipeline.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TrainingPipelineProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/types.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/types.proto index d62b772cf269..4f185561634f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/types.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/types.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "TypesProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto index 6e176608a89d..354dd926a09f 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1beta1/model.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "UnmanagedContainerModelProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/user_action_reference.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/user_action_reference.proto index 4ecf45989c94..dab68d4c917d 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/user_action_reference.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/user_action_reference.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "UserActionReferenceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/value.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/value.proto index 9468f580a2a6..0de95affe5a4 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/value.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/value.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "ValueProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vizier_service.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vizier_service.proto index 2967bfafa82f..6f2f0eac399c 100644 --- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vizier_service.proto +++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/vizier_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; +option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; option java_multiple_files = true; option java_outer_classname = "VizierServiceProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; diff --git a/java-analytics-admin/google-analytics-admin-bom/pom.xml b/java-analytics-admin/google-analytics-admin-bom/pom.xml index 6b71ee2781e6..a0c146765db1 100644 --- a/java-analytics-admin/google-analytics-admin-bom/pom.xml +++ b/java-analytics-admin/google-analytics-admin-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.analytics google-analytics-admin-bom - 0.19.0 + 0.20.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.analytics google-analytics-admin - 0.19.0 + 0.20.0 com.google.api.grpc grpc-google-analytics-admin-v1alpha - 0.19.0 + 0.20.0 com.google.api.grpc grpc-google-analytics-admin-v1beta - 0.19.0 + 0.20.0 com.google.api.grpc proto-google-analytics-admin-v1alpha - 0.19.0 + 0.20.0 com.google.api.grpc proto-google-analytics-admin-v1beta - 0.19.0 + 0.20.0
diff --git a/java-analytics-admin/google-analytics-admin/pom.xml b/java-analytics-admin/google-analytics-admin/pom.xml index 46f27276494c..5ec375d0da44 100644 --- a/java-analytics-admin/google-analytics-admin/pom.xml +++ b/java-analytics-admin/google-analytics-admin/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.analytics google-analytics-admin - 0.19.0 + 0.20.0 jar Google Analytics Admin allows you to manage Google Analytics accounts and properties. com.google.analytics google-analytics-admin-parent - 0.19.0 + 0.20.0 google-analytics-admin diff --git a/java-analytics-admin/grpc-google-analytics-admin-v1alpha/pom.xml b/java-analytics-admin/grpc-google-analytics-admin-v1alpha/pom.xml index a5178584bad3..eaa0317d5b73 100644 --- a/java-analytics-admin/grpc-google-analytics-admin-v1alpha/pom.xml +++ b/java-analytics-admin/grpc-google-analytics-admin-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-analytics-admin-v1alpha - 0.19.0 + 0.20.0 grpc-google-analytics-admin-v1alpha GRPC library for grpc-google-analytics-admin-v1alpha com.google.analytics google-analytics-admin-parent - 0.19.0 + 0.20.0 diff --git a/java-analytics-admin/grpc-google-analytics-admin-v1beta/pom.xml b/java-analytics-admin/grpc-google-analytics-admin-v1beta/pom.xml index 2a85c9b424b6..e37f4b589c32 100644 --- a/java-analytics-admin/grpc-google-analytics-admin-v1beta/pom.xml +++ b/java-analytics-admin/grpc-google-analytics-admin-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-analytics-admin-v1beta - 0.19.0 + 0.20.0 grpc-google-analytics-admin-v1beta GRPC library for google-analytics-admin com.google.analytics google-analytics-admin-parent - 0.19.0 + 0.20.0 diff --git a/java-analytics-admin/pom.xml b/java-analytics-admin/pom.xml index 4671f789c64a..fb58e5282cd4 100644 --- a/java-analytics-admin/pom.xml +++ b/java-analytics-admin/pom.xml @@ -4,7 +4,7 @@ com.google.analytics google-analytics-admin-parent pom - 0.19.0 + 0.20.0 Google Analytics Admin Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.analytics google-analytics-admin - 0.19.0 + 0.20.0 com.google.api.grpc proto-google-analytics-admin-v1beta - 0.19.0 + 0.20.0 com.google.api.grpc grpc-google-analytics-admin-v1beta - 0.19.0 + 0.20.0 com.google.api.grpc proto-google-analytics-admin-v1alpha - 0.19.0 + 0.20.0 com.google.api.grpc grpc-google-analytics-admin-v1alpha - 0.19.0 + 0.20.0 diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/pom.xml b/java-analytics-admin/proto-google-analytics-admin-v1alpha/pom.xml index 6960357b15cf..be76a8e87699 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1alpha/pom.xml +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-analytics-admin-v1alpha - 0.19.0 + 0.20.0 proto-google-analytics-admin-v1alpha PROTO library for proto-google-analytics-admin-v1alpha com.google.analytics google-analytics-admin-parent - 0.19.0 + 0.20.0 diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/pom.xml b/java-analytics-admin/proto-google-analytics-admin-v1beta/pom.xml index ac0d93ee63ce..a3d0725bb96f 100644 --- a/java-analytics-admin/proto-google-analytics-admin-v1beta/pom.xml +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-analytics-admin-v1beta - 0.19.0 + 0.20.0 proto-google-analytics-admin-v1beta Proto library for google-analytics-admin com.google.analytics google-analytics-admin-parent - 0.19.0 + 0.20.0 diff --git a/java-analytics-data/google-analytics-data-bom/pom.xml b/java-analytics-data/google-analytics-data-bom/pom.xml index 6f55dc95b068..a398200733cb 100644 --- a/java-analytics-data/google-analytics-data-bom/pom.xml +++ b/java-analytics-data/google-analytics-data-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.analytics google-analytics-data-bom - 0.20.0 + 0.21.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.analytics google-analytics-data - 0.20.0 + 0.21.0 com.google.api.grpc grpc-google-analytics-data-v1beta - 0.20.0 + 0.21.0 com.google.api.grpc grpc-google-analytics-data-v1alpha - 0.20.0 + 0.21.0 com.google.api.grpc proto-google-analytics-data-v1beta - 0.20.0 + 0.21.0 com.google.api.grpc proto-google-analytics-data-v1alpha - 0.20.0 + 0.21.0 diff --git a/java-analytics-data/google-analytics-data/pom.xml b/java-analytics-data/google-analytics-data/pom.xml index 212a02f315d2..d4f8a13c01e3 100644 --- a/java-analytics-data/google-analytics-data/pom.xml +++ b/java-analytics-data/google-analytics-data/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.analytics google-analytics-data - 0.20.0 + 0.21.0 jar Google Analytics Data provides programmatic methods to access report data in Google Analytics App+Web properties. com.google.analytics google-analytics-data-parent - 0.20.0 + 0.21.0 google-analytics-data diff --git a/java-analytics-data/grpc-google-analytics-data-v1alpha/pom.xml b/java-analytics-data/grpc-google-analytics-data-v1alpha/pom.xml index 6149e68ec13d..b06f81ac9475 100644 --- a/java-analytics-data/grpc-google-analytics-data-v1alpha/pom.xml +++ b/java-analytics-data/grpc-google-analytics-data-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-analytics-data-v1alpha - 0.20.0 + 0.21.0 grpc-google-analytics-data-v1alpha GRPC library for google-analytics-data com.google.analytics google-analytics-data-parent - 0.20.0 + 0.21.0 diff --git a/java-analytics-data/grpc-google-analytics-data-v1beta/pom.xml b/java-analytics-data/grpc-google-analytics-data-v1beta/pom.xml index eed0f284aa84..c7e8ac03e134 100644 --- a/java-analytics-data/grpc-google-analytics-data-v1beta/pom.xml +++ b/java-analytics-data/grpc-google-analytics-data-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-analytics-data-v1beta - 0.20.0 + 0.21.0 grpc-google-analytics-data-v1beta GRPC library for grpc-google-analytics-data-v1beta com.google.analytics google-analytics-data-parent - 0.20.0 + 0.21.0 diff --git a/java-analytics-data/pom.xml b/java-analytics-data/pom.xml index 85c1b286fc3c..84d948c90917 100644 --- a/java-analytics-data/pom.xml +++ b/java-analytics-data/pom.xml @@ -4,7 +4,7 @@ com.google.analytics google-analytics-data-parent pom - 0.20.0 + 0.21.0 Google Analytics Data Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.analytics google-analytics-data - 0.20.0 + 0.21.0 com.google.api.grpc proto-google-analytics-data-v1alpha - 0.20.0 + 0.21.0 com.google.api.grpc grpc-google-analytics-data-v1alpha - 0.20.0 + 0.21.0 com.google.api.grpc proto-google-analytics-data-v1beta - 0.20.0 + 0.21.0 com.google.api.grpc grpc-google-analytics-data-v1beta - 0.20.0 + 0.21.0 diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/pom.xml b/java-analytics-data/proto-google-analytics-data-v1alpha/pom.xml index 5b6ad80e707d..7aed0c035bef 100644 --- a/java-analytics-data/proto-google-analytics-data-v1alpha/pom.xml +++ b/java-analytics-data/proto-google-analytics-data-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-analytics-data-v1alpha - 0.20.0 + 0.21.0 proto-google-analytics-data-v1alpha Proto library for google-analytics-data com.google.analytics google-analytics-data-parent - 0.20.0 + 0.21.0 diff --git a/java-analytics-data/proto-google-analytics-data-v1beta/pom.xml b/java-analytics-data/proto-google-analytics-data-v1beta/pom.xml index 4113e7c08014..b415b694ac70 100644 --- a/java-analytics-data/proto-google-analytics-data-v1beta/pom.xml +++ b/java-analytics-data/proto-google-analytics-data-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-analytics-data-v1beta - 0.20.0 + 0.21.0 proto-google-analytics-data-v1beta PROTO library for proto-google-analytics-data-v1beta com.google.analytics google-analytics-data-parent - 0.20.0 + 0.21.0 diff --git a/java-analyticshub/README.md b/java-analyticshub/README.md index e8cc9bf75963..21cb16663f7f 100644 --- a/java-analyticshub/README.md +++ b/java-analyticshub/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-analyticshub - 0.5.0 + 0.6.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-analyticshub:0.5.0' +implementation 'com.google.cloud:google-cloud-analyticshub:0.6.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.6.0" ``` ## Authentication diff --git a/java-analyticshub/google-cloud-analyticshub-bom/pom.xml b/java-analyticshub/google-cloud-analyticshub-bom/pom.xml index 4a5377bcb484..f4b880e87a30 100644 --- a/java-analyticshub/google-cloud-analyticshub-bom/pom.xml +++ b/java-analyticshub/google-cloud-analyticshub-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-analyticshub-bom - 0.6.0 + 0.7.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-analyticshub - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-analyticshub-v1 - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-analyticshub-v1 - 0.6.0 + 0.7.0 diff --git a/java-analyticshub/google-cloud-analyticshub/pom.xml b/java-analyticshub/google-cloud-analyticshub/pom.xml index 55146e421bbe..015cbf8f31eb 100644 --- a/java-analyticshub/google-cloud-analyticshub/pom.xml +++ b/java-analyticshub/google-cloud-analyticshub/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-analyticshub - 0.6.0 + 0.7.0 jar Google Analytics Hub API Analytics Hub API TBD com.google.cloud google-cloud-analyticshub-parent - 0.6.0 + 0.7.0 google-cloud-analyticshub diff --git a/java-analyticshub/grpc-google-cloud-analyticshub-v1/pom.xml b/java-analyticshub/grpc-google-cloud-analyticshub-v1/pom.xml index 08e02690e89f..1cabfa80cbd7 100644 --- a/java-analyticshub/grpc-google-cloud-analyticshub-v1/pom.xml +++ b/java-analyticshub/grpc-google-cloud-analyticshub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-analyticshub-v1 - 0.6.0 + 0.7.0 grpc-google-cloud-analyticshub-v1 GRPC library for google-cloud-analyticshub com.google.cloud google-cloud-analyticshub-parent - 0.6.0 + 0.7.0 diff --git a/java-analyticshub/pom.xml b/java-analyticshub/pom.xml index 7257c6b073be..698d8423522c 100644 --- a/java-analyticshub/pom.xml +++ b/java-analyticshub/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-analyticshub-parent pom - 0.6.0 + 0.7.0 Google Analytics Hub API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-analyticshub - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-analyticshub-v1 - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-analyticshub-v1 - 0.6.0 + 0.7.0 diff --git a/java-analyticshub/proto-google-cloud-analyticshub-v1/pom.xml b/java-analyticshub/proto-google-cloud-analyticshub-v1/pom.xml index 4607d91e06c9..17970aec60d6 100644 --- a/java-analyticshub/proto-google-cloud-analyticshub-v1/pom.xml +++ b/java-analyticshub/proto-google-cloud-analyticshub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-analyticshub-v1 - 0.6.0 + 0.7.0 proto-google-cloud-analyticshub-v1 Proto library for google-cloud-analyticshub com.google.cloud google-cloud-analyticshub-parent - 0.6.0 + 0.7.0 diff --git a/java-analyticshub/proto-google-cloud-analyticshub-v1/src/main/java/com/google/cloud/bigquery/analyticshub/v1/AnalyticsHubProto.java b/java-analyticshub/proto-google-cloud-analyticshub-v1/src/main/java/com/google/cloud/bigquery/analyticshub/v1/AnalyticsHubProto.java index f11c659979c4..b6d04097f7ae 100644 --- a/java-analyticshub/proto-google-cloud-analyticshub-v1/src/main/java/com/google/cloud/bigquery/analyticshub/v1/AnalyticsHubProto.java +++ b/java-analyticshub/proto-google-cloud-analyticshub-v1/src/main/java/com/google/cloud/bigquery/analyticshub/v1/AnalyticsHubProto.java @@ -339,15 +339,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\312A\033analyticshub.googleapis.com\322AWhttps:/" + "/www.googleapis.com/auth/bigquery,https:" + "//www.googleapis.com/auth/cloud-platform" - + "B\332\002\n)com.google.cloud.bigquery.analytics" - + "hub.v1B\021AnalyticsHubProtoP\001ZQgoogle.gola" - + "ng.org/genproto/googleapis/cloud/bigquer" - + "y/analyticshub/v1;analyticshub\252\002%Google." - + "Cloud.BigQuery.AnalyticsHub.V1\312\002%Google\\" - + "Cloud\\BigQuery\\AnalyticsHub\\V1\352\002)Google:" - + ":Cloud::Bigquery::AnalyticsHub::V1\352AH\n\037b" - + "igquery.googleapis.com/Dataset\022%projects" - + "/{project}/datasets/{dataset}b\006proto3" + + "B\326\002\n)com.google.cloud.bigquery.analytics" + + "hub.v1B\021AnalyticsHubProtoP\001ZMcloud.googl" + + "e.com/go/bigquery/analyticshub/apiv1/ana" + + "lyticshubpb;analyticshubpb\252\002%Google.Clou" + + "d.BigQuery.AnalyticsHub.V1\312\002%Google\\Clou" + + "d\\BigQuery\\AnalyticsHub\\V1\352\002)Google::Clo" + + "ud::Bigquery::AnalyticsHub::V1\352AH\n\037bigqu" + + "ery.googleapis.com/Dataset\022%projects/{pr" + + "oject}/datasets/{dataset}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-analyticshub/proto-google-cloud-analyticshub-v1/src/main/proto/google/cloud/bigquery/analyticshub/v1/analyticshub.proto b/java-analyticshub/proto-google-cloud-analyticshub-v1/src/main/proto/google/cloud/bigquery/analyticshub/v1/analyticshub.proto index 7adf65844432..bd1882a69cb0 100644 --- a/java-analyticshub/proto-google-cloud-analyticshub-v1/src/main/proto/google/cloud/bigquery/analyticshub/v1/analyticshub.proto +++ b/java-analyticshub/proto-google-cloud-analyticshub-v1/src/main/proto/google/cloud/bigquery/analyticshub/v1/analyticshub.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.BigQuery.AnalyticsHub.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/analyticshub/v1;analyticshub"; +option go_package = "cloud.google.com/go/bigquery/analyticshub/apiv1/analyticshubpb;analyticshubpb"; option java_multiple_files = true; option java_outer_classname = "AnalyticsHubProto"; option java_package = "com.google.cloud.bigquery.analyticshub.v1"; diff --git a/java-api-gateway/README.md b/java-api-gateway/README.md index a883e30da08f..7d9a8258fc76 100644 --- a/java-api-gateway/README.md +++ b/java-api-gateway/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-api-gateway - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-api-gateway:2.8.0' +implementation 'com.google.cloud:google-cloud-api-gateway:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.9.0" ``` ## Authentication diff --git a/java-api-gateway/google-cloud-api-gateway-bom/pom.xml b/java-api-gateway/google-cloud-api-gateway-bom/pom.xml index a23a3d6af932..92395df198bb 100644 --- a/java-api-gateway/google-cloud-api-gateway-bom/pom.xml +++ b/java-api-gateway/google-cloud-api-gateway-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-api-gateway-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-api-gateway - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-api-gateway-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-api-gateway-v1 - 2.9.0 + 2.10.0 diff --git a/java-api-gateway/google-cloud-api-gateway/pom.xml b/java-api-gateway/google-cloud-api-gateway/pom.xml index dbdf07a36d22..3242c82392e8 100644 --- a/java-api-gateway/google-cloud-api-gateway/pom.xml +++ b/java-api-gateway/google-cloud-api-gateway/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-api-gateway - 2.9.0 + 2.10.0 jar Google API Gateway API Gateway enables you to provide secure access to your backend services through a well-defined REST API that is consistent across all of your services, regardless of the service implementation. Clients consume your REST APIS to implement standalone apps for a mobile device or tablet, through apps running in a browser, or through any other type of app that can make a request to an HTTP endpoint. com.google.cloud google-cloud-api-gateway-parent - 2.9.0 + 2.10.0 google-cloud-api-gateway diff --git a/java-api-gateway/grpc-google-cloud-api-gateway-v1/pom.xml b/java-api-gateway/grpc-google-cloud-api-gateway-v1/pom.xml index 75657648947f..bc0646ec6c6d 100644 --- a/java-api-gateway/grpc-google-cloud-api-gateway-v1/pom.xml +++ b/java-api-gateway/grpc-google-cloud-api-gateway-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-api-gateway-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-api-gateway-v1 GRPC library for google-cloud-api-gateway com.google.cloud google-cloud-api-gateway-parent - 2.9.0 + 2.10.0 diff --git a/java-api-gateway/pom.xml b/java-api-gateway/pom.xml index b5c20edf922e..0b641b42da1b 100644 --- a/java-api-gateway/pom.xml +++ b/java-api-gateway/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-api-gateway-parent pom - 2.9.0 + 2.10.0 Google API Gateway Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-api-gateway - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-api-gateway-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-api-gateway-v1 - 2.9.0 + 2.10.0 diff --git a/java-api-gateway/proto-google-cloud-api-gateway-v1/pom.xml b/java-api-gateway/proto-google-cloud-api-gateway-v1/pom.xml index d86f622ede70..232009479f86 100644 --- a/java-api-gateway/proto-google-cloud-api-gateway-v1/pom.xml +++ b/java-api-gateway/proto-google-cloud-api-gateway-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-api-gateway-v1 - 2.9.0 + 2.10.0 proto-google-cloud-api-gateway-v1 Proto library for google-cloud-api-gateway com.google.cloud google-cloud-api-gateway-parent - 2.9.0 + 2.10.0 diff --git a/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Apigateway.java b/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Apigateway.java index 9d43a8e26b11..aa58502a3dea 100644 --- a/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Apigateway.java +++ b/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Apigateway.java @@ -288,19 +288,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ersion\030\007 \001(\tB\003\340A\003\022R\n\013diagnostics\030\010 \003(\01328" + ".google.cloud.apigateway.v1.OperationMet" + "adata.DiagnosticB\003\340A\003\032/\n\nDiagnostic\022\020\n\010l" - + "ocation\030\001 \001(\t\022\017\n\007message\030\002 \001(\tB\270\003\n\036com.g" - + "oogle.cloud.apigateway.v1P\001ZDgoogle.gola" - + "ng.org/genproto/googleapis/cloud/apigate" - + "way/v1;apigateway\252\002\032Google.Cloud.ApiGate" - + "way.V1\312\002\032Google\\Cloud\\ApiGateway\\V1\352\002\035Go" - + "ogle::Cloud::ApiGateway::V1\352AY\n!iam.goog" - + "leapis.com/ServiceAccount\0224projects/{pro" - + "ject}/serviceAccounts/{service_account}\352" - + "AE\n/servicemanagement.googleapis.com/Man" - + "agedService\022\022services/{service}\352AO\n(serv" - + "icemanagement.googleapis.com/Service\022#se" - + "rvices/{service}/configs/{config}b\006proto" - + "3" + + "ocation\030\001 \001(\t\022\017\n\007message\030\002 \001(\tB\262\003\n\036com.g" + + "oogle.cloud.apigateway.v1P\001Z>cloud.googl" + + "e.com/go/apigateway/apiv1/apigatewaypb;a" + + "pigatewaypb\252\002\032Google.Cloud.ApiGateway.V1" + + "\312\002\032Google\\Cloud\\ApiGateway\\V1\352\002\035Google::" + + "Cloud::ApiGateway::V1\352AY\n!iam.googleapis" + + ".com/ServiceAccount\0224projects/{project}/" + + "serviceAccounts/{service_account}\352AE\n/se" + + "rvicemanagement.googleapis.com/ManagedSe" + + "rvice\022\022services/{service}\352AO\n(serviceman" + + "agement.googleapis.com/Service\022#services" + + "/{service}/configs/{config}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApigatewayService.java b/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApigatewayService.java index e9eea3589c6c..bcb7dec0cef2 100644 --- a/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApigatewayService.java +++ b/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApigatewayService.java @@ -116,12 +116,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "configs/*}\332A\004name\312A*\n\025google.protobuf.Em" + "pty\022\021OperationMetadata\032M\312A\031apigateway.go" + "ogleapis.com\322A.https://www.googleapis.co" - + "m/auth/cloud-platformB\302\001\n\036com.google.clo" - + "ud.apigateway.v1P\001ZDgoogle.golang.org/ge" - + "nproto/googleapis/cloud/apigateway/v1;ap" - + "igateway\252\002\032Google.Cloud.ApiGateway.V1\312\002\032" - + "Google\\Cloud\\ApiGateway\\V1\352\002\035Google::Clo" - + "ud::ApiGateway::V1b\006proto3" + + "m/auth/cloud-platformB\274\001\n\036com.google.clo" + + "ud.apigateway.v1P\001Z>cloud.google.com/go/" + + "apigateway/apiv1/apigatewaypb;apigateway" + + "pb\252\002\032Google.Cloud.ApiGateway.V1\312\002\032Google" + + "\\Cloud\\ApiGateway\\V1\352\002\035Google::Cloud::Ap" + + "iGateway::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/proto/google/cloud/apigateway/v1/apigateway.proto b/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/proto/google/cloud/apigateway/v1/apigateway.proto index d1dccc740b6b..436435b2081b 100644 --- a/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/proto/google/cloud/apigateway/v1/apigateway.proto +++ b/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/proto/google/cloud/apigateway/v1/apigateway.proto @@ -22,7 +22,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ApiGateway.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigateway/v1;apigateway"; +option go_package = "cloud.google.com/go/apigateway/apiv1/apigatewaypb;apigatewaypb"; option java_multiple_files = true; option java_package = "com.google.cloud.apigateway.v1"; option php_namespace = "Google\\Cloud\\ApiGateway\\V1"; diff --git a/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/proto/google/cloud/apigateway/v1/apigateway_service.proto b/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/proto/google/cloud/apigateway/v1/apigateway_service.proto index 0738d7081bfd..84d8b2a9eb18 100644 --- a/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/proto/google/cloud/apigateway/v1/apigateway_service.proto +++ b/java-api-gateway/proto-google-cloud-api-gateway-v1/src/main/proto/google/cloud/apigateway/v1/apigateway_service.proto @@ -22,7 +22,7 @@ import "google/cloud/apigateway/v1/apigateway.proto"; import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.ApiGateway.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigateway/v1;apigateway"; +option go_package = "cloud.google.com/go/apigateway/apiv1/apigatewaypb;apigatewaypb"; option java_multiple_files = true; option java_package = "com.google.cloud.apigateway.v1"; option php_namespace = "Google\\Cloud\\ApiGateway\\V1"; diff --git a/java-apigee-connect/README.md b/java-apigee-connect/README.md index b20ff1a41efc..6e12597fd753 100644 --- a/java-apigee-connect/README.md +++ b/java-apigee-connect/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-apigee-connect - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apigee-connect:2.8.0' +implementation 'com.google.cloud:google-cloud-apigee-connect:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.9.0" ``` ## Authentication diff --git a/java-apigee-connect/google-cloud-apigee-connect-bom/pom.xml b/java-apigee-connect/google-cloud-apigee-connect-bom/pom.xml index 5cec1f97685e..6c0c8130ac99 100644 --- a/java-apigee-connect/google-cloud-apigee-connect-bom/pom.xml +++ b/java-apigee-connect/google-cloud-apigee-connect-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-apigee-connect-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-apigee-connect - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-apigee-connect-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-apigee-connect-v1 - 2.9.0 + 2.10.0 diff --git a/java-apigee-connect/google-cloud-apigee-connect/pom.xml b/java-apigee-connect/google-cloud-apigee-connect/pom.xml index 77b7b26a07d0..d52c4b5727be 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/pom.xml +++ b/java-apigee-connect/google-cloud-apigee-connect/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-apigee-connect - 2.9.0 + 2.10.0 jar Google Apigee Connect Apigee Connect allows the Apigee hybrid management plane to connect securely to the MART service in the runtime plane without requiring you to expose the MART endpoint on the internet. com.google.cloud google-cloud-apigee-connect-parent - 2.9.0 + 2.10.0 google-cloud-apigee-connect diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherClient.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherClient.java index d2ea6bb5d405..e376843051fd 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherClient.java +++ b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherClient.java @@ -111,19 +111,6 @@ * TetherClient tetherClient = TetherClient.create(tetherSettings); * } * - *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over - * the wire: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * TetherSettings tetherSettings = TetherSettings.newHttpJsonBuilder().build();
- * TetherClient tetherClient = TetherClient.create(tetherSettings);
- * }
- * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherSettings.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherSettings.java index 093d65d7d6a5..8e79becdaa75 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherSettings.java +++ b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/TetherSettings.java @@ -21,7 +21,6 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; @@ -106,13 +105,6 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi return TetherStubSettings.defaultGrpcTransportProviderBuilder(); } - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return TetherStubSettings.defaultHttpJsonTransportProviderBuilder(); - } - public static TransportChannelProvider defaultTransportChannelProvider() { return TetherStubSettings.defaultTransportChannelProvider(); } @@ -127,12 +119,6 @@ public static Builder newBuilder() { return Builder.createDefault(); } - /** Returns a new REST builder for this class. */ - @BetaApi - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -170,11 +156,6 @@ private static Builder createDefault() { return new Builder(TetherStubSettings.newBuilder()); } - @BetaApi - private static Builder createHttpJsonDefault() { - return new Builder(TetherStubSettings.newHttpJsonBuilder()); - } - public TetherStubSettings.Builder getStubSettingsBuilder() { return ((TetherStubSettings.Builder) getStubSettings()); } diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/HttpJsonTetherStub.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/HttpJsonTetherStub.java deleted file mode 100644 index 27a4feef1978..000000000000 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/HttpJsonTetherStub.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2022 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.apigeeconnect.v1.stub; - -import com.google.api.core.BetaApi; -import com.google.api.core.InternalApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.httpjson.ApiMethodDescriptor; -import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; -import com.google.api.gax.rpc.BidiStreamingCallable; -import com.google.api.gax.rpc.ClientContext; -import com.google.cloud.apigeeconnect.v1.EgressRequest; -import com.google.cloud.apigeeconnect.v1.EgressResponse; -import com.google.protobuf.TypeRegistry; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * REST stub implementation for the Tether service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@Generated("by gapic-generator-java") -@BetaApi -public class HttpJsonTetherStub extends TetherStub { - private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); - - private final BackgroundResource backgroundResources; - private final HttpJsonStubCallableFactory callableFactory; - - public static final HttpJsonTetherStub create(TetherStubSettings settings) throws IOException { - return new HttpJsonTetherStub(settings, ClientContext.create(settings)); - } - - public static final HttpJsonTetherStub create(ClientContext clientContext) throws IOException { - return new HttpJsonTetherStub(TetherStubSettings.newHttpJsonBuilder().build(), clientContext); - } - - public static final HttpJsonTetherStub create( - ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { - return new HttpJsonTetherStub( - TetherStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); - } - - /** - * Constructs an instance of HttpJsonTetherStub, using the given settings. This is protected so - * that it is easy to make a subclass, but otherwise, the static factory methods should be - * preferred. - */ - protected HttpJsonTetherStub(TetherStubSettings settings, ClientContext clientContext) - throws IOException { - this(settings, clientContext, new HttpJsonTetherCallableFactory()); - } - - /** - * Constructs an instance of HttpJsonTetherStub, using the given settings. This is protected so - * that it is easy to make a subclass, but otherwise, the static factory methods should be - * preferred. - */ - protected HttpJsonTetherStub( - TetherStubSettings settings, - ClientContext clientContext, - HttpJsonStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - @InternalApi - public static List getMethodDescriptors() { - List methodDescriptors = new ArrayList<>(); - return methodDescriptors; - } - - @Override - public BidiStreamingCallable egressCallable() { - throw new UnsupportedOperationException( - "Not implemented: egressCallable(). REST transport is not implemented for this method yet."); - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java index f62a68e91a13..3a926ba150d1 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java +++ b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/TetherStubSettings.java @@ -24,9 +24,6 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.httpjson.GaxHttpJsonProperties; -import com.google.api.gax.httpjson.HttpJsonTransportChannel; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; @@ -100,11 +97,6 @@ public TetherStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcTetherStub.create(this); } - if (getTransportChannelProvider() - .getTransportName() - .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { - return HttpJsonTetherStub.create(this); - } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -143,13 +135,6 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi .setMaxInboundMessageSize(Integer.MAX_VALUE); } - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return InstantiatingHttpJsonChannelProvider.newBuilder(); - } - public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @@ -162,15 +147,6 @@ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProvider GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(TetherStubSettings.class)) - .setTransportToken( - GaxHttpJsonProperties.getHttpJsonTokenName(), - GaxHttpJsonProperties.getHttpJsonVersion()); - } - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return TetherStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); } @@ -180,11 +156,6 @@ public static Builder newBuilder() { return Builder.createDefault(); } - /** Returns a new REST builder for this class. */ - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -259,19 +230,6 @@ private static Builder createDefault() { return initDefaults(builder); } - private static Builder createHttpJsonDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - private static Builder initDefaults(Builder builder) { return builder; } diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/test/java/com/google/cloud/apigeeconnect/v1/TetherClientHttpJsonTest.java b/java-apigee-connect/google-cloud-apigee-connect/src/test/java/com/google/cloud/apigeeconnect/v1/TetherClientHttpJsonTest.java deleted file mode 100644 index eff7640e24bb..000000000000 --- a/java-apigee-connect/google-cloud-apigee-connect/src/test/java/com/google/cloud/apigeeconnect/v1/TetherClientHttpJsonTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2022 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.apigeeconnect.v1; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.httpjson.testing.MockHttpService; -import com.google.cloud.apigeeconnect.v1.stub.HttpJsonTetherStub; -import java.io.IOException; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class TetherClientHttpJsonTest { - private static MockHttpService mockService; - private static TetherClient client; - - @BeforeClass - public static void startStaticServer() throws IOException { - mockService = - new MockHttpService( - HttpJsonTetherStub.getMethodDescriptors(), TetherSettings.getDefaultEndpoint()); - TetherSettings settings = - TetherSettings.newHttpJsonBuilder() - .setTransportChannelProvider( - TetherSettings.defaultHttpJsonTransportProviderBuilder() - .setHttpTransport(mockService) - .build()) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = TetherClient.create(settings); - } - - @AfterClass - public static void stopServer() { - client.close(); - } - - @Before - public void setUp() {} - - @After - public void tearDown() throws Exception { - mockService.reset(); - } - - @Test - public void egressUnsupportedMethodTest() throws Exception { - // The egress() method is not supported in REST transport. - // This empty test is generated for technical reasons. - } -} diff --git a/java-apigee-connect/grpc-google-cloud-apigee-connect-v1/pom.xml b/java-apigee-connect/grpc-google-cloud-apigee-connect-v1/pom.xml index f05290d7f5fd..96dd93e0ea86 100644 --- a/java-apigee-connect/grpc-google-cloud-apigee-connect-v1/pom.xml +++ b/java-apigee-connect/grpc-google-cloud-apigee-connect-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-apigee-connect-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-apigee-connect-v1 GRPC library for google-cloud-apigee-connect com.google.cloud google-cloud-apigee-connect-parent - 2.9.0 + 2.10.0 diff --git a/java-apigee-connect/pom.xml b/java-apigee-connect/pom.xml index 95147932e40d..df796371593e 100644 --- a/java-apigee-connect/pom.xml +++ b/java-apigee-connect/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-apigee-connect-parent pom - 2.9.0 + 2.10.0 Google Apigee Connect Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-apigee-connect - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-apigee-connect-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-apigee-connect-v1 - 2.9.0 + 2.10.0 diff --git a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/pom.xml b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/pom.xml index dcd20a8772e1..6deca521af49 100644 --- a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/pom.xml +++ b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-apigee-connect-v1 - 2.9.0 + 2.10.0 proto-google-cloud-apigee-connect-v1 Proto library for google-cloud-apigee-connect com.google.cloud google-cloud-apigee-connect-parent - 2.9.0 + 2.10.0 diff --git a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionProto.java b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionProto.java index 64e1ca9b366b..da84c172b37c 100644 --- a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionProto.java +++ b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionProto.java @@ -74,15 +74,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rent=projects/*/endpoints/*}/connections" + "\332A\006parent\032P\312A\034apigeeconnect.googleapis.c" + "om\322A.https://www.googleapis.com/auth/clo" - + "ud-platformB\270\002\n!com.google.cloud.apigeec" - + "onnect.v1B\017ConnectionProtoP\001ZJgoogle.gol" - + "ang.org/genproto/googleapis/cloud/apigee" - + "connect/v1;apigeeconnect\252\002\035Google.Cloud." - + "ApigeeConnect.V1\312\002\035Google\\Cloud\\ApigeeCo" - + "nnect\\V1\352\002 Google::Cloud::ApigeeConnect:" - + ":V1\352AP\n%apigeeconnect.googleapis.com/End" - + "point\022\'projects/{project}/endpoints/{end" - + "point}b\006proto3" + + "ud-platformB\265\002\n!com.google.cloud.apigeec" + + "onnect.v1B\017ConnectionProtoP\001ZGcloud.goog" + + "le.com/go/apigeeconnect/apiv1/apigeeconn" + + "ectpb;apigeeconnectpb\252\002\035Google.Cloud.Api" + + "geeConnect.V1\312\002\035Google\\Cloud\\ApigeeConne" + + "ct\\V1\352\002 Google::Cloud::ApigeeConnect::V1" + + "\352AP\n%apigeeconnect.googleapis.com/Endpoi" + + "nt\022\'projects/{project}/endpoints/{endpoi" + + "nt}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/java/com/google/cloud/apigeeconnect/v1/TetherProto.java b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/java/com/google/cloud/apigeeconnect/v1/TetherProto.java index 881c12733e47..56b8c40e1a96 100644 --- a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/java/com/google/cloud/apigeeconnect/v1/TetherProto.java +++ b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/java/com/google/cloud/apigeeconnect/v1/TetherProto.java @@ -111,13 +111,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "sponse\032,.google.cloud.apigeeconnect.v1.E" + "gressRequest\"\000(\0010\001\032P\312A\034apigeeconnect.goo" + "gleapis.com\322A.https://www.googleapis.com" - + "/auth/cloud-platformB\341\001\n!com.google.clou" - + "d.apigeeconnect.v1B\013TetherProtoP\001ZJgoogl" - + "e.golang.org/genproto/googleapis/cloud/a" - + "pigeeconnect/v1;apigeeconnect\252\002\035Google.C" - + "loud.ApigeeConnect.V1\312\002\035Google\\Cloud\\Api" - + "geeConnect\\V1\352\002 Google::Cloud::ApigeeCon" - + "nect::V1b\006proto3" + + "/auth/cloud-platformB\336\001\n!com.google.clou" + + "d.apigeeconnect.v1B\013TetherProtoP\001ZGcloud" + + ".google.com/go/apigeeconnect/apiv1/apige" + + "econnectpb;apigeeconnectpb\252\002\035Google.Clou" + + "d.ApigeeConnect.V1\312\002\035Google\\Cloud\\Apigee" + + "Connect\\V1\352\002 Google::Cloud::ApigeeConnec" + + "t::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/proto/google/cloud/apigeeconnect/v1/connection.proto b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/proto/google/cloud/apigeeconnect/v1/connection.proto index 021ae3b26d19..5800b36ec650 100644 --- a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/proto/google/cloud/apigeeconnect/v1/connection.proto +++ b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/proto/google/cloud/apigeeconnect/v1/connection.proto @@ -22,7 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.ApigeeConnect.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeconnect/v1;apigeeconnect"; +option go_package = "cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb;apigeeconnectpb"; option java_multiple_files = true; option java_outer_classname = "ConnectionProto"; option java_package = "com.google.cloud.apigeeconnect.v1"; diff --git a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/proto/google/cloud/apigeeconnect/v1/tether.proto b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/proto/google/cloud/apigeeconnect/v1/tether.proto index 8cd4eccb87b1..abd36c822007 100644 --- a/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/proto/google/cloud/apigeeconnect/v1/tether.proto +++ b/java-apigee-connect/proto-google-cloud-apigee-connect-v1/src/main/proto/google/cloud/apigeeconnect/v1/tether.proto @@ -21,7 +21,7 @@ import "google/rpc/status.proto"; import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.ApigeeConnect.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeconnect/v1;apigeeconnect"; +option go_package = "cloud.google.com/go/apigeeconnect/apiv1/apigeeconnectpb;apigeeconnectpb"; option java_multiple_files = true; option java_outer_classname = "TetherProto"; option java_package = "com.google.cloud.apigeeconnect.v1"; diff --git a/java-apigee-registry/README.md b/java-apigee-registry/README.md index 5218343de880..b75586cbfe5d 100644 --- a/java-apigee-registry/README.md +++ b/java-apigee-registry/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-apigee-registry - 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-apigee-registry:0.8.0' +implementation 'com.google.cloud:google-cloud-apigee-registry:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "0.9.0" ``` ## Authentication diff --git a/java-apigee-registry/google-cloud-apigee-registry-bom/pom.xml b/java-apigee-registry/google-cloud-apigee-registry-bom/pom.xml index 593362f48dd0..0095b0f96322 100644 --- a/java-apigee-registry/google-cloud-apigee-registry-bom/pom.xml +++ b/java-apigee-registry/google-cloud-apigee-registry-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-apigee-registry-bom - 0.9.0 + 0.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-apigee-registry - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-apigee-registry-v1 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-apigee-registry-v1 - 0.9.0 + 0.10.0 diff --git a/java-apigee-registry/google-cloud-apigee-registry/pom.xml b/java-apigee-registry/google-cloud-apigee-registry/pom.xml index ea6f226088c9..d95223c9b7a1 100644 --- a/java-apigee-registry/google-cloud-apigee-registry/pom.xml +++ b/java-apigee-registry/google-cloud-apigee-registry/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-apigee-registry - 0.9.0 + 0.10.0 jar Google Registry API Registry API allows teams to upload and share machine-readable descriptions of APIs that are in use and in development. com.google.cloud google-cloud-apigee-registry-parent - 0.9.0 + 0.10.0 google-cloud-apigee-registry diff --git a/java-apigee-registry/grpc-google-cloud-apigee-registry-v1/pom.xml b/java-apigee-registry/grpc-google-cloud-apigee-registry-v1/pom.xml index e1e4f217cccb..914b1fcc565b 100644 --- a/java-apigee-registry/grpc-google-cloud-apigee-registry-v1/pom.xml +++ b/java-apigee-registry/grpc-google-cloud-apigee-registry-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-apigee-registry-v1 - 0.9.0 + 0.10.0 grpc-google-cloud-apigee-registry-v1 GRPC library for google-cloud-apigee-registry com.google.cloud google-cloud-apigee-registry-parent - 0.9.0 + 0.10.0 diff --git a/java-apigee-registry/pom.xml b/java-apigee-registry/pom.xml index dd7330e11b53..5580fce2e902 100644 --- a/java-apigee-registry/pom.xml +++ b/java-apigee-registry/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-apigee-registry-parent pom - 0.9.0 + 0.10.0 Google Registry API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-apigee-registry - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-apigee-registry-v1 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-apigee-registry-v1 - 0.9.0 + 0.10.0 diff --git a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/pom.xml b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/pom.xml index f9d9afe26598..3f24ae44aa71 100644 --- a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/pom.xml +++ b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-apigee-registry-v1 - 0.9.0 + 0.10.0 proto-google-cloud-apigee-registry-v1 Proto library for google-cloud-apigee-registry com.google.cloud google-cloud-apigee-registry-parent - 0.9.0 + 0.10.0 diff --git a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java index 847df512e9c7..4558302dabe5 100644 --- a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java +++ b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java @@ -113,13 +113,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "<\202\323\344\223\002/\022-/v1/{name=projects/*/locations/" + "*/instances/*}\332A\004name\032Q\312A\035apigeeregistry" + ".googleapis.com\322A.https://www.googleapis" - + ".com/auth/cloud-platformB\364\001\n\"com.google." + + ".com/auth/cloud-platformB\362\001\n\"com.google." + "cloud.apigeeregistry.v1B\030ProvisioningSer" - + "viceProtoP\001ZLgoogle.golang.org/genproto/" - + "googleapis/cloud/apigeeregistry/v1;apige" - + "eregistry\252\002\036Google.Cloud.ApigeeRegistry." - + "V1\312\002\036Google\\Cloud\\ApigeeRegistry\\V1\352\002!Go" - + "ogle::Cloud::ApigeeRegistry::V1b\006proto3" + + "viceProtoP\001ZJcloud.google.com/go/apigeer" + + "egistry/apiv1/apigeeregistrypb;apigeereg" + + "istrypb\252\002\036Google.Cloud.ApigeeRegistry.V1" + + "\312\002\036Google\\Cloud\\ApigeeRegistry\\V1\352\002!Goog" + + "le::Cloud::ApigeeRegistry::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryModelsProto.java b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryModelsProto.java index 7af78680ed2e..f59b8b8a54e1 100644 --- a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryModelsProto.java +++ b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryModelsProto.java @@ -181,13 +181,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/{spec}/artifacts/{artifact}\022`projects/" + "{project}/locations/{location}/apis/{api" + "}/deployments/{deployment}/artifacts/{ar" - + "tifact}B\357\001\n\"com.google.cloud.apigeeregis" - + "try.v1B\023RegistryModelsProtoP\001ZLgoogle.go" - + "lang.org/genproto/googleapis/cloud/apige" - + "eregistry/v1;apigeeregistry\252\002\036Google.Clo" - + "ud.ApigeeRegistry.V1\312\002\036Google\\Cloud\\Apig" - + "eeRegistry\\V1\352\002!Google::Cloud::ApigeeReg" - + "istry::V1b\006proto3" + + "tifact}B\355\001\n\"com.google.cloud.apigeeregis" + + "try.v1B\023RegistryModelsProtoP\001ZJcloud.goo" + + "gle.com/go/apigeeregistry/apiv1/apigeere" + + "gistrypb;apigeeregistrypb\252\002\036Google.Cloud" + + ".ApigeeRegistry.V1\312\002\036Google\\Cloud\\Apigee" + + "Registry\\V1\352\002!Google::Cloud::ApigeeRegis" + + "try::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryServiceProto.java b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryServiceProto.java index ecc7bcbb8de2..a9bf8ab89a07 100644 --- a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryServiceProto.java +++ b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryServiceProto.java @@ -566,13 +566,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/*/apis/*/deployments/*/artifacts/*}\332A\004" + "name\032Q\312A\035apigeeregistry.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\360\001\n\"com.google.cloud.apigeeregis" - + "try.v1B\024RegistryServiceProtoP\001ZLgoogle.g" - + "olang.org/genproto/googleapis/cloud/apig" - + "eeregistry/v1;apigeeregistry\252\002\036Google.Cl" - + "oud.ApigeeRegistry.V1\312\002\036Google\\Cloud\\Api" - + "geeRegistry\\V1\352\002!Google::Cloud::ApigeeRe" - + "gistry::V1b\006proto3" + + "latformB\356\001\n\"com.google.cloud.apigeeregis" + + "try.v1B\024RegistryServiceProtoP\001ZJcloud.go" + + "ogle.com/go/apigeeregistry/apiv1/apigeer" + + "egistrypb;apigeeregistrypb\252\002\036Google.Clou" + + "d.ApigeeRegistry.V1\312\002\036Google\\Cloud\\Apige" + + "eRegistry\\V1\352\002!Google::Cloud::ApigeeRegi" + + "stry::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto index 9e7baee5866a..cca6753c6bc8 100644 --- a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto +++ b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ApigeeRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeregistry/v1;apigeeregistry"; +option go_package = "cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb"; option java_multiple_files = true; option java_outer_classname = "ProvisioningServiceProto"; option java_package = "com.google.cloud.apigeeregistry.v1"; diff --git a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto index 8411f9ecf7ff..a1c29b4d5b94 100644 --- a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto +++ b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ApigeeRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeregistry/v1;apigeeregistry"; +option go_package = "cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb"; option java_multiple_files = true; option java_outer_classname = "RegistryModelsProto"; option java_package = "com.google.cloud.apigeeregistry.v1"; diff --git a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto index 1eec64e8b8f2..041796be41f7 100644 --- a/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto +++ b/java-apigee-registry/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto @@ -26,7 +26,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.ApigeeRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeregistry/v1;apigeeregistry"; +option go_package = "cloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb"; option java_multiple_files = true; option java_outer_classname = "RegistryServiceProto"; option java_package = "com.google.cloud.apigeeregistry.v1"; diff --git a/java-apikeys/google-cloud-apikeys-bom/pom.xml b/java-apikeys/google-cloud-apikeys-bom/pom.xml index a95ee65720d7..e2b31fff927a 100644 --- a/java-apikeys/google-cloud-apikeys-bom/pom.xml +++ b/java-apikeys/google-cloud-apikeys-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-apikeys-bom - 0.7.0 + 0.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-apikeys - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-apikeys-v2 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-apikeys-v2 - 0.7.0 + 0.8.0 diff --git a/java-apikeys/google-cloud-apikeys/pom.xml b/java-apikeys/google-cloud-apikeys/pom.xml index ec3ee860f561..132bbb74c017 100644 --- a/java-apikeys/google-cloud-apikeys/pom.xml +++ b/java-apikeys/google-cloud-apikeys/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-apikeys - 0.7.0 + 0.8.0 jar Google API Keys API API Keys API API Keys lets you create and manage your API keys for your projects. com.google.cloud google-cloud-apikeys-parent - 0.7.0 + 0.8.0 google-cloud-apikeys diff --git a/java-apikeys/grpc-google-cloud-apikeys-v2/pom.xml b/java-apikeys/grpc-google-cloud-apikeys-v2/pom.xml index ad8423a4735d..f75664c12936 100644 --- a/java-apikeys/grpc-google-cloud-apikeys-v2/pom.xml +++ b/java-apikeys/grpc-google-cloud-apikeys-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-apikeys-v2 - 0.7.0 + 0.8.0 grpc-google-cloud-apikeys-v2 GRPC library for google-cloud-apikeys com.google.cloud google-cloud-apikeys-parent - 0.7.0 + 0.8.0 diff --git a/java-apikeys/pom.xml b/java-apikeys/pom.xml index 4f9f79d151a0..c4aac90219ff 100644 --- a/java-apikeys/pom.xml +++ b/java-apikeys/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-apikeys-parent pom - 0.7.0 + 0.8.0 Google API Keys API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-apikeys - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-apikeys-v2 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-apikeys-v2 - 0.7.0 + 0.8.0 diff --git a/java-apikeys/proto-google-cloud-apikeys-v2/pom.xml b/java-apikeys/proto-google-cloud-apikeys-v2/pom.xml index 38bafdbb7219..386bf1d3a6ba 100644 --- a/java-apikeys/proto-google-cloud-apikeys-v2/pom.xml +++ b/java-apikeys/proto-google-cloud-apikeys-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-apikeys-v2 - 0.7.0 + 0.8.0 proto-google-cloud-apikeys-v2 Proto library for google-cloud-apikeys com.google.cloud google-cloud-apikeys-parent - 0.7.0 + 0.8.0 diff --git a/java-appengine-admin/google-cloud-appengine-admin-bom/pom.xml b/java-appengine-admin/google-cloud-appengine-admin-bom/pom.xml index b8a8b5321e2b..613b54602fe9 100644 --- a/java-appengine-admin/google-cloud-appengine-admin-bom/pom.xml +++ b/java-appengine-admin/google-cloud-appengine-admin-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-appengine-admin-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-appengine-admin - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-appengine-admin-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-appengine-admin-v1 - 2.9.0 + 2.10.0 diff --git a/java-appengine-admin/google-cloud-appengine-admin/pom.xml b/java-appengine-admin/google-cloud-appengine-admin/pom.xml index 65c014a0ae44..85b9035bb4c7 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/pom.xml +++ b/java-appengine-admin/google-cloud-appengine-admin/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-appengine-admin - 2.9.0 + 2.10.0 jar Google App Engine Admin API App Engine Admin API you to manage your App Engine applications. com.google.cloud google-cloud-appengine-admin-parent - 2.9.0 + 2.10.0 google-cloud-appengine-admin diff --git a/java-appengine-admin/grpc-google-cloud-appengine-admin-v1/pom.xml b/java-appengine-admin/grpc-google-cloud-appengine-admin-v1/pom.xml index fed046efff5c..4544290836ca 100644 --- a/java-appengine-admin/grpc-google-cloud-appengine-admin-v1/pom.xml +++ b/java-appengine-admin/grpc-google-cloud-appengine-admin-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-appengine-admin-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-appengine-admin-v1 GRPC library for google-cloud-appengine-admin com.google.cloud google-cloud-appengine-admin-parent - 2.9.0 + 2.10.0 diff --git a/java-appengine-admin/pom.xml b/java-appengine-admin/pom.xml index cc78a86a878c..4070beac4f02 100644 --- a/java-appengine-admin/pom.xml +++ b/java-appengine-admin/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-appengine-admin-parent pom - 2.9.0 + 2.10.0 Google App Engine Admin API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-appengine-admin - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-appengine-admin-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-appengine-admin-v1 - 2.9.0 + 2.10.0 diff --git a/java-appengine-admin/proto-google-cloud-appengine-admin-v1/pom.xml b/java-appengine-admin/proto-google-cloud-appengine-admin-v1/pom.xml index 988abdfcb24d..6fa3ec3e0ef7 100644 --- a/java-appengine-admin/proto-google-cloud-appengine-admin-v1/pom.xml +++ b/java-appengine-admin/proto-google-cloud-appengine-admin-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-appengine-admin-v1 - 2.9.0 + 2.10.0 proto-google-cloud-appengine-admin-v1 Proto library for google-cloud-appengine-admin com.google.cloud google-cloud-appengine-admin-parent - 2.9.0 + 2.10.0 diff --git a/java-area120-tables/google-area120-tables-bom/pom.xml b/java-area120-tables/google-area120-tables-bom/pom.xml index aaa548b87f09..64d00f49ef96 100644 --- a/java-area120-tables/google-area120-tables-bom/pom.xml +++ b/java-area120-tables/google-area120-tables-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.area120 google-area120-tables-bom - 0.13.0 + 0.14.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.area120 google-area120-tables - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-area120-tables-v1alpha1 - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-area120-tables-v1alpha1 - 0.13.0 + 0.14.0 diff --git a/java-area120-tables/google-area120-tables/pom.xml b/java-area120-tables/google-area120-tables/pom.xml index 1884acf6f395..80421703b485 100644 --- a/java-area120-tables/google-area120-tables/pom.xml +++ b/java-area120-tables/google-area120-tables/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.area120 google-area120-tables - 0.13.0 + 0.14.0 jar Google Area 120 Tables provides programmatic methods to the Area 120 Tables API. com.google.area120 google-area120-tables-parent - 0.13.0 + 0.14.0 google-area120-tables diff --git a/java-area120-tables/grpc-google-area120-tables-v1alpha1/pom.xml b/java-area120-tables/grpc-google-area120-tables-v1alpha1/pom.xml index b61291d09d80..812cfa193841 100644 --- a/java-area120-tables/grpc-google-area120-tables-v1alpha1/pom.xml +++ b/java-area120-tables/grpc-google-area120-tables-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-area120-tables-v1alpha1 - 0.13.0 + 0.14.0 grpc-google-area120-tables-v1alpha1 GRPC library for google-area120-tables com.google.area120 google-area120-tables-parent - 0.13.0 + 0.14.0 diff --git a/java-area120-tables/pom.xml b/java-area120-tables/pom.xml index 94d2cfd5cb30..7bf0cfc07f6d 100644 --- a/java-area120-tables/pom.xml +++ b/java-area120-tables/pom.xml @@ -4,7 +4,7 @@ com.google.area120 google-area120-tables-parent pom - 0.13.0 + 0.14.0 Google Area 120 Tables Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.area120 google-area120-tables - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-area120-tables-v1alpha1 - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-area120-tables-v1alpha1 - 0.13.0 + 0.14.0 diff --git a/java-area120-tables/proto-google-area120-tables-v1alpha1/pom.xml b/java-area120-tables/proto-google-area120-tables-v1alpha1/pom.xml index e106accef344..699d46b937ff 100644 --- a/java-area120-tables/proto-google-area120-tables-v1alpha1/pom.xml +++ b/java-area120-tables/proto-google-area120-tables-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-area120-tables-v1alpha1 - 0.13.0 + 0.14.0 proto-google-area120-tables-v1alpha1 Proto library for google-area120-tables com.google.area120 google-area120-tables-parent - 0.13.0 + 0.14.0 diff --git a/java-artifact-registry/google-cloud-artifact-registry-bom/pom.xml b/java-artifact-registry/google-cloud-artifact-registry-bom/pom.xml index 9f40a4bfa448..67e823de68b3 100644 --- a/java-artifact-registry/google-cloud-artifact-registry-bom/pom.xml +++ b/java-artifact-registry/google-cloud-artifact-registry-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-artifact-registry-bom - 1.8.0 + 1.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-artifact-registry - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-artifact-registry-v1beta2 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-artifact-registry-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-artifact-registry-v1beta2 - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-artifact-registry-v1 - 1.8.0 + 1.9.0 diff --git a/java-artifact-registry/google-cloud-artifact-registry/pom.xml b/java-artifact-registry/google-cloud-artifact-registry/pom.xml index 93099e6df74b..bc84b23bf449 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/pom.xml +++ b/java-artifact-registry/google-cloud-artifact-registry/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-artifact-registry - 1.8.0 + 1.9.0 jar Google Artifact Registry provides a single place for your organization to manage container images and language packages (such as Maven and npm). It is fully integrated with Google Cloud's tooling and runtimes and comes with support for native artifact protocols. This makes it simple to integrate it with your CI/CD tooling to set up automated pipelines. com.google.cloud google-cloud-artifact-registry-parent - 1.8.0 + 1.9.0 google-cloud-artifact-registry diff --git a/java-artifact-registry/grpc-google-cloud-artifact-registry-v1/pom.xml b/java-artifact-registry/grpc-google-cloud-artifact-registry-v1/pom.xml index db16f0cbffbd..7ea6144579c4 100644 --- a/java-artifact-registry/grpc-google-cloud-artifact-registry-v1/pom.xml +++ b/java-artifact-registry/grpc-google-cloud-artifact-registry-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-artifact-registry-v1 - 1.8.0 + 1.9.0 grpc-google-cloud-artifact-registry-v1 GRPC library for google-cloud-artifact-registry com.google.cloud google-cloud-artifact-registry-parent - 1.8.0 + 1.9.0 diff --git a/java-artifact-registry/grpc-google-cloud-artifact-registry-v1beta2/pom.xml b/java-artifact-registry/grpc-google-cloud-artifact-registry-v1beta2/pom.xml index c928cfd9af31..d3bf0e79e8f1 100644 --- a/java-artifact-registry/grpc-google-cloud-artifact-registry-v1beta2/pom.xml +++ b/java-artifact-registry/grpc-google-cloud-artifact-registry-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-artifact-registry-v1beta2 - 0.14.0 + 0.15.0 grpc-google-cloud-artifact-registry-v1beta2 GRPC library for google-cloud-artifact-registry com.google.cloud google-cloud-artifact-registry-parent - 1.8.0 + 1.9.0 diff --git a/java-artifact-registry/pom.xml b/java-artifact-registry/pom.xml index 739e9b937ad1..1baa5f5bc454 100644 --- a/java-artifact-registry/pom.xml +++ b/java-artifact-registry/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-artifact-registry-parent pom - 1.8.0 + 1.9.0 Google Artifact Registry Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-artifact-registry - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-artifact-registry-v1 - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-artifact-registry-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-artifact-registry-v1beta2 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-artifact-registry-v1beta2 - 0.14.0 + 0.15.0 diff --git a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/pom.xml b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/pom.xml index 070a55637251..c49e999e165a 100644 --- a/java-artifact-registry/proto-google-cloud-artifact-registry-v1/pom.xml +++ b/java-artifact-registry/proto-google-cloud-artifact-registry-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-artifact-registry-v1 - 1.8.0 + 1.9.0 proto-google-cloud-artifact-registry-v1 Proto library for google-cloud-artifact-registry com.google.cloud google-cloud-artifact-registry-parent - 1.8.0 + 1.9.0 diff --git a/java-artifact-registry/proto-google-cloud-artifact-registry-v1beta2/pom.xml b/java-artifact-registry/proto-google-cloud-artifact-registry-v1beta2/pom.xml index 5ab20bd6fad2..ed850fcdaf41 100644 --- a/java-artifact-registry/proto-google-cloud-artifact-registry-v1beta2/pom.xml +++ b/java-artifact-registry/proto-google-cloud-artifact-registry-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-artifact-registry-v1beta2 - 0.14.0 + 0.15.0 grpc-google-cloud-artifact-registry-v1beta2 Proto library for google-cloud-artifact-registry com.google.cloud google-cloud-artifact-registry-parent - 1.8.0 + 1.9.0 diff --git a/java-asset/README.md b/java-asset/README.md index 02833e5498f1..7a5226a6c54b 100644 --- a/java-asset/README.md +++ b/java-asset/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-asset - 3.12.0 + 3.13.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-asset:3.12.0' +implementation 'com.google.cloud:google-cloud-asset:3.13.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.12.0" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.13.0" ``` ## Authentication diff --git a/java-asset/google-cloud-asset-bom/pom.xml b/java-asset/google-cloud-asset-bom/pom.xml index 0d1307489492..5f756f012032 100644 --- a/java-asset/google-cloud-asset-bom/pom.xml +++ b/java-asset/google-cloud-asset-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-asset-bom - 3.13.0 + 3.14.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,57 +23,57 @@ com.google.cloud google-cloud-asset - 3.13.0 + 3.14.0 com.google.api.grpc grpc-google-cloud-asset-v1 - 3.13.0 + 3.14.0 com.google.api.grpc grpc-google-cloud-asset-v1p1beta1 - 0.113.0 + 0.114.0 com.google.api.grpc grpc-google-cloud-asset-v1p2beta1 - 0.113.0 + 0.114.0 com.google.api.grpc grpc-google-cloud-asset-v1p5beta1 - 0.113.0 + 0.114.0 com.google.api.grpc grpc-google-cloud-asset-v1p7beta1 - 3.13.0 + 3.14.0 com.google.api.grpc proto-google-cloud-asset-v1 - 3.13.0 + 3.14.0 com.google.api.grpc proto-google-cloud-asset-v1p1beta1 - 0.113.0 + 0.114.0 com.google.api.grpc proto-google-cloud-asset-v1p2beta1 - 0.113.0 + 0.114.0 com.google.api.grpc proto-google-cloud-asset-v1p5beta1 - 0.113.0 + 0.114.0 com.google.api.grpc proto-google-cloud-asset-v1p7beta1 - 3.13.0 + 3.14.0 diff --git a/java-asset/google-cloud-asset/pom.xml b/java-asset/google-cloud-asset/pom.xml index 4da00aeb64ab..d301f05f26cd 100644 --- a/java-asset/google-cloud-asset/pom.xml +++ b/java-asset/google-cloud-asset/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-asset - 3.13.0 + 3.14.0 jar Google Cloud Asset Java idiomatic client for Google Cloud Asset com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 google-cloud-asset diff --git a/java-asset/grpc-google-cloud-asset-v1/pom.xml b/java-asset/grpc-google-cloud-asset-v1/pom.xml index 3a3078254998..18b6f4d2e976 100644 --- a/java-asset/grpc-google-cloud-asset-v1/pom.xml +++ b/java-asset/grpc-google-cloud-asset-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-asset-v1 - 3.13.0 + 3.14.0 grpc-google-cloud-asset-v1 GRPC library for grpc-google-cloud-asset-v1 com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/grpc-google-cloud-asset-v1p1beta1/pom.xml b/java-asset/grpc-google-cloud-asset-v1p1beta1/pom.xml index b112f92d23f7..ccfb89c81740 100644 --- a/java-asset/grpc-google-cloud-asset-v1p1beta1/pom.xml +++ b/java-asset/grpc-google-cloud-asset-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-asset-v1p1beta1 - 0.113.0 + 0.114.0 grpc-google-cloud-asset-v1p1beta1 GRPC library for grpc-google-cloud-asset-v1p1beta1 com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/grpc-google-cloud-asset-v1p2beta1/pom.xml b/java-asset/grpc-google-cloud-asset-v1p2beta1/pom.xml index 5dfac7a74dfc..a01fb1cf4b7a 100644 --- a/java-asset/grpc-google-cloud-asset-v1p2beta1/pom.xml +++ b/java-asset/grpc-google-cloud-asset-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-asset-v1p2beta1 - 0.113.0 + 0.114.0 grpc-google-cloud-asset-v1p2beta1 GRPC library for grpc-google-cloud-asset-v1p2beta1 com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/grpc-google-cloud-asset-v1p5beta1/pom.xml b/java-asset/grpc-google-cloud-asset-v1p5beta1/pom.xml index 94537d24f83d..b8ed6376dc76 100644 --- a/java-asset/grpc-google-cloud-asset-v1p5beta1/pom.xml +++ b/java-asset/grpc-google-cloud-asset-v1p5beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-asset-v1p5beta1 - 0.113.0 + 0.114.0 grpc-google-cloud-asset-v1p5beta1 GRPC library for grpc-google-cloud-asset-v1p5beta1 com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/grpc-google-cloud-asset-v1p7beta1/pom.xml b/java-asset/grpc-google-cloud-asset-v1p7beta1/pom.xml index fd0aeb5a834d..108ea88857d3 100644 --- a/java-asset/grpc-google-cloud-asset-v1p7beta1/pom.xml +++ b/java-asset/grpc-google-cloud-asset-v1p7beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-asset-v1p7beta1 - 3.13.0 + 3.14.0 grpc-google-cloud-asset-v1p7beta1 GRPC library for google-cloud-asset com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/pom.xml b/java-asset/pom.xml index 545c3b50c455..7f0ee7d92cd3 100644 --- a/java-asset/pom.xml +++ b/java-asset/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-asset-parent pom - 3.13.0 + 3.14.0 Google Cloud Asset Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,77 +29,77 @@ com.google.api.grpc proto-google-cloud-asset-v1 - 3.13.0 + 3.14.0 com.google.api.grpc proto-google-cloud-asset-v1p7beta1 - 3.13.0 + 3.14.0 com.google.api.grpc grpc-google-cloud-asset-v1p7beta1 - 3.13.0 + 3.14.0 com.google.api.grpc proto-google-cloud-asset-v1p1beta1 - 0.113.0 + 0.114.0 com.google.api.grpc proto-google-cloud-asset-v1p2beta1 - 0.113.0 + 0.114.0 com.google.api.grpc proto-google-cloud-asset-v1p5beta1 - 0.113.0 + 0.114.0 com.google.api.grpc grpc-google-cloud-asset-v1 - 3.13.0 + 3.14.0 com.google.api.grpc grpc-google-cloud-asset-v1p1beta1 - 0.113.0 + 0.114.0 com.google.api.grpc grpc-google-cloud-asset-v1p2beta1 - 0.113.0 + 0.114.0 com.google.api.grpc grpc-google-cloud-asset-v1p5beta1 - 0.113.0 + 0.114.0 com.google.cloud google-cloud-asset - 3.13.0 + 3.14.0 com.google.api.grpc proto-google-cloud-orgpolicy-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-identity-accesscontextmanager-v1 - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-cloud-os-config-v1 - 2.11.0 + 2.12.0 com.google.cloud google-cloud-resourcemanager - 1.11.0 + 1.12.0 test diff --git a/java-asset/proto-google-cloud-asset-v1/pom.xml b/java-asset/proto-google-cloud-asset-v1/pom.xml index 664b48b8e9a6..7953ff9d5b2e 100644 --- a/java-asset/proto-google-cloud-asset-v1/pom.xml +++ b/java-asset/proto-google-cloud-asset-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-asset-v1 - 3.13.0 + 3.14.0 proto-google-cloud-asset-v1 PROTO library for proto-google-cloud-asset-v1 com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java index 8b4f37133004..7372952083c9 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetProto.java @@ -285,11 +285,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\001 \003(\01327.google.cloud.asset.v1.IamPolicy" + "AnalysisResult.Identity\022H\n\013group_edges\030\002" + " \003(\01323.google.cloud.asset.v1.IamPolicyAn" - + "alysisResult.EdgeB\230\001\n\031com.google.cloud.a" - + "sset.v1B\nAssetProtoP\001Z:google.golang.org" - + "/genproto/googleapis/cloud/asset/v1;asse" - + "t\370\001\001\252\002\025Google.Cloud.Asset.V1\312\002\025Google\\Cl" - + "oud\\Asset\\V1b\006proto3" + + "alysisResult.EdgeB\215\001\n\031com.google.cloud.a" + + "sset.v1B\nAssetProtoP\001Z/cloud.google.com/" + + "go/asset/apiv1/assetpb;assetpb\370\001\001\252\002\025Goog" + + "le.Cloud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java index a6acc6e8815d..b2a5e93fd40b 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java +++ b/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceProto.java @@ -843,11 +843,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rgPolicyGovernedAssets\332A\027scope,constrain" + "t,filter\032M\312A\031cloudasset.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\234\001\n\031com.google.cloud.asset.v1B\021A" - + "ssetServiceProtoP\001Z:google.golang.org/ge" - + "nproto/googleapis/cloud/asset/v1;asset\252\002" - + "\025Google.Cloud.Asset.V1\312\002\025Google\\Cloud\\As" - + "set\\V1b\006proto3" + + "latformB\221\001\n\031com.google.cloud.asset.v1B\021A" + + "ssetServiceProtoP\001Z/cloud.google.com/go/" + + "asset/apiv1/assetpb;assetpb\252\002\025Google.Clo" + + "ud.Asset.V1\312\002\025Google\\Cloud\\Asset\\V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto index 8539dc0f51d4..d024e6a0fec8 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto +++ b/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto @@ -32,7 +32,7 @@ import "google/rpc/status.proto"; import "google/type/expr.proto"; option csharp_namespace = "Google.Cloud.Asset.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetServiceProto"; option java_package = "com.google.cloud.asset.v1"; diff --git a/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto b/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto index 9e777428918d..e540bf60df82 100644 --- a/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto +++ b/java-asset/proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto @@ -30,7 +30,7 @@ import "google/rpc/code.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Asset.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetProto"; option java_package = "com.google.cloud.asset.v1"; diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/pom.xml b/java-asset/proto-google-cloud-asset-v1p1beta1/pom.xml index 78d219873a96..5a8933d616ca 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/pom.xml +++ b/java-asset/proto-google-cloud-asset-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-asset-v1p1beta1 - 0.113.0 + 0.114.0 proto-google-cloud-asset-v1p1beta1 PROTO library for proto-google-cloud-asset-v1p1beta1 com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java index af7874a84ad5..0a0ddb77bc6c 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java +++ b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java @@ -82,11 +82,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "missionsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value\030\002 \001(" + "\0132).google.cloud.asset.v1p1beta1.Permiss" + "ions:\0028\001\"\"\n\013Permissions\022\023\n\013permissions\030\001" - + " \003(\tB\264\001\n com.google.cloud.asset.v1p1beta" - + "1B\nAssetProtoP\001ZAgoogle.golang.org/genpr" - + "oto/googleapis/cloud/asset/v1p1beta1;ass" - + "et\370\001\001\252\002\034Google.Cloud.Asset.V1P1Beta1\312\002\034G" - + "oogle\\Cloud\\Asset\\V1p1beta1b\006proto3" + + " \003(\tB\251\001\n com.google.cloud.asset.v1p1beta" + + "1B\nAssetProtoP\001Z6cloud.google.com/go/ass" + + "et/apiv1p1beta1/assetpb;assetpb\370\001\001\252\002\034Goo" + + "gle.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud" + + "\\Asset\\V1p1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java index 1b0e9289cadb..c7c7e1107258 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java +++ b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java @@ -83,12 +83,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "iesResponse\"B\202\323\344\223\002.\022,/v1p1beta1/{scope=*" + "/*}/iamPolicies:searchAll\332A\013scope,query\032" + "M\312A\031cloudasset.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB\270" + + "www.googleapis.com/auth/cloud-platformB\255" + "\001\n com.google.cloud.asset.v1p1beta1B\021Ass" - + "etServiceProtoP\001ZAgoogle.golang.org/genp" - + "roto/googleapis/cloud/asset/v1p1beta1;as" - + "set\252\002\034Google.Cloud.Asset.V1P1Beta1\312\002\034Goo" - + "gle\\Cloud\\Asset\\V1p1beta1b\006proto3" + + "etServiceProtoP\001Z6cloud.google.com/go/as" + + "set/apiv1p1beta1/assetpb;assetpb\252\002\034Googl" + + "e.Cloud.Asset.V1P1Beta1\312\002\034Google\\Cloud\\A" + + "sset\\V1p1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto index b7366dbd7cbc..e3b256f88e88 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto +++ b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/asset_service.proto @@ -22,7 +22,7 @@ import "google/api/field_behavior.proto"; import "google/cloud/asset/v1p1beta1/assets.proto"; option csharp_namespace = "Google.Cloud.Asset.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1p1beta1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1p1beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetServiceProto"; option java_package = "com.google.cloud.asset.v1p1beta1"; diff --git a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto index d2fb98e072de..b1000893066c 100644 --- a/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto +++ b/java-asset/proto-google-cloud-asset-v1p1beta1/src/main/proto/google/cloud/asset/v1p1beta1/assets.proto @@ -20,7 +20,7 @@ import "google/iam/v1/policy.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Asset.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1p1beta1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1p1beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetProto"; option java_package = "com.google.cloud.asset.v1p1beta1"; diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/pom.xml b/java-asset/proto-google-cloud-asset-v1p2beta1/pom.xml index 33983ee0017b..95ae767dd8c9 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/pom.xml +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-asset-v1p2beta1 - 0.113.0 + 0.114.0 proto-google-cloud-asset-v1p2beta1 PROTO library for proto-google-cloud-asset-v1p2beta1 com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java index c95beb2849aa..efe112860d8a 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetProto.java @@ -70,12 +70,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rsion\030\001 \001(\t\022\036\n\026discovery_document_uri\030\002 " + "\001(\t\022\026\n\016discovery_name\030\003 \001(\t\022\024\n\014resource_" + "url\030\004 \001(\t\022\016\n\006parent\030\005 \001(\t\022%\n\004data\030\006 \001(\0132" - + "\027.google.protobuf.StructB\264\001\n com.google." - + "cloud.asset.v1p2beta1B\nAssetProtoP\001ZAgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/asset/v1p2beta1;asset\370\001\001\252\002\034Google.Cloud" - + ".Asset.v1p2beta1\312\002\034Google\\Cloud\\Asset\\V1" - + "p2beta1b\006proto3" + + "\027.google.protobuf.StructB\251\001\n com.google." + + "cloud.asset.v1p2beta1B\nAssetProtoP\001Z6clo" + + "ud.google.com/go/asset/apiv1p2beta1/asse" + + "tpb;assetpb\370\001\001\252\002\034Google.Cloud.Asset.v1p2" + + "beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java index d02516431fbf..7b4f6120baf0 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceProto.java @@ -139,12 +139,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogle.protobuf.Empty\",\202\323\344\223\002\037*\035/v1p2beta1" + "/{name=*/*/feeds/*}\332A\004name\032M\312A\031cloudasse" + "t.googleapis.com\322A.https://www.googleapi" - + "s.com/auth/cloud-platformB\270\001\n com.google" + + "s.com/auth/cloud-platformB\255\001\n com.google" + ".cloud.asset.v1p2beta1B\021AssetServiceProt" - + "oP\001ZAgoogle.golang.org/genproto/googleap" - + "is/cloud/asset/v1p2beta1;asset\252\002\034Google." - + "Cloud.Asset.V1p2Beta1\312\002\034Google\\Cloud\\Ass" - + "et\\V1p2beta1b\006proto3" + + "oP\001Z6cloud.google.com/go/asset/apiv1p2be" + + "ta1/assetpb;assetpb\252\002\034Google.Cloud.Asset" + + ".V1p2Beta1\312\002\034Google\\Cloud\\Asset\\V1p2beta" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto index 92f285f86524..025af806226d 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/asset_service.proto @@ -26,7 +26,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Asset.V1p2Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1p2beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetServiceProto"; option java_package = "com.google.cloud.asset.v1p2beta1"; diff --git a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto index bc2a9c511f28..abeb14569265 100644 --- a/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto +++ b/java-asset/proto-google-cloud-asset-v1p2beta1/src/main/proto/google/cloud/asset/v1p2beta1/assets.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Asset.v1p2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1p2beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetProto"; option java_package = "com.google.cloud.asset.v1p2beta1"; diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/pom.xml b/java-asset/proto-google-cloud-asset-v1p5beta1/pom.xml index cfdf33e938a3..af7188d2abac 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/pom.xml +++ b/java-asset/proto-google-cloud-asset-v1p5beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-asset-v1p5beta1 - 0.113.0 + 0.114.0 proto-google-cloud-asset-v1p5beta1 PROTO library for proto-google-cloud-asset-v1p4beta1 com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java index 70c797bf0f58..b406b451a85c 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java +++ b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetProto.java @@ -71,11 +71,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "y_document_uri\030\002 \001(\t\022\026\n\016discovery_name\030\003" + " \001(\t\022\024\n\014resource_url\030\004 \001(\t\022\016\n\006parent\030\005 \001" + "(\t\022%\n\004data\030\006 \001(\0132\027.google.protobuf.Struc" - + "tB\264\001\n com.google.cloud.asset.v1p5beta1B\n" - + "AssetProtoP\001ZAgoogle.golang.org/genproto" - + "/googleapis/cloud/asset/v1p5beta1;asset\370" - + "\001\001\252\002\034Google.Cloud.Asset.V1p5Beta1\312\002\034Goog" - + "le\\Cloud\\Asset\\V1p5beta1b\006proto3" + + "tB\251\001\n com.google.cloud.asset.v1p5beta1B\n" + + "AssetProtoP\001Z6cloud.google.com/go/asset/" + + "apiv1p5beta1/assetpb;assetpb\370\001\001\252\002\034Google" + + ".Cloud.Asset.V1p5Beta1\312\002\034Google\\Cloud\\As" + + "set\\V1p5beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java index b089eacf203a..b09a4d98c7fd 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java +++ b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/java/com/google/cloud/asset/v1p5beta1/AssetServiceProto.java @@ -70,11 +70,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\036/v1p5beta1/{parent=*/*}/assets\332A\006parent" + "\032M\312A\031cloudasset.googleapis.com\322A.https:/" + "/www.googleapis.com/auth/cloud-platformB" - + "\270\001\n com.google.cloud.asset.v1p5beta1B\021As" - + "setServiceProtoP\001ZAgoogle.golang.org/gen" - + "proto/googleapis/cloud/asset/v1p5beta1;a" - + "sset\252\002\034Google.Cloud.Asset.V1P5Beta1\312\002\034Go" - + "ogle\\Cloud\\Asset\\V1p5beta1b\006proto3" + + "\255\001\n com.google.cloud.asset.v1p5beta1B\021As" + + "setServiceProtoP\001Z6cloud.google.com/go/a" + + "sset/apiv1p5beta1/assetpb;assetpb\252\002\034Goog" + + "le.Cloud.Asset.V1P5Beta1\312\002\034Google\\Cloud\\" + + "Asset\\V1p5beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto index 9a28cdb6ef3a..86bf48920b77 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto +++ b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/asset_service.proto @@ -24,7 +24,7 @@ import "google/cloud/asset/v1p5beta1/assets.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Asset.V1P5Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1p5beta1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1p5beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetServiceProto"; option java_package = "com.google.cloud.asset.v1p5beta1"; diff --git a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto index 35faabebf584..b277e308324d 100644 --- a/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto +++ b/java-asset/proto-google-cloud-asset-v1p5beta1/src/main/proto/google/cloud/asset/v1p5beta1/assets.proto @@ -26,7 +26,7 @@ import "google/protobuf/struct.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Asset.V1p5Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1p5beta1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1p5beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetProto"; option java_package = "com.google.cloud.asset.v1p5beta1"; diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/pom.xml b/java-asset/proto-google-cloud-asset-v1p7beta1/pom.xml index 2f018a997a9a..73dd64bb70b0 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/pom.xml +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-asset-v1p7beta1 - 3.13.0 + 3.14.0 proto-google-cloud-asset-v1p7beta1 Proto library for google-cloud-asset com.google.cloud google-cloud-asset-parent - 3.13.0 + 3.14.0 diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java index 19b3e62b2fa0..9495f87c86b6 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetProto.java @@ -97,11 +97,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ction\030\003 \001(\t\"j\n\014RelatedAsset\0223\n\005asset\030\001 \001" + "(\tB$\372A!\n\037cloudasset.googleapis.com/Asset" + "\022\022\n\nasset_type\030\002 \001(\t\022\021\n\tancestors\030\003 \003(\tB" - + "\264\001\n com.google.cloud.asset.v1p7beta1B\nAs" - + "setProtoP\001ZAgoogle.golang.org/genproto/g" - + "oogleapis/cloud/asset/v1p7beta1;asset\370\001\001" - + "\252\002\034Google.Cloud.Asset.V1P7Beta1\312\002\034Google" - + "\\Cloud\\Asset\\V1p7beta1b\006proto3" + + "\251\001\n com.google.cloud.asset.v1p7beta1B\nAs" + + "setProtoP\001Z6cloud.google.com/go/asset/ap" + + "iv1p7beta1/assetpb;assetpb\370\001\001\252\002\034Google.C" + + "loud.Asset.V1P7Beta1\312\002\034Google\\Cloud\\Asse" + + "t\\V1p7beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java index fcd195af4439..a488dd408060 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/java/com/google/cloud/asset/v1p7beta1/AssetServiceProto.java @@ -118,12 +118,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "esponse\0220google.cloud.asset.v1p7beta1.Ex" + "portAssetsRequest\032M\312A\031cloudasset.googlea" + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformB\270\001\n com.google.cloud.as" - + "set.v1p7beta1B\021AssetServiceProtoP\001ZAgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "asset/v1p7beta1;asset\252\002\034Google.Cloud.Ass" - + "et.V1P7Beta1\312\002\034Google\\Cloud\\Asset\\V1p7be" - + "ta1b\006proto3" + + "h/cloud-platformB\255\001\n com.google.cloud.as" + + "set.v1p7beta1B\021AssetServiceProtoP\001Z6clou" + + "d.google.com/go/asset/apiv1p7beta1/asset" + + "pb;assetpb\252\002\034Google.Cloud.Asset.V1P7Beta" + + "1\312\002\034Google\\Cloud\\Asset\\V1p7beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto index d184cf8ff8de..46333d1c112c 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/asset_service.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Asset.V1P7Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1p7beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetServiceProto"; option java_package = "com.google.cloud.asset.v1p7beta1"; diff --git a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto index 710a37acd7ba..275d955e10de 100644 --- a/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto +++ b/java-asset/proto-google-cloud-asset-v1p7beta1/src/main/proto/google/cloud/asset/v1p7beta1/assets.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Asset.V1P7Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1;asset"; +option go_package = "cloud.google.com/go/asset/apiv1p7beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetProto"; option java_package = "com.google.cloud.asset.v1p7beta1"; diff --git a/java-assured-workloads/README.md b/java-assured-workloads/README.md index b6c3f9ba5a9e..bafd9d87331b 100644 --- a/java-assured-workloads/README.md +++ b/java-assured-workloads/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-assured-workloads - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-assured-workloads:2.8.0' +implementation 'com.google.cloud:google-cloud-assured-workloads:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.9.0" ``` ## Authentication diff --git a/java-assured-workloads/google-cloud-assured-workloads-bom/pom.xml b/java-assured-workloads/google-cloud-assured-workloads-bom/pom.xml index e7323716913d..3ba2d3eb8a1f 100644 --- a/java-assured-workloads/google-cloud-assured-workloads-bom/pom.xml +++ b/java-assured-workloads/google-cloud-assured-workloads-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-assured-workloads-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-assured-workloads - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-assured-workloads-v1beta1 - 0.21.0 + 0.22.0 com.google.api.grpc grpc-google-cloud-assured-workloads-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-assured-workloads-v1beta1 - 0.21.0 + 0.22.0 com.google.api.grpc proto-google-cloud-assured-workloads-v1 - 2.9.0 + 2.10.0 diff --git a/java-assured-workloads/google-cloud-assured-workloads/pom.xml b/java-assured-workloads/google-cloud-assured-workloads/pom.xml index 3fa26c4cc0be..0e50f7b5219c 100644 --- a/java-assured-workloads/google-cloud-assured-workloads/pom.xml +++ b/java-assured-workloads/google-cloud-assured-workloads/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-assured-workloads - 2.9.0 + 2.10.0 jar Google Assured Workloads for Government allows you to secure your government workloads and accelerate your path to running compliant workloads on Google Cloud with Assured Workloads for Government. com.google.cloud google-cloud-assured-workloads-parent - 2.9.0 + 2.10.0 google-cloud-assured-workloads diff --git a/java-assured-workloads/grpc-google-cloud-assured-workloads-v1/pom.xml b/java-assured-workloads/grpc-google-cloud-assured-workloads-v1/pom.xml index f9895a139746..eedfcf629dd5 100644 --- a/java-assured-workloads/grpc-google-cloud-assured-workloads-v1/pom.xml +++ b/java-assured-workloads/grpc-google-cloud-assured-workloads-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-assured-workloads-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-assured-workloads-v1 GRPC library for google-cloud-assured-workloads com.google.cloud google-cloud-assured-workloads-parent - 2.9.0 + 2.10.0 diff --git a/java-assured-workloads/grpc-google-cloud-assured-workloads-v1beta1/pom.xml b/java-assured-workloads/grpc-google-cloud-assured-workloads-v1beta1/pom.xml index b54d0058d055..defa143ea3e2 100644 --- a/java-assured-workloads/grpc-google-cloud-assured-workloads-v1beta1/pom.xml +++ b/java-assured-workloads/grpc-google-cloud-assured-workloads-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-assured-workloads-v1beta1 - 0.21.0 + 0.22.0 grpc-google-cloud-assured-workloads-v1beta1 GRPC library for google-cloud-assured-workloads com.google.cloud google-cloud-assured-workloads-parent - 2.9.0 + 2.10.0 diff --git a/java-assured-workloads/pom.xml b/java-assured-workloads/pom.xml index 0c5a3579e539..6cbb665a01b2 100644 --- a/java-assured-workloads/pom.xml +++ b/java-assured-workloads/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-assured-workloads-parent pom - 2.9.0 + 2.10.0 Google Assured Workloads for Government Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-assured-workloads - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-assured-workloads-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-assured-workloads-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-assured-workloads-v1beta1 - 0.21.0 + 0.22.0 com.google.api.grpc grpc-google-cloud-assured-workloads-v1beta1 - 0.21.0 + 0.22.0 diff --git a/java-assured-workloads/proto-google-cloud-assured-workloads-v1/pom.xml b/java-assured-workloads/proto-google-cloud-assured-workloads-v1/pom.xml index 18077b81a0cd..b9f82a0fe97e 100644 --- a/java-assured-workloads/proto-google-cloud-assured-workloads-v1/pom.xml +++ b/java-assured-workloads/proto-google-cloud-assured-workloads-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-assured-workloads-v1 - 2.9.0 + 2.10.0 proto-google-cloud-assured-workloads-v1 Proto library for google-cloud-assured-workloads com.google.cloud google-cloud-assured-workloads-parent - 2.9.0 + 2.10.0 diff --git a/java-assured-workloads/proto-google-cloud-assured-workloads-v1/src/main/java/com/google/cloud/assuredworkloads/v1/AssuredworkloadsProto.java b/java-assured-workloads/proto-google-cloud-assured-workloads-v1/src/main/java/com/google/cloud/assuredworkloads/v1/AssuredworkloadsProto.java index 91e8b8fbc596..8bd17f5ff247 100644 --- a/java-assured-workloads/proto-google-cloud-assured-workloads-v1/src/main/java/com/google/cloud/assuredworkloads/v1/AssuredworkloadsProto.java +++ b/java-assured-workloads/proto-google-cloud-assured-workloads-v1/src/main/java/com/google/cloud/assuredworkloads/v1/AssuredworkloadsProto.java @@ -360,9 +360,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "loads.googleapis.com\322A.https://www.googl" + "eapis.com/auth/cloud-platformB\335\002\n$com.go" + "ogle.cloud.assuredworkloads.v1B\025Assuredw" - + "orkloadsProtoP\001ZPgoogle.golang.org/genpr" - + "oto/googleapis/cloud/assuredworkloads/v1" - + ";assuredworkloads\252\002 Google.Cloud.Assured" + + "orkloadsProtoP\001ZPcloud.google.com/go/ass" + + "uredworkloads/apiv1/assuredworkloadspb;a" + + "ssuredworkloadspb\252\002 Google.Cloud.Assured" + "Workloads.V1\312\002 Google\\Cloud\\AssuredWorkl" + "oads\\V1\352\002#Google::Cloud::AssuredWorkload" + "s::V1\352A]\n(assuredworkloads.googleapis.co" diff --git a/java-assured-workloads/proto-google-cloud-assured-workloads-v1/src/main/proto/google/cloud/assuredworkloads/v1/assuredworkloads.proto b/java-assured-workloads/proto-google-cloud-assured-workloads-v1/src/main/proto/google/cloud/assuredworkloads/v1/assuredworkloads.proto index f6349f35fd57..2700056cac47 100644 --- a/java-assured-workloads/proto-google-cloud-assured-workloads-v1/src/main/proto/google/cloud/assuredworkloads/v1/assuredworkloads.proto +++ b/java-assured-workloads/proto-google-cloud-assured-workloads-v1/src/main/proto/google/cloud/assuredworkloads/v1/assuredworkloads.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AssuredWorkloads.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1;assuredworkloads"; +option go_package = "cloud.google.com/go/assuredworkloads/apiv1/assuredworkloadspb;assuredworkloadspb"; option java_multiple_files = true; option java_outer_classname = "AssuredworkloadsProto"; option java_package = "com.google.cloud.assuredworkloads.v1"; diff --git a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/pom.xml b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/pom.xml index cfe94ec47f2a..68fe38e87028 100644 --- a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/pom.xml +++ b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-assured-workloads-v1beta1 - 0.21.0 + 0.22.0 proto-google-cloud-assured-workloads-v1beta1 Proto library for google-cloud-assured-workloads com.google.cloud google-cloud-assured-workloads-parent - 2.9.0 + 2.10.0 diff --git a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredworkloadsProto.java b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredworkloadsProto.java index cca8811f41b1..2e6f60144d00 100644 --- a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredworkloadsProto.java +++ b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredworkloadsProto.java @@ -257,9 +257,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.cloud.assuredworkloads.v1beta1.Worklo" + "ad.ResourceSettingsB\003\340A\001B\366\002\n)com.google." + "cloud.assuredworkloads.v1beta1B\025Assuredw" - + "orkloadsProtoP\001ZUgoogle.golang.org/genpr" - + "oto/googleapis/cloud/assuredworkloads/v1" - + "beta1;assuredworkloads\252\002%Google.Cloud.As" + + "orkloadsProtoP\001ZUcloud.google.com/go/ass" + + "uredworkloads/apiv1beta1/assuredworkload" + + "spb;assuredworkloadspb\252\002%Google.Cloud.As" + "suredWorkloads.V1Beta1\312\002%Google\\Cloud\\As" + "suredWorkloads\\V1beta1\352\002(Google::Cloud::" + "AssuredWorkloads::V1beta1\352A]\n(assuredwor" diff --git a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredworkloadsServiceProto.java b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredworkloadsServiceProto.java index 77555dfb3cdd..641b98116ebf 100644 --- a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredworkloadsServiceProto.java +++ b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/java/com/google/cloud/assuredworkloads/v1beta1/AssuredworkloadsServiceProto.java @@ -79,10 +79,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ssuredworkloads.googleapis.com\322A.https:/" + "/www.googleapis.com/auth/cloud-platformB" + "\235\002\n)com.google.cloud.assuredworkloads.v1" - + "beta1B\034AssuredworkloadsServiceProtoP\001ZUg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/assuredworkloads/v1beta1;assuredworkl" - + "oads\252\002%Google.Cloud.AssuredWorkloads.V1B" + + "beta1B\034AssuredworkloadsServiceProtoP\001ZUc" + + "loud.google.com/go/assuredworkloads/apiv" + + "1beta1/assuredworkloadspb;assuredworkloa" + + "dspb\252\002%Google.Cloud.AssuredWorkloads.V1B" + "eta1\312\002%Google\\Cloud\\AssuredWorkloads\\V1b" + "eta1\352\002(Google::Cloud::AssuredWorkloads::" + "V1beta1b\006proto3" diff --git a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/proto/google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/proto/google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto index e6a83fae4ee8..c33caa0aaa24 100644 --- a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/proto/google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto +++ b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/proto/google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto @@ -23,7 +23,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AssuredWorkloads.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1beta1;assuredworkloads"; +option go_package = "cloud.google.com/go/assuredworkloads/apiv1beta1/assuredworkloadspb;assuredworkloadspb"; option java_multiple_files = true; option java_outer_classname = "AssuredworkloadsProto"; option java_package = "com.google.cloud.assuredworkloads.v1beta1"; diff --git a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/proto/google/cloud/assuredworkloads/v1beta1/assuredworkloads_service.proto b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/proto/google/cloud/assuredworkloads/v1beta1/assuredworkloads_service.proto index 1af45f12a03f..e62a64a6dd2a 100644 --- a/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/proto/google/cloud/assuredworkloads/v1beta1/assuredworkloads_service.proto +++ b/java-assured-workloads/proto-google-cloud-assured-workloads-v1beta1/src/main/proto/google/cloud/assuredworkloads/v1beta1/assuredworkloads_service.proto @@ -23,7 +23,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.AssuredWorkloads.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1beta1;assuredworkloads"; +option go_package = "cloud.google.com/go/assuredworkloads/apiv1beta1/assuredworkloadspb;assuredworkloadspb"; option java_multiple_files = true; option java_outer_classname = "AssuredworkloadsServiceProto"; option java_package = "com.google.cloud.assuredworkloads.v1beta1"; diff --git a/java-automl/README.md b/java-automl/README.md index 4bda80b8b091..1d27543defad 100644 --- a/java-automl/README.md +++ b/java-automl/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-automl - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-automl:2.8.0' +implementation 'com.google.cloud:google-cloud-automl:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.9.0" ``` ## Authentication diff --git a/java-automl/google-cloud-automl-bom/pom.xml b/java-automl/google-cloud-automl-bom/pom.xml index e9b663bf34f2..4b41f39d6d32 100644 --- a/java-automl/google-cloud-automl-bom/pom.xml +++ b/java-automl/google-cloud-automl-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-automl-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-automl - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-automl-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-automl-v1 - 2.9.0 + 2.10.0 diff --git a/java-automl/google-cloud-automl/pom.xml b/java-automl/google-cloud-automl/pom.xml index 5a57a4b89be3..0160d49052ec 100644 --- a/java-automl/google-cloud-automl/pom.xml +++ b/java-automl/google-cloud-automl/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-automl - 2.9.0 + 2.10.0 jar Google Cloud AutoML Java idiomatic client for Google Cloud Auto ML com.google.cloud google-cloud-automl-parent - 2.9.0 + 2.10.0 google-cloud-automl diff --git a/java-automl/grpc-google-cloud-automl-v1/pom.xml b/java-automl/grpc-google-cloud-automl-v1/pom.xml index d74c43d52634..9cb919efc0de 100644 --- a/java-automl/grpc-google-cloud-automl-v1/pom.xml +++ b/java-automl/grpc-google-cloud-automl-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-automl-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-automl-v1 GRPC library for grpc-google-cloud-automl-v1 com.google.cloud google-cloud-automl-parent - 2.9.0 + 2.10.0 diff --git a/java-automl/grpc-google-cloud-automl-v1beta1/pom.xml b/java-automl/grpc-google-cloud-automl-v1beta1/pom.xml index 868dd340249c..ab6d7b889b52 100644 --- a/java-automl/grpc-google-cloud-automl-v1beta1/pom.xml +++ b/java-automl/grpc-google-cloud-automl-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.96.0 + 0.97.0 grpc-google-cloud-automl-v1beta1 GRPC library for grpc-google-cloud-automl-v1beta1 com.google.cloud google-cloud-automl-parent - 2.9.0 + 2.10.0 diff --git a/java-automl/pom.xml b/java-automl/pom.xml index 1c136e1f7568..f068a26975a5 100644 --- a/java-automl/pom.xml +++ b/java-automl/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-automl-parent pom - 2.9.0 + 2.10.0 Google Cloud AutoML Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-automl-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-automl-v1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-automl-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-automl - 2.9.0 + 2.10.0 diff --git a/java-automl/proto-google-cloud-automl-v1/pom.xml b/java-automl/proto-google-cloud-automl-v1/pom.xml index e14617444ce5..e6ee40921702 100644 --- a/java-automl/proto-google-cloud-automl-v1/pom.xml +++ b/java-automl/proto-google-cloud-automl-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-automl-v1 - 2.9.0 + 2.10.0 proto-google-cloud-automl-v1 PROTO library for proto-google-cloud-automl-v1 com.google.cloud google-cloud-automl-parent - 2.9.0 + 2.10.0 diff --git a/java-automl/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationPayloadOuterClass.java b/java-automl/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationPayloadOuterClass.java index aa367505ddc8..82cedb5e71e7 100644 --- a/java-automl/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationPayloadOuterClass.java +++ b/java-automl/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationPayloadOuterClass.java @@ -59,11 +59,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ment\030\007 \001(\0132/.google.cloud.automl.v1.Text" + "SentimentAnnotationH\000\022\032\n\022annotation_spec" + "_id\030\001 \001(\t\022\024\n\014display_name\030\005 \001(\tB\010\n\006detai" - + "lB\252\001\n\032com.google.cloud.automl.v1P\001Z4.0.0 com.google.api.grpc proto-google-cloud-automl-v1beta1 - 0.96.0 + 0.97.0 proto-google-cloud-automl-v1beta1 PROTO library for proto-google-cloud-automl-v1beta1 com.google.cloud google-cloud-automl-parent - 2.9.0 + 2.10.0 diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationPayloadOuterClass.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationPayloadOuterClass.java index 75d1cf815876..4b4b68c6042a 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationPayloadOuterClass.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationPayloadOuterClass.java @@ -67,12 +67,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "a1.TextSentimentAnnotationH\000\022?\n\006tables\030\n" + " \001(\0132-.google.cloud.automl.v1beta1.Table" + "sAnnotationH\000\022\032\n\022annotation_spec_id\030\001 \001(" - + "\t\022\024\n\014display_name\030\005 \001(\tB\010\n\006detailB\245\001\n\037co" - + "m.google.cloud.automl.v1beta1P\001ZAgoogle." - + "golang.org/genproto/googleapis/cloud/aut" - + "oml/v1beta1;automl\312\002\033Google\\Cloud\\AutoMl" - + "\\V1beta1\352\002\036Google::Cloud::AutoML::V1beta" - + "1b\006proto3" + + "\t\022\024\n\014display_name\030\005 \001(\tB\010\n\006detailB\233\001\n\037co" + + "m.google.cloud.automl.v1beta1P\001Z7cloud.g" + + "oogle.com/go/automl/apiv1beta1/automlpb;" + + "automlpb\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002" + + "\036Google::Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOuterClass.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOuterClass.java index ebc94042bf6e..ce4f7e1f38fd 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOuterClass.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOuterClass.java @@ -48,11 +48,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".googleapis.com/AnnotationSpec\022\\projects" + "/{project}/locations/{location}/datasets" + "/{dataset}/annotationSpecs/{annotation_s" - + "pec}B\245\001\n\037com.google.cloud.automl.v1beta1" - + "P\001ZAgoogle.golang.org/genproto/googleapi" - + "s/cloud/automl/v1beta1;automl\312\002\033Google\\C" - + "loud\\AutoMl\\V1beta1\352\002\036Google::Cloud::Aut" - + "oML::V1beta1b\006proto3" + + "pec}B\233\001\n\037com.google.cloud.automl.v1beta1" + + "P\001Z7cloud.google.com/go/automl/apiv1beta" + + "1/automlpb;automlpb\312\002\033Google\\Cloud\\AutoM" + + "l\\V1beta1\352\002\036Google::Cloud::AutoML::V1bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlProto.java index 2a6ca3947f96..45e3779eefd9 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlProto.java @@ -393,12 +393,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1/{parent=projects/*/locations/*/models/" + "*}/modelEvaluations\332A\006parent\032I\312A\025automl." + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB\262\001\n\037com.google.c" - + "loud.automl.v1beta1B\013AutoMlProtoP\001ZAgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "automl/v1beta1;automl\312\002\033Google\\Cloud\\Aut" - + "oMl\\V1beta1\352\002\036Google::Cloud::AutoML::V1b" - + "eta1b\006proto3" + + "com/auth/cloud-platformB\250\001\n\037com.google.c" + + "loud.automl.v1beta1B\013AutoMlProtoP\001Z7clou" + + "d.google.com/go/automl/apiv1beta1/automl" + + "pb;automlpb\312\002\033Google\\Cloud\\AutoMl\\V1beta" + + "1\352\002\036Google::Cloud::AutoML::V1beta1b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java index ef227f7f8b57..fe88ceaca021 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java @@ -9931,11 +9931,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\003Row\022\025\n\rexample_count\030\001 \003(\005*Y\n\022Classifi" + "cationType\022#\n\037CLASSIFICATION_TYPE_UNSPEC" + "IFIED\020\000\022\016\n\nMULTICLASS\020\001\022\016\n\nMULTILABEL\020\002B" - + "\270\001\n\037com.google.cloud.automl.v1beta1B\023Cla" - + "ssificationProtoZAgoogle.golang.org/genp" - + "roto/googleapis/cloud/automl/v1beta1;aut" - + "oml\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Goog" - + "le::Cloud::AutoML::V1beta1b\006proto3" + + "\256\001\n\037com.google.cloud.automl.v1beta1B\023Cla" + + "ssificationProtoZ7cloud.google.com/go/au" + + "toml/apiv1beta1/automlpb;automlpb\312\002\033Goog" + + "le\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud:" + + ":AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOuterClass.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOuterClass.java index 369c8d88f576..82e9ab1cbb6a 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOuterClass.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOuterClass.java @@ -62,11 +62,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "l.googleapis.com/ColumnSpec\022lprojects/{p" + "roject}/locations/{location}/datasets/{d" + "ataset}/tableSpecs/{table_spec}/columnSp" - + "ecs/{column_spec}B\245\001\n\037com.google.cloud.a" - + "utoml.v1beta1P\001ZAgoogle.golang.org/genpr" - + "oto/googleapis/cloud/automl/v1beta1;auto" - + "ml\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Googl" - + "e::Cloud::AutoML::V1beta1b\006proto3" + + "ecs/{column_spec}B\233\001\n\037com.google.cloud.a" + + "utoml.v1beta1P\001Z7cloud.google.com/go/aut" + + "oml/apiv1beta1/automlpb;automlpb\312\002\033Googl" + + "e\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::" + + "AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataItems.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataItems.java index e82d35813713..8294cf743794 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataItems.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataItems.java @@ -109,11 +109,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "a1.TextSnippetH\000\0229\n\010document\030\004 \001(\0132%.goo" + "gle.cloud.automl.v1beta1.DocumentH\000\022/\n\003r" + "ow\030\003 \001(\0132 .google.cloud.automl.v1beta1.R" - + "owH\000B\t\n\007payloadB\245\001\n\037com.google.cloud.aut" - + "oml.v1beta1P\001ZAgoogle.golang.org/genprot" - + "o/googleapis/cloud/automl/v1beta1;automl" - + "\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google:" - + ":Cloud::AutoML::V1beta1b\006proto3" + + "owH\000B\t\n\007payloadB\233\001\n\037com.google.cloud.aut" + + "oml.v1beta1P\001Z7cloud.google.com/go/autom" + + "l/apiv1beta1/automlpb;automlpb\312\002\033Google\\" + + "Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::Au" + + "toML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataStatsOuterClass.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataStatsOuterClass.java index 7a3c4fbf5ec5..94fc99e1a83f 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataStatsOuterClass.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataStatsOuterClass.java @@ -140,12 +140,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".google.cloud.automl.v1beta1.CategorySta" + "ts.SingleCategoryStats\0323\n\023SingleCategory" + "Stats\022\r\n\005value\030\001 \001(\t\022\r\n\005count\030\002 \001(\003\"%\n\020C" - + "orrelationStats\022\021\n\tcramers_v\030\001 \001(\001B\245\001\n\037c" - + "om.google.cloud.automl.v1beta1P\001ZAgoogle" - + ".golang.org/genproto/googleapis/cloud/au" - + "toml/v1beta1;automl\312\002\033Google\\Cloud\\AutoM" - + "l\\V1beta1\352\002\036Google::Cloud::AutoML::V1bet" - + "a1b\006proto3" + + "orrelationStats\022\021\n\tcramers_v\030\001 \001(\001B\233\001\n\037c" + + "om.google.cloud.automl.v1beta1P\001Z7cloud." + + "google.com/go/automl/apiv1beta1/automlpb" + + ";automlpb\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352" + + "\002\036Google::Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataTypes.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataTypes.java index d05785187a7c..9bf0499ec387 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataTypes.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataTypes.java @@ -63,11 +63,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "v1beta1.DataType:\0028\001*r\n\010TypeCode\022\031\n\025TYPE" + "_CODE_UNSPECIFIED\020\000\022\013\n\007FLOAT64\020\003\022\r\n\tTIME" + "STAMP\020\004\022\n\n\006STRING\020\006\022\t\n\005ARRAY\020\010\022\n\n\006STRUCT" - + "\020\t\022\014\n\010CATEGORY\020\nB\245\001\n\037com.google.cloud.au" - + "toml.v1beta1P\001ZAgoogle.golang.org/genpro" - + "to/googleapis/cloud/automl/v1beta1;autom" - + "l\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google" - + "::Cloud::AutoML::V1beta1b\006proto3" + + "\020\t\022\014\n\010CATEGORY\020\nB\233\001\n\037com.google.cloud.au" + + "toml.v1beta1P\001Z7cloud.google.com/go/auto" + + "ml/apiv1beta1/automlpb;automlpb\312\002\033Google" + + "\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::A" + + "utoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DatasetOuterClass.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DatasetOuterClass.java index ed353dc4a5e5..81ae776cc928 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DatasetOuterClass.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DatasetOuterClass.java @@ -79,11 +79,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "estamp\022\014\n\004etag\030\021 \001(\t:^\352A[\n\035automl.google" + "apis.com/Dataset\022:projects/{project}/loc" + "ations/{location}/datasets/{dataset}B\022\n\020" - + "dataset_metadataB\245\001\n\037com.google.cloud.au" - + "toml.v1beta1P\001ZAgoogle.golang.org/genpro" - + "to/googleapis/cloud/automl/v1beta1;autom" - + "l\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google" - + "::Cloud::AutoML::V1beta1b\006proto3" + + "dataset_metadataB\233\001\n\037com.google.cloud.au" + + "toml.v1beta1P\001Z7cloud.google.com/go/auto" + + "ml/apiv1beta1/automlpb;automlpb\312\002\033Google" + + "\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::A" + + "utoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Detection.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Detection.java index ad106011325e..eb60cfc5102c 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Detection.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Detection.java @@ -90,11 +90,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Z\n\034bounding_box_metrics_entries\030\004 \003(\01324." + "google.cloud.automl.v1beta1.BoundingBoxM" + "etricsEntry\022+\n#bounding_box_mean_average" - + "_precision\030\006 \001(\002B\245\001\n\037com.google.cloud.au" - + "toml.v1beta1P\001ZAgoogle.golang.org/genpro" - + "to/googleapis/cloud/automl/v1beta1;autom" - + "l\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google" - + "::Cloud::AutoML::V1beta1b\006proto3" + + "_precision\030\006 \001(\002B\233\001\n\037com.google.cloud.au" + + "toml.v1beta1P\001Z7cloud.google.com/go/auto" + + "ml/apiv1beta1/automlpb;automlpb\312\002\033Google" + + "\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::A" + + "utoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Geometry.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Geometry.java index 03ef90c5d15e..b642b29e400d 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Geometry.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Geometry.java @@ -49,11 +49,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "malizedVertex\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"Z\n\014B" + "oundingPoly\022J\n\023normalized_vertices\030\002 \003(\013" + "2-.google.cloud.automl.v1beta1.Normalize" - + "dVertexB\245\001\n\037com.google.cloud.automl.v1be" - + "ta1P\001ZAgoogle.golang.org/genproto/google" - + "apis/cloud/automl/v1beta1;automl\312\002\033Googl" - + "e\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::" - + "AutoML::V1beta1b\006proto3" + + "dVertexB\233\001\n\037com.google.cloud.automl.v1be" + + "ta1P\001Z7cloud.google.com/go/automl/apiv1b" + + "eta1/automlpb;automlpb\312\002\033Google\\Cloud\\Au" + + "toMl\\V1beta1\352\002\036Google::Cloud::AutoML::V1" + + "beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageProto.java index 6f3030ee088a..bd31d5c393cb 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageProto.java @@ -80,12 +80,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "lli_node_hours\030\007 \001(\003\"@\n*ImageClassificat" + "ionModelDeploymentMetadata\022\022\n\nnode_count" + "\030\001 \001(\003\"A\n+ImageObjectDetectionModelDeplo" - + "ymentMetadata\022\022\n\nnode_count\030\001 \001(\003B\261\001\n\037co" + + "ymentMetadata\022\022\n\nnode_count\030\001 \001(\003B\247\001\n\037co" + "m.google.cloud.automl.v1beta1B\nImageProt" - + "oP\001ZAgoogle.golang.org/genproto/googleap" - + "is/cloud/automl/v1beta1;automl\312\002\033Google\\" - + "Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::Au" - + "toML::V1beta1b\006proto3" + + "oP\001Z7cloud.google.com/go/automl/apiv1bet" + + "a1/automlpb;automlpb\312\002\033Google\\Cloud\\Auto" + + "Ml\\V1beta1\352\002\036Google::Cloud::AutoML::V1be" + + "ta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Io.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Io.java index 0b3931bc4875..7f94355f2fe0 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Io.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Io.java @@ -133,11 +133,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ri\030\001 \001(\t\"+\n\016GcsDestination\022\031\n\021output_uri" + "_prefix\030\001 \001(\t\")\n\023BigQueryDestination\022\022\n\n" + "output_uri\030\001 \001(\t\"$\n\016GcrDestination\022\022\n\nou" - + "tput_uri\030\001 \001(\tB\245\001\n\037com.google.cloud.auto" - + "ml.v1beta1P\001ZAgoogle.golang.org/genproto" - + "/googleapis/cloud/automl/v1beta1;automl\312" - + "\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google::" - + "Cloud::AutoML::V1beta1b\006proto3" + + "tput_uri\030\001 \001(\tB\233\001\n\037com.google.cloud.auto" + + "ml.v1beta1P\001Z7cloud.google.com/go/automl" + + "/apiv1beta1/automlpb;automlpb\312\002\033Google\\C" + + "loud\\AutoMl\\V1beta1\352\002\036Google::Cloud::Aut" + + "oML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOuterClass.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOuterClass.java index 1e4e05c72d6b..65f7913774f7 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOuterClass.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOuterClass.java @@ -78,12 +78,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\207\001\352A\203\001\n%automl.googleapis.com/ModelEvalu" + "ation\022Zprojects/{project}/locations/{loc" + "ation}/models/{model}/modelEvaluations/{" - + "model_evaluation}B\t\n\007metricsB\245\001\n\037com.goo" - + "gle.cloud.automl.v1beta1P\001ZAgoogle.golan" - + "g.org/genproto/googleapis/cloud/automl/v" - + "1beta1;automl\312\002\033Google\\Cloud\\AutoMl\\V1be" - + "ta1\352\002\036Google::Cloud::AutoML::V1beta1b\006pr" - + "oto3" + + "model_evaluation}B\t\n\007metricsB\233\001\n\037com.goo" + + "gle.cloud.automl.v1beta1P\001Z7cloud.google" + + ".com/go/automl/apiv1beta1/automlpb;autom" + + "lpb\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Goog" + + "le::Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOuterClass.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOuterClass.java index e607c9356c91..86cf9f77f159 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOuterClass.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOuterClass.java @@ -82,11 +82,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020\000\022\014\n\010DEPLOYED\020\001\022\016\n\nUNDEPLOYED\020\002:X\352AU\n\033a" + "utoml.googleapis.com/Model\0226projects/{pr" + "oject}/locations/{location}/models/{mode" - + "l}B\020\n\016model_metadataB\245\001\n\037com.google.clou" - + "d.automl.v1beta1P\001ZAgoogle.golang.org/ge" - + "nproto/googleapis/cloud/automl/v1beta1;a" - + "utoml\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Go" - + "ogle::Cloud::AutoML::V1beta1b\006proto3" + + "l}B\020\n\016model_metadataB\233\001\n\037com.google.clou" + + "d.automl.v1beta1P\001Z7cloud.google.com/go/" + + "automl/apiv1beta1/automlpb;automlpb\312\002\033Go" + + "ogle\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Clou" + + "d::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Operations.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Operations.java index 5fa7acd68e17..40dadf343524 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Operations.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Operations.java @@ -153,11 +153,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "valuatedExamplesOperationMetadata.Export" + "EvaluatedExamplesOutputInfo\032D\n!ExportEva" + "luatedExamplesOutputInfo\022\037\n\027bigquery_out" - + "put_dataset\030\002 \001(\tB\245\001\n\037com.google.cloud.a" - + "utoml.v1beta1P\001ZAgoogle.golang.org/genpr" - + "oto/googleapis/cloud/automl/v1beta1;auto" - + "ml\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Googl" - + "e::Cloud::AutoML::V1beta1b\006proto3" + + "put_dataset\030\002 \001(\tB\233\001\n\037com.google.cloud.a" + + "utoml.v1beta1P\001Z7cloud.google.com/go/aut" + + "oml/apiv1beta1/automlpb;automlpb\312\002\033Googl" + + "e\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::" + + "AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java index 6e6131562624..28b5831259e9 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java @@ -118,12 +118,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "put_config,output_config,params\312A\'\n\022Batc" + "hPredictResult\022\021OperationMetadata\032I\312A\025au" + "toml.googleapis.com\322A.https://www.google" - + "apis.com/auth/cloud-platformB\275\001\n\037com.goo" + + "apis.com/auth/cloud-platformB\263\001\n\037com.goo" + "gle.cloud.automl.v1beta1B\026PredictionServ" - + "iceProtoP\001ZAgoogle.golang.org/genproto/g" - + "oogleapis/cloud/automl/v1beta1;automl\312\002\033" - + "Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cl" - + "oud::AutoML::V1beta1b\006proto3" + + "iceProtoP\001Z7cloud.google.com/go/automl/a" + + "piv1beta1/automlpb;automlpb\312\002\033Google\\Clo" + + "ud\\AutoMl\\V1beta1\352\002\036Google::Cloud::AutoM" + + "L::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RangesProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RangesProto.java index 072db3c70650..f12be0679805 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RangesProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RangesProto.java @@ -42,12 +42,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n(google/cloud/automl/v1beta1/ranges.pro" + "to\022\033google.cloud.automl.v1beta1\")\n\013Doubl" - + "eRange\022\r\n\005start\030\001 \001(\001\022\013\n\003end\030\002 \001(\001B\262\001\n\037c" + + "eRange\022\r\n\005start\030\001 \001(\001\022\013\n\003end\030\002 \001(\001B\250\001\n\037c" + "om.google.cloud.automl.v1beta1B\013RangesPr" - + "otoP\001ZAgoogle.golang.org/genproto/google" - + "apis/cloud/automl/v1beta1;automl\312\002\033Googl" - + "e\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::" - + "AutoML::V1beta1b\006proto3" + + "otoP\001Z7cloud.google.com/go/automl/apiv1b" + + "eta1/automlpb;automlpb\312\002\033Google\\Cloud\\Au" + + "toMl\\V1beta1\352\002\036Google::Cloud::AutoML::V1" + + "beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RegressionProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RegressionProto.java index 73d1a8e94a0b..672103ae70d8 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RegressionProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RegressionProto.java @@ -1051,12 +1051,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_squared_error\030\001 \001(\002\022\033\n\023mean_absolute_er" + "ror\030\002 \001(\002\022&\n\036mean_absolute_percentage_er" + "ror\030\003 \001(\002\022\021\n\tr_squared\030\004 \001(\002\022#\n\033root_mea" - + "n_squared_log_error\030\005 \001(\002B\264\001\n\037com.google" - + ".cloud.automl.v1beta1B\017RegressionProtoZA" - + "google.golang.org/genproto/googleapis/cl" - + "oud/automl/v1beta1;automl\312\002\033Google\\Cloud" - + "\\AutoMl\\V1beta1\352\002\036Google::Cloud::AutoML:" - + ":V1beta1b\006proto3" + + "n_squared_log_error\030\005 \001(\002B\252\001\n\037com.google" + + ".cloud.automl.v1beta1B\017RegressionProtoZ7" + + "cloud.google.com/go/automl/apiv1beta1/au" + + "tomlpb;automlpb\312\002\033Google\\Cloud\\AutoMl\\V1" + + "beta1\352\002\036Google::Cloud::AutoML::V1beta1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOuterClass.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOuterClass.java index 93da158b8dd5..b408691cc513 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOuterClass.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOuterClass.java @@ -51,11 +51,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "utConfig\022\014\n\004etag\030\006 \001(\t:x\352Au\n\037automl.goog" + "leapis.com/TableSpec\022Rprojects/{project}" + "/locations/{location}/datasets/{dataset}" - + "/tableSpecs/{table_spec}B\245\001\n\037com.google." - + "cloud.automl.v1beta1P\001ZAgoogle.golang.or" - + "g/genproto/googleapis/cloud/automl/v1bet" - + "a1;automl\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352" - + "\002\036Google::Cloud::AutoML::V1beta1b\006proto3" + + "/tableSpecs/{table_spec}B\233\001\n\037com.google." + + "cloud.automl.v1beta1P\001Z7cloud.google.com" + + "/go/automl/apiv1beta1/automlpb;automlpb\312" + + "\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google::" + + "Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Tables.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Tables.java index 46a9b3e4d891..bbcb555d356a 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Tables.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Tables.java @@ -100,12 +100,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "blesModelColumnInfo\022\026\n\016baseline_score\030\005 " + "\001(\002\"j\n\025TablesModelColumnInfo\022\030\n\020column_s" + "pec_name\030\001 \001(\t\022\033\n\023column_display_name\030\002 " - + "\001(\t\022\032\n\022feature_importance\030\003 \001(\002B\245\001\n\037com." - + "google.cloud.automl.v1beta1P\001ZAgoogle.go" - + "lang.org/genproto/googleapis/cloud/autom" - + "l/v1beta1;automl\312\002\033Google\\Cloud\\AutoMl\\V" - + "1beta1\352\002\036Google::Cloud::AutoML::V1beta1b" - + "\006proto3" + + "\001(\t\022\032\n\022feature_importance\030\003 \001(\002B\233\001\n\037com." + + "google.cloud.automl.v1beta1P\001Z7cloud.goo" + + "gle.com/go/automl/apiv1beta1/automlpb;au" + + "tomlpb\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036G" + + "oogle::Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Temporal.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Temporal.java index 62f54c9ab4be..7797bd2f7384 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Temporal.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Temporal.java @@ -45,12 +45,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e/protobuf/duration.proto\"w\n\013TimeSegment" + "\0224\n\021start_time_offset\030\001 \001(\0132\031.google.pro" + "tobuf.Duration\0222\n\017end_time_offset\030\002 \001(\0132" - + "\031.google.protobuf.DurationB\245\001\n\037com.googl" - + "e.cloud.automl.v1beta1P\001ZAgoogle.golang." - + "org/genproto/googleapis/cloud/automl/v1b" - + "eta1;automl\312\002\033Google\\Cloud\\AutoMl\\V1beta" - + "1\352\002\036Google::Cloud::AutoML::V1beta1b\006prot" - + "o3" + + "\031.google.protobuf.DurationB\233\001\n\037com.googl" + + "e.cloud.automl.v1beta1P\001Z7cloud.google.c" + + "om/go/automl/apiv1beta1/automlpb;automlp" + + "b\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google" + + "::Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtraction.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtraction.java index 33ffca758376..94b12819e9ff 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtraction.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtraction.java @@ -61,11 +61,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s.ConfidenceMetricsEntry\032k\n\026ConfidenceMe" + "tricsEntry\022\034\n\024confidence_threshold\030\001 \001(\002" + "\022\016\n\006recall\030\003 \001(\002\022\021\n\tprecision\030\004 \001(\002\022\020\n\010f" - + "1_score\030\005 \001(\002B\245\001\n\037com.google.cloud.autom" - + "l.v1beta1P\001ZAgoogle.golang.org/genproto/" - + "googleapis/cloud/automl/v1beta1;automl\312\002" - + "\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google::C" - + "loud::AutoML::V1beta1b\006proto3" + + "1_score\030\005 \001(\002B\233\001\n\037com.google.cloud.autom" + + "l.v1beta1P\001Z7cloud.google.com/go/automl/" + + "apiv1beta1/automlpb;automlpb\312\002\033Google\\Cl" + + "oud\\AutoMl\\V1beta1\352\002\036Google::Cloud::Auto" + + "ML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java index 7c11d2a86e4d..fdf57d1ecee6 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java @@ -72,12 +72,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ctionDatasetMetadata\"1\n\033TextExtractionMo" + "delMetadata\022\022\n\nmodel_hint\030\003 \001(\t\"5\n\034TextS" + "entimentDatasetMetadata\022\025\n\rsentiment_max" - + "\030\001 \001(\005\"\034\n\032TextSentimentModelMetadataB\260\001\n" + + "\030\001 \001(\005\"\034\n\032TextSentimentModelMetadataB\246\001\n" + "\037com.google.cloud.automl.v1beta1B\tTextPr" - + "otoP\001ZAgoogle.golang.org/genproto/google" - + "apis/cloud/automl/v1beta1;automl\312\002\033Googl" - + "e\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::" - + "AutoML::V1beta1b\006proto3" + + "otoP\001Z7cloud.google.com/go/automl/apiv1b" + + "eta1/automlpb;automlpb\312\002\033Google\\Cloud\\Au" + + "toMl\\V1beta1\352\002\036Google::Cloud::AutoML::V1" + + "beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSegmentProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSegmentProto.java index d78d4a5c5925..f151350e7d3b 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSegmentProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSegmentProto.java @@ -43,12 +43,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n.google/cloud/automl/v1beta1/text_segme" + "nt.proto\022\033google.cloud.automl.v1beta1\"H\n" + "\013TextSegment\022\017\n\007content\030\003 \001(\t\022\024\n\014start_o" - + "ffset\030\001 \001(\003\022\022\n\nend_offset\030\002 \001(\003B\267\001\n\037com." + + "ffset\030\001 \001(\003\022\022\n\nend_offset\030\002 \001(\003B\255\001\n\037com." + "google.cloud.automl.v1beta1B\020TextSegment" - + "ProtoP\001ZAgoogle.golang.org/genproto/goog" - + "leapis/cloud/automl/v1beta1;automl\312\002\033Goo" - + "gle\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud" - + "::AutoML::V1beta1b\006proto3" + + "ProtoP\001Z7cloud.google.com/go/automl/apiv" + + "1beta1/automlpb;automlpb\312\002\033Google\\Cloud\\" + + "AutoMl\\V1beta1\352\002\036Google::Cloud::AutoML::" + + "V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentProto.java index 8c237eef2be0..adcbee43902b 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentProto.java @@ -2723,12 +2723,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "a\030\007 \001(\002\022f\n\020confusion_matrix\030\010 \001(\0132L.goog" + "le.cloud.automl.v1beta1.ClassificationEv" + "aluationMetrics.ConfusionMatrix\022\036\n\022annot" - + "ation_spec_id\030\t \003(\tB\002\030\001B\267\001\n\037com.google.c" + + "ation_spec_id\030\t \003(\tB\002\030\001B\255\001\n\037com.google.c" + "loud.automl.v1beta1B\022TextSentimentProtoZ" - + "Agoogle.golang.org/genproto/googleapis/c" - + "loud/automl/v1beta1;automl\312\002\033Google\\Clou" - + "d\\AutoMl\\V1beta1\352\002\036Google::Cloud::AutoML" - + "::V1beta1b\006proto3" + + "7cloud.google.com/go/automl/apiv1beta1/a" + + "utomlpb;automlpb\312\002\033Google\\Cloud\\AutoMl\\V" + + "1beta1\352\002\036Google::Cloud::AutoML::V1beta1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationProto.java index fbe584c89f2a..66105b711df9 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationProto.java @@ -65,12 +65,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "code\030\002 \001(\t\022\034\n\024target_language_code\030\003 \001(\t" + "\"]\n\025TranslationAnnotation\022D\n\022translated_" + "content\030\001 \001(\0132(.google.cloud.automl.v1be" - + "ta1.TextSnippetB\267\001\n\037com.google.cloud.aut" - + "oml.v1beta1B\020TranslationProtoP\001ZAgoogle." - + "golang.org/genproto/googleapis/cloud/aut" - + "oml/v1beta1;automl\312\002\033Google\\Cloud\\AutoMl" - + "\\V1beta1\352\002\036Google::Cloud::AutoML::V1beta" - + "1b\006proto3" + + "ta1.TextSnippetB\255\001\n\037com.google.cloud.aut" + + "oml.v1beta1B\020TranslationProtoP\001Z7cloud.g" + + "oogle.com/go/automl/apiv1beta1/automlpb;" + + "automlpb\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002" + + "\036Google::Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoProto.java b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoProto.java index 7aa0a75847f2..80ba16a79054 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoProto.java +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoProto.java @@ -58,12 +58,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"$\n\"VideoClassificationDatasetMetadata\"$" + "\n\"VideoObjectTrackingDatasetMetadata\"\"\n " + "VideoClassificationModelMetadata\"\"\n Vide" - + "oObjectTrackingModelMetadataB\261\001\n\037com.goo" - + "gle.cloud.automl.v1beta1B\nVideoProtoP\001ZA" - + "google.golang.org/genproto/googleapis/cl" - + "oud/automl/v1beta1;automl\312\002\033Google\\Cloud" - + "\\AutoMl\\V1beta1\352\002\036Google::Cloud::AutoML:" - + ":V1beta1b\006proto3" + + "oObjectTrackingModelMetadataB\247\001\n\037com.goo" + + "gle.cloud.automl.v1beta1B\nVideoProtoP\001Z7" + + "cloud.google.com/go/automl/apiv1beta1/au" + + "tomlpb;automlpb\312\002\033Google\\Cloud\\AutoMl\\V1" + + "beta1\352\002\036Google::Cloud::AutoML::V1beta1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_payload.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_payload.proto index b01aa2c20a5e..5794c2391deb 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_payload.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_payload.proto @@ -23,7 +23,7 @@ import "google/cloud/automl/v1beta1/text_extraction.proto"; import "google/cloud/automl/v1beta1/text_sentiment.proto"; import "google/cloud/automl/v1beta1/translation.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_spec.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_spec.proto index 713c355b1375..4072ddde458a 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_spec.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_spec.proto @@ -18,7 +18,7 @@ package google.cloud.automl.v1beta1; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto index 555de30ca04f..7a1b83a286c5 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto @@ -18,7 +18,7 @@ package google.cloud.automl.v1beta1; import "google/cloud/automl/v1beta1/temporal.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_outer_classname = "ClassificationProto"; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto index 97c97d9f26f6..3d15fb51f849 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/cloud/automl/v1beta1/data_stats.proto"; import "google/cloud/automl/v1beta1/data_types.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto index 7bc10a7497de..2eb45f2d5ff6 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto @@ -22,7 +22,7 @@ import "google/cloud/automl/v1beta1/temporal.proto"; import "google/cloud/automl/v1beta1/text_segment.proto"; import "google/protobuf/struct.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_stats.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_stats.proto index 64229e65c719..8c2c2fe2a225 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_stats.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_stats.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.automl.v1beta1; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto index d9ba570d60ce..72ac65dd340b 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.automl.v1beta1; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/dataset.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/dataset.proto index a26e296065ab..22d7f9a6adc5 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/dataset.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/dataset.proto @@ -24,7 +24,7 @@ import "google/cloud/automl/v1beta1/translation.proto"; import "google/cloud/automl/v1beta1/video.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto index e651d9f24eb7..38240dd6e924 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto @@ -19,7 +19,7 @@ package google.cloud.automl.v1beta1; import "google/cloud/automl/v1beta1/geometry.proto"; import "google/protobuf/duration.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/geometry.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/geometry.proto index 68e0f5bddd99..067ac00aaadf 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/geometry.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/geometry.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.automl.v1beta1; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto index 72f687119169..56401228e858 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto @@ -19,7 +19,7 @@ package google.cloud.automl.v1beta1; import "google/cloud/automl/v1beta1/annotation_spec.proto"; import "google/cloud/automl/v1beta1/classification.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_outer_classname = "ImageProto"; option java_package = "com.google.cloud.automl.v1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto index 249ec40135d9..04808d74acba 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.automl.v1beta1; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto index 2aca218268d4..9db5e4866e77 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto @@ -24,7 +24,7 @@ import "google/cloud/automl/v1beta1/translation.proto"; import "google/cloud/automl/v1beta1/video.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto index de0e89700c38..91801bd36fb3 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto @@ -26,7 +26,7 @@ import "google/cloud/automl/v1beta1/text_sentiment.proto"; import "google/cloud/automl/v1beta1/translation.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto index 399d75ce7d7c..f75e48d14c72 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto @@ -22,7 +22,7 @@ import "google/cloud/automl/v1beta1/model_evaluation.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto index 0bcf685e0557..28148a576e39 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto @@ -26,7 +26,7 @@ import "google/cloud/automl/v1beta1/io.proto"; import "google/cloud/automl/v1beta1/operations.proto"; import "google/longrunning/operations.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_outer_classname = "PredictionServiceProto"; option java_package = "com.google.cloud.automl.v1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/ranges.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/ranges.proto index 7adcd61ba5d6..35ebb569a118 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/ranges.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/ranges.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.automl.v1beta1; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_outer_classname = "RangesProto"; option java_package = "com.google.cloud.automl.v1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/regression.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/regression.proto index d14b0f0efe6a..3c6b269a6be8 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/regression.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/regression.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.automl.v1beta1; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_outer_classname = "RegressionProto"; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto index 9a572dd2a042..f4ac32315f9b 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto @@ -33,7 +33,7 @@ import "google/cloud/automl/v1beta1/table_spec.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_outer_classname = "AutoMlProto"; option java_package = "com.google.cloud.automl.v1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto index 1e451a4c1b89..de1f7a09c13d 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto @@ -19,7 +19,7 @@ package google.cloud.automl.v1beta1; import "google/api/resource.proto"; import "google/cloud/automl/v1beta1/io.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto index 4db55346809e..34ea99b306ad 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto @@ -26,7 +26,7 @@ import "google/cloud/automl/v1beta1/temporal.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/temporal.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/temporal.proto index c560acff9f60..55bb231d0fc5 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/temporal.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/temporal.proto @@ -18,7 +18,7 @@ package google.cloud.automl.v1beta1; import "google/protobuf/duration.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto index 89cb6efe4dba..b93376ec3384 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto @@ -18,7 +18,7 @@ package google.cloud.automl.v1beta1; import "google/cloud/automl/v1beta1/classification.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_outer_classname = "TextProto"; option java_package = "com.google.cloud.automl.v1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_extraction.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_extraction.proto index 0f004ad8c909..61afd54388d3 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_extraction.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_extraction.proto @@ -18,7 +18,7 @@ package google.cloud.automl.v1beta1; import "google/cloud/automl/v1beta1/text_segment.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_segment.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_segment.proto index d2de26258a33..451279c44616 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_segment.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_segment.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.automl.v1beta1; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_outer_classname = "TextSegmentProto"; option java_package = "com.google.cloud.automl.v1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_sentiment.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_sentiment.proto index be68e12be87a..a5b2c005e958 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_sentiment.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_sentiment.proto @@ -18,7 +18,7 @@ package google.cloud.automl.v1beta1; import "google/cloud/automl/v1beta1/classification.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_outer_classname = "TextSentimentProto"; option java_package = "com.google.cloud.automl.v1beta1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/translation.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/translation.proto index cb8463f1a71e..7aefb42bb824 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/translation.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/translation.proto @@ -19,7 +19,7 @@ package google.cloud.automl.v1beta1; import "google/api/field_behavior.proto"; import "google/cloud/automl/v1beta1/data_items.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_outer_classname = "TranslationProto"; option java_package = "com.google.cloud.automl.v1beta1"; diff --git a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/video.proto b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/video.proto index 4e96edd506ad..872adb8045ac 100644 --- a/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/video.proto +++ b/java-automl/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/video.proto @@ -18,7 +18,7 @@ package google.cloud.automl.v1beta1; import "google/cloud/automl/v1beta1/classification.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; +option go_package = "cloud.google.com/go/automl/apiv1beta1/automlpb;automlpb"; option java_multiple_files = true; option java_outer_classname = "VideoProto"; option java_package = "com.google.cloud.automl.v1beta1"; diff --git a/java-bare-metal-solution/README.md b/java-bare-metal-solution/README.md index 5c3bd4763f41..ac5e12dc4978 100644 --- a/java-bare-metal-solution/README.md +++ b/java-bare-metal-solution/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-bare-metal-solution - 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-bare-metal-solution:0.8.0' +implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.9.0" ``` ## Authentication diff --git a/java-bare-metal-solution/google-cloud-bare-metal-solution-bom/pom.xml b/java-bare-metal-solution/google-cloud-bare-metal-solution-bom/pom.xml index 451d4d50514b..47f7fd184747 100644 --- a/java-bare-metal-solution/google-cloud-bare-metal-solution-bom/pom.xml +++ b/java-bare-metal-solution/google-cloud-bare-metal-solution-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-bare-metal-solution-bom - 0.9.0 + 0.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-bare-metal-solution - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-bare-metal-solution-v2 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-bare-metal-solution-v2 - 0.9.0 + 0.10.0 diff --git a/java-bare-metal-solution/google-cloud-bare-metal-solution/pom.xml b/java-bare-metal-solution/google-cloud-bare-metal-solution/pom.xml index d1d27f407282..150199ccd9a3 100644 --- a/java-bare-metal-solution/google-cloud-bare-metal-solution/pom.xml +++ b/java-bare-metal-solution/google-cloud-bare-metal-solution/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-bare-metal-solution - 0.9.0 + 0.10.0 jar Google Bare Metal SOlution Bare Metal SOlution Bring your Oracle workloads to Google Cloud with Bare Metal Solution and jumpstart your cloud journey with minimal risk. com.google.cloud google-cloud-bare-metal-solution-parent - 0.9.0 + 0.10.0 google-cloud-bare-metal-solution diff --git a/java-bare-metal-solution/grpc-google-cloud-bare-metal-solution-v2/pom.xml b/java-bare-metal-solution/grpc-google-cloud-bare-metal-solution-v2/pom.xml index 5ce0237dd955..2565e479665f 100644 --- a/java-bare-metal-solution/grpc-google-cloud-bare-metal-solution-v2/pom.xml +++ b/java-bare-metal-solution/grpc-google-cloud-bare-metal-solution-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bare-metal-solution-v2 - 0.9.0 + 0.10.0 grpc-google-cloud-bare-metal-solution-v2 GRPC library for google-cloud-bare-metal-solution com.google.cloud google-cloud-bare-metal-solution-parent - 0.9.0 + 0.10.0 diff --git a/java-bare-metal-solution/pom.xml b/java-bare-metal-solution/pom.xml index e21eedbb8d30..25ed5d14fac2 100644 --- a/java-bare-metal-solution/pom.xml +++ b/java-bare-metal-solution/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bare-metal-solution-parent pom - 0.9.0 + 0.10.0 Google Bare Metal SOlution Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-bare-metal-solution - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-bare-metal-solution-v2 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-bare-metal-solution-v2 - 0.9.0 + 0.10.0 diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/pom.xml b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/pom.xml index 7c5db9a1ad9d..eeb825e42573 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/pom.xml +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bare-metal-solution-v2 - 0.9.0 + 0.10.0 proto-google-cloud-bare-metal-solution-v2 Proto library for google-cloud-bare-metal-solution com.google.cloud google-cloud-bare-metal-solution-parent - 0.9.0 + 0.10.0 diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionProto.java b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionProto.java index 679c48241ef3..6f5facb6898b 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionProto.java +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/BareMetalSolutionProto.java @@ -168,14 +168,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e,update_mask\312A\035\n\010NfsShare\022\021OperationMet" + "adata\032T\312A baremetalsolution.googleapis.c" + "om\322A.https://www.googleapis.com/auth/clo" - + "ud-platformB\204\002\n%com.google.cloud.baremet" + + "ud-platformB\205\002\n%com.google.cloud.baremet" + "alsolution.v2B\026BareMetalSolutionProtoP\001Z" - + "Rgoogle.golang.org/genproto/googleapis/c" - + "loud/baremetalsolution/v2;baremetalsolut" - + "ion\252\002!Google.Cloud.BareMetalSolution.V2\312" - + "\002!Google\\Cloud\\BareMetalSolution\\V2\352\002$Go" - + "ogle::Cloud::BareMetalSolution::V2b\006prot" - + "o3" + + "Scloud.google.com/go/baremetalsolution/a" + + "piv2/baremetalsolutionpb;baremetalsoluti" + + "onpb\252\002!Google.Cloud.BareMetalSolution.V2" + + "\312\002!Google\\Cloud\\BareMetalSolution\\V2\352\002$G" + + "oogle::Cloud::BareMetalSolution::V2b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/InstanceProto.java b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/InstanceProto.java index 7b9b6d44b6a3..83a452dc31b5 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/InstanceProto.java +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/InstanceProto.java @@ -161,13 +161,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "projects/{project}/locations/{location}/" + "serverNetworkTemplate/{server_network_te" + "mplate}\"\027\n\025StartInstanceResponse\"\026\n\024Stop" - + "InstanceResponseB\373\001\n%com.google.cloud.ba" - + "remetalsolution.v2B\rInstanceProtoP\001ZRgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/baremetalsolution/v2;baremetalsolution\252" - + "\002!Google.Cloud.BareMetalSolution.V2\312\002!Go" - + "ogle\\Cloud\\BareMetalSolution\\V2\352\002$Google" - + "::Cloud::BareMetalSolution::V2b\006proto3" + + "InstanceResponseB\374\001\n%com.google.cloud.ba" + + "remetalsolution.v2B\rInstanceProtoP\001ZSclo" + + "ud.google.com/go/baremetalsolution/apiv2" + + "/baremetalsolutionpb;baremetalsolutionpb" + + "\252\002!Google.Cloud.BareMetalSolution.V2\312\002!G" + + "oogle\\Cloud\\BareMetalSolution\\V2\352\002$Googl" + + "e::Cloud::BareMetalSolution::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/LunProto.java b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/LunProto.java index 94372e2d62ab..ed535fdea426 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/LunProto.java +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/LunProto.java @@ -81,14 +81,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"v\n\020ListLunsRe" + "sponse\0224\n\004luns\030\001 \003(\0132&.google.cloud.bare" + "metalsolution.v2.Lun\022\027\n\017next_page_token\030" - + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\tB\366\001\n%com.googl" + + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\tB\367\001\n%com.googl" + "e.cloud.baremetalsolution.v2B\010LunProtoP\001" - + "ZRgoogle.golang.org/genproto/googleapis/" - + "cloud/baremetalsolution/v2;baremetalsolu" - + "tion\252\002!Google.Cloud.BareMetalSolution.V2" - + "\312\002!Google\\Cloud\\BareMetalSolution\\V2\352\002$G" - + "oogle::Cloud::BareMetalSolution::V2b\006pro" - + "to3" + + "ZScloud.google.com/go/baremetalsolution/" + + "apiv2/baremetalsolutionpb;baremetalsolut" + + "ionpb\252\002!Google.Cloud.BareMetalSolution.V" + + "2\312\002!Google\\Cloud\\BareMetalSolution\\V2\352\002$" + + "Google::Cloud::BareMetalSolution::V2b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/NetworkProto.java b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/NetworkProto.java index 06274bd3d6b9..eecfb200d2c6 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/NetworkProto.java +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/NetworkProto.java @@ -159,14 +159,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cation\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap" + "is.com/Location\"]\n\030ListNetworkUsageRespo" + "nse\022A\n\010networks\030\001 \003(\0132/.google.cloud.bar" - + "emetalsolution.v2.NetworkUsageB\372\001\n%com.g" + + "emetalsolution.v2.NetworkUsageB\373\001\n%com.g" + "oogle.cloud.baremetalsolution.v2B\014Networ" - + "kProtoP\001ZRgoogle.golang.org/genproto/goo" - + "gleapis/cloud/baremetalsolution/v2;barem" - + "etalsolution\252\002!Google.Cloud.BareMetalSol" - + "ution.V2\312\002!Google\\Cloud\\BareMetalSolutio" - + "n\\V2\352\002$Google::Cloud::BareMetalSolution:" - + ":V2b\006proto3" + + "kProtoP\001ZScloud.google.com/go/baremetals" + + "olution/apiv2/baremetalsolutionpb;bareme" + + "talsolutionpb\252\002!Google.Cloud.BareMetalSo" + + "lution.V2\312\002!Google\\Cloud\\BareMetalSoluti" + + "on\\V2\352\002$Google::Cloud::BareMetalSolution" + + "::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/NfsShareProto.java b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/NfsShareProto.java index b476bccfc6d1..24bdb57bc041 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/NfsShareProto.java +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/NfsShareProto.java @@ -104,13 +104,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "est\022C\n\tnfs_share\030\001 \001(\0132+.google.cloud.ba" + "remetalsolution.v2.NfsShareB\003\340A\002\022/\n\013upda" + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "kB\373\001\n%com.google.cloud.baremetalsolution" - + ".v2B\rNfsShareProtoP\001ZRgoogle.golang.org/" - + "genproto/googleapis/cloud/baremetalsolut" - + "ion/v2;baremetalsolution\252\002!Google.Cloud." - + "BareMetalSolution.V2\312\002!Google\\Cloud\\Bare" - + "MetalSolution\\V2\352\002$Google::Cloud::BareMe" - + "talSolution::V2b\006proto3" + + "kB\374\001\n%com.google.cloud.baremetalsolution" + + ".v2B\rNfsShareProtoP\001ZScloud.google.com/g" + + "o/baremetalsolution/apiv2/baremetalsolut" + + "ionpb;baremetalsolutionpb\252\002!Google.Cloud" + + ".BareMetalSolution.V2\312\002!Google\\Cloud\\Bar" + + "eMetalSolution\\V2\352\002$Google::Cloud::BareM" + + "etalSolution::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/VolumeProto.java b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/VolumeProto.java index 0ec60b4a6697..8340f9dad792 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/VolumeProto.java +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/java/com/google/cloud/baremetalsolution/v2/VolumeProto.java @@ -118,13 +118,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "buf.FieldMask\"h\n\023ResizeVolumeRequest\022?\n\006" + "volume\030\001 \001(\tB/\340A\002\372A)\n\'baremetalsolution." + "googleapis.com/Volume\022\020\n\010size_gib\030\002 \001(\003B" - + "\371\001\n%com.google.cloud.baremetalsolution.v" - + "2B\013VolumeProtoP\001ZRgoogle.golang.org/genp" - + "roto/googleapis/cloud/baremetalsolution/" - + "v2;baremetalsolution\252\002!Google.Cloud.Bare" - + "MetalSolution.V2\312\002!Google\\Cloud\\BareMeta" - + "lSolution\\V2\352\002$Google::Cloud::BareMetalS" - + "olution::V2b\006proto3" + + "\372\001\n%com.google.cloud.baremetalsolution.v" + + "2B\013VolumeProtoP\001ZScloud.google.com/go/ba" + + "remetalsolution/apiv2/baremetalsolutionp" + + "b;baremetalsolutionpb\252\002!Google.Cloud.Bar" + + "eMetalSolution.V2\312\002!Google\\Cloud\\BareMet" + + "alSolution\\V2\352\002$Google::Cloud::BareMetal" + + "Solution::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/baremetalsolution.proto b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/baremetalsolution.proto index 87e0f8d5b3a2..975145b63f80 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/baremetalsolution.proto +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/baremetalsolution.proto @@ -28,7 +28,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BareMetalSolution.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/baremetalsolution/v2;baremetalsolution"; +option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb"; option java_multiple_files = true; option java_outer_classname = "BareMetalSolutionProto"; option java_package = "com.google.cloud.baremetalsolution.v2"; diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/instance.proto b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/instance.proto index 49105bd8ca14..364029ee6ff0 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/instance.proto +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/instance.proto @@ -24,7 +24,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BareMetalSolution.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/baremetalsolution/v2;baremetalsolution"; +option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb"; option java_multiple_files = true; option java_outer_classname = "InstanceProto"; option java_package = "com.google.cloud.baremetalsolution.v2"; diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/lun.proto b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/lun.proto index c165a5030812..11bcf7466087 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/lun.proto +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/lun.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.BareMetalSolution.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/baremetalsolution/v2;baremetalsolution"; +option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb"; option java_multiple_files = true; option java_outer_classname = "LunProto"; option java_package = "com.google.cloud.baremetalsolution.v2"; diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/network.proto b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/network.proto index 3f240de01ba2..e46eab9af15d 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/network.proto +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/network.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.BareMetalSolution.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/baremetalsolution/v2;baremetalsolution"; +option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb"; option java_multiple_files = true; option java_outer_classname = "NetworkProto"; option java_package = "com.google.cloud.baremetalsolution.v2"; diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/nfs_share.proto b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/nfs_share.proto index 29d2a808dddf..f8a63e8e5cc8 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/nfs_share.proto +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/nfs_share.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.BareMetalSolution.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/baremetalsolution/v2;baremetalsolution"; +option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb"; option java_multiple_files = true; option java_outer_classname = "NfsShareProto"; option java_package = "com.google.cloud.baremetalsolution.v2"; diff --git a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/volume.proto b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/volume.proto index 39d66f9ceed8..8920a6f153d2 100644 --- a/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/volume.proto +++ b/java-bare-metal-solution/proto-google-cloud-bare-metal-solution-v2/src/main/proto/google/cloud/baremetalsolution/v2/volume.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.BareMetalSolution.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/baremetalsolution/v2;baremetalsolution"; +option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb"; option java_multiple_files = true; option java_outer_classname = "VolumeProto"; option java_package = "com.google.cloud.baremetalsolution.v2"; diff --git a/java-batch/README.md b/java-batch/README.md index c0014b71b612..673b29d42888 100644 --- a/java-batch/README.md +++ b/java-batch/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-batch - 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-batch:0.8.0' +implementation 'com.google.cloud:google-cloud-batch:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.9.0" ``` ## Authentication diff --git a/java-batch/google-cloud-batch-bom/pom.xml b/java-batch/google-cloud-batch-bom/pom.xml index fee0eb3590e2..439eef9016c1 100644 --- a/java-batch/google-cloud-batch-bom/pom.xml +++ b/java-batch/google-cloud-batch-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-batch-bom - 0.9.0 + 0.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-batch - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-batch-v1 - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-batch-v1alpha - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-batch-v1 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-batch-v1alpha - 0.9.0 + 0.10.0 diff --git a/java-batch/google-cloud-batch/pom.xml b/java-batch/google-cloud-batch/pom.xml index 81f04446c525..ac552d32b0fd 100644 --- a/java-batch/google-cloud-batch/pom.xml +++ b/java-batch/google-cloud-batch/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-batch - 0.9.0 + 0.10.0 jar Google Google Cloud Batch Google Cloud Batch n/a com.google.cloud google-cloud-batch-parent - 0.9.0 + 0.10.0 google-cloud-batch diff --git a/java-batch/grpc-google-cloud-batch-v1/pom.xml b/java-batch/grpc-google-cloud-batch-v1/pom.xml index a4adc71c5be9..a00557969cde 100644 --- a/java-batch/grpc-google-cloud-batch-v1/pom.xml +++ b/java-batch/grpc-google-cloud-batch-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-batch-v1 - 0.9.0 + 0.10.0 grpc-google-cloud-batch-v1 GRPC library for google-cloud-batch com.google.cloud google-cloud-batch-parent - 0.9.0 + 0.10.0 diff --git a/java-batch/grpc-google-cloud-batch-v1alpha/pom.xml b/java-batch/grpc-google-cloud-batch-v1alpha/pom.xml index 4c8c16bc7f81..3c7875840ed6 100644 --- a/java-batch/grpc-google-cloud-batch-v1alpha/pom.xml +++ b/java-batch/grpc-google-cloud-batch-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-batch-v1alpha - 0.9.0 + 0.10.0 grpc-google-cloud-batch-v1alpha GRPC library for google-cloud-batch com.google.cloud google-cloud-batch-parent - 0.9.0 + 0.10.0 diff --git a/java-batch/pom.xml b/java-batch/pom.xml index 810e82dfa8cc..f11ebf53b29c 100644 --- a/java-batch/pom.xml +++ b/java-batch/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-batch-parent pom - 0.9.0 + 0.10.0 Google Google Cloud Batch Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-batch - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-batch-v1alpha - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-batch-v1alpha - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-batch-v1 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-batch-v1 - 0.9.0 + 0.10.0 diff --git a/java-batch/proto-google-cloud-batch-v1/pom.xml b/java-batch/proto-google-cloud-batch-v1/pom.xml index bfa2e4cf257a..e8eee4bfcfee 100644 --- a/java-batch/proto-google-cloud-batch-v1/pom.xml +++ b/java-batch/proto-google-cloud-batch-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-batch-v1 - 0.9.0 + 0.10.0 proto-google-cloud-batch-v1 Proto library for google-cloud-batch com.google.cloud google-cloud-batch-parent - 0.9.0 + 0.10.0 diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java index 29db630650c6..f8eef6b0c94f 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java @@ -134,12 +134,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ojects/*/locations/*/jobs/*/taskGroups/*" + "}/tasks\332A\006parent\032H\312A\024batch.googleapis.co" + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformB\266\001\n\031com.google.cloud.batch.v1" - + "B\nBatchProtoP\001Z:google.golang.org/genpro" - + "to/googleapis/cloud/batch/v1;batch\242\002\003GCB" - + "\252\002\025Google.Cloud.Batch.V1\312\002\025Google\\Cloud\\" - + "Batch\\V1\352\002\030Google::Cloud::Batch::V1P\000b\006p" - + "roto3" + + "d-platformB\253\001\n\031com.google.cloud.batch.v1" + + "B\nBatchProtoP\001Z/cloud.google.com/go/batc" + + "h/apiv1/batchpb;batchpb\242\002\003GCB\252\002\025Google.C" + + "loud.Batch.V1\312\002\025Google\\Cloud\\Batch\\V1\352\002\030" + + "Google::Cloud::Batch::V1P\000b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java index f21c18c3aef4..96449c92238c 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java @@ -230,12 +230,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "o\352Al\n\036batch.googleapis.com/TaskGroup\022Jpr" + "ojects/{project}/locations/{location}/jo" + "bs/{job}/taskGroups/{task_group}\"\037\n\016Serv" - + "iceAccount\022\r\n\005email\030\001 \001(\tB\264\001\n\031com.google" - + ".cloud.batch.v1B\010JobProtoP\001Z:google.gola" - + "ng.org/genproto/googleapis/cloud/batch/v" - + "1;batch\242\002\003GCB\252\002\025Google.Cloud.Batch.V1\312\002\025" - + "Google\\Cloud\\Batch\\V1\352\002\030Google::Cloud::B" - + "atch::V1b\006proto3" + + "iceAccount\022\r\n\005email\030\001 \001(\tB\251\001\n\031com.google" + + ".cloud.batch.v1B\010JobProtoP\001Z/cloud.googl" + + "e.com/go/batch/apiv1/batchpb;batchpb\242\002\003G" + + "CB\252\002\025Google.Cloud.Batch.V1\312\002\025Google\\Clou" + + "d\\Batch\\V1\352\002\030Google::Cloud::Batch::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskProto.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskProto.java index 2a5916e50136..5724ec3ec2ea 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskProto.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskProto.java @@ -171,12 +171,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "y_name\030\001 \001(\t\022\023\n\013cipher_text\030\002 \001(\t\0320\n\016Var" + "iablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + "\0028\001\0326\n\024SecretVariablesEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001B\265\001\n\031com.google.cloud" - + ".batch.v1B\tTaskProtoP\001Z:google.golang.or" - + "g/genproto/googleapis/cloud/batch/v1;bat" - + "ch\242\002\003GCB\252\002\025Google.Cloud.Batch.V1\312\002\025Googl" - + "e\\Cloud\\Batch\\V1\352\002\030Google::Cloud::Batch:" - + ":V1b\006proto3" + + "\022\r\n\005value\030\002 \001(\t:\0028\001B\252\001\n\031com.google.cloud" + + ".batch.v1B\tTaskProtoP\001Z/cloud.google.com" + + "/go/batch/apiv1/batchpb;batchpb\242\002\003GCB\252\002\025" + + "Google.Cloud.Batch.V1\312\002\025Google\\Cloud\\Bat" + + "ch\\V1\352\002\030Google::Cloud::Batch::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/VolumeProto.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/VolumeProto.java index fff8999b7ee2..c96252accb6b 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/VolumeProto.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/VolumeProto.java @@ -55,12 +55,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "device_name\030\006 \001(\tH\000\022\022\n\nmount_path\030\004 \001(\t\022" + "\025\n\rmount_options\030\005 \003(\tB\010\n\006source\"*\n\003NFS\022" + "\016\n\006server\030\001 \001(\t\022\023\n\013remote_path\030\002 \001(\t\"\032\n\003" - + "GCS\022\023\n\013remote_path\030\001 \001(\tB\267\001\n\031com.google." - + "cloud.batch.v1B\013VolumeProtoP\001Z:google.go" - + "lang.org/genproto/googleapis/cloud/batch" - + "/v1;batch\242\002\003GCB\252\002\025Google.Cloud.Batch.V1\312" - + "\002\025Google\\Cloud\\Batch\\V1\352\002\030Google::Cloud:" - + ":Batch::V1b\006proto3" + + "GCS\022\023\n\013remote_path\030\001 \001(\tB\254\001\n\031com.google." + + "cloud.batch.v1B\013VolumeProtoP\001Z/cloud.goo" + + "gle.com/go/batch/apiv1/batchpb;batchpb\242\002" + + "\003GCB\252\002\025Google.Cloud.Batch.V1\312\002\025Google\\Cl" + + "oud\\Batch\\V1\352\002\030Google::Cloud::Batch::V1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto index 1877f6fe91ff..9eb8770b8339 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto @@ -28,7 +28,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Batch.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/batch/v1;batch"; +option go_package = "cloud.google.com/go/batch/apiv1/batchpb;batchpb"; option java_multiple_files = true; option java_outer_classname = "BatchProto"; option java_package = "com.google.cloud.batch.v1"; diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto index 8f97f546e19b..c531b4979c55 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto @@ -23,7 +23,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Batch.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/batch/v1;batch"; +option go_package = "cloud.google.com/go/batch/apiv1/batchpb;batchpb"; option java_multiple_files = true; option java_outer_classname = "JobProto"; option java_package = "com.google.cloud.batch.v1"; diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto index 1085bfcb0832..a468c3fcf0e2 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Batch.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/batch/v1;batch"; +option go_package = "cloud.google.com/go/batch/apiv1/batchpb;batchpb"; option java_multiple_files = true; option java_outer_classname = "TaskProto"; option java_package = "com.google.cloud.batch.v1"; diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto index 7b6ebac48fba..77413de823a6 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/volume.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.batch.v1; option csharp_namespace = "Google.Cloud.Batch.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/batch/v1;batch"; +option go_package = "cloud.google.com/go/batch/apiv1/batchpb;batchpb"; option java_multiple_files = true; option java_outer_classname = "VolumeProto"; option java_package = "com.google.cloud.batch.v1"; diff --git a/java-batch/proto-google-cloud-batch-v1alpha/pom.xml b/java-batch/proto-google-cloud-batch-v1alpha/pom.xml index 6fd6008bf729..67f40b5bed32 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/pom.xml +++ b/java-batch/proto-google-cloud-batch-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-batch-v1alpha - 0.9.0 + 0.10.0 proto-google-cloud-batch-v1alpha Proto library for google-cloud-batch com.google.cloud google-cloud-batch-parent - 0.9.0 + 0.10.0 diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java index 360bc19bb08b..4263163eb36d 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java @@ -137,12 +137,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ent=projects/*/locations/*/jobs/*/taskGr" + "oups/*}/tasks\332A\006parent\032H\312A\024batch.googlea" + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformB\317\001\n\036com.google.cloud.ba" - + "tch.v1alphaB\nBatchProtoP\001Z?google.golang" - + ".org/genproto/googleapis/cloud/batch/v1a" - + "lpha;batch\242\002\003GCB\252\002\032Google.Cloud.Batch.V1" - + "Alpha\312\002\032Google\\Cloud\\Batch\\V1alpha\352\002\035Goo" - + "gle::Cloud::Batch::V1alphaP\000b\006proto3" + + "h/cloud-platformB\304\001\n\036com.google.cloud.ba" + + "tch.v1alphaB\nBatchProtoP\001Z4cloud.google." + + "com/go/batch/apiv1alpha/batchpb;batchpb\242" + + "\002\003GCB\252\002\032Google.Cloud.Batch.V1Alpha\312\002\032Goo" + + "gle\\Cloud\\Batch\\V1alpha\352\002\035Google::Cloud:" + + ":Batch::V1alphaP\000b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java index dcae6feb2769..b41348dfa411 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java @@ -279,13 +279,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "leapis.com/TaskGroup\022Jprojects/{project}" + "/locations/{location}/jobs/{job}/taskGro" + "ups/{task_group}\"/\n\016ServiceAccount\022\r\n\005em" - + "ail\030\001 \001(\t\022\016\n\006scopes\030\002 \003(\tB\315\001\n\036com.google" - + ".cloud.batch.v1alphaB\010JobProtoP\001Z?google" - + ".golang.org/genproto/googleapis/cloud/ba" - + "tch/v1alpha;batch\242\002\003GCB\252\002\032Google.Cloud.B" - + "atch.V1Alpha\312\002\032Google\\Cloud\\Batch\\V1alph" - + "a\352\002\035Google::Cloud::Batch::V1alphab\006proto" - + "3" + + "ail\030\001 \001(\t\022\016\n\006scopes\030\002 \003(\tB\302\001\n\036com.google" + + ".cloud.batch.v1alphaB\010JobProtoP\001Z4cloud." + + "google.com/go/batch/apiv1alpha/batchpb;b" + + "atchpb\242\002\003GCB\252\002\032Google.Cloud.Batch.V1Alph" + + "a\312\002\032Google\\Cloud\\Batch\\V1alpha\352\002\035Google:" + + ":Cloud::Batch::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskProto.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskProto.java index eeb1f4f06b70..0264346fe9cf 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskProto.java +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskProto.java @@ -181,12 +181,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "key_name\030\001 \001(\t\022\023\n\013cipher_text\030\002 \001(\t\0320\n\016V" + "ariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + "\t:\0028\001\0326\n\024SecretVariablesEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\316\001\n\036com.google.clo" - + "ud.batch.v1alphaB\tTaskProtoP\001Z?google.go" - + "lang.org/genproto/googleapis/cloud/batch" - + "/v1alpha;batch\242\002\003GCB\252\002\032Google.Cloud.Batc" - + "h.V1Alpha\312\002\032Google\\Cloud\\Batch\\V1alpha\352\002" - + "\035Google::Cloud::Batch::V1alphab\006proto3" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\303\001\n\036com.google.clo" + + "ud.batch.v1alphaB\tTaskProtoP\001Z4cloud.goo" + + "gle.com/go/batch/apiv1alpha/batchpb;batc" + + "hpb\242\002\003GCB\252\002\032Google.Cloud.Batch.V1Alpha\312\002" + + "\032Google\\Cloud\\Batch\\V1alpha\352\002\035Google::Cl" + + "oud::Batch::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/VolumeProto.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/VolumeProto.java index 648d4f4b9dbd..422ca3070149 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/VolumeProto.java +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/VolumeProto.java @@ -62,13 +62,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ptions\030\005 \003(\tB\010\n\006source\"*\n\003NFS\022\016\n\006server\030" + "\001 \001(\t\022\023\n\013remote_path\030\002 \001(\t\"8\n\002PD\022\014\n\004disk" + "\030\001 \001(\t\022\016\n\006device\030\002 \001(\t\022\024\n\010existing\030\003 \001(\010" - + "B\002\030\001\"\032\n\003GCS\022\023\n\013remote_path\030\001 \001(\tB\320\001\n\036com" + + "B\002\030\001\"\032\n\003GCS\022\023\n\013remote_path\030\001 \001(\tB\305\001\n\036com" + ".google.cloud.batch.v1alphaB\013VolumeProto" - + "P\001Z?google.golang.org/genproto/googleapi" - + "s/cloud/batch/v1alpha;batch\242\002\003GCB\252\002\032Goog" - + "le.Cloud.Batch.V1Alpha\312\002\032Google\\Cloud\\Ba" - + "tch\\V1alpha\352\002\035Google::Cloud::Batch::V1al" - + "phab\006proto3" + + "P\001Z4cloud.google.com/go/batch/apiv1alpha" + + "/batchpb;batchpb\242\002\003GCB\252\002\032Google.Cloud.Ba" + + "tch.V1Alpha\312\002\032Google\\Cloud\\Batch\\V1alpha" + + "\352\002\035Google::Cloud::Batch::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto index 5017de51d25a..3897c112ac81 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto @@ -28,7 +28,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Batch.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/batch/v1alpha;batch"; +option go_package = "cloud.google.com/go/batch/apiv1alpha/batchpb;batchpb"; option java_multiple_files = true; option java_outer_classname = "BatchProto"; option java_package = "com.google.cloud.batch.v1alpha"; diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto index b3af4a4b6634..5fe0b1c76503 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto @@ -23,7 +23,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Batch.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/batch/v1alpha;batch"; +option go_package = "cloud.google.com/go/batch/apiv1alpha/batchpb;batchpb"; option java_multiple_files = true; option java_outer_classname = "JobProto"; option java_package = "com.google.cloud.batch.v1alpha"; diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto index a28545ad4957..d43795bce8ea 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Batch.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/batch/v1alpha;batch"; +option go_package = "cloud.google.com/go/batch/apiv1alpha/batchpb;batchpb"; option java_multiple_files = true; option java_outer_classname = "TaskProto"; option java_package = "com.google.cloud.batch.v1alpha"; diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto index 4112d2363a61..11ef3a8cf729 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/volume.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.batch.v1alpha; option csharp_namespace = "Google.Cloud.Batch.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/batch/v1alpha;batch"; +option go_package = "cloud.google.com/go/batch/apiv1alpha/batchpb;batchpb"; option java_multiple_files = true; option java_outer_classname = "VolumeProto"; option java_package = "com.google.cloud.batch.v1alpha"; diff --git a/java-beyondcorp-appconnections/README.md b/java-beyondcorp-appconnections/README.md index 168f1dce02ff..b08ac5503182 100644 --- a/java-beyondcorp-appconnections/README.md +++ b/java-beyondcorp-appconnections/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-beyondcorp-appconnections - 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-beyondcorp-appconnections:0.6.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.7.0" ``` ## Authentication diff --git a/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections-bom/pom.xml b/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections-bom/pom.xml index 2ca1b306ed80..69e51ef9bbcd 100644 --- a/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections-bom/pom.xml +++ b/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-appconnections-bom - 0.7.0 + 0.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-beyondcorp-appconnections - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-appconnections-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-appconnections-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections/pom.xml b/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections/pom.xml index 75ea52e2fa69..533c5d0c93a3 100644 --- a/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections/pom.xml +++ b/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-appconnections - 0.7.0 + 0.8.0 jar Google BeyondCorp AppConnections BeyondCorp AppConnections is Google's implementation of the zero trust model. It builds upon a decade of experience at Google, combined with ideas and best practices from the community. By shifting access controls from the network perimeter to individual users, BeyondCorp enables secure work from virtually any location without the need for a traditional VPN. com.google.cloud google-cloud-beyondcorp-appconnections-parent - 0.7.0 + 0.8.0 google-cloud-beyondcorp-appconnections diff --git a/java-beyondcorp-appconnections/grpc-google-cloud-beyondcorp-appconnections-v1/pom.xml b/java-beyondcorp-appconnections/grpc-google-cloud-beyondcorp-appconnections-v1/pom.xml index 474b95fc3666..5f698ede67d5 100644 --- a/java-beyondcorp-appconnections/grpc-google-cloud-beyondcorp-appconnections-v1/pom.xml +++ b/java-beyondcorp-appconnections/grpc-google-cloud-beyondcorp-appconnections-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-beyondcorp-appconnections-v1 - 0.7.0 + 0.8.0 grpc-google-cloud-beyondcorp-appconnections-v1 GRPC library for google-cloud-beyondcorp-appconnections com.google.cloud google-cloud-beyondcorp-appconnections-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appconnections/pom.xml b/java-beyondcorp-appconnections/pom.xml index abbbaf162d29..190dde945d11 100644 --- a/java-beyondcorp-appconnections/pom.xml +++ b/java-beyondcorp-appconnections/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-beyondcorp-appconnections-parent pom - 0.7.0 + 0.8.0 Google BeyondCorp AppConnections Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-beyondcorp-appconnections - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-appconnections-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-appconnections-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/pom.xml b/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/pom.xml index f159b8d0e374..69917930dc61 100644 --- a/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/pom.xml +++ b/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-beyondcorp-appconnections-v1 - 0.7.0 + 0.8.0 proto-google-cloud-beyondcorp-appconnections-v1 Proto library for google-cloud-beyondcorp-appconnections com.google.cloud google-cloud-beyondcorp-appconnections-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/src/main/java/com/google/cloud/beyondcorp/appconnections/v1/AppConnectionsServiceProto.java b/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/src/main/java/com/google/cloud/beyondcorp/appconnections/v1/AppConnectionsServiceProto.java index 27c786a34424..ca48e8dd30ba 100644 --- a/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/src/main/java/com/google/cloud/beyondcorp/appconnections/v1/AppConnectionsServiceProto.java +++ b/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/src/main/java/com/google/cloud/beyondcorp/appconnections/v1/AppConnectionsServiceProto.java @@ -222,20 +222,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "v1/{parent=projects/*/locations/*}/appCo" + "nnections:resolve\332A\006parent\032M\312A\031beyondcor" + "p.googleapis.com\322A.https://www.googleapi" - + "s.com/auth/cloud-platformB\214\004\n-com.google" + + "s.com/auth/cloud-platformB\212\004\n-com.google" + ".cloud.beyondcorp.appconnections.v1B\032App" - + "ConnectionsServiceProtoP\001ZWgoogle.golang" - + ".org/genproto/googleapis/cloud/beyondcor" - + "p/appconnections/v1;appconnections\252\002)Goo" - + "gle.Cloud.BeyondCorp.AppConnections.V1\312\002" - + ")Google\\Cloud\\BeyondCorp\\AppConnections\\" - + "V1\352\002-Google::Cloud::BeyondCorp::AppConne" - + "ctions::V1\352Ao\n&beyondcorp.googleapis.com" - + "/AppConnector\022Eprojects/{project}/locati" - + "ons/{location}/appConnectors/{app_connec" - + "tor}\352Ai\n$beyondcorp.googleapis.com/AppGa" - + "teway\022Aprojects/{project}/locations/{loc" - + "ation}/appGateways/{app_gateway}b\006proto3" + + "ConnectionsServiceProtoP\001ZUcloud.google." + + "com/go/beyondcorp/appconnections/apiv1/a" + + "ppconnectionspb;appconnectionspb\252\002)Googl" + + "e.Cloud.BeyondCorp.AppConnections.V1\312\002)G" + + "oogle\\Cloud\\BeyondCorp\\AppConnections\\V1" + + "\352\002-Google::Cloud::BeyondCorp::AppConnect" + + "ions::V1\352Ao\n&beyondcorp.googleapis.com/A" + + "ppConnector\022Eprojects/{project}/location" + + "s/{location}/appConnectors/{app_connecto" + + "r}\352Ai\n$beyondcorp.googleapis.com/AppGate" + + "way\022Aprojects/{project}/locations/{locat" + + "ion}/appGateways/{app_gateway}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/src/main/proto/google/cloud/beyondcorp/appconnections/v1/app_connections_service.proto b/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/src/main/proto/google/cloud/beyondcorp/appconnections/v1/app_connections_service.proto index 48143604a5d7..c0db64fb5652 100644 --- a/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/src/main/proto/google/cloud/beyondcorp/appconnections/v1/app_connections_service.proto +++ b/java-beyondcorp-appconnections/proto-google-cloud-beyondcorp-appconnections-v1/src/main/proto/google/cloud/beyondcorp/appconnections/v1/app_connections_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BeyondCorp.AppConnections.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/beyondcorp/appconnections/v1;appconnections"; +option go_package = "cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb;appconnectionspb"; option java_multiple_files = true; option java_outer_classname = "AppConnectionsServiceProto"; option java_package = "com.google.cloud.beyondcorp.appconnections.v1"; diff --git a/java-beyondcorp-appconnectors/README.md b/java-beyondcorp-appconnectors/README.md index de328ad6e14a..f7f290512b9e 100644 --- a/java-beyondcorp-appconnectors/README.md +++ b/java-beyondcorp-appconnectors/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-beyondcorp-appconnectors - 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-beyondcorp-appconnectors:0.6.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.7.0" ``` ## Authentication diff --git a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors-bom/pom.xml b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors-bom/pom.xml index 346ba0c8d6e2..4c507f60ed03 100644 --- a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors-bom/pom.xml +++ b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-appconnectors-bom - 0.7.0 + 0.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-beyondcorp-appconnectors - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-appconnectors-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-appconnectors-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/pom.xml b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/pom.xml index 03f15ee1ab91..f6a36ba05958 100644 --- a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/pom.xml +++ b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-appconnectors - 0.7.0 + 0.8.0 jar Google BeyondCorp AppConnectors BeyondCorp AppConnectors provides methods to manage (create/read/update/delete) BeyondCorp AppConnectors. com.google.cloud google-cloud-beyondcorp-appconnectors-parent - 0.7.0 + 0.8.0 google-cloud-beyondcorp-appconnectors diff --git a/java-beyondcorp-appconnectors/grpc-google-cloud-beyondcorp-appconnectors-v1/pom.xml b/java-beyondcorp-appconnectors/grpc-google-cloud-beyondcorp-appconnectors-v1/pom.xml index 4bf6350ba691..44383da879e2 100644 --- a/java-beyondcorp-appconnectors/grpc-google-cloud-beyondcorp-appconnectors-v1/pom.xml +++ b/java-beyondcorp-appconnectors/grpc-google-cloud-beyondcorp-appconnectors-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-beyondcorp-appconnectors-v1 - 0.7.0 + 0.8.0 grpc-google-cloud-beyondcorp-appconnectors-v1 GRPC library for google-cloud-beyondcorp-appconnectors com.google.cloud google-cloud-beyondcorp-appconnectors-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appconnectors/pom.xml b/java-beyondcorp-appconnectors/pom.xml index 6a274520d4e7..750b8975e998 100644 --- a/java-beyondcorp-appconnectors/pom.xml +++ b/java-beyondcorp-appconnectors/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-beyondcorp-appconnectors-parent pom - 0.7.0 + 0.8.0 Google BeyondCorp AppConnectors Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-beyondcorp-appconnectors - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-appconnectors-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-appconnectors-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/pom.xml b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/pom.xml index abc92241f577..053f6e3796b9 100644 --- a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/pom.xml +++ b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-beyondcorp-appconnectors-v1 - 0.7.0 + 0.8.0 proto-google-cloud-beyondcorp-appconnectors-v1 Proto library for google-cloud-beyondcorp-appconnectors com.google.cloud google-cloud-beyondcorp-appconnectors-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorInstanceConfigProto.java b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorInstanceConfigProto.java index 106dc0e76ca0..dcde46cd0030 100644 --- a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorInstanceConfigProto.java +++ b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorInstanceConfigProto.java @@ -70,15 +70,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "H\000\032<\n\035CloudPubSubNotificationConfig\022\033\n\023p" + "ubsub_subscription\030\001 \001(\tB\010\n\006config\"9\n\013Im" + "ageConfig\022\024\n\014target_image\030\001 \001(\t\022\024\n\014stabl" - + "e_image\030\002 \001(\tB\255\002\n,com.google.cloud.beyon" + + "e_image\030\002 \001(\tB\252\002\n,com.google.cloud.beyon" + "dcorp.appconnectors.v1B\037AppConnectorInst" - + "anceConfigProtoP\001ZUgoogle.golang.org/gen" - + "proto/googleapis/cloud/beyondcorp/appcon" - + "nectors/v1;appconnectors\252\002(Google.Cloud." - + "BeyondCorp.AppConnectors.V1\312\002(Google\\Clo" - + "ud\\BeyondCorp\\AppConnectors\\V1\352\002,Google:" - + ":Cloud::BeyondCorp::AppConnectors::V1b\006p" - + "roto3" + + "anceConfigProtoP\001ZRcloud.google.com/go/b" + + "eyondcorp/appconnectors/apiv1/appconnect" + + "orspb;appconnectorspb\252\002(Google.Cloud.Bey" + + "ondCorp.AppConnectors.V1\312\002(Google\\Cloud\\" + + "BeyondCorp\\AppConnectors\\V1\352\002,Google::Cl" + + "oud::BeyondCorp::AppConnectors::V1b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceProto.java b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceProto.java index a638b65157b9..4aee12e7aa4a 100644 --- a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceProto.java +++ b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/AppConnectorsServiceProto.java @@ -200,14 +200,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pConnector\022\035AppConnectorOperationMetadat" + "a\032M\312A\031beyondcorp.googleapis.com\322A.https:" + "//www.googleapis.com/auth/cloud-platform" - + "B\247\002\n,com.google.cloud.beyondcorp.appconn" - + "ectors.v1B\031AppConnectorsServiceProtoP\001ZU" - + "google.golang.org/genproto/googleapis/cl" - + "oud/beyondcorp/appconnectors/v1;appconne" - + "ctors\252\002(Google.Cloud.BeyondCorp.AppConne" - + "ctors.V1\312\002(Google\\Cloud\\BeyondCorp\\AppCo" - + "nnectors\\V1\352\002,Google::Cloud::BeyondCorp:" - + ":AppConnectors::V1b\006proto3" + + "B\244\002\n,com.google.cloud.beyondcorp.appconn" + + "ectors.v1B\031AppConnectorsServiceProtoP\001ZR" + + "cloud.google.com/go/beyondcorp/appconnec" + + "tors/apiv1/appconnectorspb;appconnectors" + + "pb\252\002(Google.Cloud.BeyondCorp.AppConnecto" + + "rs.V1\312\002(Google\\Cloud\\BeyondCorp\\AppConne" + + "ctors\\V1\352\002,Google::Cloud::BeyondCorp::Ap" + + "pConnectors::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/ResourceInfoProto.java b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/ResourceInfoProto.java index 2dfc1c860a0d..0a90b255a10c 100644 --- a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/ResourceInfoProto.java +++ b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/ResourceInfoProto.java @@ -54,14 +54,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1.ResourceInfo*i\n\014HealthStatus\022\035\n\031HEALTH" + "_STATUS_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022\r\n\tUN" + "HEALTHY\020\002\022\020\n\014UNRESPONSIVE\020\003\022\014\n\010DEGRADED\020" - + "\004B\237\002\n,com.google.cloud.beyondcorp.appcon" - + "nectors.v1B\021ResourceInfoProtoP\001ZUgoogle." - + "golang.org/genproto/googleapis/cloud/bey" - + "ondcorp/appconnectors/v1;appconnectors\252\002" - + "(Google.Cloud.BeyondCorp.AppConnectors.V" - + "1\312\002(Google\\Cloud\\BeyondCorp\\AppConnector" - + "s\\V1\352\002,Google::Cloud::BeyondCorp::AppCon" - + "nectors::V1b\006proto3" + + "\004B\234\002\n,com.google.cloud.beyondcorp.appcon" + + "nectors.v1B\021ResourceInfoProtoP\001ZRcloud.g" + + "oogle.com/go/beyondcorp/appconnectors/ap" + + "iv1/appconnectorspb;appconnectorspb\252\002(Go" + + "ogle.Cloud.BeyondCorp.AppConnectors.V1\312\002" + + "(Google\\Cloud\\BeyondCorp\\AppConnectors\\V" + + "1\352\002,Google::Cloud::BeyondCorp::AppConnec" + + "tors::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config.proto b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config.proto index 7e183063fd27..21c91061936b 100644 --- a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config.proto +++ b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/app_connector_instance_config.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/any.proto"; option csharp_namespace = "Google.Cloud.BeyondCorp.AppConnectors.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/beyondcorp/appconnectors/v1;appconnectors"; +option go_package = "cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb;appconnectorspb"; option java_multiple_files = true; option java_outer_classname = "AppConnectorInstanceConfigProto"; option java_package = "com.google.cloud.beyondcorp.appconnectors.v1"; diff --git a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service.proto b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service.proto index 54634f867983..152cccb7e922 100644 --- a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service.proto +++ b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/app_connectors_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BeyondCorp.AppConnectors.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/beyondcorp/appconnectors/v1;appconnectors"; +option go_package = "cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb;appconnectorspb"; option java_multiple_files = true; option java_outer_classname = "AppConnectorsServiceProto"; option java_package = "com.google.cloud.beyondcorp.appconnectors.v1"; diff --git a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/resource_info.proto b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/resource_info.proto index d7f26d53cfee..0156412ad10e 100644 --- a/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/resource_info.proto +++ b/java-beyondcorp-appconnectors/proto-google-cloud-beyondcorp-appconnectors-v1/src/main/proto/google/cloud/beyondcorp/appconnectors/v1/resource_info.proto @@ -21,7 +21,7 @@ import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BeyondCorp.AppConnectors.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/beyondcorp/appconnectors/v1;appconnectors"; +option go_package = "cloud.google.com/go/beyondcorp/appconnectors/apiv1/appconnectorspb;appconnectorspb"; option java_multiple_files = true; option java_outer_classname = "ResourceInfoProto"; option java_package = "com.google.cloud.beyondcorp.appconnectors.v1"; diff --git a/java-beyondcorp-appgateways/README.md b/java-beyondcorp-appgateways/README.md index 02b06054acbb..7179d2b5a308 100644 --- a/java-beyondcorp-appgateways/README.md +++ b/java-beyondcorp-appgateways/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-beyondcorp-appgateways - 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-beyondcorp-appgateways:0.6.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.7.0" ``` ## Authentication diff --git a/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways-bom/pom.xml b/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways-bom/pom.xml index e57c8e9eacb3..318eb02d8c5d 100644 --- a/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways-bom/pom.xml +++ b/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-appgateways-bom - 0.7.0 + 0.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-beyondcorp-appgateways - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-appgateways-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-appgateways-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways/pom.xml b/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways/pom.xml index 0e0f5b0ab074..0ba3c13d5c19 100644 --- a/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways/pom.xml +++ b/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-appgateways - 0.7.0 + 0.8.0 jar Google BeyondCorp AppGateways BeyondCorp AppGateways A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection. com.google.cloud google-cloud-beyondcorp-appgateways-parent - 0.7.0 + 0.8.0 google-cloud-beyondcorp-appgateways diff --git a/java-beyondcorp-appgateways/grpc-google-cloud-beyondcorp-appgateways-v1/pom.xml b/java-beyondcorp-appgateways/grpc-google-cloud-beyondcorp-appgateways-v1/pom.xml index 21a542e02839..94f56b6dcb69 100644 --- a/java-beyondcorp-appgateways/grpc-google-cloud-beyondcorp-appgateways-v1/pom.xml +++ b/java-beyondcorp-appgateways/grpc-google-cloud-beyondcorp-appgateways-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-beyondcorp-appgateways-v1 - 0.7.0 + 0.8.0 grpc-google-cloud-beyondcorp-appgateways-v1 GRPC library for google-cloud-beyondcorp-appgateways com.google.cloud google-cloud-beyondcorp-appgateways-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appgateways/pom.xml b/java-beyondcorp-appgateways/pom.xml index 3d0721d9136e..c4891c1b8276 100644 --- a/java-beyondcorp-appgateways/pom.xml +++ b/java-beyondcorp-appgateways/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-beyondcorp-appgateways-parent pom - 0.7.0 + 0.8.0 Google BeyondCorp AppGateways Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-beyondcorp-appgateways - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-appgateways-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-appgateways-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/pom.xml b/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/pom.xml index ff642ea658f8..513dacb8e047 100644 --- a/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/pom.xml +++ b/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-beyondcorp-appgateways-v1 - 0.7.0 + 0.8.0 proto-google-cloud-beyondcorp-appgateways-v1 Proto library for google-cloud-beyondcorp-appgateways com.google.cloud google-cloud-beyondcorp-appgateways-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/src/main/java/com/google/cloud/beyondcorp/appgateways/v1/AppGatewaysServiceProto.java b/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/src/main/java/com/google/cloud/beyondcorp/appgateways/v1/AppGatewaysServiceProto.java index 9eb754b139ce..473a8a51ed29 100644 --- a/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/src/main/java/com/google/cloud/beyondcorp/appgateways/v1/AppGatewaysServiceProto.java +++ b/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/src/main/java/com/google/cloud/beyondcorp/appgateways/v1/AppGatewaysServiceProto.java @@ -158,14 +158,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "4\n\025google.protobuf.Empty\022\033AppGatewayOper" + "ationMetadata\032M\312A\031beyondcorp.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\231\002\n*com.google.cloud.beyond" + + "oud-platformB\224\002\n*com.google.cloud.beyond" + "corp.appgateways.v1B\027AppGatewaysServiceP" - + "rotoP\001ZQgoogle.golang.org/genproto/googl" - + "eapis/cloud/beyondcorp/appgateways/v1;ap" - + "pgateways\252\002&Google.Cloud.BeyondCorp.AppG" - + "ateways.V1\312\002&Google\\Cloud\\BeyondCorp\\App" - + "Gateways\\V1\352\002*Google::Cloud::BeyondCorp:" - + ":AppGateways::V1b\006proto3" + + "rotoP\001ZLcloud.google.com/go/beyondcorp/a" + + "ppgateways/apiv1/appgatewayspb;appgatewa" + + "yspb\252\002&Google.Cloud.BeyondCorp.AppGatewa" + + "ys.V1\312\002&Google\\Cloud\\BeyondCorp\\AppGatew" + + "ays\\V1\352\002*Google::Cloud::BeyondCorp::AppG" + + "ateways::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/src/main/proto/google/cloud/beyondcorp/appgateways/v1/app_gateways_service.proto b/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/src/main/proto/google/cloud/beyondcorp/appgateways/v1/app_gateways_service.proto index fa21383bfc72..6b122fab78e1 100644 --- a/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/src/main/proto/google/cloud/beyondcorp/appgateways/v1/app_gateways_service.proto +++ b/java-beyondcorp-appgateways/proto-google-cloud-beyondcorp-appgateways-v1/src/main/proto/google/cloud/beyondcorp/appgateways/v1/app_gateways_service.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BeyondCorp.AppGateways.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/beyondcorp/appgateways/v1;appgateways"; +option go_package = "cloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb;appgatewayspb"; option java_multiple_files = true; option java_outer_classname = "AppGatewaysServiceProto"; option java_package = "com.google.cloud.beyondcorp.appgateways.v1"; diff --git a/java-beyondcorp-clientconnectorservices/README.md b/java-beyondcorp-clientconnectorservices/README.md index 0a32b7b99285..8fcab83de99c 100644 --- a/java-beyondcorp-clientconnectorservices/README.md +++ b/java-beyondcorp-clientconnectorservices/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-beyondcorp-clientconnectorservices - 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-beyondcorp-clientconnectorservices:0.6.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.7.0" ``` ## Authentication diff --git a/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices-bom/pom.xml b/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices-bom/pom.xml index 7e067bccca63..9450ed19f590 100644 --- a/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices-bom/pom.xml +++ b/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-clientconnectorservices-bom - 0.7.0 + 0.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-beyondcorp-clientconnectorservices - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-clientconnectorservices-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-clientconnectorservices-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices/pom.xml b/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices/pom.xml index 9cf838a34a81..71f0f1d08587 100644 --- a/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices/pom.xml +++ b/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-clientconnectorservices - 0.7.0 + 0.8.0 jar Google BeyondCorp ClientConnectorServices BeyondCorp ClientConnectorServices A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection. com.google.cloud google-cloud-beyondcorp-clientconnectorservices-parent - 0.7.0 + 0.8.0 google-cloud-beyondcorp-clientconnectorservices diff --git a/java-beyondcorp-clientconnectorservices/grpc-google-cloud-beyondcorp-clientconnectorservices-v1/pom.xml b/java-beyondcorp-clientconnectorservices/grpc-google-cloud-beyondcorp-clientconnectorservices-v1/pom.xml index 36552fddc0d9..6045fea0c724 100644 --- a/java-beyondcorp-clientconnectorservices/grpc-google-cloud-beyondcorp-clientconnectorservices-v1/pom.xml +++ b/java-beyondcorp-clientconnectorservices/grpc-google-cloud-beyondcorp-clientconnectorservices-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-beyondcorp-clientconnectorservices-v1 - 0.7.0 + 0.8.0 grpc-google-cloud-beyondcorp-clientconnectorservices-v1 GRPC library for google-cloud-beyondcorp-clientconnectorservices com.google.cloud google-cloud-beyondcorp-clientconnectorservices-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-clientconnectorservices/pom.xml b/java-beyondcorp-clientconnectorservices/pom.xml index 52e125c6f1b5..c26ae5ff5a1b 100644 --- a/java-beyondcorp-clientconnectorservices/pom.xml +++ b/java-beyondcorp-clientconnectorservices/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-beyondcorp-clientconnectorservices-parent pom - 0.7.0 + 0.8.0 Google BeyondCorp ClientConnectorServices Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-beyondcorp-clientconnectorservices - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-clientconnectorservices-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-clientconnectorservices-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/pom.xml b/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/pom.xml index 98d32208319e..f71783405dcf 100644 --- a/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/pom.xml +++ b/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-beyondcorp-clientconnectorservices-v1 - 0.7.0 + 0.8.0 proto-google-cloud-beyondcorp-clientconnectorservices-v1 Proto library for google-cloud-beyondcorp-clientconnectorservices com.google.cloud google-cloud-beyondcorp-clientconnectorservices-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/src/main/java/com/google/cloud/beyondcorp/clientconnectorservices/v1/ClientConnectorServicesServiceProto.java b/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/src/main/java/com/google/cloud/beyondcorp/clientconnectorservices/v1/ClientConnectorServicesServiceProto.java index 01570702a616..a7e187a39908 100644 --- a/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/src/main/java/com/google/cloud/beyondcorp/clientconnectorservices/v1/ClientConnectorServicesServiceProto.java +++ b/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/src/main/java/com/google/cloud/beyondcorp/clientconnectorservices/v1/ClientConnectorServicesServiceProto.java @@ -218,16 +218,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pty\022\'ClientConnectorServiceOperationMeta" + "data\032M\312A\031beyondcorp.googleapis.com\322A.htt" + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\355\002\n6com.google.cloud.beyondcorp.clie" + + "ormB\364\002\n6com.google.cloud.beyondcorp.clie" + "ntconnectorservices.v1B#ClientConnectorS" - + "ervicesServiceProtoP\001Zigoogle.golang.org" - + "/genproto/googleapis/cloud/beyondcorp/cl" - + "ientconnectorservices/v1;clientconnector" - + "services\252\0022Google.Cloud.BeyondCorp.Clien" - + "tConnectorServices.V1\312\0022Google\\Cloud\\Bey" - + "ondCorp\\ClientConnectorServices\\V1\352\0026Goo" - + "gle::Cloud::BeyondCorp::ClientConnectorS" - + "ervices::V1b\006proto3" + + "ervicesServiceProtoP\001Zpcloud.google.com/" + + "go/beyondcorp/clientconnectorservices/ap" + + "iv1/clientconnectorservicespb;clientconn" + + "ectorservicespb\252\0022Google.Cloud.BeyondCor" + + "p.ClientConnectorServices.V1\312\0022Google\\Cl" + + "oud\\BeyondCorp\\ClientConnectorServices\\V" + + "1\352\0026Google::Cloud::BeyondCorp::ClientCon" + + "nectorServices::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/src/main/proto/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.proto b/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/src/main/proto/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.proto index 87932f735de2..ffacd5ac1641 100644 --- a/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/src/main/proto/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.proto +++ b/java-beyondcorp-clientconnectorservices/proto-google-cloud-beyondcorp-clientconnectorservices-v1/src/main/proto/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BeyondCorp.ClientConnectorServices.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/beyondcorp/clientconnectorservices/v1;clientconnectorservices"; +option go_package = "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb;clientconnectorservicespb"; option java_multiple_files = true; option java_outer_classname = "ClientConnectorServicesServiceProto"; option java_package = "com.google.cloud.beyondcorp.clientconnectorservices.v1"; diff --git a/java-beyondcorp-clientgateways/README.md b/java-beyondcorp-clientgateways/README.md index addfc4cd4060..06e9e5253053 100644 --- a/java-beyondcorp-clientgateways/README.md +++ b/java-beyondcorp-clientgateways/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-beyondcorp-clientgateways - 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-beyondcorp-clientgateways:0.6.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.7.0" ``` ## Authentication diff --git a/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways-bom/pom.xml b/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways-bom/pom.xml index 12eae8f4c21a..685a357c7d13 100644 --- a/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways-bom/pom.xml +++ b/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-clientgateways-bom - 0.7.0 + 0.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-beyondcorp-clientgateways - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-clientgateways-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-clientgateways-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways/pom.xml b/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways/pom.xml index 0597bd284f2f..a5c4c2289629 100644 --- a/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways/pom.xml +++ b/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-beyondcorp-clientgateways - 0.7.0 + 0.8.0 jar Google BeyondCorp ClientGateways BeyondCorp ClientGateways A zero trust solution that enables secure access to applications and resources, and offers integrated threat and data protection. com.google.cloud google-cloud-beyondcorp-clientgateways-parent - 0.7.0 + 0.8.0 google-cloud-beyondcorp-clientgateways diff --git a/java-beyondcorp-clientgateways/grpc-google-cloud-beyondcorp-clientgateways-v1/pom.xml b/java-beyondcorp-clientgateways/grpc-google-cloud-beyondcorp-clientgateways-v1/pom.xml index 955bcd234e48..51bb1774addb 100644 --- a/java-beyondcorp-clientgateways/grpc-google-cloud-beyondcorp-clientgateways-v1/pom.xml +++ b/java-beyondcorp-clientgateways/grpc-google-cloud-beyondcorp-clientgateways-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-beyondcorp-clientgateways-v1 - 0.7.0 + 0.8.0 grpc-google-cloud-beyondcorp-clientgateways-v1 GRPC library for google-cloud-beyondcorp-clientgateways com.google.cloud google-cloud-beyondcorp-clientgateways-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-clientgateways/pom.xml b/java-beyondcorp-clientgateways/pom.xml index 8c5a947bee00..b1a865ba7758 100644 --- a/java-beyondcorp-clientgateways/pom.xml +++ b/java-beyondcorp-clientgateways/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-beyondcorp-clientgateways-parent pom - 0.7.0 + 0.8.0 Google BeyondCorp ClientGateways Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-beyondcorp-clientgateways - 0.7.0 + 0.8.0 com.google.api.grpc grpc-google-cloud-beyondcorp-clientgateways-v1 - 0.7.0 + 0.8.0 com.google.api.grpc proto-google-cloud-beyondcorp-clientgateways-v1 - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/pom.xml b/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/pom.xml index 0981ff039c07..b6187b50aed6 100644 --- a/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/pom.xml +++ b/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-beyondcorp-clientgateways-v1 - 0.7.0 + 0.8.0 proto-google-cloud-beyondcorp-clientgateways-v1 Proto library for google-cloud-beyondcorp-clientgateways com.google.cloud google-cloud-beyondcorp-clientgateways-parent - 0.7.0 + 0.8.0 diff --git a/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/src/main/java/com/google/cloud/beyondcorp/clientgateways/v1/ClientGatewaysServiceProto.java b/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/src/main/java/com/google/cloud/beyondcorp/clientgateways/v1/ClientGatewaysServiceProto.java index 20b0d4fb93a8..ab56afe0cfbe 100644 --- a/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/src/main/java/com/google/cloud/beyondcorp/clientgateways/v1/ClientGatewaysServiceProto.java +++ b/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/src/main/java/com/google/cloud/beyondcorp/clientgateways/v1/ClientGatewaysServiceProto.java @@ -139,15 +139,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tGateways/*}\332A\004name\312A7\n\025google.protobuf." + "Empty\022\036ClientGatewayOperationMetadata\032M\312" + "A\031beyondcorp.googleapis.com\322A.https://ww" - + "w.googleapis.com/auth/cloud-platformB\256\002\n" + + "w.googleapis.com/auth/cloud-platformB\254\002\n" + "-com.google.cloud.beyondcorp.clientgatew" - + "ays.v1B\032ClientGatewaysServiceProtoP\001ZWgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/beyondcorp/clientgateways/v1;clientgat" - + "eways\252\002)Google.Cloud.BeyondCorp.ClientGa" - + "teways.V1\312\002)Google\\Cloud\\BeyondCorp\\Clie" - + "ntGateways\\V1\352\002-Google::Cloud::BeyondCor" - + "p::ClientGateways::V1b\006proto3" + + "ays.v1B\032ClientGatewaysServiceProtoP\001ZUcl" + + "oud.google.com/go/beyondcorp/clientgatew" + + "ays/apiv1/clientgatewayspb;clientgateway" + + "spb\252\002)Google.Cloud.BeyondCorp.ClientGate" + + "ways.V1\312\002)Google\\Cloud\\BeyondCorp\\Client" + + "Gateways\\V1\352\002-Google::Cloud::BeyondCorp:" + + ":ClientGateways::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/src/main/proto/google/cloud/beyondcorp/clientgateways/v1/client_gateways_service.proto b/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/src/main/proto/google/cloud/beyondcorp/clientgateways/v1/client_gateways_service.proto index 8ce25bb1ed9e..23cf54ceb9cb 100644 --- a/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/src/main/proto/google/cloud/beyondcorp/clientgateways/v1/client_gateways_service.proto +++ b/java-beyondcorp-clientgateways/proto-google-cloud-beyondcorp-clientgateways-v1/src/main/proto/google/cloud/beyondcorp/clientgateways/v1/client_gateways_service.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BeyondCorp.ClientGateways.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/beyondcorp/clientgateways/v1;clientgateways"; +option go_package = "cloud.google.com/go/beyondcorp/clientgateways/apiv1/clientgatewayspb;clientgatewayspb"; option java_multiple_files = true; option java_outer_classname = "ClientGatewaysServiceProto"; option java_package = "com.google.cloud.beyondcorp.clientgateways.v1"; diff --git a/java-bigquery-data-exchange/README.md b/java-bigquery-data-exchange/README.md index 591de9960ec6..1ef291fe61d1 100644 --- a/java-bigquery-data-exchange/README.md +++ b/java-bigquery-data-exchange/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-bigquery-data-exchange - 2.3.0 + 2.4.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.3.0' +implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.4.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.4.0" ``` ## Authentication diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange-bom/pom.xml b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange-bom/pom.xml index 15d52aa19a49..5dd7ad888dbb 100644 --- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange-bom/pom.xml +++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-bigquery-data-exchange-bom - 2.4.0 + 2.5.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-bigquery-data-exchange - 2.4.0 + 2.5.0 com.google.api.grpc grpc-google-cloud-bigquery-data-exchange-v1beta1 - 2.4.0 + 2.5.0 com.google.api.grpc proto-google-cloud-bigquery-data-exchange-v1beta1 - 2.4.0 + 2.5.0 diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/pom.xml b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/pom.xml index e9fa05b20a3c..56c83da0285d 100644 --- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/pom.xml +++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-bigquery-data-exchange - 2.4.0 + 2.5.0 jar Google Analytics Hub Analytics Hub is a data exchange that allows you to efficiently and securely exchange data assets across organizations to address challenges of data reliability and cost. com.google.cloud google-cloud-bigquery-data-exchange-parent - 2.4.0 + 2.5.0 google-cloud-bigquery-data-exchange diff --git a/java-bigquery-data-exchange/grpc-google-cloud-bigquery-data-exchange-v1beta1/pom.xml b/java-bigquery-data-exchange/grpc-google-cloud-bigquery-data-exchange-v1beta1/pom.xml index c218fdc79bcf..61f00d1c2f20 100644 --- a/java-bigquery-data-exchange/grpc-google-cloud-bigquery-data-exchange-v1beta1/pom.xml +++ b/java-bigquery-data-exchange/grpc-google-cloud-bigquery-data-exchange-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquery-data-exchange-v1beta1 - 2.4.0 + 2.5.0 grpc-google-cloud-bigquery-data-exchange-v1beta1 GRPC library for google-cloud-bigquery-data-exchange com.google.cloud google-cloud-bigquery-data-exchange-parent - 2.4.0 + 2.5.0 diff --git a/java-bigquery-data-exchange/pom.xml b/java-bigquery-data-exchange/pom.xml index 25ebe922ea3e..9255268ec20a 100644 --- a/java-bigquery-data-exchange/pom.xml +++ b/java-bigquery-data-exchange/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquery-data-exchange-parent pom - 2.4.0 + 2.5.0 Google Analytics Hub Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-bigquery-data-exchange - 2.4.0 + 2.5.0 com.google.api.grpc grpc-google-cloud-bigquery-data-exchange-v1beta1 - 2.4.0 + 2.5.0 com.google.api.grpc proto-google-cloud-bigquery-data-exchange-v1beta1 - 2.4.0 + 2.5.0 diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/pom.xml b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/pom.xml index 5eae146990fd..31e1a5c52bc5 100644 --- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/pom.xml +++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquery-data-exchange-v1beta1 - 2.4.0 + 2.5.0 proto-google-cloud-bigquery-data-exchange-v1beta1 Proto library for google-cloud-bigquery-data-exchange com.google.cloud google-cloud-bigquery-data-exchange-parent - 2.4.0 + 2.5.0 diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeProto.java b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeProto.java index 187c0d07a531..354386582182 100644 --- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeProto.java +++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/DataExchangeProto.java @@ -346,16 +346,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ":\001*\032x\312A\033analyticshub.googleapis.com\322AWht" + "tps://www.googleapis.com/auth/bigquery,h" + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformB\363\002\n.com.google.cloud.bigquery.data" - + "exchange.v1beta1B\021DataExchangeProtoP\001ZVg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/bigquery/dataexchange/v1beta1;dataexc" - + "hange\252\002*Google.Cloud.BigQuery.DataExchan" - + "ge.V1Beta1\312\002*Google\\Cloud\\BigQuery\\DataE" - + "xchange\\V1beta1\352\002.Google::Cloud::Bigquer" - + "y::DataExchange::V1beta1\352AH\n\037bigquery.go" - + "ogleapis.com/Dataset\022%projects/{project}" - + "/datasets/{dataset}b\006proto3" + + "tformB\357\002\n.com.google.cloud.bigquery.data" + + "exchange.v1beta1B\021DataExchangeProtoP\001ZRc" + + "loud.google.com/go/bigquery/dataexchange" + + "/apiv1beta1/dataexchangepb;dataexchangep" + + "b\252\002*Google.Cloud.BigQuery.DataExchange.V" + + "1Beta1\312\002*Google\\Cloud\\BigQuery\\DataExcha" + + "nge\\V1beta1\352\002.Google::Cloud::Bigquery::D" + + "ataExchange::V1beta1\352AH\n\037bigquery.google" + + "apis.com/Dataset\022%projects/{project}/dat" + + "asets/{dataset}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/proto/google/cloud/bigquery/dataexchange/v1beta1/dataexchange.proto b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/proto/google/cloud/bigquery/dataexchange/v1beta1/dataexchange.proto index f18a0e49e09f..73bc87d1c731 100644 --- a/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/proto/google/cloud/bigquery/dataexchange/v1beta1/dataexchange.proto +++ b/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/proto/google/cloud/bigquery/dataexchange/v1beta1/dataexchange.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.BigQuery.DataExchange.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/dataexchange/v1beta1;dataexchange"; +option go_package = "cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb;dataexchangepb"; option java_multiple_files = true; option java_outer_classname = "DataExchangeProto"; option java_package = "com.google.cloud.bigquery.dataexchange.v1beta1"; diff --git a/java-bigqueryconnection/README.md b/java-bigqueryconnection/README.md index 310b5cb93646..b3aa3ac5b6f7 100644 --- a/java-bigqueryconnection/README.md +++ b/java-bigqueryconnection/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-bigqueryconnection - 2.10.0 + 2.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.10.0' +implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.11.0" ``` ## Authentication diff --git a/java-bigqueryconnection/google-cloud-bigqueryconnection-bom/pom.xml b/java-bigqueryconnection/google-cloud-bigqueryconnection-bom/pom.xml index 09bec8e30a20..0045c0c8db7b 100644 --- a/java-bigqueryconnection/google-cloud-bigqueryconnection-bom/pom.xml +++ b/java-bigqueryconnection/google-cloud-bigqueryconnection-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-bigqueryconnection-bom - 2.11.0 + 2.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-bigqueryconnection - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.19.0 + 0.20.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.19.0 + 0.20.0 diff --git a/java-bigqueryconnection/google-cloud-bigqueryconnection/pom.xml b/java-bigqueryconnection/google-cloud-bigqueryconnection/pom.xml index 845f9bdbda0d..37f651141c12 100644 --- a/java-bigqueryconnection/google-cloud-bigqueryconnection/pom.xml +++ b/java-bigqueryconnection/google-cloud-bigqueryconnection/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-bigqueryconnection - 2.11.0 + 2.12.0 jar Google Cloud BigQuery Connections is about com.google.cloud google-cloud-bigqueryconnection-parent - 2.11.0 + 2.12.0 google-cloud-bigqueryconnection diff --git a/java-bigqueryconnection/google-cloud-bigqueryconnection/src/test/java/com/google/cloud/bigqueryconnection/v1/it/ITSystemTest.java b/java-bigqueryconnection/google-cloud-bigqueryconnection/src/test/java/com/google/cloud/bigqueryconnection/v1/it/ITSystemTest.java index ae3e906ba937..a855ff0fb072 100644 --- a/java-bigqueryconnection/google-cloud-bigqueryconnection/src/test/java/com/google/cloud/bigqueryconnection/v1/it/ITSystemTest.java +++ b/java-bigqueryconnection/google-cloud-bigqueryconnection/src/test/java/com/google/cloud/bigqueryconnection/v1/it/ITSystemTest.java @@ -43,8 +43,11 @@ import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; +@Ignore( + "Excluding this test until the problem is resolved. https://github.com/googleapis/google-cloud-java/issues/9040") public class ITSystemTest { private static final String ID = UUID.randomUUID().toString().substring(0, 8); diff --git a/java-bigqueryconnection/grpc-google-cloud-bigqueryconnection-v1/pom.xml b/java-bigqueryconnection/grpc-google-cloud-bigqueryconnection-v1/pom.xml index f0ab6ac28934..a10fd841d909 100644 --- a/java-bigqueryconnection/grpc-google-cloud-bigqueryconnection-v1/pom.xml +++ b/java-bigqueryconnection/grpc-google-cloud-bigqueryconnection-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 2.11.0 + 2.12.0 grpc-google-cloud-bigqueryconnection-v1 GRPC library for grpc-google-cloud-bigqueryconnection-v1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.11.0 + 2.12.0 diff --git a/java-bigqueryconnection/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml b/java-bigqueryconnection/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml index 49d821466beb..28d8539313dc 100644 --- a/java-bigqueryconnection/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml +++ b/java-bigqueryconnection/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.19.0 + 0.20.0 grpc-google-cloud-bigqueryconnection-v1beta1 GRPC library for grpc-google-cloud-bigqueryconnection-v1beta1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.11.0 + 2.12.0 diff --git a/java-bigqueryconnection/pom.xml b/java-bigqueryconnection/pom.xml index 9ce538008dcc..e5e8c27ffab9 100644 --- a/java-bigqueryconnection/pom.xml +++ b/java-bigqueryconnection/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigqueryconnection-parent pom - 2.11.0 + 2.12.0 Google Cloud BigQuery Connections Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-bigqueryconnection - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.19.0 + 0.20.0 com.google.api.grpc grpc-google-cloud-bigqueryconnection-v1beta1 - 0.19.0 + 0.20.0 diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/pom.xml b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/pom.xml index e36dc8d6769e..254c14c0b1ed 100644 --- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/pom.xml +++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1 - 2.11.0 + 2.12.0 proto-google-cloud-bigqueryconnection-v1 PROTO library for proto-google-cloud-bigqueryconnection-v1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.11.0 + 2.12.0 diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOuterClass.java b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOuterClass.java index 01d693f7215b..9f05304e9695 100644 --- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOuterClass.java +++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionOuterClass.java @@ -213,12 +213,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rmissions\032~\312A!bigqueryconnection.googlea" + "pis.com\322AWhttps://www.googleapis.com/aut" + "h/bigquery,https://www.googleapis.com/au" - + "th/cloud-platformB\306\001\n\'com.google.cloud.b" - + "igquery.connection.v1P\001ZMgoogle.golang.o" - + "rg/genproto/googleapis/cloud/bigquery/co" - + "nnection/v1;connection\252\002#Google.Cloud.Bi" - + "gQuery.Connection.V1\312\002#Google\\Cloud\\BigQ" - + "uery\\Connection\\V1b\006proto3" + + "th/cloud-platformB\300\001\n\'com.google.cloud.b" + + "igquery.connection.v1P\001ZGcloud.google.co" + + "m/go/bigquery/connection/apiv1/connectio" + + "npb;connectionpb\252\002#Google.Cloud.BigQuery" + + ".Connection.V1\312\002#Google\\Cloud\\BigQuery\\C" + + "onnection\\V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/proto/google/cloud/bigquery/connection/v1/connection.proto b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/proto/google/cloud/bigquery/connection/v1/connection.proto index ee0dba14ad83..8350c3950ead 100644 --- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/proto/google/cloud/bigquery/connection/v1/connection.proto +++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/proto/google/cloud/bigquery/connection/v1/connection.proto @@ -26,7 +26,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Connection.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1;connection"; +option go_package = "cloud.google.com/go/bigquery/connection/apiv1/connectionpb;connectionpb"; option java_multiple_files = true; option java_package = "com.google.cloud.bigquery.connection.v1"; option php_namespace = "Google\\Cloud\\BigQuery\\Connection\\V1"; diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml index a9cb9eeea9fc..717f1c145c79 100644 --- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml +++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigqueryconnection-v1beta1 - 0.19.0 + 0.20.0 proto-google-cloud-bigqueryconnection-v1beta1 PROTO library for proto-google-cloud-bigqueryconnection-v1beta1 com.google.cloud google-cloud-bigqueryconnection-parent - 2.11.0 + 2.12.0 diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionProto.java b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionProto.java index f87b78ab15b4..d751d31fc1bb 100644 --- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionProto.java +++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionProto.java @@ -13412,13 +13412,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "A\024resource,permissions\032~\312A!bigqueryconne" + "ction.googleapis.com\322AWhttps://www.googl" + "eapis.com/auth/bigquery,https://www.goog" - + "leapis.com/auth/cloud-platformB\351\001\n,com.g" + + "leapis.com/auth/cloud-platformB\343\001\n,com.g" + "oogle.cloud.bigquery.connection.v1beta1B" - + "\017ConnectionProtoZRgoogle.golang.org/genp" - + "roto/googleapis/cloud/bigquery/connectio" - + "n/v1beta1;connection\252\002(Google.Cloud.BigQ" - + "uery.Connection.V1Beta1\312\002(Google\\Cloud\\B" - + "igQuery\\Connection\\V1beta1b\006proto3" + + "\017ConnectionProtoZLcloud.google.com/go/bi" + + "gquery/connection/apiv1beta1/connectionp" + + "b;connectionpb\252\002(Google.Cloud.BigQuery.C" + + "onnection.V1Beta1\312\002(Google\\Cloud\\BigQuer" + + "y\\Connection\\V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/src/main/proto/google/cloud/bigquery/connection/v1beta1/connection.proto b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/src/main/proto/google/cloud/bigquery/connection/v1beta1/connection.proto index eda714db7d46..4692cddb84a4 100644 --- a/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/src/main/proto/google/cloud/bigquery/connection/v1beta1/connection.proto +++ b/java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1beta1/src/main/proto/google/cloud/bigquery/connection/v1beta1/connection.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Connection.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1;connection"; +option go_package = "cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb;connectionpb"; option java_outer_classname = "ConnectionProto"; option java_package = "com.google.cloud.bigquery.connection.v1beta1"; option php_namespace = "Google\\Cloud\\BigQuery\\Connection\\V1beta1"; diff --git a/java-bigquerydatapolicy/README.md b/java-bigquerydatapolicy/README.md index 8145e455d86c..22e9df7e732f 100644 --- a/java-bigquerydatapolicy/README.md +++ b/java-bigquerydatapolicy/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-bigquerydatapolicy - 0.5.0 + 0.6.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.5.0' +implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.6.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.6.0" ``` ## Authentication diff --git a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy-bom/pom.xml b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy-bom/pom.xml index 4937a2ab87cf..71ea322eb1c6 100644 --- a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy-bom/pom.xml +++ b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-bigquerydatapolicy-bom - 0.6.0 + 0.7.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-bigquerydatapolicy - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-bigquerydatapolicy-v1beta1 - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-bigquerydatapolicy-v1 - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-bigquerydatapolicy-v1beta1 - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-bigquerydatapolicy-v1 - 0.6.0 + 0.7.0 diff --git a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/pom.xml b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/pom.xml index 940f6f29cabe..a8705a255bdf 100644 --- a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/pom.xml +++ b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-bigquerydatapolicy - 0.6.0 + 0.7.0 jar Google BigQuery DataPolicy API BigQuery DataPolicy API com.google.cloud google-cloud-bigquerydatapolicy-parent - 0.6.0 + 0.7.0 google-cloud-bigquerydatapolicy diff --git a/java-bigquerydatapolicy/grpc-google-cloud-bigquerydatapolicy-v1/pom.xml b/java-bigquerydatapolicy/grpc-google-cloud-bigquerydatapolicy-v1/pom.xml index 07c90fb31dc8..001bd3738de6 100644 --- a/java-bigquerydatapolicy/grpc-google-cloud-bigquerydatapolicy-v1/pom.xml +++ b/java-bigquerydatapolicy/grpc-google-cloud-bigquerydatapolicy-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerydatapolicy-v1 - 0.6.0 + 0.7.0 grpc-google-cloud-bigquerydatapolicy-v1 GRPC library for google-cloud-bigquerydatapolicy com.google.cloud google-cloud-bigquerydatapolicy-parent - 0.6.0 + 0.7.0 diff --git a/java-bigquerydatapolicy/grpc-google-cloud-bigquerydatapolicy-v1beta1/pom.xml b/java-bigquerydatapolicy/grpc-google-cloud-bigquerydatapolicy-v1beta1/pom.xml index a502f2f8a81c..0bcdb99ef9d2 100644 --- a/java-bigquerydatapolicy/grpc-google-cloud-bigquerydatapolicy-v1beta1/pom.xml +++ b/java-bigquerydatapolicy/grpc-google-cloud-bigquerydatapolicy-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerydatapolicy-v1beta1 - 0.6.0 + 0.7.0 grpc-google-cloud-bigquerydatapolicy-v1beta1 GRPC library for google-cloud-bigquerydatapolicy com.google.cloud google-cloud-bigquerydatapolicy-parent - 0.6.0 + 0.7.0 diff --git a/java-bigquerydatapolicy/pom.xml b/java-bigquerydatapolicy/pom.xml index a3f505e728f4..4bf299e9e8a2 100644 --- a/java-bigquerydatapolicy/pom.xml +++ b/java-bigquerydatapolicy/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerydatapolicy-parent pom - 0.6.0 + 0.7.0 Google BigQuery DataPolicy API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-bigquerydatapolicy - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-bigquerydatapolicy-v1 - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-bigquerydatapolicy-v1 - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-bigquerydatapolicy-v1beta1 - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-bigquerydatapolicy-v1beta1 - 0.6.0 + 0.7.0 diff --git a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/pom.xml b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/pom.xml index 119548b4a0d0..fcc046292f42 100644 --- a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/pom.xml +++ b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerydatapolicy-v1 - 0.6.0 + 0.7.0 proto-google-cloud-bigquerydatapolicy-v1 Proto library for google-cloud-bigquerydatapolicy com.google.cloud google-cloud-bigquerydatapolicy-parent - 0.6.0 + 0.7.0 diff --git a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/src/main/java/com/google/cloud/bigquery/datapolicies/v1/DataPolicyProto.java b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/src/main/java/com/google/cloud/bigquery/datapolicies/v1/DataPolicyProto.java index b145152d9d6d..89cc6c1c482d 100644 --- a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/src/main/java/com/google/cloud/bigquery/datapolicies/v1/DataPolicyProto.java +++ b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/src/main/java/com/google/cloud/bigquery/datapolicies/v1/DataPolicyProto.java @@ -170,14 +170,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ermissions:\001*\032~\312A!bigquerydatapolicy.goo" + "gleapis.com\322AWhttps://www.googleapis.com" + "/auth/bigquery,https://www.googleapis.co" - + "m/auth/cloud-platformB\215\002\n)com.google.clo" + + "m/auth/cloud-platformB\211\002\n)com.google.clo" + "ud.bigquery.datapolicies.v1B\017DataPolicyP" - + "rotoP\001ZQgoogle.golang.org/genproto/googl" - + "eapis/cloud/bigquery/datapolicies/v1;dat" - + "apolicies\252\002%Google.Cloud.BigQuery.DataPo" - + "licies.V1\312\002%Google\\Cloud\\BigQuery\\DataPo" - + "licies\\V1\352\002)Google::Cloud::Bigquery::Dat" - + "aPolicies::V1b\006proto3" + + "rotoP\001ZMcloud.google.com/go/bigquery/dat" + + "apolicies/apiv1/datapoliciespb;datapolic" + + "iespb\252\002%Google.Cloud.BigQuery.DataPolici" + + "es.V1\312\002%Google\\Cloud\\BigQuery\\DataPolici" + + "es\\V1\352\002)Google::Cloud::Bigquery::DataPol" + + "icies::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/src/main/proto/google/cloud/bigquery/datapolicies/v1/datapolicy.proto b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/src/main/proto/google/cloud/bigquery/datapolicies/v1/datapolicy.proto index cd79acfba307..1677e7eb7a41 100644 --- a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/src/main/proto/google/cloud/bigquery/datapolicies/v1/datapolicy.proto +++ b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1/src/main/proto/google/cloud/bigquery/datapolicies/v1/datapolicy.proto @@ -26,7 +26,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.BigQuery.DataPolicies.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/datapolicies/v1;datapolicies"; +option go_package = "cloud.google.com/go/bigquery/datapolicies/apiv1/datapoliciespb;datapoliciespb"; option java_multiple_files = true; option java_outer_classname = "DataPolicyProto"; option java_package = "com.google.cloud.bigquery.datapolicies.v1"; diff --git a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/pom.xml b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/pom.xml index 32248ca713d5..04a9eeb4dfeb 100644 --- a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/pom.xml +++ b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerydatapolicy-v1beta1 - 0.6.0 + 0.7.0 proto-google-cloud-bigquerydatapolicy-v1beta1 Proto library for google-cloud-bigquerydatapolicy com.google.cloud google-cloud-bigquerydatapolicy-parent - 0.6.0 + 0.7.0 diff --git a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/src/main/java/com/google/cloud/bigquery/datapolicies/v1beta1/DataPolicyProto.java b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/src/main/java/com/google/cloud/bigquery/datapolicies/v1beta1/DataPolicyProto.java index 176b02479d5c..a2e2aa441108 100644 --- a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/src/main/java/com/google/cloud/bigquery/datapolicies/v1beta1/DataPolicyProto.java +++ b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/src/main/java/com/google/cloud/bigquery/datapolicies/v1beta1/DataPolicyProto.java @@ -161,15 +161,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Permissions:\001*\032~\312A!bigquerydatapolicy.go" + "ogleapis.com\322AWhttps://www.googleapis.co" + "m/auth/bigquery,https://www.googleapis.c" - + "om/auth/cloud-platformB\246\002\n.com.google.cl" + + "om/auth/cloud-platformB\242\002\n.com.google.cl" + "oud.bigquery.datapolicies.v1beta1B\017DataP" - + "olicyProtoP\001ZVgoogle.golang.org/genproto" - + "/googleapis/cloud/bigquery/datapolicies/" - + "v1beta1;datapolicies\252\002*Google.Cloud.BigQ" - + "uery.DataPolicies.V1Beta1\312\002*Google\\Cloud" - + "\\BigQuery\\DataPolicies\\V1beta1\352\002.Google:" - + ":Cloud::Bigquery::DataPolicies::V1beta1b" - + "\006proto3" + + "olicyProtoP\001ZRcloud.google.com/go/bigque" + + "ry/datapolicies/apiv1beta1/datapoliciesp" + + "b;datapoliciespb\252\002*Google.Cloud.BigQuery" + + ".DataPolicies.V1Beta1\312\002*Google\\Cloud\\Big" + + "Query\\DataPolicies\\V1beta1\352\002.Google::Clo" + + "ud::Bigquery::DataPolicies::V1beta1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/src/main/proto/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.proto b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/src/main/proto/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.proto index 363f15c5ce94..b149fe47595c 100644 --- a/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/src/main/proto/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.proto +++ b/java-bigquerydatapolicy/proto-google-cloud-bigquerydatapolicy-v1beta1/src/main/proto/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.proto @@ -26,7 +26,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.BigQuery.DataPolicies.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/datapolicies/v1beta1;datapolicies"; +option go_package = "cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb;datapoliciespb"; option java_multiple_files = true; option java_outer_classname = "DataPolicyProto"; option java_package = "com.google.cloud.bigquery.datapolicies.v1beta1"; diff --git a/java-bigquerydatatransfer/README.md b/java-bigquerydatatransfer/README.md index 50b0af4ba7c8..101a467d7b7b 100644 --- a/java-bigquerydatatransfer/README.md +++ b/java-bigquerydatatransfer/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-bigquerydatatransfer - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.8.0' +implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.9.0" ``` ## Authentication diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer-bom/pom.xml b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer-bom/pom.xml index c7c3ef141b0c..2db3534bb26a 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer-bom/pom.xml +++ b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-bigquerydatatransfer-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-bigquerydatatransfer - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 2.9.0 + 2.10.0 diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/pom.xml b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/pom.xml index ebbd8ef06301..ad03ffac747c 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/pom.xml +++ b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-bigquerydatatransfer - 2.9.0 + 2.10.0 jar BigQuery DataTransfer BigQuery DataTransfer com.google.cloud google-cloud-bigquerydatatransfer-parent - 2.9.0 + 2.10.0 google-cloud-bigquerydatatransfer diff --git a/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml b/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml index 2a11d89b56a2..8ade3b529248 100644 --- a/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/java-bigquerydatatransfer/grpc-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-bigquerydatatransfer-v1 GRPC library for grpc-google-cloud-bigquerydatatransfer-v1 com.google.cloud google-cloud-bigquerydatatransfer-parent - 2.9.0 + 2.10.0 diff --git a/java-bigquerydatatransfer/pom.xml b/java-bigquerydatatransfer/pom.xml index 5d264183bc9b..836aac8f55b0 100644 --- a/java-bigquerydatatransfer/pom.xml +++ b/java-bigquerydatatransfer/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerydatatransfer-parent pom - 2.9.0 + 2.10.0 BigQuery DataTransfer Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-bigquerydatatransfer-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-bigquerydatatransfer - 2.9.0 + 2.10.0 diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/pom.xml b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/pom.xml index 17f1eaa3ea60..8c0140dec8b9 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/pom.xml +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerydatatransfer-v1 - 2.9.0 + 2.10.0 proto-google-cloud-bigquerydatatransfer-v1 PROTO library for proto-google-cloud-bigquerydatatransfer-v1 com.google.cloud google-cloud-bigquerydatatransfer-parent - 2.9.0 + 2.10.0 diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java index 502ade211e0c..89387ab4c3fc 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferProto.java @@ -385,14 +385,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nrollDataSources:\001*Z,\"\'/v1/{name=project" + "s/*}:enrollDataSources:\001*\032W\312A#bigqueryda" + "tatransfer.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB\217\002\n)c" + + "googleapis.com/auth/cloud-platformB\213\002\n)c" + "om.google.cloud.bigquery.datatransfer.v1" - + "B\021DataTransferProtoP\001ZQgoogle.golang.org" - + "/genproto/googleapis/cloud/bigquery/data" - + "transfer/v1;datatransfer\252\002%Google.Cloud." - + "BigQuery.DataTransfer.V1\312\002%Google\\Cloud\\" - + "BigQuery\\DataTransfer\\V1\352\002)Google::Cloud" - + "::Bigquery::DataTransfer::V1b\006proto3" + + "B\021DataTransferProtoP\001ZMcloud.google.com/" + + "go/bigquery/datatransfer/apiv1/datatrans" + + "ferpb;datatransferpb\252\002%Google.Cloud.BigQ" + + "uery.DataTransfer.V1\312\002%Google\\Cloud\\BigQ" + + "uery\\DataTransfer\\V1\352\002)Google::Cloud::Bi" + + "gquery::DataTransfer::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java index eb36b33c0202..553680cbf2e2 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/TransferProto.java @@ -129,14 +129,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\000\022\t\n\005BATCH\020\001\022\r\n\tSTREAMING\020\002\032\002\030\001*s\n\rTrans" + "ferState\022\036\n\032TRANSFER_STATE_UNSPECIFIED\020\000" + "\022\013\n\007PENDING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tSUCCEEDED\020" - + "\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\223\002\n)com.goo" + + "\004\022\n\n\006FAILED\020\005\022\r\n\tCANCELLED\020\006B\217\002\n)com.goo" + "gle.cloud.bigquery.datatransfer.v1B\rTran" - + "sferProtoP\001ZQgoogle.golang.org/genproto/" - + "googleapis/cloud/bigquery/datatransfer/v" - + "1;datatransfer\242\002\005GCBDT\252\002%Google.Cloud.Bi" - + "gQuery.DataTransfer.V1\312\002%Google\\Cloud\\Bi" - + "gQuery\\DataTransfer\\V1\352\002)Google::Cloud::" - + "Bigquery::DataTransfer::V1b\006proto3" + + "sferProtoP\001ZMcloud.google.com/go/bigquer" + + "y/datatransfer/apiv1/datatransferpb;data" + + "transferpb\242\002\005GCBDT\252\002%Google.Cloud.BigQue" + + "ry.DataTransfer.V1\312\002%Google\\Cloud\\BigQue" + + "ry\\DataTransfer\\V1\352\002)Google::Cloud::Bigq" + + "uery::DataTransfer::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto index 0ac1c3d72f8c..7400e45f05a1 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto @@ -28,7 +28,7 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.BigQuery.DataTransfer.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1;datatransfer"; +option go_package = "cloud.google.com/go/bigquery/datatransfer/apiv1/datatransferpb;datatransferpb"; option java_multiple_files = true; option java_outer_classname = "DataTransferProto"; option java_package = "com.google.cloud.bigquery.datatransfer.v1"; diff --git a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto index a73c3455996e..4c9eca8cf5e1 100644 --- a/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto +++ b/java-bigquerydatatransfer/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.BigQuery.DataTransfer.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1;datatransfer"; +option go_package = "cloud.google.com/go/bigquery/datatransfer/apiv1/datatransferpb;datatransferpb"; option java_multiple_files = true; option java_outer_classname = "TransferProto"; option java_package = "com.google.cloud.bigquery.datatransfer.v1"; diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java new file mode 100644 index 000000000000..9d23bdc52f29 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/AsyncCheckValidCreds.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest; +import com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse; +import com.google.cloud.bigquery.datatransfer.v1.DataSourceName; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; + +public class AsyncCheckValidCreds { + + public static void main(String[] args) throws Exception { + asyncCheckValidCreds(); + } + + public static void asyncCheckValidCreds() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + CheckValidCredsRequest request = + CheckValidCredsRequest.newBuilder() + .setName( + DataSourceName.ofProjectLocationDataSourceName( + "[PROJECT]", "[LOCATION]", "[DATA_SOURCE]") + .toString()) + .build(); + ApiFuture future = + dataTransferServiceClient.checkValidCredsCallable().futureCall(request); + // Do something. + CheckValidCredsResponse response = future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java new file mode 100644 index 000000000000..3f23de0142f2 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCreds.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_sync] +import com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest; +import com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse; +import com.google.cloud.bigquery.datatransfer.v1.DataSourceName; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; + +public class SyncCheckValidCreds { + + public static void main(String[] args) throws Exception { + syncCheckValidCreds(); + } + + public static void syncCheckValidCreds() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + CheckValidCredsRequest request = + CheckValidCredsRequest.newBuilder() + .setName( + DataSourceName.ofProjectLocationDataSourceName( + "[PROJECT]", "[LOCATION]", "[DATA_SOURCE]") + .toString()) + .build(); + CheckValidCredsResponse response = dataTransferServiceClient.checkValidCreds(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java new file mode 100644 index 000000000000..0ca47e41c3c1 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsDatasourcename.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_Datasourcename_sync] +import com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse; +import com.google.cloud.bigquery.datatransfer.v1.DataSourceName; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; + +public class SyncCheckValidCredsDatasourcename { + + public static void main(String[] args) throws Exception { + syncCheckValidCredsDatasourcename(); + } + + public static void syncCheckValidCredsDatasourcename() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + DataSourceName name = + DataSourceName.ofProjectLocationDataSourceName( + "[PROJECT]", "[LOCATION]", "[DATA_SOURCE]"); + CheckValidCredsResponse response = dataTransferServiceClient.checkValidCreds(name); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_Datasourcename_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java new file mode 100644 index 000000000000..3cf4eab11d7b --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/checkvalidcreds/SyncCheckValidCredsString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse; +import com.google.cloud.bigquery.datatransfer.v1.DataSourceName; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; + +public class SyncCheckValidCredsString { + + public static void main(String[] args) throws Exception { + syncCheckValidCredsString(); + } + + public static void syncCheckValidCredsString() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String name = DataSourceName.ofProjectDataSourceName("[PROJECT]", "[DATA_SOURCE]").toString(); + CheckValidCredsResponse response = dataTransferServiceClient.checkValidCreds(name); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_CheckValidCreds_String_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/create/SyncCreateSetCredentialsProvider.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java similarity index 64% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/create/SyncCreateSetCredentialsProvider.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java index 0e18ff84d24e..57c50e06762f 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/create/SyncCreateSetCredentialsProvider.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_Create_SetCredentialsProvider_sync] +// [START bigquerydatatransfer_v1_generated_DataTransferService_Create_SetCredentialsProvider_sync] import com.google.api.gax.core.FixedCredentialsProvider; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceSettings; -import com.google.cloud.networkconnectivity.v1.myCredentials; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceSettings; +import com.google.cloud.bigquery.datatransfer.v1.myCredentials; public class SyncCreateSetCredentialsProvider { @@ -34,12 +34,12 @@ public static void syncCreateSetCredentialsProvider() throws Exception { // - 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 - PolicyBasedRoutingServiceSettings policyBasedRoutingServiceSettings = - PolicyBasedRoutingServiceSettings.newBuilder() + DataTransferServiceSettings dataTransferServiceSettings = + DataTransferServiceSettings.newBuilder() .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) .build(); - PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create(policyBasedRoutingServiceSettings); + DataTransferServiceClient dataTransferServiceClient = + DataTransferServiceClient.create(dataTransferServiceSettings); } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_Create_SetCredentialsProvider_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferService_Create_SetCredentialsProvider_sync] diff --git a/java-apigee-connect/samples/snippets/generated/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetCredentialsProvider1.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java similarity index 65% rename from java-apigee-connect/samples/snippets/generated/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetCredentialsProvider1.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java index f72596e748ee..56ca459d62ef 100644 --- a/java-apigee-connect/samples/snippets/generated/com/google/cloud/apigeeconnect/v1/tether/create/SyncCreateSetCredentialsProvider1.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetCredentialsProvider1.java @@ -14,11 +14,11 @@ * limitations under the License. */ -package com.google.cloud.apigeeconnect.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START apigeeconnect_v1_generated_Tether_Create_SetCredentialsProvider1_sync] -import com.google.cloud.apigeeconnect.v1.TetherClient; -import com.google.cloud.apigeeconnect.v1.TetherSettings; +// [START bigquerydatatransfer_v1_generated_DataTransferService_Create_SetCredentialsProvider1_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceSettings; public class SyncCreateSetCredentialsProvider1 { @@ -32,8 +32,10 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { // - 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 - TetherSettings tetherSettings = TetherSettings.newHttpJsonBuilder().build(); - TetherClient tetherClient = TetherClient.create(tetherSettings); + DataTransferServiceSettings dataTransferServiceSettings = + DataTransferServiceSettings.newHttpJsonBuilder().build(); + DataTransferServiceClient dataTransferServiceClient = + DataTransferServiceClient.create(dataTransferServiceSettings); } } -// [END apigeeconnect_v1_generated_Tether_Create_SetCredentialsProvider1_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferService_Create_SetCredentialsProvider1_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/create/SyncCreateSetEndpoint.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java similarity index 60% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/create/SyncCreateSetEndpoint.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java index c25cc40b7c86..e4e9d65b85d3 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/create/SyncCreateSetEndpoint.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/create/SyncCreateSetEndpoint.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_Create_SetEndpoint_sync] -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceSettings; -import com.google.cloud.networkconnectivity.v1.myEndpoint; +// [START bigquerydatatransfer_v1_generated_DataTransferService_Create_SetEndpoint_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceSettings; +import com.google.cloud.bigquery.datatransfer.v1.myEndpoint; public class SyncCreateSetEndpoint { @@ -33,10 +33,10 @@ public static void syncCreateSetEndpoint() throws Exception { // - 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 - PolicyBasedRoutingServiceSettings policyBasedRoutingServiceSettings = - PolicyBasedRoutingServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); - PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create(policyBasedRoutingServiceSettings); + DataTransferServiceSettings dataTransferServiceSettings = + DataTransferServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); + DataTransferServiceClient dataTransferServiceClient = + DataTransferServiceClient.create(dataTransferServiceSettings); } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_Create_SetEndpoint_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferService_Create_SetEndpoint_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java new file mode 100644 index 000000000000..744fe129fb3b --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/AsyncCreateTransferConfig.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; + +public class AsyncCreateTransferConfig { + + public static void main(String[] args) throws Exception { + asyncCreateTransferConfig(); + } + + public static void asyncCreateTransferConfig() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + CreateTransferConfigRequest request = + CreateTransferConfigRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setTransferConfig(TransferConfig.newBuilder().build()) + .setAuthorizationCode("authorizationCode742596102") + .setVersionInfo("versionInfo688769446") + .setServiceAccountName("serviceAccountName2137368675") + .build(); + ApiFuture future = + dataTransferServiceClient.createTransferConfigCallable().futureCall(request); + // Do something. + TransferConfig response = future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java new file mode 100644 index 000000000000..2f472b5d6935 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfig.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_sync] +import com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; + +public class SyncCreateTransferConfig { + + public static void main(String[] args) throws Exception { + syncCreateTransferConfig(); + } + + public static void syncCreateTransferConfig() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + CreateTransferConfigRequest request = + CreateTransferConfigRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setTransferConfig(TransferConfig.newBuilder().build()) + .setAuthorizationCode("authorizationCode742596102") + .setVersionInfo("versionInfo688769446") + .setServiceAccountName("serviceAccountName2137368675") + .build(); + TransferConfig response = dataTransferServiceClient.createTransferConfig(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java new file mode 100644 index 000000000000..aa7c32bb761e --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigLocationnameTransferconfig.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_LocationnameTransferconfig_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.LocationName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; + +public class SyncCreateTransferConfigLocationnameTransferconfig { + + public static void main(String[] args) throws Exception { + syncCreateTransferConfigLocationnameTransferconfig(); + } + + public static void syncCreateTransferConfigLocationnameTransferconfig() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + TransferConfig transferConfig = TransferConfig.newBuilder().build(); + TransferConfig response = + dataTransferServiceClient.createTransferConfig(parent, transferConfig); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_LocationnameTransferconfig_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java new file mode 100644 index 000000000000..458b357dc925 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigProjectnameTransferconfig.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_ProjectnameTransferconfig_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; + +public class SyncCreateTransferConfigProjectnameTransferconfig { + + public static void main(String[] args) throws Exception { + syncCreateTransferConfigProjectnameTransferconfig(); + } + + public static void syncCreateTransferConfigProjectnameTransferconfig() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ProjectName parent = ProjectName.of("[PROJECT]"); + TransferConfig transferConfig = TransferConfig.newBuilder().build(); + TransferConfig response = + dataTransferServiceClient.createTransferConfig(parent, transferConfig); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_ProjectnameTransferconfig_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java new file mode 100644 index 000000000000..2bf58d96dd9c --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/createtransferconfig/SyncCreateTransferConfigStringTransferconfig.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_StringTransferconfig_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; + +public class SyncCreateTransferConfigStringTransferconfig { + + public static void main(String[] args) throws Exception { + syncCreateTransferConfigStringTransferconfig(); + } + + public static void syncCreateTransferConfigStringTransferconfig() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String parent = ProjectName.of("[PROJECT]").toString(); + TransferConfig transferConfig = TransferConfig.newBuilder().build(); + TransferConfig response = + dataTransferServiceClient.createTransferConfig(parent, transferConfig); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_CreateTransferConfig_StringTransferconfig_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/AsyncDeletePolicyBasedRoute.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java similarity index 51% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/AsyncDeletePolicyBasedRoute.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java index 0bff00a01f98..f068a412be97 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/AsyncDeletePolicyBasedRoute.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/AsyncDeleteTransferConfig.java @@ -14,41 +14,40 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_async] +// [START bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_async] import com.google.api.core.ApiFuture; -import com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRouteName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; -import com.google.longrunning.Operation; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.protobuf.Empty; -public class AsyncDeletePolicyBasedRoute { +public class AsyncDeleteTransferConfig { public static void main(String[] args) throws Exception { - asyncDeletePolicyBasedRoute(); + asyncDeleteTransferConfig(); } - public static void asyncDeletePolicyBasedRoute() throws Exception { + public static void asyncDeleteTransferConfig() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - DeletePolicyBasedRouteRequest request = - DeletePolicyBasedRouteRequest.newBuilder() + try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + DeleteTransferConfigRequest request = + DeleteTransferConfigRequest.newBuilder() .setName( - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]") + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") .toString()) - .setRequestId("requestId693933066") .build(); - ApiFuture future = - policyBasedRoutingServiceClient.deletePolicyBasedRouteCallable().futureCall(request); + ApiFuture future = + dataTransferServiceClient.deleteTransferConfigCallable().futureCall(request); // Do something. future.get(); } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_async] +// [END bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_async] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/SyncDeletePolicyBasedRoute.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java similarity index 53% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/SyncDeletePolicyBasedRoute.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java index e827f253b362..c84736c91386 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/SyncDeletePolicyBasedRoute.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfig.java @@ -14,37 +14,36 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_sync] -import com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRouteName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; import com.google.protobuf.Empty; -public class SyncDeletePolicyBasedRoute { +public class SyncDeleteTransferConfig { public static void main(String[] args) throws Exception { - syncDeletePolicyBasedRoute(); + syncDeleteTransferConfig(); } - public static void syncDeletePolicyBasedRoute() throws Exception { + public static void syncDeleteTransferConfig() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - DeletePolicyBasedRouteRequest request = - DeletePolicyBasedRouteRequest.newBuilder() + try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + DeleteTransferConfigRequest request = + DeleteTransferConfigRequest.newBuilder() .setName( - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]") + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") .toString()) - .setRequestId("requestId693933066") .build(); - policyBasedRoutingServiceClient.deletePolicyBasedRouteAsync(request).get(); + dataTransferServiceClient.deleteTransferConfig(request); } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/SyncDeletePolicyBasedRouteString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java similarity index 56% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/SyncDeletePolicyBasedRouteString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java index f11380a6868b..562acea1b203 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/SyncDeletePolicyBasedRouteString.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigString.java @@ -14,31 +14,31 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_String_sync] -import com.google.cloud.networkconnectivity.v1.PolicyBasedRouteName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; import com.google.protobuf.Empty; -public class SyncDeletePolicyBasedRouteString { +public class SyncDeleteTransferConfigString { public static void main(String[] args) throws Exception { - syncDeletePolicyBasedRouteString(); + syncDeleteTransferConfigString(); } - public static void syncDeletePolicyBasedRouteString() throws Exception { + public static void syncDeleteTransferConfigString() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { + try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { String name = - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]").toString(); - policyBasedRoutingServiceClient.deletePolicyBasedRouteAsync(name).get(); + TransferConfigName.ofProjectTransferConfigName("[PROJECT]", "[TRANSFER_CONFIG]") + .toString(); + dataTransferServiceClient.deleteTransferConfig(name); } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_String_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_String_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/SyncDeletePolicyBasedRoutePolicybasedroutename.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java similarity index 53% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/SyncDeletePolicyBasedRoutePolicybasedroutename.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java index d319ba4559c5..8d5273312ef1 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/SyncDeletePolicyBasedRoutePolicybasedroutename.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferconfig/SyncDeleteTransferConfigTransferconfigname.java @@ -14,31 +14,31 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_Policybasedroutename_sync] -import com.google.cloud.networkconnectivity.v1.PolicyBasedRouteName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_Transferconfigname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; import com.google.protobuf.Empty; -public class SyncDeletePolicyBasedRoutePolicybasedroutename { +public class SyncDeleteTransferConfigTransferconfigname { public static void main(String[] args) throws Exception { - syncDeletePolicyBasedRoutePolicybasedroutename(); + syncDeleteTransferConfigTransferconfigname(); } - public static void syncDeletePolicyBasedRoutePolicybasedroutename() throws Exception { + public static void syncDeleteTransferConfigTransferconfigname() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - PolicyBasedRouteName name = - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]"); - policyBasedRoutingServiceClient.deletePolicyBasedRouteAsync(name).get(); + try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + TransferConfigName name = + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]"); + dataTransferServiceClient.deleteTransferConfig(name); } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_Policybasedroutename_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferConfig_Transferconfigname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java new file mode 100644 index 000000000000..b2b8b337bb40 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/AsyncDeleteTransferRun.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.protobuf.Empty; + +public class AsyncDeleteTransferRun { + + public static void main(String[] args) throws Exception { + asyncDeleteTransferRun(); + } + + public static void asyncDeleteTransferRun() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + DeleteTransferRunRequest request = + DeleteTransferRunRequest.newBuilder() + .setName( + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]") + .toString()) + .build(); + ApiFuture future = + dataTransferServiceClient.deleteTransferRunCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java new file mode 100644 index 000000000000..cc30972e862b --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRun.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.protobuf.Empty; + +public class SyncDeleteTransferRun { + + public static void main(String[] args) throws Exception { + syncDeleteTransferRun(); + } + + public static void syncDeleteTransferRun() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + DeleteTransferRunRequest request = + DeleteTransferRunRequest.newBuilder() + .setName( + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]") + .toString()) + .build(); + dataTransferServiceClient.deleteTransferRun(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java new file mode 100644 index 000000000000..fbb97095508d --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunRunname.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_Runname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.protobuf.Empty; + +public class SyncDeleteTransferRunRunname { + + public static void main(String[] args) throws Exception { + syncDeleteTransferRunRunname(); + } + + public static void syncDeleteTransferRunRunname() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + RunName name = + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]"); + dataTransferServiceClient.deleteTransferRun(name); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_Runname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java new file mode 100644 index 000000000000..0d934765308d --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/deletetransferrun/SyncDeleteTransferRunString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.protobuf.Empty; + +public class SyncDeleteTransferRunString { + + public static void main(String[] args) throws Exception { + syncDeleteTransferRunString(); + } + + public static void syncDeleteTransferRunString() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String name = + RunName.ofProjectTransferConfigRunName("[PROJECT]", "[TRANSFER_CONFIG]", "[RUN]") + .toString(); + dataTransferServiceClient.deleteTransferRun(name); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_DeleteTransferRun_String_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java new file mode 100644 index 000000000000..ded9176e69b0 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/AsyncEnrollDataSources.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_EnrollDataSources_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest; +import com.google.protobuf.Empty; +import java.util.ArrayList; + +public class AsyncEnrollDataSources { + + public static void main(String[] args) throws Exception { + asyncEnrollDataSources(); + } + + public static void asyncEnrollDataSources() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + EnrollDataSourcesRequest request = + EnrollDataSourcesRequest.newBuilder() + .setName("name3373707") + .addAllDataSourceIds(new ArrayList()) + .build(); + ApiFuture future = + dataTransferServiceClient.enrollDataSourcesCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_EnrollDataSources_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java new file mode 100644 index 000000000000..fcda37d35613 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/enrolldatasources/SyncEnrollDataSources.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_EnrollDataSources_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest; +import com.google.protobuf.Empty; +import java.util.ArrayList; + +public class SyncEnrollDataSources { + + public static void main(String[] args) throws Exception { + syncEnrollDataSources(); + } + + public static void syncEnrollDataSources() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + EnrollDataSourcesRequest request = + EnrollDataSourcesRequest.newBuilder() + .setName("name3373707") + .addAllDataSourceIds(new ArrayList()) + .build(); + dataTransferServiceClient.enrollDataSources(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_EnrollDataSources_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java new file mode 100644 index 000000000000..edf6f44bf217 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/AsyncGetDataSource.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataSourceName; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest; + +public class AsyncGetDataSource { + + public static void main(String[] args) throws Exception { + asyncGetDataSource(); + } + + public static void asyncGetDataSource() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + GetDataSourceRequest request = + GetDataSourceRequest.newBuilder() + .setName( + DataSourceName.ofProjectLocationDataSourceName( + "[PROJECT]", "[LOCATION]", "[DATA_SOURCE]") + .toString()) + .build(); + ApiFuture future = + dataTransferServiceClient.getDataSourceCallable().futureCall(request); + // Do something. + DataSource response = future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java new file mode 100644 index 000000000000..41af3bb3712b --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSource.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataSourceName; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest; + +public class SyncGetDataSource { + + public static void main(String[] args) throws Exception { + syncGetDataSource(); + } + + public static void syncGetDataSource() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + GetDataSourceRequest request = + GetDataSourceRequest.newBuilder() + .setName( + DataSourceName.ofProjectLocationDataSourceName( + "[PROJECT]", "[LOCATION]", "[DATA_SOURCE]") + .toString()) + .build(); + DataSource response = dataTransferServiceClient.getDataSource(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java new file mode 100644 index 000000000000..109fb21440ea --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceDatasourcename.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_Datasourcename_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataSourceName; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; + +public class SyncGetDataSourceDatasourcename { + + public static void main(String[] args) throws Exception { + syncGetDataSourceDatasourcename(); + } + + public static void syncGetDataSourceDatasourcename() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + DataSourceName name = + DataSourceName.ofProjectLocationDataSourceName( + "[PROJECT]", "[LOCATION]", "[DATA_SOURCE]"); + DataSource response = dataTransferServiceClient.getDataSource(name); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_Datasourcename_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java new file mode 100644 index 000000000000..2e67789aa914 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getdatasource/SyncGetDataSourceString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataSourceName; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; + +public class SyncGetDataSourceString { + + public static void main(String[] args) throws Exception { + syncGetDataSourceString(); + } + + public static void syncGetDataSourceString() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String name = DataSourceName.ofProjectDataSourceName("[PROJECT]", "[DATA_SOURCE]").toString(); + DataSource response = dataTransferServiceClient.getDataSource(name); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetDataSource_String_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java new file mode 100644 index 000000000000..4086898a1a6a --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/AsyncGetLocation.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetLocation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.Location; + +public class AsyncGetLocation { + + public static void main(String[] args) throws Exception { + asyncGetLocation(); + } + + public static void asyncGetLocation() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + dataTransferServiceClient.getLocationCallable().futureCall(request); + // Do something. + Location response = future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetLocation_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java new file mode 100644 index 000000000000..38b26ebbd15e --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/getlocation/SyncGetLocation.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetLocation_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.Location; + +public class SyncGetLocation { + + public static void main(String[] args) throws Exception { + syncGetLocation(); + } + + public static void syncGetLocation() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + Location response = dataTransferServiceClient.getLocation(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetLocation_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/AsyncGetPolicyBasedRoute.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java similarity index 51% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/AsyncGetPolicyBasedRoute.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java index d635942640e1..cd8e4a554eda 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/AsyncGetPolicyBasedRoute.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/AsyncGetTransferConfig.java @@ -14,40 +14,40 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_async] +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_async] import com.google.api.core.ApiFuture; -import com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRouteName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; -public class AsyncGetPolicyBasedRoute { +public class AsyncGetTransferConfig { public static void main(String[] args) throws Exception { - asyncGetPolicyBasedRoute(); + asyncGetTransferConfig(); } - public static void asyncGetPolicyBasedRoute() throws Exception { + public static void asyncGetTransferConfig() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - GetPolicyBasedRouteRequest request = - GetPolicyBasedRouteRequest.newBuilder() + try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + GetTransferConfigRequest request = + GetTransferConfigRequest.newBuilder() .setName( - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]") + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") .toString()) .build(); - ApiFuture future = - policyBasedRoutingServiceClient.getPolicyBasedRouteCallable().futureCall(request); + ApiFuture future = + dataTransferServiceClient.getTransferConfigCallable().futureCall(request); // Do something. - PolicyBasedRoute response = future.get(); + TransferConfig response = future.get(); } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_async] +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_async] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/SyncGetPolicyBasedRoute.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java similarity index 52% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/SyncGetPolicyBasedRoute.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java index 16c3941ea7c8..371ec8d48e47 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/SyncGetPolicyBasedRoute.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfig.java @@ -14,36 +14,36 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_sync] -import com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRouteName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; -public class SyncGetPolicyBasedRoute { +public class SyncGetTransferConfig { public static void main(String[] args) throws Exception { - syncGetPolicyBasedRoute(); + syncGetTransferConfig(); } - public static void syncGetPolicyBasedRoute() throws Exception { + public static void syncGetTransferConfig() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - GetPolicyBasedRouteRequest request = - GetPolicyBasedRouteRequest.newBuilder() + try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + GetTransferConfigRequest request = + GetTransferConfigRequest.newBuilder() .setName( - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]") + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") .toString()) .build(); - PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(request); + TransferConfig response = dataTransferServiceClient.getTransferConfig(request); } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/SyncGetPolicyBasedRouteString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java similarity index 54% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/SyncGetPolicyBasedRouteString.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java index 46bdd59470d5..e57fa0de2412 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/SyncGetPolicyBasedRouteString.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigString.java @@ -14,31 +14,31 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_String_sync] -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRouteName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; -public class SyncGetPolicyBasedRouteString { +public class SyncGetTransferConfigString { public static void main(String[] args) throws Exception { - syncGetPolicyBasedRouteString(); + syncGetTransferConfigString(); } - public static void syncGetPolicyBasedRouteString() throws Exception { + public static void syncGetTransferConfigString() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { + try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { String name = - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]").toString(); - PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(name); + TransferConfigName.ofProjectTransferConfigName("[PROJECT]", "[TRANSFER_CONFIG]") + .toString(); + TransferConfig response = dataTransferServiceClient.getTransferConfig(name); } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_String_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_String_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java new file mode 100644 index 000000000000..141863bf06ba --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferconfig/SyncGetTransferConfigTransferconfigname.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_Transferconfigname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; + +public class SyncGetTransferConfigTransferconfigname { + + public static void main(String[] args) throws Exception { + syncGetTransferConfigTransferconfigname(); + } + + public static void syncGetTransferConfigTransferconfigname() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + TransferConfigName name = + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]"); + TransferConfig response = dataTransferServiceClient.getTransferConfig(name); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetTransferConfig_Transferconfigname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java new file mode 100644 index 000000000000..15a7f831d671 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/AsyncGetTransferRun.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.cloud.bigquery.datatransfer.v1.TransferRun; + +public class AsyncGetTransferRun { + + public static void main(String[] args) throws Exception { + asyncGetTransferRun(); + } + + public static void asyncGetTransferRun() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + GetTransferRunRequest request = + GetTransferRunRequest.newBuilder() + .setName( + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]") + .toString()) + .build(); + ApiFuture future = + dataTransferServiceClient.getTransferRunCallable().futureCall(request); + // Do something. + TransferRun response = future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java new file mode 100644 index 000000000000..343b6afaeeab --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRun.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.cloud.bigquery.datatransfer.v1.TransferRun; + +public class SyncGetTransferRun { + + public static void main(String[] args) throws Exception { + syncGetTransferRun(); + } + + public static void syncGetTransferRun() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + GetTransferRunRequest request = + GetTransferRunRequest.newBuilder() + .setName( + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]") + .toString()) + .build(); + TransferRun response = dataTransferServiceClient.getTransferRun(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java new file mode 100644 index 000000000000..1730339b6b0b --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunRunname.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_Runname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.cloud.bigquery.datatransfer.v1.TransferRun; + +public class SyncGetTransferRunRunname { + + public static void main(String[] args) throws Exception { + syncGetTransferRunRunname(); + } + + public static void syncGetTransferRunRunname() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + RunName name = + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]"); + TransferRun response = dataTransferServiceClient.getTransferRun(name); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_Runname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java new file mode 100644 index 000000000000..2039fc63cd8e --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/gettransferrun/SyncGetTransferRunString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.cloud.bigquery.datatransfer.v1.TransferRun; + +public class SyncGetTransferRunString { + + public static void main(String[] args) throws Exception { + syncGetTransferRunString(); + } + + public static void syncGetTransferRunString() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String name = + RunName.ofProjectTransferConfigRunName("[PROJECT]", "[TRANSFER_CONFIG]", "[RUN]") + .toString(); + TransferRun response = dataTransferServiceClient.getTransferRun(name); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_GetTransferRun_String_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java new file mode 100644 index 000000000000..f0b6cd9b0e8f --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSources.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; + +public class AsyncListDataSources { + + public static void main(String[] args) throws Exception { + asyncListDataSources(); + } + + public static void asyncListDataSources() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListDataSourcesRequest request = + ListDataSourcesRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .build(); + ApiFuture future = + dataTransferServiceClient.listDataSourcesPagedCallable().futureCall(request); + // Do something. + for (DataSource element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java new file mode 100644 index 000000000000..d6d10db26b4b --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/AsyncListDataSourcesPaged.java @@ -0,0 +1,62 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_Paged_async] +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest; +import com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.common.base.Strings; + +public class AsyncListDataSourcesPaged { + + public static void main(String[] args) throws Exception { + asyncListDataSourcesPaged(); + } + + public static void asyncListDataSourcesPaged() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListDataSourcesRequest request = + ListDataSourcesRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .build(); + while (true) { + ListDataSourcesResponse response = + dataTransferServiceClient.listDataSourcesCallable().call(request); + for (DataSource element : response.getDataSourcesList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_Paged_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java new file mode 100644 index 000000000000..40b67febf626 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSources.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; + +public class SyncListDataSources { + + public static void main(String[] args) throws Exception { + syncListDataSources(); + } + + public static void syncListDataSources() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListDataSourcesRequest request = + ListDataSourcesRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .build(); + for (DataSource element : dataTransferServiceClient.listDataSources(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java new file mode 100644 index 000000000000..428246ff79a6 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesLocationname.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_Locationname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.LocationName; + +public class SyncListDataSourcesLocationname { + + public static void main(String[] args) throws Exception { + syncListDataSourcesLocationname(); + } + + public static void syncListDataSourcesLocationname() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (DataSource element : dataTransferServiceClient.listDataSources(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_Locationname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java new file mode 100644 index 000000000000..1335c539c8fe --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesProjectname.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_Projectname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; + +public class SyncListDataSourcesProjectname { + + public static void main(String[] args) throws Exception { + syncListDataSourcesProjectname(); + } + + public static void syncListDataSourcesProjectname() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ProjectName parent = ProjectName.of("[PROJECT]"); + for (DataSource element : dataTransferServiceClient.listDataSources(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_Projectname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java new file mode 100644 index 000000000000..7af89c82e737 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listdatasources/SyncListDataSourcesString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataSource; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; + +public class SyncListDataSourcesString { + + public static void main(String[] args) throws Exception { + syncListDataSourcesString(); + } + + public static void syncListDataSourcesString() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String parent = ProjectName.of("[PROJECT]").toString(); + for (DataSource element : dataTransferServiceClient.listDataSources(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListDataSources_String_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java new file mode 100644 index 000000000000..6f0babd97ca1 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocations.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListLocations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.Location; + +public class AsyncListLocations { + + public static void main(String[] args) throws Exception { + asyncListLocations(); + } + + public static void asyncListLocations() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + dataTransferServiceClient.listLocationsPagedCallable().futureCall(request); + // Do something. + for (Location element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListLocations_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java new file mode 100644 index 000000000000..7eb2c29c6054 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/AsyncListLocationsPaged.java @@ -0,0 +1,62 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListLocations_Paged_async] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.base.Strings; + +public class AsyncListLocationsPaged { + + public static void main(String[] args) throws Exception { + asyncListLocationsPaged(); + } + + public static void asyncListLocationsPaged() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListLocationsResponse response = + dataTransferServiceClient.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; + } + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListLocations_Paged_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java new file mode 100644 index 000000000000..c2a7afff5921 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listlocations/SyncListLocations.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListLocations_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.Location; + +public class SyncListLocations { + + public static void main(String[] args) throws Exception { + syncListLocations(); + } + + public static void syncListLocations() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Location element : dataTransferServiceClient.listLocations(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListLocations_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java new file mode 100644 index 000000000000..32cedf32693f --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigs.java @@ -0,0 +1,56 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import java.util.ArrayList; + +public class AsyncListTransferConfigs { + + public static void main(String[] args) throws Exception { + asyncListTransferConfigs(); + } + + public static void asyncListTransferConfigs() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListTransferConfigsRequest request = + ListTransferConfigsRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .addAllDataSourceIds(new ArrayList()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .build(); + ApiFuture future = + dataTransferServiceClient.listTransferConfigsPagedCallable().futureCall(request); + // Do something. + for (TransferConfig element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java new file mode 100644 index 000000000000..3f356468762a --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/AsyncListTransferConfigsPaged.java @@ -0,0 +1,64 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_Paged_async] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.common.base.Strings; +import java.util.ArrayList; + +public class AsyncListTransferConfigsPaged { + + public static void main(String[] args) throws Exception { + asyncListTransferConfigsPaged(); + } + + public static void asyncListTransferConfigsPaged() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListTransferConfigsRequest request = + ListTransferConfigsRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .addAllDataSourceIds(new ArrayList()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .build(); + while (true) { + ListTransferConfigsResponse response = + dataTransferServiceClient.listTransferConfigsCallable().call(request); + for (TransferConfig element : response.getTransferConfigsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_Paged_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java new file mode 100644 index 000000000000..59910f01da76 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigs.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import java.util.ArrayList; + +public class SyncListTransferConfigs { + + public static void main(String[] args) throws Exception { + syncListTransferConfigs(); + } + + public static void syncListTransferConfigs() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListTransferConfigsRequest request = + ListTransferConfigsRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .addAllDataSourceIds(new ArrayList()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .build(); + for (TransferConfig element : + dataTransferServiceClient.listTransferConfigs(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/SyncListPolicyBasedRoutesLocationname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java similarity index 56% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/SyncListPolicyBasedRoutesLocationname.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java index 24af9caa5beb..8f7fd542c59a 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/SyncListPolicyBasedRoutesLocationname.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsLocationname.java @@ -14,33 +14,32 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_Locationname_sync] -import com.google.cloud.networkconnectivity.v1.LocationName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_Locationname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.LocationName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; -public class SyncListPolicyBasedRoutesLocationname { +public class SyncListTransferConfigsLocationname { public static void main(String[] args) throws Exception { - syncListPolicyBasedRoutesLocationname(); + syncListTransferConfigsLocationname(); } - public static void syncListPolicyBasedRoutesLocationname() throws Exception { + public static void syncListTransferConfigsLocationname() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { + try (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); - for (PolicyBasedRoute element : - policyBasedRoutingServiceClient.listPolicyBasedRoutes(parent).iterateAll()) { + for (TransferConfig element : + dataTransferServiceClient.listTransferConfigs(parent).iterateAll()) { // doThingsWith(element); } } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_Locationname_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_Locationname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java new file mode 100644 index 000000000000..d0922ee4ca8c --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsProjectname.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_Projectname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; + +public class SyncListTransferConfigsProjectname { + + public static void main(String[] args) throws Exception { + syncListTransferConfigsProjectname(); + } + + public static void syncListTransferConfigsProjectname() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ProjectName parent = ProjectName.of("[PROJECT]"); + for (TransferConfig element : + dataTransferServiceClient.listTransferConfigs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_Projectname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java new file mode 100644 index 000000000000..76e6fc0354bc --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferconfigs/SyncListTransferConfigsString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ProjectName; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; + +public class SyncListTransferConfigsString { + + public static void main(String[] args) throws Exception { + syncListTransferConfigsString(); + } + + public static void syncListTransferConfigsString() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String parent = ProjectName.of("[PROJECT]").toString(); + for (TransferConfig element : + dataTransferServiceClient.listTransferConfigs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferConfigs_String_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java new file mode 100644 index 000000000000..c7673ad1cbed --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogs.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.cloud.bigquery.datatransfer.v1.TransferMessage; +import java.util.ArrayList; + +public class AsyncListTransferLogs { + + public static void main(String[] args) throws Exception { + asyncListTransferLogs(); + } + + public static void asyncListTransferLogs() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListTransferLogsRequest request = + ListTransferLogsRequest.newBuilder() + .setParent( + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]") + .toString()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .addAllMessageTypes(new ArrayList()) + .build(); + ApiFuture future = + dataTransferServiceClient.listTransferLogsPagedCallable().futureCall(request); + // Do something. + for (TransferMessage element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java new file mode 100644 index 000000000000..263ff6fbd703 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/AsyncListTransferLogsPaged.java @@ -0,0 +1,67 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_Paged_async] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.cloud.bigquery.datatransfer.v1.TransferMessage; +import com.google.common.base.Strings; +import java.util.ArrayList; + +public class AsyncListTransferLogsPaged { + + public static void main(String[] args) throws Exception { + asyncListTransferLogsPaged(); + } + + public static void asyncListTransferLogsPaged() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListTransferLogsRequest request = + ListTransferLogsRequest.newBuilder() + .setParent( + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]") + .toString()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .addAllMessageTypes(new ArrayList()) + .build(); + while (true) { + ListTransferLogsResponse response = + dataTransferServiceClient.listTransferLogsCallable().call(request); + for (TransferMessage element : response.getTransferMessagesList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_Paged_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java new file mode 100644 index 000000000000..d3d454494a93 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogs.java @@ -0,0 +1,56 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.cloud.bigquery.datatransfer.v1.TransferMessage; +import java.util.ArrayList; + +public class SyncListTransferLogs { + + public static void main(String[] args) throws Exception { + syncListTransferLogs(); + } + + public static void syncListTransferLogs() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListTransferLogsRequest request = + ListTransferLogsRequest.newBuilder() + .setParent( + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]") + .toString()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .addAllMessageTypes(new ArrayList()) + .build(); + for (TransferMessage element : + dataTransferServiceClient.listTransferLogs(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java new file mode 100644 index 000000000000..23e984e3af71 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsRunname.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_Runname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.cloud.bigquery.datatransfer.v1.TransferMessage; + +public class SyncListTransferLogsRunname { + + public static void main(String[] args) throws Exception { + syncListTransferLogsRunname(); + } + + public static void syncListTransferLogsRunname() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + RunName parent = + RunName.ofProjectLocationTransferConfigRunName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]", "[RUN]"); + for (TransferMessage element : + dataTransferServiceClient.listTransferLogs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_Runname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java new file mode 100644 index 000000000000..5b24ba69a4ef --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferlogs/SyncListTransferLogsString.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.RunName; +import com.google.cloud.bigquery.datatransfer.v1.TransferMessage; + +public class SyncListTransferLogsString { + + public static void main(String[] args) throws Exception { + syncListTransferLogsString(); + } + + public static void syncListTransferLogsString() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String parent = + RunName.ofProjectTransferConfigRunName("[PROJECT]", "[TRANSFER_CONFIG]", "[RUN]") + .toString(); + for (TransferMessage element : + dataTransferServiceClient.listTransferLogs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferLogs_String_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java new file mode 100644 index 000000000000..1f34b3247171 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRuns.java @@ -0,0 +1,60 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.cloud.bigquery.datatransfer.v1.TransferRun; +import com.google.cloud.bigquery.datatransfer.v1.TransferState; +import java.util.ArrayList; + +public class AsyncListTransferRuns { + + public static void main(String[] args) throws Exception { + asyncListTransferRuns(); + } + + public static void asyncListTransferRuns() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListTransferRunsRequest request = + ListTransferRunsRequest.newBuilder() + .setParent( + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") + .toString()) + .addAllStates(new ArrayList()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .build(); + ApiFuture future = + dataTransferServiceClient.listTransferRunsPagedCallable().futureCall(request); + // Do something. + for (TransferRun element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java new file mode 100644 index 000000000000..e7f72ad0d42f --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/AsyncListTransferRunsPaged.java @@ -0,0 +1,68 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_Paged_async] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.cloud.bigquery.datatransfer.v1.TransferRun; +import com.google.cloud.bigquery.datatransfer.v1.TransferState; +import com.google.common.base.Strings; +import java.util.ArrayList; + +public class AsyncListTransferRunsPaged { + + public static void main(String[] args) throws Exception { + asyncListTransferRunsPaged(); + } + + public static void asyncListTransferRunsPaged() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListTransferRunsRequest request = + ListTransferRunsRequest.newBuilder() + .setParent( + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") + .toString()) + .addAllStates(new ArrayList()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .build(); + while (true) { + ListTransferRunsResponse response = + dataTransferServiceClient.listTransferRunsCallable().call(request); + for (TransferRun element : response.getTransferRunsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_Paged_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java new file mode 100644 index 000000000000..8c687d8acb50 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRuns.java @@ -0,0 +1,56 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.cloud.bigquery.datatransfer.v1.TransferRun; +import com.google.cloud.bigquery.datatransfer.v1.TransferState; +import java.util.ArrayList; + +public class SyncListTransferRuns { + + public static void main(String[] args) throws Exception { + syncListTransferRuns(); + } + + public static void syncListTransferRuns() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ListTransferRunsRequest request = + ListTransferRunsRequest.newBuilder() + .setParent( + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") + .toString()) + .addAllStates(new ArrayList()) + .setPageToken("pageToken873572522") + .setPageSize(883849137) + .build(); + for (TransferRun element : dataTransferServiceClient.listTransferRuns(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java new file mode 100644 index 000000000000..ae6ae9eaa44c --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsString.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_String_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.cloud.bigquery.datatransfer.v1.TransferRun; + +public class SyncListTransferRunsString { + + public static void main(String[] args) throws Exception { + syncListTransferRunsString(); + } + + public static void syncListTransferRunsString() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String parent = + TransferConfigName.ofProjectTransferConfigName("[PROJECT]", "[TRANSFER_CONFIG]") + .toString(); + for (TransferRun element : dataTransferServiceClient.listTransferRuns(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_String_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java new file mode 100644 index 000000000000..73b527cc102c --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/listtransferruns/SyncListTransferRunsTransferconfigname.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_Transferconfigname_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.cloud.bigquery.datatransfer.v1.TransferRun; + +public class SyncListTransferRunsTransferconfigname { + + public static void main(String[] args) throws Exception { + syncListTransferRunsTransferconfigname(); + } + + public static void syncListTransferRunsTransferconfigname() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + TransferConfigName parent = + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]"); + for (TransferRun element : dataTransferServiceClient.listTransferRuns(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ListTransferRuns_Transferconfigname_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java new file mode 100644 index 000000000000..e915fa9b2944 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/AsyncScheduleTransferRuns.java @@ -0,0 +1,56 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest; +import com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.protobuf.Timestamp; + +public class AsyncScheduleTransferRuns { + + public static void main(String[] args) throws Exception { + asyncScheduleTransferRuns(); + } + + public static void asyncScheduleTransferRuns() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ScheduleTransferRunsRequest request = + ScheduleTransferRunsRequest.newBuilder() + .setParent( + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") + .toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .build(); + ApiFuture future = + dataTransferServiceClient.scheduleTransferRunsCallable().futureCall(request); + // Do something. + ScheduleTransferRunsResponse response = future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java new file mode 100644 index 000000000000..95f6fda8d8e6 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRuns.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest; +import com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.protobuf.Timestamp; + +public class SyncScheduleTransferRuns { + + public static void main(String[] args) throws Exception { + syncScheduleTransferRuns(); + } + + public static void syncScheduleTransferRuns() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + ScheduleTransferRunsRequest request = + ScheduleTransferRunsRequest.newBuilder() + .setParent( + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") + .toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .build(); + ScheduleTransferRunsResponse response = + dataTransferServiceClient.scheduleTransferRuns(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java new file mode 100644 index 000000000000..13545b01e46c --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsStringTimestampTimestamp.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_StringTimestampTimestamp_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.protobuf.Timestamp; + +public class SyncScheduleTransferRunsStringTimestampTimestamp { + + public static void main(String[] args) throws Exception { + syncScheduleTransferRunsStringTimestampTimestamp(); + } + + public static void syncScheduleTransferRunsStringTimestampTimestamp() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + String parent = + TransferConfigName.ofProjectTransferConfigName("[PROJECT]", "[TRANSFER_CONFIG]") + .toString(); + Timestamp startTime = Timestamp.newBuilder().build(); + Timestamp endTime = Timestamp.newBuilder().build(); + ScheduleTransferRunsResponse response = + dataTransferServiceClient.scheduleTransferRuns(parent, startTime, endTime); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_StringTimestampTimestamp_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java new file mode 100644 index 000000000000..ed0042048ddd --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/scheduletransferruns/SyncScheduleTransferRunsTransferconfignameTimestampTimestamp.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_TransferconfignameTimestampTimestamp_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; +import com.google.protobuf.Timestamp; + +public class SyncScheduleTransferRunsTransferconfignameTimestampTimestamp { + + public static void main(String[] args) throws Exception { + syncScheduleTransferRunsTransferconfignameTimestampTimestamp(); + } + + public static void syncScheduleTransferRunsTransferconfignameTimestampTimestamp() + 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + TransferConfigName parent = + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]"); + Timestamp startTime = Timestamp.newBuilder().build(); + Timestamp endTime = Timestamp.newBuilder().build(); + ScheduleTransferRunsResponse response = + dataTransferServiceClient.scheduleTransferRuns(parent, startTime, endTime); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_ScheduleTransferRuns_TransferconfignameTimestampTimestamp_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java new file mode 100644 index 000000000000..63d8ebca2430 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/AsyncStartManualTransferRuns.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_StartManualTransferRuns_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest; +import com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; + +public class AsyncStartManualTransferRuns { + + public static void main(String[] args) throws Exception { + asyncStartManualTransferRuns(); + } + + public static void asyncStartManualTransferRuns() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + StartManualTransferRunsRequest request = + StartManualTransferRunsRequest.newBuilder() + .setParent( + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") + .toString()) + .build(); + ApiFuture future = + dataTransferServiceClient.startManualTransferRunsCallable().futureCall(request); + // Do something. + StartManualTransferRunsResponse response = future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_StartManualTransferRuns_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java new file mode 100644 index 000000000000..d3b1641c719e --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/startmanualtransferruns/SyncStartManualTransferRuns.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_StartManualTransferRuns_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest; +import com.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsResponse; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfigName; + +public class SyncStartManualTransferRuns { + + public static void main(String[] args) throws Exception { + syncStartManualTransferRuns(); + } + + public static void syncStartManualTransferRuns() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + StartManualTransferRunsRequest request = + StartManualTransferRunsRequest.newBuilder() + .setParent( + TransferConfigName.ofProjectLocationTransferConfigName( + "[PROJECT]", "[LOCATION]", "[TRANSFER_CONFIG]") + .toString()) + .build(); + StartManualTransferRunsResponse response = + dataTransferServiceClient.startManualTransferRuns(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_StartManualTransferRuns_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java new file mode 100644 index 000000000000..ebd4069a5b31 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/AsyncUpdateTransferConfig.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_UpdateTransferConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateTransferConfig { + + public static void main(String[] args) throws Exception { + asyncUpdateTransferConfig(); + } + + public static void asyncUpdateTransferConfig() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + UpdateTransferConfigRequest request = + UpdateTransferConfigRequest.newBuilder() + .setTransferConfig(TransferConfig.newBuilder().build()) + .setAuthorizationCode("authorizationCode742596102") + .setUpdateMask(FieldMask.newBuilder().build()) + .setVersionInfo("versionInfo688769446") + .setServiceAccountName("serviceAccountName2137368675") + .build(); + ApiFuture future = + dataTransferServiceClient.updateTransferConfigCallable().futureCall(request); + // Do something. + TransferConfig response = future.get(); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_UpdateTransferConfig_async] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java new file mode 100644 index 000000000000..ef7d19d54268 --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfig.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_UpdateTransferConfig_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateTransferConfig { + + public static void main(String[] args) throws Exception { + syncUpdateTransferConfig(); + } + + public static void syncUpdateTransferConfig() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + UpdateTransferConfigRequest request = + UpdateTransferConfigRequest.newBuilder() + .setTransferConfig(TransferConfig.newBuilder().build()) + .setAuthorizationCode("authorizationCode742596102") + .setUpdateMask(FieldMask.newBuilder().build()) + .setVersionInfo("versionInfo688769446") + .setServiceAccountName("serviceAccountName2137368675") + .build(); + TransferConfig response = dataTransferServiceClient.updateTransferConfig(request); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_UpdateTransferConfig_sync] diff --git a/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java new file mode 100644 index 000000000000..e626477397cd --- /dev/null +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservice/updatetransferconfig/SyncUpdateTransferConfigTransferconfigFieldmask.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.bigquery.datatransfer.v1.samples; + +// [START bigquerydatatransfer_v1_generated_DataTransferService_UpdateTransferConfig_TransferconfigFieldmask_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient; +import com.google.cloud.bigquery.datatransfer.v1.TransferConfig; +import com.google.protobuf.FieldMask; + +public class SyncUpdateTransferConfigTransferconfigFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateTransferConfigTransferconfigFieldmask(); + } + + public static void syncUpdateTransferConfigTransferconfigFieldmask() 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 (DataTransferServiceClient dataTransferServiceClient = DataTransferServiceClient.create()) { + TransferConfig transferConfig = TransferConfig.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + TransferConfig response = + dataTransferServiceClient.updateTransferConfig(transferConfig, updateMask); + } + } +} +// [END bigquerydatatransfer_v1_generated_DataTransferService_UpdateTransferConfig_TransferconfigFieldmask_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservicesettings/getpolicybasedroute/SyncGetPolicyBasedRoute.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java similarity index 57% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservicesettings/getpolicybasedroute/SyncGetPolicyBasedRoute.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java index d48c4e1b12c2..0c7c881cb2bc 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservicesettings/getpolicybasedroute/SyncGetPolicyBasedRoute.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/datatransferservicesettings/getdatasource/SyncGetDataSource.java @@ -14,37 +14,37 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.bigquery.datatransfer.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingServiceSettings_GetPolicyBasedRoute_sync] -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceSettings; +// [START bigquerydatatransfer_v1_generated_DataTransferServiceSettings_GetDataSource_sync] +import com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceSettings; import java.time.Duration; -public class SyncGetPolicyBasedRoute { +public class SyncGetDataSource { public static void main(String[] args) throws Exception { - syncGetPolicyBasedRoute(); + syncGetDataSource(); } - public static void syncGetPolicyBasedRoute() throws Exception { + public static void syncGetDataSource() 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 - PolicyBasedRoutingServiceSettings.Builder policyBasedRoutingServiceSettingsBuilder = - PolicyBasedRoutingServiceSettings.newBuilder(); - policyBasedRoutingServiceSettingsBuilder - .getPolicyBasedRouteSettings() + DataTransferServiceSettings.Builder dataTransferServiceSettingsBuilder = + DataTransferServiceSettings.newBuilder(); + dataTransferServiceSettingsBuilder + .getDataSourceSettings() .setRetrySettings( - policyBasedRoutingServiceSettingsBuilder - .getPolicyBasedRouteSettings() + dataTransferServiceSettingsBuilder + .getDataSourceSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); - PolicyBasedRoutingServiceSettings policyBasedRoutingServiceSettings = - policyBasedRoutingServiceSettingsBuilder.build(); + DataTransferServiceSettings dataTransferServiceSettings = + dataTransferServiceSettingsBuilder.build(); } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingServiceSettings_GetPolicyBasedRoute_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferServiceSettings_GetDataSource_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/stub/policybasedroutingservicestubsettings/getpolicybasedroute/SyncGetPolicyBasedRoute.java b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java similarity index 56% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/stub/policybasedroutingservicestubsettings/getpolicybasedroute/SyncGetPolicyBasedRoute.java rename to java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java index 7a68c4310f48..7853cea2689d 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/stub/policybasedroutingservicestubsettings/getpolicybasedroute/SyncGetPolicyBasedRoute.java +++ b/java-bigquerydatatransfer/samples/snippets/generated/com/google/cloud/bigquery/datatransfer/v1/stub/datatransferservicestubsettings/getdatasource/SyncGetDataSource.java @@ -14,37 +14,37 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.stub.samples; +package com.google.cloud.bigquery.datatransfer.v1.stub.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingServiceStubSettings_GetPolicyBasedRoute_sync] -import com.google.cloud.networkconnectivity.v1.stub.PolicyBasedRoutingServiceStubSettings; +// [START bigquerydatatransfer_v1_generated_DataTransferServiceStubSettings_GetDataSource_sync] +import com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStubSettings; import java.time.Duration; -public class SyncGetPolicyBasedRoute { +public class SyncGetDataSource { public static void main(String[] args) throws Exception { - syncGetPolicyBasedRoute(); + syncGetDataSource(); } - public static void syncGetPolicyBasedRoute() throws Exception { + public static void syncGetDataSource() 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 - PolicyBasedRoutingServiceStubSettings.Builder policyBasedRoutingServiceSettingsBuilder = - PolicyBasedRoutingServiceStubSettings.newBuilder(); - policyBasedRoutingServiceSettingsBuilder - .getPolicyBasedRouteSettings() + DataTransferServiceStubSettings.Builder dataTransferServiceSettingsBuilder = + DataTransferServiceStubSettings.newBuilder(); + dataTransferServiceSettingsBuilder + .getDataSourceSettings() .setRetrySettings( - policyBasedRoutingServiceSettingsBuilder - .getPolicyBasedRouteSettings() + dataTransferServiceSettingsBuilder + .getDataSourceSettings() .getRetrySettings() .toBuilder() .setTotalTimeout(Duration.ofSeconds(30)) .build()); - PolicyBasedRoutingServiceStubSettings policyBasedRoutingServiceSettings = - policyBasedRoutingServiceSettingsBuilder.build(); + DataTransferServiceStubSettings dataTransferServiceSettings = + dataTransferServiceSettingsBuilder.build(); } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingServiceStubSettings_GetPolicyBasedRoute_sync] +// [END bigquerydatatransfer_v1_generated_DataTransferServiceStubSettings_GetDataSource_sync] diff --git a/java-bigquerymigration/README.md b/java-bigquerymigration/README.md index 78b015301673..b0dec389525b 100644 --- a/java-bigquerymigration/README.md +++ b/java-bigquerymigration/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-bigquerymigration - 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-bigquerymigration:0.11.0' +implementation 'com.google.cloud:google-cloud-bigquerymigration:0.12.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.11.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.12.0" ``` ## Authentication diff --git a/java-bigquerymigration/google-cloud-bigquerymigration-bom/pom.xml b/java-bigquerymigration/google-cloud-bigquerymigration-bom/pom.xml index 7233a2e5f16c..ab174769ac87 100644 --- a/java-bigquerymigration/google-cloud-bigquerymigration-bom/pom.xml +++ b/java-bigquerymigration/google-cloud-bigquerymigration-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-bigquerymigration-bom - 0.12.0 + 0.13.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-bigquerymigration - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-bigquerymigration-v2alpha - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-bigquerymigration-v2 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-bigquerymigration-v2alpha - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-bigquerymigration-v2 - 0.12.0 + 0.13.0 diff --git a/java-bigquerymigration/google-cloud-bigquerymigration/pom.xml b/java-bigquerymigration/google-cloud-bigquerymigration/pom.xml index adcdecdbd566..fd032589efc2 100644 --- a/java-bigquerymigration/google-cloud-bigquerymigration/pom.xml +++ b/java-bigquerymigration/google-cloud-bigquerymigration/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-bigquerymigration - 0.12.0 + 0.13.0 jar Google BigQuery Migration BigQuery Migration BigQuery Migration API com.google.cloud google-cloud-bigquerymigration-parent - 0.12.0 + 0.13.0 google-cloud-bigquerymigration diff --git a/java-bigquerymigration/grpc-google-cloud-bigquerymigration-v2/pom.xml b/java-bigquerymigration/grpc-google-cloud-bigquerymigration-v2/pom.xml index 99066931e8ea..83896381f2a5 100644 --- a/java-bigquerymigration/grpc-google-cloud-bigquerymigration-v2/pom.xml +++ b/java-bigquerymigration/grpc-google-cloud-bigquerymigration-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerymigration-v2 - 0.12.0 + 0.13.0 grpc-google-cloud-bigquerymigration-v2 GRPC library for google-cloud-bigquerymigration com.google.cloud google-cloud-bigquerymigration-parent - 0.12.0 + 0.13.0 diff --git a/java-bigquerymigration/grpc-google-cloud-bigquerymigration-v2alpha/pom.xml b/java-bigquerymigration/grpc-google-cloud-bigquerymigration-v2alpha/pom.xml index 1bdedb5b3eca..b9d59d6ca48d 100644 --- a/java-bigquerymigration/grpc-google-cloud-bigquerymigration-v2alpha/pom.xml +++ b/java-bigquerymigration/grpc-google-cloud-bigquerymigration-v2alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigquerymigration-v2alpha - 0.12.0 + 0.13.0 grpc-google-cloud-bigquerymigration-v2alpha GRPC library for google-cloud-bigquerymigration com.google.cloud google-cloud-bigquerymigration-parent - 0.12.0 + 0.13.0 diff --git a/java-bigquerymigration/pom.xml b/java-bigquerymigration/pom.xml index ba1186b6a199..2e9fc6bf9590 100644 --- a/java-bigquerymigration/pom.xml +++ b/java-bigquerymigration/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigquerymigration-parent pom - 0.12.0 + 0.13.0 Google BigQuery Migration Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-bigquerymigration - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-bigquerymigration-v2 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-bigquerymigration-v2 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-bigquerymigration-v2alpha - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-bigquerymigration-v2alpha - 0.12.0 + 0.13.0 diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/pom.xml b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/pom.xml index b232ca354d72..08b23b9e8dc5 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/pom.xml +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerymigration-v2 - 0.12.0 + 0.13.0 proto-google-cloud-bigquerymigration-v2 Proto library for google-cloud-bigquerymigration com.google.cloud google-cloud-bigquerymigration-parent - 0.12.0 + 0.13.0 diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java index 4e6c50d6750d..6cb9181c8e79 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationEntitiesProto.java @@ -109,12 +109,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n1bigquerymigration.googleapis.com/Migra" + "tionSubtask\022Oprojects/{project}/location" + "s/{location}/workflows/{workflow}/subtas" - + "ks/{subtask}B\331\001\n&com.google.cloud.bigque" + + "ks/{subtask}B\322\001\n&com.google.cloud.bigque" + "ry.migration.v2B\026MigrationEntitiesProtoP" - + "\001ZKgoogle.golang.org/genproto/googleapis" - + "/cloud/bigquery/migration/v2;migration\252\002" - + "\"Google.Cloud.BigQuery.Migration.V2\312\002\"Go" - + "ogle\\Cloud\\BigQuery\\Migration\\V2b\006proto3" + + "\001ZDcloud.google.com/go/bigquery/migratio" + + "n/apiv2/migrationpb;migrationpb\252\002\"Google" + + ".Cloud.BigQuery.Migration.V2\312\002\"Google\\Cl" + + "oud\\BigQuery\\Migration\\V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationErrorDetailsProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationErrorDetailsProto.java index 0fbaf565abb6..71bb2efb4d61 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationErrorDetailsProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationErrorDetailsProto.java @@ -61,13 +61,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gquery.migration.v2.ErrorLocationB\003\340A\001\022." + "\n\nerror_info\030\002 \001(\0132\025.google.rpc.ErrorInf" + "oB\003\340A\002\"7\n\rErrorLocation\022\021\n\004line\030\001 \001(\005B\003\340" - + "A\001\022\023\n\006column\030\002 \001(\005B\003\340A\001B\335\001\n&com.google.c" + + "A\001\022\023\n\006column\030\002 \001(\005B\003\340A\001B\326\001\n&com.google.c" + "loud.bigquery.migration.v2B\032MigrationErr" - + "orDetailsProtoP\001ZKgoogle.golang.org/genp" - + "roto/googleapis/cloud/bigquery/migration" - + "/v2;migration\252\002\"Google.Cloud.BigQuery.Mi" - + "gration.V2\312\002\"Google\\Cloud\\BigQuery\\Migra" - + "tion\\V2b\006proto3" + + "orDetailsProtoP\001ZDcloud.google.com/go/bi" + + "gquery/migration/apiv2/migrationpb;migra" + + "tionpb\252\002\"Google.Cloud.BigQuery.Migration" + + ".V2\312\002\"Google\\Cloud\\BigQuery\\Migration\\V2" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationMetricsProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationMetricsProto.java index ba6a9d5eda59..151f7c254406 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationMetricsProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationMetricsProto.java @@ -74,12 +74,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "lue\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000\022\026\n\014s" + "tring_value\030\004 \001(\tH\000\0226\n\022distribution_valu" + "e\030\005 \001(\0132\030.google.api.DistributionH\000B\007\n\005v" - + "alueB\330\001\n&com.google.cloud.bigquery.migra" - + "tion.v2B\025MigrationMetricsProtoP\001ZKgoogle" - + ".golang.org/genproto/googleapis/cloud/bi" - + "gquery/migration/v2;migration\252\002\"Google.C" - + "loud.BigQuery.Migration.V2\312\002\"Google\\Clou" - + "d\\BigQuery\\Migration\\V2b\006proto3" + + "alueB\321\001\n&com.google.cloud.bigquery.migra" + + "tion.v2B\025MigrationMetricsProtoP\001ZDcloud." + + "google.com/go/bigquery/migration/apiv2/m" + + "igrationpb;migrationpb\252\002\"Google.Cloud.Bi" + + "gQuery.Migration.V2\312\002\"Google\\Cloud\\BigQu" + + "ery\\Migration\\V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java index b47413cb2557..1744caf899fb 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/MigrationServiceProto.java @@ -155,13 +155,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "v2/{parent=projects/*/locations/*/workfl" + "ows/*}/subtasks\332A\006parent\032T\312A bigquerymig" + "ration.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\330\001\n&com.g" + + "leapis.com/auth/cloud-platformB\321\001\n&com.g" + "oogle.cloud.bigquery.migration.v2B\025Migra" - + "tionServiceProtoP\001ZKgoogle.golang.org/ge" - + "nproto/googleapis/cloud/bigquery/migrati" - + "on/v2;migration\252\002\"Google.Cloud.BigQuery." - + "Migration.V2\312\002\"Google\\Cloud\\BigQuery\\Mig" - + "ration\\V2b\006proto3" + + "tionServiceProtoP\001ZDcloud.google.com/go/" + + "bigquery/migration/apiv2/migrationpb;mig" + + "rationpb\252\002\"Google.Cloud.BigQuery.Migrati" + + "on.V2\312\002\"Google\\Cloud\\BigQuery\\Migration\\" + + "V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java index a3e4dd87d35c..4d11dfd6a23a 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/java/com/google/cloud/bigquery/migration/v2/TranslationConfigProto.java @@ -189,13 +189,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\020NameMappingValue\022\020\n\010database\030\001 \001(\t\022\016\n\006" + "schema\030\002 \001(\t\022\020\n\010relation\030\003 \001(\t\022\021\n\tattrib" + "ute\030\004 \001(\t\"A\n\tSourceEnv\022\030\n\020default_databa" - + "se\030\001 \001(\t\022\032\n\022schema_search_path\030\002 \003(\tB\331\001\n" + + "se\030\001 \001(\t\022\032\n\022schema_search_path\030\002 \003(\tB\322\001\n" + "&com.google.cloud.bigquery.migration.v2B" - + "\026TranslationConfigProtoP\001ZKgoogle.golang" - + ".org/genproto/googleapis/cloud/bigquery/" - + "migration/v2;migration\252\002\"Google.Cloud.Bi" - + "gQuery.Migration.V2\312\002\"Google\\Cloud\\BigQu" - + "ery\\Migration\\V2b\006proto3" + + "\026TranslationConfigProtoP\001ZDcloud.google." + + "com/go/bigquery/migration/apiv2/migratio" + + "npb;migrationpb\252\002\"Google.Cloud.BigQuery." + + "Migration.V2\312\002\"Google\\Cloud\\BigQuery\\Mig" + + "ration\\V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto index 7d77bae32d2b..5cdf85a0c63a 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_entities.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/error_details.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "MigrationEntitiesProto"; option java_package = "com.google.cloud.bigquery.migration.v2"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto index 199e2db61ccb..09f241f57327 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_error_details.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/rpc/error_details.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "MigrationErrorDetailsProto"; option java_package = "com.google.cloud.bigquery.migration.v2"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto index e52fead2f12c..0155740be3f2 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_metrics.proto @@ -22,7 +22,7 @@ import "google/api/metric.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "MigrationMetricsProto"; option java_package = "com.google.cloud.bigquery.migration.v2"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto index 3c1a89ec2056..27303e21bf7f 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/migration_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "MigrationServiceProto"; option java_package = "com.google.cloud.bigquery.migration.v2"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto index 994140d1369d..946f48f39db3 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2/src/main/proto/google/cloud/bigquery/migration/v2/translation_config.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.bigquery.migration.v2; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "TranslationConfigProto"; option java_package = "com.google.cloud.bigquery.migration.v2"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/pom.xml b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/pom.xml index 8f6cbacba206..d036366e59e4 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/pom.xml +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigquerymigration-v2alpha - 0.12.0 + 0.13.0 proto-google-cloud-bigquerymigration-v2alpha Proto library for google-cloud-bigquerymigration com.google.cloud google-cloud-bigquerymigration-parent - 0.12.0 + 0.13.0 diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java index 144d5bd3b968..c6759fd1b240 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/AssessmentTaskProto.java @@ -52,13 +52,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ataset\030\002 \001(\tB\003\340A\002\022\033\n\016querylogs_path\030\003 \001(" + "\tB\003\340A\001\022\030\n\013data_source\030\004 \001(\tB\003\340A\002\"Q\n$Asse" + "ssmentOrchestrationResultDetails\022)\n\034outp" - + "ut_tables_schema_version\030\001 \001(\tB\003\340A\001B\352\001\n+" + + "ut_tables_schema_version\030\001 \001(\tB\003\340A\001B\343\001\n+" + "com.google.cloud.bigquery.migration.v2al" - + "phaB\023AssessmentTaskProtoP\001ZPgoogle.golan" - + "g.org/genproto/googleapis/cloud/bigquery" - + "/migration/v2alpha;migration\252\002\'Google.Cl" - + "oud.BigQuery.Migration.V2Alpha\312\002\'Google\\" - + "Cloud\\BigQuery\\Migration\\V2alphab\006proto3" + + "phaB\023AssessmentTaskProtoP\001ZIcloud.google" + + ".com/go/bigquery/migration/apiv2alpha/mi" + + "grationpb;migrationpb\252\002\'Google.Cloud.Big" + + "Query.Migration.V2Alpha\312\002\'Google\\Cloud\\B" + + "igQuery\\Migration\\V2alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java index 6434081515e4..4dd3e9b3a9db 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationEntitiesProto.java @@ -127,13 +127,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Result\022k\n\022assessment_details\030\001 \001(\0132M.goo" + "gle.cloud.bigquery.migration.v2alpha.Ass" + "essmentOrchestrationResultDetailsH\000B\t\n\007d" - + "etailsB\355\001\n+com.google.cloud.bigquery.mig" + + "etailsB\346\001\n+com.google.cloud.bigquery.mig" + "ration.v2alphaB\026MigrationEntitiesProtoP\001" - + "ZPgoogle.golang.org/genproto/googleapis/" - + "cloud/bigquery/migration/v2alpha;migrati" - + "on\252\002\'Google.Cloud.BigQuery.Migration.V2A" - + "lpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\V" - + "2alphab\006proto3" + + "ZIcloud.google.com/go/bigquery/migration" + + "/apiv2alpha/migrationpb;migrationpb\252\002\'Go" + + "ogle.Cloud.BigQuery.Migration.V2Alpha\312\002\'" + + "Google\\Cloud\\BigQuery\\Migration\\V2alphab" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java index 759c4d3f35cc..77597544f5b1 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationErrorDetailsProto.java @@ -62,13 +62,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ErrorLocationB\003\340A\001\022.\n\nerror_info\030\002 \001(\0132\025" + ".google.rpc.ErrorInfoB\003\340A\002\"7\n\rErrorLocat" + "ion\022\021\n\004line\030\001 \001(\005B\003\340A\001\022\023\n\006column\030\002 \001(\005B\003" - + "\340A\001B\361\001\n+com.google.cloud.bigquery.migrat" + + "\340A\001B\352\001\n+com.google.cloud.bigquery.migrat" + "ion.v2alphaB\032MigrationErrorDetailsProtoP" - + "\001ZPgoogle.golang.org/genproto/googleapis" - + "/cloud/bigquery/migration/v2alpha;migrat" - + "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" - + "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" - + "V2alphab\006proto3" + + "\001ZIcloud.google.com/go/bigquery/migratio" + + "n/apiv2alpha/migrationpb;migrationpb\252\002\'G" + + "oogle.Cloud.BigQuery.Migration.V2Alpha\312\002" + + "\'Google\\Cloud\\BigQuery\\Migration\\V2alpha" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java index 7ccc49009e36..dec8ab99003c 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationMetricsProto.java @@ -74,13 +74,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "value\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014" + "double_value\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001" + "(\tH\000\0226\n\022distribution_value\030\005 \001(\0132\030.googl" - + "e.api.DistributionH\000B\007\n\005valueB\354\001\n+com.go" + + "e.api.DistributionH\000B\007\n\005valueB\345\001\n+com.go" + "ogle.cloud.bigquery.migration.v2alphaB\025M" - + "igrationMetricsProtoP\001ZPgoogle.golang.or" - + "g/genproto/googleapis/cloud/bigquery/mig" - + "ration/v2alpha;migration\252\002\'Google.Cloud." - + "BigQuery.Migration.V2Alpha\312\002\'Google\\Clou" - + "d\\BigQuery\\Migration\\V2alphab\006proto3" + + "igrationMetricsProtoP\001ZIcloud.google.com" + + "/go/bigquery/migration/apiv2alpha/migrat" + + "ionpb;migrationpb\252\002\'Google.Cloud.BigQuer" + + "y.Migration.V2Alpha\312\002\'Google\\Cloud\\BigQu" + + "ery\\Migration\\V2alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java index 6de28bc816a3..daeded514272 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/MigrationServiceProto.java @@ -162,13 +162,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/*/locations/*/workflows/*}/subtasks\332A\006p" + "arent\032T\312A bigquerymigration.googleapis.c" + "om\322A.https://www.googleapis.com/auth/clo" - + "ud-platformB\354\001\n+com.google.cloud.bigquer" + + "ud-platformB\345\001\n+com.google.cloud.bigquer" + "y.migration.v2alphaB\025MigrationServicePro" - + "toP\001ZPgoogle.golang.org/genproto/googlea" - + "pis/cloud/bigquery/migration/v2alpha;mig" - + "ration\252\002\'Google.Cloud.BigQuery.Migration" - + ".V2Alpha\312\002\'Google\\Cloud\\BigQuery\\Migrati" - + "on\\V2alphab\006proto3" + + "toP\001ZIcloud.google.com/go/bigquery/migra" + + "tion/apiv2alpha/migrationpb;migrationpb\252" + + "\002\'Google.Cloud.BigQuery.Migration.V2Alph" + + "a\312\002\'Google\\Cloud\\BigQuery\\Migration\\V2al" + + "phab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java index 17ebdd7b54e8..3b4cd4494f79 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/java/com/google/cloud/bigquery/migration/v2alpha/TranslationTaskProto.java @@ -126,13 +126,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ntMapEntry\0329\n\027FileReplacementMapEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\":\n\020Dataset" + "Reference\022\022\n\ndataset_id\030\001 \001(\t\022\022\n\nproject" - + "_id\030\002 \001(\tB\353\001\n+com.google.cloud.bigquery." + + "_id\030\002 \001(\tB\344\001\n+com.google.cloud.bigquery." + "migration.v2alphaB\024TranslationTaskProtoP" - + "\001ZPgoogle.golang.org/genproto/googleapis" - + "/cloud/bigquery/migration/v2alpha;migrat" - + "ion\252\002\'Google.Cloud.BigQuery.Migration.V2" - + "Alpha\312\002\'Google\\Cloud\\BigQuery\\Migration\\" - + "V2alphab\006proto3" + + "\001ZIcloud.google.com/go/bigquery/migratio" + + "n/apiv2alpha/migrationpb;migrationpb\252\002\'G" + + "oogle.Cloud.BigQuery.Migration.V2Alpha\312\002" + + "\'Google\\Cloud\\BigQuery\\Migration\\V2alpha" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto index 0c6ea13eb6f1..67680785f018 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/assessment_task.proto @@ -19,7 +19,7 @@ package google.cloud.bigquery.migration.v2alpha; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "AssessmentTaskProto"; option java_package = "com.google.cloud.bigquery.migration.v2alpha"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto index 50d4c7570c00..728036e600f5 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_entities.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/error_details.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "MigrationEntitiesProto"; option java_package = "com.google.cloud.bigquery.migration.v2alpha"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto index 89dac5e628d5..88d561874632 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_error_details.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/rpc/error_details.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "MigrationErrorDetailsProto"; option java_package = "com.google.cloud.bigquery.migration.v2alpha"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto index ce60dd2775fe..da7e9a803283 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_metrics.proto @@ -22,7 +22,7 @@ import "google/api/metric.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "MigrationMetricsProto"; option java_package = "com.google.cloud.bigquery.migration.v2alpha"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto index 9a184a1e473d..7651481bd780 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/migration_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "MigrationServiceProto"; option java_package = "com.google.cloud.bigquery.migration.v2alpha"; diff --git a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto index bf4b27ef51f5..86fb900d2b92 100644 --- a/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto +++ b/java-bigquerymigration/proto-google-cloud-bigquerymigration-v2alpha/src/main/proto/google/cloud/bigquery/migration/v2alpha/translation_task.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.bigquery.migration.v2alpha; option csharp_namespace = "Google.Cloud.BigQuery.Migration.V2Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha;migration"; +option go_package = "cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb;migrationpb"; option java_multiple_files = true; option java_outer_classname = "TranslationTaskProto"; option java_package = "com.google.cloud.bigquery.migration.v2alpha"; diff --git a/java-bigqueryreservation/README.md b/java-bigqueryreservation/README.md index 3069653ab89e..b50a2519a239 100644 --- a/java-bigqueryreservation/README.md +++ b/java-bigqueryreservation/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-bigqueryreservation - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.9.0' +implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.10.0" ``` ## Authentication diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation-bom/pom.xml b/java-bigqueryreservation/google-cloud-bigqueryreservation-bom/pom.xml index 57b6f83a282a..20596fd78d80 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation-bom/pom.xml +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-bigqueryreservation-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-bigqueryreservation - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-bigqueryreservation-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-bigqueryreservation-v1 - 2.10.0 + 2.11.0 diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/pom.xml b/java-bigqueryreservation/google-cloud-bigqueryreservation/pom.xml index 560aab5fa2af..3d67884e83ac 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/pom.xml +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-bigqueryreservation - 2.10.0 + 2.11.0 jar Google Cloud BigQuery Reservations allows users to manage their flat-rate BigQuery reservations. com.google.cloud google-cloud-bigqueryreservation-parent - 2.10.0 + 2.11.0 google-cloud-bigqueryreservation diff --git a/java-bigqueryreservation/grpc-google-cloud-bigqueryreservation-v1/pom.xml b/java-bigqueryreservation/grpc-google-cloud-bigqueryreservation-v1/pom.xml index 5dea9484ec77..17fefb24e62b 100644 --- a/java-bigqueryreservation/grpc-google-cloud-bigqueryreservation-v1/pom.xml +++ b/java-bigqueryreservation/grpc-google-cloud-bigqueryreservation-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-bigqueryreservation-v1 - 2.10.0 + 2.11.0 grpc-google-cloud-bigqueryreservation-v1 GRPC library for grpc-google-cloud-bigqueryreservation-v1 com.google.cloud google-cloud-bigqueryreservation-parent - 2.10.0 + 2.11.0 diff --git a/java-bigqueryreservation/pom.xml b/java-bigqueryreservation/pom.xml index a949246cdff2..7baf5978d3c2 100644 --- a/java-bigqueryreservation/pom.xml +++ b/java-bigqueryreservation/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-bigqueryreservation-parent pom - 2.10.0 + 2.11.0 Google Cloud BigQuery Reservations Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-bigqueryreservation - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-bigqueryreservation-v1 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-bigqueryreservation-v1 - 2.10.0 + 2.11.0 diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/pom.xml b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/pom.xml index cf2eb1ae45d5..80f5731ca451 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/pom.xml +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-bigqueryreservation-v1 - 2.10.0 + 2.11.0 proto-google-cloud-bigqueryreservation-v1 PROTO library for proto-google-cloud-bigqueryreservation-v1 com.google.cloud google-cloud-bigqueryreservation-parent - 2.10.0 + 2.11.0 diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationProto.java b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationProto.java index 99918cb72a0a..ed096a31368a 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationProto.java +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/java/com/google/cloud/bigquery/reservation/v1/ReservationProto.java @@ -448,13 +448,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "k\032\177\312A\"bigqueryreservation.googleapis.com" + "\322AWhttps://www.googleapis.com/auth/bigqu" + "ery,https://www.googleapis.com/auth/clou" - + "d-platformB\335\001\n(com.google.cloud.bigquery" - + ".reservation.v1B\020ReservationProtoP\001ZOgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/bigquery/reservation/v1;reservation\252\002$G" - + "oogle.Cloud.BigQuery.Reservation.V1\312\002$Go" - + "ogle\\Cloud\\BigQuery\\Reservation\\V1b\006prot" - + "o3" + + "d-platformB\330\001\n(com.google.cloud.bigquery" + + ".reservation.v1B\020ReservationProtoP\001ZJclo" + + "ud.google.com/go/bigquery/reservation/ap" + + "iv1/reservationpb;reservationpb\252\002$Google" + + ".Cloud.BigQuery.Reservation.V1\312\002$Google\\" + + "Cloud\\BigQuery\\Reservation\\V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/proto/google/cloud/bigquery/reservation/v1/reservation.proto b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/proto/google/cloud/bigquery/reservation/v1/reservation.proto index 7276c30b5723..013095ef3cd3 100644 --- a/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/proto/google/cloud/bigquery/reservation/v1/reservation.proto +++ b/java-bigqueryreservation/proto-google-cloud-bigqueryreservation-v1/src/main/proto/google/cloud/bigquery/reservation/v1/reservation.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.BigQuery.Reservation.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1;reservation"; +option go_package = "cloud.google.com/go/bigquery/reservation/apiv1/reservationpb;reservationpb"; option java_multiple_files = true; option java_outer_classname = "ReservationProto"; option java_package = "com.google.cloud.bigquery.reservation.v1"; diff --git a/java-billing/README.md b/java-billing/README.md index eb8ccc4a5121..090149472ab5 100644 --- a/java-billing/README.md +++ b/java-billing/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-billing - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billing:2.8.0' +implementation 'com.google.cloud:google-cloud-billing:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.9.0" ``` ## Authentication diff --git a/java-billing/google-cloud-billing-bom/pom.xml b/java-billing/google-cloud-billing-bom/pom.xml index 697cdc50f823..52fd9a3d7fb9 100644 --- a/java-billing/google-cloud-billing-bom/pom.xml +++ b/java-billing/google-cloud-billing-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-billing-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-billing - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-billing-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-billing-v1 - 2.9.0 + 2.10.0 diff --git a/java-billing/google-cloud-billing/pom.xml b/java-billing/google-cloud-billing/pom.xml index 6d52f595d7b5..7976fc05b616 100644 --- a/java-billing/google-cloud-billing/pom.xml +++ b/java-billing/google-cloud-billing/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-billing - 2.9.0 + 2.10.0 jar Google Cloud Billing Java idiomatic client for Google Cloud Billing com.google.cloud google-cloud-billing-parent - 2.9.0 + 2.10.0 google-cloud-billing diff --git a/java-billing/grpc-google-cloud-billing-v1/pom.xml b/java-billing/grpc-google-cloud-billing-v1/pom.xml index d1a99ce645a3..d1ee95b26290 100644 --- a/java-billing/grpc-google-cloud-billing-v1/pom.xml +++ b/java-billing/grpc-google-cloud-billing-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-billing-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-billing-v1 GRPC library for grpc-google-cloud-billing-v1 com.google.cloud google-cloud-billing-parent - 2.9.0 + 2.10.0 diff --git a/java-billing/pom.xml b/java-billing/pom.xml index 902da19db1b4..93aaa2a1fb14 100644 --- a/java-billing/pom.xml +++ b/java-billing/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-billing-parent pom - 2.9.0 + 2.10.0 Google Cloud Billing Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-billing-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-billing-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-billing - 2.9.0 + 2.10.0 diff --git a/java-billing/proto-google-cloud-billing-v1/pom.xml b/java-billing/proto-google-cloud-billing-v1/pom.xml index a30f9bde313f..ce305e4af5b0 100644 --- a/java-billing/proto-google-cloud-billing-v1/pom.xml +++ b/java-billing/proto-google-cloud-billing-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-billing-v1 - 2.9.0 + 2.10.0 proto-google-cloud-billing-v1beta1 PROTO library for proto-google-cloud-billing-v1 com.google.cloud google-cloud-billing-parent - 2.9.0 + 2.10.0 diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccount.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccount.java index 1d96126cb121..ef721eeaaf43 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccount.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccount.java @@ -79,8 +79,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *

-   * Output only. The resource name of the billing account. The resource name has the form
-   * `billingAccounts/{billing_account_id}`. For example,
+   * Output only. The resource name of the billing account. The resource name
+   * has the form `billingAccounts/{billing_account_id}`. For example,
    * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
    * billing account `012345-567890-ABCDEF`.
    * 
@@ -107,8 +107,8 @@ public java.lang.String getName() { * * *
-   * Output only. The resource name of the billing account. The resource name has the form
-   * `billingAccounts/{billing_account_id}`. For example,
+   * Output only. The resource name of the billing account. The resource name
+   * has the form `billingAccounts/{billing_account_id}`. For example,
    * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
    * billing account `012345-567890-ABCDEF`.
    * 
@@ -138,9 +138,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Output only. True if the billing account is open, and will therefore be charged for any
-   * usage on associated projects. False if the billing account is closed, and
-   * therefore projects associated with it will be unable to use paid services.
+   * Output only. True if the billing account is open, and will therefore be
+   * charged for any usage on associated projects. False if the billing account
+   * is closed, and therefore projects associated with it will be unable to use
+   * paid services.
    * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -682,8 +683,8 @@ public Builder mergeFrom( * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -709,8 +710,8 @@ public java.lang.String getName() { * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -736,8 +737,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -762,8 +763,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -784,8 +785,8 @@ public Builder clearName() { * * *
-     * Output only. The resource name of the billing account. The resource name has the form
-     * `billingAccounts/{billing_account_id}`. For example,
+     * Output only. The resource name of the billing account. The resource name
+     * has the form `billingAccounts/{billing_account_id}`. For example,
      * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
      * billing account `012345-567890-ABCDEF`.
      * 
@@ -813,9 +814,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. True if the billing account is open, and will therefore be charged for any
-     * usage on associated projects. False if the billing account is closed, and
-     * therefore projects associated with it will be unable to use paid services.
+     * Output only. True if the billing account is open, and will therefore be
+     * charged for any usage on associated projects. False if the billing account
+     * is closed, and therefore projects associated with it will be unable to use
+     * paid services.
      * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -830,9 +832,10 @@ public boolean getOpen() { * * *
-     * Output only. True if the billing account is open, and will therefore be charged for any
-     * usage on associated projects. False if the billing account is closed, and
-     * therefore projects associated with it will be unable to use paid services.
+     * Output only. True if the billing account is open, and will therefore be
+     * charged for any usage on associated projects. False if the billing account
+     * is closed, and therefore projects associated with it will be unable to use
+     * paid services.
      * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -851,9 +854,10 @@ public Builder setOpen(boolean value) { * * *
-     * Output only. True if the billing account is open, and will therefore be charged for any
-     * usage on associated projects. False if the billing account is closed, and
-     * therefore projects associated with it will be unable to use paid services.
+     * Output only. True if the billing account is open, and will therefore be
+     * charged for any usage on associated projects. False if the billing account
+     * is closed, and therefore projects associated with it will be unable to use
+     * paid services.
      * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccountOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccountOrBuilder.java index 1ee52edb35ab..cfcc18ae1d97 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccountOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/BillingAccountOrBuilder.java @@ -27,8 +27,8 @@ public interface BillingAccountOrBuilder * * *
-   * Output only. The resource name of the billing account. The resource name has the form
-   * `billingAccounts/{billing_account_id}`. For example,
+   * Output only. The resource name of the billing account. The resource name
+   * has the form `billingAccounts/{billing_account_id}`. For example,
    * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
    * billing account `012345-567890-ABCDEF`.
    * 
@@ -44,8 +44,8 @@ public interface BillingAccountOrBuilder * * *
-   * Output only. The resource name of the billing account. The resource name has the form
-   * `billingAccounts/{billing_account_id}`. For example,
+   * Output only. The resource name of the billing account. The resource name
+   * has the form `billingAccounts/{billing_account_id}`. For example,
    * `billingAccounts/012345-567890-ABCDEF` would be the resource name for
    * billing account `012345-567890-ABCDEF`.
    * 
@@ -62,9 +62,10 @@ public interface BillingAccountOrBuilder * * *
-   * Output only. True if the billing account is open, and will therefore be charged for any
-   * usage on associated projects. False if the billing account is closed, and
-   * therefore projects associated with it will be unable to use paid services.
+   * Output only. True if the billing account is open, and will therefore be
+   * charged for any usage on associated projects. False if the billing account
+   * is closed, and therefore projects associated with it will be unable to use
+   * paid services.
    * 
* * bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudBillingProto.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudBillingProto.java index a2f49bbd8484..d73620ce10f4 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudBillingProto.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudBillingProto.java @@ -169,10 +169,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\223\001https://www.googleapis.com/auth/cloud-" + "billing,https://www.googleapis.com/auth/" + "cloud-billing.readonly,https://www.googl" - + "eapis.com/auth/cloud-platformBr\n\033com.goo" + + "eapis.com/auth/cloud-platformBi\n\033com.goo" + "gle.cloud.billing.v1B\021CloudBillingProtoP" - + "\001Z>google.golang.org/genproto/googleapis" - + "/cloud/billing/v1;billingb\006proto3" + + "\001Z5cloud.google.com/go/billing/apiv1/bil" + + "lingpb;billingpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudCatalogProto.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudCatalogProto.java index e784597e17f2..f154eab4139b 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudCatalogProto.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/CloudCatalogProto.java @@ -159,10 +159,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "uth/cloud-billing,https://www.googleapis" + ".com/auth/cloud-billing.readonly,https:/" + "/www.googleapis.com/auth/cloud-platformB" - + "\226\001\n\033com.google.cloud.billing.v1B\021CloudCa" - + "talogProtoP\001Z>google.golang.org/genproto" - + "/googleapis/cloud/billing/v1;billing\242\002\007C" - + "LDCTLG\252\002\027Google.Cloud.Billing.V1b\006proto3" + + "\215\001\n\033com.google.cloud.billing.v1B\021CloudCa" + + "talogProtoP\001Z5cloud.google.com/go/billin" + + "g/apiv1/billingpb;billingpb\242\002\007CLDCTLG\252\002\027" + + "Google.Cloud.Billing.V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequest.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequest.java index 9cd1ea59b0e4..579355a319f1 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequest.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequest.java @@ -75,8 +75,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the billing account to retrieve. For example,
-   * `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account to retrieve. For
+   * example, `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -101,8 +101,8 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the billing account to retrieve. For example,
-   * `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account to retrieve. For
+   * example, `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -471,8 +471,8 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -496,8 +496,8 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -521,8 +521,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -545,8 +545,8 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -565,8 +565,8 @@ public Builder clearName() { * * *
-     * Required. The resource name of the billing account to retrieve. For example,
-     * `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account to retrieve. For
+     * example, `billingAccounts/012345-567890-ABCDEF`.
      * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequestOrBuilder.java index c363f300c925..e47fe839b5f2 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequestOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/GetBillingAccountRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface GetBillingAccountRequestOrBuilder * * *
-   * Required. The resource name of the billing account to retrieve. For example,
-   * `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account to retrieve. For
+   * example, `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -42,8 +42,8 @@ public interface GetBillingAccountRequestOrBuilder * * *
-   * Required. The resource name of the billing account to retrieve. For example,
-   * `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account to retrieve. For
+   * example, `billingAccounts/012345-567890-ABCDEF`.
    * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequest.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequest.java index e53945719560..c3a9bf1bc62d 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequest.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequest.java @@ -76,8 +76,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the billing account associated with the projects that
-   * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account associated with the
+   * projects that you want to list. For example,
+   * `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -102,8 +103,9 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the billing account associated with the projects that
-   * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account associated with the
+   * projects that you want to list. For example,
+   * `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -593,8 +595,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -618,8 +621,9 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -643,8 +647,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -667,8 +672,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * @@ -687,8 +693,9 @@ public Builder clearName() { * * *
-     * Required. The resource name of the billing account associated with the projects that
-     * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+     * Required. The resource name of the billing account associated with the
+     * projects that you want to list. For example,
+     * `billingAccounts/012345-567890-ABCDEF`.
      * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequestOrBuilder.java index f36541f0410b..adefc644da53 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequestOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/ListProjectBillingInfoRequestOrBuilder.java @@ -27,8 +27,9 @@ public interface ListProjectBillingInfoRequestOrBuilder * * *
-   * Required. The resource name of the billing account associated with the projects that
-   * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account associated with the
+   * projects that you want to list. For example,
+   * `billingAccounts/012345-567890-ABCDEF`.
    * 
* * @@ -42,8 +43,9 @@ public interface ListProjectBillingInfoRequestOrBuilder * * *
-   * Required. The resource name of the billing account associated with the projects that
-   * you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
+   * Required. The resource name of the billing account associated with the
+   * projects that you want to list. For example,
+   * `billingAccounts/012345-567890-ABCDEF`.
    * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequest.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequest.java index 79a35dbf3cbb..3c41ae67b486 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequest.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequest.java @@ -128,7 +128,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -145,7 +146,8 @@ public boolean hasAccount() { * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -164,7 +166,8 @@ public com.google.cloud.billing.v1.BillingAccount getAccount() { * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -758,7 +761,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -774,7 +778,8 @@ public boolean hasAccount() { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -796,7 +801,8 @@ public com.google.cloud.billing.v1.BillingAccount getAccount() { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -820,7 +826,8 @@ public Builder setAccount(com.google.cloud.billing.v1.BillingAccount value) { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -841,7 +848,8 @@ public Builder setAccount(com.google.cloud.billing.v1.BillingAccount.Builder bui * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -868,7 +876,8 @@ public Builder mergeAccount(com.google.cloud.billing.v1.BillingAccount value) { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -889,7 +898,8 @@ public Builder clearAccount() { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -905,7 +915,8 @@ public com.google.cloud.billing.v1.BillingAccount.Builder getAccountBuilder() { * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * @@ -925,7 +936,8 @@ public com.google.cloud.billing.v1.BillingAccountOrBuilder getAccountOrBuilder() * * *
-     * Required. The billing account resource to replace the resource on the server.
+     * Required. The billing account resource to replace the resource on the
+     * server.
      * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequestOrBuilder.java index 0300e04a6491..d145a63f307e 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequestOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateBillingAccountRequestOrBuilder.java @@ -56,7 +56,8 @@ public interface UpdateBillingAccountRequestOrBuilder * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -70,7 +71,8 @@ public interface UpdateBillingAccountRequestOrBuilder * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * @@ -84,7 +86,8 @@ public interface UpdateBillingAccountRequestOrBuilder * * *
-   * Required. The billing account resource to replace the resource on the server.
+   * Required. The billing account resource to replace the resource on the
+   * server.
    * 
* * diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequest.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequest.java index cb00ea4f0853..70277c8f33ae 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequest.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequest.java @@ -76,8 +76,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The resource name of the project associated with the billing information
-   * that you want to update. For example, `projects/tokyo-rain-123`.
+   * Required. The resource name of the project associated with the billing
+   * information that you want to update. For example,
+   * `projects/tokyo-rain-123`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -100,8 +101,9 @@ public java.lang.String getName() { * * *
-   * Required. The resource name of the project associated with the billing information
-   * that you want to update. For example, `projects/tokyo-rain-123`.
+   * Required. The resource name of the project associated with the billing
+   * information that you want to update. For example,
+   * `projects/tokyo-rain-123`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -557,8 +559,9 @@ public Builder mergeFrom( * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -580,8 +583,9 @@ public java.lang.String getName() { * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -603,8 +607,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -625,8 +630,9 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -643,8 +649,9 @@ public Builder clearName() { * * *
-     * Required. The resource name of the project associated with the billing information
-     * that you want to update. For example, `projects/tokyo-rain-123`.
+     * Required. The resource name of the project associated with the billing
+     * information that you want to update. For example,
+     * `projects/tokyo-rain-123`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequestOrBuilder.java b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequestOrBuilder.java index bda32cfdce84..382c418f854a 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequestOrBuilder.java +++ b/java-billing/proto-google-cloud-billing-v1/src/main/java/com/google/cloud/billing/v1/UpdateProjectBillingInfoRequestOrBuilder.java @@ -27,8 +27,9 @@ public interface UpdateProjectBillingInfoRequestOrBuilder * * *
-   * Required. The resource name of the project associated with the billing information
-   * that you want to update. For example, `projects/tokyo-rain-123`.
+   * Required. The resource name of the project associated with the billing
+   * information that you want to update. For example,
+   * `projects/tokyo-rain-123`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -40,8 +41,9 @@ public interface UpdateProjectBillingInfoRequestOrBuilder * * *
-   * Required. The resource name of the project associated with the billing information
-   * that you want to update. For example, `projects/tokyo-rain-123`.
+   * Required. The resource name of the project associated with the billing
+   * information that you want to update. For example,
+   * `projects/tokyo-rain-123`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto index b98f0fd7c264..be9f94719824 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto +++ b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_billing.proto @@ -24,7 +24,7 @@ import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/billing/v1;billing"; +option go_package = "cloud.google.com/go/billing/apiv1/billingpb;billingpb"; option java_multiple_files = true; option java_outer_classname = "CloudBillingProto"; option java_package = "com.google.cloud.billing.v1"; @@ -51,7 +51,8 @@ service CloudBilling { // Lists the billing accounts that the current authenticated user has // permission to // [view](https://cloud.google.com/billing/docs/how-to/billing-access). - rpc ListBillingAccounts(ListBillingAccountsRequest) returns (ListBillingAccountsResponse) { + rpc ListBillingAccounts(ListBillingAccountsRequest) + returns (ListBillingAccountsResponse) { option (google.api.http) = { get: "/v1/billingAccounts" }; @@ -64,7 +65,8 @@ service CloudBilling { // IAM permission, which is typically given to the // [administrator](https://cloud.google.com/billing/docs/how-to/billing-access) // of the billing account. - rpc UpdateBillingAccount(UpdateBillingAccountRequest) returns (BillingAccount) { + rpc UpdateBillingAccount(UpdateBillingAccountRequest) + returns (BillingAccount) { option (google.api.http) = { patch: "/v1/{name=billingAccounts/*}" body: "account" @@ -87,7 +89,8 @@ service CloudBilling { // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). // This method will return an error if the parent account has not been // provisioned as a reseller account. - rpc CreateBillingAccount(CreateBillingAccountRequest) returns (BillingAccount) { + rpc CreateBillingAccount(CreateBillingAccountRequest) + returns (BillingAccount) { option (google.api.http) = { post: "/v1/billingAccounts" body: "billing_account" @@ -99,7 +102,8 @@ service CloudBilling { // authenticated user must have the `billing.resourceAssociations.list` IAM // permission, which is often given to billing account // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access). - rpc ListProjectBillingInfo(ListProjectBillingInfoRequest) returns (ListProjectBillingInfoResponse) { + rpc ListProjectBillingInfo(ListProjectBillingInfoRequest) + returns (ListProjectBillingInfoResponse) { option (google.api.http) = { get: "/v1/{name=billingAccounts/*}/projects" }; @@ -111,7 +115,8 @@ service CloudBilling { // which can be granted by assigning the [Project // Viewer](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) // role. - rpc GetProjectBillingInfo(GetProjectBillingInfoRequest) returns (ProjectBillingInfo) { + rpc GetProjectBillingInfo(GetProjectBillingInfoRequest) + returns (ProjectBillingInfo) { option (google.api.http) = { get: "/v1/{name=projects/*}/billingInfo" }; @@ -149,7 +154,8 @@ service CloudBilling { // resources used by the project will be shut down. Thus, unless you wish to // disable billing, you should always call this method with the name of an // *open* billing account. - rpc UpdateProjectBillingInfo(UpdateProjectBillingInfoRequest) returns (ProjectBillingInfo) { + rpc UpdateProjectBillingInfo(UpdateProjectBillingInfoRequest) + returns (ProjectBillingInfo) { option (google.api.http) = { put: "/v1/{name=projects/*}/billingInfo" body: "project_billing_info" @@ -161,7 +167,8 @@ service CloudBilling { // The caller must have the `billing.accounts.getIamPolicy` permission on the // account, which is often given to billing account // [viewers](https://cloud.google.com/billing/docs/how-to/billing-access). - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { get: "/v1/{resource=billingAccounts/*}:getIamPolicy" }; @@ -173,7 +180,8 @@ service CloudBilling { // The caller must have the `billing.accounts.setIamPolicy` permission on the // account, which is often given to billing account // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=billingAccounts/*}:setIamPolicy" body: "*" @@ -184,7 +192,8 @@ service CloudBilling { // Tests the access control policy for a billing account. This method takes // the resource and a set of permissions as input and returns the subset of // the input permissions that the caller is allowed for that resource. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1/{resource=billingAccounts/*}:testIamPermissions" body: "*" @@ -197,8 +206,8 @@ service CloudBilling { // [Google Cloud Console](https://console.cloud.google.com/). You can assign a // billing account to one or more projects. message BillingAccount { - // Output only. The resource name of the billing account. The resource name has the form - // `billingAccounts/{billing_account_id}`. For example, + // Output only. The resource name of the billing account. The resource name + // has the form `billingAccounts/{billing_account_id}`. For example, // `billingAccounts/012345-567890-ABCDEF` would be the resource name for // billing account `012345-567890-ABCDEF`. string name = 1 [ @@ -208,9 +217,10 @@ message BillingAccount { } ]; - // Output only. True if the billing account is open, and will therefore be charged for any - // usage on associated projects. False if the billing account is closed, and - // therefore projects associated with it will be unable to use paid services. + // Output only. True if the billing account is open, and will therefore be + // charged for any usage on associated projects. False if the billing account + // is closed, and therefore projects associated with it will be unable to use + // paid services. bool open = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // The display name given to the billing account, such as `My Billing @@ -253,8 +263,8 @@ message ProjectBillingInfo { // Request message for `GetBillingAccount`. message GetBillingAccountRequest { - // Required. The resource name of the billing account to retrieve. For example, - // `billingAccounts/012345-567890-ABCDEF`. + // Required. The resource name of the billing account to retrieve. For + // example, `billingAccounts/012345-567890-ABCDEF`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -313,7 +323,8 @@ message UpdateBillingAccountRequest { } ]; - // Required. The billing account resource to replace the resource on the server. + // Required. The billing account resource to replace the resource on the + // server. BillingAccount account = 2 [(google.api.field_behavior) = REQUIRED]; // The update mask applied to the resource. @@ -323,8 +334,9 @@ message UpdateBillingAccountRequest { // Request message for `ListProjectBillingInfo`. message ListProjectBillingInfoRequest { - // Required. The resource name of the billing account associated with the projects that - // you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. + // Required. The resource name of the billing account associated with the + // projects that you want to list. For example, + // `billingAccounts/012345-567890-ABCDEF`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -363,8 +375,9 @@ message GetProjectBillingInfoRequest { // Request message for `UpdateProjectBillingInfo`. message UpdateProjectBillingInfoRequest { - // Required. The resource name of the project associated with the billing information - // that you want to update. For example, `projects/tokyo-rain-123`. + // Required. The resource name of the project associated with the billing + // information that you want to update. For example, + // `projects/tokyo-rain-123`. string name = 1 [(google.api.field_behavior) = REQUIRED]; // The new billing information for the project. Read-only fields are ignored; diff --git a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_catalog.proto b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_catalog.proto index f3d46e627083..1cbb8c18a14a 100644 --- a/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_catalog.proto +++ b/java-billing/proto-google-cloud-billing-v1/src/main/proto/google/cloud/billing/v1/cloud_catalog.proto @@ -24,7 +24,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/money.proto"; option csharp_namespace = "Google.Cloud.Billing.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/billing/v1;billing"; +option go_package = "cloud.google.com/go/billing/apiv1/billingpb;billingpb"; option java_multiple_files = true; option java_outer_classname = "CloudCatalogProto"; option java_package = "com.google.cloud.billing.v1"; diff --git a/java-billingbudgets/README.md b/java-billingbudgets/README.md index 7128e5d241b7..59c5301c27f5 100644 --- a/java-billingbudgets/README.md +++ b/java-billingbudgets/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-billingbudgets - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billingbudgets:2.8.0' +implementation 'com.google.cloud:google-cloud-billingbudgets:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.9.0" ``` ## Authentication diff --git a/java-billingbudgets/google-cloud-billingbudgets-bom/pom.xml b/java-billingbudgets/google-cloud-billingbudgets-bom/pom.xml index 917441fa4f8c..af1dd3a245cc 100644 --- a/java-billingbudgets/google-cloud-billingbudgets-bom/pom.xml +++ b/java-billingbudgets/google-cloud-billingbudgets-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-billingbudgets-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-billingbudgets - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc proto-google-cloud-billingbudgets-v1 - 2.9.0 + 2.10.0
diff --git a/java-billingbudgets/google-cloud-billingbudgets/pom.xml b/java-billingbudgets/google-cloud-billingbudgets/pom.xml index 764b3ab59c87..701747302767 100644 --- a/java-billingbudgets/google-cloud-billingbudgets/pom.xml +++ b/java-billingbudgets/google-cloud-billingbudgets/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-billingbudgets - 2.9.0 + 2.10.0 jar Google Cloud billingbudgets Java idiomatic client for Google Cloud billingbudgets com.google.cloud google-cloud-billingbudgets-parent - 2.9.0 + 2.10.0 google-cloud-billingbudgets diff --git a/java-billingbudgets/grpc-google-cloud-billingbudgets-v1/pom.xml b/java-billingbudgets/grpc-google-cloud-billingbudgets-v1/pom.xml index 4e3acb06c8fe..9f93bba48fb6 100644 --- a/java-billingbudgets/grpc-google-cloud-billingbudgets-v1/pom.xml +++ b/java-billingbudgets/grpc-google-cloud-billingbudgets-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-billingbudgets-v1 GRPC library for grpc-google-cloud-billingbudgets-v1 com.google.cloud google-cloud-billingbudgets-parent - 2.9.0 + 2.10.0 diff --git a/java-billingbudgets/grpc-google-cloud-billingbudgets-v1beta1/pom.xml b/java-billingbudgets/grpc-google-cloud-billingbudgets-v1beta1/pom.xml index 9a0248d84db1..b8e9e034b44e 100644 --- a/java-billingbudgets/grpc-google-cloud-billingbudgets-v1beta1/pom.xml +++ b/java-billingbudgets/grpc-google-cloud-billingbudgets-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.18.0 + 0.19.0 grpc-google-cloud-billingbudgets-v1beta1 GRPC library for grpc-google-cloud-billingbudgets-v1beta1 com.google.cloud google-cloud-billingbudgets-parent - 2.9.0 + 2.10.0 diff --git a/java-billingbudgets/pom.xml b/java-billingbudgets/pom.xml index 147dfea044a8..0d00b1e4ca4e 100644 --- a/java-billingbudgets/pom.xml +++ b/java-billingbudgets/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-billingbudgets-parent pom - 2.9.0 + 2.10.0 Google Cloud Billing Budgets Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc proto-google-cloud-billingbudgets-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc grpc-google-cloud-billingbudgets-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-billingbudgets - 2.9.0 + 2.10.0 diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/pom.xml b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/pom.xml index 3fd7524d28f2..3c1be60bfb3d 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/pom.xml +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-billingbudgets-v1 - 2.9.0 + 2.10.0 proto-google-cloud-billingbudgets-v1 PROTO library for proto-google-cloud-billingbudgets-v1 com.google.cloud google-cloud-billingbudgets-parent - 2.9.0 + 2.10.0 diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/java/com/google/cloud/billing/budgets/v1/BudgetModelProto.java b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/java/com/google/cloud/billing/budgets/v1/BudgetModelProto.java index 9993f6af6d53..6727c7c65907 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/java/com/google/cloud/billing/budgets/v1/BudgetModelProto.java +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/java/com/google/cloud/billing/budgets/v1/BudgetModelProto.java @@ -120,11 +120,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "2\021.google.type.DateB\003\340A\002\022(\n\010end_date\030\002 \001" + "(\0132\021.google.type.DateB\003\340A\001*S\n\016CalendarPe" + "riod\022\037\n\033CALENDAR_PERIOD_UNSPECIFIED\020\000\022\t\n" - + "\005MONTH\020\001\022\013\n\007QUARTER\020\002\022\010\n\004YEAR\020\003B\201\001\n#com." - + "google.cloud.billing.budgets.v1B\020BudgetM" - + "odelProtoP\001ZFgoogle.golang.org/genproto/" - + "googleapis/cloud/billing/budgets/v1;budg" - + "etsb\006proto3" + + "\005MONTH\020\001\022\013\n\007QUARTER\020\002\022\010\n\004YEAR\020\003Bx\n#com.g" + + "oogle.cloud.billing.budgets.v1B\020BudgetMo" + + "delProtoP\001Z=cloud.google.com/go/billing/" + + "budgets/apiv1/budgetspb;budgetspbb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/java/com/google/cloud/billing/budgets/v1/BudgetServiceProto.java b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/java/com/google/cloud/billing/budgets/v1/BudgetServiceProto.java index 0b65f9b2a858..9ec04e63967c 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/java/com/google/cloud/billing/budgets/v1/BudgetServiceProto.java +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/java/com/google/cloud/billing/budgets/v1/BudgetServiceProto.java @@ -110,11 +110,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "budgets/*}\332A\004name\032\177\312A\035billingbudgets.goo" + "gleapis.com\322A\\https://www.googleapis.com" + "/auth/cloud-billing,https://www.googleap" - + "is.com/auth/cloud-platformB\203\001\n#com.googl" - + "e.cloud.billing.budgets.v1B\022BudgetServic" - + "eProtoP\001ZFgoogle.golang.org/genproto/goo" - + "gleapis/cloud/billing/budgets/v1;budgets" - + "b\006proto3" + + "is.com/auth/cloud-platformBz\n#com.google" + + ".cloud.billing.budgets.v1B\022BudgetService" + + "ProtoP\001Z=cloud.google.com/go/billing/bud" + + "gets/apiv1/budgetspb;budgetspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/proto/google/cloud/billing/budgets/v1/budget_model.proto b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/proto/google/cloud/billing/budgets/v1/budget_model.proto index 6758f5ca967b..6fd3f0b1a5c3 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/proto/google/cloud/billing/budgets/v1/budget_model.proto +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/proto/google/cloud/billing/budgets/v1/budget_model.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/type/date.proto"; import "google/type/money.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1;budgets"; +option go_package = "cloud.google.com/go/billing/budgets/apiv1/budgetspb;budgetspb"; option java_multiple_files = true; option java_outer_classname = "BudgetModelProto"; option java_package = "com.google.cloud.billing.budgets.v1"; diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/proto/google/cloud/billing/budgets/v1/budget_service.proto b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/proto/google/cloud/billing/budgets/v1/budget_service.proto index a4b512b8a6fa..c5dd2f85c95f 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/proto/google/cloud/billing/budgets/v1/budget_service.proto +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1/src/main/proto/google/cloud/billing/budgets/v1/budget_service.proto @@ -24,7 +24,7 @@ import "google/cloud/billing/budgets/v1/budget_model.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1;budgets"; +option go_package = "cloud.google.com/go/billing/budgets/apiv1/budgetspb;budgetspb"; option java_multiple_files = true; option java_outer_classname = "BudgetServiceProto"; option java_package = "com.google.cloud.billing.budgets.v1"; diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/pom.xml b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/pom.xml index 32feb0b6d1e7..b31a71a18d5d 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/pom.xml +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-billingbudgets-v1beta1 - 0.18.0 + 0.19.0 proto-google-cloud-billingbudgets-v1beta1 PROTO library for proto-google-cloud-billingbudgets-v1beta1 com.google.cloud google-cloud-billingbudgets-parent - 2.9.0 + 2.10.0 diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetModel.java b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetModel.java index 3fb4598012f1..a91aabea84d2 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetModel.java +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetModel.java @@ -122,10 +122,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "end_date\030\002 \001(\0132\021.google.type.DateB\003\340A\001*S" + "\n\016CalendarPeriod\022\037\n\033CALENDAR_PERIOD_UNSP" + "ECIFIED\020\000\022\t\n\005MONTH\020\001\022\013\n\007QUARTER\020\002\022\010\n\004YEA" - + "R\020\003By\n(com.google.cloud.billing.budgets." - + "v1beta1P\001ZKgoogle.golang.org/genproto/go" - + "ogleapis/cloud/billing/budgets/v1beta1;b" - + "udgetsb\006proto3" + + "R\020\003Bp\n(com.google.cloud.billing.budgets." + + "v1beta1P\001ZBcloud.google.com/go/billing/b" + + "udgets/apiv1beta1/budgetspb;budgetspbb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceOuterClass.java b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceOuterClass.java index 480a191f9571..854300c94cb7 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceOuterClass.java +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceOuterClass.java @@ -111,10 +111,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gets/*}\032\177\312A\035billingbudgets.googleapis.co" + "m\322A\\https://www.googleapis.com/auth/clou" + "d-billing,https://www.googleapis.com/aut" - + "h/cloud-platformBy\n(com.google.cloud.bil" - + "ling.budgets.v1beta1P\001ZKgoogle.golang.or" - + "g/genproto/googleapis/cloud/billing/budg" - + "ets/v1beta1;budgetsb\006proto3" + + "h/cloud-platformBp\n(com.google.cloud.bil" + + "ling.budgets.v1beta1P\001ZBcloud.google.com" + + "/go/billing/budgets/apiv1beta1/budgetspb" + + ";budgetspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto index c269c8194b32..167e8e4658a9 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/type/date.proto"; import "google/type/money.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1beta1;budgets"; +option go_package = "cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb;budgetspb"; option java_multiple_files = true; option java_package = "com.google.cloud.billing.budgets.v1beta1"; diff --git a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_service.proto b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_service.proto index e38c0aa35906..3651785eaa77 100644 --- a/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_service.proto +++ b/java-billingbudgets/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_service.proto @@ -24,7 +24,7 @@ import "google/cloud/billing/budgets/v1beta1/budget_model.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1beta1;budgets"; +option go_package = "cloud.google.com/go/billing/budgets/apiv1beta1/budgetspb;budgetspb"; option java_multiple_files = true; option java_package = "com.google.cloud.billing.budgets.v1beta1"; diff --git a/java-binary-authorization/README.md b/java-binary-authorization/README.md index d69efd821bcc..2898b6ce5993 100644 --- a/java-binary-authorization/README.md +++ b/java-binary-authorization/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-binary-authorization - 1.7.0 + 1.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-binary-authorization:1.7.0' +implementation 'com.google.cloud:google-cloud-binary-authorization:1.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.8.0" ``` ## Authentication diff --git a/java-binary-authorization/google-cloud-binary-authorization-bom/pom.xml b/java-binary-authorization/google-cloud-binary-authorization-bom/pom.xml index dfe394afaba5..8d83c0063bb9 100644 --- a/java-binary-authorization/google-cloud-binary-authorization-bom/pom.xml +++ b/java-binary-authorization/google-cloud-binary-authorization-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-binary-authorization-bom - 1.8.0 + 1.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-binary-authorization - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1 - 1.8.0 + 1.9.0 diff --git a/java-binary-authorization/google-cloud-binary-authorization/pom.xml b/java-binary-authorization/google-cloud-binary-authorization/pom.xml index 88cf302546aa..d92c993458f8 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/pom.xml +++ b/java-binary-authorization/google-cloud-binary-authorization/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-binary-authorization - 1.8.0 + 1.9.0 jar Google Binary Authorization Binary Authorization is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and Anthos clusters on VMware com.google.cloud google-cloud-binary-authorization-parent - 1.8.0 + 1.9.0 google-cloud-binary-authorization diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/pom.xml b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/pom.xml index 970870dd0a25..f4067a607f84 100644 --- a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/pom.xml +++ b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1 - 1.8.0 + 1.9.0 grpc-google-cloud-binary-authorization-v1 GRPC library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 1.8.0 + 1.9.0 diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/pom.xml b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/pom.xml index d98d3f5ed1e4..195a9dfe0506 100644 --- a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/pom.xml +++ b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.13.0 + 0.14.0 grpc-google-cloud-binary-authorization-v1beta1 GRPC library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 1.8.0 + 1.9.0 diff --git a/java-binary-authorization/pom.xml b/java-binary-authorization/pom.xml index 3236cee1cc4f..d990eabd180b 100644 --- a/java-binary-authorization/pom.xml +++ b/java-binary-authorization/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-binary-authorization-parent pom - 1.8.0 + 1.9.0 Google Binary Authorization Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,33 +29,33 @@ com.google.cloud google-cloud-binary-authorization - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1 - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1 - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-binary-authorization-v1beta1 - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.13.0 + 0.14.0 io.grafeas grafeas - 2.10.0 + 2.11.0 diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/pom.xml b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/pom.xml index bd19148a87e7..cb6cd05d349d 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/pom.xml +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1 - 1.8.0 + 1.9.0 proto-google-cloud-binary-authorization-v1 Proto library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 1.8.0 + 1.9.0 diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java index 2cfb10e68d38..b20cfd5a8263 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java @@ -14327,14 +14327,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\tB\003\340A\001\022\n\n\002id\030\002 \001(\t\022&\n\034ascii_armored_p" + "gp_public_key\030\003 \001(\tH\000\022M\n\017pkix_public_key" + "\030\005 \001(\01322.google.cloud.binaryauthorizatio" - + "n.v1.PkixPublicKeyH\000B\014\n\npublic_keyB\211\002\n5c" + + "n.v1.PkixPublicKeyH\000B\014\n\npublic_keyB\214\002\n5c" + "om.google.protos.google.cloud.binaryauth" - + "orization.v1P\000ZVgoogle.golang.org/genpro" - + "to/googleapis/cloud/binaryauthorization/" - + "v1;binaryauthorization\370\001\001\252\002#Google.Cloud" - + ".BinaryAuthorization.V1\312\002#Google\\Cloud\\B" - + "inaryAuthorization\\V1\352\002&Google::Cloud::B" - + "inaryAuthorization::V1b\006proto3" + + "orization.v1P\000ZYcloud.google.com/go/bina" + + "ryauthorization/apiv1/binaryauthorizatio" + + "npb;binaryauthorizationpb\370\001\001\252\002#Google.Cl" + + "oud.BinaryAuthorization.V1\312\002#Google\\Clou" + + "d\\BinaryAuthorization\\V1\352\002&Google::Cloud" + + "::BinaryAuthorization::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java index b067feed7cca..cf031674e5aa 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java @@ -11022,14 +11022,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "stors/*}:validateAttestationOccurrence:\001" + "*\032V\312A\"binaryauthorization.googleapis.com" + "\322A.https://www.googleapis.com/auth/cloud" - + "-platformB\211\002\n5com.google.protos.google.c" - + "loud.binaryauthorization.v1P\000ZVgoogle.go" - + "lang.org/genproto/googleapis/cloud/binar" - + "yauthorization/v1;binaryauthorization\370\001\001" - + "\252\002#Google.Cloud.BinaryAuthorization.V1\312\002" - + "#Google\\Cloud\\BinaryAuthorization\\V1\352\002&G" - + "oogle::Cloud::BinaryAuthorization::V1b\006p" - + "roto3" + + "-platformB\214\002\n5com.google.protos.google.c" + + "loud.binaryauthorization.v1P\000ZYcloud.goo" + + "gle.com/go/binaryauthorization/apiv1/bin" + + "aryauthorizationpb;binaryauthorizationpb" + + "\370\001\001\252\002#Google.Cloud.BinaryAuthorization.V" + + "1\312\002#Google\\Cloud\\BinaryAuthorization\\V1\352" + + "\002&Google::Cloud::BinaryAuthorization::V1" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto index 5df7f58bdf8b..de81309f0404 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.BinaryAuthorization.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1;binaryauthorization"; +option go_package = "cloud.google.com/go/binaryauthorization/apiv1/binaryauthorizationpb;binaryauthorizationpb"; option java_multiple_files = false; option java_package = "com.google.protos.google.cloud.binaryauthorization.v1"; option php_namespace = "Google\\Cloud\\BinaryAuthorization\\V1"; diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto index e063aacc04d2..7cbfbdc05efa 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto @@ -26,7 +26,7 @@ import "grafeas/v1/attestation.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.BinaryAuthorization.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1;binaryauthorization"; +option go_package = "cloud.google.com/go/binaryauthorization/apiv1/binaryauthorizationpb;binaryauthorizationpb"; option java_multiple_files = false; option java_package = "com.google.protos.google.cloud.binaryauthorization.v1"; option php_namespace = "Google\\Cloud\\BinaryAuthorization\\V1"; diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/pom.xml b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/pom.xml index b1b68a76056c..a336beb98095 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/pom.xml +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-binary-authorization-v1beta1 - 0.13.0 + 0.14.0 proto-google-cloud-binary-authorization-v1beta1 Proto library for google-cloud-binary-authorization com.google.cloud google-cloud-binary-authorization-parent - 1.8.0 + 1.9.0 diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java index d82986811b9a..42717d8b0d2e 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java @@ -173,15 +173,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ii_armored_pgp_public_key\030\003 \001(\tH\000\022R\n\017pki" + "x_public_key\030\005 \001(\01327.google.cloud.binary" + "authorization.v1beta1.PkixPublicKeyH\000B\014\n" - + "\npublic_keyB\267\002\n,com.google.cloud.binarya" + + "\npublic_keyB\272\002\n,com.google.cloud.binarya" + "uthorization.v1beta1B!BinaryAuthorizatio" - + "nResourcesProtoP\001Z[google.golang.org/gen" - + "proto/googleapis/cloud/binaryauthorizati" - + "on/v1beta1;binaryauthorization\370\001\001\252\002(Goog" - + "le.Cloud.BinaryAuthorization.V1Beta1\312\002(G" - + "oogle\\Cloud\\BinaryAuthorization\\V1beta1\352" - + "\002+Google::Cloud::BinaryAuthorization::V1" - + "beta1b\006proto3" + + "nResourcesProtoP\001Z^cloud.google.com/go/b" + + "inaryauthorization/apiv1beta1/binaryauth" + + "orizationpb;binaryauthorizationpb\370\001\001\252\002(G" + + "oogle.Cloud.BinaryAuthorization.V1Beta1\312" + + "\002(Google\\Cloud\\BinaryAuthorization\\V1bet" + + "a1\352\002+Google::Cloud::BinaryAuthorization:" + + ":V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java index 1837b9063fe3..8a8e694abd85 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java @@ -149,15 +149,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "beta1/{name=locations/*/policy}\332A\004name\032V" + "\312A\"binaryauthorization.googleapis.com\322A." + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\265\002\n,com.google.cloud.binaryauthor" + + "atformB\270\002\n,com.google.cloud.binaryauthor" + "ization.v1beta1B\037BinaryAuthorizationServ" - + "iceProtoP\001Z[google.golang.org/genproto/g" - + "oogleapis/cloud/binaryauthorization/v1be" - + "ta1;binaryauthorization\370\001\001\252\002(Google.Clou" - + "d.BinaryAuthorization.V1Beta1\312\002(Google\\C" - + "loud\\BinaryAuthorization\\V1beta1\352\002+Googl" - + "e::Cloud::BinaryAuthorization::V1beta1b\006" - + "proto3" + + "iceProtoP\001Z^cloud.google.com/go/binaryau" + + "thorization/apiv1beta1/binaryauthorizati" + + "onpb;binaryauthorizationpb\370\001\001\252\002(Google.C" + + "loud.BinaryAuthorization.V1Beta1\312\002(Googl" + + "e\\Cloud\\BinaryAuthorization\\V1beta1\352\002+Go" + + "ogle::Cloud::BinaryAuthorization::V1beta" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java index 8c94cdeb7f03..c7998d3088fa 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java @@ -83,15 +83,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002\"[\n\030PolicyConformanceVerdict\022*\n&POLICY_" + "CONFORMANCE_VERDICT_UNSPECIFIED\020\000\022\023\n\017VIO" + "LATES_POLICY\020\001\032-\n\026UnsupportedPolicyEvent" - + "\022\023\n\013description\030\001 \001(\tB\014\n\nevent_typeB\266\002\n," + + "\022\023\n\013description\030\001 \001(\tB\014\n\nevent_typeB\271\002\n," + "com.google.cloud.binaryauthorization.v1b" + "eta1B ContinuousValidationLoggingProtoP\001" - + "Z[google.golang.org/genproto/googleapis/" - + "cloud/binaryauthorization/v1beta1;binary" - + "authorization\370\001\001\252\002(Google.Cloud.BinaryAu" - + "thorization.V1Beta1\312\002(Google\\Cloud\\Binar" - + "yAuthorization\\V1beta1\352\002+Google::Cloud::" - + "BinaryAuthorization::V1beta1b\006proto3" + + "Z^cloud.google.com/go/binaryauthorizatio" + + "n/apiv1beta1/binaryauthorizationpb;binar" + + "yauthorizationpb\370\001\001\252\002(Google.Cloud.Binar" + + "yAuthorization.V1Beta1\312\002(Google\\Cloud\\Bi" + + "naryAuthorization\\V1beta1\352\002+Google::Clou" + + "d::BinaryAuthorization::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto index 1666b5189eb0..c4539f8c2b82 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto @@ -20,7 +20,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.BinaryAuthorization.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1;binaryauthorization"; +option go_package = "cloud.google.com/go/binaryauthorization/apiv1beta1/binaryauthorizationpb;binaryauthorizationpb"; option java_multiple_files = true; option java_outer_classname = "ContinuousValidationLoggingProto"; option java_package = "com.google.cloud.binaryauthorization.v1beta1"; diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto index 28c18f99ad84..5855bd7f7aff 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.BinaryAuthorization.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1;binaryauthorization"; +option go_package = "cloud.google.com/go/binaryauthorization/apiv1beta1/binaryauthorizationpb;binaryauthorizationpb"; option java_multiple_files = true; option java_outer_classname = "BinaryAuthorizationResourcesProto"; option java_package = "com.google.cloud.binaryauthorization.v1beta1"; diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto index 90e63b4d4820..c8502637f2de 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.BinaryAuthorization.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1;binaryauthorization"; +option go_package = "cloud.google.com/go/binaryauthorization/apiv1beta1/binaryauthorizationpb;binaryauthorizationpb"; option java_multiple_files = true; option java_outer_classname = "BinaryAuthorizationServiceProto"; option java_package = "com.google.cloud.binaryauthorization.v1beta1"; diff --git a/java-certificate-manager/README.md b/java-certificate-manager/README.md index 4dd9dae18d9b..534524993766 100644 --- a/java-certificate-manager/README.md +++ b/java-certificate-manager/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-certificate-manager - 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-certificate-manager:0.11.0' +implementation 'com.google.cloud:google-cloud-certificate-manager:0.12.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.11.0" +libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.12.0" ``` ## Authentication diff --git a/java-certificate-manager/google-cloud-certificate-manager-bom/pom.xml b/java-certificate-manager/google-cloud-certificate-manager-bom/pom.xml index 01a4da60d4d2..d96c7a99ea55 100644 --- a/java-certificate-manager/google-cloud-certificate-manager-bom/pom.xml +++ b/java-certificate-manager/google-cloud-certificate-manager-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-certificate-manager-bom - 0.12.0 + 0.13.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-certificate-manager - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-certificate-manager-v1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-certificate-manager-v1 - 0.12.0 + 0.13.0 diff --git a/java-certificate-manager/google-cloud-certificate-manager/pom.xml b/java-certificate-manager/google-cloud-certificate-manager/pom.xml index f1caa2cb1536..346b3931d32c 100644 --- a/java-certificate-manager/google-cloud-certificate-manager/pom.xml +++ b/java-certificate-manager/google-cloud-certificate-manager/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-certificate-manager - 0.12.0 + 0.13.0 jar Google Certificate Manager Certificate Manager lets you acquire and manage TLS (SSL) certificates for use with Cloud Load Balancing. com.google.cloud google-cloud-certificate-manager-parent - 0.12.0 + 0.13.0 google-cloud-certificate-manager diff --git a/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java index 00239b724576..c28052ef2839 100644 --- a/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java +++ b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java @@ -58,16 +58,16 @@ *

The Certificates Manager service exposes the following resources: * *

    - *
  • `Certificate` which describes a single TLS certificate. - *
  • `CertificateMap` which describes a collection of certificates that can be attached to a + *
  • `Certificate` that describes a single TLS certificate. + *
  • `CertificateMap` that describes a collection of certificates that can be attached to a * target resource. - *
  • `CertificateMapEntry` which describes a single configuration entry that consists of a SNI + *
  • `CertificateMapEntry` that describes a single configuration entry that consists of a SNI * and a group of certificates. It's a subresource of CertificateMap. *
* - *

Certificate, CertificateMap and CertificateMapEntry IDs have to match "^[a-z0-9-]{1,63}$" - * regexp, which means that - only lower case letters, digits, and hyphen are allowed - length of - * the resource ID has to be in [1,63] range. + *

Certificate, CertificateMap and CertificateMapEntry IDs have to fully match the regexp + * `[a-z0-9-]{1,63}`. In other words, - only lower case letters, digits, and hyphen are allowed - + * length of the resource ID has to be in [1,63] range. * *

Provides methods to manage Cloud Certificate Manager entities. * diff --git a/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java index b1b6048dec2b..61ccec299c3d 100644 --- a/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java +++ b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java @@ -34,16 +34,16 @@ *

The Certificates Manager service exposes the following resources: * *

    - *
  • `Certificate` which describes a single TLS certificate. - *
  • `CertificateMap` which describes a collection of certificates that can be attached to a + *
  • `Certificate` that describes a single TLS certificate. + *
  • `CertificateMap` that describes a collection of certificates that can be attached to a * target resource. - *
  • `CertificateMapEntry` which describes a single configuration entry that consists of a SNI + *
  • `CertificateMapEntry` that describes a single configuration entry that consists of a SNI * and a group of certificates. It's a subresource of CertificateMap. *
* - *

Certificate, CertificateMap and CertificateMapEntry IDs have to match "^[a-z0-9-]{1,63}$" - * regexp, which means that - only lower case letters, digits, and hyphen are allowed - length of - * the resource ID has to be in [1,63] range. + *

Certificate, CertificateMap and CertificateMapEntry IDs have to fully match the regexp + * `[a-z0-9-]{1,63}`. In other words, - only lower case letters, digits, and hyphen are allowed - + * length of the resource ID has to be in [1,63] range. * *

Provides methods to manage Cloud Certificate Manager entities. * diff --git a/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/pom.xml b/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/pom.xml index 77ed963535bb..76507c4220dc 100644 --- a/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/pom.xml +++ b/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-certificate-manager-v1 - 0.12.0 + 0.13.0 grpc-google-cloud-certificate-manager-v1 GRPC library for google-cloud-certificate-manager com.google.cloud google-cloud-certificate-manager-parent - 0.12.0 + 0.13.0 diff --git a/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java b/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java index 4c463db360ad..28bf992b77cc 100644 --- a/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java +++ b/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java @@ -29,14 +29,14 @@ * easily applied to other Cloud resources e.g. Target Proxies. * Data Model * The Certificates Manager service exposes the following resources: - * * `Certificate` which describes a single TLS certificate. - * * `CertificateMap` which describes a collection of certificates that can be + * * `Certificate` that describes a single TLS certificate. + * * `CertificateMap` that describes a collection of certificates that can be * attached to a target resource. - * * `CertificateMapEntry` which describes a single configuration entry that + * * `CertificateMapEntry` that describes a single configuration entry that * consists of a SNI and a group of certificates. It's a subresource of * CertificateMap. * Certificate, CertificateMap and CertificateMapEntry IDs - * have to match "^[a-z0-9-]{1,63}$" regexp, which means that + * have to fully match the regexp `[a-z0-9-]{1,63}`. In other words, * - only lower case letters, digits, and hyphen are allowed * - length of the resource ID has to be in [1,63] range. * Provides methods to manage Cloud Certificate Manager entities. @@ -1316,14 +1316,14 @@ public CertificateManagerFutureStub newStub( * easily applied to other Cloud resources e.g. Target Proxies. * Data Model * The Certificates Manager service exposes the following resources: - * * `Certificate` which describes a single TLS certificate. - * * `CertificateMap` which describes a collection of certificates that can be + * * `Certificate` that describes a single TLS certificate. + * * `CertificateMap` that describes a collection of certificates that can be * attached to a target resource. - * * `CertificateMapEntry` which describes a single configuration entry that + * * `CertificateMapEntry` that describes a single configuration entry that * consists of a SNI and a group of certificates. It's a subresource of * CertificateMap. * Certificate, CertificateMap and CertificateMapEntry IDs - * have to match "^[a-z0-9-]{1,63}$" regexp, which means that + * have to fully match the regexp `[a-z0-9-]{1,63}`. In other words, * - only lower case letters, digits, and hyphen are allowed * - length of the resource ID has to be in [1,63] range. * Provides methods to manage Cloud Certificate Manager entities. @@ -1863,14 +1863,14 @@ public final io.grpc.ServerServiceDefinition bindService() { * easily applied to other Cloud resources e.g. Target Proxies. * Data Model * The Certificates Manager service exposes the following resources: - * * `Certificate` which describes a single TLS certificate. - * * `CertificateMap` which describes a collection of certificates that can be + * * `Certificate` that describes a single TLS certificate. + * * `CertificateMap` that describes a collection of certificates that can be * attached to a target resource. - * * `CertificateMapEntry` which describes a single configuration entry that + * * `CertificateMapEntry` that describes a single configuration entry that * consists of a SNI and a group of certificates. It's a subresource of * CertificateMap. * Certificate, CertificateMap and CertificateMapEntry IDs - * have to match "^[a-z0-9-]{1,63}$" regexp, which means that + * have to fully match the regexp `[a-z0-9-]{1,63}`. In other words, * - only lower case letters, digits, and hyphen are allowed * - length of the resource ID has to be in [1,63] range. * Provides methods to manage Cloud Certificate Manager entities. @@ -2302,14 +2302,14 @@ public void deleteCertificateIssuanceConfig( * easily applied to other Cloud resources e.g. Target Proxies. * Data Model * The Certificates Manager service exposes the following resources: - * * `Certificate` which describes a single TLS certificate. - * * `CertificateMap` which describes a collection of certificates that can be + * * `Certificate` that describes a single TLS certificate. + * * `CertificateMap` that describes a collection of certificates that can be * attached to a target resource. - * * `CertificateMapEntry` which describes a single configuration entry that + * * `CertificateMapEntry` that describes a single configuration entry that * consists of a SNI and a group of certificates. It's a subresource of * CertificateMap. * Certificate, CertificateMap and CertificateMapEntry IDs - * have to match "^[a-z0-9-]{1,63}$" regexp, which means that + * have to fully match the regexp `[a-z0-9-]{1,63}`. In other words, * - only lower case letters, digits, and hyphen are allowed * - length of the resource ID has to be in [1,63] range. * Provides methods to manage Cloud Certificate Manager entities. @@ -2659,14 +2659,14 @@ public com.google.longrunning.Operation deleteCertificateIssuanceConfig( * easily applied to other Cloud resources e.g. Target Proxies. * Data Model * The Certificates Manager service exposes the following resources: - * * `Certificate` which describes a single TLS certificate. - * * `CertificateMap` which describes a collection of certificates that can be + * * `Certificate` that describes a single TLS certificate. + * * `CertificateMap` that describes a collection of certificates that can be * attached to a target resource. - * * `CertificateMapEntry` which describes a single configuration entry that + * * `CertificateMapEntry` that describes a single configuration entry that * consists of a SNI and a group of certificates. It's a subresource of * CertificateMap. * Certificate, CertificateMap and CertificateMapEntry IDs - * have to match "^[a-z0-9-]{1,63}$" regexp, which means that + * have to fully match the regexp `[a-z0-9-]{1,63}`. In other words, * - only lower case letters, digits, and hyphen are allowed * - length of the resource ID has to be in [1,63] range. * Provides methods to manage Cloud Certificate Manager entities. diff --git a/java-certificate-manager/pom.xml b/java-certificate-manager/pom.xml index e2ad9b27c532..515260010b1b 100644 --- a/java-certificate-manager/pom.xml +++ b/java-certificate-manager/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-certificate-manager-parent pom - 0.12.0 + 0.13.0 Google Certificate Manager Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-certificate-manager - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-certificate-manager-v1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-certificate-manager-v1 - 0.12.0 + 0.13.0 diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/pom.xml b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/pom.xml index 5d364651ccdf..dbcac45ef3a6 100644 --- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/pom.xml +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-certificate-manager-v1 - 0.12.0 + 0.13.0 proto-google-cloud-certificate-manager-v1 Proto library for google-cloud-certificate-manager com.google.cloud google-cloud-certificate-manager-parent - 0.12.0 + 0.13.0 diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java index 0847dc897360..c38fe50d87da 100644 --- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java @@ -1244,7 +1244,7 @@ public interface ManagedCertificateOrBuilder * * *

-     * The resource name for a
+     * Immutable. The resource name for a
      * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
      * used to configure private PKI certificates in the format
      * `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -1264,7 +1264,7 @@ public interface ManagedCertificateOrBuilder
      *
      *
      * 
-     * The resource name for a
+     * Immutable. The resource name for a
      * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
      * used to configure private PKI certificates in the format
      * `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -1488,10 +1488,24 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     /**
+     *
+     *
+     * 
+     * State of the managed certificate resource.
+     * 
+ * * Protobuf enum {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State} */ public enum State implements com.google.protobuf.ProtocolMessageEnum { - /** STATE_UNSPECIFIED = 0; */ + /** + * + * + *
+       * State is unspecified.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ STATE_UNSPECIFIED(0), /** * @@ -1532,7 +1546,15 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - /** STATE_UNSPECIFIED = 0; */ + /** + * + * + *
+       * State is unspecified.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** * @@ -1776,11 +1798,25 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } /** + * + * + *
+       * Reason for provisioning failures.
+       * 
+ * * Protobuf enum {@code * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason} */ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { - /** REASON_UNSPECIFIED = 0; */ + /** + * + * + *
+         * Reason is unspecified.
+         * 
+ * + * REASON_UNSPECIFIED = 0; + */ REASON_UNSPECIFIED(0), /** * @@ -1809,7 +1845,15 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - /** REASON_UNSPECIFIED = 0; */ + /** + * + * + *
+         * Reason is unspecified.
+         * 
+ * + * REASON_UNSPECIFIED = 0; + */ public static final int REASON_UNSPECIFIED_VALUE = 0; /** * @@ -2932,11 +2976,25 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } /** + * + * + *
+       * State of the domain for managed certificate issuance.
+       * 
+ * * Protobuf enum {@code * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State} */ public enum State implements com.google.protobuf.ProtocolMessageEnum { - /** STATE_UNSPECIFIED = 0; */ + /** + * + * + *
+         * State is unspecified.
+         * 
+ * + * STATE_UNSPECIFIED = 0; + */ STATE_UNSPECIFIED(0), /** * @@ -2974,7 +3032,15 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - /** STATE_UNSPECIFIED = 0; */ + /** + * + * + *
+         * State is unspecified.
+         * 
+ * + * STATE_UNSPECIFIED = 0; + */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** * @@ -3100,11 +3166,25 @@ private State(int value) { } /** + * + * + *
+       * Reason for failure of the authorization attempt for the domain.
+       * 
+ * * Protobuf enum {@code * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason} */ public enum FailureReason implements com.google.protobuf.ProtocolMessageEnum { - /** FAILURE_REASON_UNSPECIFIED = 0; */ + /** + * + * + *
+         * FailureReason is unspecified.
+         * 
+ * + * FAILURE_REASON_UNSPECIFIED = 0; + */ FAILURE_REASON_UNSPECIFIED(0), /** * @@ -3142,7 +3222,15 @@ public enum FailureReason implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - /** FAILURE_REASON_UNSPECIFIED = 0; */ + /** + * + * + *
+         * FailureReason is unspecified.
+         * 
+ * + * FAILURE_REASON_UNSPECIFIED = 0; + */ public static final int FAILURE_REASON_UNSPECIFIED_VALUE = 0; /** * @@ -4634,7 +4722,7 @@ public com.google.protobuf.ByteString getDnsAuthorizationsBytes(int index) { * * *
-     * The resource name for a
+     * Immutable. The resource name for a
      * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
      * used to configure private PKI certificates in the format
      * `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -4665,7 +4753,7 @@ public java.lang.String getIssuanceConfig() {
      *
      *
      * 
-     * The resource name for a
+     * Immutable. The resource name for a
      * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
      * used to configure private PKI certificates in the format
      * `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -5868,7 +5956,7 @@ public Builder addDnsAuthorizationsBytes(com.google.protobuf.ByteString value) {
        *
        *
        * 
-       * The resource name for a
+       * Immutable. The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
        * used to configure private PKI certificates in the format
        * `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -5898,7 +5986,7 @@ public java.lang.String getIssuanceConfig() {
        *
        *
        * 
-       * The resource name for a
+       * Immutable. The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
        * used to configure private PKI certificates in the format
        * `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -5928,7 +6016,7 @@ public com.google.protobuf.ByteString getIssuanceConfigBytes() {
        *
        *
        * 
-       * The resource name for a
+       * Immutable. The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
        * used to configure private PKI certificates in the format
        * `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -5957,7 +6045,7 @@ public Builder setIssuanceConfig(java.lang.String value) {
        *
        *
        * 
-       * The resource name for a
+       * Immutable. The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
        * used to configure private PKI certificates in the format
        * `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -5982,7 +6070,7 @@ public Builder clearIssuanceConfig() {
        *
        *
        * 
-       * The resource name for a
+       * Immutable. The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
        * used to configure private PKI certificates in the format
        * `projects/*/locations/*/certificateIssuanceConfigs/*`.
diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java
index 64c6384310b9..6aa52462ac24 100644
--- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java
+++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java
@@ -129,16 +129,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "/CertificateIssuanceConfig\022`projects/{pr"
           + "oject}/locations/{location}/certificateI"
           + "ssuanceConfigs/{certificate_issuance_con"
-          + "fig}B\361\002\n&com.google.cloud.certificateman"
+          + "fig}B\363\002\n&com.google.cloud.certificateman"
           + "ager.v1B\036CertificateIssuanceConfigProtoP"
-          + "\001ZTgoogle.golang.org/genproto/googleapis"
-          + "/cloud/certificatemanager/v1;certificate"
-          + "manager\252\002\"Google.Cloud.CertificateManage"
-          + "r.V1\312\002\"Google\\Cloud\\CertificateManager\\V"
-          + "1\352\002%Google::Cloud::CertificateManager::V"
-          + "1\352A\\\n\037privateca.googleapis.com/CaPool\0229p"
-          + "rojects/{project}/locations/{location}/c"
-          + "aPools/{ca_pool}b\006proto3"
+          + "\001ZVcloud.google.com/go/certificatemanage"
+          + "r/apiv1/certificatemanagerpb;certificate"
+          + "managerpb\252\002\"Google.Cloud.CertificateMana"
+          + "ger.V1\312\002\"Google\\Cloud\\CertificateManager"
+          + "\\V1\352\002%Google::Cloud::CertificateManager:"
+          + ":V1\352A\\\n\037privateca.googleapis.com/CaPool\022"
+          + "9projects/{project}/locations/{location}"
+          + "/caPools/{ca_pool}b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java
index cc21eec1200c..37cf31519747 100644
--- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java
+++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java
@@ -575,14 +575,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "nfigs/*}\332A\004name\312A*\n\025google.protobuf.Empt"
           + "y\022\021OperationMetadata\032U\312A!certificatemana"
           + "ger.googleapis.com\322A.https://www.googlea"
-          + "pis.com/auth/cloud-platformB\213\002\n&com.goog"
+          + "pis.com/auth/cloud-platformB\215\002\n&com.goog"
           + "le.cloud.certificatemanager.v1B\027Certific"
-          + "ateManagerProtoP\001ZTgoogle.golang.org/gen"
-          + "proto/googleapis/cloud/certificatemanage"
-          + "r/v1;certificatemanager\252\002\"Google.Cloud.C"
-          + "ertificateManager.V1\312\002\"Google\\Cloud\\Cert"
-          + "ificateManager\\V1\352\002%Google::Cloud::Certi"
-          + "ficateManager::V1b\006proto3"
+          + "ateManagerProtoP\001ZVcloud.google.com/go/c"
+          + "ertificatemanager/apiv1/certificatemanag"
+          + "erpb;certificatemanagerpb\252\002\"Google.Cloud"
+          + ".CertificateManager.V1\312\002\"Google\\Cloud\\Ce"
+          + "rtificateManager\\V1\352\002%Google::Cloud::Cer"
+          + "tificateManager::V1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java
index f6734960ce84..524c625b50b9 100644
--- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java
+++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java
@@ -250,7 +250,7 @@ com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpC
    *
    *
    * 
-   * Describes a Target Proxy which uses this Certificate Map.
+   * Describes a Target Proxy that uses this Certificate Map.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMap.GclbTarget} @@ -1746,7 +1746,7 @@ protected Builder newBuilderForType( * * *
-     * Describes a Target Proxy which uses this Certificate Map.
+     * Describes a Target Proxy that uses this Certificate Map.
      * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMap.GclbTarget} @@ -3152,7 +3152,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
@@ -3170,7 +3170,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
@@ -3189,7 +3189,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
@@ -3206,7 +3206,7 @@ public int getGclbTargetsCount() { * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
@@ -3224,7 +3224,7 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbT * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
@@ -4606,7 +4606,7 @@ private void ensureGclbTargetsIsMutable() { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4627,7 +4627,7 @@ private void ensureGclbTargetsIsMutable() { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4647,7 +4647,7 @@ public int getGclbTargetsCount() { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4668,7 +4668,7 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbT * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4695,7 +4695,7 @@ public Builder setGclbTargets( * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4720,7 +4720,7 @@ public Builder setGclbTargets( * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4747,7 +4747,7 @@ public Builder addGclbTargets( * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4774,7 +4774,7 @@ public Builder addGclbTargets( * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4798,7 +4798,7 @@ public Builder addGclbTargets( * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4823,7 +4823,7 @@ public Builder addGclbTargets( * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4849,7 +4849,7 @@ public Builder addAllGclbTargets( * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4872,7 +4872,7 @@ public Builder clearGclbTargets() { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4895,7 +4895,7 @@ public Builder removeGclbTargets(int index) { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4912,7 +4912,7 @@ public Builder removeGclbTargets(int index) { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4933,7 +4933,7 @@ public Builder removeGclbTargets(int index) { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4955,7 +4955,7 @@ public Builder removeGclbTargets(int index) { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4975,7 +4975,7 @@ public Builder removeGclbTargets(int index) { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
@@ -4996,7 +4996,7 @@ public Builder removeGclbTargets(int index) { * * *
-     * Output only. A list of GCLB targets which use this Certificate Map.
+     * Output only. A list of GCLB targets that use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java index 3c5bb49806e5..5553929a4dcb 100644 --- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java @@ -215,7 +215,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
@@ -230,7 +230,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
@@ -244,7 +244,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
@@ -258,7 +258,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
@@ -274,7 +274,7 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. A list of GCLB targets which use this Certificate Map.
+   * Output only. A list of GCLB targets that use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java index e82b0e035eb9..4a6f0f136090 100644 --- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java @@ -1501,7 +1501,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * Required. Immutable. A domain which is being authorized. A DnsAuthorization
+   * Required. Immutable. A domain that is being authorized. A DnsAuthorization
    * resource covers a single domain and its wildcard, e.g. authorization for
    * `example.com` can be used to issue certificates for `example.com` and
    * `*.example.com`.
@@ -1529,7 +1529,7 @@ public java.lang.String getDomain() {
    *
    *
    * 
-   * Required. Immutable. A domain which is being authorized. A DnsAuthorization
+   * Required. Immutable. A domain that is being authorized. A DnsAuthorization
    * resource covers a single domain and its wildcard, e.g. authorization for
    * `example.com` can be used to issue certificates for `example.com` and
    * `*.example.com`.
@@ -2955,7 +2955,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Required. Immutable. A domain which is being authorized. A DnsAuthorization
+     * Required. Immutable. A domain that is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
      * `example.com` can be used to issue certificates for `example.com` and
      * `*.example.com`.
@@ -2982,7 +2982,7 @@ public java.lang.String getDomain() {
      *
      *
      * 
-     * Required. Immutable. A domain which is being authorized. A DnsAuthorization
+     * Required. Immutable. A domain that is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
      * `example.com` can be used to issue certificates for `example.com` and
      * `*.example.com`.
@@ -3009,7 +3009,7 @@ public com.google.protobuf.ByteString getDomainBytes() {
      *
      *
      * 
-     * Required. Immutable. A domain which is being authorized. A DnsAuthorization
+     * Required. Immutable. A domain that is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
      * `example.com` can be used to issue certificates for `example.com` and
      * `*.example.com`.
@@ -3035,7 +3035,7 @@ public Builder setDomain(java.lang.String value) {
      *
      *
      * 
-     * Required. Immutable. A domain which is being authorized. A DnsAuthorization
+     * Required. Immutable. A domain that is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
      * `example.com` can be used to issue certificates for `example.com` and
      * `*.example.com`.
@@ -3057,7 +3057,7 @@ public Builder clearDomain() {
      *
      *
      * 
-     * Required. Immutable. A domain which is being authorized. A DnsAuthorization
+     * Required. Immutable. A domain that is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
      * `example.com` can be used to issue certificates for `example.com` and
      * `*.example.com`.
diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java
index 2440b14850f7..4f651aed8309 100644
--- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java
+++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java
@@ -215,7 +215,7 @@ java.lang.String getLabelsOrDefault(
    *
    *
    * 
-   * Required. Immutable. A domain which is being authorized. A DnsAuthorization
+   * Required. Immutable. A domain that is being authorized. A DnsAuthorization
    * resource covers a single domain and its wildcard, e.g. authorization for
    * `example.com` can be used to issue certificates for `example.com` and
    * `*.example.com`.
@@ -232,7 +232,7 @@ java.lang.String getLabelsOrDefault(
    *
    *
    * 
-   * Required. Immutable. A domain which is being authorized. A DnsAuthorization
+   * Required. Immutable. A domain that is being authorized. A DnsAuthorization
    * resource covers a single domain and its wildcard, e.g. authorization for
    * `example.com` can be used to issue certificates for `example.com` and
    * `*.example.com`.
diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_issuance_config.proto b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_issuance_config.proto
index 629cb5944f93..3d20aa0b8f6f 100644
--- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_issuance_config.proto
+++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_issuance_config.proto
@@ -22,7 +22,7 @@ import "google/protobuf/duration.proto";
 import "google/protobuf/timestamp.proto";
 
 option csharp_namespace = "Google.Cloud.CertificateManager.V1";
-option go_package = "google.golang.org/genproto/googleapis/cloud/certificatemanager/v1;certificatemanager";
+option go_package = "cloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb;certificatemanagerpb";
 option java_multiple_files = true;
 option java_outer_classname = "CertificateIssuanceConfigProto";
 option java_package = "com.google.cloud.certificatemanager.v1";
diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto
index 07b4c0859579..d3e2449c84de 100644
--- a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto
+++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto
@@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto";
 import "google/protobuf/timestamp.proto";
 
 option csharp_namespace = "Google.Cloud.CertificateManager.V1";
-option go_package = "google.golang.org/genproto/googleapis/cloud/certificatemanager/v1;certificatemanager";
+option go_package = "cloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb;certificatemanagerpb";
 option java_multiple_files = true;
 option java_outer_classname = "CertificateManagerProto";
 option java_package = "com.google.cloud.certificatemanager.v1";
@@ -46,15 +46,15 @@ option ruby_package = "Google::Cloud::CertificateManager::V1";
 //
 // The Certificates Manager service exposes the following resources:
 //
-// * `Certificate` which describes a single TLS certificate.
-// * `CertificateMap` which describes a collection of certificates that can be
+// * `Certificate` that describes a single TLS certificate.
+// * `CertificateMap` that describes a collection of certificates that can be
 // attached to a target resource.
-// * `CertificateMapEntry` which describes a single configuration entry that
+// * `CertificateMapEntry` that describes a single configuration entry that
 // consists of a SNI and a group of certificates. It's a subresource of
 // CertificateMap.
 //
 // Certificate, CertificateMap and CertificateMapEntry IDs
-// have to match "^[a-z0-9-]{1,63}$" regexp, which means that
+// have to fully match the regexp `[a-z0-9-]{1,63}`. In other words,
 // - only lower case letters, digits, and hyphen are allowed
 // - length of the resource ID has to be in [1,63] range.
 //
@@ -794,7 +794,9 @@ message Certificate {
   // Certificate Manager provisions and renews Managed Certificates
   // automatically, for as long as it's authorized to do so.
   message ManagedCertificate {
+    // State of the managed certificate resource.
     enum State {
+      // State is unspecified.
       STATE_UNSPECIFIED = 0;
 
       // Certificate Manager attempts to provision or renew the certificate.
@@ -815,7 +817,9 @@ message Certificate {
 
     // Information about issues with provisioning a Managed Certificate.
     message ProvisioningIssue {
+      // Reason for provisioning failures.
       enum Reason {
+        // Reason is unspecified.
         REASON_UNSPECIFIED = 0;
 
         // Certificate provisioning failed due to an issue with one or more of
@@ -841,7 +845,9 @@ message Certificate {
     // State of the latest attempt to authorize a domain for certificate
     // issuance.
     message AuthorizationAttemptInfo {
+      // State of the domain for managed certificate issuance.
       enum State {
+        // State is unspecified.
         STATE_UNSPECIFIED = 0;
 
         // Certificate provisioning for this domain is under way. GCP will
@@ -857,7 +863,9 @@ message Certificate {
         FAILED = 7;
       }
 
+      // Reason for failure of the authorization attempt for the domain.
       enum FailureReason {
+        // FailureReason is unspecified.
         FAILURE_REASON_UNSPECIFIED = 0;
 
         // There was a problem with the user's DNS or load balancer
@@ -904,7 +912,7 @@ message Certificate {
       }
     ];
 
-    // The resource name for a
+    // Immutable. The resource name for a
     // [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
     // used to configure private PKI certificates in the format
     // `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -993,7 +1001,7 @@ message CertificateMap {
     pattern: "projects/{project}/locations/{location}/certificateMaps/{certificate_map}"
   };
 
-  // Describes a Target Proxy which uses this Certificate Map.
+  // Describes a Target Proxy that uses this Certificate Map.
   message GclbTarget {
     // Defines IP configuration where this Certificate Map is serving.
     message IpConfig {
@@ -1042,7 +1050,7 @@ message CertificateMap {
   // Set of labels associated with a Certificate Map.
   map labels = 3;
 
-  // Output only. A list of GCLB targets which use this Certificate Map.
+  // Output only. A list of GCLB targets that use this Certificate Map.
   // A Target Proxy is only present on this list if it's attached to a
   // Forwarding Rule.
   repeated GclbTarget gclb_targets = 4
@@ -1150,7 +1158,7 @@ message DnsAuthorization {
   // One or more paragraphs of text description of a DnsAuthorization.
   string description = 5;
 
-  // Required. Immutable. A domain which is being authorized. A DnsAuthorization
+  // Required. Immutable. A domain that is being authorized. A DnsAuthorization
   // resource covers a single domain and its wildcard, e.g. authorization for
   // `example.com` can be used to issue certificates for `example.com` and
   // `*.example.com`.
diff --git a/java-channel/README.md b/java-channel/README.md
index 611bd239dfec..169803056953 100644
--- a/java-channel/README.md
+++ b/java-channel/README.md
@@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
 
   com.google.cloud
   google-cloud-channel
-  3.12.0
+  3.13.0
 
 ```
 
 If you are using Gradle without BOM, add this to your dependencies:
 
 ```Groovy
-implementation 'com.google.cloud:google-cloud-channel:3.12.0'
+implementation 'com.google.cloud:google-cloud-channel:3.13.0'
 ```
 
 If you are using SBT, add this to your dependencies:
 
 ```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.12.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.13.0"
 ```
 
 ## Authentication
diff --git a/java-channel/google-cloud-channel-bom/pom.xml b/java-channel/google-cloud-channel-bom/pom.xml
index 1cbff803db93..30df42699f15 100644
--- a/java-channel/google-cloud-channel-bom/pom.xml
+++ b/java-channel/google-cloud-channel-bom/pom.xml
@@ -3,13 +3,13 @@
   4.0.0
   com.google.cloud
   google-cloud-channel-bom
-  3.13.0
+  3.14.0
   pom
 
   
     com.google.cloud
     google-cloud-pom-parent
-    1.3.0
+    1.4.0
     ../../google-cloud-pom-parent/pom.xml
   
 
@@ -27,17 +27,17 @@
       
         com.google.cloud
         google-cloud-channel
-        3.13.0
+        3.14.0
       
       
         com.google.api.grpc
         grpc-google-cloud-channel-v1
-        3.13.0
+        3.14.0
       
       
         com.google.api.grpc
         proto-google-cloud-channel-v1
-        3.13.0
+        3.14.0
       
     
   
diff --git a/java-channel/google-cloud-channel/pom.xml b/java-channel/google-cloud-channel/pom.xml
index 51738c2ab5e0..a33af232979e 100644
--- a/java-channel/google-cloud-channel/pom.xml
+++ b/java-channel/google-cloud-channel/pom.xml
@@ -3,14 +3,14 @@
   4.0.0
   com.google.cloud
   google-cloud-channel
-  3.13.0
+  3.14.0
   jar
   Google Channel Services
   With Channel Services, Google Cloud partners and resellers have a single unified resale platform, with a unified resale catalog, customer management, order management, billing management, policy and authorization management, and cost management.
   
     com.google.cloud
     google-cloud-channel-parent
-    3.13.0
+    3.14.0
   
   
     google-cloud-channel
diff --git a/java-channel/grpc-google-cloud-channel-v1/pom.xml b/java-channel/grpc-google-cloud-channel-v1/pom.xml
index be6f63dcac63..5f4f379c65cb 100644
--- a/java-channel/grpc-google-cloud-channel-v1/pom.xml
+++ b/java-channel/grpc-google-cloud-channel-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-channel-v1
-  3.13.0
+  3.14.0
   grpc-google-cloud-channel-v1
   GRPC library for google-cloud-channel
   
     com.google.cloud
     google-cloud-channel-parent
-    3.13.0
+    3.14.0
   
   
     
diff --git a/java-channel/pom.xml b/java-channel/pom.xml
index 04b553cf6af4..bd5f43f81c83 100644
--- a/java-channel/pom.xml
+++ b/java-channel/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-channel-parent
   pom
-  3.13.0
+  3.14.0
   Google Channel Services Parent
   
     Java idiomatic client for Google Cloud Platform services.
@@ -13,7 +13,7 @@
   
     com.google.cloud
     google-cloud-jar-parent
-    1.3.0
+    1.4.0
     ../google-cloud-jar-parent/pom.xml
   
 
@@ -29,17 +29,17 @@
       
         com.google.cloud
         google-cloud-channel
-        3.13.0
+        3.14.0
       
       
         com.google.api.grpc
         proto-google-cloud-channel-v1
-        3.13.0
+        3.14.0
       
       
         com.google.api.grpc
         grpc-google-cloud-channel-v1
-        3.13.0
+        3.14.0
       
     
   
diff --git a/java-channel/proto-google-cloud-channel-v1/pom.xml b/java-channel/proto-google-cloud-channel-v1/pom.xml
index 6c54c8747f1b..84fc218c82d6 100644
--- a/java-channel/proto-google-cloud-channel-v1/pom.xml
+++ b/java-channel/proto-google-cloud-channel-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-channel-v1
-  3.13.0
+  3.14.0
   proto-google-cloud-channel-v1
   Proto library for google-cloud-channel
   
     com.google.cloud
     google-cloud-channel-parent
-    3.13.0
+    3.14.0
   
   
     
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java
index f4d089cf878d..288d4071ab59 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ChannelPartnerLinksProto.java
@@ -63,10 +63,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "L\020\002*z\n\027ChannelPartnerLinkState\022*\n&CHANNE"
           + "L_PARTNER_LINK_STATE_UNSPECIFIED\020\000\022\013\n\007IN"
           + "VITED\020\001\022\n\n\006ACTIVE\020\002\022\013\n\007REVOKED\020\003\022\r\n\tSUSP"
-          + "ENDED\020\004By\n\033com.google.cloud.channel.v1B\030"
-          + "ChannelPartnerLinksProtoP\001Z>google.golan"
-          + "g.org/genproto/googleapis/cloud/channel/"
-          + "v1;channelb\006proto3"
+          + "ENDED\020\004Bp\n\033com.google.cloud.channel.v1B\030"
+          + "ChannelPartnerLinksProtoP\001Z5cloud.google"
+          + ".com/go/channel/apiv1/channelpb;channelp"
+          + "bb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java
index 587af974ce50..8d5a37f881fb 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CommonProto.java
@@ -81,10 +81,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "e\030\004 \001(\0132\024.google.protobuf.AnyH\000\022\024\n\nbool_"
           + "value\030\005 \001(\010H\000B\006\n\004kind\"C\n\tAdminUser\022\r\n\005em"
           + "ail\030\001 \001(\t\022\022\n\ngiven_name\030\002 \001(\t\022\023\n\013family_"
-          + "name\030\003 \001(\tBl\n\033com.google.cloud.channel.v"
-          + "1B\013CommonProtoP\001Z>google.golang.org/genp"
-          + "roto/googleapis/cloud/channel/v1;channel"
-          + "b\006proto3"
+          + "name\030\003 \001(\tBc\n\033com.google.cloud.channel.v"
+          + "1B\013CommonProtoP\001Z5cloud.google.com/go/ch"
+          + "annel/apiv1/channelpb;channelpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java
index 737c9507f391..40c3bac5da5c 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/CustomersProto.java
@@ -68,9 +68,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "nfo\022\022\n\nfirst_name\030\001 \001(\t\022\021\n\tlast_name\030\002 \001"
           + "(\t\022\031\n\014display_name\030\004 \001(\tB\003\340A\003\022\r\n\005email\030\005"
           + " \001(\t\022\022\n\005title\030\006 \001(\tB\003\340A\001\022\r\n\005phone\030\007 \001(\tB"
-          + "o\n\033com.google.cloud.channel.v1B\016Customer"
-          + "sProtoP\001Z>google.golang.org/genproto/goo"
-          + "gleapis/cloud/channel/v1;channelb\006proto3"
+          + "f\n\033com.google.cloud.channel.v1B\016Customer"
+          + "sProtoP\001Z5cloud.google.com/go/channel/ap"
+          + "iv1/channelpb;channelpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
index a2ac7d427ef8..5df92a145438 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/EntitlementsProto.java
@@ -136,10 +136,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "3.google.cloud.channel.v1.TransferEligib"
           + "ility.Reason\"e\n\006Reason\022\026\n\022REASON_UNSPECI"
           + "FIED\020\000\022\032\n\026PENDING_TOS_ACCEPTANCE\020\001\022\024\n\020SK"
-          + "U_NOT_ELIGIBLE\020\002\022\021\n\rSKU_SUSPENDED\020\003Br\n\033c"
+          + "U_NOT_ELIGIBLE\020\002\022\021\n\rSKU_SUSPENDED\020\003Bi\n\033c"
           + "om.google.cloud.channel.v1B\021Entitlements"
-          + "ProtoP\001Z>google.golang.org/genproto/goog"
-          + "leapis/cloud/channel/v1;channelb\006proto3"
+          + "ProtoP\001Z5cloud.google.com/go/channel/api"
+          + "v1/channelpb;channelpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java
index 89b96c57565c..42565253675c 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OffersProto.java
@@ -151,10 +151,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\022\007\n\003MAU\020\002\022\006\n\002GB\020\003\022\021\n\rLICENSED_USER\020\004\022\013\n\007"
           + "MINUTES\020\005\022\016\n\nIAAS_USAGE\020\006\022\020\n\014SUBSCRIPTIO"
           + "N\020\007*G\n\nPeriodType\022\033\n\027PERIOD_TYPE_UNSPECI"
-          + "FIED\020\000\022\007\n\003DAY\020\001\022\t\n\005MONTH\020\002\022\010\n\004YEAR\020\003Bl\n\033"
+          + "FIED\020\000\022\007\n\003DAY\020\001\022\t\n\005MONTH\020\002\022\010\n\004YEAR\020\003Bc\n\033"
           + "com.google.cloud.channel.v1B\013OffersProto"
-          + "P\001Z>google.golang.org/genproto/googleapi"
-          + "s/cloud/channel/v1;channelb\006proto3"
+          + "P\001Z5cloud.google.com/go/channel/apiv1/ch"
+          + "annelpb;channelpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java
index 67b76d21db7f..7e06cc7d81ef 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/OperationsProto.java
@@ -52,10 +52,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "ENTITLEMENT\020\t\022\031\n\025TRANSFER_ENTITLEMENTS\020\n"
           + "\022#\n\037TRANSFER_ENTITLEMENTS_TO_GOOGLE\020\013\022\020\n"
           + "\014CHANGE_OFFER\020\016\022\025\n\021CHANGE_PARAMETERS\020\017\022\034"
-          + "\n\030PROVISION_CLOUD_IDENTITY\020\020Bp\n\033com.goog"
-          + "le.cloud.channel.v1B\017OperationsProtoP\001Z>"
-          + "google.golang.org/genproto/googleapis/cl"
-          + "oud/channel/v1;channelb\006proto3"
+          + "\n\030PROVISION_CLOUD_IDENTITY\020\020Bg\n\033com.goog"
+          + "le.cloud.channel.v1B\017OperationsProtoP\001Z5"
+          + "cloud.google.com/go/channel/apiv1/channe"
+          + "lpb;channelpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java
index be281be6668c..e819681d9d4c 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ProductsProto.java
@@ -69,10 +69,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "edia\"Y\n\005Media\022\r\n\005title\030\001 \001(\t\022\017\n\007content\030"
           + "\002 \001(\t\0220\n\004type\030\003 \001(\0162\".google.cloud.chann"
           + "el.v1.MediaType*=\n\tMediaType\022\032\n\026MEDIA_TY"
-          + "PE_UNSPECIFIED\020\000\022\024\n\020MEDIA_TYPE_IMAGE\020\001Bn"
+          + "PE_UNSPECIFIED\020\000\022\024\n\020MEDIA_TYPE_IMAGE\020\001Be"
           + "\n\033com.google.cloud.channel.v1B\rProductsP"
-          + "rotoP\001Z>google.golang.org/genproto/googl"
-          + "eapis/cloud/channel/v1;channelb\006proto3"
+          + "rotoP\001Z5cloud.google.com/go/channel/apiv"
+          + "1/channelpb;channelpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java
index f0cdabda07d3..914386cd312f 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ReportsServiceProto.java
@@ -180,10 +180,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "rent=accounts/*}/reports\332A\006parent\032\\\312A\033cl"
           + "oudchannel.googleapis.com\322A;https://www."
           + "googleapis.com/auth/apps.reports.usage.r"
-          + "eadonlyBt\n\033com.google.cloud.channel.v1B\023"
-          + "ReportsServiceProtoP\001Z>google.golang.org"
-          + "/genproto/googleapis/cloud/channel/v1;ch"
-          + "annelb\006proto3"
+          + "eadonlyBk\n\033com.google.cloud.channel.v1B\023"
+          + "ReportsServiceProtoP\001Z5cloud.google.com/"
+          + "go/channel/apiv1/channelpb;channelpbb\006pr"
+          + "oto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java
index 851de098d40f..0779456b2192 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/RepricingProto.java
@@ -131,10 +131,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "dition\"&\n\021SkuGroupCondition\022\021\n\tsku_group"
           + "\030\001 \001(\t*]\n\016RebillingBasis\022\037\n\033REBILLING_BA"
           + "SIS_UNSPECIFIED\020\000\022\020\n\014COST_AT_LIST\020\001\022\030\n\024D"
-          + "IRECT_CUSTOMER_COST\020\002Bo\n\033com.google.clou"
-          + "d.channel.v1B\016RepricingProtoP\001Z>google.g"
-          + "olang.org/genproto/googleapis/cloud/chan"
-          + "nel/v1;channelb\006proto3"
+          + "IRECT_CUSTOMER_COST\020\002Bf\n\033com.google.clou"
+          + "d.channel.v1B\016RepricingProtoP\001Z5cloud.go"
+          + "ogle.com/go/channel/apiv1/channelpb;chan"
+          + "nelpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java
index 316eda36c5ec..f44150d7b37d 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/ServiceProto.java
@@ -811,10 +811,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "nse\"0\202\323\344\223\002*\022(/v1/{account=accounts/*}:li"
           + "stSubscribers\032K\312A\033cloudchannel.googleapi"
           + "s.com\322A*https://www.googleapis.com/auth/"
-          + "apps.orderBm\n\033com.google.cloud.channel.v"
-          + "1B\014ServiceProtoP\001Z>google.golang.org/gen"
-          + "proto/googleapis/cloud/channel/v1;channe"
-          + "lb\006proto3"
+          + "apps.orderBd\n\033com.google.cloud.channel.v"
+          + "1B\014ServiceProtoP\001Z5cloud.google.com/go/c"
+          + "hannel/apiv1/channelpb;channelpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java
index 814714a5343c..5ddb076cf275 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/java/com/google/cloud/channel/v1/SubscriberEventProto.java
@@ -71,10 +71,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "event\030\001 \001(\0132&.google.cloud.channel.v1.Cu"
           + "stomerEventH\000\022F\n\021entitlement_event\030\002 \001(\013"
           + "2).google.cloud.channel.v1.EntitlementEv"
-          + "entH\000B\007\n\005eventBu\n\033com.google.cloud.chann"
-          + "el.v1B\024SubscriberEventProtoP\001Z>google.go"
-          + "lang.org/genproto/googleapis/cloud/chann"
-          + "el/v1;channelb\006proto3"
+          + "entH\000B\007\n\005eventBl\n\033com.google.cloud.chann"
+          + "el.v1B\024SubscriberEventProtoP\001Z5cloud.goo"
+          + "gle.com/go/channel/apiv1/channelpb;chann"
+          + "elpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto
index d0607af278c1..5f51b3f2ee7b 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/channel_partner_links.proto
@@ -21,7 +21,7 @@ import "google/api/resource.proto";
 import "google/cloud/channel/v1/common.proto";
 import "google/protobuf/timestamp.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "ChannelPartnerLinksProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto
index 2380722ac8d1..9e899fd787f3 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/common.proto
@@ -19,7 +19,7 @@ package google.cloud.channel.v1;
 import "google/api/field_behavior.proto";
 import "google/protobuf/any.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "CommonProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto
index 18bf1ad99a16..e355420c803a 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/customers.proto
@@ -22,7 +22,7 @@ import "google/cloud/channel/v1/common.proto";
 import "google/protobuf/timestamp.proto";
 import "google/type/postal_address.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "CustomersProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto
index 8a6633b140c3..9fef42d0e6ca 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/entitlements.proto
@@ -23,7 +23,7 @@ import "google/cloud/channel/v1/offers.proto";
 import "google/cloud/channel/v1/products.proto";
 import "google/protobuf/timestamp.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "EntitlementsProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto
index 3a504045350e..eb24f871d01d 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/offers.proto
@@ -23,7 +23,7 @@ import "google/cloud/channel/v1/products.proto";
 import "google/protobuf/timestamp.proto";
 import "google/type/money.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "OffersProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto
index e9e190772cb7..242ae3d8a3c5 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/operations.proto
@@ -16,7 +16,7 @@ syntax = "proto3";
 
 package google.cloud.channel.v1;
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "OperationsProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto
index 411e1698b96b..07c50c65d66c 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/products.proto
@@ -18,7 +18,7 @@ package google.cloud.channel.v1;
 
 import "google/api/resource.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "ProductsProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto
index 1cb87124cb6a..ed3211bb2e97 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/reports_service.proto
@@ -27,7 +27,7 @@ import "google/type/datetime.proto";
 import "google/type/decimal.proto";
 import "google/type/money.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "ReportsServiceProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto
index 1a15067b3781..9d0cfaf8c1dd 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/repricing.proto
@@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto";
 import "google/type/date.proto";
 import "google/type/decimal.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "RepricingProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto
index 93730e9ea333..36627bf36867 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/service.proto
@@ -31,7 +31,7 @@ import "google/longrunning/operations.proto";
 import "google/protobuf/empty.proto";
 import "google/protobuf/field_mask.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "ServiceProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto
index 0135c066f44a..57504ca456e7 100644
--- a/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto
+++ b/java-channel/proto-google-cloud-channel-v1/src/main/proto/google/cloud/channel/v1/subscriber_event.proto
@@ -18,7 +18,7 @@ package google.cloud.channel.v1;
 
 import "google/api/resource.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/channel/v1;channel";
+option go_package = "cloud.google.com/go/channel/apiv1/channelpb;channelpb";
 option java_multiple_files = true;
 option java_outer_classname = "SubscriberEventProto";
 option java_package = "com.google.cloud.channel.v1";
diff --git a/java-cloudbuild/google-cloud-build-bom/pom.xml b/java-cloudbuild/google-cloud-build-bom/pom.xml
index 404bec09dca8..ce0af3bae328 100644
--- a/java-cloudbuild/google-cloud-build-bom/pom.xml
+++ b/java-cloudbuild/google-cloud-build-bom/pom.xml
@@ -3,13 +3,13 @@
   4.0.0
   com.google.cloud
   google-cloud-build-bom
-  3.11.0
+  3.12.0
   pom
 
   
     com.google.cloud
     google-cloud-pom-parent
-    1.3.0
+    1.4.0
     ../../google-cloud-pom-parent/pom.xml
   
 
@@ -23,17 +23,17 @@
       
         com.google.cloud
         google-cloud-build
-        3.11.0
+        3.12.0
       
       
         com.google.api.grpc
         grpc-google-cloud-build-v1
-        3.11.0
+        3.12.0
       
       
         com.google.api.grpc
         proto-google-cloud-build-v1
-        3.11.0
+        3.12.0
       
     
   
diff --git a/java-cloudbuild/google-cloud-build/pom.xml b/java-cloudbuild/google-cloud-build/pom.xml
index 92bc4ec6baa0..36997615aaf5 100644
--- a/java-cloudbuild/google-cloud-build/pom.xml
+++ b/java-cloudbuild/google-cloud-build/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-build
-  3.11.0
+  3.12.0
   jar
   Google Cloud Build
   
@@ -12,7 +12,7 @@
   
     com.google.cloud
     google-cloud-build-parent
-    3.11.0
+    3.12.0
   
   
     google-cloud-build
diff --git a/java-cloudbuild/grpc-google-cloud-build-v1/pom.xml b/java-cloudbuild/grpc-google-cloud-build-v1/pom.xml
index 33191a4def22..859d142cf3ce 100644
--- a/java-cloudbuild/grpc-google-cloud-build-v1/pom.xml
+++ b/java-cloudbuild/grpc-google-cloud-build-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-build-v1
-  3.11.0
+  3.12.0
   grpc-google-cloud-build-v1
   GRPC library for grpc-google-cloud-build-v1
   
     com.google.cloud
     google-cloud-build-parent
-    3.11.0
+    3.12.0
   
   
     
diff --git a/java-cloudbuild/pom.xml b/java-cloudbuild/pom.xml
index 8c9d1e4880e0..65cf320b91a5 100644
--- a/java-cloudbuild/pom.xml
+++ b/java-cloudbuild/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-build-parent
   pom
-  3.11.0
+  3.12.0
   Google Cloud Build Parent
   
     Java idiomatic client for Google Cloud Platform services.
@@ -13,7 +13,7 @@
   
     com.google.cloud
     google-cloud-jar-parent
-    1.3.0
+    1.4.0
     ../google-cloud-jar-parent/pom.xml
   
 
@@ -29,17 +29,17 @@
       
         com.google.api.grpc
         proto-google-cloud-build-v1
-        3.11.0
+        3.12.0
       
       
         com.google.cloud
         google-cloud-build
-        3.11.0
+        3.12.0
       
       
         com.google.api.grpc
         grpc-google-cloud-build-v1
-        3.11.0
+        3.12.0
       
     
   
diff --git a/java-cloudbuild/proto-google-cloud-build-v1/pom.xml b/java-cloudbuild/proto-google-cloud-build-v1/pom.xml
index 3076ba0e134b..e199a53bff31 100644
--- a/java-cloudbuild/proto-google-cloud-build-v1/pom.xml
+++ b/java-cloudbuild/proto-google-cloud-build-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-build-v1
-  3.11.0
+  3.12.0
   proto-google-cloud-build-v1
   PROTO library for proto-google-cloud-build-v1
   
     com.google.cloud
     google-cloud-build-parent
-    3.11.0
+    3.12.0
   
   
     
diff --git a/java-cloudcommerceconsumerprocurement/README.md b/java-cloudcommerceconsumerprocurement/README.md
index b5a9a4067037..541424fc9f19 100644
--- a/java-cloudcommerceconsumerprocurement/README.md
+++ b/java-cloudcommerceconsumerprocurement/README.md
@@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
 
   com.google.cloud
   google-cloud-cloudcommerceconsumerprocurement
-  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-cloudcommerceconsumerprocurement:0.6.0'
+implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.7.0'
 ```
 
 If you are using SBT, add this to your dependencies:
 
 ```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.6.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.7.0"
 ```
 
 ## Authentication
diff --git a/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement-bom/pom.xml b/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement-bom/pom.xml
index edc251a33597..b1c6b08ef659 100644
--- a/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement-bom/pom.xml
+++ b/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement-bom/pom.xml
@@ -3,13 +3,13 @@
   4.0.0
   com.google.cloud
   google-cloud-cloudcommerceconsumerprocurement-bom
-  0.7.0
+  0.8.0
   pom
 
   
     com.google.cloud
     google-cloud-pom-parent
-    1.3.0
+    1.4.0
     ../../google-cloud-pom-parent/pom.xml
   
 
@@ -27,17 +27,17 @@
       
         com.google.cloud
         google-cloud-cloudcommerceconsumerprocurement
-        0.7.0
+        0.8.0
       
       
         com.google.api.grpc
         grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1
-        0.7.0
+        0.8.0
       
       
         com.google.api.grpc
         proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1
-        0.7.0
+        0.8.0
       
     
   
diff --git a/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/pom.xml b/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/pom.xml
index 199698a36c18..94de09c34106 100644
--- a/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/pom.xml
+++ b/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/pom.xml
@@ -3,14 +3,14 @@
   4.0.0
   com.google.cloud
   google-cloud-cloudcommerceconsumerprocurement
-  0.7.0
+  0.8.0
   jar
   Google Cloud Commerce Consumer Procurement
   Cloud Commerce Consumer Procurement Find top solutions integrated with Google Cloud to accelerate your digital transformation. Scale and simplify procurement for your organization with online discovery, flexible purchasing, and fulfillment of enterprise-grade cloud solutions.
   
     com.google.cloud
     google-cloud-cloudcommerceconsumerprocurement-parent
-    0.7.0
+    0.8.0
   
   
     google-cloud-cloudcommerceconsumerprocurement
diff --git a/java-cloudcommerceconsumerprocurement/grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/pom.xml b/java-cloudcommerceconsumerprocurement/grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/pom.xml
index f097e8181070..3ff3f0448832 100644
--- a/java-cloudcommerceconsumerprocurement/grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/pom.xml
+++ b/java-cloudcommerceconsumerprocurement/grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1
-  0.7.0
+  0.8.0
   grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1
   GRPC library for google-cloud-cloudcommerceconsumerprocurement
   
     com.google.cloud
     google-cloud-cloudcommerceconsumerprocurement-parent
-    0.7.0
+    0.8.0
   
   
     
diff --git a/java-cloudcommerceconsumerprocurement/pom.xml b/java-cloudcommerceconsumerprocurement/pom.xml
index 8bf8e203a9ce..afe0f36b4a1c 100644
--- a/java-cloudcommerceconsumerprocurement/pom.xml
+++ b/java-cloudcommerceconsumerprocurement/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-cloudcommerceconsumerprocurement-parent
   pom
-  0.7.0
+  0.8.0
   Google Cloud Commerce Consumer Procurement Parent
   
     Java idiomatic client for Google Cloud Platform services.
@@ -13,7 +13,7 @@
   
     com.google.cloud
     google-cloud-jar-parent
-    1.3.0
+    1.4.0
     ../google-cloud-jar-parent/pom.xml
   
 
@@ -29,17 +29,17 @@
       
         com.google.cloud
         google-cloud-cloudcommerceconsumerprocurement
-        0.7.0
+        0.8.0
       
       
         com.google.api.grpc
         grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1
-        0.7.0
+        0.8.0
       
       
         com.google.api.grpc
         proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1
-        0.7.0
+        0.8.0
       
     
   
diff --git a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/pom.xml b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/pom.xml
index 1beb673f8624..d21460867f75 100644
--- a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/pom.xml
+++ b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1
-  0.7.0
+  0.8.0
   proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1
   Proto library for google-cloud-cloudcommerceconsumerprocurement
   
     com.google.cloud
     google-cloud-cloudcommerceconsumerprocurement-parent
-    0.7.0
+    0.8.0
   
   
     
diff --git a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/OrderOuterClass.java b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/OrderOuterClass.java
index 776aa59656fe..309c9098e3f0 100644
--- a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/OrderOuterClass.java
+++ b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/OrderOuterClass.java
@@ -142,15 +142,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "_STATE_REASON_TYPE_EXPIRED\020\001\0225\n1LINE_ITE"
           + "M_CHANGE_STATE_REASON_TYPE_USER_CANCELLE"
           + "D\020\002\0227\n3LINE_ITEM_CHANGE_STATE_REASON_TYP"
-          + "E_SYSTEM_CANCELLED\020\003B\260\002\n7com.google.clou"
+          + "E_SYSTEM_CANCELLED\020\003B\253\002\n7com.google.clou"
           + "d.commerce.consumer.procurement.v1alpha1"
-          + "P\001Z^google.golang.org/genproto/googleapi"
-          + "s/cloud/commerce/consumer/procurement/v1"
-          + "alpha1;procurement\352A\221\001\n)commerceoffercat"
-          + "alog.googleapis.com/Offer\022)services/{ser"
-          + "vice}/standardOffers/{offer}\0229billingAcc"
-          + "ounts/{consumer_billing_account}/offers/"
-          + "{offer}b\006proto3"
+          + "P\001ZYcloud.google.com/go/commerce/consume"
+          + "r/procurement/apiv1alpha1/procurementpb;"
+          + "procurementpb\352A\221\001\n)commerceoffercatalog."
+          + "googleapis.com/Offer\022)services/{service}"
+          + "/standardOffers/{offer}\0229billingAccounts"
+          + "/{consumer_billing_account}/offers/{offe"
+          + "r}b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/ProcurementService.java b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/ProcurementService.java
index e62c4ce153ca..2511ece7950b 100644
--- a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/ProcurementService.java
+++ b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/ProcurementService.java
@@ -96,11 +96,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "ha1/{parent=billingAccounts/*}/orders\032c\312"
           + "A/cloudcommerceconsumerprocurement.googl"
           + "eapis.com\322A.https://www.googleapis.com/a"
-          + "uth/cloud-platformB\233\001\n7com.google.cloud."
+          + "uth/cloud-platformB\226\001\n7com.google.cloud."
           + "commerce.consumer.procurement.v1alpha1P\001"
-          + "Z^google.golang.org/genproto/googleapis/"
-          + "cloud/commerce/consumer/procurement/v1al"
-          + "pha1;procurementb\006proto3"
+          + "ZYcloud.google.com/go/commerce/consumer/"
+          + "procurement/apiv1alpha1/procurementpb;pr"
+          + "ocurementpbb\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/proto/google/cloud/commerce/consumer/procurement/v1alpha1/order.proto b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/proto/google/cloud/commerce/consumer/procurement/v1alpha1/order.proto
index 2e6a69a4b629..8f694d2140a7 100644
--- a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/proto/google/cloud/commerce/consumer/procurement/v1alpha1/order.proto
+++ b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/proto/google/cloud/commerce/consumer/procurement/v1alpha1/order.proto
@@ -20,7 +20,7 @@ import "google/api/field_behavior.proto";
 import "google/api/resource.proto";
 import "google/protobuf/timestamp.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/commerce/consumer/procurement/v1alpha1;procurement";
+option go_package = "cloud.google.com/go/commerce/consumer/procurement/apiv1alpha1/procurementpb;procurementpb";
 option java_multiple_files = true;
 option java_package = "com.google.cloud.commerce.consumer.procurement.v1alpha1";
 option (google.api.resource_definition) = {
diff --git a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/proto/google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/proto/google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto
index 0e4a071ab15f..6fae1e4c7cb5 100644
--- a/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/proto/google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto
+++ b/java-cloudcommerceconsumerprocurement/proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1/src/main/proto/google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto
@@ -23,7 +23,7 @@ import "google/api/resource.proto";
 import "google/cloud/commerce/consumer/procurement/v1alpha1/order.proto";
 import "google/longrunning/operations.proto";
 
-option go_package = "google.golang.org/genproto/googleapis/cloud/commerce/consumer/procurement/v1alpha1;procurement";
+option go_package = "cloud.google.com/go/commerce/consumer/procurement/apiv1alpha1/procurementpb;procurementpb";
 option java_multiple_files = true;
 option java_package = "com.google.cloud.commerce.consumer.procurement.v1alpha1";
 
diff --git a/java-compute/google-cloud-compute-bom/pom.xml b/java-compute/google-cloud-compute-bom/pom.xml
index 9f3c4a8c9518..db7029cb4f66 100644
--- a/java-compute/google-cloud-compute-bom/pom.xml
+++ b/java-compute/google-cloud-compute-bom/pom.xml
@@ -3,13 +3,13 @@
   4.0.0
   com.google.cloud
   google-cloud-compute-bom
-  1.19.0
+  1.20.0
   pom
 
   
     com.google.cloud
     google-cloud-pom-parent
-    1.3.0
+    1.4.0
     ../../google-cloud-pom-parent/pom.xml
   
 
@@ -23,12 +23,12 @@
       
         com.google.cloud
         google-cloud-compute
-        1.19.0
+        1.20.0
       
       
         com.google.api.grpc
         proto-google-cloud-compute-v1
-        1.19.0
+        1.20.0
       
     
   
diff --git a/java-compute/google-cloud-compute/pom.xml b/java-compute/google-cloud-compute/pom.xml
index 41e11dc7f777..097d10bd2d2a 100644
--- a/java-compute/google-cloud-compute/pom.xml
+++ b/java-compute/google-cloud-compute/pom.xml
@@ -3,7 +3,7 @@
   4.0.0
   com.google.cloud
   google-cloud-compute
-  1.19.0
+  1.20.0
   jar
   Google Compute Engine
   Compute Engine delivers configurable virtual machines running in
@@ -12,7 +12,7 @@
   
     com.google.cloud
     google-cloud-compute-parent
-    1.19.0
+    1.20.0
   
   
     google-cloud-compute
diff --git a/java-compute/pom.xml b/java-compute/pom.xml
index 2fd9fffc82ad..9e336fb14f76 100644
--- a/java-compute/pom.xml
+++ b/java-compute/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-compute-parent
   pom
-  1.19.0
+  1.20.0
   Google Compute Engine Parent
   
     Java idiomatic client for Google Cloud Platform services.
@@ -13,7 +13,7 @@
   
     com.google.cloud
     google-cloud-jar-parent
-    1.3.0
+    1.4.0
     ../google-cloud-jar-parent/pom.xml
   
 
@@ -29,12 +29,12 @@
       
         com.google.cloud
         google-cloud-compute
-        1.19.0
+        1.20.0
       
       
         com.google.api.grpc
         proto-google-cloud-compute-v1
-        1.19.0
+        1.20.0
       
     
   
diff --git a/java-compute/proto-google-cloud-compute-v1/pom.xml b/java-compute/proto-google-cloud-compute-v1/pom.xml
index 797931e54987..9a1437ae3eba 100644
--- a/java-compute/proto-google-cloud-compute-v1/pom.xml
+++ b/java-compute/proto-google-cloud-compute-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-compute-v1
-  1.19.0
+  1.20.0
   proto-google-cloud-compute-v1
   Proto library for google-cloud-compute
   
     com.google.cloud
     google-cloud-compute-parent
-    1.19.0
+    1.20.0
   
   
     
diff --git a/java-contact-center-insights/README.md b/java-contact-center-insights/README.md
index 57f9af47d0e8..9e96e7231dd6 100644
--- a/java-contact-center-insights/README.md
+++ b/java-contact-center-insights/README.md
@@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
 
   com.google.cloud
   google-cloud-contact-center-insights
-  2.8.0
+  2.9.0
 
 ```
 
 If you are using Gradle without BOM, add this to your dependencies:
 
 ```Groovy
-implementation 'com.google.cloud:google-cloud-contact-center-insights:2.8.0'
+implementation 'com.google.cloud:google-cloud-contact-center-insights:2.9.0'
 ```
 
 If you are using SBT, add this to your dependencies:
 
 ```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.8.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.9.0"
 ```
 
 ## Authentication
diff --git a/java-contact-center-insights/google-cloud-contact-center-insights-bom/pom.xml b/java-contact-center-insights/google-cloud-contact-center-insights-bom/pom.xml
index c15ea1f6f4dd..93217b300ed6 100644
--- a/java-contact-center-insights/google-cloud-contact-center-insights-bom/pom.xml
+++ b/java-contact-center-insights/google-cloud-contact-center-insights-bom/pom.xml
@@ -3,13 +3,13 @@
   4.0.0
   com.google.cloud
   google-cloud-contact-center-insights-bom
-  2.9.0
+  2.10.0
   pom
 
   
     com.google.cloud
     google-cloud-pom-parent
-    1.3.0
+    1.4.0
     ../../google-cloud-pom-parent/pom.xml
   
 
@@ -27,17 +27,17 @@
       
         com.google.cloud
         google-cloud-contact-center-insights
-        2.9.0
+        2.10.0
       
       
         com.google.api.grpc
         grpc-google-cloud-contact-center-insights-v1
-        2.9.0
+        2.10.0
       
       
         com.google.api.grpc
         proto-google-cloud-contact-center-insights-v1
-        2.9.0
+        2.10.0
       
     
   
diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/pom.xml b/java-contact-center-insights/google-cloud-contact-center-insights/pom.xml
index ba83bfddbc0e..671ffedaf095 100644
--- a/java-contact-center-insights/google-cloud-contact-center-insights/pom.xml
+++ b/java-contact-center-insights/google-cloud-contact-center-insights/pom.xml
@@ -3,14 +3,14 @@
   4.0.0
   com.google.cloud
   google-cloud-contact-center-insights
-  2.9.0
+  2.10.0
   jar
   Google CCAI Insights
   CCAI Insights  helps users detect and visualize patterns in their contact center data.
   
     com.google.cloud
     google-cloud-contact-center-insights-parent
-    2.9.0
+    2.10.0
   
   
     google-cloud-contact-center-insights
diff --git a/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/pom.xml b/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/pom.xml
index 17cca6a16d5b..3b6fada05224 100644
--- a/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/pom.xml
+++ b/java-contact-center-insights/grpc-google-cloud-contact-center-insights-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-contact-center-insights-v1
-  2.9.0
+  2.10.0
   grpc-google-cloud-contact-center-insights-v1
   GRPC library for google-cloud-contact-center-insights
   
     com.google.cloud
     google-cloud-contact-center-insights-parent
-    2.9.0
+    2.10.0
   
   
     
diff --git a/java-contact-center-insights/pom.xml b/java-contact-center-insights/pom.xml
index 7fc7224148ce..998e4cd8987b 100644
--- a/java-contact-center-insights/pom.xml
+++ b/java-contact-center-insights/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-contact-center-insights-parent
   pom
-  2.9.0
+  2.10.0
   Google CCAI Insights Parent
   
     Java idiomatic client for Google Cloud Platform services.
@@ -13,7 +13,7 @@
   
     com.google.cloud
     google-cloud-jar-parent
-    1.3.0
+    1.4.0
     ../google-cloud-jar-parent/pom.xml
   
 
@@ -29,17 +29,17 @@
       
         com.google.cloud
         google-cloud-contact-center-insights
-        2.9.0
+        2.10.0
       
       
         com.google.api.grpc
         grpc-google-cloud-contact-center-insights-v1
-        2.9.0
+        2.10.0
       
       
         com.google.api.grpc
         proto-google-cloud-contact-center-insights-v1
-        2.9.0
+        2.10.0
       
     
   
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/pom.xml b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/pom.xml
index e81d6c4a403a..c4a32021a401 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/pom.xml
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-contact-center-insights-v1
-  2.9.0
+  2.10.0
   proto-google-cloud-contact-center-insights-v1
   Proto library for google-cloud-contact-center-insights
   
     com.google.cloud
     google-cloud-contact-center-insights-parent
-    2.9.0
+    2.10.0
   
   
     
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java
index b20b79c305d5..7d70ff9fd824 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java
@@ -779,15 +779,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "\323\344\223\002+*)/v1/{name=projects/*/locations/*/"
           + "views/*}\332A\004name\032X\312A$contactcenterinsight"
           + "s.googleapis.com\322A.https://www.googleapi"
-          + "s.com/auth/cloud-platformB\240\002\n)com.google"
+          + "s.com/auth/cloud-platformB\245\002\n)com.google"
           + ".cloud.contactcenterinsights.v1B\032Contact"
-          + "CenterInsightsProtoP\001ZZgoogle.golang.org"
-          + "/genproto/googleapis/cloud/contactcenter"
-          + "insights/v1;contactcenterinsights\252\002%Goog"
-          + "le.Cloud.ContactCenterInsights.V1\312\002%Goog"
-          + "le\\Cloud\\ContactCenterInsights\\V1\352\002(Goog"
-          + "le::Cloud::ContactCenterInsights::V1b\006pr"
-          + "oto3"
+          + "CenterInsightsProtoP\001Z_cloud.google.com/"
+          + "go/contactcenterinsights/apiv1/contactce"
+          + "nterinsightspb;contactcenterinsightspb\252\002"
+          + "%Google.Cloud.ContactCenterInsights.V1\312\002"
+          + "%Google\\Cloud\\ContactCenterInsights\\V1\352\002"
+          + "(Google::Cloud::ContactCenterInsights::V"
+          + "1b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java
index 5cc5b8dff274..0531b0ab9a06 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java
@@ -634,20 +634,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
           + "tator\030\006 \001(\010\022\034\n\024run_intent_annotator\030\007 \001("
           + "\010\022!\n\031run_issue_model_annotator\030\010 \001(\010\022J\n\014"
           + "issue_models\030\n \003(\tB4\372A1\n/contactcenterin"
-          + "sights.googleapis.com/IssueModelB\354\003\n)com"
+          + "sights.googleapis.com/IssueModelB\361\003\n)com"
           + ".google.cloud.contactcenterinsights.v1B\016"
-          + "ResourcesProtoP\001ZZgoogle.golang.org/genp"
-          + "roto/googleapis/cloud/contactcenterinsig"
-          + "hts/v1;contactcenterinsights\252\002%Google.Cl"
-          + "oud.ContactCenterInsights.V1\312\002%Google\\Cl"
-          + "oud\\ContactCenterInsights\\V1\352\002(Google::C"
-          + "loud::ContactCenterInsights::V1\352A\324\001\n%dia"
-          + "logflow.googleapis.com/Participant\022Jproj"
-          + "ects/{project}/conversations/{conversati"
-          + "on}/participants/{participant}\022_projects"
-          + "/{project}/locations/{location}/conversa"
-          + "tions/{conversation}/participants/{parti"
-          + "cipant}b\006proto3"
+          + "ResourcesProtoP\001Z_cloud.google.com/go/co"
+          + "ntactcenterinsights/apiv1/contactcenteri"
+          + "nsightspb;contactcenterinsightspb\252\002%Goog"
+          + "le.Cloud.ContactCenterInsights.V1\312\002%Goog"
+          + "le\\Cloud\\ContactCenterInsights\\V1\352\002(Goog"
+          + "le::Cloud::ContactCenterInsights::V1\352A\324\001"
+          + "\n%dialogflow.googleapis.com/Participant\022"
+          + "Jprojects/{project}/conversations/{conve"
+          + "rsation}/participants/{participant}\022_pro"
+          + "jects/{project}/locations/{location}/con"
+          + "versations/{conversation}/participants/{"
+          + "participant}b\006proto3"
     };
     descriptor =
         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto
index 1ecf43216832..273bd0d42f13 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto
@@ -29,7 +29,7 @@ import "google/protobuf/timestamp.proto";
 import "google/rpc/status.proto";
 
 option csharp_namespace = "Google.Cloud.ContactCenterInsights.V1";
-option go_package = "google.golang.org/genproto/googleapis/cloud/contactcenterinsights/v1;contactcenterinsights";
+option go_package = "cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb;contactcenterinsightspb";
 option java_multiple_files = true;
 option java_outer_classname = "ContactCenterInsightsProto";
 option java_package = "com.google.cloud.contactcenterinsights.v1";
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto
index 715eff61177b..a78ce3f81903 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto
@@ -22,7 +22,7 @@ import "google/protobuf/duration.proto";
 import "google/protobuf/timestamp.proto";
 
 option csharp_namespace = "Google.Cloud.ContactCenterInsights.V1";
-option go_package = "google.golang.org/genproto/googleapis/cloud/contactcenterinsights/v1;contactcenterinsights";
+option go_package = "cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb;contactcenterinsightspb";
 option java_multiple_files = true;
 option java_outer_classname = "ResourcesProto";
 option java_package = "com.google.cloud.contactcenterinsights.v1";
diff --git a/java-container/README.md b/java-container/README.md
index 47eee3f91df2..eb57294f231d 100644
--- a/java-container/README.md
+++ b/java-container/README.md
@@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
 
   com.google.cloud
   google-cloud-container
-  2.11.0
+  2.12.0
 
 ```
 
 If you are using Gradle without BOM, add this to your dependencies:
 
 ```Groovy
-implementation 'com.google.cloud:google-cloud-container:2.11.0'
+implementation 'com.google.cloud:google-cloud-container:2.12.0'
 ```
 
 If you are using SBT, add this to your dependencies:
 
 ```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.11.0"
+libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.12.0"
 ```
 
 ## Authentication
diff --git a/java-container/google-cloud-container-bom/pom.xml b/java-container/google-cloud-container-bom/pom.xml
index c823a7e5e8a6..3e83ccf7465e 100644
--- a/java-container/google-cloud-container-bom/pom.xml
+++ b/java-container/google-cloud-container-bom/pom.xml
@@ -3,13 +3,13 @@
   4.0.0
   com.google.cloud
   google-cloud-container-bom
-  2.12.0
+  2.13.0
   pom
 
   
     com.google.cloud
     google-cloud-pom-parent
-    1.3.0
+    1.4.0
     ../../google-cloud-pom-parent/pom.xml
   
 
@@ -23,27 +23,27 @@
       
         com.google.cloud
         google-cloud-container
-        2.12.0
+        2.13.0
       
       
         com.google.api.grpc
         grpc-google-cloud-container-v1
-        2.12.0
+        2.13.0
       
       
         com.google.api.grpc
         grpc-google-cloud-container-v1beta1
-        2.12.0
+        2.13.0
       
       
         com.google.api.grpc
         proto-google-cloud-container-v1
-        2.12.0
+        2.13.0
       
       
         com.google.api.grpc
         proto-google-cloud-container-v1beta1
-        2.12.0
+        2.13.0
       
     
   
diff --git a/java-container/google-cloud-container/pom.xml b/java-container/google-cloud-container/pom.xml
index 4b0aa5d737a4..8512e1200fdc 100644
--- a/java-container/google-cloud-container/pom.xml
+++ b/java-container/google-cloud-container/pom.xml
@@ -3,14 +3,14 @@
   4.0.0
   com.google.cloud
   google-cloud-container
-  2.12.0
+  2.13.0
   jar
   Google Cloud Container
   Java idiomatic client for Google Cloud Container
   
     com.google.cloud
     google-cloud-container-parent
-    2.12.0
+    2.13.0
   
   
     google-cloud-container
diff --git a/java-container/grpc-google-cloud-container-v1/pom.xml b/java-container/grpc-google-cloud-container-v1/pom.xml
index b4fef468d7c4..6ca2739c7cd1 100644
--- a/java-container/grpc-google-cloud-container-v1/pom.xml
+++ b/java-container/grpc-google-cloud-container-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-container-v1
-  2.12.0
+  2.13.0
   grpc-google-cloud-container-v1
   GRPC library for grpc-google-cloud-container-v1
   
     com.google.cloud
     google-cloud-container-parent
-    2.12.0
+    2.13.0
   
   
     
diff --git a/java-container/grpc-google-cloud-container-v1beta1/pom.xml b/java-container/grpc-google-cloud-container-v1beta1/pom.xml
index bdccd2bf1f5e..0adf42cd87ec 100644
--- a/java-container/grpc-google-cloud-container-v1beta1/pom.xml
+++ b/java-container/grpc-google-cloud-container-v1beta1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   grpc-google-cloud-container-v1beta1
-  2.12.0
+  2.13.0
   grpc-google-cloud-container-v1beta1
   GRPC library for google-cloud-container
   
     com.google.cloud
     google-cloud-container-parent
-    2.12.0
+    2.13.0
   
   
     
diff --git a/java-container/pom.xml b/java-container/pom.xml
index 0ab8de8b4280..81e14936af51 100644
--- a/java-container/pom.xml
+++ b/java-container/pom.xml
@@ -4,7 +4,7 @@
   com.google.cloud
   google-cloud-container-parent
   pom
-  2.12.0
+  2.13.0
   Google Cloud Container Parent
   
     Java idiomatic client for Google Cloud Platform services.
@@ -13,7 +13,7 @@
   
     com.google.cloud
     google-cloud-jar-parent
-    1.3.0
+    1.4.0
     ../google-cloud-jar-parent/pom.xml
   
 
@@ -29,27 +29,27 @@
       
         com.google.api.grpc
         proto-google-cloud-container-v1
-        2.12.0
+        2.13.0
       
       
         com.google.api.grpc
         proto-google-cloud-container-v1beta1
-        2.12.0
+        2.13.0
       
       
         com.google.api.grpc
         grpc-google-cloud-container-v1beta1
-        2.12.0
+        2.13.0
       
       
         com.google.api.grpc
         grpc-google-cloud-container-v1
-        2.12.0
+        2.13.0
       
       
         com.google.cloud
         google-cloud-container
-        2.12.0
+        2.13.0
       
     
   
diff --git a/java-container/proto-google-cloud-container-v1/pom.xml b/java-container/proto-google-cloud-container-v1/pom.xml
index 05700968d226..7d1b53f220c7 100644
--- a/java-container/proto-google-cloud-container-v1/pom.xml
+++ b/java-container/proto-google-cloud-container-v1/pom.xml
@@ -4,13 +4,13 @@
   4.0.0
   com.google.api.grpc
   proto-google-cloud-container-v1
-  2.12.0
+  2.13.0
   proto-google-cloud-container-v1
   PROTO library for proto-google-cloud-container-v1
   
     com.google.cloud
     google-cloud-container-parent
-    2.12.0
+    2.13.0
   
   
     
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java
index 70e12ac1b090..5ceedb569ef1 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java
@@ -193,7 +193,7 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal
    * 
    *
    * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
-   *     google/container/v1/cluster_service.proto;l=1092
+   *     google/container/v1/cluster_service.proto;l=1094
    * @return Whether the kubernetesDashboard field is set.
    */
   @java.lang.Override
@@ -216,7 +216,7 @@ public boolean hasKubernetesDashboard() {
    * 
    *
    * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
-   *     google/container/v1/cluster_service.proto;l=1092
+   *     google/container/v1/cluster_service.proto;l=1094
    * @return The kubernetesDashboard.
    */
   @java.lang.Override
@@ -1717,7 +1717,7 @@ public Builder clearHorizontalPodAutoscaling() {
      * 
      *
      * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
-     *     google/container/v1/cluster_service.proto;l=1092
+     *     google/container/v1/cluster_service.proto;l=1094
      * @return Whether the kubernetesDashboard field is set.
      */
     @java.lang.Deprecated
@@ -1739,7 +1739,7 @@ public boolean hasKubernetesDashboard() {
      * 
      *
      * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
-     *     google/container/v1/cluster_service.proto;l=1092
+     *     google/container/v1/cluster_service.proto;l=1094
      * @return The kubernetesDashboard.
      */
     @java.lang.Deprecated
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java
index 376d5cf6f7bd..f0aa6d9a80a9 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java
@@ -117,7 +117,7 @@ public interface AddonsConfigOrBuilder
    * 
    *
    * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
-   *     google/container/v1/cluster_service.proto;l=1092
+   *     google/container/v1/cluster_service.proto;l=1094
    * @return Whether the kubernetesDashboard field is set.
    */
   @java.lang.Deprecated
@@ -137,7 +137,7 @@ public interface AddonsConfigOrBuilder
    * 
    *
    * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
-   *     google/container/v1/cluster_service.proto;l=1092
+   *     google/container/v1/cluster_service.proto;l=1094
    * @return The kubernetesDashboard.
    */
   @java.lang.Deprecated
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java
index cd566be70f4f..6a59490d500d 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java
@@ -304,8 +304,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
    * information, read [how to specify min CPU
    * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
    * This field is deprecated, min_cpu_platform should be specified using
-   * https://cloud.google.com/requested-min-cpu-platform label selector on the
-   * pod.
+   * `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
    * To unset the min cpu platform field pass "automatic"
    * as field value.
    * 
@@ -313,7 +312,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3509 * @return The minCpuPlatform. */ @java.lang.Override @@ -341,8 +340,7 @@ public java.lang.String getMinCpuPlatform() { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -350,7 +348,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3509 * @return The bytes for minCpuPlatform. */ @java.lang.Override @@ -562,7 +560,9 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -585,7 +585,9 @@ public java.lang.String getImageType() { * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -1866,8 +1868,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -1875,7 +1876,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3509 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -1902,8 +1903,7 @@ public java.lang.String getMinCpuPlatform() { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -1911,7 +1911,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3509 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -1938,8 +1938,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -1947,7 +1946,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3509 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ @@ -1973,8 +1972,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -1982,7 +1980,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3509 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2004,8 +2002,7 @@ public Builder clearMinCpuPlatform() { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -2013,7 +2010,7 @@ public Builder clearMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3509 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ @@ -2528,7 +2525,9 @@ public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2550,7 +2549,9 @@ public java.lang.String getImageType() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2572,7 +2573,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2593,7 +2596,9 @@ public Builder setImageType(java.lang.String value) { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2610,7 +2615,9 @@ public Builder clearImageType() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java index d16f8fcf64b5..3cf77337933f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -181,8 +181,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -190,7 +189,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3509 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -207,8 +206,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -216,7 +214,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1/cluster_service.proto;l=3504 + * deprecated. See google/container/v1/cluster_service.proto;l=3509 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -340,7 +338,9 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -352,7 +352,9 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java index 59b12745c0d1..0de3663829e0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java @@ -242,7 +242,7 @@ private EvaluationMode(int value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @return The enabled. */ @java.lang.Override @@ -668,7 +668,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @return The enabled. */ @java.lang.Override @@ -688,7 +688,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @param value The enabled to set. * @return This builder for chaining. */ @@ -712,7 +712,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java index 6da0abc5e2fd..f0ea6cede91d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java @@ -35,7 +35,7 @@ public interface BinaryAuthorizationOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1327 + * google/container/v1/cluster_service.proto;l=1329 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java index 148d4abca8ac..4a91bfd1e482 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The operationId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The bytes for operationId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The operationId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java index 7c211f9adbf6..265d05be1ac2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface CancelOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2710 + * google/container/v1/cluster_service.proto;l=2714 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2716 + * google/container/v1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The operationId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface CancelOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2720 + * google/container/v1/cluster_service.proto;l=2724 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index 7633570a7fdb..c1d99b314456 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java @@ -491,7 +491,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @return The initialNodeCount. */ @java.lang.Override @@ -521,7 +521,7 @@ public int getInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -548,7 +548,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return The nodeConfig. */ @java.lang.Override @@ -2555,7 +2555,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The zone. */ @java.lang.Override @@ -2583,7 +2583,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The bytes for zone. */ @java.lang.Override @@ -2799,7 +2799,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The currentNodeVersion. */ @java.lang.Override @@ -2829,7 +2829,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -2950,7 +2950,7 @@ public com.google.container.v1.Cluster.Status getStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The statusMessage. */ @java.lang.Override @@ -2978,7 +2978,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3089,7 +3089,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3106,7 +3106,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3123,7 +3123,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3141,7 +3141,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3163,7 +3163,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @return The currentNodeCount. */ @java.lang.Override @@ -6367,7 +6367,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @return The initialNodeCount. */ @java.lang.Override @@ -6393,7 +6393,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -6423,7 +6423,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @return This builder for chaining. */ @java.lang.Deprecated @@ -6459,7 +6459,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -6485,7 +6485,7 @@ public boolean hasNodeConfig() { * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return The nodeConfig. */ @java.lang.Deprecated @@ -13015,7 +13015,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The zone. */ @java.lang.Deprecated @@ -13042,7 +13042,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The bytes for zone. */ @java.lang.Deprecated @@ -13069,7 +13069,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @param value The zone to set. * @return This builder for chaining. */ @@ -13095,7 +13095,7 @@ public Builder setZone(java.lang.String value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13117,7 +13117,7 @@ public Builder clearZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -13536,7 +13536,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -13565,7 +13565,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -13594,7 +13594,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -13622,7 +13622,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13646,7 +13646,7 @@ public Builder clearCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -13876,7 +13876,7 @@ public Builder clearStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The statusMessage. */ @java.lang.Deprecated @@ -13903,7 +13903,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -13930,7 +13930,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -13956,7 +13956,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return This builder for chaining. */ @java.lang.Deprecated @@ -13978,7 +13978,7 @@ public Builder clearStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -14201,7 +14201,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -14218,7 +14218,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -14235,7 +14235,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -14253,7 +14253,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -14271,7 +14271,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -14296,7 +14296,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -14320,7 +14320,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -14341,7 +14341,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14361,7 +14361,7 @@ public Builder clearInstanceGroupUrls() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -14389,7 +14389,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @return The currentNodeCount. */ @java.lang.Override @@ -14408,7 +14408,7 @@ public int getCurrentNodeCount() { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -14431,7 +14431,7 @@ public Builder setCurrentNodeCount(int value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java index a5fc53c35577..0be39f303846 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java @@ -101,7 +101,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1521 + * google/container/v1/cluster_service.proto;l=1523 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -150,7 +150,7 @@ public interface ClusterOrBuilder * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1.Cluster.node_config is deprecated. See - * google/container/v1/cluster_service.proto;l=1534 + * google/container/v1/cluster_service.proto;l=1536 * @return The nodeConfig. */ @java.lang.Deprecated @@ -1515,7 +1515,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The zone. */ @java.lang.Deprecated @@ -1532,7 +1532,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1700 + * google/container/v1/cluster_service.proto;l=1702 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1655,7 +1655,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -1674,7 +1674,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See - * google/container/v1/cluster_service.proto;l=1733 + * google/container/v1/cluster_service.proto;l=1735 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -1744,7 +1744,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The statusMessage. */ @java.lang.Deprecated @@ -1761,7 +1761,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1.Cluster.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=1745 + * google/container/v1/cluster_service.proto;l=1747 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -1826,7 +1826,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -1841,7 +1841,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -1856,7 +1856,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -1872,7 +1872,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See - * google/container/v1/cluster_service.proto;l=1761 + * google/container/v1/cluster_service.proto;l=1763 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -1890,7 +1890,7 @@ java.lang.String getResourceLabelsOrDefault( * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See - * google/container/v1/cluster_service.proto;l=1765 + * google/container/v1/cluster_service.proto;l=1767 * @return The currentNodeCount. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java index be1e893d2732..639faab31fc8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3693 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3693 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3699 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3699 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3703 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3703 * @return The bytes for clusterId. */ @java.lang.Override @@ -733,7 +733,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3693 * @return The projectId. */ @java.lang.Deprecated @@ -760,7 +760,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3693 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -787,7 +787,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3693 * @param value The projectId to set. * @return This builder for chaining. */ @@ -813,7 +813,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3693 * @return This builder for chaining. */ @java.lang.Deprecated @@ -835,7 +835,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3693 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -865,7 +865,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3699 * @return The zone. */ @java.lang.Deprecated @@ -893,7 +893,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3699 * @return The bytes for zone. */ @java.lang.Deprecated @@ -921,7 +921,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3699 * @param value The zone to set. * @return This builder for chaining. */ @@ -948,7 +948,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3699 * @return This builder for chaining. */ @java.lang.Deprecated @@ -971,7 +971,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3699 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -999,7 +999,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3703 * @return The clusterId. */ @java.lang.Deprecated @@ -1025,7 +1025,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3703 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1051,7 +1051,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3703 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1076,7 +1076,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3703 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1097,7 +1097,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3703 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java index 98bc0830294e..55545777ad50 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3693 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface CompleteIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3686 + * google/container/v1/cluster_service.proto;l=3693 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3699 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3692 + * google/container/v1/cluster_service.proto;l=3699 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3703 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface CompleteIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3696 + * google/container/v1/cluster_service.proto;l=3703 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java index 70a613b89d80..1ea7e06d20f4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The bytes for zone. */ @java.lang.Override @@ -731,7 +731,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The projectId. */ @java.lang.Deprecated @@ -758,7 +758,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -785,7 +785,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @param value The projectId to set. * @return This builder for chaining. */ @@ -811,7 +811,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return This builder for chaining. */ @java.lang.Deprecated @@ -833,7 +833,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -863,7 +863,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The zone. */ @java.lang.Deprecated @@ -891,7 +891,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The bytes for zone. */ @java.lang.Deprecated @@ -919,7 +919,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @param value The zone to set. * @return This builder for chaining. */ @@ -946,7 +946,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return This builder for chaining. */ @java.lang.Deprecated @@ -969,7 +969,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java index 576798f30bcf..a7c4dd00d470 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface CreateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2203 + * google/container/v1/cluster_service.proto;l=2205 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2209 + * google/container/v1/cluster_service.proto;l=2211 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java index 1fb69498e5b4..147add9b9bb8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The bytes for clusterId. */ @java.lang.Override @@ -814,7 +814,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The projectId. */ @java.lang.Deprecated @@ -841,7 +841,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -868,7 +868,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @param value The projectId to set. * @return This builder for chaining. */ @@ -894,7 +894,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return This builder for chaining. */ @java.lang.Deprecated @@ -916,7 +916,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -946,7 +946,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The zone. */ @java.lang.Deprecated @@ -974,7 +974,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1002,7 +1002,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @param value The zone to set. * @return This builder for chaining. */ @@ -1029,7 +1029,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1052,7 +1052,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1080,7 +1080,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The clusterId. */ @java.lang.Deprecated @@ -1106,7 +1106,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1132,7 +1132,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1157,7 +1157,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1178,7 +1178,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java index 33724baa15df..6cf274af396e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface CreateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2793 + * google/container/v1/cluster_service.proto;l=2797 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2799 + * google/container/v1/cluster_service.proto;l=2803 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface CreateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2803 + * google/container/v1/cluster_service.proto;l=2807 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java index 748977f06d54..0bbaa07675a0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The bytes for clusterId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The clusterId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java index 1db26e0e2429..bd7a82e5a0a9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface DeleteClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2617 + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2623 + * google/container/v1/cluster_service.proto;l=2627 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface DeleteClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2627 + * google/container/v1/cluster_service.proto;l=2631 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java index 03af19419197..34bc338aaa53 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The bytes for clusterId. */ @java.lang.Override @@ -269,7 +269,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The nodePoolId. */ @java.lang.Override @@ -296,7 +296,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -818,7 +818,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The projectId. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -872,7 +872,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @param value The projectId to set. * @return This builder for chaining. */ @@ -898,7 +898,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return This builder for chaining. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -950,7 +950,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The zone. */ @java.lang.Deprecated @@ -978,7 +978,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1006,7 +1006,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @param value The zone to set. * @return This builder for chaining. */ @@ -1033,7 +1033,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1056,7 +1056,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1084,7 +1084,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The clusterId. */ @java.lang.Deprecated @@ -1110,7 +1110,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1136,7 +1136,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1161,7 +1161,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1182,7 +1182,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1210,7 +1210,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1236,7 +1236,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1287,7 +1287,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1308,7 +1308,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java index 9b56bcab6cae..9f6dfd17481a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface DeleteNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2819 + * google/container/v1/cluster_service.proto;l=2823 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2825 + * google/container/v1/cluster_service.proto;l=2829 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface DeleteNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2829 + * google/container/v1/cluster_service.proto;l=2833 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface DeleteNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2833 + * google/container/v1/cluster_service.proto;l=2837 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java index bb8b6fc19220..44c871969470 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The bytes for clusterId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The clusterId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java index 1dfea127af19..81f75a38485d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface GetClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2225 + * google/container/v1/cluster_service.proto;l=2227 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2231 + * google/container/v1/cluster_service.proto;l=2233 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface GetClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2235 + * google/container/v1/cluster_service.proto;l=2237 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java index 50d0b047b218..0adb8228ee53 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The bytes for clusterId. */ @java.lang.Override @@ -269,7 +269,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The nodePoolId. */ @java.lang.Override @@ -296,7 +296,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -818,7 +818,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The projectId. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -872,7 +872,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @param value The projectId to set. * @return This builder for chaining. */ @@ -898,7 +898,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return This builder for chaining. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -950,7 +950,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The zone. */ @java.lang.Deprecated @@ -978,7 +978,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1006,7 +1006,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @param value The zone to set. * @return This builder for chaining. */ @@ -1033,7 +1033,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1056,7 +1056,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1084,7 +1084,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The clusterId. */ @java.lang.Deprecated @@ -1110,7 +1110,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1136,7 +1136,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1161,7 +1161,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1182,7 +1182,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1210,7 +1210,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1236,7 +1236,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1262,7 +1262,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1287,7 +1287,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1308,7 +1308,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java index d72f59fe2411..4939bb99932a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface GetNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2868 + * google/container/v1/cluster_service.proto;l=2872 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2874 + * google/container/v1/cluster_service.proto;l=2878 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface GetNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2878 + * google/container/v1/cluster_service.proto;l=2882 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface GetNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2882 + * google/container/v1/cluster_service.proto;l=2886 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java index b9692f096e86..0e773d430d77 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The operationId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The bytes for operationId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The operationId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setOperationId(java.lang.String value) { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearOperationId() { * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java index 14adc2875e3c..014c6aabf1ec 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface GetOperationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2669 + * google/container/v1/cluster_service.proto;l=2673 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2675 + * google/container/v1/cluster_service.proto;l=2679 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The operationId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface GetOperationRequestOrBuilder * string operation_id = 3 [deprecated = true]; * * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2679 + * google/container/v1/cluster_service.proto;l=2683 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java index 966809f8368a..a372427a0529 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The bytes for zone. */ @java.lang.Override @@ -648,7 +648,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The projectId. */ @java.lang.Deprecated @@ -675,7 +675,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -702,7 +702,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @param value The projectId to set. * @return This builder for chaining. */ @@ -728,7 +728,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return This builder for chaining. */ @java.lang.Deprecated @@ -750,7 +750,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -780,7 +780,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The zone. */ @java.lang.Deprecated @@ -808,7 +808,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The bytes for zone. */ @java.lang.Deprecated @@ -836,7 +836,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @param value The zone to set. * @return This builder for chaining. */ @@ -863,7 +863,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return This builder for chaining. */ @java.lang.Deprecated @@ -886,7 +886,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java index 8707a3b5abad..943d0b4416a3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface GetServerConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2742 + * google/container/v1/cluster_service.proto;l=2746 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2748 + * google/container/v1/cluster_service.proto;l=2752 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java index 2a6b5bbdef5f..0c8db7edd2d0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java @@ -189,7 +189,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -215,7 +215,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -246,7 +246,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -272,7 +272,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -303,7 +303,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -329,7 +329,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -1910,7 +1910,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -1935,7 +1935,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -1960,7 +1960,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -1984,7 +1984,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2004,7 +2004,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2031,7 +2031,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2056,7 +2056,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2081,7 +2081,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2105,7 +2105,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2125,7 +2125,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2152,7 +2152,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2177,7 +2177,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2202,7 +2202,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -2226,7 +2226,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2246,7 +2246,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java index 9905ebca6f9f..b6987cf27598 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java @@ -92,7 +92,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1353 + * google/container/v1/cluster_service.proto;l=1355 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -138,7 +138,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1356 + * google/container/v1/cluster_service.proto;l=1358 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -154,7 +154,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -169,7 +169,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1/cluster_service.proto;l=1359 + * google/container/v1/cluster_service.proto;l=1361 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java index e80c138797aa..2f954bd3dd48 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The bytes for zone. */ @java.lang.Override @@ -650,7 +650,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Deprecated @@ -677,7 +677,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -704,7 +704,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @param value The projectId to set. * @return This builder for chaining. */ @@ -730,7 +730,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return This builder for chaining. */ @java.lang.Deprecated @@ -752,7 +752,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -782,7 +782,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The zone. */ @java.lang.Deprecated @@ -810,7 +810,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The bytes for zone. */ @java.lang.Deprecated @@ -838,7 +838,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @param value The zone to set. * @return This builder for chaining. */ @@ -865,7 +865,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return This builder for chaining. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java index 4454a1f6ff65..e10f87b1511c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface ListClustersRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2639 + * google/container/v1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2645 + * google/container/v1/cluster_service.proto;l=2649 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java index b39e60a04e2a..7f1f80d1278b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The bytes for clusterId. */ @java.lang.Override @@ -732,7 +732,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The projectId. */ @java.lang.Deprecated @@ -759,7 +759,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -786,7 +786,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @param value The projectId to set. * @return This builder for chaining. */ @@ -812,7 +812,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return This builder for chaining. */ @java.lang.Deprecated @@ -834,7 +834,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -864,7 +864,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The zone. */ @java.lang.Deprecated @@ -892,7 +892,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The bytes for zone. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @param value The zone to set. * @return This builder for chaining. */ @@ -947,7 +947,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return This builder for chaining. */ @java.lang.Deprecated @@ -970,7 +970,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The clusterId. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java index 53a2ac5acc4f..b627f2163e26 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface ListNodePoolsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2846 + * google/container/v1/cluster_service.proto;l=2850 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2852 + * google/container/v1/cluster_service.proto;l=2856 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface ListNodePoolsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2856 + * google/container/v1/cluster_service.proto;l=2860 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java index b9117b465632..9091676eb003 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java @@ -85,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The projectId. */ @java.lang.Override @@ -113,7 +113,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The bytes for projectId. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The zone. */ @java.lang.Override @@ -176,7 +176,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The bytes for zone. */ @java.lang.Override @@ -650,7 +650,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The projectId. */ @java.lang.Deprecated @@ -677,7 +677,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -704,7 +704,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @param value The projectId to set. * @return This builder for chaining. */ @@ -730,7 +730,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return This builder for chaining. */ @java.lang.Deprecated @@ -752,7 +752,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -782,7 +782,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The zone. */ @java.lang.Deprecated @@ -810,7 +810,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The bytes for zone. */ @java.lang.Deprecated @@ -838,7 +838,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @param value The zone to set. * @return This builder for chaining. */ @@ -865,7 +865,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return This builder for chaining. */ @java.lang.Deprecated @@ -888,7 +888,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java index a880c32218f8..00da000e2592 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface ListOperationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2691 + * google/container/v1/cluster_service.proto;l=2695 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2697 + * google/container/v1/cluster_service.proto;l=2701 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java index 2dd97fcb86a3..1bfef77f33bf 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java @@ -93,7 +93,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The username. */ @java.lang.Override @@ -125,7 +125,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The bytes for username. */ @java.lang.Override @@ -163,7 +163,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The password. */ @java.lang.Override @@ -196,7 +196,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The bytes for password. */ @java.lang.Override @@ -918,7 +918,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The username. */ @java.lang.Deprecated @@ -949,7 +949,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The bytes for username. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @param value The username to set. * @return This builder for chaining. */ @@ -1010,7 +1010,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1070,7 +1070,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The password. */ @java.lang.Deprecated @@ -1102,7 +1102,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The bytes for password. */ @java.lang.Deprecated @@ -1134,7 +1134,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @param value The password to set. * @return This builder for chaining. */ @@ -1165,7 +1165,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1192,7 +1192,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java index 64708787816b..3ef9035bea95 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java @@ -39,7 +39,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The username. */ @java.lang.Deprecated @@ -60,7 +60,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=1038 + * google/container/v1/cluster_service.proto;l=1040 * @return The bytes for username. */ @java.lang.Deprecated @@ -83,7 +83,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The password. */ @java.lang.Deprecated @@ -105,7 +105,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1049 + * google/container/v1/cluster_service.proto;l=1051 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java index 3bf3f3df5894..107019733683 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java @@ -553,7 +553,9 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -577,7 +579,9 @@ public java.lang.String getImageType() { * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -4537,7 +4541,9 @@ public Builder putAllMetadata(java.util.Map * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4560,7 +4566,9 @@ public java.lang.String getImageType() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4583,7 +4591,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4605,7 +4615,9 @@ public Builder setImageType(java.lang.String value) { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4623,7 +4635,9 @@ public Builder clearImageType() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java index 267d8f2543c9..243c5c9eac60 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java @@ -389,7 +389,9 @@ java.lang.String getMetadataOrDefault( * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -402,7 +404,9 @@ java.lang.String getMetadataOrDefault( * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java index d02bc2e4ac27..feacc62dd8c4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java @@ -5493,7 +5493,9 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * * *
-   * The version of the Kubernetes of this node.
+   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+   * it defaults as described
+   * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
    * 
* * string version = 101; @@ -5516,7 +5518,9 @@ public java.lang.String getVersion() { * * *
-   * The version of the Kubernetes of this node.
+   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+   * it defaults as described
+   * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
    * 
* * string version = 101; @@ -5666,7 +5670,7 @@ public com.google.container.v1.NodePool.Status getStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3147 * @return The statusMessage. */ @java.lang.Override @@ -5694,7 +5698,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3147 * @return The bytes for statusMessage. */ @java.lang.Override @@ -7964,7 +7968,9 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -7986,7 +7992,9 @@ public java.lang.String getVersion() { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -8008,7 +8016,9 @@ public com.google.protobuf.ByteString getVersionBytes() { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -8029,7 +8039,9 @@ public Builder setVersion(java.lang.String value) { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -8046,7 +8058,9 @@ public Builder clearVersion() { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -8372,7 +8386,7 @@ public Builder clearStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3147 * @return The statusMessage. */ @java.lang.Deprecated @@ -8399,7 +8413,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3147 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -8426,7 +8440,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3147 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -8452,7 +8466,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3147 * @return This builder for chaining. */ @java.lang.Deprecated @@ -8474,7 +8488,7 @@ public Builder clearStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3147 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java index 830ad22ea1d7..0fea62bace2e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java @@ -245,7 +245,9 @@ public interface NodePoolOrBuilder * * *
-   * The version of the Kubernetes of this node.
+   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+   * it defaults as described
+   * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
    * 
* * string version = 101; @@ -257,7 +259,9 @@ public interface NodePoolOrBuilder * * *
-   * The version of the Kubernetes of this node.
+   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+   * it defaults as described
+   * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
    * 
* * string version = 101; @@ -370,7 +374,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3147 * @return The statusMessage. */ @java.lang.Deprecated @@ -387,7 +391,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1.NodePool.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=3141 + * google/container/v1/cluster_service.proto;l=3147 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java index 390a302c4ab3..b245e0ba6756 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java @@ -32,7 +32,8 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag * * *
-   * Default value.
+   * Default value if unset. GKE internally defaults the update strategy to
+   * SURGE for unspecified strategies.
    * 
* * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; @@ -66,7 +67,8 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag * * *
-   * Default value.
+   * Default value if unset. GKE internally defaults the update strategy to
+   * SURGE for unspecified strategies.
    * 
* * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java index 157d6fbb4f2a..054f1a165f63 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java @@ -813,7 +813,7 @@ public com.google.protobuf.ByteString getNameBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The zone. */ @java.lang.Override @@ -841,7 +841,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The bytes for zone. */ @java.lang.Override @@ -996,7 +996,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The statusMessage. */ @java.lang.Override @@ -1025,7 +1025,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2490,7 +2490,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The zone. */ @java.lang.Deprecated @@ -2517,7 +2517,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2544,7 +2544,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @param value The zone to set. * @return This builder for chaining. */ @@ -2570,7 +2570,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2592,7 +2592,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2908,7 +2908,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The statusMessage. */ @java.lang.Deprecated @@ -2936,7 +2936,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2964,7 +2964,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -2991,7 +2991,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3014,7 +3014,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java index b6a6a2e88136..8e27d3f346fc 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java @@ -60,7 +60,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The zone. */ @java.lang.Deprecated @@ -77,7 +77,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2106 + * google/container/v1/cluster_service.proto;l=2108 * @return The bytes for zone. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The statusMessage. */ @java.lang.Deprecated @@ -189,7 +189,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2119 + * google/container/v1/cluster_service.proto;l=2121 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java index 0784f78d3301..41462dfebabb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java @@ -90,7 +90,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3414 * @return The projectId. */ @java.lang.Override @@ -118,7 +118,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3414 * @return The bytes for projectId. */ @java.lang.Override @@ -152,7 +152,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3420 * @return The zone. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3420 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3424 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3424 * @return The bytes for clusterId. */ @java.lang.Override @@ -272,7 +272,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3422 + * google/container/v1/cluster_service.proto;l=3428 * @return The nodePoolId. */ @java.lang.Override @@ -299,7 +299,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3422 + * google/container/v1/cluster_service.proto;l=3428 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -866,7 +866,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3414 * @return The projectId. */ @java.lang.Deprecated @@ -893,7 +893,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3414 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -920,7 +920,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3414 * @param value The projectId to set. * @return This builder for chaining. */ @@ -946,7 +946,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3414 * @return This builder for chaining. */ @java.lang.Deprecated @@ -968,7 +968,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3414 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3420 * @return The zone. */ @java.lang.Deprecated @@ -1026,7 +1026,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3420 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1054,7 +1054,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3420 * @param value The zone to set. * @return This builder for chaining. */ @@ -1081,7 +1081,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3420 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1104,7 +1104,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3420 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1132,7 +1132,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3424 * @return The clusterId. */ @java.lang.Deprecated @@ -1158,7 +1158,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3424 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1184,7 +1184,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3424 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1209,7 +1209,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3424 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1230,7 +1230,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3424 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1258,7 +1258,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3428 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1284,7 +1284,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3428 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1310,7 +1310,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3428 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1335,7 +1335,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3428 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1356,7 +1356,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3422 + * See google/container/v1/cluster_service.proto;l=3428 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java index 50ca7b67097c..a1c91b6cca94 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3414 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3408 + * google/container/v1/cluster_service.proto;l=3414 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3420 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3414 + * google/container/v1/cluster_service.proto;l=3420 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3424 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3418 + * google/container/v1/cluster_service.proto;l=3424 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3422 + * google/container/v1/cluster_service.proto;l=3428 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3422 + * google/container/v1/cluster_service.proto;l=3428 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java index b05b9ce3e560..30f372c0e324 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The bytes for clusterId. */ @java.lang.Override @@ -823,7 +823,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The projectId. */ @java.lang.Deprecated @@ -850,7 +850,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -877,7 +877,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @param value The projectId to set. * @return This builder for chaining. */ @@ -903,7 +903,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return This builder for chaining. */ @java.lang.Deprecated @@ -925,7 +925,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -955,7 +955,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The zone. */ @java.lang.Deprecated @@ -983,7 +983,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1011,7 +1011,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @param value The zone to set. * @return This builder for chaining. */ @@ -1038,7 +1038,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1061,7 +1061,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The clusterId. */ @java.lang.Deprecated @@ -1115,7 +1115,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1141,7 +1141,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1166,7 +1166,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1187,7 +1187,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java index 401332d5713b..c1ebe55e0f3e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetAddonsConfigRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2480 + * google/container/v1/cluster_service.proto;l=2484 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2486 + * google/container/v1/cluster_service.proto;l=2490 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetAddonsConfigRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2490 + * google/container/v1/cluster_service.proto;l=2494 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java index 0380361419d2..bb89ed5c9c4d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java @@ -100,7 +100,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3607 * @return The projectId. */ @java.lang.Override @@ -128,7 +128,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3607 * @return The bytes for projectId. */ @java.lang.Override @@ -162,7 +162,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3613 * @return The zone. */ @java.lang.Override @@ -191,7 +191,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3613 * @return The bytes for zone. */ @java.lang.Override @@ -223,7 +223,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3617 * @return The clusterId. */ @java.lang.Override @@ -250,7 +250,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3617 * @return The bytes for clusterId. */ @java.lang.Override @@ -996,7 +996,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3607 * @return The projectId. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3607 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3607 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1076,7 +1076,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3607 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1098,7 +1098,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3607 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1128,7 +1128,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3613 * @return The zone. */ @java.lang.Deprecated @@ -1156,7 +1156,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3613 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1184,7 +1184,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3613 * @param value The zone to set. * @return This builder for chaining. */ @@ -1211,7 +1211,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3613 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1234,7 +1234,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3613 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1262,7 +1262,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3617 * @return The clusterId. */ @java.lang.Deprecated @@ -1288,7 +1288,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3617 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1314,7 +1314,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3617 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1339,7 +1339,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3617 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1360,7 +1360,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3617 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java index 9bec2bb7c223..10b6b426a738 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3607 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetLabelsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3600 + * google/container/v1/cluster_service.proto;l=3607 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3613 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3606 + * google/container/v1/cluster_service.proto;l=3613 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3617 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLabelsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * google/container/v1/cluster_service.proto;l=3617 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java index 4514d400222c..258ad95e0152 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3642 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3642 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3648 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3648 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3652 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3652 * @return The bytes for clusterId. */ @java.lang.Override @@ -774,7 +774,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3642 * @return The projectId. */ @java.lang.Deprecated @@ -801,7 +801,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3642 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -828,7 +828,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3642 * @param value The projectId to set. * @return This builder for chaining. */ @@ -854,7 +854,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3642 * @return This builder for chaining. */ @java.lang.Deprecated @@ -876,7 +876,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3642 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -906,7 +906,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3648 * @return The zone. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3648 * @return The bytes for zone. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3648 * @param value The zone to set. * @return This builder for chaining. */ @@ -989,7 +989,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3648 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1012,7 +1012,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3648 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3652 * @return The clusterId. */ @java.lang.Deprecated @@ -1066,7 +1066,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3652 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3652 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1117,7 +1117,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3652 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1138,7 +1138,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3652 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java index 2efdd19c52c1..334cfcb6b798 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3642 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetLegacyAbacRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3635 + * google/container/v1/cluster_service.proto;l=3642 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3648 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3641 + * google/container/v1/cluster_service.proto;l=3648 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3652 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLegacyAbacRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3645 + * google/container/v1/cluster_service.proto;l=3652 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java index de677a31eb67..f7b24d7fa531 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The bytes for clusterId. */ @java.lang.Override @@ -860,7 +860,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -914,7 +914,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @param value The projectId to set. * @return This builder for chaining. */ @@ -940,7 +940,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return This builder for chaining. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -992,7 +992,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The zone. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1048,7 +1048,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @param value The zone to set. * @return This builder for chaining. */ @@ -1075,7 +1075,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1098,7 +1098,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1126,7 +1126,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The clusterId. */ @java.lang.Deprecated @@ -1152,7 +1152,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1178,7 +1178,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1203,7 +1203,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1224,7 +1224,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java index 8682acd548de..8c4334d13e5e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetLocationsRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2506 + * google/container/v1/cluster_service.proto;l=2510 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2512 + * google/container/v1/cluster_service.proto;l=2516 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLocationsRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2516 + * google/container/v1/cluster_service.proto;l=2520 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java index e54f7d41b062..5834d0fb4bf0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The bytes for clusterId. */ @java.lang.Override @@ -825,7 +825,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The projectId. */ @java.lang.Deprecated @@ -852,7 +852,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -879,7 +879,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @param value The projectId to set. * @return This builder for chaining. */ @@ -905,7 +905,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return This builder for chaining. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The zone. */ @java.lang.Deprecated @@ -985,7 +985,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @param value The zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The clusterId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1143,7 +1143,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1168,7 +1168,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1189,7 +1189,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java index 2e873d3a9f15..384ef1125498 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetLoggingServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * google/container/v1/cluster_service.proto;l=2414 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2416 + * google/container/v1/cluster_service.proto;l=2420 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetLoggingServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2420 + * google/container/v1/cluster_service.proto;l=2424 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java index d3a1119833eb..ea7575ca6ab1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java @@ -272,7 +272,7 @@ private Action(int value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ @java.lang.Override @@ -300,7 +300,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ @java.lang.Override @@ -334,7 +334,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ @java.lang.Override @@ -363,7 +363,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ @java.lang.Override @@ -395,7 +395,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The clusterId. */ @java.lang.Override @@ -422,7 +422,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The bytes for clusterId. */ @java.lang.Override @@ -1061,7 +1061,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ @java.lang.Deprecated @@ -1088,7 +1088,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1115,7 +1115,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1141,7 +1141,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1163,7 +1163,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1193,7 +1193,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ @java.lang.Deprecated @@ -1221,7 +1221,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1249,7 +1249,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @param value The zone to set. * @return This builder for chaining. */ @@ -1276,7 +1276,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1299,7 +1299,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1327,7 +1327,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The clusterId. */ @java.lang.Deprecated @@ -1353,7 +1353,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1379,7 +1379,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1404,7 +1404,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1425,7 +1425,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java index 44f18cee3a6d..a1bcf1a1af6c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetMasterAuthRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2589 + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2595 + * google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetMasterAuthRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * google/container/v1/cluster_service.proto;l=2603 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java index 8bf1f4cc9a92..39eccd76aae3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The bytes for clusterId. */ @java.lang.Override @@ -825,7 +825,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The projectId. */ @java.lang.Deprecated @@ -852,7 +852,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -879,7 +879,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @param value The projectId to set. * @return This builder for chaining. */ @@ -905,7 +905,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return This builder for chaining. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The zone. */ @java.lang.Deprecated @@ -985,7 +985,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1013,7 +1013,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @param value The zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1091,7 +1091,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The clusterId. */ @java.lang.Deprecated @@ -1117,7 +1117,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1143,7 +1143,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1168,7 +1168,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1189,7 +1189,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java index 7819427ccc68..f5f3e54d2e11 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2445 + * google/container/v1/cluster_service.proto;l=2449 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2451 + * google/container/v1/cluster_service.proto;l=2455 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2455 + * google/container/v1/cluster_service.proto;l=2459 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java index b2b3ebd9c680..c518a1e13730 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3777 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3777 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3783 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3783 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The bytes for clusterId. */ @java.lang.Override @@ -821,7 +821,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3777 * @return The projectId. */ @java.lang.Deprecated @@ -848,7 +848,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3777 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -875,7 +875,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3777 * @param value The projectId to set. * @return This builder for chaining. */ @@ -901,7 +901,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3777 * @return This builder for chaining. */ @java.lang.Deprecated @@ -923,7 +923,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3777 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -953,7 +953,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3783 * @return The zone. */ @java.lang.Deprecated @@ -981,7 +981,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3783 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1009,7 +1009,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3783 * @param value The zone to set. * @return This builder for chaining. */ @@ -1036,7 +1036,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3783 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1059,7 +1059,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3783 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1087,7 +1087,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The clusterId. */ @java.lang.Deprecated @@ -1113,7 +1113,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1139,7 +1139,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1164,7 +1164,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1185,7 +1185,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java index db5055406c7e..aa783b16b362 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3777 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3770 + * google/container/v1/cluster_service.proto;l=3777 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3783 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3776 + * google/container/v1/cluster_service.proto;l=3783 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3780 + * google/container/v1/cluster_service.proto;l=3787 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java index 7271fe0115d2..9ba0380be02f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The bytes for clusterId. */ @java.lang.Override @@ -269,7 +269,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The nodePoolId. */ @java.lang.Override @@ -296,7 +296,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -908,7 +908,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The projectId. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @param value The projectId to set. * @return This builder for chaining. */ @@ -988,7 +988,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1010,7 +1010,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The zone. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @param value The zone to set. * @return This builder for chaining. */ @@ -1123,7 +1123,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1146,7 +1146,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1174,7 +1174,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The clusterId. */ @java.lang.Deprecated @@ -1200,7 +1200,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1226,7 +1226,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1251,7 +1251,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1272,7 +1272,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1300,7 +1300,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1326,7 +1326,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1352,7 +1352,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1377,7 +1377,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1398,7 +1398,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java index 785da6344545..35798d9e1b31 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2380 + * google/container/v1/cluster_service.proto;l=2384 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2386 + * google/container/v1/cluster_service.proto;l=2390 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2390 + * google/container/v1/cluster_service.proto;l=2394 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2394 + * google/container/v1/cluster_service.proto;l=2398 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java index c0f2fb648cff..579a9fc8a4f6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3343 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3343 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3349 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3349 * @return The bytes for zone. */ @java.lang.Override @@ -211,7 +211,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3353 * @return The clusterId. */ @java.lang.Override @@ -238,7 +238,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3353 * @return The bytes for clusterId. */ @java.lang.Override @@ -270,7 +270,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3357 * @return The nodePoolId. */ @java.lang.Override @@ -297,7 +297,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3357 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -908,7 +908,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3343 * @return The projectId. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3343 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3343 * @param value The projectId to set. * @return This builder for chaining. */ @@ -988,7 +988,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3343 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1010,7 +1010,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3343 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3349 * @return The zone. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3349 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3349 * @param value The zone to set. * @return This builder for chaining. */ @@ -1123,7 +1123,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3349 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1146,7 +1146,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3349 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1174,7 +1174,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3353 * @return The clusterId. */ @java.lang.Deprecated @@ -1200,7 +1200,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3353 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1226,7 +1226,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3353 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1251,7 +1251,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3353 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1272,7 +1272,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3353 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1300,7 +1300,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3357 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1326,7 +1326,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3357 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1352,7 +1352,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3357 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1377,7 +1377,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3357 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1398,7 +1398,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3357 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java index ed7af4723661..f319c0d455fd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3343 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * google/container/v1/cluster_service.proto;l=3343 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3349 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3343 + * google/container/v1/cluster_service.proto;l=3349 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3353 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3347 + * google/container/v1/cluster_service.proto;l=3353 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3357 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3351 + * google/container/v1/cluster_service.proto;l=3357 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java index ec9e9054862e..7c6aff432f7b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3373 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3373 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3379 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3379 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3383 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3383 * @return The bytes for clusterId. */ @java.lang.Override @@ -269,7 +269,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3387 * @return The nodePoolId. */ @java.lang.Override @@ -296,7 +296,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3387 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -858,7 +858,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3373 * @return The projectId. */ @java.lang.Deprecated @@ -885,7 +885,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3373 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -912,7 +912,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3373 * @param value The projectId to set. * @return This builder for chaining. */ @@ -938,7 +938,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3373 * @return This builder for chaining. */ @java.lang.Deprecated @@ -960,7 +960,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3373 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -990,7 +990,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3379 * @return The zone. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3379 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1046,7 +1046,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3379 * @param value The zone to set. * @return This builder for chaining. */ @@ -1073,7 +1073,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3379 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1096,7 +1096,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3379 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1124,7 +1124,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3383 * @return The clusterId. */ @java.lang.Deprecated @@ -1150,7 +1150,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3383 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1176,7 +1176,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3383 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1201,7 +1201,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3383 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1222,7 +1222,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3383 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1250,7 +1250,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3387 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1276,7 +1276,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3387 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1302,7 +1302,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3387 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1327,7 +1327,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3387 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1348,7 +1348,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3387 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java index ba840427e2b2..4492e1ee9bf0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3373 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3367 + * google/container/v1/cluster_service.proto;l=3373 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3379 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3373 + * google/container/v1/cluster_service.proto;l=3379 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3383 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3377 + * google/container/v1/cluster_service.proto;l=3383 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3387 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3381 + * google/container/v1/cluster_service.proto;l=3387 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java index efa302243dcd..de3cd578138c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3668 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3668 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3674 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3674 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3678 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3678 * @return The bytes for clusterId. */ @java.lang.Override @@ -774,7 +774,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3668 * @return The projectId. */ @java.lang.Deprecated @@ -801,7 +801,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3668 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -828,7 +828,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3668 * @param value The projectId to set. * @return This builder for chaining. */ @@ -854,7 +854,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3668 * @return This builder for chaining. */ @java.lang.Deprecated @@ -876,7 +876,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3668 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -906,7 +906,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3674 * @return The zone. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3674 * @return The bytes for zone. */ @java.lang.Deprecated @@ -962,7 +962,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3674 * @param value The zone to set. * @return This builder for chaining. */ @@ -989,7 +989,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3674 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1012,7 +1012,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3674 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1040,7 +1040,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3678 * @return The clusterId. */ @java.lang.Deprecated @@ -1066,7 +1066,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3678 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1092,7 +1092,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3678 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1117,7 +1117,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3678 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1138,7 +1138,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3678 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java index 602bf67af220..823c564c0594 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3668 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface StartIPRotationRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3661 + * google/container/v1/cluster_service.proto;l=3668 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3674 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3667 + * google/container/v1/cluster_service.proto;l=3674 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3678 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface StartIPRotationRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3671 + * google/container/v1/cluster_service.proto;l=3678 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java index b45f675120db..303a564bae74 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java @@ -334,7 +334,7 @@ private Code(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3854 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -353,7 +353,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3854 * @return The code. */ @java.lang.Override @@ -846,7 +846,7 @@ public Builder mergeFrom( * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3854 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -865,7 +865,7 @@ public int getCodeValue() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3854 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -887,7 +887,7 @@ public Builder setCodeValue(int value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3854 * @return The code. */ @java.lang.Override @@ -908,7 +908,7 @@ public com.google.container.v1.StatusCondition.Code getCode() { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3854 * @param value The code to set. * @return This builder for chaining. */ @@ -933,7 +933,7 @@ public Builder setCode(com.google.container.v1.StatusCondition.Code value) { * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3854 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java index fec3367b8816..59be0b950b4d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java @@ -34,7 +34,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3854 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface StatusConditionOrBuilder * .google.container.v1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1.StatusCondition.code is deprecated. See - * google/container/v1/cluster_service.proto;l=3847 + * google/container/v1/cluster_service.proto;l=3854 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java index 01b219a3efce..a37501b89830 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The projectId. */ @java.lang.Override @@ -114,7 +114,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The bytes for projectId. */ @java.lang.Override @@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The zone. */ @java.lang.Override @@ -177,7 +177,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The bytes for zone. */ @java.lang.Override @@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The clusterId. */ @java.lang.Override @@ -236,7 +236,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The bytes for clusterId. */ @java.lang.Override @@ -812,7 +812,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The projectId. */ @java.lang.Deprecated @@ -839,7 +839,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -866,7 +866,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @param value The projectId to set. * @return This builder for chaining. */ @@ -892,7 +892,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return This builder for chaining. */ @java.lang.Deprecated @@ -914,7 +914,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -944,7 +944,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The zone. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1000,7 +1000,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @param value The zone to set. * @return This builder for chaining. */ @@ -1027,7 +1027,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1050,7 +1050,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1078,7 +1078,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The clusterId. */ @java.lang.Deprecated @@ -1104,7 +1104,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1130,7 +1130,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1155,7 +1155,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1176,7 +1176,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java index 3cb18da277e8..63d279042245 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface UpdateClusterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2247 + * google/container/v1/cluster_service.proto;l=2249 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2253 + * google/container/v1/cluster_service.proto;l=2255 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface UpdateClusterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2257 + * google/container/v1/cluster_service.proto;l=2259 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java index 71f59212a486..27f966fbbc8f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ @java.lang.Override @@ -210,7 +210,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ @java.lang.Override @@ -237,7 +237,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ @java.lang.Override @@ -822,7 +822,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ @java.lang.Deprecated @@ -849,7 +849,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -876,7 +876,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @param value The projectId to set. * @return This builder for chaining. */ @@ -902,7 +902,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return This builder for chaining. */ @java.lang.Deprecated @@ -924,7 +924,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -954,7 +954,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ @java.lang.Deprecated @@ -982,7 +982,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1010,7 +1010,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @param value The zone to set. * @return This builder for chaining. */ @@ -1037,7 +1037,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1060,7 +1060,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1088,7 +1088,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ @java.lang.Deprecated @@ -1114,7 +1114,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1140,7 +1140,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1165,7 +1165,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1186,7 +1186,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java index 16983eeaceb5..713a926f3f02 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface UpdateMasterRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2537 + * google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2543 + * google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface UpdateMasterRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java index 6fb397b998dd..34dbf4639a59 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java @@ -91,7 +91,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The projectId. */ @java.lang.Override @@ -119,7 +119,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The bytes for projectId. */ @java.lang.Override @@ -153,7 +153,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The zone. */ @java.lang.Override @@ -182,7 +182,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The bytes for zone. */ @java.lang.Override @@ -214,7 +214,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The bytes for clusterId. */ @java.lang.Override @@ -273,7 +273,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The nodePoolId. */ @java.lang.Override @@ -300,7 +300,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -392,7 +392,9 @@ public com.google.protobuf.ByteString getNodeVersionBytes() { * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -415,7 +417,9 @@ public java.lang.String getImageType() { * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -2436,7 +2440,7 @@ public Builder mergeFrom( * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The projectId. */ @java.lang.Deprecated @@ -2463,7 +2467,7 @@ public java.lang.String getProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -2490,7 +2494,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @param value The projectId to set. * @return This builder for chaining. */ @@ -2516,7 +2520,7 @@ public Builder setProjectId(java.lang.String value) { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2538,7 +2542,7 @@ public Builder clearProjectId() { * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -2568,7 +2572,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The zone. */ @java.lang.Deprecated @@ -2596,7 +2600,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2624,7 +2628,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @param value The zone to set. * @return This builder for chaining. */ @@ -2651,7 +2655,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2674,7 +2678,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2702,7 +2706,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The clusterId. */ @java.lang.Deprecated @@ -2728,7 +2732,7 @@ public java.lang.String getClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -2754,7 +2758,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -2779,7 +2783,7 @@ public Builder setClusterId(java.lang.String value) { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2800,7 +2804,7 @@ public Builder clearClusterId() { * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -2828,7 +2832,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The nodePoolId. */ @java.lang.Deprecated @@ -2854,7 +2858,7 @@ public java.lang.String getNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -2880,7 +2884,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -2905,7 +2909,7 @@ public Builder setNodePoolId(java.lang.String value) { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2926,7 +2930,7 @@ public Builder clearNodePoolId() { * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ @@ -3093,7 +3097,9 @@ public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3115,7 +3121,9 @@ public java.lang.String getImageType() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3137,7 +3145,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3158,7 +3168,9 @@ public Builder setImageType(java.lang.String value) { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3175,7 +3187,9 @@ public Builder clearImageType() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java index 45322ee6836b..48506dc83931 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java @@ -35,7 +35,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The projectId. */ @java.lang.Deprecated @@ -52,7 +52,7 @@ public interface UpdateNodePoolRequestOrBuilder * string project_id = 1 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2272 + * google/container/v1/cluster_service.proto;l=2274 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -71,7 +71,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The zone. */ @java.lang.Deprecated @@ -89,7 +89,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2278 + * google/container/v1/cluster_service.proto;l=2280 * @return The bytes for zone. */ @java.lang.Deprecated @@ -106,7 +106,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The clusterId. */ @java.lang.Deprecated @@ -122,7 +122,7 @@ public interface UpdateNodePoolRequestOrBuilder * string cluster_id = 3 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2282 + * google/container/v1/cluster_service.proto;l=2284 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -139,7 +139,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The nodePoolId. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface UpdateNodePoolRequestOrBuilder * string node_pool_id = 4 [deprecated = true]; * * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2286 + * google/container/v1/cluster_service.proto;l=2288 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -206,7 +206,9 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -218,7 +220,9 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto index 0f410bab4e33..aa2f3f45f13b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto @@ -684,7 +684,9 @@ message NodeConfig { map metadata = 4; // The image type to use for this node. Note that for a given image type, - // the latest version of it will be used. + // the latest version of it will be used. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 5; // The map of Kubernetes labels (key/value pairs) to be applied to each node. @@ -2299,7 +2301,9 @@ message UpdateNodePoolRequest { // - "-": picks the Kubernetes master version string node_version = 5 [(google.api.field_behavior) = REQUIRED]; - // Required. The desired image type for the node pool. + // Required. The desired image type for the node pool. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 6 [(google.api.field_behavior) = REQUIRED]; // The name (project, location, cluster, node pool) of the node pool to @@ -3123,7 +3127,9 @@ message NodePool { // [Output only] Server-defined URL for the resource. string self_link = 100; - // The version of the Kubernetes of this node. + // The version of Kubernetes running on this NodePool's nodes. If unspecified, + // it defaults as described + // [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version). string version = 101; // [Output only] The resource URLs of the [managed instance @@ -3498,8 +3504,7 @@ message AutoprovisioningNodePoolDefaults { // information, read [how to specify min CPU // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). // This field is deprecated, min_cpu_platform should be specified using - // https://cloud.google.com/requested-min-cpu-platform label selector on the - // pod. + // `cloud.google.com/requested-min-cpu-platform` label selector on the pod. // To unset the min cpu platform field pass "automatic" // as field value. string min_cpu_platform = 5 [deprecated = true]; @@ -3527,7 +3532,9 @@ message AutoprovisioningNodePoolDefaults { // https://cloud.google.com/compute/docs/disks/customer-managed-encryption string boot_disk_kms_key = 9; - // The image type to use for NAP created node. + // The image type to use for NAP created node. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 10; } @@ -4596,7 +4603,8 @@ enum DatapathProvider { // Strategy used for node pool update. enum NodePoolUpdateStrategy { - // Default value. + // Default value if unset. GKE internally defaults the update strategy to + // SURGE for unspecified strategies. NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; // blue-green upgrade. diff --git a/java-container/proto-google-cloud-container-v1beta1/pom.xml b/java-container/proto-google-cloud-container-v1beta1/pom.xml index 6ad1290d0e27..eb51c5eb7d7b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/pom.xml +++ b/java-container/proto-google-cloud-container-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-container-v1beta1 - 2.12.0 + 2.13.0 proto-google-cloud-container-v1beta1 Proto library for google-cloud-container com.google.cloud google-cloud-container-parent - 2.12.0 + 2.13.0 diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java index 947367e11932..e09a9b26eaad 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java @@ -207,7 +207,7 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4082 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override @@ -1012,7 +1012,7 @@ public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4082 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override @@ -1030,7 +1030,7 @@ public long getMaxTimeSharedClientsPerGpu() { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4082 * @param value The maxTimeSharedClientsPerGpu to set. * @return This builder for chaining. */ @@ -1052,7 +1052,7 @@ public Builder setMaxTimeSharedClientsPerGpu(long value) { * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4082 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java index dedf36a8a116..79e1622829e2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java @@ -102,7 +102,7 @@ public interface AcceleratorConfigOrBuilder * int64 max_time_shared_clients_per_gpu = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=4075 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4082 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java index 63e2d8612a4b..6a1eb6863fe3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java @@ -194,7 +194,7 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAut * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override @@ -218,7 +218,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return The kubernetesDashboard. */ @java.lang.Override @@ -322,7 +322,7 @@ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig() * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return Whether the istioConfig field is set. */ @java.lang.Override @@ -341,7 +341,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return The istioConfig. */ @java.lang.Override @@ -601,7 +601,7 @@ public boolean hasGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return Whether the kalmConfig field is set. */ @java.lang.Override @@ -620,7 +620,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return The kalmConfig. */ @java.lang.Override @@ -1925,7 +1925,7 @@ public Builder clearHorizontalPodAutoscaling() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -1948,7 +1948,7 @@ public boolean hasKubernetesDashboard() { * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -2380,7 +2380,7 @@ public Builder clearNetworkPolicyConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -2398,7 +2398,7 @@ public boolean hasIstioConfig() { * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return The istioConfig. */ @java.lang.Deprecated @@ -3381,7 +3381,7 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -3399,7 +3399,7 @@ public boolean hasKalmConfig() { * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return The kalmConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java index f3576761f2f7..139fe74c9953 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java @@ -119,7 +119,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Deprecated @@ -140,7 +140,7 @@ public interface AddonsConfigOrBuilder * * * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1129 + * google/container/v1beta1/cluster_service.proto;l=1131 * @return The kubernetesDashboard. */ @java.lang.Deprecated @@ -215,7 +215,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return Whether the istioConfig field is set. */ @java.lang.Deprecated @@ -231,7 +231,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1138 + * google/container/v1beta1/cluster_service.proto;l=1140 * @return The istioConfig. */ @java.lang.Deprecated @@ -417,7 +417,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return Whether the kalmConfig field is set. */ @java.lang.Deprecated @@ -433,7 +433,7 @@ public interface AddonsConfigOrBuilder * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true]; * * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1157 + * google/container/v1beta1/cluster_service.proto;l=1159 * @return The kalmConfig. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java index 7aeb43b57568..09503ae5bdb0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java @@ -353,8 +353,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -362,7 +361,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3857 * @return The minCpuPlatform. */ @java.lang.Override @@ -390,8 +389,7 @@ public java.lang.String getMinCpuPlatform() { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -399,7 +397,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3857 * @return The bytes for minCpuPlatform. */ @java.lang.Override @@ -611,7 +609,9 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -634,7 +634,9 @@ public java.lang.String getImageType() { * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -2031,8 +2033,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -2040,7 +2041,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3857 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -2067,8 +2068,7 @@ public java.lang.String getMinCpuPlatform() { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -2076,7 +2076,7 @@ public java.lang.String getMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3857 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -2103,8 +2103,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -2112,7 +2111,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3857 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ @@ -2138,8 +2137,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -2147,7 +2145,7 @@ public Builder setMinCpuPlatform(java.lang.String value) { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3857 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2169,8 +2167,7 @@ public Builder clearMinCpuPlatform() { * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -2178,7 +2175,7 @@ public Builder clearMinCpuPlatform() { * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3857 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ @@ -2694,7 +2691,9 @@ public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2716,7 +2715,9 @@ public java.lang.String getImageType() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2738,7 +2739,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2759,7 +2762,9 @@ public Builder setImageType(java.lang.String value) { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; @@ -2776,7 +2781,9 @@ public Builder clearImageType() { * * *
-     * The image type to use for NAP created node.
+     * The image type to use for NAP created node. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 10; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java index ba4206e9072d..b092ea74ba06 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -229,8 +229,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -238,7 +237,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3857 * @return The minCpuPlatform. */ @java.lang.Deprecated @@ -255,8 +254,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * information, read [how to specify min CPU * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using - * https://cloud.google.com/requested-min-cpu-platform label selector on the - * pod. + * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. * To unset the min cpu platform field pass "automatic" * as field value. *
@@ -264,7 +262,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * string min_cpu_platform = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3852 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3857 * @return The bytes for minCpuPlatform. */ @java.lang.Deprecated @@ -388,7 +386,9 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; @@ -400,7 +400,9 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder * * *
-   * The image type to use for NAP created node.
+   * The image type to use for NAP created node. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 10; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java index db36392c3bef..3e55e067f6da 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java @@ -242,7 +242,7 @@ private EvaluationMode(int value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @return The enabled. */ @java.lang.Override @@ -671,7 +671,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @return The enabled. */ @java.lang.Override @@ -691,7 +691,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @param value The enabled to set. * @return This builder for chaining. */ @@ -715,7 +715,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java index d3806c809cbe..a5a66a4cd876 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java @@ -35,7 +35,7 @@ public interface BinaryAuthorizationOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1559 + * google/container/v1beta1/cluster_service.proto;l=1561 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java index c39711388287..8fcab4c3a8da 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The operationId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The bytes for operationId. */ @java.lang.Override @@ -738,7 +738,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ @java.lang.Deprecated @@ -766,7 +766,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -794,7 +794,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @param value The projectId to set. * @return This builder for chaining. */ @@ -821,7 +821,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return This builder for chaining. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The operationId. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setOperationId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1111,7 +1111,7 @@ public Builder clearOperationId() { * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java index 31cd024e9d44..2d47b5d9d155 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2990 + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CancelOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2997 + * google/container/v1beta1/cluster_service.proto;l=3001 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CancelOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3001 + * google/container/v1beta1/cluster_service.proto;l=3005 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java index a9414dc46c93..5d60694e3988 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java @@ -493,7 +493,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @return The initialNodeCount. */ @java.lang.Override @@ -523,7 +523,7 @@ public int getInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return Whether the nodeConfig field is set. */ @java.lang.Override @@ -550,7 +550,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return The nodeConfig. */ @java.lang.Override @@ -1840,7 +1840,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @return The privateCluster. */ @java.lang.Override @@ -1867,7 +1867,7 @@ public boolean getPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -1897,7 +1897,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override @@ -2867,7 +2867,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The zone. */ @java.lang.Override @@ -2895,7 +2895,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The bytes for zone. */ @java.lang.Override @@ -3111,7 +3111,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The currentNodeVersion. */ @java.lang.Override @@ -3141,7 +3141,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The bytes for currentNodeVersion. */ @java.lang.Override @@ -3262,7 +3262,7 @@ public com.google.container.v1beta1.Cluster.Status getStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The statusMessage. */ @java.lang.Override @@ -3290,7 +3290,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The bytes for statusMessage. */ @java.lang.Override @@ -3401,7 +3401,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -3418,7 +3418,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -3435,7 +3435,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -3453,7 +3453,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -3475,7 +3475,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @return The currentNodeCount. */ @java.lang.Override @@ -7130,7 +7130,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @return The initialNodeCount. */ @java.lang.Override @@ -7156,7 +7156,7 @@ public int getInitialNodeCount() { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @param value The initialNodeCount to set. * @return This builder for chaining. */ @@ -7186,7 +7186,7 @@ public Builder setInitialNodeCount(int value) { * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @return This builder for chaining. */ @java.lang.Deprecated @@ -7222,7 +7222,7 @@ public Builder clearInitialNodeCount() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -7248,7 +7248,7 @@ public boolean hasNodeConfig() { * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return The nodeConfig. */ @java.lang.Deprecated @@ -11225,7 +11225,7 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @return The privateCluster. */ @java.lang.Override @@ -11247,7 +11247,7 @@ public boolean getPrivateCluster() { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @param value The privateCluster to set. * @return This builder for chaining. */ @@ -11273,7 +11273,7 @@ public Builder setPrivateCluster(boolean value) { * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11299,7 +11299,7 @@ public Builder clearPrivateCluster() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -11328,7 +11328,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -11357,7 +11357,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -11385,7 +11385,7 @@ public Builder setMasterIpv4CidrBlock(java.lang.String value) { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return This builder for chaining. */ @java.lang.Deprecated @@ -11409,7 +11409,7 @@ public Builder clearMasterIpv4CidrBlock() { * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ @@ -14805,7 +14805,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The zone. */ @java.lang.Deprecated @@ -14832,7 +14832,7 @@ public java.lang.String getZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The bytes for zone. */ @java.lang.Deprecated @@ -14859,7 +14859,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @param value The zone to set. * @return This builder for chaining. */ @@ -14885,7 +14885,7 @@ public Builder setZone(java.lang.String value) { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return This builder for chaining. */ @java.lang.Deprecated @@ -14907,7 +14907,7 @@ public Builder clearZone() { * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -15326,7 +15326,7 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -15355,7 +15355,7 @@ public java.lang.String getCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -15384,7 +15384,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ @@ -15412,7 +15412,7 @@ public Builder setCurrentNodeVersion(java.lang.String value) { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return This builder for chaining. */ @java.lang.Deprecated @@ -15436,7 +15436,7 @@ public Builder clearCurrentNodeVersion() { * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ @@ -15666,7 +15666,7 @@ public Builder clearStatus() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The statusMessage. */ @java.lang.Deprecated @@ -15693,7 +15693,7 @@ public java.lang.String getStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -15720,7 +15720,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -15746,7 +15746,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return This builder for chaining. */ @java.lang.Deprecated @@ -15768,7 +15768,7 @@ public Builder clearStatusMessage() { * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ @@ -15991,7 +15991,7 @@ private void ensureInstanceGroupUrlsIsMutable() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -16008,7 +16008,7 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -16025,7 +16025,7 @@ public int getInstanceGroupUrlsCount() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -16043,7 +16043,7 @@ public java.lang.String getInstanceGroupUrls(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -16061,7 +16061,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. @@ -16086,7 +16086,7 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -16110,7 +16110,7 @@ public Builder addInstanceGroupUrls(java.lang.String value) { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ @@ -16131,7 +16131,7 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return This builder for chaining. */ @java.lang.Deprecated @@ -16151,7 +16151,7 @@ public Builder clearInstanceGroupUrls() { * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ @@ -16179,7 +16179,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @return The currentNodeCount. */ @java.lang.Override @@ -16198,7 +16198,7 @@ public int getCurrentNodeCount() { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @param value The currentNodeCount to set. * @return This builder for chaining. */ @@ -16221,7 +16221,7 @@ public Builder setCurrentNodeCount(int value) { * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java index 7cf2e9df84c9..4a4ef7e6b8d4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java @@ -101,7 +101,7 @@ public interface ClusterOrBuilder * int32 initial_node_count = 3 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1658 + * google/container/v1beta1/cluster_service.proto;l=1660 * @return The initialNodeCount. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return Whether the nodeConfig field is set. */ @java.lang.Deprecated @@ -150,7 +150,7 @@ public interface ClusterOrBuilder * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1671 + * google/container/v1beta1/cluster_service.proto;l=1673 * @return The nodeConfig. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ java.lang.String getResourceLabelsOrDefault( * bool private_cluster = 28 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1793 + * google/container/v1beta1/cluster_service.proto;l=1795 * @return The privateCluster. */ @java.lang.Deprecated @@ -1043,7 +1043,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1062,7 +1062,7 @@ java.lang.String getResourceLabelsOrDefault( * string master_ipv4_cidr_block = 29 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1800 + * google/container/v1beta1/cluster_service.proto;l=1802 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Deprecated @@ -1729,7 +1729,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The zone. */ @java.lang.Deprecated @@ -1746,7 +1746,7 @@ java.lang.String getResourceLabelsOrDefault( * string zone = 101 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1866 + * google/container/v1beta1/cluster_service.proto;l=1868 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1869,7 +1869,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The currentNodeVersion. */ @java.lang.Deprecated @@ -1888,7 +1888,7 @@ java.lang.String getResourceLabelsOrDefault( * string current_node_version = 105 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1899 + * google/container/v1beta1/cluster_service.proto;l=1901 * @return The bytes for currentNodeVersion. */ @java.lang.Deprecated @@ -1958,7 +1958,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The statusMessage. */ @java.lang.Deprecated @@ -1975,7 +1975,7 @@ java.lang.String getResourceLabelsOrDefault( * string status_message = 108 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1911 + * google/container/v1beta1/cluster_service.proto;l=1913 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2040,7 +2040,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return A list containing the instanceGroupUrls. */ @java.lang.Deprecated @@ -2055,7 +2055,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @return The count of instanceGroupUrls. */ @java.lang.Deprecated @@ -2070,7 +2070,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -2086,7 +2086,7 @@ java.lang.String getResourceLabelsOrDefault( * repeated string instance_group_urls = 111 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1927 + * google/container/v1beta1/cluster_service.proto;l=1929 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ @@ -2104,7 +2104,7 @@ java.lang.String getResourceLabelsOrDefault( * int32 current_node_count = 112 [deprecated = true]; * * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1931 + * google/container/v1beta1/cluster_service.proto;l=1933 * @return The currentNodeCount. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java index 5519e0250d7f..7a07cfcd6227 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4048 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4048 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4055 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4055 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4059 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4059 * @return The bytes for clusterId. */ @java.lang.Override @@ -739,7 +739,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4048 * @return The projectId. */ @java.lang.Deprecated @@ -767,7 +767,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4048 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -795,7 +795,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4048 * @param value The projectId to set. * @return This builder for chaining. */ @@ -822,7 +822,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4048 * @return This builder for chaining. */ @java.lang.Deprecated @@ -845,7 +845,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4048 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -875,7 +875,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4055 * @return The zone. */ @java.lang.Deprecated @@ -903,7 +903,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4055 * @return The bytes for zone. */ @java.lang.Deprecated @@ -931,7 +931,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4055 * @param value The zone to set. * @return This builder for chaining. */ @@ -958,7 +958,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4055 * @return This builder for chaining. */ @java.lang.Deprecated @@ -981,7 +981,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4055 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1010,7 +1010,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4059 * @return The clusterId. */ @java.lang.Deprecated @@ -1037,7 +1037,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4059 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1064,7 +1064,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4059 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1090,7 +1090,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4059 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1112,7 +1112,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4059 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java index dc48b41c6a09..f0e9cc9a7dc4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4048 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4041 + * google/container/v1beta1/cluster_service.proto;l=4048 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4055 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CompleteIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4048 + * google/container/v1beta1/cluster_service.proto;l=4055 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4059 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CompleteIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4052 + * google/container/v1beta1/cluster_service.proto;l=4059 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java index 10ca8f5fecbb..7b03df057ab2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The bytes for zone. */ @java.lang.Override @@ -735,7 +735,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ @java.lang.Deprecated @@ -763,7 +763,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -791,7 +791,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @param value The projectId to set. * @return This builder for chaining. */ @@ -818,7 +818,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return This builder for chaining. */ @java.lang.Deprecated @@ -841,7 +841,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -871,7 +871,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The zone. */ @java.lang.Deprecated @@ -899,7 +899,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The bytes for zone. */ @java.lang.Deprecated @@ -927,7 +927,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @param value The zone to set. * @return This builder for chaining. */ @@ -954,7 +954,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return This builder for chaining. */ @java.lang.Deprecated @@ -977,7 +977,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java index c461601f31fe..b01e8b1c7cff 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CreateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CreateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2461 + * google/container/v1beta1/cluster_service.proto;l=2463 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java index ddd4ebd5602f..c6ed6b55f89a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The bytes for clusterId. */ @java.lang.Override @@ -827,7 +827,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The projectId. */ @java.lang.Deprecated @@ -855,7 +855,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -883,7 +883,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @param value The projectId to set. * @return This builder for chaining. */ @@ -910,7 +910,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return This builder for chaining. */ @java.lang.Deprecated @@ -933,7 +933,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -963,7 +963,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The zone. */ @java.lang.Deprecated @@ -991,7 +991,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1019,7 +1019,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @param value The zone to set. * @return This builder for chaining. */ @@ -1046,7 +1046,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1069,7 +1069,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1098,7 +1098,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The clusterId. */ @java.lang.Deprecated @@ -1125,7 +1125,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1152,7 +1152,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1178,7 +1178,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1200,7 +1200,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java index f1fc3fc79065..18e578fb9eb2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3113 + * google/container/v1beta1/cluster_service.proto;l=3117 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface CreateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3120 + * google/container/v1beta1/cluster_service.proto;l=3124 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface CreateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * google/container/v1beta1/cluster_service.proto;l=3128 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java index cd9251f800ff..99195d51d4b2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The bytes for clusterId. */ @java.lang.Override @@ -738,7 +738,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The projectId. */ @java.lang.Deprecated @@ -766,7 +766,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -794,7 +794,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @param value The projectId to set. * @return This builder for chaining. */ @@ -821,7 +821,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return This builder for chaining. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The clusterId. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1111,7 +1111,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java index c8007bb93385..1c72c151f2c7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2891 + * google/container/v1beta1/cluster_service.proto;l=2895 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface DeleteClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2898 + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2902 + * google/container/v1beta1/cluster_service.proto;l=2906 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java index f5fe1bd093a4..49af95f50865 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The bytes for clusterId. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The nodePoolId. */ @java.lang.Override @@ -302,7 +302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -826,7 +826,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The projectId. */ @java.lang.Deprecated @@ -854,7 +854,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @param value The projectId to set. * @return This builder for chaining. */ @@ -909,7 +909,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return This builder for chaining. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -962,7 +962,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The zone. */ @java.lang.Deprecated @@ -990,7 +990,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @param value The zone to set. * @return This builder for chaining. */ @@ -1045,7 +1045,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1097,7 +1097,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The clusterId. */ @java.lang.Deprecated @@ -1124,7 +1124,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1151,7 +1151,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1177,7 +1177,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1199,7 +1199,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1228,7 +1228,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1255,7 +1255,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1282,7 +1282,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1308,7 +1308,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1330,7 +1330,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java index 3fd6529bbf94..544b31e3dade 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3141 + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface DeleteNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3148 + * google/container/v1beta1/cluster_service.proto;l=3152 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3152 + * google/container/v1beta1/cluster_service.proto;l=3156 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface DeleteNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3157 + * google/container/v1beta1/cluster_service.proto;l=3161 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java index 0c66df496f0a..5e9b48011340 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The bytes for clusterId. */ @java.lang.Override @@ -737,7 +737,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The projectId. */ @java.lang.Deprecated @@ -765,7 +765,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -793,7 +793,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @param value The projectId to set. * @return This builder for chaining. */ @@ -820,7 +820,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return This builder for chaining. */ @java.lang.Deprecated @@ -843,7 +843,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -873,7 +873,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The zone. */ @java.lang.Deprecated @@ -901,7 +901,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The bytes for zone. */ @java.lang.Deprecated @@ -929,7 +929,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @param value The zone to set. * @return This builder for chaining. */ @@ -956,7 +956,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return This builder for chaining. */ @java.lang.Deprecated @@ -979,7 +979,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The clusterId. */ @java.lang.Deprecated @@ -1035,7 +1035,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1062,7 +1062,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1088,7 +1088,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1110,7 +1110,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java index c68e768ce700..c02838d3c237 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2484 + * google/container/v1beta1/cluster_service.proto;l=2486 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2488 + * google/container/v1beta1/cluster_service.proto;l=2490 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java index d843c3603f5d..34dd31ca643d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The bytes for clusterId. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The nodePoolId. */ @java.lang.Override @@ -302,7 +302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -826,7 +826,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The projectId. */ @java.lang.Deprecated @@ -854,7 +854,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @param value The projectId to set. * @return This builder for chaining. */ @@ -909,7 +909,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return This builder for chaining. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -962,7 +962,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The zone. */ @java.lang.Deprecated @@ -990,7 +990,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @param value The zone to set. * @return This builder for chaining. */ @@ -1045,7 +1045,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1097,7 +1097,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The clusterId. */ @java.lang.Deprecated @@ -1124,7 +1124,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1151,7 +1151,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1177,7 +1177,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1199,7 +1199,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1228,7 +1228,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1255,7 +1255,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1282,7 +1282,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1308,7 +1308,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1330,7 +1330,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java index 101e9f1ade55..48c18a74213c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3195 + * google/container/v1beta1/cluster_service.proto;l=3199 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3202 + * google/container/v1beta1/cluster_service.proto;l=3206 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3206 + * google/container/v1beta1/cluster_service.proto;l=3210 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface GetNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3211 + * google/container/v1beta1/cluster_service.proto;l=3215 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java index ec2a186b5779..3335e723f018 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The operationId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The bytes for operationId. */ @java.lang.Override @@ -738,7 +738,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The projectId. */ @java.lang.Deprecated @@ -766,7 +766,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -794,7 +794,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @param value The projectId to set. * @return This builder for chaining. */ @@ -821,7 +821,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return This builder for chaining. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The operationId. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The bytes for operationId. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @param value The operationId to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setOperationId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1111,7 +1111,7 @@ public Builder clearOperationId() { * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @param value The bytes for operationId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java index f26a075e96f9..ade420b35d48 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2946 + * google/container/v1beta1/cluster_service.proto;l=2950 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetOperationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2953 + * google/container/v1beta1/cluster_service.proto;l=2957 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The operationId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface GetOperationRequestOrBuilder * * * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2957 + * google/container/v1beta1/cluster_service.proto;l=2961 * @return The bytes for operationId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java index 0197a933b54d..d4c52cc43f9f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for zone. */ @java.lang.Override @@ -652,7 +652,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The projectId. */ @java.lang.Deprecated @@ -680,7 +680,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -708,7 +708,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @param value The projectId to set. * @return This builder for chaining. */ @@ -735,7 +735,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return This builder for chaining. */ @java.lang.Deprecated @@ -758,7 +758,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -788,7 +788,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The zone. */ @java.lang.Deprecated @@ -816,7 +816,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for zone. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @param value The zone to set. * @return This builder for chaining. */ @@ -871,7 +871,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return This builder for chaining. */ @java.lang.Deprecated @@ -894,7 +894,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java index aecccfe0d678..69d1fdf7e347 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface GetServerConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface GetServerConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3024 + * google/container/v1beta1/cluster_service.proto;l=3028 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface GetServerConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3031 + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java index cd184c6f37e4..e1905b2861c7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java @@ -503,7 +503,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -529,7 +529,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override @@ -560,7 +560,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The nodeIpv4Cidr. */ @java.lang.Override @@ -586,7 +586,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override @@ -617,7 +617,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -643,7 +643,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override @@ -2289,7 +2289,7 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2314,7 +2314,7 @@ public java.lang.String getClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -2339,7 +2339,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2363,7 +2363,7 @@ public Builder setClusterIpv4Cidr(java.lang.String value) { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2383,7 +2383,7 @@ public Builder clearClusterIpv4Cidr() { * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ @@ -2410,7 +2410,7 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2435,7 +2435,7 @@ public java.lang.String getNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -2460,7 +2460,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2484,7 +2484,7 @@ public Builder setNodeIpv4Cidr(java.lang.String value) { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2504,7 +2504,7 @@ public Builder clearNodeIpv4Cidr() { * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ @@ -2531,7 +2531,7 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2556,7 +2556,7 @@ public java.lang.String getServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated @@ -2581,7 +2581,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ @@ -2605,7 +2605,7 @@ public Builder setServicesIpv4Cidr(java.lang.String value) { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2625,7 +2625,7 @@ public Builder clearServicesIpv4Cidr() { * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java index 7d2c9b95ab60..56fc3b7b46d5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java @@ -92,7 +92,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The clusterIpv4Cidr. */ @java.lang.Deprecated @@ -107,7 +107,7 @@ public interface IPAllocationPolicyOrBuilder * string cluster_ipv4_cidr = 4 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1410 + * google/container/v1beta1/cluster_service.proto;l=1412 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Deprecated @@ -123,7 +123,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The nodeIpv4Cidr. */ @java.lang.Deprecated @@ -138,7 +138,7 @@ public interface IPAllocationPolicyOrBuilder * string node_ipv4_cidr = 5 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1413 + * google/container/v1beta1/cluster_service.proto;l=1415 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Deprecated @@ -154,7 +154,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The servicesIpv4Cidr. */ @java.lang.Deprecated @@ -169,7 +169,7 @@ public interface IPAllocationPolicyOrBuilder * string services_ipv4_cidr = 6 [deprecated = true]; * * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1416 + * google/container/v1beta1/cluster_service.proto;l=1418 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java index ccc39c20aa39..c26f485c49df 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java @@ -214,7 +214,7 @@ private IstioAuthMode(int value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @return The disabled. */ @java.lang.Override @@ -235,7 +235,7 @@ public boolean getDisabled() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -253,7 +253,7 @@ public int getAuthValue() { * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The auth. */ @java.lang.Override @@ -637,7 +637,7 @@ public Builder mergeFrom( * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @return The disabled. */ @java.lang.Override @@ -655,7 +655,7 @@ public boolean getDisabled() { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @param value The disabled to set. * @return This builder for chaining. */ @@ -677,7 +677,7 @@ public Builder setDisabled(boolean value) { * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @return This builder for chaining. */ @java.lang.Deprecated @@ -700,7 +700,7 @@ public Builder clearDisabled() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The enum numeric value on the wire for auth. */ @java.lang.Override @@ -719,7 +719,7 @@ public int getAuthValue() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @param value The enum numeric value on the wire for auth to set. * @return This builder for chaining. */ @@ -741,7 +741,7 @@ public Builder setAuthValue(int value) { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The auth. */ @java.lang.Override @@ -764,7 +764,7 @@ public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @param value The auth to set. * @return This builder for chaining. */ @@ -789,7 +789,7 @@ public Builder setAuth(com.google.container.v1beta1.IstioConfig.IstioAuthMode va * * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java index f94d04e86570..ca27e194e932 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface IstioConfigOrBuilder * bool disabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1286 + * google/container/v1beta1/cluster_service.proto;l=1288 * @return The disabled. */ @java.lang.Deprecated @@ -49,7 +49,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The enum numeric value on the wire for auth. */ @java.lang.Deprecated @@ -64,7 +64,7 @@ public interface IstioConfigOrBuilder * .google.container.v1beta1.IstioConfig.IstioAuthMode auth = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1289 + * google/container/v1beta1/cluster_service.proto;l=1291 * @return The auth. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java index 9b6e2a44573b..438deef65fc8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java @@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @return The enabled. */ @java.lang.Override @@ -435,7 +435,7 @@ public Builder mergeFrom( * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @return The enabled. */ @java.lang.Override @@ -453,7 +453,7 @@ public boolean getEnabled() { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @param value The enabled to set. * @return This builder for chaining. */ @@ -475,7 +475,7 @@ public Builder setEnabled(boolean value) { * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java index eb560ae5ee36..de48d78d514a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface KalmConfigOrBuilder * bool enabled = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * google/container/v1beta1/cluster_service.proto;l=1210 * @return The enabled. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java index c8e4321c3f82..b5a62a18389b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The bytes for zone. */ @java.lang.Override @@ -654,7 +654,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The projectId. */ @java.lang.Deprecated @@ -682,7 +682,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -710,7 +710,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @param value The projectId to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return This builder for chaining. */ @java.lang.Deprecated @@ -760,7 +760,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -790,7 +790,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The zone. */ @java.lang.Deprecated @@ -818,7 +818,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The bytes for zone. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @param value The zone to set. * @return This builder for chaining. */ @@ -873,7 +873,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return This builder for chaining. */ @java.lang.Deprecated @@ -896,7 +896,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java index 9c60a2577d0a..55b49841f2c5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListClustersRequestOrBuilder * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListClustersRequestOrBuilder * * * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2915 + * google/container/v1beta1/cluster_service.proto;l=2919 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface ListClustersRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2922 + * google/container/v1beta1/cluster_service.proto;l=2926 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java index d3242d08b108..ec9d38b31bc5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The bytes for clusterId. */ @java.lang.Override @@ -738,7 +738,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The projectId. */ @java.lang.Deprecated @@ -766,7 +766,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -794,7 +794,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @param value The projectId to set. * @return This builder for chaining. */ @@ -821,7 +821,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return This builder for chaining. */ @java.lang.Deprecated @@ -844,7 +844,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -874,7 +874,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The zone. */ @java.lang.Deprecated @@ -902,7 +902,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The bytes for zone. */ @java.lang.Deprecated @@ -930,7 +930,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @param value The zone to set. * @return This builder for chaining. */ @@ -957,7 +957,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return This builder for chaining. */ @java.lang.Deprecated @@ -980,7 +980,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The clusterId. */ @java.lang.Deprecated @@ -1036,7 +1036,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1089,7 +1089,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1111,7 +1111,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java index 02ff0682faaa..e85e0d9282d6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3171 + * google/container/v1beta1/cluster_service.proto;l=3175 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface ListNodePoolsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3178 + * google/container/v1beta1/cluster_service.proto;l=3182 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface ListNodePoolsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * google/container/v1beta1/cluster_service.proto;l=3186 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java index 415abb5017e5..a52db4bfc479 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java @@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The projectId. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The bytes for projectId. */ @java.lang.Override @@ -149,7 +149,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The zone. */ @java.lang.Override @@ -178,7 +178,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The bytes for zone. */ @java.lang.Override @@ -654,7 +654,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The projectId. */ @java.lang.Deprecated @@ -682,7 +682,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -710,7 +710,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @param value The projectId to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return This builder for chaining. */ @java.lang.Deprecated @@ -760,7 +760,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -790,7 +790,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The zone. */ @java.lang.Deprecated @@ -818,7 +818,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The bytes for zone. */ @java.lang.Deprecated @@ -846,7 +846,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @param value The zone to set. * @return This builder for chaining. */ @@ -873,7 +873,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return This builder for chaining. */ @java.lang.Deprecated @@ -896,7 +896,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @param value The bytes for zone to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java index 6c96c824bb6b..9cbaa37723fc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface ListOperationsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface ListOperationsRequestOrBuilder * * * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2970 + * google/container/v1beta1/cluster_service.proto;l=2974 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface ListOperationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2977 + * google/container/v1beta1/cluster_service.proto;l=2981 * @return The bytes for zone. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java index fee6c9236158..63a62b1e6b3a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java @@ -93,7 +93,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The username. */ @java.lang.Override @@ -125,7 +125,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The bytes for username. */ @java.lang.Override @@ -163,7 +163,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The password. */ @java.lang.Override @@ -196,7 +196,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The bytes for password. */ @java.lang.Override @@ -906,7 +906,7 @@ public Builder mergeFrom( * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The username. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public java.lang.String getUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The bytes for username. */ @java.lang.Deprecated @@ -968,7 +968,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @param value The username to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setUsername(java.lang.String value) { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1024,7 +1024,7 @@ public Builder clearUsername() { * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @param value The bytes for username to set. * @return This builder for chaining. */ @@ -1058,7 +1058,7 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The password. */ @java.lang.Deprecated @@ -1090,7 +1090,7 @@ public java.lang.String getPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The bytes for password. */ @java.lang.Deprecated @@ -1122,7 +1122,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @param value The password to set. * @return This builder for chaining. */ @@ -1153,7 +1153,7 @@ public Builder setPassword(java.lang.String value) { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1180,7 +1180,7 @@ public Builder clearPassword() { * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @param value The bytes for password to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java index 53fb8da4f4ad..b1d417a66129 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java @@ -39,7 +39,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The username. */ @java.lang.Deprecated @@ -60,7 +60,7 @@ public interface MasterAuthOrBuilder * string username = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1077 + * google/container/v1beta1/cluster_service.proto;l=1079 * @return The bytes for username. */ @java.lang.Deprecated @@ -83,7 +83,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The password. */ @java.lang.Deprecated @@ -105,7 +105,7 @@ public interface MasterAuthOrBuilder * string password = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1088 + * google/container/v1beta1/cluster_service.proto;l=1090 * @return The bytes for password. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java index 31a3fddfed63..bc2fbee7572b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java @@ -555,7 +555,9 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -579,7 +581,9 @@ public java.lang.String getImageType() { * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -4646,7 +4650,9 @@ public Builder putAllMetadata(java.util.Map * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4669,7 +4675,9 @@ public java.lang.String getImageType() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4692,7 +4700,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4714,7 +4724,9 @@ public Builder setImageType(java.lang.String value) { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; @@ -4732,7 +4744,9 @@ public Builder clearImageType() { * *
      * The image type to use for this node. Note that for a given image type,
-     * the latest version of it will be used.
+     * the latest version of it will be used. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 5; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java index aea76f1e745f..d8f051933e46 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java @@ -391,7 +391,9 @@ java.lang.String getMetadataOrDefault( * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; @@ -404,7 +406,9 @@ java.lang.String getMetadataOrDefault( * *
    * The image type to use for this node. Note that for a given image type,
-   * the latest version of it will be used.
+   * the latest version of it will be used. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 5; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java index 8db9ca8c9412..a62cc54e6491 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java @@ -5505,7 +5505,9 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * * *
-   * The version of the Kubernetes of this node.
+   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+   * it defaults as described
+   * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
    * 
* * string version = 101; @@ -5528,7 +5530,9 @@ public java.lang.String getVersion() { * * *
-   * The version of the Kubernetes of this node.
+   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+   * it defaults as described
+   * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
    * 
* * string version = 101; @@ -5678,7 +5682,7 @@ public com.google.container.v1beta1.NodePool.Status getStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3476 * @return The statusMessage. */ @java.lang.Override @@ -5706,7 +5710,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3476 * @return The bytes for statusMessage. */ @java.lang.Override @@ -8002,7 +8006,9 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -8024,7 +8030,9 @@ public java.lang.String getVersion() { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -8046,7 +8054,9 @@ public com.google.protobuf.ByteString getVersionBytes() { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -8067,7 +8077,9 @@ public Builder setVersion(java.lang.String value) { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -8084,7 +8096,9 @@ public Builder clearVersion() { * * *
-     * The version of the Kubernetes of this node.
+     * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+     * it defaults as described
+     * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
      * 
* * string version = 101; @@ -8410,7 +8424,7 @@ public Builder clearStatus() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3476 * @return The statusMessage. */ @java.lang.Deprecated @@ -8437,7 +8451,7 @@ public java.lang.String getStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3476 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -8464,7 +8478,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3476 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -8490,7 +8504,7 @@ public Builder setStatusMessage(java.lang.String value) { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3476 * @return This builder for chaining. */ @java.lang.Deprecated @@ -8512,7 +8526,7 @@ public Builder clearStatusMessage() { * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3476 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java index 3f3d47818d43..dd5045336a78 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java @@ -245,7 +245,9 @@ public interface NodePoolOrBuilder * * *
-   * The version of the Kubernetes of this node.
+   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+   * it defaults as described
+   * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
    * 
* * string version = 101; @@ -257,7 +259,9 @@ public interface NodePoolOrBuilder * * *
-   * The version of the Kubernetes of this node.
+   * The version of Kubernetes running on this NodePool's nodes. If unspecified,
+   * it defaults as described
+   * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
    * 
* * string version = 101; @@ -370,7 +374,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3476 * @return The statusMessage. */ @java.lang.Deprecated @@ -387,7 +391,7 @@ public interface NodePoolOrBuilder * string status_message = 104 [deprecated = true]; * * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3470 + * google/container/v1beta1/cluster_service.proto;l=3476 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java index 6e18ed1f12d2..14b60a73472a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java @@ -32,7 +32,8 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag * * *
-   * Default value.
+   * Default value if unset. GKE internally defaults the update strategy to
+   * SURGE for unspecified strategies.
    * 
* * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; @@ -66,7 +67,8 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag * * *
-   * Default value.
+   * Default value if unset. GKE internally defaults the update strategy to
+   * SURGE for unspecified strategies.
    * 
* * NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java index 10df5892ba81..4843ca474157 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java @@ -813,7 +813,7 @@ public com.google.protobuf.ByteString getNameBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The zone. */ @java.lang.Override @@ -841,7 +841,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The bytes for zone. */ @java.lang.Override @@ -996,7 +996,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The statusMessage. */ @java.lang.Override @@ -1025,7 +1025,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for statusMessage. */ @java.lang.Override @@ -2495,7 +2495,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The zone. */ @java.lang.Deprecated @@ -2522,7 +2522,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2549,7 +2549,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @param value The zone to set. * @return This builder for chaining. */ @@ -2575,7 +2575,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2597,7 +2597,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2913,7 +2913,7 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The statusMessage. */ @java.lang.Deprecated @@ -2941,7 +2941,7 @@ public java.lang.String getStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for statusMessage. */ @java.lang.Deprecated @@ -2969,7 +2969,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @param value The statusMessage to set. * @return This builder for chaining. */ @@ -2996,7 +2996,7 @@ public Builder setStatusMessage(java.lang.String value) { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3019,7 +3019,7 @@ public Builder clearStatusMessage() { * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java index 091ee0737d25..e605836e1c7e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java @@ -60,7 +60,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The zone. */ @java.lang.Deprecated @@ -77,7 +77,7 @@ public interface OperationOrBuilder * string zone = 2 [deprecated = true]; * * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2357 + * google/container/v1beta1/cluster_service.proto;l=2359 * @return The bytes for zone. */ @java.lang.Deprecated @@ -171,7 +171,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The statusMessage. */ @java.lang.Deprecated @@ -189,7 +189,7 @@ public interface OperationOrBuilder * * * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2370 + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for statusMessage. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java index 0ae6c3ae5c7e..15ee9707cde5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java @@ -91,7 +91,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3743 * @return The projectId. */ @java.lang.Override @@ -120,7 +120,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3743 * @return The bytes for projectId. */ @java.lang.Override @@ -154,7 +154,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3750 * @return The zone. */ @java.lang.Override @@ -183,7 +183,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3750 * @return The bytes for zone. */ @java.lang.Override @@ -216,7 +216,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The clusterId. */ @java.lang.Override @@ -244,7 +244,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for clusterId. */ @java.lang.Override @@ -277,7 +277,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3753 + * See google/container/v1beta1/cluster_service.proto;l=3759 * @return The nodePoolId. */ @java.lang.Override @@ -305,7 +305,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3753 + * See google/container/v1beta1/cluster_service.proto;l=3759 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -873,7 +873,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3743 * @return The projectId. */ @java.lang.Deprecated @@ -901,7 +901,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3743 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -929,7 +929,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3743 * @param value The projectId to set. * @return This builder for chaining. */ @@ -956,7 +956,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3743 * @return This builder for chaining. */ @java.lang.Deprecated @@ -979,7 +979,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3743 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1009,7 +1009,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3750 * @return The zone. */ @java.lang.Deprecated @@ -1037,7 +1037,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3750 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1065,7 +1065,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3750 * @param value The zone to set. * @return This builder for chaining. */ @@ -1092,7 +1092,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3750 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1115,7 +1115,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3750 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1144,7 +1144,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The clusterId. */ @java.lang.Deprecated @@ -1171,7 +1171,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1198,7 +1198,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1224,7 +1224,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1246,7 +1246,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1275,7 +1275,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3759 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1302,7 +1302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3759 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1329,7 +1329,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3759 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1355,7 +1355,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3759 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1377,7 +1377,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3753 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3759 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java index b59c6771f074..aaccb45ee685 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3743 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3737 + * See google/container/v1beta1/cluster_service.proto;l=3743 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3750 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3744 + * google/container/v1beta1/cluster_service.proto;l=3750 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3748 + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3753 + * See google/container/v1beta1/cluster_service.proto;l=3759 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder * * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3753 + * See google/container/v1beta1/cluster_service.proto;l=3759 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java index 191c05eb6022..c55af2dfadf9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java @@ -217,7 +217,7 @@ private Type(int value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The sandboxType. */ @java.lang.Override @@ -243,7 +243,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The bytes for sandboxType. */ @java.lang.Override @@ -669,7 +669,7 @@ public Builder mergeFrom( * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The sandboxType. */ @java.lang.Deprecated @@ -694,7 +694,7 @@ public java.lang.String getSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The bytes for sandboxType. */ @java.lang.Deprecated @@ -719,7 +719,7 @@ public com.google.protobuf.ByteString getSandboxTypeBytes() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @param value The sandboxType to set. * @return This builder for chaining. */ @@ -743,7 +743,7 @@ public Builder setSandboxType(java.lang.String value) { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return This builder for chaining. */ @java.lang.Deprecated @@ -763,7 +763,7 @@ public Builder clearSandboxType() { * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @param value The bytes for sandboxType to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java index 466bbbad53e1..e7a75b411cd4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The sandboxType. */ @java.lang.Deprecated @@ -48,7 +48,7 @@ public interface SandboxConfigOrBuilder * string sandbox_type = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=924 + * google/container/v1beta1/cluster_service.proto;l=926 * @return The bytes for sandboxType. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java index 51a9ddbc4c67..987c9036c002 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The bytes for clusterId. */ @java.lang.Override @@ -829,7 +829,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The projectId. */ @java.lang.Deprecated @@ -857,7 +857,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -885,7 +885,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @param value The projectId to set. * @return This builder for chaining. */ @@ -912,7 +912,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return This builder for chaining. */ @java.lang.Deprecated @@ -935,7 +935,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -965,7 +965,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The zone. */ @java.lang.Deprecated @@ -993,7 +993,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1021,7 +1021,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @param value The zone to set. * @return This builder for chaining. */ @@ -1048,7 +1048,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1071,7 +1071,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1100,7 +1100,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The clusterId. */ @java.lang.Deprecated @@ -1127,7 +1127,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1154,7 +1154,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1180,7 +1180,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1202,7 +1202,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java index e8e1bcf5bbec..d13438be34b3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2746 + * google/container/v1beta1/cluster_service.proto;l=2750 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetAddonsConfigRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2753 + * google/container/v1beta1/cluster_service.proto;l=2757 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetAddonsConfigRequestOrBuilder * * * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2757 + * google/container/v1beta1/cluster_service.proto;l=2761 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java index 6d4f9691e010..73684935eccf 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java @@ -101,7 +101,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3956 * @return The projectId. */ @java.lang.Override @@ -130,7 +130,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3956 * @return The bytes for projectId. */ @java.lang.Override @@ -164,7 +164,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3963 * @return The zone. */ @java.lang.Override @@ -193,7 +193,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3963 * @return The bytes for zone. */ @java.lang.Override @@ -226,7 +226,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The clusterId. */ @java.lang.Override @@ -254,7 +254,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The bytes for clusterId. */ @java.lang.Override @@ -1002,7 +1002,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3956 * @return The projectId. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3956 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1058,7 +1058,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3956 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3956 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1108,7 +1108,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3956 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1138,7 +1138,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3963 * @return The zone. */ @java.lang.Deprecated @@ -1166,7 +1166,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3963 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1194,7 +1194,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3963 * @param value The zone to set. * @return This builder for chaining. */ @@ -1221,7 +1221,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3963 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1244,7 +1244,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3963 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1273,7 +1273,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The clusterId. */ @java.lang.Deprecated @@ -1300,7 +1300,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1327,7 +1327,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3967 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1353,7 +1353,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1375,7 +1375,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3967 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java index 662db04f170d..5e5a59e1031b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3956 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3949 + * google/container/v1beta1/cluster_service.proto;l=3956 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3963 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLabelsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3956 + * google/container/v1beta1/cluster_service.proto;l=3963 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLabelsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3960 + * google/container/v1beta1/cluster_service.proto;l=3967 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java index 032f91e2804d..4a8821c4d7e0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3993 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3993 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=4000 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=4000 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4004 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4004 * @return The bytes for clusterId. */ @java.lang.Override @@ -780,7 +780,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3993 * @return The projectId. */ @java.lang.Deprecated @@ -808,7 +808,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3993 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -836,7 +836,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3993 * @param value The projectId to set. * @return This builder for chaining. */ @@ -863,7 +863,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3993 * @return This builder for chaining. */ @java.lang.Deprecated @@ -886,7 +886,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3993 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -916,7 +916,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=4000 * @return The zone. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=4000 * @return The bytes for zone. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=4000 * @param value The zone to set. * @return This builder for chaining. */ @@ -999,7 +999,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=4000 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=4000 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1051,7 +1051,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4004 * @return The clusterId. */ @java.lang.Deprecated @@ -1078,7 +1078,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4004 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1105,7 +1105,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4004 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1131,7 +1131,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4004 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1153,7 +1153,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4004 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java index 63f74af6a71d..c490b0fcb079 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3993 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3986 + * google/container/v1beta1/cluster_service.proto;l=3993 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=4000 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLegacyAbacRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3993 + * google/container/v1beta1/cluster_service.proto;l=4000 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4004 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLegacyAbacRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3997 + * google/container/v1beta1/cluster_service.proto;l=4004 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java index 6f0b5ad5aa49..63d7751f8d99 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ @java.lang.Override @@ -867,7 +867,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The projectId. */ @java.lang.Deprecated @@ -895,7 +895,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -923,7 +923,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @param value The projectId to set. * @return This builder for chaining. */ @@ -950,7 +950,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return This builder for chaining. */ @java.lang.Deprecated @@ -973,7 +973,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1003,7 +1003,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The zone. */ @java.lang.Deprecated @@ -1031,7 +1031,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1059,7 +1059,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @param value The zone to set. * @return This builder for chaining. */ @@ -1086,7 +1086,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1109,7 +1109,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1138,7 +1138,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ @java.lang.Deprecated @@ -1165,7 +1165,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1192,7 +1192,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1218,7 +1218,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1240,7 +1240,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java index 29fc61b83ef5..cc27b1b819a0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2774 + * google/container/v1beta1/cluster_service.proto;l=2778 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLocationsRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2781 + * google/container/v1beta1/cluster_service.proto;l=2785 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLocationsRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2785 + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java index a2137411b47d..a1ae24b12d1b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The bytes for clusterId. */ @java.lang.Override @@ -831,7 +831,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The projectId. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @param value The projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return This builder for chaining. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -967,7 +967,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The zone. */ @java.lang.Deprecated @@ -995,7 +995,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @param value The zone to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1073,7 +1073,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1102,7 +1102,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The clusterId. */ @java.lang.Deprecated @@ -1129,7 +1129,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1156,7 +1156,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1182,7 +1182,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1204,7 +1204,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java index 4b4bdbf70c3a..027ce031062d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2672 + * google/container/v1beta1/cluster_service.proto;l=2676 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetLoggingServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2679 + * google/container/v1beta1/cluster_service.proto;l=2683 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetLoggingServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2683 + * google/container/v1beta1/cluster_service.proto;l=2687 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java index f0bb31ce3696..16102d402514 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java @@ -275,7 +275,7 @@ private Action(int value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The projectId. */ @java.lang.Override @@ -304,7 +304,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The bytes for projectId. */ @java.lang.Override @@ -338,7 +338,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The zone. */ @java.lang.Override @@ -367,7 +367,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The bytes for zone. */ @java.lang.Override @@ -400,7 +400,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The clusterId. */ @java.lang.Override @@ -428,7 +428,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The bytes for clusterId. */ @java.lang.Override @@ -1072,7 +1072,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The projectId. */ @java.lang.Deprecated @@ -1100,7 +1100,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -1128,7 +1128,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @param value The projectId to set. * @return This builder for chaining. */ @@ -1155,7 +1155,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1178,7 +1178,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1208,7 +1208,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The zone. */ @java.lang.Deprecated @@ -1236,7 +1236,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1264,7 +1264,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @param value The zone to set. * @return This builder for chaining. */ @@ -1291,7 +1291,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1314,7 +1314,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1343,7 +1343,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The clusterId. */ @java.lang.Deprecated @@ -1370,7 +1370,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1397,7 +1397,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1423,7 +1423,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1445,7 +1445,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java index 8f01af3d0e6c..d03f40466aa5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2861 + * google/container/v1beta1/cluster_service.proto;l=2865 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetMasterAuthRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2868 + * google/container/v1beta1/cluster_service.proto;l=2872 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMasterAuthRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2872 + * google/container/v1beta1/cluster_service.proto;l=2876 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java index 7e2b778966dd..8493c185c7d5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * google/container/v1beta1/cluster_service.proto;l=2713 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * google/container/v1beta1/cluster_service.proto;l=2713 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2720 + * google/container/v1beta1/cluster_service.proto;l=2724 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2720 + * google/container/v1beta1/cluster_service.proto;l=2724 * @return The bytes for clusterId. */ @java.lang.Override @@ -831,7 +831,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @return The projectId. */ @java.lang.Deprecated @@ -859,7 +859,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -887,7 +887,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @param value The projectId to set. * @return This builder for chaining. */ @@ -914,7 +914,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @return This builder for chaining. */ @java.lang.Deprecated @@ -937,7 +937,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2709 + * See google/container/v1beta1/cluster_service.proto;l=2713 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -967,7 +967,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Deprecated @@ -995,7 +995,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @param value The zone to set. * @return This builder for chaining. */ @@ -1050,7 +1050,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1073,7 +1073,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1102,7 +1102,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @return The clusterId. */ @java.lang.Deprecated @@ -1129,7 +1129,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1156,7 +1156,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1182,7 +1182,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1204,7 +1204,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2720 + * See google/container/v1beta1/cluster_service.proto;l=2724 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java index c81761ce8dc7..ba14f1eeb234 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * google/container/v1beta1/cluster_service.proto;l=2713 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * google/container/v1beta1/cluster_service.proto;l=2713 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetMonitoringServiceRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2716 + * google/container/v1beta1/cluster_service.proto;l=2720 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2720 + * google/container/v1beta1/cluster_service.proto;l=2724 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetMonitoringServiceRequestOrBuilder * * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2720 + * google/container/v1beta1/cluster_service.proto;l=2724 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java index 3208173a4a16..4b914607ec78 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4175 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4175 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4182 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4182 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4186 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4186 * @return The bytes for clusterId. */ @java.lang.Override @@ -826,7 +826,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4175 * @return The projectId. */ @java.lang.Deprecated @@ -854,7 +854,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4175 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -882,7 +882,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4175 * @param value The projectId to set. * @return This builder for chaining. */ @@ -909,7 +909,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4175 * @return This builder for chaining. */ @java.lang.Deprecated @@ -932,7 +932,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4175 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -962,7 +962,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4182 * @return The zone. */ @java.lang.Deprecated @@ -990,7 +990,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4182 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1018,7 +1018,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4182 * @param value The zone to set. * @return This builder for chaining. */ @@ -1045,7 +1045,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4182 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1068,7 +1068,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4182 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1097,7 +1097,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4186 * @return The clusterId. */ @java.lang.Deprecated @@ -1124,7 +1124,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4186 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1151,7 +1151,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4186 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1177,7 +1177,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4186 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1199,7 +1199,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4186 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java index 035da5e769c1..b1032037bdee 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4175 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4168 + * google/container/v1beta1/cluster_service.proto;l=4175 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4182 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNetworkPolicyRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4175 + * google/container/v1beta1/cluster_service.proto;l=4182 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4186 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNetworkPolicyRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4179 + * google/container/v1beta1/cluster_service.proto;l=4186 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java index a9efe1da963a..c5c95a5bc3ec 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for clusterId. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2655 + * See google/container/v1beta1/cluster_service.proto;l=2659 * @return The nodePoolId. */ @java.lang.Override @@ -302,7 +302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2655 + * See google/container/v1beta1/cluster_service.proto;l=2659 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -915,7 +915,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Deprecated @@ -943,7 +943,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -971,7 +971,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @param value The projectId to set. * @return This builder for chaining. */ @@ -998,7 +998,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1021,7 +1021,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1051,7 +1051,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The zone. */ @java.lang.Deprecated @@ -1079,7 +1079,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1107,7 +1107,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @param value The zone to set. * @return This builder for chaining. */ @@ -1134,7 +1134,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1157,7 +1157,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1186,7 +1186,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The clusterId. */ @java.lang.Deprecated @@ -1213,7 +1213,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1240,7 +1240,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1266,7 +1266,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1288,7 +1288,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1317,7 +1317,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1344,7 +1344,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1371,7 +1371,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1397,7 +1397,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1419,7 +1419,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2655 + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2659 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java index 7be04b77bb36..8e999149cbe9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2639 + * See google/container/v1beta1/cluster_service.proto;l=2643 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2646 + * google/container/v1beta1/cluster_service.proto;l=2650 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2650 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2655 + * See google/container/v1beta1/cluster_service.proto;l=2659 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface SetNodePoolAutoscalingRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2655 + * See google/container/v1beta1/cluster_service.proto;l=2659 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java index f52b19d4b21b..0fd743b47438 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java @@ -89,7 +89,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3660 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The projectId. */ @java.lang.Override @@ -118,7 +118,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3660 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The bytes for projectId. */ @java.lang.Override @@ -152,7 +152,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The zone. */ @java.lang.Override @@ -181,7 +181,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The bytes for zone. */ @java.lang.Override @@ -214,7 +214,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3671 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The clusterId. */ @java.lang.Override @@ -242,7 +242,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3671 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The bytes for clusterId. */ @java.lang.Override @@ -275,7 +275,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3682 * @return The nodePoolId. */ @java.lang.Override @@ -303,7 +303,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3682 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -916,7 +916,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3666 * @return The projectId. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3666 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3666 * @param value The projectId to set. * @return This builder for chaining. */ @@ -999,7 +999,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3666 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3660 + * See google/container/v1beta1/cluster_service.proto;l=3666 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1052,7 +1052,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The zone. */ @java.lang.Deprecated @@ -1080,7 +1080,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1108,7 +1108,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3673 * @param value The zone to set. * @return This builder for chaining. */ @@ -1135,7 +1135,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1158,7 +1158,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3673 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1187,7 +1187,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3677 * @return The clusterId. */ @java.lang.Deprecated @@ -1214,7 +1214,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3677 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1241,7 +1241,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3677 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1267,7 +1267,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3677 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1289,7 +1289,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3671 + * See google/container/v1beta1/cluster_service.proto;l=3677 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1318,7 +1318,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3682 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1345,7 +1345,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3682 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1372,7 +1372,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3682 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1398,7 +1398,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3682 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1420,7 +1420,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3682 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java index 632a705c339c..4b0e4786b6a5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3660 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3660 + * google/container/v1beta1/cluster_service.proto;l=3666 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNodePoolManagementRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3667 + * google/container/v1beta1/cluster_service.proto;l=3673 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3671 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3671 + * google/container/v1beta1/cluster_service.proto;l=3677 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3682 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface SetNodePoolManagementRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3676 + * See google/container/v1beta1/cluster_service.proto;l=3682 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java index be38efda6f5d..790884f5c549 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3699 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3699 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3706 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3706 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The bytes for clusterId. */ @java.lang.Override @@ -274,7 +274,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3715 * @return The nodePoolId. */ @java.lang.Override @@ -302,7 +302,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3715 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -866,7 +866,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3699 * @return The projectId. */ @java.lang.Deprecated @@ -894,7 +894,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3699 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -922,7 +922,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3699 * @param value The projectId to set. * @return This builder for chaining. */ @@ -949,7 +949,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3699 * @return This builder for chaining. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3699 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -1002,7 +1002,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3706 * @return The zone. */ @java.lang.Deprecated @@ -1030,7 +1030,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3706 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1058,7 +1058,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3706 * @param value The zone to set. * @return This builder for chaining. */ @@ -1085,7 +1085,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3706 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1108,7 +1108,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3706 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1137,7 +1137,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The clusterId. */ @java.lang.Deprecated @@ -1164,7 +1164,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1191,7 +1191,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3710 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1217,7 +1217,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1239,7 +1239,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3710 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -1268,7 +1268,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3715 * @return The nodePoolId. */ @java.lang.Deprecated @@ -1295,7 +1295,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3715 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -1322,7 +1322,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3715 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -1348,7 +1348,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3715 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1370,7 +1370,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3715 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java index 28e4fa942862..c31a658cb71a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3699 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3693 + * google/container/v1beta1/cluster_service.proto;l=3699 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3706 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface SetNodePoolSizeRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3700 + * google/container/v1beta1/cluster_service.proto;l=3706 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3704 + * google/container/v1beta1/cluster_service.proto;l=3710 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3715 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface SetNodePoolSizeRequestOrBuilder * * * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3709 + * google/container/v1beta1/cluster_service.proto;l=3715 * @return The bytes for nodePoolId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java index 971af09c5452..e3f00a4e6140 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4021 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4021 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4032 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4032 * @return The bytes for clusterId. */ @java.lang.Override @@ -780,7 +780,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4021 * @return The projectId. */ @java.lang.Deprecated @@ -808,7 +808,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4021 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -836,7 +836,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4021 * @param value The projectId to set. * @return This builder for chaining. */ @@ -863,7 +863,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4021 * @return This builder for chaining. */ @java.lang.Deprecated @@ -886,7 +886,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4021 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -916,7 +916,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The zone. */ @java.lang.Deprecated @@ -944,7 +944,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The bytes for zone. */ @java.lang.Deprecated @@ -972,7 +972,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4028 * @param value The zone to set. * @return This builder for chaining. */ @@ -999,7 +999,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4028 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1022,7 +1022,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4028 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1051,7 +1051,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4032 * @return The clusterId. */ @java.lang.Deprecated @@ -1078,7 +1078,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4032 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1105,7 +1105,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4032 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1131,7 +1131,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4032 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1153,7 +1153,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4032 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java index 20783b2fda3a..44cfc099344b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4021 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * google/container/v1beta1/cluster_service.proto;l=4021 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface StartIPRotationRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4021 + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4032 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface StartIPRotationRequestOrBuilder * * * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4025 + * google/container/v1beta1/cluster_service.proto;l=4032 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java index 91066df8b377..569ef621b42f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java @@ -337,7 +337,7 @@ private Code(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4304 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -356,7 +356,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4304 * @return The code. */ @java.lang.Override @@ -850,7 +850,7 @@ public Builder mergeFrom( * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4304 * @return The enum numeric value on the wire for code. */ @java.lang.Override @@ -869,7 +869,7 @@ public int getCodeValue() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4304 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -891,7 +891,7 @@ public Builder setCodeValue(int value) { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4304 * @return The code. */ @java.lang.Override @@ -914,7 +914,7 @@ public com.google.container.v1beta1.StatusCondition.Code getCode() { * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4304 * @param value The code to set. * @return This builder for chaining. */ @@ -939,7 +939,7 @@ public Builder setCode(com.google.container.v1beta1.StatusCondition.Code value) * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4304 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java index dcae8abe6cc0..28f5bb01f90a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java @@ -34,7 +34,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4304 * @return The enum numeric value on the wire for code. */ @java.lang.Deprecated @@ -50,7 +50,7 @@ public interface StatusConditionOrBuilder * .google.container.v1beta1.StatusCondition.Code code = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4297 + * google/container/v1beta1/cluster_service.proto;l=4304 * @return The code. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java index c526b7a7b75d..acb8347219fa 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java @@ -87,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The projectId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The bytes for projectId. */ @java.lang.Override @@ -150,7 +150,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The zone. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The bytes for zone. */ @java.lang.Override @@ -212,7 +212,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The clusterId. */ @java.lang.Override @@ -240,7 +240,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The bytes for clusterId. */ @java.lang.Override @@ -825,7 +825,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The projectId. */ @java.lang.Deprecated @@ -853,7 +853,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -881,7 +881,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @param value The projectId to set. * @return This builder for chaining. */ @@ -908,7 +908,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return This builder for chaining. */ @java.lang.Deprecated @@ -931,7 +931,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -961,7 +961,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The zone. */ @java.lang.Deprecated @@ -989,7 +989,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1017,7 +1017,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @param value The zone to set. * @return This builder for chaining. */ @@ -1044,7 +1044,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1067,7 +1067,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1096,7 +1096,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The clusterId. */ @java.lang.Deprecated @@ -1123,7 +1123,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1150,7 +1150,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1176,7 +1176,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1198,7 +1198,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java index 34e046c3d46d..a7139f2a45cd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2501 + * google/container/v1beta1/cluster_service.proto;l=2503 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface UpdateClusterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2508 + * google/container/v1beta1/cluster_service.proto;l=2510 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateClusterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2512 + * google/container/v1beta1/cluster_service.proto;l=2514 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java index 8afc8a0d01b1..d6e2b2bff48d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java @@ -88,7 +88,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The projectId. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The bytes for projectId. */ @java.lang.Override @@ -151,7 +151,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The zone. */ @java.lang.Override @@ -180,7 +180,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The bytes for zone. */ @java.lang.Override @@ -213,7 +213,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The clusterId. */ @java.lang.Override @@ -241,7 +241,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The bytes for clusterId. */ @java.lang.Override @@ -828,7 +828,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The projectId. */ @java.lang.Deprecated @@ -856,7 +856,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -884,7 +884,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @param value The projectId to set. * @return This builder for chaining. */ @@ -911,7 +911,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return This builder for chaining. */ @java.lang.Deprecated @@ -934,7 +934,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -964,7 +964,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The zone. */ @java.lang.Deprecated @@ -992,7 +992,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The bytes for zone. */ @java.lang.Deprecated @@ -1020,7 +1020,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @param value The zone to set. * @return This builder for chaining. */ @@ -1047,7 +1047,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1070,7 +1070,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -1099,7 +1099,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The clusterId. */ @java.lang.Deprecated @@ -1126,7 +1126,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -1153,7 +1153,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -1179,7 +1179,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1201,7 +1201,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java index 046ecf238517..f87ea25de1b1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2807 + * google/container/v1beta1/cluster_service.proto;l=2811 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface UpdateMasterRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2814 + * google/container/v1beta1/cluster_service.proto;l=2818 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateMasterRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2818 + * google/container/v1beta1/cluster_service.proto;l=2822 * @return The bytes for clusterId. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java index d06ebfde15f1..9f6ab9345de2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java @@ -92,7 +92,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The projectId. */ @java.lang.Override @@ -121,7 +121,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The bytes for projectId. */ @java.lang.Override @@ -155,7 +155,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The zone. */ @java.lang.Override @@ -184,7 +184,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The bytes for zone. */ @java.lang.Override @@ -217,7 +217,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The clusterId. */ @java.lang.Override @@ -245,7 +245,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The bytes for clusterId. */ @java.lang.Override @@ -278,7 +278,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The nodePoolId. */ @java.lang.Override @@ -306,7 +306,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The bytes for nodePoolId. */ @java.lang.Override @@ -398,7 +398,9 @@ public com.google.protobuf.ByteString getNodeVersionBytes() { * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -421,7 +423,9 @@ public java.lang.String getImageType() { * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -2446,7 +2450,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The projectId. */ @java.lang.Deprecated @@ -2474,7 +2478,7 @@ public java.lang.String getProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -2502,7 +2506,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @param value The projectId to set. * @return This builder for chaining. */ @@ -2529,7 +2533,7 @@ public Builder setProjectId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2552,7 +2556,7 @@ public Builder clearProjectId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @param value The bytes for projectId to set. * @return This builder for chaining. */ @@ -2582,7 +2586,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The zone. */ @java.lang.Deprecated @@ -2610,7 +2614,7 @@ public java.lang.String getZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The bytes for zone. */ @java.lang.Deprecated @@ -2638,7 +2642,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @param value The zone to set. * @return This builder for chaining. */ @@ -2665,7 +2669,7 @@ public Builder setZone(java.lang.String value) { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2688,7 +2692,7 @@ public Builder clearZone() { * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @param value The bytes for zone to set. * @return This builder for chaining. */ @@ -2717,7 +2721,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The clusterId. */ @java.lang.Deprecated @@ -2744,7 +2748,7 @@ public java.lang.String getClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -2771,7 +2775,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @param value The clusterId to set. * @return This builder for chaining. */ @@ -2797,7 +2801,7 @@ public Builder setClusterId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2819,7 +2823,7 @@ public Builder clearClusterId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ @@ -2848,7 +2852,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The nodePoolId. */ @java.lang.Deprecated @@ -2875,7 +2879,7 @@ public java.lang.String getNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -2902,7 +2906,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @param value The nodePoolId to set. * @return This builder for chaining. */ @@ -2928,7 +2932,7 @@ public Builder setNodePoolId(java.lang.String value) { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return This builder for chaining. */ @java.lang.Deprecated @@ -2950,7 +2954,7 @@ public Builder clearNodePoolId() { * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ @@ -3117,7 +3121,9 @@ public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3139,7 +3145,9 @@ public java.lang.String getImageType() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3161,7 +3169,9 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3182,7 +3192,9 @@ public Builder setImageType(java.lang.String value) { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -3199,7 +3211,9 @@ public Builder clearImageType() { * * *
-     * Required. The desired image type for the node pool.
+     * Required. The desired image type for the node pool. Please see
+     * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+     * available image types.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java index adc18faa165d..d1a038b86d5d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java @@ -36,7 +36,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The projectId. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2528 + * google/container/v1beta1/cluster_service.proto;l=2530 * @return The bytes for projectId. */ @java.lang.Deprecated @@ -73,7 +73,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The zone. */ @java.lang.Deprecated @@ -91,7 +91,7 @@ public interface UpdateNodePoolRequestOrBuilder * string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2535 + * google/container/v1beta1/cluster_service.proto;l=2537 * @return The bytes for zone. */ @java.lang.Deprecated @@ -109,7 +109,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The clusterId. */ @java.lang.Deprecated @@ -126,7 +126,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2539 + * google/container/v1beta1/cluster_service.proto;l=2541 * @return The bytes for clusterId. */ @java.lang.Deprecated @@ -144,7 +144,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The nodePoolId. */ @java.lang.Deprecated @@ -161,7 +161,7 @@ public interface UpdateNodePoolRequestOrBuilder * * * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2544 + * google/container/v1beta1/cluster_service.proto;l=2546 * @return The bytes for nodePoolId. */ @java.lang.Deprecated @@ -212,7 +212,9 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -224,7 +226,9 @@ public interface UpdateNodePoolRequestOrBuilder * * *
-   * Required. The desired image type for the node pool.
+   * Required. The desired image type for the node pool. Please see
+   * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
+   * available image types.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java index 88e795ba29a0..6f316ce5e404 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java @@ -84,7 +84,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4560 * @return The identityNamespace. */ @java.lang.Override @@ -110,7 +110,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4560 * @return The bytes for identityNamespace. */ @java.lang.Override @@ -631,7 +631,7 @@ public Builder mergeFrom( * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4560 * @return The identityNamespace. */ @java.lang.Deprecated @@ -656,7 +656,7 @@ public java.lang.String getIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4560 * @return The bytes for identityNamespace. */ @java.lang.Deprecated @@ -681,7 +681,7 @@ public com.google.protobuf.ByteString getIdentityNamespaceBytes() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4560 * @param value The identityNamespace to set. * @return This builder for chaining. */ @@ -705,7 +705,7 @@ public Builder setIdentityNamespace(java.lang.String value) { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4560 * @return This builder for chaining. */ @java.lang.Deprecated @@ -725,7 +725,7 @@ public Builder clearIdentityNamespace() { * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4560 * @param value The bytes for identityNamespace to set. * @return This builder for chaining. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java index 732ee26829bc..e210bb9cad05 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java @@ -33,7 +33,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4560 * @return The identityNamespace. */ @java.lang.Deprecated @@ -48,7 +48,7 @@ public interface WorkloadIdentityConfigOrBuilder * string identity_namespace = 1 [deprecated = true]; * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4553 + * See google/container/v1beta1/cluster_service.proto;l=4560 * @return The bytes for identityNamespace. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java index a2b498cbde3c..b61c48d62d6e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java @@ -454,7 +454,7 @@ private Mode(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4163 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -475,7 +475,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4163 * @return The nodeMetadata. */ @java.lang.Override @@ -910,7 +910,7 @@ public Builder mergeFrom( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4163 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Override @@ -931,7 +931,7 @@ public int getNodeMetadataValue() { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4163 * @param value The enum numeric value on the wire for nodeMetadata to set. * @return This builder for chaining. */ @@ -955,7 +955,7 @@ public Builder setNodeMetadataValue(int value) { * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4163 * @return The nodeMetadata. */ @java.lang.Override @@ -980,7 +980,7 @@ public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeM * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4163 * @param value The nodeMetadata to set. * @return This builder for chaining. */ @@ -1008,7 +1008,7 @@ public Builder setNodeMetadata( * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4163 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java index ee7ef85e8431..85a070eb7dde 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java @@ -36,7 +36,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4163 * @return The enum numeric value on the wire for nodeMetadata. */ @java.lang.Deprecated @@ -54,7 +54,7 @@ public interface WorkloadMetadataConfigOrBuilder * * * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4156 + * google/container/v1beta1/cluster_service.proto;l=4163 * @return The nodeMetadata. */ @java.lang.Deprecated diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto index 2bbbd5bcf19d..fee552d5f29c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto @@ -676,7 +676,9 @@ message NodeConfig { map metadata = 4; // The image type to use for this node. Note that for a given image type, - // the latest version of it will be used. + // the latest version of it will be used. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 5; // The map of Kubernetes labels (key/value pairs) to be applied to each node. @@ -2558,7 +2560,9 @@ message UpdateNodePoolRequest { // - "-": picks the Kubernetes master version string node_version = 5 [(google.api.field_behavior) = REQUIRED]; - // Required. The desired image type for the node pool. + // Required. The desired image type for the node pool. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 6 [(google.api.field_behavior) = REQUIRED]; // The desired list of Google Compute Engine @@ -3452,7 +3456,9 @@ message NodePool { // [Output only] Server-defined URL for the resource. string self_link = 100; - // The version of the Kubernetes of this node. + // The version of Kubernetes running on this NodePool's nodes. If unspecified, + // it defaults as described + // [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version). string version = 101; // [Output only] The resource URLs of the [managed instance @@ -3846,8 +3852,7 @@ message AutoprovisioningNodePoolDefaults { // information, read [how to specify min CPU // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). // This field is deprecated, min_cpu_platform should be specified using - // https://cloud.google.com/requested-min-cpu-platform label selector on the - // pod. + // `cloud.google.com/requested-min-cpu-platform` label selector on the pod. // To unset the min cpu platform field pass "automatic" // as field value. string min_cpu_platform = 5 [deprecated = true]; @@ -3876,7 +3881,9 @@ message AutoprovisioningNodePoolDefaults { // https://cloud.google.com/compute/docs/disks/customer-managed-encryption string boot_disk_kms_key = 9; - // The image type to use for NAP created node. + // The image type to use for NAP created node. Please see + // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for + // available image types. string image_type = 10; } @@ -4987,7 +4994,8 @@ message IdentityServiceConfig { // Strategy used for node pool update. enum NodePoolUpdateStrategy { - // Default value. + // Default value if unset. GKE internally defaults the update strategy to + // SURGE for unspecified strategies. NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0; // blue-green upgrade. diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/AsyncCancelOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/AsyncCancelOperation.java new file mode 100644 index 000000000000..f7babf9a48d5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/AsyncCancelOperation.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CancelOperation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CancelOperationRequest; +import com.google.protobuf.Empty; + +public class AsyncCancelOperation { + + public static void main(String[] args) throws Exception { + asyncCancelOperation(); + } + + public static void asyncCancelOperation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CancelOperationRequest request = + CancelOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.cancelOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CancelOperation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperation.java new file mode 100644 index 000000000000..2129b8659017 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CancelOperation_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CancelOperationRequest; +import com.google.protobuf.Empty; + +public class SyncCancelOperation { + + public static void main(String[] args) throws Exception { + syncCancelOperation(); + } + + public static void syncCancelOperation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CancelOperationRequest request = + CancelOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + clusterManagerClient.cancelOperation(request); + } + } +} +// [END container_v1_generated_ClusterManager_CancelOperation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationString.java new file mode 100644 index 000000000000..ddc11f6d1b7b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CancelOperation_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.protobuf.Empty; + +public class SyncCancelOperationString { + + public static void main(String[] args) throws Exception { + syncCancelOperationString(); + } + + public static void syncCancelOperationString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + clusterManagerClient.cancelOperation(name); + } + } +} +// [END container_v1_generated_ClusterManager_CancelOperation_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java new file mode 100644 index 000000000000..bd2efd8c96b1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CancelOperation_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.protobuf.Empty; + +public class SyncCancelOperationStringStringString { + + public static void main(String[] args) throws Exception { + syncCancelOperationStringStringString(); + } + + public static void syncCancelOperationStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String operationId = "operationId129704162"; + clusterManagerClient.cancelOperation(projectId, zone, operationId); + } + } +} +// [END container_v1_generated_ClusterManager_CancelOperation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java new file mode 100644 index 000000000000..b8d8bbda6dbf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteIPRotation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.Operation; + +public class AsyncCompleteIPRotation { + + public static void main(String[] args) throws Exception { + asyncCompleteIPRotation(); + } + + public static void asyncCompleteIPRotation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteIPRotationRequest request = + CompleteIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.completeIPRotationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteIPRotation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotation.java new file mode 100644 index 000000000000..6c5ca47b13df --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteIPRotation_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CompleteIPRotationRequest; +import com.google.container.v1.Operation; + +public class SyncCompleteIPRotation { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotation(); + } + + public static void syncCompleteIPRotation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteIPRotationRequest request = + CompleteIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.completeIPRotation(request); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteIPRotation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationString.java new file mode 100644 index 000000000000..e59f6eae7c1c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteIPRotation_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncCompleteIPRotationString { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotationString(); + } + + public static void syncCompleteIPRotationString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.completeIPRotation(name); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteIPRotation_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java new file mode 100644 index 000000000000..12fcfc410ca0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteIPRotation_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncCompleteIPRotationStringStringString { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotationStringStringString(); + } + + public static void syncCompleteIPRotationStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.completeIPRotation(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteIPRotation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java new file mode 100644 index 000000000000..1aff18671402 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; +import com.google.protobuf.Empty; + +public class AsyncCompleteNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + asyncCompleteNodePoolUpgrade(); + } + + public static void asyncCompleteNodePoolUpgrade() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + clusterManagerClient.completeNodePoolUpgradeCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java new file mode 100644 index 000000000000..728068e64077 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CompleteNodePoolUpgradeRequest; +import com.google.protobuf.Empty; + +public class SyncCompleteNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + syncCompleteNodePoolUpgrade(); + } + + public static void syncCompleteNodePoolUpgrade() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + clusterManagerClient.completeNodePoolUpgrade(request); + } + } +} +// [END container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetCredentialsProvider.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..7bed37f35531 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.cloud.container.v1.ClusterManagerSettings; +import com.google.cloud.container.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() 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 + ClusterManagerSettings clusterManagerSettings = + ClusterManagerSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings); + } +} +// [END container_v1_generated_ClusterManager_Create_SetCredentialsProvider_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetEndpoint.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..736a8ed1d75c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/create/SyncCreateSetEndpoint.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_Create_SetEndpoint_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.cloud.container.v1.ClusterManagerSettings; +import com.google.cloud.container.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() 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 + ClusterManagerSettings clusterManagerSettings = + ClusterManagerSettings.newBuilder().setEndpoint(myEndpoint).build(); + ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings); + } +} +// [END container_v1_generated_ClusterManager_Create_SetEndpoint_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/AsyncCreateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/AsyncCreateCluster.java new file mode 100644 index 000000000000..4c02f7d16bad --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/AsyncCreateCluster.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.CreateClusterRequest; +import com.google.container.v1.Operation; + +public class AsyncCreateCluster { + + public static void main(String[] args) throws Exception { + asyncCreateCluster(); + } + + public static void asyncCreateCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setCluster(Cluster.newBuilder().build()) + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.createClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CreateCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateCluster.java new file mode 100644 index 000000000000..507becfbbb09 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateCluster.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.CreateClusterRequest; +import com.google.container.v1.Operation; + +public class SyncCreateCluster { + + public static void main(String[] args) throws Exception { + syncCreateCluster(); + } + + public static void syncCreateCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setCluster(Cluster.newBuilder().build()) + .setParent("parent-995424086") + .build(); + Operation response = clusterManagerClient.createCluster(request); + } + } +} +// [END container_v1_generated_ClusterManager_CreateCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringCluster.java new file mode 100644 index 000000000000..3942c972e4a1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringCluster.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateCluster_StringCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.Operation; + +public class SyncCreateClusterStringCluster { + + public static void main(String[] args) throws Exception { + syncCreateClusterStringCluster(); + } + + public static void syncCreateClusterStringCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + Cluster cluster = Cluster.newBuilder().build(); + Operation response = clusterManagerClient.createCluster(parent, cluster); + } + } +} +// [END container_v1_generated_ClusterManager_CreateCluster_StringCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java new file mode 100644 index 000000000000..1a57023efea7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateCluster_StringStringCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.Operation; + +public class SyncCreateClusterStringStringCluster { + + public static void main(String[] args) throws Exception { + syncCreateClusterStringStringCluster(); + } + + public static void syncCreateClusterStringStringCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + Cluster cluster = Cluster.newBuilder().build(); + Operation response = clusterManagerClient.createCluster(projectId, zone, cluster); + } + } +} +// [END container_v1_generated_ClusterManager_CreateCluster_StringStringCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/AsyncCreateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/AsyncCreateNodePool.java new file mode 100644 index 000000000000..0bed5cd179b0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/AsyncCreateNodePool.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CreateNodePoolRequest; +import com.google.container.v1.NodePool; +import com.google.container.v1.Operation; + +public class AsyncCreateNodePool { + + public static void main(String[] args) throws Exception { + asyncCreateNodePool(); + } + + public static void asyncCreateNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateNodePoolRequest request = + CreateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePool(NodePool.newBuilder().build()) + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.createNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_CreateNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePool.java new file mode 100644 index 000000000000..ce61b8d8bea3 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePool.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateNodePool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.CreateNodePoolRequest; +import com.google.container.v1.NodePool; +import com.google.container.v1.Operation; + +public class SyncCreateNodePool { + + public static void main(String[] args) throws Exception { + syncCreateNodePool(); + } + + public static void syncCreateNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateNodePoolRequest request = + CreateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePool(NodePool.newBuilder().build()) + .setParent("parent-995424086") + .build(); + Operation response = clusterManagerClient.createNodePool(request); + } + } +} +// [END container_v1_generated_ClusterManager_CreateNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringNodepool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringNodepool.java new file mode 100644 index 000000000000..1acba944fdef --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringNodepool.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_CreateNodePool_StringNodepool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePool; +import com.google.container.v1.Operation; + +public class SyncCreateNodePoolStringNodepool { + + public static void main(String[] args) throws Exception { + syncCreateNodePoolStringNodepool(); + } + + public static void syncCreateNodePoolStringNodepool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + NodePool nodePool = NodePool.newBuilder().build(); + Operation response = clusterManagerClient.createNodePool(parent, nodePool); + } + } +} +// [END container_v1_generated_ClusterManager_CreateNodePool_StringNodepool_sync] diff --git a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservice/create/SyncCreateSetCredentialsProvider1.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java similarity index 53% rename from java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservice/create/SyncCreateSetCredentialsProvider1.java rename to java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java index 852d2ade277a..01803246d6ba 100644 --- a/java-video-intelligence/samples/snippets/generated/com/google/cloud/videointelligence/v1p3beta1/streamingvideointelligenceservice/create/SyncCreateSetCredentialsProvider1.java +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java @@ -14,28 +14,33 @@ * limitations under the License. */ -package com.google.cloud.videointelligence.v1p3beta1.samples; +package com.google.cloud.container.v1.samples; -// [START videointelligence_v1p3beta1_generated_StreamingVideoIntelligenceService_Create_SetCredentialsProvider1_sync] -import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClient; -import com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceSettings; +// [START container_v1_generated_ClusterManager_CreateNodePool_StringStringStringNodepool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePool; +import com.google.container.v1.Operation; -public class SyncCreateSetCredentialsProvider1 { +public class SyncCreateNodePoolStringStringStringNodepool { public static void main(String[] args) throws Exception { - syncCreateSetCredentialsProvider1(); + syncCreateNodePoolStringStringStringNodepool(); } - public static void syncCreateSetCredentialsProvider1() throws Exception { + public static void syncCreateNodePoolStringStringStringNodepool() 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 - StreamingVideoIntelligenceServiceSettings streamingVideoIntelligenceServiceSettings = - StreamingVideoIntelligenceServiceSettings.newHttpJsonBuilder().build(); - StreamingVideoIntelligenceServiceClient streamingVideoIntelligenceServiceClient = - StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + NodePool nodePool = NodePool.newBuilder().build(); + Operation response = + clusterManagerClient.createNodePool(projectId, zone, clusterId, nodePool); + } } } -// [END videointelligence_v1p3beta1_generated_StreamingVideoIntelligenceService_Create_SetCredentialsProvider1_sync] +// [END container_v1_generated_ClusterManager_CreateNodePool_StringStringStringNodepool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/AsyncDeleteCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/AsyncDeleteCluster.java new file mode 100644 index 000000000000..f9c58dfa33d5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/AsyncDeleteCluster.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.DeleteClusterRequest; +import com.google.container.v1.Operation; + +public class AsyncDeleteCluster { + + public static void main(String[] args) throws Exception { + asyncDeleteCluster(); + } + + public static void asyncDeleteCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.deleteClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteCluster.java new file mode 100644 index 000000000000..36d21702328e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteCluster.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.DeleteClusterRequest; +import com.google.container.v1.Operation; + +public class SyncDeleteCluster { + + public static void main(String[] args) throws Exception { + syncDeleteCluster(); + } + + public static void syncDeleteCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.deleteCluster(request); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterString.java new file mode 100644 index 000000000000..ff4a8f96129c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteCluster_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncDeleteClusterString { + + public static void main(String[] args) throws Exception { + syncDeleteClusterString(); + } + + public static void syncDeleteClusterString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.deleteCluster(name); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteCluster_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java new file mode 100644 index 000000000000..fc799445d3e8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteCluster_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncDeleteClusterStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteClusterStringStringString(); + } + + public static void syncDeleteClusterStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteCluster_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/AsyncDeleteNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/AsyncDeleteNodePool.java new file mode 100644 index 000000000000..14b623dc87d8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/AsyncDeleteNodePool.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.DeleteNodePoolRequest; +import com.google.container.v1.Operation; + +public class AsyncDeleteNodePool { + + public static void main(String[] args) throws Exception { + asyncDeleteNodePool(); + } + + public static void asyncDeleteNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.deleteNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePool.java new file mode 100644 index 000000000000..80d40a38aeb7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteNodePool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.DeleteNodePoolRequest; +import com.google.container.v1.Operation; + +public class SyncDeleteNodePool { + + public static void main(String[] args) throws Exception { + syncDeleteNodePool(); + } + + public static void syncDeleteNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.deleteNodePool(request); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolString.java new file mode 100644 index 000000000000..a86c0467d54f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteNodePool_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncDeleteNodePoolString { + + public static void main(String[] args) throws Exception { + syncDeleteNodePoolString(); + } + + public static void syncDeleteNodePoolString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.deleteNodePool(name); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteNodePool_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java new file mode 100644 index 000000000000..eceaddb94dc2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_DeleteNodePool_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncDeleteNodePoolStringStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteNodePoolStringStringStringString(); + } + + public static void syncDeleteNodePoolStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + Operation response = + clusterManagerClient.deleteNodePool(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1_generated_ClusterManager_DeleteNodePool_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/AsyncGetCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/AsyncGetCluster.java new file mode 100644 index 000000000000..912482010cba --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/AsyncGetCluster.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.GetClusterRequest; + +public class AsyncGetCluster { + + public static void main(String[] args) throws Exception { + asyncGetCluster(); + } + + public static void asyncGetCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetClusterRequest request = + GetClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getClusterCallable().futureCall(request); + // Do something. + Cluster response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetCluster.java new file mode 100644 index 000000000000..3bb1ab182d10 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetCluster.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; +import com.google.container.v1.GetClusterRequest; + +public class SyncGetCluster { + + public static void main(String[] args) throws Exception { + syncGetCluster(); + } + + public static void syncGetCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetClusterRequest request = + GetClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Cluster response = clusterManagerClient.getCluster(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterString.java new file mode 100644 index 000000000000..a80a8d527df4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetCluster_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; + +public class SyncGetClusterString { + + public static void main(String[] args) throws Exception { + syncGetClusterString(); + } + + public static void syncGetClusterString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Cluster response = clusterManagerClient.getCluster(name); + } + } +} +// [END container_v1_generated_ClusterManager_GetCluster_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterStringStringString.java new file mode 100644 index 000000000000..68a9f6d4e7bd --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getcluster/SyncGetClusterStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetCluster_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Cluster; + +public class SyncGetClusterStringStringString { + + public static void main(String[] args) throws Exception { + syncGetClusterStringStringString(); + } + + public static void syncGetClusterStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Cluster response = clusterManagerClient.getCluster(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_GetCluster_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java new file mode 100644 index 000000000000..2694d56a6755 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetJSONWebKeys_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetJSONWebKeysRequest; +import com.google.container.v1.GetJSONWebKeysResponse; + +public class AsyncGetJSONWebKeys { + + public static void main(String[] args) throws Exception { + asyncGetJSONWebKeys(); + } + + public static void asyncGetJSONWebKeys() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetJSONWebKeysRequest request = + GetJSONWebKeysRequest.newBuilder().setParent("parent-995424086").build(); + ApiFuture future = + clusterManagerClient.getJSONWebKeysCallable().futureCall(request); + // Do something. + GetJSONWebKeysResponse response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetJSONWebKeys_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java new file mode 100644 index 000000000000..82f9b6061373 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetJSONWebKeys_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetJSONWebKeysRequest; +import com.google.container.v1.GetJSONWebKeysResponse; + +public class SyncGetJSONWebKeys { + + public static void main(String[] args) throws Exception { + syncGetJSONWebKeys(); + } + + public static void syncGetJSONWebKeys() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetJSONWebKeysRequest request = + GetJSONWebKeysRequest.newBuilder().setParent("parent-995424086").build(); + GetJSONWebKeysResponse response = clusterManagerClient.getJSONWebKeys(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetJSONWebKeys_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/AsyncGetNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/AsyncGetNodePool.java new file mode 100644 index 000000000000..d766be313fd5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/AsyncGetNodePool.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetNodePoolRequest; +import com.google.container.v1.NodePool; + +public class AsyncGetNodePool { + + public static void main(String[] args) throws Exception { + asyncGetNodePool(); + } + + public static void asyncGetNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetNodePoolRequest request = + GetNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getNodePoolCallable().futureCall(request); + // Do something. + NodePool response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePool.java new file mode 100644 index 000000000000..2c5be1fb90e3 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetNodePool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetNodePoolRequest; +import com.google.container.v1.NodePool; + +public class SyncGetNodePool { + + public static void main(String[] args) throws Exception { + syncGetNodePool(); + } + + public static void syncGetNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetNodePoolRequest request = + GetNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + NodePool response = clusterManagerClient.getNodePool(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolString.java new file mode 100644 index 000000000000..7e574ce3c01e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetNodePool_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePool; + +public class SyncGetNodePoolString { + + public static void main(String[] args) throws Exception { + syncGetNodePoolString(); + } + + public static void syncGetNodePoolString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + NodePool response = clusterManagerClient.getNodePool(name); + } + } +} +// [END container_v1_generated_ClusterManager_GetNodePool_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java new file mode 100644 index 000000000000..78c0c756181a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetNodePool_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePool; + +public class SyncGetNodePoolStringStringStringString { + + public static void main(String[] args) throws Exception { + syncGetNodePoolStringStringStringString(); + } + + public static void syncGetNodePoolStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + NodePool response = clusterManagerClient.getNodePool(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1_generated_ClusterManager_GetNodePool_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/AsyncGetOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/AsyncGetOperation.java new file mode 100644 index 000000000000..71e2f7400c04 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/AsyncGetOperation.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetOperation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetOperationRequest; +import com.google.container.v1.Operation; + +public class AsyncGetOperation { + + public static void main(String[] args) throws Exception { + asyncGetOperation(); + } + + public static void asyncGetOperation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetOperationRequest request = + GetOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetOperation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperation.java new file mode 100644 index 000000000000..e2513d2a0edc --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetOperation_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetOperationRequest; +import com.google.container.v1.Operation; + +public class SyncGetOperation { + + public static void main(String[] args) throws Exception { + syncGetOperation(); + } + + public static void syncGetOperation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetOperationRequest request = + GetOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.getOperation(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetOperation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationString.java new file mode 100644 index 000000000000..51f3be8d0c90 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetOperation_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncGetOperationString { + + public static void main(String[] args) throws Exception { + syncGetOperationString(); + } + + public static void syncGetOperationString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.getOperation(name); + } + } +} +// [END container_v1_generated_ClusterManager_GetOperation_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationStringStringString.java new file mode 100644 index 000000000000..c65da8faecf4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getoperation/SyncGetOperationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetOperation_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncGetOperationStringStringString { + + public static void main(String[] args) throws Exception { + syncGetOperationStringStringString(); + } + + public static void syncGetOperationStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String operationId = "operationId129704162"; + Operation response = clusterManagerClient.getOperation(projectId, zone, operationId); + } + } +} +// [END container_v1_generated_ClusterManager_GetOperation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/AsyncGetServerConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/AsyncGetServerConfig.java new file mode 100644 index 000000000000..f06694975584 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/AsyncGetServerConfig.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetServerConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetServerConfigRequest; +import com.google.container.v1.ServerConfig; + +public class AsyncGetServerConfig { + + public static void main(String[] args) throws Exception { + asyncGetServerConfig(); + } + + public static void asyncGetServerConfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.getServerConfigCallable().futureCall(request); + // Do something. + ServerConfig response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_GetServerConfig_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfig.java new file mode 100644 index 000000000000..11718df12cdf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfig.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetServerConfig_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.GetServerConfigRequest; +import com.google.container.v1.ServerConfig; + +public class SyncGetServerConfig { + + public static void main(String[] args) throws Exception { + syncGetServerConfig(); + } + + public static void syncGetServerConfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setName("name3373707") + .build(); + ServerConfig response = clusterManagerClient.getServerConfig(request); + } + } +} +// [END container_v1_generated_ClusterManager_GetServerConfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigString.java new file mode 100644 index 000000000000..034eb117f88e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetServerConfig_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ServerConfig; + +public class SyncGetServerConfigString { + + public static void main(String[] args) throws Exception { + syncGetServerConfigString(); + } + + public static void syncGetServerConfigString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + ServerConfig response = clusterManagerClient.getServerConfig(name); + } + } +} +// [END container_v1_generated_ClusterManager_GetServerConfig_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java new file mode 100644 index 000000000000..5e7e2d406610 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_GetServerConfig_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ServerConfig; + +public class SyncGetServerConfigStringString { + + public static void main(String[] args) throws Exception { + syncGetServerConfigStringString(); + } + + public static void syncGetServerConfigStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ServerConfig response = clusterManagerClient.getServerConfig(projectId, zone); + } + } +} +// [END container_v1_generated_ClusterManager_GetServerConfig_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/AsyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/AsyncListClusters.java new file mode 100644 index 000000000000..85fd0010748d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/AsyncListClusters.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListClusters_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListClustersRequest; +import com.google.container.v1.ListClustersResponse; + +public class AsyncListClusters { + + public static void main(String[] args) throws Exception { + asyncListClusters(); + } + + public static void asyncListClusters() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listClustersCallable().futureCall(request); + // Do something. + ListClustersResponse response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_ListClusters_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..d35d3e5a91e6 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClusters.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListClusters_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListClustersRequest; +import com.google.container.v1.ListClustersResponse; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ListClustersResponse response = clusterManagerClient.listClusters(request); + } + } +} +// [END container_v1_generated_ClusterManager_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersString.java new file mode 100644 index 000000000000..7992a2486d60 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListClusters_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListClustersResponse; + +public class SyncListClustersString { + + public static void main(String[] args) throws Exception { + syncListClustersString(); + } + + public static void syncListClustersString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + ListClustersResponse response = clusterManagerClient.listClusters(parent); + } + } +} +// [END container_v1_generated_ClusterManager_ListClusters_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersStringString.java new file mode 100644 index 000000000000..4f7c796d1a4f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listclusters/SyncListClustersStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListClusters_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListClustersResponse; + +public class SyncListClustersStringString { + + public static void main(String[] args) throws Exception { + syncListClustersStringString(); + } + + public static void syncListClustersStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ListClustersResponse response = clusterManagerClient.listClusters(projectId, zone); + } + } +} +// [END container_v1_generated_ClusterManager_ListClusters_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/AsyncListNodePools.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/AsyncListNodePools.java new file mode 100644 index 000000000000..face94f9ba27 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/AsyncListNodePools.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListNodePools_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListNodePoolsRequest; +import com.google.container.v1.ListNodePoolsResponse; + +public class AsyncListNodePools { + + public static void main(String[] args) throws Exception { + asyncListNodePools(); + } + + public static void asyncListNodePools() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListNodePoolsRequest request = + ListNodePoolsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listNodePoolsCallable().futureCall(request); + // Do something. + ListNodePoolsResponse response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_ListNodePools_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePools.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePools.java new file mode 100644 index 000000000000..341d47f02fa3 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePools.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListNodePools_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListNodePoolsRequest; +import com.google.container.v1.ListNodePoolsResponse; + +public class SyncListNodePools { + + public static void main(String[] args) throws Exception { + syncListNodePools(); + } + + public static void syncListNodePools() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListNodePoolsRequest request = + ListNodePoolsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setParent("parent-995424086") + .build(); + ListNodePoolsResponse response = clusterManagerClient.listNodePools(request); + } + } +} +// [END container_v1_generated_ClusterManager_ListNodePools_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsString.java new file mode 100644 index 000000000000..1ee69ffb6b93 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListNodePools_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListNodePoolsResponse; + +public class SyncListNodePoolsString { + + public static void main(String[] args) throws Exception { + syncListNodePoolsString(); + } + + public static void syncListNodePoolsString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + ListNodePoolsResponse response = clusterManagerClient.listNodePools(parent); + } + } +} +// [END container_v1_generated_ClusterManager_ListNodePools_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java new file mode 100644 index 000000000000..20e9f9014a71 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListNodePools_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListNodePoolsResponse; + +public class SyncListNodePoolsStringStringString { + + public static void main(String[] args) throws Exception { + syncListNodePoolsStringStringString(); + } + + public static void syncListNodePoolsStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + ListNodePoolsResponse response = + clusterManagerClient.listNodePools(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_ListNodePools_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/AsyncListOperations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/AsyncListOperations.java new file mode 100644 index 000000000000..29ac9e5c6627 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/AsyncListOperations.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListOperations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListOperationsRequest; +import com.google.container.v1.ListOperationsResponse; + +public class AsyncListOperations { + + public static void main(String[] args) throws Exception { + asyncListOperations(); + } + + public static void asyncListOperations() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListOperationsRequest request = + ListOperationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listOperationsCallable().futureCall(request); + // Do something. + ListOperationsResponse response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_ListOperations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperations.java new file mode 100644 index 000000000000..b6fd93ad44f8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperations.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListOperations_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListOperationsRequest; +import com.google.container.v1.ListOperationsResponse; + +public class SyncListOperations { + + public static void main(String[] args) throws Exception { + syncListOperations(); + } + + public static void syncListOperations() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListOperationsRequest request = + ListOperationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ListOperationsResponse response = clusterManagerClient.listOperations(request); + } + } +} +// [END container_v1_generated_ClusterManager_ListOperations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperationsStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperationsStringString.java new file mode 100644 index 000000000000..8b2707e27bf5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listoperations/SyncListOperationsStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_ListOperations_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListOperationsResponse; + +public class SyncListOperationsStringString { + + public static void main(String[] args) throws Exception { + syncListOperationsStringString(); + } + + public static void syncListOperationsStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ListOperationsResponse response = clusterManagerClient.listOperations(projectId, zone); + } + } +} +// [END container_v1_generated_ClusterManager_ListOperations_StringString_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/AsyncListPolicyBasedRoutes.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java similarity index 52% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/AsyncListPolicyBasedRoutes.java rename to java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java index eb8cc1abef51..006d50ae8d16 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/AsyncListPolicyBasedRoutes.java +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java @@ -14,44 +14,41 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.container.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_async] +// [START container_v1_generated_ClusterManager_ListUsableSubnetworks_async] import com.google.api.core.ApiFuture; -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest; -import com.google.cloud.networkconnectivity.v1.LocationName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListUsableSubnetworksRequest; +import com.google.container.v1.UsableSubnetwork; -public class AsyncListPolicyBasedRoutes { +public class AsyncListUsableSubnetworks { public static void main(String[] args) throws Exception { - asyncListPolicyBasedRoutes(); + asyncListUsableSubnetworks(); } - public static void asyncListPolicyBasedRoutes() throws Exception { + public static void asyncListUsableSubnetworks() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - ListPolicyBasedRoutesRequest request = - ListPolicyBasedRoutesRequest.newBuilder() - .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") .setPageSize(883849137) .setPageToken("pageToken873572522") - .setFilter("filter-1274492040") - .setOrderBy("orderBy-1207110587") .build(); - ApiFuture future = - policyBasedRoutingServiceClient.listPolicyBasedRoutesPagedCallable().futureCall(request); + ApiFuture future = + clusterManagerClient.listUsableSubnetworksPagedCallable().futureCall(request); // Do something. - for (PolicyBasedRoute element : future.get().iterateAll()) { + for (UsableSubnetwork element : future.get().iterateAll()) { // doThingsWith(element); } } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_async] +// [END container_v1_generated_ClusterManager_ListUsableSubnetworks_async] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/AsyncListPolicyBasedRoutesPaged.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java similarity index 54% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/AsyncListPolicyBasedRoutesPaged.java rename to java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java index a0c7ac9eb18b..252b8a92021c 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/AsyncListPolicyBasedRoutesPaged.java +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java @@ -14,42 +14,39 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.container.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_Paged_async] -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest; -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse; -import com.google.cloud.networkconnectivity.v1.LocationName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START container_v1_generated_ClusterManager_ListUsableSubnetworks_Paged_async] +import com.google.cloud.container.v1.ClusterManagerClient; import com.google.common.base.Strings; +import com.google.container.v1.ListUsableSubnetworksRequest; +import com.google.container.v1.ListUsableSubnetworksResponse; +import com.google.container.v1.UsableSubnetwork; -public class AsyncListPolicyBasedRoutesPaged { +public class AsyncListUsableSubnetworksPaged { public static void main(String[] args) throws Exception { - asyncListPolicyBasedRoutesPaged(); + asyncListUsableSubnetworksPaged(); } - public static void asyncListPolicyBasedRoutesPaged() throws Exception { + public static void asyncListUsableSubnetworksPaged() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - ListPolicyBasedRoutesRequest request = - ListPolicyBasedRoutesRequest.newBuilder() - .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") .setPageSize(883849137) .setPageToken("pageToken873572522") - .setFilter("filter-1274492040") - .setOrderBy("orderBy-1207110587") .build(); while (true) { - ListPolicyBasedRoutesResponse response = - policyBasedRoutingServiceClient.listPolicyBasedRoutesCallable().call(request); - for (PolicyBasedRoute element : response.getPolicyBasedRoutesList()) { + ListUsableSubnetworksResponse response = + clusterManagerClient.listUsableSubnetworksCallable().call(request); + for (UsableSubnetwork element : response.getSubnetworksList()) { // doThingsWith(element); } String nextPageToken = response.getNextPageToken(); @@ -62,4 +59,4 @@ public static void asyncListPolicyBasedRoutesPaged() throws Exception { } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_Paged_async] +// [END container_v1_generated_ClusterManager_ListUsableSubnetworks_Paged_async] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/SyncListPolicyBasedRoutes.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java similarity index 52% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/SyncListPolicyBasedRoutes.java rename to java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java index 3b39b2b51744..5c9792bfc9ef 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/SyncListPolicyBasedRoutes.java +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java @@ -14,41 +14,38 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.container.v1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_sync] -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest; -import com.google.cloud.networkconnectivity.v1.LocationName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START container_v1_generated_ClusterManager_ListUsableSubnetworks_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ListUsableSubnetworksRequest; +import com.google.container.v1.UsableSubnetwork; -public class SyncListPolicyBasedRoutes { +public class SyncListUsableSubnetworks { public static void main(String[] args) throws Exception { - syncListPolicyBasedRoutes(); + syncListUsableSubnetworks(); } - public static void syncListPolicyBasedRoutes() throws Exception { + public static void syncListUsableSubnetworks() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - ListPolicyBasedRoutesRequest request = - ListPolicyBasedRoutesRequest.newBuilder() - .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") .setPageSize(883849137) .setPageToken("pageToken873572522") - .setFilter("filter-1274492040") - .setOrderBy("orderBy-1207110587") .build(); - for (PolicyBasedRoute element : - policyBasedRoutingServiceClient.listPolicyBasedRoutes(request).iterateAll()) { + for (UsableSubnetwork element : + clusterManagerClient.listUsableSubnetworks(request).iterateAll()) { // doThingsWith(element); } } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_sync] +// [END container_v1_generated_ClusterManager_ListUsableSubnetworks_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java new file mode 100644 index 000000000000..67f6970f4f6f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.RollbackNodePoolUpgradeRequest; + +public class AsyncRollbackNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + asyncRollbackNodePoolUpgrade(); + } + + public static void asyncRollbackNodePoolUpgrade() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + RollbackNodePoolUpgradeRequest request = + RollbackNodePoolUpgradeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .setRespectPdb(true) + .build(); + ApiFuture future = + clusterManagerClient.rollbackNodePoolUpgradeCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java new file mode 100644 index 000000000000..4c3a6efd386c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.RollbackNodePoolUpgradeRequest; + +public class SyncRollbackNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + syncRollbackNodePoolUpgrade(); + } + + public static void syncRollbackNodePoolUpgrade() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + RollbackNodePoolUpgradeRequest request = + RollbackNodePoolUpgradeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .setRespectPdb(true) + .build(); + Operation response = clusterManagerClient.rollbackNodePoolUpgrade(request); + } + } +} +// [END container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_sync] diff --git a/java-mediatranslation/samples/snippets/generated/com/google/cloud/mediatranslation/v1beta1/speechtranslationservice/create/SyncCreateSetCredentialsProvider1.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeString.java similarity index 55% rename from java-mediatranslation/samples/snippets/generated/com/google/cloud/mediatranslation/v1beta1/speechtranslationservice/create/SyncCreateSetCredentialsProvider1.java rename to java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeString.java index 0976589759f2..73264e3f43da 100644 --- a/java-mediatranslation/samples/snippets/generated/com/google/cloud/mediatranslation/v1beta1/speechtranslationservice/create/SyncCreateSetCredentialsProvider1.java +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeString.java @@ -14,28 +14,28 @@ * limitations under the License. */ -package com.google.cloud.mediatranslation.v1beta1.samples; +package com.google.cloud.container.v1.samples; -// [START mediatranslation_v1beta1_generated_SpeechTranslationService_Create_SetCredentialsProvider1_sync] -import com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceClient; -import com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceSettings; +// [START container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; -public class SyncCreateSetCredentialsProvider1 { +public class SyncRollbackNodePoolUpgradeString { public static void main(String[] args) throws Exception { - syncCreateSetCredentialsProvider1(); + syncRollbackNodePoolUpgradeString(); } - public static void syncCreateSetCredentialsProvider1() throws Exception { + public static void syncRollbackNodePoolUpgradeString() 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 - SpeechTranslationServiceSettings speechTranslationServiceSettings = - SpeechTranslationServiceSettings.newHttpJsonBuilder().build(); - SpeechTranslationServiceClient speechTranslationServiceClient = - SpeechTranslationServiceClient.create(speechTranslationServiceSettings); + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.rollbackNodePoolUpgrade(name); + } } } -// [END mediatranslation_v1beta1_generated_SpeechTranslationService_Create_SetCredentialsProvider1_sync] +// [END container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java new file mode 100644 index 000000000000..e9bafb1ad547 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncRollbackNodePoolUpgradeStringStringStringString { + + public static void main(String[] args) throws Exception { + syncRollbackNodePoolUpgradeStringStringStringString(); + } + + public static void syncRollbackNodePoolUpgradeStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + Operation response = + clusterManagerClient.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java new file mode 100644 index 000000000000..3492d56b52d7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetAddonsConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.AddonsConfig; +import com.google.container.v1.Operation; +import com.google.container.v1.SetAddonsConfigRequest; + +public class AsyncSetAddonsConfig { + + public static void main(String[] args) throws Exception { + asyncSetAddonsConfig(); + } + + public static void asyncSetAddonsConfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetAddonsConfigRequest request = + SetAddonsConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setAddonsConfig(AddonsConfig.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setAddonsConfigCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetAddonsConfig_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java new file mode 100644 index 000000000000..c077bd769121 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetAddonsConfig_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.AddonsConfig; +import com.google.container.v1.Operation; +import com.google.container.v1.SetAddonsConfigRequest; + +public class SyncSetAddonsConfig { + + public static void main(String[] args) throws Exception { + syncSetAddonsConfig(); + } + + public static void syncSetAddonsConfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetAddonsConfigRequest request = + SetAddonsConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setAddonsConfig(AddonsConfig.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setAddonsConfig(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetAddonsConfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringAddonsconfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringAddonsconfig.java new file mode 100644 index 000000000000..3f63abbf5999 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringAddonsconfig.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetAddonsConfig_StringAddonsconfig_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.AddonsConfig; +import com.google.container.v1.Operation; + +public class SyncSetAddonsConfigStringAddonsconfig { + + public static void main(String[] args) throws Exception { + syncSetAddonsConfigStringAddonsconfig(); + } + + public static void syncSetAddonsConfigStringAddonsconfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); + Operation response = clusterManagerClient.setAddonsConfig(name, addonsConfig); + } + } +} +// [END container_v1_generated_ClusterManager_SetAddonsConfig_StringAddonsconfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java new file mode 100644 index 000000000000..a08b79b35485 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetAddonsConfig_StringStringStringAddonsconfig_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.AddonsConfig; +import com.google.container.v1.Operation; + +public class SyncSetAddonsConfigStringStringStringAddonsconfig { + + public static void main(String[] args) throws Exception { + syncSetAddonsConfigStringStringStringAddonsconfig(); + } + + public static void syncSetAddonsConfigStringStringStringAddonsconfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); + Operation response = + clusterManagerClient.setAddonsConfig(projectId, zone, clusterId, addonsConfig); + } + } +} +// [END container_v1_generated_ClusterManager_SetAddonsConfig_StringStringStringAddonsconfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/AsyncSetLabels.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/AsyncSetLabels.java new file mode 100644 index 000000000000..1b6b52671a73 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/AsyncSetLabels.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLabels_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLabelsRequest; +import java.util.HashMap; + +public class AsyncSetLabels { + + public static void main(String[] args) throws Exception { + asyncSetLabels(); + } + + public static void asyncSetLabels() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .putAllResourceLabels(new HashMap()) + .setLabelFingerprint("labelFingerprint379449680") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.setLabelsCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetLabels_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/SyncSetLabels.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/SyncSetLabels.java new file mode 100644 index 000000000000..0651a29bcd17 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlabels/SyncSetLabels.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLabels_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLabelsRequest; +import java.util.HashMap; + +public class SyncSetLabels { + + public static void main(String[] args) throws Exception { + syncSetLabels(); + } + + public static void syncSetLabels() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .putAllResourceLabels(new HashMap()) + .setLabelFingerprint("labelFingerprint379449680") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLabels(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetLabels_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java new file mode 100644 index 000000000000..78158347fb5f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLegacyAbac_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLegacyAbacRequest; + +public class AsyncSetLegacyAbac { + + public static void main(String[] args) throws Exception { + asyncSetLegacyAbac(); + } + + public static void asyncSetLegacyAbac() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLegacyAbacRequest request = + SetLegacyAbacRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setEnabled(true) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setLegacyAbacCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetLegacyAbac_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java new file mode 100644 index 000000000000..9f2e7ebdac93 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLegacyAbac_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLegacyAbacRequest; + +public class SyncSetLegacyAbac { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbac(); + } + + public static void syncSetLegacyAbac() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLegacyAbacRequest request = + SetLegacyAbacRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setEnabled(true) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLegacyAbac(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetLegacyAbac_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringBoolean.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringBoolean.java new file mode 100644 index 000000000000..75e71938ee09 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringBoolean.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLegacyAbac_StringBoolean_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetLegacyAbacStringBoolean { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbacStringBoolean(); + } + + public static void syncSetLegacyAbacStringBoolean() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + boolean enabled = true; + Operation response = clusterManagerClient.setLegacyAbac(name, enabled); + } + } +} +// [END container_v1_generated_ClusterManager_SetLegacyAbac_StringBoolean_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java new file mode 100644 index 000000000000..86c95faf0935 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLegacyAbac_StringStringStringBoolean_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetLegacyAbacStringStringStringBoolean { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbacStringStringStringBoolean(); + } + + public static void syncSetLegacyAbacStringStringStringBoolean() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + boolean enabled = true; + Operation response = clusterManagerClient.setLegacyAbac(projectId, zone, clusterId, enabled); + } + } +} +// [END container_v1_generated_ClusterManager_SetLegacyAbac_StringStringStringBoolean_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/AsyncSetLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/AsyncSetLocations.java new file mode 100644 index 000000000000..0bfc620343af --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/AsyncSetLocations.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLocations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLocationsRequest; +import java.util.ArrayList; + +public class AsyncSetLocations { + + public static void main(String[] args) throws Exception { + asyncSetLocations(); + } + + public static void asyncSetLocations() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLocationsRequest request = + SetLocationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .addAllLocations(new ArrayList()) + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.setLocationsCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetLocations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocations.java new file mode 100644 index 000000000000..b20f8c43e4cd --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocations.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLocations_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLocationsRequest; +import java.util.ArrayList; + +public class SyncSetLocations { + + public static void main(String[] args) throws Exception { + syncSetLocations(); + } + + public static void syncSetLocations() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLocationsRequest request = + SetLocationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .addAllLocations(new ArrayList()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLocations(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetLocations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringListstring.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringListstring.java new file mode 100644 index 000000000000..0e213d65b5e8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringListstring.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLocations_StringListstring_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import java.util.ArrayList; +import java.util.List; + +public class SyncSetLocationsStringListstring { + + public static void main(String[] args) throws Exception { + syncSetLocationsStringListstring(); + } + + public static void syncSetLocationsStringListstring() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + List locations = new ArrayList<>(); + Operation response = clusterManagerClient.setLocations(name, locations); + } + } +} +// [END container_v1_generated_ClusterManager_SetLocations_StringListstring_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java new file mode 100644 index 000000000000..60ca4363605a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLocations_StringStringStringListstring_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import java.util.ArrayList; +import java.util.List; + +public class SyncSetLocationsStringStringStringListstring { + + public static void main(String[] args) throws Exception { + syncSetLocationsStringStringStringListstring(); + } + + public static void syncSetLocationsStringStringStringListstring() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + List locations = new ArrayList<>(); + Operation response = clusterManagerClient.setLocations(projectId, zone, clusterId, locations); + } + } +} +// [END container_v1_generated_ClusterManager_SetLocations_StringStringStringListstring_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/AsyncSetLoggingService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/AsyncSetLoggingService.java new file mode 100644 index 000000000000..071b5b0da337 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/AsyncSetLoggingService.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLoggingService_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLoggingServiceRequest; + +public class AsyncSetLoggingService { + + public static void main(String[] args) throws Exception { + asyncSetLoggingService(); + } + + public static void asyncSetLoggingService() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLoggingServiceRequest request = + SetLoggingServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setLoggingService("loggingService1098570326") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setLoggingServiceCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetLoggingService_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingService.java new file mode 100644 index 000000000000..85b548377c81 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingService.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLoggingService_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetLoggingServiceRequest; + +public class SyncSetLoggingService { + + public static void main(String[] args) throws Exception { + syncSetLoggingService(); + } + + public static void syncSetLoggingService() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLoggingServiceRequest request = + SetLoggingServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setLoggingService("loggingService1098570326") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLoggingService(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetLoggingService_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringString.java new file mode 100644 index 000000000000..618aa46182e7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLoggingService_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetLoggingServiceStringString { + + public static void main(String[] args) throws Exception { + syncSetLoggingServiceStringString(); + } + + public static void syncSetLoggingServiceStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + String loggingService = "loggingService1098570326"; + Operation response = clusterManagerClient.setLoggingService(name, loggingService); + } + } +} +// [END container_v1_generated_ClusterManager_SetLoggingService_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java new file mode 100644 index 000000000000..2d45250554b8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetLoggingService_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetLoggingServiceStringStringStringString { + + public static void main(String[] args) throws Exception { + syncSetLoggingServiceStringStringStringString(); + } + + public static void syncSetLoggingServiceStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String loggingService = "loggingService1098570326"; + Operation response = + clusterManagerClient.setLoggingService(projectId, zone, clusterId, loggingService); + } + } +} +// [END container_v1_generated_ClusterManager_SetLoggingService_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java new file mode 100644 index 000000000000..700131d6eeaf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMaintenancePolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MaintenancePolicy; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMaintenancePolicyRequest; + +public class AsyncSetMaintenancePolicy { + + public static void main(String[] args) throws Exception { + asyncSetMaintenancePolicy(); + } + + public static void asyncSetMaintenancePolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMaintenancePolicyRequest request = + SetMaintenancePolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMaintenancePolicyCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetMaintenancePolicy_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java new file mode 100644 index 000000000000..4d451c0684c2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMaintenancePolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MaintenancePolicy; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMaintenancePolicyRequest; + +public class SyncSetMaintenancePolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicy(); + } + + public static void syncSetMaintenancePolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMaintenancePolicyRequest request = + SetMaintenancePolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMaintenancePolicy(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetMaintenancePolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringMaintenancepolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringMaintenancepolicy.java new file mode 100644 index 000000000000..044782200dbb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringMaintenancepolicy.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMaintenancePolicy_StringMaintenancepolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MaintenancePolicy; +import com.google.container.v1.Operation; + +public class SyncSetMaintenancePolicyStringMaintenancepolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicyStringMaintenancepolicy(); + } + + public static void syncSetMaintenancePolicyStringMaintenancepolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + MaintenancePolicy maintenancePolicy = MaintenancePolicy.newBuilder().build(); + Operation response = clusterManagerClient.setMaintenancePolicy(name, maintenancePolicy); + } + } +} +// [END container_v1_generated_ClusterManager_SetMaintenancePolicy_StringMaintenancepolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java new file mode 100644 index 000000000000..694db5ee90c6 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMaintenancePolicy_StringStringStringMaintenancepolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MaintenancePolicy; +import com.google.container.v1.Operation; + +public class SyncSetMaintenancePolicyStringStringStringMaintenancepolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicyStringStringStringMaintenancepolicy(); + } + + public static void syncSetMaintenancePolicyStringStringStringMaintenancepolicy() + 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + MaintenancePolicy maintenancePolicy = MaintenancePolicy.newBuilder().build(); + Operation response = + clusterManagerClient.setMaintenancePolicy(projectId, zone, clusterId, maintenancePolicy); + } + } +} +// [END container_v1_generated_ClusterManager_SetMaintenancePolicy_StringStringStringMaintenancepolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/AsyncSetMasterAuth.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/AsyncSetMasterAuth.java new file mode 100644 index 000000000000..f0eba3f995bb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/AsyncSetMasterAuth.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMasterAuth_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MasterAuth; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMasterAuthRequest; + +public class AsyncSetMasterAuth { + + public static void main(String[] args) throws Exception { + asyncSetMasterAuth(); + } + + public static void asyncSetMasterAuth() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(MasterAuth.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMasterAuthCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetMasterAuth_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/SyncSetMasterAuth.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/SyncSetMasterAuth.java new file mode 100644 index 000000000000..afb7ec317eb9 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmasterauth/SyncSetMasterAuth.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMasterAuth_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.MasterAuth; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMasterAuthRequest; + +public class SyncSetMasterAuth { + + public static void main(String[] args) throws Exception { + syncSetMasterAuth(); + } + + public static void syncSetMasterAuth() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(MasterAuth.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMasterAuth(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetMasterAuth_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java new file mode 100644 index 000000000000..1176990d361a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMonitoringService_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMonitoringServiceRequest; + +public class AsyncSetMonitoringService { + + public static void main(String[] args) throws Exception { + asyncSetMonitoringService(); + } + + public static void asyncSetMonitoringService() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMonitoringServiceRequest request = + SetMonitoringServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMonitoringService("monitoringService-1431578291") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMonitoringServiceCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetMonitoringService_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java new file mode 100644 index 000000000000..622cb88ea14d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMonitoringService_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetMonitoringServiceRequest; + +public class SyncSetMonitoringService { + + public static void main(String[] args) throws Exception { + syncSetMonitoringService(); + } + + public static void syncSetMonitoringService() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMonitoringServiceRequest request = + SetMonitoringServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMonitoringService("monitoringService-1431578291") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMonitoringService(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetMonitoringService_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringString.java new file mode 100644 index 000000000000..f51b50110f83 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMonitoringService_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetMonitoringServiceStringString { + + public static void main(String[] args) throws Exception { + syncSetMonitoringServiceStringString(); + } + + public static void syncSetMonitoringServiceStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + String monitoringService = "monitoringService-1431578291"; + Operation response = clusterManagerClient.setMonitoringService(name, monitoringService); + } + } +} +// [END container_v1_generated_ClusterManager_SetMonitoringService_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java new file mode 100644 index 000000000000..4cffd88b0d6a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetMonitoringService_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncSetMonitoringServiceStringStringStringString { + + public static void main(String[] args) throws Exception { + syncSetMonitoringServiceStringStringStringString(); + } + + public static void syncSetMonitoringServiceStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String monitoringService = "monitoringService-1431578291"; + Operation response = + clusterManagerClient.setMonitoringService(projectId, zone, clusterId, monitoringService); + } + } +} +// [END container_v1_generated_ClusterManager_SetMonitoringService_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java new file mode 100644 index 000000000000..02ef9e365d14 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNetworkPolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNetworkPolicyRequest; + +public class AsyncSetNetworkPolicy { + + public static void main(String[] args) throws Exception { + asyncSetNetworkPolicy(); + } + + public static void asyncSetNetworkPolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNetworkPolicyRequest request = + SetNetworkPolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNetworkPolicy(NetworkPolicy.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNetworkPolicyCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetNetworkPolicy_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java new file mode 100644 index 000000000000..2de1e74e069b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNetworkPolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNetworkPolicyRequest; + +public class SyncSetNetworkPolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicy(); + } + + public static void syncSetNetworkPolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNetworkPolicyRequest request = + SetNetworkPolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNetworkPolicy(NetworkPolicy.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNetworkPolicy(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetNetworkPolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringNetworkpolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringNetworkpolicy.java new file mode 100644 index 000000000000..66751bec6c8b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringNetworkpolicy.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNetworkPolicy_StringNetworkpolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.Operation; + +public class SyncSetNetworkPolicyStringNetworkpolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicyStringNetworkpolicy(); + } + + public static void syncSetNetworkPolicyStringNetworkpolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); + Operation response = clusterManagerClient.setNetworkPolicy(name, networkPolicy); + } + } +} +// [END container_v1_generated_ClusterManager_SetNetworkPolicy_StringNetworkpolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java new file mode 100644 index 000000000000..6166e1c3b368 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNetworkPolicy_StringStringStringNetworkpolicy_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NetworkPolicy; +import com.google.container.v1.Operation; + +public class SyncSetNetworkPolicyStringStringStringNetworkpolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicyStringStringStringNetworkpolicy(); + } + + public static void syncSetNetworkPolicyStringStringStringNetworkpolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); + Operation response = + clusterManagerClient.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); + } + } +} +// [END container_v1_generated_ClusterManager_SetNetworkPolicy_StringStringStringNetworkpolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java new file mode 100644 index 000000000000..fe49ed18fd76 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolAutoscaling_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePoolAutoscaling; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolAutoscalingRequest; + +public class AsyncSetNodePoolAutoscaling { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolAutoscaling(); + } + + public static void asyncSetNodePoolAutoscaling() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setAutoscaling(NodePoolAutoscaling.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolAutoscalingCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolAutoscaling_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java new file mode 100644 index 000000000000..c455d81623ad --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolAutoscaling_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodePoolAutoscaling; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolAutoscalingRequest; + +public class SyncSetNodePoolAutoscaling { + + public static void main(String[] args) throws Exception { + syncSetNodePoolAutoscaling(); + } + + public static void syncSetNodePoolAutoscaling() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setAutoscaling(NodePoolAutoscaling.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolAutoscaling(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolAutoscaling_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java new file mode 100644 index 000000000000..9f1757f9bfb1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolManagement_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodeManagement; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolManagementRequest; + +public class AsyncSetNodePoolManagement { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolManagement(); + } + + public static void asyncSetNodePoolManagement() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setManagement(NodeManagement.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolManagementCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolManagement_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java new file mode 100644 index 000000000000..0737d1f91aa2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolManagement_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.NodeManagement; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolManagementRequest; + +public class SyncSetNodePoolManagement { + + public static void main(String[] args) throws Exception { + syncSetNodePoolManagement(); + } + + public static void syncSetNodePoolManagement() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setManagement(NodeManagement.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolManagement(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolManagement_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java new file mode 100644 index 000000000000..21846dc223f9 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolSize_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolSizeRequest; + +public class AsyncSetNodePoolSize { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolSize(); + } + + public static void asyncSetNodePoolSize() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeCount(1539922066) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolSizeCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolSize_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java new file mode 100644 index 000000000000..8f503504f906 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_SetNodePoolSize_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.SetNodePoolSizeRequest; + +public class SyncSetNodePoolSize { + + public static void main(String[] args) throws Exception { + syncSetNodePoolSize(); + } + + public static void syncSetNodePoolSize() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeCount(1539922066) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolSize(request); + } + } +} +// [END container_v1_generated_ClusterManager_SetNodePoolSize_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/AsyncStartIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/AsyncStartIPRotation.java new file mode 100644 index 000000000000..12e085d83b55 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/AsyncStartIPRotation.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_StartIPRotation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.StartIPRotationRequest; + +public class AsyncStartIPRotation { + + public static void main(String[] args) throws Exception { + asyncStartIPRotation(); + } + + public static void asyncStartIPRotation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + StartIPRotationRequest request = + StartIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .setRotateCredentials(true) + .build(); + ApiFuture future = + clusterManagerClient.startIPRotationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_StartIPRotation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotation.java new file mode 100644 index 000000000000..b63ce181dc77 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotation.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_StartIPRotation_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.StartIPRotationRequest; + +public class SyncStartIPRotation { + + public static void main(String[] args) throws Exception { + syncStartIPRotation(); + } + + public static void syncStartIPRotation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + StartIPRotationRequest request = + StartIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .setRotateCredentials(true) + .build(); + Operation response = clusterManagerClient.startIPRotation(request); + } + } +} +// [END container_v1_generated_ClusterManager_StartIPRotation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationString.java new file mode 100644 index 000000000000..fb7f7cf57f67 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_StartIPRotation_String_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncStartIPRotationString { + + public static void main(String[] args) throws Exception { + syncStartIPRotationString(); + } + + public static void syncStartIPRotationString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + Operation response = clusterManagerClient.startIPRotation(name); + } + } +} +// [END container_v1_generated_ClusterManager_StartIPRotation_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java new file mode 100644 index 000000000000..247ec377bdcd --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_StartIPRotation_StringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncStartIPRotationStringStringString { + + public static void main(String[] args) throws Exception { + syncStartIPRotationStringStringString(); + } + + public static void syncStartIPRotationStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.startIPRotation(projectId, zone, clusterId); + } + } +} +// [END container_v1_generated_ClusterManager_StartIPRotation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/AsyncUpdateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/AsyncUpdateCluster.java new file mode 100644 index 000000000000..f0be44675c01 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/AsyncUpdateCluster.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ClusterUpdate; +import com.google.container.v1.Operation; +import com.google.container.v1.UpdateClusterRequest; + +public class AsyncUpdateCluster { + + public static void main(String[] args) throws Exception { + asyncUpdateCluster(); + } + + public static void asyncUpdateCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateClusterRequest request = + UpdateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(ClusterUpdate.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.updateClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateCluster.java new file mode 100644 index 000000000000..4f5032b3729d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateCluster.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateCluster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ClusterUpdate; +import com.google.container.v1.Operation; +import com.google.container.v1.UpdateClusterRequest; + +public class SyncUpdateCluster { + + public static void main(String[] args) throws Exception { + syncUpdateCluster(); + } + + public static void syncUpdateCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateClusterRequest request = + UpdateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(ClusterUpdate.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.updateCluster(request); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringClusterupdate.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringClusterupdate.java new file mode 100644 index 000000000000..a6edc61df772 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringClusterupdate.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateCluster_StringClusterupdate_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ClusterUpdate; +import com.google.container.v1.Operation; + +public class SyncUpdateClusterStringClusterupdate { + + public static void main(String[] args) throws Exception { + syncUpdateClusterStringClusterupdate(); + } + + public static void syncUpdateClusterStringClusterupdate() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + ClusterUpdate update = ClusterUpdate.newBuilder().build(); + Operation response = clusterManagerClient.updateCluster(name, update); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateCluster_StringClusterupdate_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java new file mode 100644 index 000000000000..cc3c1fd8315d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateCluster_StringStringStringClusterupdate_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ClusterUpdate; +import com.google.container.v1.Operation; + +public class SyncUpdateClusterStringStringStringClusterupdate { + + public static void main(String[] args) throws Exception { + syncUpdateClusterStringStringStringClusterupdate(); + } + + public static void syncUpdateClusterStringStringStringClusterupdate() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + ClusterUpdate update = ClusterUpdate.newBuilder().build(); + Operation response = clusterManagerClient.updateCluster(projectId, zone, clusterId, update); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateCluster_StringStringStringClusterupdate_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/AsyncUpdateMaster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/AsyncUpdateMaster.java new file mode 100644 index 000000000000..040858368a7d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/AsyncUpdateMaster.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateMaster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.UpdateMasterRequest; + +public class AsyncUpdateMaster { + + public static void main(String[] args) throws Exception { + asyncUpdateMaster(); + } + + public static void asyncUpdateMaster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateMasterRequest request = + UpdateMasterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMasterVersion("masterVersion1167095830") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.updateMasterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateMaster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMaster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMaster.java new file mode 100644 index 000000000000..76d71456504c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMaster.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateMaster_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; +import com.google.container.v1.UpdateMasterRequest; + +public class SyncUpdateMaster { + + public static void main(String[] args) throws Exception { + syncUpdateMaster(); + } + + public static void syncUpdateMaster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateMasterRequest request = + UpdateMasterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMasterVersion("masterVersion1167095830") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.updateMaster(request); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateMaster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringString.java new file mode 100644 index 000000000000..ad74c557e94b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateMaster_StringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncUpdateMasterStringString { + + public static void main(String[] args) throws Exception { + syncUpdateMasterStringString(); + } + + public static void syncUpdateMasterStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String name = "name3373707"; + String masterVersion = "masterVersion1167095830"; + Operation response = clusterManagerClient.updateMaster(name, masterVersion); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateMaster_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java new file mode 100644 index 000000000000..86b38bb43644 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateMaster_StringStringStringString_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.Operation; + +public class SyncUpdateMasterStringStringStringString { + + public static void main(String[] args) throws Exception { + syncUpdateMasterStringStringStringString(); + } + + public static void syncUpdateMasterStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String masterVersion = "masterVersion1167095830"; + Operation response = + clusterManagerClient.updateMaster(projectId, zone, clusterId, masterVersion); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateMaster_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/AsyncUpdateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/AsyncUpdateNodePool.java new file mode 100644 index 000000000000..96c0042a0db7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/AsyncUpdateNodePool.java @@ -0,0 +1,88 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ConfidentialNodes; +import com.google.container.v1.FastSocket; +import com.google.container.v1.GcfsConfig; +import com.google.container.v1.LinuxNodeConfig; +import com.google.container.v1.NetworkTags; +import com.google.container.v1.NodeKubeletConfig; +import com.google.container.v1.NodeLabels; +import com.google.container.v1.NodeNetworkConfig; +import com.google.container.v1.NodePool; +import com.google.container.v1.NodePoolLoggingConfig; +import com.google.container.v1.NodeTaints; +import com.google.container.v1.Operation; +import com.google.container.v1.ResourceLabels; +import com.google.container.v1.UpdateNodePoolRequest; +import com.google.container.v1.VirtualNIC; +import com.google.container.v1.WindowsNodeConfig; +import com.google.container.v1.WorkloadMetadataConfig; +import java.util.ArrayList; + +public class AsyncUpdateNodePool { + + public static void main(String[] args) throws Exception { + asyncUpdateNodePool(); + } + + public static void asyncUpdateNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeVersion("nodeVersion1155309686") + .setImageType("imageType-878147787") + .setName("name3373707") + .addAllLocations(new ArrayList()) + .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) + .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) + .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) + .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) + .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setGvnic(VirtualNIC.newBuilder().build()) + .setEtag("etag3123477") + .setFastSocket(FastSocket.newBuilder().build()) + .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) + .setResourceLabels(ResourceLabels.newBuilder().build()) + .setWindowsNodeConfig(WindowsNodeConfig.newBuilder().build()) + .build(); + ApiFuture future = + clusterManagerClient.updateNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/SyncUpdateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/SyncUpdateNodePool.java new file mode 100644 index 000000000000..1077bbbf357e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanager/updatenodepool/SyncUpdateNodePool.java @@ -0,0 +1,84 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManager_UpdateNodePool_sync] +import com.google.cloud.container.v1.ClusterManagerClient; +import com.google.container.v1.ConfidentialNodes; +import com.google.container.v1.FastSocket; +import com.google.container.v1.GcfsConfig; +import com.google.container.v1.LinuxNodeConfig; +import com.google.container.v1.NetworkTags; +import com.google.container.v1.NodeKubeletConfig; +import com.google.container.v1.NodeLabels; +import com.google.container.v1.NodeNetworkConfig; +import com.google.container.v1.NodePool; +import com.google.container.v1.NodePoolLoggingConfig; +import com.google.container.v1.NodeTaints; +import com.google.container.v1.Operation; +import com.google.container.v1.ResourceLabels; +import com.google.container.v1.UpdateNodePoolRequest; +import com.google.container.v1.VirtualNIC; +import com.google.container.v1.WindowsNodeConfig; +import com.google.container.v1.WorkloadMetadataConfig; +import java.util.ArrayList; + +public class SyncUpdateNodePool { + + public static void main(String[] args) throws Exception { + syncUpdateNodePool(); + } + + public static void syncUpdateNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeVersion("nodeVersion1155309686") + .setImageType("imageType-878147787") + .setName("name3373707") + .addAllLocations(new ArrayList()) + .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) + .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) + .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) + .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) + .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setGvnic(VirtualNIC.newBuilder().build()) + .setEtag("etag3123477") + .setFastSocket(FastSocket.newBuilder().build()) + .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) + .setResourceLabels(ResourceLabels.newBuilder().build()) + .setWindowsNodeConfig(WindowsNodeConfig.newBuilder().build()) + .build(); + Operation response = clusterManagerClient.updateNodePool(request); + } + } +} +// [END container_v1_generated_ClusterManager_UpdateNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanagersettings/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanagersettings/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..b035e9167e5e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/clustermanagersettings/listclusters/SyncListClusters.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.samples; + +// [START container_v1_generated_ClusterManagerSettings_ListClusters_sync] +import com.google.cloud.container.v1.ClusterManagerSettings; +import java.time.Duration; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() 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 + ClusterManagerSettings.Builder clusterManagerSettingsBuilder = + ClusterManagerSettings.newBuilder(); + clusterManagerSettingsBuilder + .listClustersSettings() + .setRetrySettings( + clusterManagerSettingsBuilder + .listClustersSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); + } +} +// [END container_v1_generated_ClusterManagerSettings_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..8134a998cc6c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1.stub.samples; + +// [START container_v1_generated_ClusterManagerStubSettings_ListClusters_sync] +import com.google.cloud.container.v1.stub.ClusterManagerStubSettings; +import java.time.Duration; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() 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 + ClusterManagerStubSettings.Builder clusterManagerSettingsBuilder = + ClusterManagerStubSettings.newBuilder(); + clusterManagerSettingsBuilder + .listClustersSettings() + .setRetrySettings( + clusterManagerSettingsBuilder + .listClustersSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ClusterManagerStubSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); + } +} +// [END container_v1_generated_ClusterManagerStubSettings_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/AsyncCancelOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/AsyncCancelOperation.java new file mode 100644 index 000000000000..4d886d6acb61 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/AsyncCancelOperation.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CancelOperation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CancelOperationRequest; +import com.google.protobuf.Empty; + +public class AsyncCancelOperation { + + public static void main(String[] args) throws Exception { + asyncCancelOperation(); + } + + public static void asyncCancelOperation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CancelOperationRequest request = + CancelOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.cancelOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CancelOperation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperation.java new file mode 100644 index 000000000000..6e80bfbe9faf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CancelOperation_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CancelOperationRequest; +import com.google.protobuf.Empty; + +public class SyncCancelOperation { + + public static void main(String[] args) throws Exception { + syncCancelOperation(); + } + + public static void syncCancelOperation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CancelOperationRequest request = + CancelOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + clusterManagerClient.cancelOperation(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CancelOperation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java new file mode 100644 index 000000000000..302792147dc8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/canceloperation/SyncCancelOperationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CancelOperation_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.protobuf.Empty; + +public class SyncCancelOperationStringStringString { + + public static void main(String[] args) throws Exception { + syncCancelOperationStringStringString(); + } + + public static void syncCancelOperationStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String operationId = "operationId129704162"; + clusterManagerClient.cancelOperation(projectId, zone, operationId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CancelOperation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java new file mode 100644 index 000000000000..7ab07b674980 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/AsyncCompleteIPRotation.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteIPRotation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncCompleteIPRotation { + + public static void main(String[] args) throws Exception { + asyncCompleteIPRotation(); + } + + public static void asyncCompleteIPRotation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteIPRotationRequest request = + CompleteIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.completeIPRotationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteIPRotation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotation.java new file mode 100644 index 000000000000..d38c9aea7aa2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteIPRotation_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CompleteIPRotationRequest; +import com.google.container.v1beta1.Operation; + +public class SyncCompleteIPRotation { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotation(); + } + + public static void syncCompleteIPRotation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteIPRotationRequest request = + CompleteIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.completeIPRotation(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteIPRotation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java new file mode 100644 index 000000000000..5ee954e40cd4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completeiprotation/SyncCompleteIPRotationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteIPRotation_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncCompleteIPRotationStringStringString { + + public static void main(String[] args) throws Exception { + syncCompleteIPRotationStringStringString(); + } + + public static void syncCompleteIPRotationStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.completeIPRotation(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteIPRotation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java new file mode 100644 index 000000000000..b579fa7a06be --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/AsyncCompleteNodePoolUpgrade.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteNodePoolUpgrade_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; +import com.google.protobuf.Empty; + +public class AsyncCompleteNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + asyncCompleteNodePoolUpgrade(); + } + + public static void asyncCompleteNodePoolUpgrade() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + ApiFuture future = + clusterManagerClient.completeNodePoolUpgradeCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteNodePoolUpgrade_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java new file mode 100644 index 000000000000..558ada2eafbf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/completenodepoolupgrade/SyncCompleteNodePoolUpgrade.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CompleteNodePoolUpgrade_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CompleteNodePoolUpgradeRequest; +import com.google.protobuf.Empty; + +public class SyncCompleteNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + syncCompleteNodePoolUpgrade(); + } + + public static void syncCompleteNodePoolUpgrade() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CompleteNodePoolUpgradeRequest request = + CompleteNodePoolUpgradeRequest.newBuilder().setName("name3373707").build(); + clusterManagerClient.completeNodePoolUpgrade(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CompleteNodePoolUpgrade_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetCredentialsProvider.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 000000000000..9e5db82d007f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_Create_SetCredentialsProvider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.cloud.container.v1beta1.ClusterManagerSettings; +import com.google.cloud.container.v1beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() 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 + ClusterManagerSettings clusterManagerSettings = + ClusterManagerSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings); + } +} +// [END container_v1beta1_generated_ClusterManager_Create_SetCredentialsProvider_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetEndpoint.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetEndpoint.java new file mode 100644 index 000000000000..5a02875c14ed --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/create/SyncCreateSetEndpoint.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_Create_SetEndpoint_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.cloud.container.v1beta1.ClusterManagerSettings; +import com.google.cloud.container.v1beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() 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 + ClusterManagerSettings clusterManagerSettings = + ClusterManagerSettings.newBuilder().setEndpoint(myEndpoint).build(); + ClusterManagerClient clusterManagerClient = ClusterManagerClient.create(clusterManagerSettings); + } +} +// [END container_v1beta1_generated_ClusterManager_Create_SetEndpoint_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/AsyncCreateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/AsyncCreateCluster.java new file mode 100644 index 000000000000..da09938c31fb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/AsyncCreateCluster.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.CreateClusterRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncCreateCluster { + + public static void main(String[] args) throws Exception { + asyncCreateCluster(); + } + + public static void asyncCreateCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setCluster(Cluster.newBuilder().build()) + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.createClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateCluster.java new file mode 100644 index 000000000000..8d07424b06a5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateCluster.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.CreateClusterRequest; +import com.google.container.v1beta1.Operation; + +public class SyncCreateCluster { + + public static void main(String[] args) throws Exception { + syncCreateCluster(); + } + + public static void syncCreateCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setCluster(Cluster.newBuilder().build()) + .setParent("parent-995424086") + .build(); + Operation response = clusterManagerClient.createCluster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java new file mode 100644 index 000000000000..8d915534b19f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createcluster/SyncCreateClusterStringStringCluster.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateCluster_StringStringCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.Operation; + +public class SyncCreateClusterStringStringCluster { + + public static void main(String[] args) throws Exception { + syncCreateClusterStringStringCluster(); + } + + public static void syncCreateClusterStringStringCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + Cluster cluster = Cluster.newBuilder().build(); + Operation response = clusterManagerClient.createCluster(projectId, zone, cluster); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateCluster_StringStringCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/AsyncCreateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/AsyncCreateNodePool.java new file mode 100644 index 000000000000..d3afa6ec5deb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/AsyncCreateNodePool.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CreateNodePoolRequest; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.Operation; + +public class AsyncCreateNodePool { + + public static void main(String[] args) throws Exception { + asyncCreateNodePool(); + } + + public static void asyncCreateNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateNodePoolRequest request = + CreateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePool(NodePool.newBuilder().build()) + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.createNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePool.java new file mode 100644 index 000000000000..e2e416b8cfd5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePool.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateNodePool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.CreateNodePoolRequest; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.Operation; + +public class SyncCreateNodePool { + + public static void main(String[] args) throws Exception { + syncCreateNodePool(); + } + + public static void syncCreateNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + CreateNodePoolRequest request = + CreateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePool(NodePool.newBuilder().build()) + .setParent("parent-995424086") + .build(); + Operation response = clusterManagerClient.createNodePool(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java new file mode 100644 index 000000000000..840e6d03df55 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/createnodepool/SyncCreateNodePoolStringStringStringNodepool.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_CreateNodePool_StringStringStringNodepool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.Operation; + +public class SyncCreateNodePoolStringStringStringNodepool { + + public static void main(String[] args) throws Exception { + syncCreateNodePoolStringStringStringNodepool(); + } + + public static void syncCreateNodePoolStringStringStringNodepool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + NodePool nodePool = NodePool.newBuilder().build(); + Operation response = + clusterManagerClient.createNodePool(projectId, zone, clusterId, nodePool); + } + } +} +// [END container_v1beta1_generated_ClusterManager_CreateNodePool_StringStringStringNodepool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/AsyncDeleteCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/AsyncDeleteCluster.java new file mode 100644 index 000000000000..11324f1264f1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/AsyncDeleteCluster.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.DeleteClusterRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncDeleteCluster { + + public static void main(String[] args) throws Exception { + asyncDeleteCluster(); + } + + public static void asyncDeleteCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.deleteClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteCluster.java new file mode 100644 index 000000000000..b5b085f70b63 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteCluster.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.DeleteClusterRequest; +import com.google.container.v1beta1.Operation; + +public class SyncDeleteCluster { + + public static void main(String[] args) throws Exception { + syncDeleteCluster(); + } + + public static void syncDeleteCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.deleteCluster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java new file mode 100644 index 000000000000..1df461ad2aea --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletecluster/SyncDeleteClusterStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteCluster_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncDeleteClusterStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteClusterStringStringString(); + } + + public static void syncDeleteClusterStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteCluster_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/AsyncDeleteNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/AsyncDeleteNodePool.java new file mode 100644 index 000000000000..a0b4aab84c13 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/AsyncDeleteNodePool.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.DeleteNodePoolRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncDeleteNodePool { + + public static void main(String[] args) throws Exception { + asyncDeleteNodePool(); + } + + public static void asyncDeleteNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.deleteNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePool.java new file mode 100644 index 000000000000..56d4b2b41a7f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteNodePool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.DeleteNodePoolRequest; +import com.google.container.v1beta1.Operation; + +public class SyncDeleteNodePool { + + public static void main(String[] args) throws Exception { + syncDeleteNodePool(); + } + + public static void syncDeleteNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.deleteNodePool(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java new file mode 100644 index 000000000000..f0bf126836d8 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/deletenodepool/SyncDeleteNodePoolStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_DeleteNodePool_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncDeleteNodePoolStringStringStringString { + + public static void main(String[] args) throws Exception { + syncDeleteNodePoolStringStringStringString(); + } + + public static void syncDeleteNodePoolStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + Operation response = + clusterManagerClient.deleteNodePool(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_DeleteNodePool_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/AsyncGetCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/AsyncGetCluster.java new file mode 100644 index 000000000000..1728d584d70b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/AsyncGetCluster.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.GetClusterRequest; + +public class AsyncGetCluster { + + public static void main(String[] args) throws Exception { + asyncGetCluster(); + } + + public static void asyncGetCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetClusterRequest request = + GetClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getClusterCallable().futureCall(request); + // Do something. + Cluster response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetCluster.java new file mode 100644 index 000000000000..6464067bfdc0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetCluster.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; +import com.google.container.v1beta1.GetClusterRequest; + +public class SyncGetCluster { + + public static void main(String[] args) throws Exception { + syncGetCluster(); + } + + public static void syncGetCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetClusterRequest request = + GetClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .build(); + Cluster response = clusterManagerClient.getCluster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetClusterStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetClusterStringStringString.java new file mode 100644 index 000000000000..fb6a96e43c2d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getcluster/SyncGetClusterStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetCluster_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Cluster; + +public class SyncGetClusterStringStringString { + + public static void main(String[] args) throws Exception { + syncGetClusterStringStringString(); + } + + public static void syncGetClusterStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Cluster response = clusterManagerClient.getCluster(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetCluster_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java new file mode 100644 index 000000000000..851c19eb3bf4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/AsyncGetJSONWebKeys.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetJSONWebKeys_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetJSONWebKeysRequest; +import com.google.container.v1beta1.GetJSONWebKeysResponse; + +public class AsyncGetJSONWebKeys { + + public static void main(String[] args) throws Exception { + asyncGetJSONWebKeys(); + } + + public static void asyncGetJSONWebKeys() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetJSONWebKeysRequest request = + GetJSONWebKeysRequest.newBuilder().setParent("parent-995424086").build(); + ApiFuture future = + clusterManagerClient.getJSONWebKeysCallable().futureCall(request); + // Do something. + GetJSONWebKeysResponse response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetJSONWebKeys_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java new file mode 100644 index 000000000000..1761ddd4b815 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getjsonwebkeys/SyncGetJSONWebKeys.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetJSONWebKeys_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetJSONWebKeysRequest; +import com.google.container.v1beta1.GetJSONWebKeysResponse; + +public class SyncGetJSONWebKeys { + + public static void main(String[] args) throws Exception { + syncGetJSONWebKeys(); + } + + public static void syncGetJSONWebKeys() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetJSONWebKeysRequest request = + GetJSONWebKeysRequest.newBuilder().setParent("parent-995424086").build(); + GetJSONWebKeysResponse response = clusterManagerClient.getJSONWebKeys(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetJSONWebKeys_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/AsyncGetNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/AsyncGetNodePool.java new file mode 100644 index 000000000000..a9f42bb03a18 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/AsyncGetNodePool.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetNodePoolRequest; +import com.google.container.v1beta1.NodePool; + +public class AsyncGetNodePool { + + public static void main(String[] args) throws Exception { + asyncGetNodePool(); + } + + public static void asyncGetNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetNodePoolRequest request = + GetNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getNodePoolCallable().futureCall(request); + // Do something. + NodePool response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePool.java new file mode 100644 index 000000000000..9e953c225628 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePool.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetNodePool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetNodePoolRequest; +import com.google.container.v1beta1.NodePool; + +public class SyncGetNodePool { + + public static void main(String[] args) throws Exception { + syncGetNodePool(); + } + + public static void syncGetNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetNodePoolRequest request = + GetNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .build(); + NodePool response = clusterManagerClient.getNodePool(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java new file mode 100644 index 000000000000..f5b89179e8cf --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getnodepool/SyncGetNodePoolStringStringStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetNodePool_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodePool; + +public class SyncGetNodePoolStringStringStringString { + + public static void main(String[] args) throws Exception { + syncGetNodePoolStringStringStringString(); + } + + public static void syncGetNodePoolStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + NodePool response = clusterManagerClient.getNodePool(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetNodePool_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/AsyncGetOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/AsyncGetOperation.java new file mode 100644 index 000000000000..4cf8adf8579c --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/AsyncGetOperation.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetOperation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetOperationRequest; +import com.google.container.v1beta1.Operation; + +public class AsyncGetOperation { + + public static void main(String[] args) throws Exception { + asyncGetOperation(); + } + + public static void asyncGetOperation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetOperationRequest request = + GetOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.getOperationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetOperation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperation.java new file mode 100644 index 000000000000..5d9f679a5baa --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperation.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetOperation_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetOperationRequest; +import com.google.container.v1beta1.Operation; + +public class SyncGetOperation { + + public static void main(String[] args) throws Exception { + syncGetOperation(); + } + + public static void syncGetOperation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetOperationRequest request = + GetOperationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setOperationId("operationId129704162") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.getOperation(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetOperation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperationStringStringString.java new file mode 100644 index 000000000000..ecd34482a391 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getoperation/SyncGetOperationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetOperation_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncGetOperationStringStringString { + + public static void main(String[] args) throws Exception { + syncGetOperationStringStringString(); + } + + public static void syncGetOperationStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String operationId = "operationId129704162"; + Operation response = clusterManagerClient.getOperation(projectId, zone, operationId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetOperation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/AsyncGetServerConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/AsyncGetServerConfig.java new file mode 100644 index 000000000000..df25a079718f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/AsyncGetServerConfig.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetServerConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetServerConfigRequest; +import com.google.container.v1beta1.ServerConfig; + +public class AsyncGetServerConfig { + + public static void main(String[] args) throws Exception { + asyncGetServerConfig(); + } + + public static void asyncGetServerConfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.getServerConfigCallable().futureCall(request); + // Do something. + ServerConfig response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetServerConfig_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfig.java new file mode 100644 index 000000000000..c8eec630c016 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfig.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetServerConfig_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.GetServerConfigRequest; +import com.google.container.v1beta1.ServerConfig; + +public class SyncGetServerConfig { + + public static void main(String[] args) throws Exception { + syncGetServerConfig(); + } + + public static void syncGetServerConfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + GetServerConfigRequest request = + GetServerConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setName("name3373707") + .build(); + ServerConfig response = clusterManagerClient.getServerConfig(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetServerConfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java new file mode 100644 index 000000000000..68333cf13d3e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/getserverconfig/SyncGetServerConfigStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_GetServerConfig_StringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ServerConfig; + +public class SyncGetServerConfigStringString { + + public static void main(String[] args) throws Exception { + syncGetServerConfigStringString(); + } + + public static void syncGetServerConfigStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ServerConfig response = clusterManagerClient.getServerConfig(projectId, zone); + } + } +} +// [END container_v1beta1_generated_ClusterManager_GetServerConfig_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/AsyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/AsyncListClusters.java new file mode 100644 index 000000000000..059067272c58 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/AsyncListClusters.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListClusters_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListClustersRequest; +import com.google.container.v1beta1.ListClustersResponse; + +public class AsyncListClusters { + + public static void main(String[] args) throws Exception { + asyncListClusters(); + } + + public static void asyncListClusters() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listClustersCallable().futureCall(request); + // Do something. + ListClustersResponse response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListClusters_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..c1ed6a952d84 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClusters.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListClusters_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListClustersRequest; +import com.google.container.v1beta1.ListClustersResponse; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ListClustersResponse response = clusterManagerClient.listClusters(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClustersStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClustersStringString.java new file mode 100644 index 000000000000..02640874f9f4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listclusters/SyncListClustersStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListClusters_StringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListClustersResponse; + +public class SyncListClustersStringString { + + public static void main(String[] args) throws Exception { + syncListClustersStringString(); + } + + public static void syncListClustersStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ListClustersResponse response = clusterManagerClient.listClusters(projectId, zone); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListClusters_StringString_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/SyncListPolicyBasedRoutesString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/AsyncListLocations.java similarity index 54% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/SyncListPolicyBasedRoutesString.java rename to java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/AsyncListLocations.java index ee527aedb77a..05aa466e3d16 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/listpolicybasedroutes/SyncListPolicyBasedRoutesString.java +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/AsyncListLocations.java @@ -14,33 +14,34 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.container.v1beta1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_String_sync] -import com.google.cloud.networkconnectivity.v1.LocationName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START container_v1beta1_generated_ClusterManager_ListLocations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListLocationsRequest; +import com.google.container.v1beta1.ListLocationsResponse; -public class SyncListPolicyBasedRoutesString { +public class AsyncListLocations { public static void main(String[] args) throws Exception { - syncListPolicyBasedRoutesString(); + asyncListLocations(); } - public static void syncListPolicyBasedRoutesString() throws Exception { + public static void asyncListLocations() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); - for (PolicyBasedRoute element : - policyBasedRoutingServiceClient.listPolicyBasedRoutes(parent).iterateAll()) { - // doThingsWith(element); - } + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder().setParent("parent-995424086").build(); + ApiFuture future = + clusterManagerClient.listLocationsCallable().futureCall(request); + // Do something. + ListLocationsResponse response = future.get(); } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_ListPolicyBasedRoutes_String_sync] +// [END container_v1beta1_generated_ClusterManager_ListLocations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocations.java new file mode 100644 index 000000000000..8c5ff1b52e40 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocations.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListLocations_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListLocationsRequest; +import com.google.container.v1beta1.ListLocationsResponse; + +public class SyncListLocations { + + public static void main(String[] args) throws Exception { + syncListLocations(); + } + + public static void syncListLocations() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListLocationsRequest request = + ListLocationsRequest.newBuilder().setParent("parent-995424086").build(); + ListLocationsResponse response = clusterManagerClient.listLocations(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListLocations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocationsString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocationsString.java new file mode 100644 index 000000000000..014b88316431 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listlocations/SyncListLocationsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListLocations_String_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListLocationsResponse; + +public class SyncListLocationsString { + + public static void main(String[] args) throws Exception { + syncListLocationsString(); + } + + public static void syncListLocationsString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + ListLocationsResponse response = clusterManagerClient.listLocations(parent); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListLocations_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/AsyncListNodePools.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/AsyncListNodePools.java new file mode 100644 index 000000000000..abfc7ca1eb05 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/AsyncListNodePools.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListNodePools_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListNodePoolsRequest; +import com.google.container.v1beta1.ListNodePoolsResponse; + +public class AsyncListNodePools { + + public static void main(String[] args) throws Exception { + asyncListNodePools(); + } + + public static void asyncListNodePools() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListNodePoolsRequest request = + ListNodePoolsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listNodePoolsCallable().futureCall(request); + // Do something. + ListNodePoolsResponse response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListNodePools_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePools.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePools.java new file mode 100644 index 000000000000..fe5bf53b1d65 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePools.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListNodePools_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListNodePoolsRequest; +import com.google.container.v1beta1.ListNodePoolsResponse; + +public class SyncListNodePools { + + public static void main(String[] args) throws Exception { + syncListNodePools(); + } + + public static void syncListNodePools() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListNodePoolsRequest request = + ListNodePoolsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setParent("parent-995424086") + .build(); + ListNodePoolsResponse response = clusterManagerClient.listNodePools(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListNodePools_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java new file mode 100644 index 000000000000..02d1e27deaee --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listnodepools/SyncListNodePoolsStringStringString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListNodePools_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListNodePoolsResponse; + +public class SyncListNodePoolsStringStringString { + + public static void main(String[] args) throws Exception { + syncListNodePoolsStringStringString(); + } + + public static void syncListNodePoolsStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + ListNodePoolsResponse response = + clusterManagerClient.listNodePools(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListNodePools_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/AsyncListOperations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/AsyncListOperations.java new file mode 100644 index 000000000000..b9e7f05ed968 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/AsyncListOperations.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListOperations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListOperationsRequest; +import com.google.container.v1beta1.ListOperationsResponse; + +public class AsyncListOperations { + + public static void main(String[] args) throws Exception { + asyncListOperations(); + } + + public static void asyncListOperations() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListOperationsRequest request = + ListOperationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ApiFuture future = + clusterManagerClient.listOperationsCallable().futureCall(request); + // Do something. + ListOperationsResponse response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListOperations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperations.java new file mode 100644 index 000000000000..933680a78cfc --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperations.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListOperations_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListOperationsRequest; +import com.google.container.v1beta1.ListOperationsResponse; + +public class SyncListOperations { + + public static void main(String[] args) throws Exception { + syncListOperations(); + } + + public static void syncListOperations() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListOperationsRequest request = + ListOperationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setParent("parent-995424086") + .build(); + ListOperationsResponse response = clusterManagerClient.listOperations(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListOperations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperationsStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperationsStringString.java new file mode 100644 index 000000000000..042c231387c7 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listoperations/SyncListOperationsStringString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListOperations_StringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListOperationsResponse; + +public class SyncListOperationsStringString { + + public static void main(String[] args) throws Exception { + syncListOperationsStringString(); + } + + public static void syncListOperationsStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + ListOperationsResponse response = clusterManagerClient.listOperations(projectId, zone); + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListOperations_StringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java new file mode 100644 index 000000000000..bbf770d81438 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworks.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListUsableSubnetworksRequest; +import com.google.container.v1beta1.UsableSubnetwork; + +public class AsyncListUsableSubnetworks { + + public static void main(String[] args) throws Exception { + asyncListUsableSubnetworks(); + } + + public static void asyncListUsableSubnetworks() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + clusterManagerClient.listUsableSubnetworksPagedCallable().futureCall(request); + // Do something. + for (UsableSubnetwork element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java new file mode 100644 index 000000000000..7fc015e2faca --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/AsyncListUsableSubnetworksPaged.java @@ -0,0 +1,62 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_Paged_async] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.common.base.Strings; +import com.google.container.v1beta1.ListUsableSubnetworksRequest; +import com.google.container.v1beta1.ListUsableSubnetworksResponse; +import com.google.container.v1beta1.UsableSubnetwork; + +public class AsyncListUsableSubnetworksPaged { + + public static void main(String[] args) throws Exception { + asyncListUsableSubnetworksPaged(); + } + + public static void asyncListUsableSubnetworksPaged() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListUsableSubnetworksResponse response = + clusterManagerClient.listUsableSubnetworksCallable().call(request); + for (UsableSubnetwork element : response.getSubnetworksList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_Paged_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java new file mode 100644 index 000000000000..9f9cb6c1aec9 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworks.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ListUsableSubnetworksRequest; +import com.google.container.v1beta1.UsableSubnetwork; + +public class SyncListUsableSubnetworks { + + public static void main(String[] args) throws Exception { + syncListUsableSubnetworks(); + } + + public static void syncListUsableSubnetworks() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + ListUsableSubnetworksRequest request = + ListUsableSubnetworksRequest.newBuilder() + .setParent("parent-995424086") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (UsableSubnetwork element : + clusterManagerClient.listUsableSubnetworks(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworksString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworksString.java new file mode 100644 index 000000000000..dce4a9fb4b7a --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/listusablesubnetworks/SyncListUsableSubnetworksString.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_String_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.UsableSubnetwork; + +public class SyncListUsableSubnetworksString { + + public static void main(String[] args) throws Exception { + syncListUsableSubnetworksString(); + } + + public static void syncListUsableSubnetworksString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String parent = "parent-995424086"; + for (UsableSubnetwork element : + clusterManagerClient.listUsableSubnetworks(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END container_v1beta1_generated_ClusterManager_ListUsableSubnetworks_String_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java new file mode 100644 index 000000000000..6f6e89ad948d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/AsyncRollbackNodePoolUpgrade.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.RollbackNodePoolUpgradeRequest; + +public class AsyncRollbackNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + asyncRollbackNodePoolUpgrade(); + } + + public static void asyncRollbackNodePoolUpgrade() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + RollbackNodePoolUpgradeRequest request = + RollbackNodePoolUpgradeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .setRespectPdb(true) + .build(); + ApiFuture future = + clusterManagerClient.rollbackNodePoolUpgradeCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java new file mode 100644 index 000000000000..a2fba07586c2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgrade.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.RollbackNodePoolUpgradeRequest; + +public class SyncRollbackNodePoolUpgrade { + + public static void main(String[] args) throws Exception { + syncRollbackNodePoolUpgrade(); + } + + public static void syncRollbackNodePoolUpgrade() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + RollbackNodePoolUpgradeRequest request = + RollbackNodePoolUpgradeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setName("name3373707") + .setRespectPdb(true) + .build(); + Operation response = clusterManagerClient.rollbackNodePoolUpgrade(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java new file mode 100644 index 000000000000..2cf7d3e84e3f --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/rollbacknodepoolupgrade/SyncRollbackNodePoolUpgradeStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncRollbackNodePoolUpgradeStringStringStringString { + + public static void main(String[] args) throws Exception { + syncRollbackNodePoolUpgradeStringStringStringString(); + } + + public static void syncRollbackNodePoolUpgradeStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + Operation response = + clusterManagerClient.rollbackNodePoolUpgrade(projectId, zone, clusterId, nodePoolId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_RollbackNodePoolUpgrade_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java new file mode 100644 index 000000000000..d46cc62fbd95 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/AsyncSetAddonsConfig.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetAddonsConfig_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.AddonsConfig; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetAddonsConfigRequest; + +public class AsyncSetAddonsConfig { + + public static void main(String[] args) throws Exception { + asyncSetAddonsConfig(); + } + + public static void asyncSetAddonsConfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetAddonsConfigRequest request = + SetAddonsConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setAddonsConfig(AddonsConfig.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setAddonsConfigCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetAddonsConfig_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java new file mode 100644 index 000000000000..24a40034046b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfig.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetAddonsConfig_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.AddonsConfig; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetAddonsConfigRequest; + +public class SyncSetAddonsConfig { + + public static void main(String[] args) throws Exception { + syncSetAddonsConfig(); + } + + public static void syncSetAddonsConfig() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetAddonsConfigRequest request = + SetAddonsConfigRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setAddonsConfig(AddonsConfig.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setAddonsConfig(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetAddonsConfig_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/SyncGetPolicyBasedRoutePolicybasedroutename.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java similarity index 51% rename from java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/SyncGetPolicyBasedRoutePolicybasedroutename.java rename to java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java index dc7b9b61a3ef..035bec4f459a 100644 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/getpolicybasedroute/SyncGetPolicyBasedRoutePolicybasedroutename.java +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setaddonsconfig/SyncSetAddonsConfigStringStringStringAddonsconfig.java @@ -14,31 +14,33 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.samples; +package com.google.cloud.container.v1beta1.samples; -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_Policybasedroutename_sync] -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRouteName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; +// [START container_v1beta1_generated_ClusterManager_SetAddonsConfig_StringStringStringAddonsconfig_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.AddonsConfig; +import com.google.container.v1beta1.Operation; -public class SyncGetPolicyBasedRoutePolicybasedroutename { +public class SyncSetAddonsConfigStringStringStringAddonsconfig { public static void main(String[] args) throws Exception { - syncGetPolicyBasedRoutePolicybasedroutename(); + syncSetAddonsConfigStringStringStringAddonsconfig(); } - public static void syncGetPolicyBasedRoutePolicybasedroutename() throws Exception { + public static void syncSetAddonsConfigStringStringStringAddonsconfig() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - PolicyBasedRouteName name = - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]"); - PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(name); + try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + AddonsConfig addonsConfig = AddonsConfig.newBuilder().build(); + Operation response = + clusterManagerClient.setAddonsConfig(projectId, zone, clusterId, addonsConfig); } } } -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_GetPolicyBasedRoute_Policybasedroutename_sync] +// [END container_v1beta1_generated_ClusterManager_SetAddonsConfig_StringStringStringAddonsconfig_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/AsyncSetLabels.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/AsyncSetLabels.java new file mode 100644 index 000000000000..fbd14c9a944b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/AsyncSetLabels.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLabels_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLabelsRequest; +import java.util.HashMap; + +public class AsyncSetLabels { + + public static void main(String[] args) throws Exception { + asyncSetLabels(); + } + + public static void asyncSetLabels() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .putAllResourceLabels(new HashMap()) + .setLabelFingerprint("labelFingerprint379449680") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.setLabelsCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLabels_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabels.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabels.java new file mode 100644 index 000000000000..5719325457fc --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabels.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLabels_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLabelsRequest; +import java.util.HashMap; + +public class SyncSetLabels { + + public static void main(String[] args) throws Exception { + syncSetLabels(); + } + + public static void syncSetLabels() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLabelsRequest request = + SetLabelsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .putAllResourceLabels(new HashMap()) + .setLabelFingerprint("labelFingerprint379449680") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLabels(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLabels_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabelsStringStringStringMapstringstringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabelsStringStringStringMapstringstringString.java new file mode 100644 index 000000000000..08a6dc9446b5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlabels/SyncSetLabelsStringStringStringMapstringstringString.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLabels_StringStringStringMapstringstringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import java.util.HashMap; +import java.util.Map; + +public class SyncSetLabelsStringStringStringMapstringstringString { + + public static void main(String[] args) throws Exception { + syncSetLabelsStringStringStringMapstringstringString(); + } + + public static void syncSetLabelsStringStringStringMapstringstringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Map resourceLabels = new HashMap<>(); + String labelFingerprint = "labelFingerprint379449680"; + Operation response = + clusterManagerClient.setLabels( + projectId, zone, clusterId, resourceLabels, labelFingerprint); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLabels_StringStringStringMapstringstringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java new file mode 100644 index 000000000000..36b1cb714171 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/AsyncSetLegacyAbac.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLegacyAbac_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLegacyAbacRequest; + +public class AsyncSetLegacyAbac { + + public static void main(String[] args) throws Exception { + asyncSetLegacyAbac(); + } + + public static void asyncSetLegacyAbac() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLegacyAbacRequest request = + SetLegacyAbacRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setEnabled(true) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setLegacyAbacCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLegacyAbac_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java new file mode 100644 index 000000000000..23502d74427d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbac.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLegacyAbac_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLegacyAbacRequest; + +public class SyncSetLegacyAbac { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbac(); + } + + public static void syncSetLegacyAbac() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLegacyAbacRequest request = + SetLegacyAbacRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setEnabled(true) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLegacyAbac(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLegacyAbac_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java new file mode 100644 index 000000000000..09098a37d06d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlegacyabac/SyncSetLegacyAbacStringStringStringBoolean.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLegacyAbac_StringStringStringBoolean_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncSetLegacyAbacStringStringStringBoolean { + + public static void main(String[] args) throws Exception { + syncSetLegacyAbacStringStringStringBoolean(); + } + + public static void syncSetLegacyAbacStringStringStringBoolean() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + boolean enabled = true; + Operation response = clusterManagerClient.setLegacyAbac(projectId, zone, clusterId, enabled); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLegacyAbac_StringStringStringBoolean_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/AsyncSetLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/AsyncSetLocations.java new file mode 100644 index 000000000000..399544840b04 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/AsyncSetLocations.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLocations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLocationsRequest; +import java.util.ArrayList; + +public class AsyncSetLocations { + + public static void main(String[] args) throws Exception { + asyncSetLocations(); + } + + public static void asyncSetLocations() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLocationsRequest request = + SetLocationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .addAllLocations(new ArrayList()) + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.setLocationsCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLocations_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocations.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocations.java new file mode 100644 index 000000000000..70b5daa77bbd --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocations.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLocations_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLocationsRequest; +import java.util.ArrayList; + +public class SyncSetLocations { + + public static void main(String[] args) throws Exception { + syncSetLocations(); + } + + public static void syncSetLocations() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLocationsRequest request = + SetLocationsRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .addAllLocations(new ArrayList()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLocations(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLocations_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java new file mode 100644 index 000000000000..900fe1aac356 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setlocations/SyncSetLocationsStringStringStringListstring.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLocations_StringStringStringListstring_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import java.util.ArrayList; +import java.util.List; + +public class SyncSetLocationsStringStringStringListstring { + + public static void main(String[] args) throws Exception { + syncSetLocationsStringStringStringListstring(); + } + + public static void syncSetLocationsStringStringStringListstring() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + List locations = new ArrayList<>(); + Operation response = clusterManagerClient.setLocations(projectId, zone, clusterId, locations); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLocations_StringStringStringListstring_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/AsyncSetLoggingService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/AsyncSetLoggingService.java new file mode 100644 index 000000000000..fe8c502c06b2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/AsyncSetLoggingService.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLoggingService_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLoggingServiceRequest; + +public class AsyncSetLoggingService { + + public static void main(String[] args) throws Exception { + asyncSetLoggingService(); + } + + public static void asyncSetLoggingService() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLoggingServiceRequest request = + SetLoggingServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setLoggingService("loggingService1098570326") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setLoggingServiceCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLoggingService_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingService.java new file mode 100644 index 000000000000..745a972655bb --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingService.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLoggingService_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetLoggingServiceRequest; + +public class SyncSetLoggingService { + + public static void main(String[] args) throws Exception { + syncSetLoggingService(); + } + + public static void syncSetLoggingService() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetLoggingServiceRequest request = + SetLoggingServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setLoggingService("loggingService1098570326") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setLoggingService(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLoggingService_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java new file mode 100644 index 000000000000..b6a7ad03c97d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setloggingservice/SyncSetLoggingServiceStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetLoggingService_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncSetLoggingServiceStringStringStringString { + + public static void main(String[] args) throws Exception { + syncSetLoggingServiceStringStringStringString(); + } + + public static void syncSetLoggingServiceStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String loggingService = "loggingService1098570326"; + Operation response = + clusterManagerClient.setLoggingService(projectId, zone, clusterId, loggingService); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetLoggingService_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java new file mode 100644 index 000000000000..925215dae779 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/AsyncSetMaintenancePolicy.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MaintenancePolicy; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMaintenancePolicyRequest; + +public class AsyncSetMaintenancePolicy { + + public static void main(String[] args) throws Exception { + asyncSetMaintenancePolicy(); + } + + public static void asyncSetMaintenancePolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMaintenancePolicyRequest request = + SetMaintenancePolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMaintenancePolicyCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java new file mode 100644 index 000000000000..de113ce329b2 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicy.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MaintenancePolicy; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMaintenancePolicyRequest; + +public class SyncSetMaintenancePolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicy(); + } + + public static void syncSetMaintenancePolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMaintenancePolicyRequest request = + SetMaintenancePolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMaintenancePolicy(MaintenancePolicy.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMaintenancePolicy(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java new file mode 100644 index 000000000000..ebb43efc8d1b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmaintenancepolicy/SyncSetMaintenancePolicyStringStringStringMaintenancepolicy.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_StringStringStringMaintenancepolicy_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MaintenancePolicy; +import com.google.container.v1beta1.Operation; + +public class SyncSetMaintenancePolicyStringStringStringMaintenancepolicy { + + public static void main(String[] args) throws Exception { + syncSetMaintenancePolicyStringStringStringMaintenancepolicy(); + } + + public static void syncSetMaintenancePolicyStringStringStringMaintenancepolicy() + 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + MaintenancePolicy maintenancePolicy = MaintenancePolicy.newBuilder().build(); + Operation response = + clusterManagerClient.setMaintenancePolicy(projectId, zone, clusterId, maintenancePolicy); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMaintenancePolicy_StringStringStringMaintenancepolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/AsyncSetMasterAuth.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/AsyncSetMasterAuth.java new file mode 100644 index 000000000000..0aff850daa8e --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/AsyncSetMasterAuth.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMasterAuth_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MasterAuth; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMasterAuthRequest; + +public class AsyncSetMasterAuth { + + public static void main(String[] args) throws Exception { + asyncSetMasterAuth(); + } + + public static void asyncSetMasterAuth() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(MasterAuth.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMasterAuthCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMasterAuth_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/SyncSetMasterAuth.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/SyncSetMasterAuth.java new file mode 100644 index 000000000000..c916c9da84aa --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmasterauth/SyncSetMasterAuth.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMasterAuth_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.MasterAuth; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMasterAuthRequest; + +public class SyncSetMasterAuth { + + public static void main(String[] args) throws Exception { + syncSetMasterAuth(); + } + + public static void syncSetMasterAuth() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMasterAuthRequest request = + SetMasterAuthRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(MasterAuth.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMasterAuth(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMasterAuth_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java new file mode 100644 index 000000000000..20587a88db0b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/AsyncSetMonitoringService.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMonitoringService_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMonitoringServiceRequest; + +public class AsyncSetMonitoringService { + + public static void main(String[] args) throws Exception { + asyncSetMonitoringService(); + } + + public static void asyncSetMonitoringService() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMonitoringServiceRequest request = + SetMonitoringServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMonitoringService("monitoringService-1431578291") + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setMonitoringServiceCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMonitoringService_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java new file mode 100644 index 000000000000..6bee064a8dee --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringService.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMonitoringService_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetMonitoringServiceRequest; + +public class SyncSetMonitoringService { + + public static void main(String[] args) throws Exception { + syncSetMonitoringService(); + } + + public static void syncSetMonitoringService() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetMonitoringServiceRequest request = + SetMonitoringServiceRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMonitoringService("monitoringService-1431578291") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setMonitoringService(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMonitoringService_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java new file mode 100644 index 000000000000..7fee7c4c5f96 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setmonitoringservice/SyncSetMonitoringServiceStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetMonitoringService_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncSetMonitoringServiceStringStringStringString { + + public static void main(String[] args) throws Exception { + syncSetMonitoringServiceStringStringStringString(); + } + + public static void syncSetMonitoringServiceStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String monitoringService = "monitoringService-1431578291"; + Operation response = + clusterManagerClient.setMonitoringService(projectId, zone, clusterId, monitoringService); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetMonitoringService_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java new file mode 100644 index 000000000000..79c9f7c17d9b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/AsyncSetNetworkPolicy.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNetworkPolicy_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NetworkPolicy; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNetworkPolicyRequest; + +public class AsyncSetNetworkPolicy { + + public static void main(String[] args) throws Exception { + asyncSetNetworkPolicy(); + } + + public static void asyncSetNetworkPolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNetworkPolicyRequest request = + SetNetworkPolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNetworkPolicy(NetworkPolicy.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNetworkPolicyCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNetworkPolicy_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java new file mode 100644 index 000000000000..ae229320cd10 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicy.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNetworkPolicy_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NetworkPolicy; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNetworkPolicyRequest; + +public class SyncSetNetworkPolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicy(); + } + + public static void syncSetNetworkPolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNetworkPolicyRequest request = + SetNetworkPolicyRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNetworkPolicy(NetworkPolicy.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNetworkPolicy(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNetworkPolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java new file mode 100644 index 000000000000..c056076925e0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnetworkpolicy/SyncSetNetworkPolicyStringStringStringNetworkpolicy.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNetworkPolicy_StringStringStringNetworkpolicy_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NetworkPolicy; +import com.google.container.v1beta1.Operation; + +public class SyncSetNetworkPolicyStringStringStringNetworkpolicy { + + public static void main(String[] args) throws Exception { + syncSetNetworkPolicyStringStringStringNetworkpolicy(); + } + + public static void syncSetNetworkPolicyStringStringStringNetworkpolicy() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + NetworkPolicy networkPolicy = NetworkPolicy.newBuilder().build(); + Operation response = + clusterManagerClient.setNetworkPolicy(projectId, zone, clusterId, networkPolicy); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNetworkPolicy_StringStringStringNetworkpolicy_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java new file mode 100644 index 000000000000..e32c7735054b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/AsyncSetNodePoolAutoscaling.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolAutoscaling_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodePoolAutoscaling; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolAutoscalingRequest; + +public class AsyncSetNodePoolAutoscaling { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolAutoscaling(); + } + + public static void asyncSetNodePoolAutoscaling() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setAutoscaling(NodePoolAutoscaling.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolAutoscalingCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolAutoscaling_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java new file mode 100644 index 000000000000..54a442d7a59d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolautoscaling/SyncSetNodePoolAutoscaling.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolAutoscaling_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodePoolAutoscaling; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolAutoscalingRequest; + +public class SyncSetNodePoolAutoscaling { + + public static void main(String[] args) throws Exception { + syncSetNodePoolAutoscaling(); + } + + public static void syncSetNodePoolAutoscaling() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolAutoscalingRequest request = + SetNodePoolAutoscalingRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setAutoscaling(NodePoolAutoscaling.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolAutoscaling(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolAutoscaling_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java new file mode 100644 index 000000000000..59a7e83373d0 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/AsyncSetNodePoolManagement.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolManagement_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodeManagement; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolManagementRequest; + +public class AsyncSetNodePoolManagement { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolManagement(); + } + + public static void asyncSetNodePoolManagement() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setManagement(NodeManagement.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolManagementCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolManagement_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java new file mode 100644 index 000000000000..d5226160ddf5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagement.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolManagement_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodeManagement; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolManagementRequest; + +public class SyncSetNodePoolManagement { + + public static void main(String[] args) throws Exception { + syncSetNodePoolManagement(); + } + + public static void syncSetNodePoolManagement() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolManagementRequest request = + SetNodePoolManagementRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setManagement(NodeManagement.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolManagement(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolManagement_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagementStringStringStringStringNodemanagement.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagementStringStringStringStringNodemanagement.java new file mode 100644 index 000000000000..d63b59371710 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolmanagement/SyncSetNodePoolManagementStringStringStringStringNodemanagement.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolManagement_StringStringStringStringNodemanagement_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.NodeManagement; +import com.google.container.v1beta1.Operation; + +public class SyncSetNodePoolManagementStringStringStringStringNodemanagement { + + public static void main(String[] args) throws Exception { + syncSetNodePoolManagementStringStringStringStringNodemanagement(); + } + + public static void syncSetNodePoolManagementStringStringStringStringNodemanagement() + 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String nodePoolId = "nodePoolId1121557241"; + NodeManagement management = NodeManagement.newBuilder().build(); + Operation response = + clusterManagerClient.setNodePoolManagement( + projectId, zone, clusterId, nodePoolId, management); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolManagement_StringStringStringStringNodemanagement_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java new file mode 100644 index 000000000000..443bbfe9b11b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/AsyncSetNodePoolSize.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolSize_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolSizeRequest; + +public class AsyncSetNodePoolSize { + + public static void main(String[] args) throws Exception { + asyncSetNodePoolSize(); + } + + public static void asyncSetNodePoolSize() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeCount(1539922066) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.setNodePoolSizeCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolSize_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java new file mode 100644 index 000000000000..5217f9b245fc --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/setnodepoolsize/SyncSetNodePoolSize.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_SetNodePoolSize_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.SetNodePoolSizeRequest; + +public class SyncSetNodePoolSize { + + public static void main(String[] args) throws Exception { + syncSetNodePoolSize(); + } + + public static void syncSetNodePoolSize() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + SetNodePoolSizeRequest request = + SetNodePoolSizeRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeCount(1539922066) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.setNodePoolSize(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_SetNodePoolSize_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/AsyncStartIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/AsyncStartIPRotation.java new file mode 100644 index 000000000000..80787c978fbe --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/AsyncStartIPRotation.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_StartIPRotation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.StartIPRotationRequest; + +public class AsyncStartIPRotation { + + public static void main(String[] args) throws Exception { + asyncStartIPRotation(); + } + + public static void asyncStartIPRotation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + StartIPRotationRequest request = + StartIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .setRotateCredentials(true) + .build(); + ApiFuture future = + clusterManagerClient.startIPRotationCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_StartIPRotation_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotation.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotation.java new file mode 100644 index 000000000000..870e5aa26825 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotation.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_StartIPRotation_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.StartIPRotationRequest; + +public class SyncStartIPRotation { + + public static void main(String[] args) throws Exception { + syncStartIPRotation(); + } + + public static void syncStartIPRotation() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + StartIPRotationRequest request = + StartIPRotationRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setName("name3373707") + .setRotateCredentials(true) + .build(); + Operation response = clusterManagerClient.startIPRotation(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_StartIPRotation_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java new file mode 100644 index 000000000000..0a3b0f4f0226 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/startiprotation/SyncStartIPRotationStringStringString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_StartIPRotation_StringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncStartIPRotationStringStringString { + + public static void main(String[] args) throws Exception { + syncStartIPRotationStringStringString(); + } + + public static void syncStartIPRotationStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + Operation response = clusterManagerClient.startIPRotation(projectId, zone, clusterId); + } + } +} +// [END container_v1beta1_generated_ClusterManager_StartIPRotation_StringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/AsyncUpdateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/AsyncUpdateCluster.java new file mode 100644 index 000000000000..ec37a8605c56 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/AsyncUpdateCluster.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateCluster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ClusterUpdate; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.UpdateClusterRequest; + +public class AsyncUpdateCluster { + + public static void main(String[] args) throws Exception { + asyncUpdateCluster(); + } + + public static void asyncUpdateCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateClusterRequest request = + UpdateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(ClusterUpdate.newBuilder().build()) + .setName("name3373707") + .build(); + ApiFuture future = + clusterManagerClient.updateClusterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateCluster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateCluster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateCluster.java new file mode 100644 index 000000000000..bfe3843e16ef --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateCluster.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateCluster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ClusterUpdate; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.UpdateClusterRequest; + +public class SyncUpdateCluster { + + public static void main(String[] args) throws Exception { + syncUpdateCluster(); + } + + public static void syncUpdateCluster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateClusterRequest request = + UpdateClusterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setUpdate(ClusterUpdate.newBuilder().build()) + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.updateCluster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateCluster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java new file mode 100644 index 000000000000..9a5663e2b6e5 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatecluster/SyncUpdateClusterStringStringStringClusterupdate.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateCluster_StringStringStringClusterupdate_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ClusterUpdate; +import com.google.container.v1beta1.Operation; + +public class SyncUpdateClusterStringStringStringClusterupdate { + + public static void main(String[] args) throws Exception { + syncUpdateClusterStringStringStringClusterupdate(); + } + + public static void syncUpdateClusterStringStringStringClusterupdate() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + ClusterUpdate update = ClusterUpdate.newBuilder().build(); + Operation response = clusterManagerClient.updateCluster(projectId, zone, clusterId, update); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateCluster_StringStringStringClusterupdate_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/AsyncUpdateMaster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/AsyncUpdateMaster.java new file mode 100644 index 000000000000..bd83111dcb1b --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/AsyncUpdateMaster.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateMaster_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.UpdateMasterRequest; + +public class AsyncUpdateMaster { + + public static void main(String[] args) throws Exception { + asyncUpdateMaster(); + } + + public static void asyncUpdateMaster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateMasterRequest request = + UpdateMasterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMasterVersion("masterVersion1167095830") + .setName("name3373707") + .build(); + ApiFuture future = clusterManagerClient.updateMasterCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateMaster_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMaster.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMaster.java new file mode 100644 index 000000000000..e1fc23dbc8a1 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMaster.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateMaster_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.UpdateMasterRequest; + +public class SyncUpdateMaster { + + public static void main(String[] args) throws Exception { + syncUpdateMaster(); + } + + public static void syncUpdateMaster() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateMasterRequest request = + UpdateMasterRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setMasterVersion("masterVersion1167095830") + .setName("name3373707") + .build(); + Operation response = clusterManagerClient.updateMaster(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateMaster_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java new file mode 100644 index 000000000000..d43f2afc91ad --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatemaster/SyncUpdateMasterStringStringStringString.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateMaster_StringStringStringString_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.Operation; + +public class SyncUpdateMasterStringStringStringString { + + public static void main(String[] args) throws Exception { + syncUpdateMasterStringStringStringString(); + } + + public static void syncUpdateMasterStringStringStringString() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + String projectId = "projectId-894832108"; + String zone = "zone3744684"; + String clusterId = "clusterId561939637"; + String masterVersion = "masterVersion1167095830"; + Operation response = + clusterManagerClient.updateMaster(projectId, zone, clusterId, masterVersion); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateMaster_StringStringStringString_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/AsyncUpdateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/AsyncUpdateNodePool.java new file mode 100644 index 000000000000..6770e3ad8467 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/AsyncUpdateNodePool.java @@ -0,0 +1,88 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateNodePool_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ConfidentialNodes; +import com.google.container.v1beta1.FastSocket; +import com.google.container.v1beta1.GcfsConfig; +import com.google.container.v1beta1.LinuxNodeConfig; +import com.google.container.v1beta1.NetworkTags; +import com.google.container.v1beta1.NodeKubeletConfig; +import com.google.container.v1beta1.NodeLabels; +import com.google.container.v1beta1.NodeNetworkConfig; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.NodePoolLoggingConfig; +import com.google.container.v1beta1.NodeTaints; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.ResourceLabels; +import com.google.container.v1beta1.UpdateNodePoolRequest; +import com.google.container.v1beta1.VirtualNIC; +import com.google.container.v1beta1.WindowsNodeConfig; +import com.google.container.v1beta1.WorkloadMetadataConfig; +import java.util.ArrayList; + +public class AsyncUpdateNodePool { + + public static void main(String[] args) throws Exception { + asyncUpdateNodePool(); + } + + public static void asyncUpdateNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeVersion("nodeVersion1155309686") + .setImageType("imageType-878147787") + .addAllLocations(new ArrayList()) + .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) + .setName("name3373707") + .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) + .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) + .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) + .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setGvnic(VirtualNIC.newBuilder().build()) + .setEtag("etag3123477") + .setFastSocket(FastSocket.newBuilder().build()) + .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) + .setResourceLabels(ResourceLabels.newBuilder().build()) + .setWindowsNodeConfig(WindowsNodeConfig.newBuilder().build()) + .build(); + ApiFuture future = + clusterManagerClient.updateNodePoolCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateNodePool_async] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/SyncUpdateNodePool.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/SyncUpdateNodePool.java new file mode 100644 index 000000000000..705cacd2b3d4 --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanager/updatenodepool/SyncUpdateNodePool.java @@ -0,0 +1,84 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManager_UpdateNodePool_sync] +import com.google.cloud.container.v1beta1.ClusterManagerClient; +import com.google.container.v1beta1.ConfidentialNodes; +import com.google.container.v1beta1.FastSocket; +import com.google.container.v1beta1.GcfsConfig; +import com.google.container.v1beta1.LinuxNodeConfig; +import com.google.container.v1beta1.NetworkTags; +import com.google.container.v1beta1.NodeKubeletConfig; +import com.google.container.v1beta1.NodeLabels; +import com.google.container.v1beta1.NodeNetworkConfig; +import com.google.container.v1beta1.NodePool; +import com.google.container.v1beta1.NodePoolLoggingConfig; +import com.google.container.v1beta1.NodeTaints; +import com.google.container.v1beta1.Operation; +import com.google.container.v1beta1.ResourceLabels; +import com.google.container.v1beta1.UpdateNodePoolRequest; +import com.google.container.v1beta1.VirtualNIC; +import com.google.container.v1beta1.WindowsNodeConfig; +import com.google.container.v1beta1.WorkloadMetadataConfig; +import java.util.ArrayList; + +public class SyncUpdateNodePool { + + public static void main(String[] args) throws Exception { + syncUpdateNodePool(); + } + + public static void syncUpdateNodePool() 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 (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { + UpdateNodePoolRequest request = + UpdateNodePoolRequest.newBuilder() + .setProjectId("projectId-894832108") + .setZone("zone3744684") + .setClusterId("clusterId561939637") + .setNodePoolId("nodePoolId1121557241") + .setNodeVersion("nodeVersion1155309686") + .setImageType("imageType-878147787") + .addAllLocations(new ArrayList()) + .setWorkloadMetadataConfig(WorkloadMetadataConfig.newBuilder().build()) + .setName("name3373707") + .setUpgradeSettings(NodePool.UpgradeSettings.newBuilder().build()) + .setTags(NetworkTags.newBuilder().build()) + .setTaints(NodeTaints.newBuilder().build()) + .setLabels(NodeLabels.newBuilder().build()) + .setLinuxNodeConfig(LinuxNodeConfig.newBuilder().build()) + .setKubeletConfig(NodeKubeletConfig.newBuilder().build()) + .setNodeNetworkConfig(NodeNetworkConfig.newBuilder().build()) + .setGcfsConfig(GcfsConfig.newBuilder().build()) + .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) + .setGvnic(VirtualNIC.newBuilder().build()) + .setEtag("etag3123477") + .setFastSocket(FastSocket.newBuilder().build()) + .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) + .setResourceLabels(ResourceLabels.newBuilder().build()) + .setWindowsNodeConfig(WindowsNodeConfig.newBuilder().build()) + .build(); + Operation response = clusterManagerClient.updateNodePool(request); + } + } +} +// [END container_v1beta1_generated_ClusterManager_UpdateNodePool_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanagersettings/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanagersettings/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..57f3bb5c977d --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/clustermanagersettings/listclusters/SyncListClusters.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.samples; + +// [START container_v1beta1_generated_ClusterManagerSettings_ListClusters_sync] +import com.google.cloud.container.v1beta1.ClusterManagerSettings; +import java.time.Duration; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() 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 + ClusterManagerSettings.Builder clusterManagerSettingsBuilder = + ClusterManagerSettings.newBuilder(); + clusterManagerSettingsBuilder + .listClustersSettings() + .setRetrySettings( + clusterManagerSettingsBuilder + .listClustersSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); + } +} +// [END container_v1beta1_generated_ClusterManagerSettings_ListClusters_sync] diff --git a/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java new file mode 100644 index 000000000000..665bb3781dfa --- /dev/null +++ b/java-container/samples/snippets/generated/com/google/cloud/container/v1beta1/stub/clustermanagerstubsettings/listclusters/SyncListClusters.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 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.container.v1beta1.stub.samples; + +// [START container_v1beta1_generated_ClusterManagerStubSettings_ListClusters_sync] +import com.google.cloud.container.v1beta1.stub.ClusterManagerStubSettings; +import java.time.Duration; + +public class SyncListClusters { + + public static void main(String[] args) throws Exception { + syncListClusters(); + } + + public static void syncListClusters() 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 + ClusterManagerStubSettings.Builder clusterManagerSettingsBuilder = + ClusterManagerStubSettings.newBuilder(); + clusterManagerSettingsBuilder + .listClustersSettings() + .setRetrySettings( + clusterManagerSettingsBuilder + .listClustersSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ClusterManagerStubSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); + } +} +// [END container_v1beta1_generated_ClusterManagerStubSettings_ListClusters_sync] diff --git a/java-containeranalysis/google-cloud-containeranalysis-bom/pom.xml b/java-containeranalysis/google-cloud-containeranalysis-bom/pom.xml index 5c658f32aff3..3ab473b9a43b 100644 --- a/java-containeranalysis/google-cloud-containeranalysis-bom/pom.xml +++ b/java-containeranalysis/google-cloud-containeranalysis-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-containeranalysis-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-containeranalysis - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.100.0 + 0.101.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-containeranalysis-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.100.0 + 0.101.0
diff --git a/java-containeranalysis/google-cloud-containeranalysis/pom.xml b/java-containeranalysis/google-cloud-containeranalysis/pom.xml index 720067e66578..e6a99b07dbd2 100644 --- a/java-containeranalysis/google-cloud-containeranalysis/pom.xml +++ b/java-containeranalysis/google-cloud-containeranalysis/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-containeranalysis - 2.10.0 + 2.11.0 jar Google Cloud Container Analysis Java idiomatic client for Google Cloud Container Analysis com.google.cloud google-cloud-containeranalysis-parent - 2.10.0 + 2.11.0 google-cloud-containeranalysis diff --git a/java-containeranalysis/grpc-google-cloud-containeranalysis-v1/pom.xml b/java-containeranalysis/grpc-google-cloud-containeranalysis-v1/pom.xml index 510afe2ac67d..11c143bd8768 100644 --- a/java-containeranalysis/grpc-google-cloud-containeranalysis-v1/pom.xml +++ b/java-containeranalysis/grpc-google-cloud-containeranalysis-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1 - 2.10.0 + 2.11.0 grpc-google-cloud-containeranalysis-v1 GRPC library for grpc-google-cloud-containeranalysis-v1 com.google.cloud google-cloud-containeranalysis-parent - 2.10.0 + 2.11.0 diff --git a/java-containeranalysis/grpc-google-cloud-containeranalysis-v1beta1/pom.xml b/java-containeranalysis/grpc-google-cloud-containeranalysis-v1beta1/pom.xml index a64fc5247c3f..9735a4cde720 100644 --- a/java-containeranalysis/grpc-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/java-containeranalysis/grpc-google-cloud-containeranalysis-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.100.0 + 0.101.0 grpc-google-cloud-containeranalysis-v1beta1 GRPC library for grpc-google-cloud-containeranalysis-v1beta1 com.google.cloud google-cloud-containeranalysis-parent - 2.10.0 + 2.11.0 diff --git a/java-containeranalysis/pom.xml b/java-containeranalysis/pom.xml index 88c0dc6f56a0..0993d4d8da33 100644 --- a/java-containeranalysis/pom.xml +++ b/java-containeranalysis/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-containeranalysis-parent pom - 2.10.0 + 2.11.0 Google Cloud Container Analysis Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,33 +29,33 @@ com.google.api.grpc proto-google-cloud-containeranalysis-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.100.0 + 0.101.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1beta1 - 0.100.0 + 0.101.0 com.google.api.grpc grpc-google-cloud-containeranalysis-v1 - 2.10.0 + 2.11.0 com.google.cloud google-cloud-containeranalysis - 2.10.0 + 2.11.0 io.grafeas grafeas - 2.10.0 + 2.11.0 diff --git a/java-containeranalysis/proto-google-cloud-containeranalysis-v1/pom.xml b/java-containeranalysis/proto-google-cloud-containeranalysis-v1/pom.xml index 72308d80a32c..3a1eb4083563 100644 --- a/java-containeranalysis/proto-google-cloud-containeranalysis-v1/pom.xml +++ b/java-containeranalysis/proto-google-cloud-containeranalysis-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-containeranalysis-v1 - 2.10.0 + 2.11.0 proto-google-cloud-containeranalysis-v1 PROTO library for proto-google-cloud-containeranalysis-v1 com.google.cloud google-cloud-containeranalysis-parent - 2.10.0 + 2.11.0 diff --git a/java-containeranalysis/proto-google-cloud-containeranalysis-v1beta1/pom.xml b/java-containeranalysis/proto-google-cloud-containeranalysis-v1beta1/pom.xml index 0efaccd30373..392cf0b7ba42 100644 --- a/java-containeranalysis/proto-google-cloud-containeranalysis-v1beta1/pom.xml +++ b/java-containeranalysis/proto-google-cloud-containeranalysis-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-containeranalysis-v1beta1 - 0.100.0 + 0.101.0 proto-google-cloud-containeranalysis-v1beta1 PROTO library for proto-google-cloud-containeranalysis-v1beta1 com.google.cloud google-cloud-containeranalysis-parent - 2.10.0 + 2.11.0 diff --git a/java-contentwarehouse/README.md b/java-contentwarehouse/README.md index 40dff7404975..51d21d170a94 100644 --- a/java-contentwarehouse/README.md +++ b/java-contentwarehouse/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-contentwarehouse - 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-contentwarehouse:0.4.0' +implementation 'com.google.cloud:google-cloud-contentwarehouse:0.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.5.0" ``` ## Authentication diff --git a/java-contentwarehouse/google-cloud-contentwarehouse-bom/pom.xml b/java-contentwarehouse/google-cloud-contentwarehouse-bom/pom.xml index a32ece437e10..e64ac0062cfe 100644 --- a/java-contentwarehouse/google-cloud-contentwarehouse-bom/pom.xml +++ b/java-contentwarehouse/google-cloud-contentwarehouse-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-contentwarehouse-bom - 0.5.0 + 0.6.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-contentwarehouse - 0.5.0 + 0.6.0 com.google.api.grpc grpc-google-cloud-contentwarehouse-v1 - 0.5.0 + 0.6.0 com.google.api.grpc proto-google-cloud-contentwarehouse-v1 - 0.5.0 + 0.6.0 diff --git a/java-contentwarehouse/google-cloud-contentwarehouse/pom.xml b/java-contentwarehouse/google-cloud-contentwarehouse/pom.xml index ab11bc7def35..83724294dae7 100644 --- a/java-contentwarehouse/google-cloud-contentwarehouse/pom.xml +++ b/java-contentwarehouse/google-cloud-contentwarehouse/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-contentwarehouse - 0.5.0 + 0.6.0 jar Google Document AI Warehouse Document AI Warehouse Document AI Warehouse is an integrated cloud-native GCP platform to store, search, organize, govern and analyze documents and their structured metadata. com.google.cloud google-cloud-contentwarehouse-parent - 0.5.0 + 0.6.0 google-cloud-contentwarehouse diff --git a/java-contentwarehouse/grpc-google-cloud-contentwarehouse-v1/pom.xml b/java-contentwarehouse/grpc-google-cloud-contentwarehouse-v1/pom.xml index 9961623739f0..05ecbdb9c81a 100644 --- a/java-contentwarehouse/grpc-google-cloud-contentwarehouse-v1/pom.xml +++ b/java-contentwarehouse/grpc-google-cloud-contentwarehouse-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-contentwarehouse-v1 - 0.5.0 + 0.6.0 grpc-google-cloud-contentwarehouse-v1 GRPC library for google-cloud-contentwarehouse com.google.cloud google-cloud-contentwarehouse-parent - 0.5.0 + 0.6.0 diff --git a/java-contentwarehouse/pom.xml b/java-contentwarehouse/pom.xml index 3f1324104f88..ddb63d6fde45 100644 --- a/java-contentwarehouse/pom.xml +++ b/java-contentwarehouse/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-contentwarehouse-parent pom - 0.5.0 + 0.6.0 Google Document AI Warehouse Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-contentwarehouse - 0.5.0 + 0.6.0 com.google.api.grpc grpc-google-cloud-contentwarehouse-v1 - 0.5.0 + 0.6.0 com.google.api.grpc proto-google-cloud-contentwarehouse-v1 - 0.5.0 + 0.6.0 @@ -48,7 +48,7 @@ com.google.cloud google-cloud-document-ai - 2.13.0 + 2.14.0 diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/pom.xml b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/pom.xml index ac70515a921b..53f26ef40d49 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/pom.xml +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-contentwarehouse-v1 - 0.5.0 + 0.6.0 proto-google-cloud-contentwarehouse-v1 Proto library for google-cloud-contentwarehouse com.google.cloud google-cloud-contentwarehouse-parent - 0.5.0 + 0.6.0 diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/AsyncDocumentServiceRequestProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/AsyncDocumentServiceRequestProto.java index 17e08941c7ba..ce579ffa0bc2 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/AsyncDocumentServiceRequestProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/AsyncDocumentServiceRequestProto.java @@ -51,9 +51,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\"\030\n\026CreateDocumentMetadata\"\030\n\026Updat" + "eDocumentMetadataB\234\001\n$com.google.cloud.c" + "ontentwarehouse.v1B AsyncDocumentService" - + "RequestProtoP\001ZPgoogle.golang.org/genpro" - + "to/googleapis/cloud/contentwarehouse/v1;" - + "contentwarehouseb\006proto3" + + "RequestProtoP\001ZPcloud.google.com/go/cont" + + "entwarehouse/apiv1/contentwarehousepb;co" + + "ntentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/CommonProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/CommonProto.java index 7bee0a98a3d0..f6b7e094a8bd 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/CommonProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/CommonProto.java @@ -86,9 +86,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_LEVEL_ACCESS_CONTROL_BYOID\020\002\022.\n*ACL_MOD" + "E_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI\020\003B\335\001" + "\n$com.google.cloud.contentwarehouse.v1B\013" - + "CommonProtoP\001ZPgoogle.golang.org/genprot" - + "o/googleapis/cloud/contentwarehouse/v1;c" - + "ontentwarehouse\352AS\n(contentwarehouse.goo" + + "CommonProtoP\001ZPcloud.google.com/go/conte" + + "ntwarehouse/apiv1/contentwarehousepb;con" + + "tentwarehousepb\352AS\n(contentwarehouse.goo" + "gleapis.com/Location\022\'projects/{project}" + "/locations/{location}b\006proto3" }; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentLinkServiceProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentLinkServiceProto.java index 391c21ed0243..1cfa353bf182 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentLinkServiceProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentLinkServiceProto.java @@ -141,9 +141,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "se.googleapis.com\322A.https://www.googleap" + "is.com/auth/cloud-platformB\224\001\n$com.googl" + "e.cloud.contentwarehouse.v1B\030DocumentLin" - + "kServiceProtoP\001ZPgoogle.golang.org/genpr" - + "oto/googleapis/cloud/contentwarehouse/v1" - + ";contentwarehouseb\006proto3" + + "kServiceProtoP\001ZPcloud.google.com/go/con" + + "tentwarehouse/apiv1/contentwarehousepb;c" + + "ontentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentProto.java index b4cdd386e17c..87e425513086 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentProto.java @@ -180,9 +180,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_DOCUMENT_FILE_TYPE_XLSX\020\003\022\037\n\033RAW_DOCUME" + "NT_FILE_TYPE_PPTX\020\004\022\037\n\033RAW_DOCUMENT_FILE" + "_TYPE_TEXT\020\005B\211\001\n$com.google.cloud.conten" - + "twarehouse.v1B\rDocumentProtoP\001ZPgoogle.g" - + "olang.org/genproto/googleapis/cloud/cont" - + "entwarehouse/v1;contentwarehouseb\006proto3" + + "twarehouse.v1B\rDocumentProtoP\001ZPcloud.go" + + "ogle.com/go/contentwarehouse/apiv1/conte" + + "ntwarehousepb;contentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentSchemaProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentSchemaProto.java index 414e6c419710..17158755ac34 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentSchemaProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentSchemaProto.java @@ -122,9 +122,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"R\n\017EnumTypeOptions\022\034\n\017possible_values\030\001" + " \003(\tB\003\340A\002\022!\n\031validation_check_disabled\030\002" + " \001(\010B\217\001\n$com.google.cloud.contentwarehou" - + "se.v1B\023DocumentSchemaProtoP\001ZPgoogle.gol" - + "ang.org/genproto/googleapis/cloud/conten" - + "twarehouse/v1;contentwarehouseb\006proto3" + + "se.v1B\023DocumentSchemaProtoP\001ZPcloud.goog" + + "le.com/go/contentwarehouse/apiv1/content" + + "warehousepb;contentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentSchemaServiceProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentSchemaServiceProto.java index 3edabc18c1ce..881f89b1d85b 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentSchemaServiceProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentSchemaServiceProto.java @@ -119,9 +119,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogleapis.com\322A.https://www.googleapis.c" + "om/auth/cloud-platformB\226\001\n$com.google.cl" + "oud.contentwarehouse.v1B\032DocumentSchemaS" - + "erviceProtoP\001ZPgoogle.golang.org/genprot" - + "o/googleapis/cloud/contentwarehouse/v1;c" - + "ontentwarehouseb\006proto3" + + "erviceProtoP\001ZPcloud.google.com/go/conte" + + "ntwarehouse/apiv1/contentwarehousepb;con" + + "tentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentServiceProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentServiceProto.java index cb3cda5854be..19ad6d355d53 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentServiceProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentServiceProto.java @@ -161,9 +161,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ntwarehouse.googleapis.com\322A.https://www" + ".googleapis.com/auth/cloud-platformB\220\001\n$" + "com.google.cloud.contentwarehouse.v1B\024Do" - + "cumentServiceProtoP\001ZPgoogle.golang.org/" - + "genproto/googleapis/cloud/contentwarehou" - + "se/v1;contentwarehouseb\006proto3" + + "cumentServiceProtoP\001ZPcloud.google.com/g" + + "o/contentwarehouse/apiv1/contentwarehous" + + "epb;contentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentServiceRequestProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentServiceRequestProto.java index 32cccbe95280..9932b6c1b1ac 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentServiceRequestProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/DocumentServiceRequestProto.java @@ -139,9 +139,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle.cloud.contentwarehouse.v1.RequestMe" + "tadata\022\025\n\rproject_owner\030\004 \001(\010B\227\001\n$com.go" + "ogle.cloud.contentwarehouse.v1B\033Document" - + "ServiceRequestProtoP\001ZPgoogle.golang.org" - + "/genproto/googleapis/cloud/contentwareho" - + "use/v1;contentwarehouseb\006proto3" + + "ServiceRequestProtoP\001ZPcloud.google.com/" + + "go/contentwarehouse/apiv1/contentwarehou" + + "sepb;contentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/FiltersProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/FiltersProto.java index 394ff4784780..da80362c3bb6 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/FiltersProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/FiltersProto.java @@ -80,8 +80,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\031\n\025FILE_TYPE_UNSPECIFIED\020\000\022\007\n\003ALL\020\001\022\n\n\006F" + "OLDER\020\002\022\014\n\010DOCUMENT\020\003B\210\001\n$com.google.clo" + "ud.contentwarehouse.v1B\014FiltersProtoP\001ZP" - + "google.golang.org/genproto/googleapis/cl" - + "oud/contentwarehouse/v1;contentwarehouse" + + "cloud.google.com/go/contentwarehouse/api" + + "v1/contentwarehousepb;contentwarehousepb" + "b\006proto3" }; descriptor = diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/HistogramProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/HistogramProto.java index 90e8fd1c7ee2..458a208c6f7e 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/HistogramProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/HistogramProto.java @@ -74,9 +74,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " + "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B\212\001\n$com.google.cl" + "oud.contentwarehouse.v1B\016HistogramProtoP" - + "\001ZPgoogle.golang.org/genproto/googleapis" - + "/cloud/contentwarehouse/v1;contentwareho" - + "useb\006proto3" + + "\001ZPcloud.google.com/go/contentwarehouse/" + + "apiv1/contentwarehousepb;contentwarehous" + + "epbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleEngineProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleEngineProto.java index ce3cb14bb1f8..31d7728d6ad7 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleEngineProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleEngineProto.java @@ -188,9 +188,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007UNKNOWN\020\000\022\024\n\020ACTION_SUCCEEDED\020\001\022\021\n\rACTI" + "ON_FAILED\020\002\022\024\n\020ACTION_TIMED_OUT\020\003\022\022\n\016ACT" + "ION_PENDING\020\004B\213\001\n$com.google.cloud.conte" - + "ntwarehouse.v1B\017RuleEngineProtoP\001ZPgoogl" - + "e.golang.org/genproto/googleapis/cloud/c" - + "ontentwarehouse/v1;contentwarehouseb\006pro" + + "ntwarehouse.v1B\017RuleEngineProtoP\001ZPcloud" + + ".google.com/go/contentwarehouse/apiv1/co" + + "ntentwarehousepb;contentwarehousepbb\006pro" + "to3" }; descriptor = diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleSetServiceProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleSetServiceProto.java index 6a35760ffed0..6a4d3b135c0c 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleSetServiceProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleSetServiceProto.java @@ -69,9 +69,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.googleapis.com\322A.https://www.googleapi" + "s.com/auth/cloud-platformB\217\001\n$com.google" + ".cloud.contentwarehouse.v1B\023RuleSetServi" - + "ceProtoP\001ZPgoogle.golang.org/genproto/go" - + "ogleapis/cloud/contentwarehouse/v1;conte" - + "ntwarehouseb\006proto3" + + "ceProtoP\001ZPcloud.google.com/go/contentwa" + + "rehouse/apiv1/contentwarehousepb;content" + + "warehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleSetServiceRequestProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleSetServiceRequestProto.java index 647148239e93..ba19117cb605 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleSetServiceRequestProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/RuleSetServiceRequestProto.java @@ -85,9 +85,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ontentwarehouse.v1.RuleSet\022\027\n\017next_page_" + "token\030\002 \001(\tB\226\001\n$com.google.cloud.content" + "warehouse.v1B\032RuleSetServiceRequestProto" - + "P\001ZPgoogle.golang.org/genproto/googleapi" - + "s/cloud/contentwarehouse/v1;contentwareh" - + "ouseb\006proto3" + + "P\001ZPcloud.google.com/go/contentwarehouse" + + "/apiv1/contentwarehousepb;contentwarehou" + + "sepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetProto.java index 21fee36b85f7..a0a6c88eccdb 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetProto.java @@ -54,9 +54,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "googleapis.com/SynonymSet\022=projects/{pro" + "ject}/locations/{location}/synonymSets/{" + "context}B\213\001\n$com.google.cloud.contentwar" - + "ehouse.v1B\017SynonymSetProtoP\001ZPgoogle.gol" - + "ang.org/genproto/googleapis/cloud/conten" - + "twarehouse/v1;contentwarehouseb\006proto3" + + "ehouse.v1B\017SynonymSetProtoP\001ZPcloud.goog" + + "le.com/go/contentwarehouse/apiv1/content" + + "warehousepb;contentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetServiceProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetServiceProto.java index b859b78665c6..c288fbf2e437 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetServiceProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetServiceProto.java @@ -71,9 +71,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "house.googleapis.com\322A.https://www.googl" + "eapis.com/auth/cloud-platformB\222\001\n$com.go" + "ogle.cloud.contentwarehouse.v1B\026SynonymS" - + "etServiceProtoP\001ZPgoogle.golang.org/genp" - + "roto/googleapis/cloud/contentwarehouse/v" - + "1;contentwarehouseb\006proto3" + + "etServiceProtoP\001ZPcloud.google.com/go/co" + + "ntentwarehouse/apiv1/contentwarehousepb;" + + "contentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetServiceRequestProto.java b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetServiceRequestProto.java index dc632734caf2..fd02126aa036 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetServiceRequestProto.java +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/java/com/google/cloud/contentwarehouse/v1/SynonymSetServiceRequestProto.java @@ -86,9 +86,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e\030\001 \001(\tB2\340A\002\372A,\n*contentwarehouse.google" + "apis.com/SynonymSetB\231\001\n$com.google.cloud" + ".contentwarehouse.v1B\035SynonymSetServiceR" - + "equestProtoP\001ZPgoogle.golang.org/genprot" - + "o/googleapis/cloud/contentwarehouse/v1;c" - + "ontentwarehouseb\006proto3" + + "equestProtoP\001ZPcloud.google.com/go/conte" + + "ntwarehouse/apiv1/contentwarehousepb;con" + + "tentwarehousepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/async_document_service_request.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/async_document_service_request.proto index 368ddf3f8ccb..eba3bf3bbf36 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/async_document_service_request.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/async_document_service_request.proto @@ -19,7 +19,7 @@ package google.cloud.contentwarehouse.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "AsyncDocumentServiceRequestProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/common.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/common.proto index 9be7e86a34da..3592ee6d2897 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/common.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/common.proto @@ -19,7 +19,7 @@ package google.cloud.contentwarehouse.v1; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document.proto index 5ec6c2ec686e..c74c6fc757b4 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document.proto @@ -22,7 +22,7 @@ import "google/cloud/documentai/v1/document.proto"; import "google/protobuf/timestamp.proto"; import "google/type/datetime.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_link_service.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_link_service.proto index a5a14d8dcbf4..36fb164fa821 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_link_service.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_link_service.proto @@ -25,7 +25,7 @@ import "google/cloud/contentwarehouse/v1/document.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentLinkServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_schema.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_schema.proto index fae52e4c51e1..6c5526129919 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_schema.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_schema.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentSchemaProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_schema_service.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_schema_service.proto index 9c570695045a..0027048ca9ee 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_schema_service.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_schema_service.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/cloud/contentwarehouse/v1/document_schema.proto"; import "google/protobuf/empty.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentSchemaServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_service.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_service.proto index e0c1c8750881..d2b250be9912 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_service.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_service.proto @@ -27,7 +27,7 @@ import "google/cloud/contentwarehouse/v1/rule_engine.proto"; import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_service_request.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_service_request.proto index 635bfdb6558b..521ef12ac063 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_service_request.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/document_service_request.proto @@ -25,7 +25,7 @@ import "google/cloud/contentwarehouse/v1/histogram.proto"; import "google/iam/v1/policy.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentServiceRequestProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/filters.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/filters.proto index 52e39ca90a27..2c43dfffbb4f 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/filters.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/filters.proto @@ -19,7 +19,7 @@ package google.cloud.contentwarehouse.v1; import "google/api/resource.proto"; import "google/type/interval.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "FiltersProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/histogram.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/histogram.proto index ce25e7a8c3fa..5c73cea742b5 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/histogram.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/histogram.proto @@ -19,7 +19,7 @@ package google.cloud.contentwarehouse.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "HistogramProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/rule_engine.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/rule_engine.proto index 7badc7b788a7..2f69d5e832ae 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/rule_engine.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/rule_engine.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/iam/v1/policy.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "RuleEngineProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/ruleset_service.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/ruleset_service.proto index 091367eabee3..9a1fe571b6e0 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/ruleset_service.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/ruleset_service.proto @@ -22,7 +22,7 @@ import "google/cloud/contentwarehouse/v1/rule_engine.proto"; import "google/cloud/contentwarehouse/v1/ruleset_service_request.proto"; import "google/protobuf/empty.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "RuleSetServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/ruleset_service_request.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/ruleset_service_request.proto index 61d12510680b..2bca2efefc42 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/ruleset_service_request.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/ruleset_service_request.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/contentwarehouse/v1/rule_engine.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "RuleSetServiceRequestProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset.proto index d4f23e0571ec..ed989951d0e4 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset.proto @@ -18,7 +18,7 @@ package google.cloud.contentwarehouse.v1; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "SynonymSetProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset_service.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset_service.proto index 39acfd112ae8..5f3e1625e706 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset_service.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset_service.proto @@ -22,7 +22,7 @@ import "google/cloud/contentwarehouse/v1/synonymset.proto"; import "google/cloud/contentwarehouse/v1/synonymset_service_request.proto"; import "google/protobuf/empty.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "SynonymSetServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset_service_request.proto b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset_service_request.proto index 8d1955456d33..89584cd2eaf8 100644 --- a/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset_service_request.proto +++ b/java-contentwarehouse/proto-google-cloud-contentwarehouse-v1/src/main/proto/google/cloud/contentwarehouse/v1/synonymset_service_request.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/contentwarehouse/v1/synonymset.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse"; +option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "SynonymSetServiceRequestProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md new file mode 100644 index 000000000000..59ea2dd72f42 --- /dev/null +++ b/java-core/CHANGELOG.md @@ -0,0 +1,1277 @@ +# Changelog + +## [2.9.4](https://github.com/googleapis/java-core/compare/v2.9.3...v2.9.4) (2023-01-20) + + +### Bug Fixes + +* **java:** Skip fixing poms for special modules ([#1744](https://github.com/googleapis/java-core/issues/1744)) ([#1080](https://github.com/googleapis/java-core/issues/1080)) ([db2cc2f](https://github.com/googleapis/java-core/commit/db2cc2fcd03342948c6c4e753d012d08000e7733)) + +## [2.9.3](https://github.com/googleapis/java-core/compare/v2.9.2...v2.9.3) (2023-01-19) + + +### Dependencies + +* Update dependency com.google.api:api-common to v2.5.0 ([#1083](https://github.com/googleapis/java-core/issues/1083)) ([dc3e6c7](https://github.com/googleapis/java-core/commit/dc3e6c713f3b65b59a0d814cddd1509583db081c)) +* Update dependency com.google.api:gax-bom to v2.22.0 ([#1084](https://github.com/googleapis/java-core/issues/1084)) ([5b94330](https://github.com/googleapis/java-core/commit/5b94330a90920f106e70a0ec7823026c3c87d55e)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.13.0 ([#1081](https://github.com/googleapis/java-core/issues/1081)) ([d4bfd0e](https://github.com/googleapis/java-core/commit/d4bfd0efea78e3266f237fbb620ab5441abf0003)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.8.0 ([#1082](https://github.com/googleapis/java-core/issues/1082)) ([bbda002](https://github.com/googleapis/java-core/commit/bbda002fc193af2b6a52fae54f1238c5ce66dc6e)) + +## [2.9.2](https://github.com/googleapis/java-core/compare/v2.9.1...v2.9.2) (2023-01-18) + + +### Dependencies + +* Update dependency io.grpc:grpc-bom to v1.52.1 ([#1073](https://github.com/googleapis/java-core/issues/1073)) ([a45ec31](https://github.com/googleapis/java-core/commit/a45ec316782d2d2a1d3af149f338daf028d94206)) + +## [2.9.1](https://github.com/googleapis/java-core/compare/v2.9.0...v2.9.1) (2023-01-09) + + +### Bug Fixes + +* Make title and description of Condition Nullable ([#1063](https://github.com/googleapis/java-core/issues/1063)) ([1238462](https://github.com/googleapis/java-core/commit/12384628ab07b7edb04181c79ed07e742277e4c4)) + + +### Documentation + +* Update javadocs for ReadChannel to be more clear about the behavior ([#1050](https://github.com/googleapis/java-core/issues/1050)) ([8b574f6](https://github.com/googleapis/java-core/commit/8b574f66c6e77b31ec8d544319a116f5c19804b9)) + + +### Dependencies + +* Update dependency com.google.api-client:google-api-client-bom to v2.1.2 ([#1064](https://github.com/googleapis/java-core/issues/1064)) ([6bf1c24](https://github.com/googleapis/java-core/commit/6bf1c2414978340cb997acb18e98815e20028718)) +* Update dependency com.google.api:api-common to v2.3.1 ([#1053](https://github.com/googleapis/java-core/issues/1053)) ([43ce490](https://github.com/googleapis/java-core/commit/43ce49083ebdfada11732ff82aa407c69311f4c9)) +* Update dependency com.google.api:api-common to v2.4.0 ([#1069](https://github.com/googleapis/java-core/issues/1069)) ([083bc07](https://github.com/googleapis/java-core/commit/083bc071f4529cd2a827cd4586e5c02690f4ffcd)) +* Update dependency com.google.api:gax-bom to v2.21.0 ([#1070](https://github.com/googleapis/java-core/issues/1070)) ([e133832](https://github.com/googleapis/java-core/commit/e133832eb6e81089745e21d9b0188cb91af0a51b)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.12.0 ([#1067](https://github.com/googleapis/java-core/issues/1067)) ([bfab3ad](https://github.com/googleapis/java-core/commit/bfab3adbcefea538d50d567297eb491650ad19ba)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.23 ([#1060](https://github.com/googleapis/java-core/issues/1060)) ([a2e5c4e](https://github.com/googleapis/java-core/commit/a2e5c4eb35824ee019b0d0b8f984144f07d76c0a)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.7.0 ([#1068](https://github.com/googleapis/java-core/issues/1068)) ([404f222](https://github.com/googleapis/java-core/commit/404f2220ea85253945f470a6370870cce248c11e)) +* Update dependency com.google.auth:google-auth-library-bom to v1.14.0 ([#1056](https://github.com/googleapis/java-core/issues/1056)) ([328628d](https://github.com/googleapis/java-core/commit/328628da55cea6d27c4fe4ed2aaa14bf2bc59a58)) +* Update dependency com.google.code.gson:gson to v2.10.1 ([#1066](https://github.com/googleapis/java-core/issues/1066)) ([a4b941e](https://github.com/googleapis/java-core/commit/a4b941e8daed4650bd019a7c03602cd617bdcad2)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.17.0 ([#1061](https://github.com/googleapis/java-core/issues/1061)) ([e7159c2](https://github.com/googleapis/java-core/commit/e7159c28eb4882395cc351d3dbd29db74a75c271)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.18.0 ([#1071](https://github.com/googleapis/java-core/issues/1071)) ([b85690f](https://github.com/googleapis/java-core/commit/b85690fdcf0803502412bf5af418c17b43a718e7)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#1054](https://github.com/googleapis/java-core/issues/1054)) ([3fc149e](https://github.com/googleapis/java-core/commit/3fc149e28a8724b100717c0ddfb138338401fea9)) +* Update dependency io.grpc:grpc-bom to v1.51.1 ([#1058](https://github.com/googleapis/java-core/issues/1058)) ([d8ca14c](https://github.com/googleapis/java-core/commit/d8ca14cdb10d5af41396b40702a4abd7c9b5b15c)) +* Update dependency org.easymock:easymock to v5.1.0 ([#1062](https://github.com/googleapis/java-core/issues/1062)) ([4c0095d](https://github.com/googleapis/java-core/commit/4c0095daa0a17564c972434e4824c03b2204e3e0)) +* Update dependency org.threeten:threetenbp to v1.6.5 ([#1052](https://github.com/googleapis/java-core/issues/1052)) ([7e12b5d](https://github.com/googleapis/java-core/commit/7e12b5d137db97d95320416cd80e467bb300c499)) + +## [2.9.0](https://github.com/googleapis/java-core/compare/v2.8.28...v2.9.0) (2022-12-05) + + +### Features + +* Next release from main branch is 2.9.0 ([#1018](https://github.com/googleapis/java-core/issues/1018)) ([e53bf16](https://github.com/googleapis/java-core/commit/e53bf165791149ae4bcbe8ab21f14d8c6331680c)) +* Support get CREDENTIAL_ENV_NAME from properties ([#782](https://github.com/googleapis/java-core/issues/782)) ([2bb7d57](https://github.com/googleapis/java-core/commit/2bb7d576a3da2185a9756c7b4f5386bf67824d1d)) + + +### Dependencies + +* Update dependency com.google.api-client:google-api-client-bom to v2.1.1 ([#1045](https://github.com/googleapis/java-core/issues/1045)) ([c957f18](https://github.com/googleapis/java-core/commit/c957f1882a93cadc19964912ab57eb8119ccf529)) +* Update dependency com.google.api:gax-bom to v2.20.1 ([#1049](https://github.com/googleapis/java-core/issues/1049)) ([46af789](https://github.com/googleapis/java-core/commit/46af7892e49c5967e2fcd82bca21332cad5b5458)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.11.0 ([#1046](https://github.com/googleapis/java-core/issues/1046)) ([b0d785a](https://github.com/googleapis/java-core/commit/b0d785a0c77c193a8fdc25f4b43ed26ac1b478bc)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.10 ([#1028](https://github.com/googleapis/java-core/issues/1028)) ([399899a](https://github.com/googleapis/java-core/commit/399899a4a1bcffb4bdbf5ee2898b5f6050ea00a6)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.11 ([#1029](https://github.com/googleapis/java-core/issues/1029)) ([0e33024](https://github.com/googleapis/java-core/commit/0e3302464ff613fa082d6f165155d6a825cf4294)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.12 ([#1031](https://github.com/googleapis/java-core/issues/1031)) ([3705e63](https://github.com/googleapis/java-core/commit/3705e63d3291f4d0d9c6346f32c43f209983e801)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.13 ([#1033](https://github.com/googleapis/java-core/issues/1033)) ([3256faa](https://github.com/googleapis/java-core/commit/3256faa6301939492a07d2c5d02d3a5eb3c75c5e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.14 ([#1034](https://github.com/googleapis/java-core/issues/1034)) ([03d481b](https://github.com/googleapis/java-core/commit/03d481be4aa7e4885acc6fb204f92606a514db0f)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.15 ([#1035](https://github.com/googleapis/java-core/issues/1035)) ([a0f1915](https://github.com/googleapis/java-core/commit/a0f191579b61db1cfa984d9aba56a293c577f56e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.16 ([#1036](https://github.com/googleapis/java-core/issues/1036)) ([d236920](https://github.com/googleapis/java-core/commit/d236920a6ddbbac523db19534f5944d38a5feed2)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.17 ([#1037](https://github.com/googleapis/java-core/issues/1037)) ([c06c8e1](https://github.com/googleapis/java-core/commit/c06c8e19cbf7f8e2e4fe387a685cc36fc8be674d)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.18 ([#1040](https://github.com/googleapis/java-core/issues/1040)) ([2baec55](https://github.com/googleapis/java-core/commit/2baec55331fa1e74a9199adcb7eb44b7ac886a6e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.20 ([#1041](https://github.com/googleapis/java-core/issues/1041)) ([ee64ef7](https://github.com/googleapis/java-core/commit/ee64ef76995061a238957705405b56f4bd4870f9)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.21 ([#1042](https://github.com/googleapis/java-core/issues/1042)) ([df6f385](https://github.com/googleapis/java-core/commit/df6f3857871604663626dbbe6b262fc8b3db1dc3)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.22 ([#1043](https://github.com/googleapis/java-core/issues/1043)) ([84c3820](https://github.com/googleapis/java-core/commit/84c382042cedc934cc571b32de7aa058ac025e9e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.9 ([#1024](https://github.com/googleapis/java-core/issues/1024)) ([3bb2fae](https://github.com/googleapis/java-core/commit/3bb2fae3c4c96301985f2e4c51d0a6bc9d737341)) +* Update dependency com.google.auth:google-auth-library-bom to v1.13.0 ([#1030](https://github.com/googleapis/java-core/issues/1030)) ([799e584](https://github.com/googleapis/java-core/commit/799e584645fb03c96f7e93156770c9afa631eff6)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.10 ([#1048](https://github.com/googleapis/java-core/issues/1048)) ([ea0d8d4](https://github.com/googleapis/java-core/commit/ea0d8d4ce7732353506d70c9c16ee6c2d9f01b23)) +* Update dependency io.grpc:grpc-bom to v1.51.0 ([#1032](https://github.com/googleapis/java-core/issues/1032)) ([2572bcc](https://github.com/googleapis/java-core/commit/2572bcc6f62e713009ebcb4c41a2e5ec4ba57707)) + +## [2.8.28](https://github.com/googleapis/java-core/compare/v2.8.27...v2.8.28) (2022-11-09) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.8 ([#1020](https://github.com/googleapis/java-core/issues/1020)) ([e8b3608](https://github.com/googleapis/java-core/commit/e8b360836633345db0a8010590cf9a9753e1a1f9)) + +## [2.8.27](https://github.com/googleapis/java-core/compare/v2.8.26...v2.8.27) (2022-11-07) + + +### Dependencies + +* Update dependency com.google.api:gax-bom to v2.19.5 ([#1014](https://github.com/googleapis/java-core/issues/1014)) ([00753f8](https://github.com/googleapis/java-core/commit/00753f88745ad0232658b634aadf5250c6daad01)) + +## [2.8.26](https://github.com/googleapis/java-core/compare/v2.8.25...v2.8.26) (2022-11-07) + + +### Dependencies + +* Update dependency com.google.api-client:google-api-client-bom to v2.0.1 ([#1011](https://github.com/googleapis/java-core/issues/1011)) ([e52b05c](https://github.com/googleapis/java-core/commit/e52b05c0b4973258d7d783af725182d5ba834c25)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.10.0 ([#1010](https://github.com/googleapis/java-core/issues/1010)) ([db9d19e](https://github.com/googleapis/java-core/commit/db9d19e9e760bef0c543f7e5da6af172a7ceca06)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.7 ([#1005](https://github.com/googleapis/java-core/issues/1005)) ([45513e6](https://github.com/googleapis/java-core/commit/45513e639543ca2025d4c4c4cd84f5735c067443)) + +## [2.8.25](https://github.com/googleapis/java-core/compare/v2.8.24...v2.8.25) (2022-10-31) + + +### Dependencies + +* Update dependency com.google.api:api-common to v2.2.2 ([#999](https://github.com/googleapis/java-core/issues/999)) ([e639a64](https://github.com/googleapis/java-core/commit/e639a641c3041c829b8e58eeed79df6352e1c7eb)) +* Update dependency com.google.http-client:google-http-client-bom to v1.42.3 ([#1001](https://github.com/googleapis/java-core/issues/1001)) ([8e35c4f](https://github.com/googleapis/java-core/commit/8e35c4ffe5c12f0e4e570b04d0563640c688eb91)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#998](https://github.com/googleapis/java-core/issues/998)) ([ce2d265](https://github.com/googleapis/java-core/commit/ce2d265669cd8fb43d1de43f02c53384c1d73a0d)) +* Update dependency org.threeten:threetenbp to v1.6.4 ([#1003](https://github.com/googleapis/java-core/issues/1003)) ([a69f122](https://github.com/googleapis/java-core/commit/a69f122b6bd84f6a3ddb496f77a1aa1fba072d13)) + +## [2.8.24](https://github.com/googleapis/java-core/compare/v2.8.23...v2.8.24) (2022-10-26) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.6 ([#994](https://github.com/googleapis/java-core/issues/994)) ([8a7b330](https://github.com/googleapis/java-core/commit/8a7b3304f714261501c64180abfc94edaa86d9d4)) +* Update dependency com.google.code.gson:gson to v2.10 ([#995](https://github.com/googleapis/java-core/issues/995)) ([5b947a2](https://github.com/googleapis/java-core/commit/5b947a2486979ba26175753fcf054ba3d4904b35)) + +## [2.8.23](https://github.com/googleapis/java-core/compare/v2.8.22...v2.8.23) (2022-10-24) + + +### Dependencies + +* Update dependency io.grpc:grpc-bom to v1.50.2 ([#990](https://github.com/googleapis/java-core/issues/990)) ([42b1081](https://github.com/googleapis/java-core/commit/42b108100173041925cc705f596f388bab26d954)) +* Update dependency org.easymock:easymock to v5 ([#980](https://github.com/googleapis/java-core/issues/980)) ([64be350](https://github.com/googleapis/java-core/commit/64be350d3713af1a95ca51997194a15c7292f7ae)) + +## [2.8.22](https://github.com/googleapis/java-core/compare/v2.8.21...v2.8.22) (2022-10-19) + + +### Dependencies + +* Update dependency com.google.api:gax-bom to v2.19.4 ([#987](https://github.com/googleapis/java-core/issues/987)) ([70a959b](https://github.com/googleapis/java-core/commit/70a959bd01884ec4e9ec4705a25442bf06e9bb73)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.4 ([#976](https://github.com/googleapis/java-core/issues/976)) ([ddf887f](https://github.com/googleapis/java-core/commit/ddf887fa35872299c1b65cd03934595a89c2ab4c)) +* Update dependency com.google.auth:google-auth-library-bom to v1.12.0 ([#981](https://github.com/googleapis/java-core/issues/981)) ([87c5616](https://github.com/googleapis/java-core/commit/87c5616ff8a5c4e96ff761b25cf1423505bdc4e2)) +* Update dependency com.google.auth:google-auth-library-bom to v1.12.1 ([#983](https://github.com/googleapis/java-core/issues/983)) ([ddf787a](https://github.com/googleapis/java-core/commit/ddf787a470a8f4b8416b09bf3bb656f249b1caf5)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#977](https://github.com/googleapis/java-core/issues/977)) ([6f9f78e](https://github.com/googleapis/java-core/commit/6f9f78ef38d586e1cded056451658b77c5a093b7)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#984](https://github.com/googleapis/java-core/issues/984)) ([234c9a7](https://github.com/googleapis/java-core/commit/234c9a7788c32692b1e7f9686a6b7329d758acb9)) +* Update dependency io.grpc:grpc-bom to v1.50.0 ([#978](https://github.com/googleapis/java-core/issues/978)) ([024fb77](https://github.com/googleapis/java-core/commit/024fb77b67b4a0f9d8dfcd8315376a0b4937a0da)) +* Update dependency io.grpc:grpc-bom to v1.50.1 ([#985](https://github.com/googleapis/java-core/issues/985)) ([8b71163](https://github.com/googleapis/java-core/commit/8b71163725178ffcbbaae21c6d1fc530be77b9b4)) +* Update dependency org.threeten:threetenbp to v1.6.3 ([#979](https://github.com/googleapis/java-core/issues/979)) ([f51ea92](https://github.com/googleapis/java-core/commit/f51ea92c8bd1ebe0c7a2796d435cceafd037ce06)) + +## [2.8.21](https://github.com/googleapis/java-core/compare/v2.8.20...v2.8.21) (2022-10-10) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.2 ([#971](https://github.com/googleapis/java-core/issues/971)) ([5d778fc](https://github.com/googleapis/java-core/commit/5d778fc0d78e67cbcc4eb061da3b66dd3cab440e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.3 ([#974](https://github.com/googleapis/java-core/issues/974)) ([1b7fcb9](https://github.com/googleapis/java-core/commit/1b7fcb978da55f8d30cf66941bc8208853fef116)) + +## [2.8.20](https://github.com/googleapis/java-core/compare/v2.8.19...v2.8.20) (2022-10-02) + + +### Dependencies + +* Update dependency com.google.api:gax-bom to v2.19.2 ([#969](https://github.com/googleapis/java-core/issues/969)) ([1151449](https://github.com/googleapis/java-core/commit/1151449c061ab51c45982444db5f9da9d2ce4fb7)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.6 ([#967](https://github.com/googleapis/java-core/issues/967)) ([4a7b524](https://github.com/googleapis/java-core/commit/4a7b524fa366484825bedbc0a4f86d4551a6a0e8)) +* Update dependency io.grpc:grpc-bom to v1.49.2 ([#966](https://github.com/googleapis/java-core/issues/966)) ([b7738aa](https://github.com/googleapis/java-core/commit/b7738aa71fb9cf0994e4ad1dae4bae433754cda0)) + +## [2.8.19](https://github.com/googleapis/java-core/compare/v2.8.18...v2.8.19) (2022-09-30) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.5 ([#963](https://github.com/googleapis/java-core/issues/963)) ([1ee2f9a](https://github.com/googleapis/java-core/commit/1ee2f9acd3968b21974a550b6732fe68b18085f4)) + +## [2.8.18](https://github.com/googleapis/java-core/compare/v2.8.17...v2.8.18) (2022-09-30) + + +### Dependencies + +* Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#960](https://github.com/googleapis/java-core/issues/960)) ([1fcd95f](https://github.com/googleapis/java-core/commit/1fcd95f2401b66a79383bd79729595334493b0e4)) + +## [2.8.17](https://github.com/googleapis/java-core/compare/v2.8.16...v2.8.17) (2022-09-28) + + +### Dependencies + +* Update dependency cachetools to v5 ([#943](https://github.com/googleapis/java-core/issues/943)) ([c6c511d](https://github.com/googleapis/java-core/commit/c6c511d82534e96fe5b42ad9e4886aaa18efaef3)) +* Update dependency certifi to v2022.9.24 ([#934](https://github.com/googleapis/java-core/issues/934)) ([c756885](https://github.com/googleapis/java-core/commit/c75688575c3c19d0d8a1a2b25c6fe3eb99c229cb)) +* Update dependency charset-normalizer to v2.1.1 ([#938](https://github.com/googleapis/java-core/issues/938)) ([1520f65](https://github.com/googleapis/java-core/commit/1520f65cf6655aed9767d9470e3729a0fc270b9e)) +* Update dependency click to v8.1.3 ([#946](https://github.com/googleapis/java-core/issues/946)) ([6f7a7f5](https://github.com/googleapis/java-core/commit/6f7a7f5f318a7c3586fa79a7a0013bca562b059e)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.4 ([#945](https://github.com/googleapis/java-core/issues/945)) ([307e406](https://github.com/googleapis/java-core/commit/307e40688d55af3cb96e38972af6035cf846c595)) +* Update dependency gcp-releasetool to v1.8.8 ([#935](https://github.com/googleapis/java-core/issues/935)) ([a5ba3b8](https://github.com/googleapis/java-core/commit/a5ba3b8d6bc43734bb01b0ba04e11b5262db526b)) +* Update dependency google-api-core to v2.10.1 ([#947](https://github.com/googleapis/java-core/issues/947)) ([1f3da64](https://github.com/googleapis/java-core/commit/1f3da6450b1a5093aadaa9f299fc797773cc8480)) +* Update dependency google-auth to v2.12.0 ([#948](https://github.com/googleapis/java-core/issues/948)) ([361da3d](https://github.com/googleapis/java-core/commit/361da3dcaecadd708546447737c5a7c1d9799834)) +* Update dependency google-cloud-core to v2.3.2 ([#936](https://github.com/googleapis/java-core/issues/936)) ([99c0013](https://github.com/googleapis/java-core/commit/99c001309e1f72b84c41b7df55ff26c9f182863a)) +* Update dependency google-cloud-storage to v2.5.0 ([#949](https://github.com/googleapis/java-core/issues/949)) ([cd6cbfb](https://github.com/googleapis/java-core/commit/cd6cbfb3b1c45e2f55d51edee74621a7dbe06401)) +* Update dependency google-crc32c to v1.5.0 ([#950](https://github.com/googleapis/java-core/issues/950)) ([abd5ff9](https://github.com/googleapis/java-core/commit/abd5ff9321304b1238f4dd6fa0b4dd57665b46cc)) +* Update dependency googleapis-common-protos to v1.56.4 ([#937](https://github.com/googleapis/java-core/issues/937)) ([bd7d676](https://github.com/googleapis/java-core/commit/bd7d676c3f221b59768815ccca000c7763aeb7f9)) +* Update dependency importlib-metadata to v4.12.0 ([#951](https://github.com/googleapis/java-core/issues/951)) ([f0d1fe8](https://github.com/googleapis/java-core/commit/f0d1fe8cc2079216b95d8fd24a46de5161801b35)) +* Update dependency jeepney to v0.8.0 ([#952](https://github.com/googleapis/java-core/issues/952)) ([342614b](https://github.com/googleapis/java-core/commit/342614b1275877fb41e8241f0c6061286989df13)) +* Update dependency jinja2 to v3.1.2 ([#953](https://github.com/googleapis/java-core/issues/953)) ([a1542bf](https://github.com/googleapis/java-core/commit/a1542bf8938a72c85b20f97e642dde3666ea0b04)) +* Update dependency keyring to v23.9.3 ([#954](https://github.com/googleapis/java-core/issues/954)) ([34bbdae](https://github.com/googleapis/java-core/commit/34bbdaeb312cce804d92d6b041e3098b8a6c04bc)) +* Update dependency markupsafe to v2.1.1 ([#955](https://github.com/googleapis/java-core/issues/955)) ([cb444b0](https://github.com/googleapis/java-core/commit/cb444b0d274af29ffa3076bd89c42acedf514749)) +* Update dependency protobuf to v3.20.2 ([#956](https://github.com/googleapis/java-core/issues/956)) ([949b4fe](https://github.com/googleapis/java-core/commit/949b4feab38e8b0f0b32ae80067dc07da5a2a383)) +* Update dependency protobuf to v4 ([#944](https://github.com/googleapis/java-core/issues/944)) ([9d379e2](https://github.com/googleapis/java-core/commit/9d379e202dd8bedf0c3bbaab3d3ba593813285d9)) +* Update dependency pyjwt to v2.5.0 ([#939](https://github.com/googleapis/java-core/issues/939)) ([bd4896e](https://github.com/googleapis/java-core/commit/bd4896ed5d0413472ae100b60e5f632506214a97)) +* Update dependency requests to v2.28.1 ([#940](https://github.com/googleapis/java-core/issues/940)) ([f64fef9](https://github.com/googleapis/java-core/commit/f64fef9ef365b43e1ec195db312862000db18627)) +* Update dependency typing-extensions to v4.3.0 ([#941](https://github.com/googleapis/java-core/issues/941)) ([3b8f163](https://github.com/googleapis/java-core/commit/3b8f163789f5cb11a4b461411cb7c1e132439449)) +* Update dependency zipp to v3.8.1 ([#942](https://github.com/googleapis/java-core/issues/942)) ([96ccc51](https://github.com/googleapis/java-core/commit/96ccc51c7107fbbcea6564cdf71fcedb05364761)) + +## [2.8.16](https://github.com/googleapis/java-core/compare/v2.8.15...v2.8.16) (2022-09-26) + + +### Dependencies + +* Update dependency org.threeten:threetenbp to v1.6.2 ([#929](https://github.com/googleapis/java-core/issues/929)) ([2f797f9](https://github.com/googleapis/java-core/commit/2f797f990eacc112dd982e7a8f9155bc229b7bf3)) + +## [2.8.15](https://github.com/googleapis/java-core/compare/v2.8.14...v2.8.15) (2022-09-23) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.0 ([#925](https://github.com/googleapis/java-core/issues/925)) ([a5475c5](https://github.com/googleapis/java-core/commit/a5475c5333ca97392c9e64a883826ea1bd976a01)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.1 ([#926](https://github.com/googleapis/java-core/issues/926)) ([3bc96fb](https://github.com/googleapis/java-core/commit/3bc96fbba4907d4ac3d24915870132fed596c0d3)) + +## [2.8.14](https://github.com/googleapis/java-core/compare/v2.8.13...v2.8.14) (2022-09-20) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.3 ([#922](https://github.com/googleapis/java-core/issues/922)) ([96b5b4e](https://github.com/googleapis/java-core/commit/96b5b4e00004c28cd2d726c2161e94778f6a1c01)) + +## [2.8.13](https://github.com/googleapis/java-core/compare/v2.8.12...v2.8.13) (2022-09-20) + + +### Dependencies + +* Update dependency io.grpc:grpc-bom to v1.49.1 ([#919](https://github.com/googleapis/java-core/issues/919)) ([2d481ba](https://github.com/googleapis/java-core/commit/2d481ba500e247d8fee49abe30a9eb84bdcc8d07)) + +## [2.8.12](https://github.com/googleapis/java-core/compare/v2.8.11...v2.8.12) (2022-09-14) + + +### Dependencies + +* Update dependency com.google.api:gax-bom to v2.19.1 ([#915](https://github.com/googleapis/java-core/issues/915)) ([2647fde](https://github.com/googleapis/java-core/commit/2647fdee8e2b168f3364af8e76abfe2903578b29)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#916](https://github.com/googleapis/java-core/issues/916)) ([a7db234](https://github.com/googleapis/java-core/commit/a7db234800481ffba71d3222542971dbcd212d8e)) + +## [2.8.11](https://github.com/googleapis/java-core/compare/v2.8.10...v2.8.11) (2022-09-08) + + +### Dependencies + +* Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#911](https://github.com/googleapis/java-core/issues/911)) ([4656905](https://github.com/googleapis/java-core/commit/4656905956504e4bc4fe224d1f8cd70bbab614d8)) + +## [2.8.10](https://github.com/googleapis/java-core/compare/v2.8.9...v2.8.10) (2022-08-24) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.19.0 ([#907](https://github.com/googleapis/java-core/issues/907)) ([51b824c](https://github.com/googleapis/java-core/commit/51b824c225fd7095138e1ec2b6d47af4e2a34352)) +* update dependency io.grpc:grpc-bom to v1.49.0 ([#908](https://github.com/googleapis/java-core/issues/908)) ([fbccd2d](https://github.com/googleapis/java-core/commit/fbccd2daceb0984c7cb95f84f89a116e54bf4ddc)) + +## [2.8.9](https://github.com/googleapis/java-core/compare/v2.8.8...v2.8.9) (2022-08-16) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#900](https://github.com/googleapis/java-core/issues/900)) ([c01b47a](https://github.com/googleapis/java-core/commit/c01b47a122a9036f8c594cb583dab3512a257597)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#901](https://github.com/googleapis/java-core/issues/901)) ([13e2fd6](https://github.com/googleapis/java-core/commit/13e2fd6fbae1d34385ec500aaf4a2b38e19dd6de)) +* update dependency org.threeten:threetenbp to v1.6.1 ([#902](https://github.com/googleapis/java-core/issues/902)) ([02dac62](https://github.com/googleapis/java-core/commit/02dac62784a6614291836917b022a32745312157)) + +## [2.8.8](https://github.com/googleapis/java-core/compare/v2.8.7...v2.8.8) (2022-08-04) + + +### Dependencies + +* update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#897](https://github.com/googleapis/java-core/issues/897)) ([29e4fc9](https://github.com/googleapis/java-core/commit/29e4fc93d5d4d50f7de85eae7a8150314cca6f43)) + +## [2.8.7](https://github.com/googleapis/java-core/compare/v2.8.6...v2.8.7) (2022-08-03) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#894](https://github.com/googleapis/java-core/issues/894)) ([82aaa16](https://github.com/googleapis/java-core/commit/82aaa16cd9813984a0c92d944eb1ad956759a8e5)) +* update dependency io.grpc:grpc-bom to v1.48.1 ([#891](https://github.com/googleapis/java-core/issues/891)) ([0b0f9b8](https://github.com/googleapis/java-core/commit/0b0f9b89757b801e8334c764644d7b66032d36d1)) + +## [2.8.6](https://github.com/googleapis/java-core/compare/v2.8.5...v2.8.6) (2022-08-02) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.18.7 ([#890](https://github.com/googleapis/java-core/issues/890)) ([c67bed5](https://github.com/googleapis/java-core/commit/c67bed5281b458e78780cdd918235b5d073917c7)) +* update dependency com.google.code.gson:gson to v2.9.1 ([#888](https://github.com/googleapis/java-core/issues/888)) ([7b799c6](https://github.com/googleapis/java-core/commit/7b799c66f4aaf057242e9a231b920e49a7c964e9)) + +## [2.8.5](https://github.com/googleapis/java-core/compare/v2.8.4...v2.8.5) (2022-07-29) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.18.6 ([#885](https://github.com/googleapis/java-core/issues/885)) ([7fa028c](https://github.com/googleapis/java-core/commit/7fa028c0e78bd21583c8687582da24834bd54449)) + +## [2.8.4](https://github.com/googleapis/java-core/compare/v2.8.3...v2.8.4) (2022-07-27) + + +### Documentation + +* update javadocs for ReadChannel#limit to be more clear ([#880](https://github.com/googleapis/java-core/issues/880)) ([c7de4e2](https://github.com/googleapis/java-core/commit/c7de4e2871d6a32cacc7aab69d826f3afd6301ef)) + + +### Dependencies + +* Update google-cloud-shared-config to v1.5.3 ([#882](https://github.com/googleapis/java-core/issues/882)) ([aabb0b4](https://github.com/googleapis/java-core/commit/aabb0b42076f8a02e7b31d604add567fa909df6c)) + +## [2.8.3](https://github.com/googleapis/java-core/compare/v2.8.2...v2.8.3) (2022-07-26) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v2 ([#868](https://github.com/googleapis/java-core/issues/868)) ([e117c40](https://github.com/googleapis/java-core/commit/e117c40f31acf16a45bdbeeb727ba26d80eb6a51)) +* update dependency com.google.api:gax-bom to v2.18.4 ([#864](https://github.com/googleapis/java-core/issues/864)) ([bd40b1d](https://github.com/googleapis/java-core/commit/bd40b1d1b36cdcfa833047609e2488594b112be1)) +* update dependency com.google.api:gax-bom to v2.18.5 ([#876](https://github.com/googleapis/java-core/issues/876)) ([d8dc7fb](https://github.com/googleapis/java-core/commit/d8dc7fbdb0d65e493ca4154658c63e80d89ab600)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.9.2 ([#870](https://github.com/googleapis/java-core/issues/870)) ([7e961e9](https://github.com/googleapis/java-core/commit/7e961e945d5e049a1a1bb2592e9c155b5937e33b)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.2 ([#865](https://github.com/googleapis/java-core/issues/865)) ([fe7b974](https://github.com/googleapis/java-core/commit/fe7b974a0eae82711ca96edf412944309d5d6202)) +* update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#856](https://github.com/googleapis/java-core/issues/856)) ([92df5d3](https://github.com/googleapis/java-core/commit/92df5d3c248214970d38432e8c264d151298d1e6)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#871](https://github.com/googleapis/java-core/issues/871)) ([1972e8e](https://github.com/googleapis/java-core/commit/1972e8e45e11597e56609aa5fcd44e61958d5857)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#874](https://github.com/googleapis/java-core/issues/874)) ([1e18977](https://github.com/googleapis/java-core/commit/1e18977820ac766157156fb6246bd318d207971c)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#877](https://github.com/googleapis/java-core/issues/877)) ([d12fb5e](https://github.com/googleapis/java-core/commit/d12fb5e4eb8aa42015df84abf31f56408c8b64d8)) +* update dependency io.grpc:grpc-bom to v1.48.0 ([#873](https://github.com/googleapis/java-core/issues/873)) ([a45b075](https://github.com/googleapis/java-core/commit/a45b075e414049550c51ff0097337e45128fc499)) + +## [2.8.2](https://github.com/googleapis/java-core/compare/v2.8.1...v2.8.2) (2022-07-13) + + +### Bug Fixes + +* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-core/issues/1485)) ([#866](https://github.com/googleapis/java-core/issues/866)) ([3add981](https://github.com/googleapis/java-core/commit/3add98191ecfc00f324ef214b98d02cfb143d08e)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#859](https://github.com/googleapis/java-core/issues/859)) ([c26a33d](https://github.com/googleapis/java-core/commit/c26a33d44df2405653ee5161f5335b423d334c93)) +* update dependency com.google.api:gax-bom to v2.18.3 ([#860](https://github.com/googleapis/java-core/issues/860)) ([f16395e](https://github.com/googleapis/java-core/commit/f16395e005b253a1cccadcd77b6403617cf72467)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.9.1 ([#855](https://github.com/googleapis/java-core/issues/855)) ([f7fc1cc](https://github.com/googleapis/java-core/commit/f7fc1cca6e79a17313c1d9c522dc93ea6df44645)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.0 ([#862](https://github.com/googleapis/java-core/issues/862)) ([fc82590](https://github.com/googleapis/java-core/commit/fc82590ca3022449300f18bb6d0109521aa73cbc)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#861](https://github.com/googleapis/java-core/issues/861)) ([3849fdf](https://github.com/googleapis/java-core/commit/3849fdf14e863d23b097b0d625e3a11b47f5d99b)) + +## [2.8.1](https://github.com/googleapis/java-core/compare/v2.8.0...v2.8.1) (2022-06-27) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#851](https://github.com/googleapis/java-core/issues/851)) ([c0f09f0](https://github.com/googleapis/java-core/commit/c0f09f0fcd57a2d90e0a99b17c9e346df8651d65)) + +## [2.8.0](https://github.com/googleapis/java-core/compare/v2.7.1...v2.8.0) (2022-06-21) + + +### Features + +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-core/issues/1440)) ([#836](https://github.com/googleapis/java-core/issues/836)) ([8826d9b](https://github.com/googleapis/java-core/commit/8826d9bc05eb9e4a54c40e8578de85ed79c50e99)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#843](https://github.com/googleapis/java-core/issues/843)) ([9ffe0c5](https://github.com/googleapis/java-core/commit/9ffe0c5b25761abf7ff1bea091aa1db057dff2d0)) +* update dependency com.google.api:api-common to v2.2.1 ([#844](https://github.com/googleapis/java-core/issues/844)) ([69dde56](https://github.com/googleapis/java-core/commit/69dde5641546b678a385b1ed3a2c7a020f81d285)) +* update dependency com.google.api:gax-bom to v2.18.2 ([#849](https://github.com/googleapis/java-core/issues/849)) ([11764b0](https://github.com/googleapis/java-core/commit/11764b04629c5bfbc9b0d68174782cc126dc1646)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.9.0 ([#846](https://github.com/googleapis/java-core/issues/846)) ([5dced6d](https://github.com/googleapis/java-core/commit/5dced6d25ce0f3e7587d7ac1f6f3713f3b2a18c2)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.0 ([#838](https://github.com/googleapis/java-core/issues/838)) ([b0a7afe](https://github.com/googleapis/java-core/commit/b0a7afe342a5e15436d439b9cc1e3c58f894ab66)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.1 ([#848](https://github.com/googleapis/java-core/issues/848)) ([8260997](https://github.com/googleapis/java-core/commit/826099767b0aabe0db26eff2f612f0847b451366)) +* update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#839](https://github.com/googleapis/java-core/issues/839)) ([3459fb6](https://github.com/googleapis/java-core/commit/3459fb668557b982cef5682ce47d3c978b83d69c)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#845](https://github.com/googleapis/java-core/issues/845)) ([2d2c873](https://github.com/googleapis/java-core/commit/2d2c873e274b26f4687d569cc3b8ae58c3c5ed54)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#840](https://github.com/googleapis/java-core/issues/840)) ([037da15](https://github.com/googleapis/java-core/commit/037da15b2aed1719e768ba5b4e001caf25952adc)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#841](https://github.com/googleapis/java-core/issues/841)) ([04b8862](https://github.com/googleapis/java-core/commit/04b886224128f1525ad8398815dc62dac87680af)) +* update dependency io.grpc:grpc-bom to v1.47.0 ([#842](https://github.com/googleapis/java-core/issues/842)) ([40984e2](https://github.com/googleapis/java-core/commit/40984e23242ba954b6ca741ca3f02ec89e92ae57)) + +### [2.7.1](https://github.com/googleapis/java-core/compare/v2.7.0...v2.7.1) (2022-05-19) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.18.1 ([#833](https://github.com/googleapis/java-core/issues/833)) ([7541115](https://github.com/googleapis/java-core/commit/7541115095e0ae28d938a4c9621fd0f82892fe55)) + +## [2.7.0](https://github.com/googleapis/java-core/compare/v2.6.1...v2.7.0) (2022-05-18) + + +### Features + +* **java:** remove native-image-support module ([#820](https://github.com/googleapis/java-core/issues/820)) ([a53ef6d](https://github.com/googleapis/java-core/commit/a53ef6d7ba05eeba82998378455f0aea58f24381)) +* next release from main branch is 2.7.0 ([#807](https://github.com/googleapis/java-core/issues/807)) ([5a2c608](https://github.com/googleapis/java-core/commit/5a2c608e375d15ec83ca71232627bce1f167e750)) + + +### Bug Fixes + +* remove native-image-support module from version.txt ([#822](https://github.com/googleapis/java-core/issues/822)) ([92e7efc](https://github.com/googleapis/java-core/commit/92e7efc4974911f7ce30021a280c9002a44dab47)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#823](https://github.com/googleapis/java-core/issues/823)) ([71105c6](https://github.com/googleapis/java-core/commit/71105c64918d6444e321fa3de5fc402e577ebc7d)) +* update dependency com.google.api:api-common to v2.2.0 ([#827](https://github.com/googleapis/java-core/issues/827)) ([05a02d6](https://github.com/googleapis/java-core/commit/05a02d6b16cb06b9f1dea0814912e5a32913fca8)) +* update dependency com.google.api:gax-bom to v2.17.0 ([#826](https://github.com/googleapis/java-core/issues/826)) ([c90188e](https://github.com/googleapis/java-core/commit/c90188e9a94ae71d71105d908173f1bd7e77c1cb)) +* update dependency com.google.api:gax-bom to v2.18.0 ([#829](https://github.com/googleapis/java-core/issues/829)) ([5537e7f](https://github.com/googleapis/java-core/commit/5537e7f80d5db94038b24a393e310120fab62e8c)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.2 ([#805](https://github.com/googleapis/java-core/issues/805)) ([493ac03](https://github.com/googleapis/java-core/commit/493ac038d3ca9f603cd47969fde0da68a1f9bfd0)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.3 ([#814](https://github.com/googleapis/java-core/issues/814)) ([e809baa](https://github.com/googleapis/java-core/commit/e809baa69672d3eca2dc348f55615dc072a8fbe3)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.4 ([#825](https://github.com/googleapis/java-core/issues/825)) ([5ce12ee](https://github.com/googleapis/java-core/commit/5ce12ee0c10e2bdb5981e6ca02966d7eb802ca6c)) +* update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#828](https://github.com/googleapis/java-core/issues/828)) ([2abca2c](https://github.com/googleapis/java-core/commit/2abca2c135ba2337d546d5c97bcdd5901e91301a)) +* update dependency com.google.cloud:native-image-support to v0.14.0 ([#824](https://github.com/googleapis/java-core/issues/824)) ([997a34a](https://github.com/googleapis/java-core/commit/997a34a15a59bb1818fff3d1fbce195a05d12da3)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#806](https://github.com/googleapis/java-core/issues/806)) ([9fc5811](https://github.com/googleapis/java-core/commit/9fc5811eae52288acd9fb0b967e5737848fe7c5e)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#821](https://github.com/googleapis/java-core/issues/821)) ([c7e3d6e](https://github.com/googleapis/java-core/commit/c7e3d6ef437d9f85dab450b54d63f7218b89788b)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#813](https://github.com/googleapis/java-core/issues/813)) ([a9c8c92](https://github.com/googleapis/java-core/commit/a9c8c92086c0266e14f86a957944c0cc4ab26ee6)) +* update dependency io.grpc:grpc-bom to v1.46.0 ([#815](https://github.com/googleapis/java-core/issues/815)) ([03c9bfe](https://github.com/googleapis/java-core/commit/03c9bfe4210a6c3995adf89be28b7c8aab402fb3)) +* update opencensus.version to v0.31.1 ([#819](https://github.com/googleapis/java-core/issues/819)) ([1800d3a](https://github.com/googleapis/java-core/commit/1800d3aa3ff7315947681b648f822f2cf9656a3b)) + +### [2.6.1](https://github.com/googleapis/java-core/compare/v2.6.0...v2.6.1) (2022-04-14) + + +### Dependencies + +* update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#802](https://github.com/googleapis/java-core/issues/802)) ([042b08e](https://github.com/googleapis/java-core/commit/042b08e3cf05dba7e006f802dbc60f95b6da99ef)) + +## [2.6.0](https://github.com/googleapis/java-core/compare/v2.5.11...v2.6.0) (2022-04-14) + + +### Features + +* **java:** remove GoogleJsonClentFeature and OpenCensusFeature after relocation ([#793](https://github.com/googleapis/java-core/issues/793)) ([2880112](https://github.com/googleapis/java-core/commit/28801121a50583118286419ac91332a201285c4c)) +* **java:** remove Netty Native Image configuration after relocation to gax ([#771](https://github.com/googleapis/java-core/issues/771)) ([9ba04f9](https://github.com/googleapis/java-core/commit/9ba04f9f135e1ff7344bb45eeb5796154616ef20)) +* **java:** remove protobuf Native Image configuration ([#784](https://github.com/googleapis/java-core/issues/784)) ([0bc8549](https://github.com/googleapis/java-core/commit/0bc8549d3364ac169f21cc00c00497cd59998106)) +* remove native-image.properties settings after relocation ([#794](https://github.com/googleapis/java-core/issues/794)) ([e24bfdd](https://github.com/googleapis/java-core/commit/e24bfddbb9f588fbf69cdc0022cdf67f2c628278)) +* remove resource-config after relocation ([#795](https://github.com/googleapis/java-core/issues/795)) ([87e2973](https://github.com/googleapis/java-core/commit/87e29733c3714b39000e5fa3d232c35ce69955a2)) +* remove substitutions after relocation to gax ([#789](https://github.com/googleapis/java-core/issues/789)) ([29291e9](https://github.com/googleapis/java-core/commit/29291e9f50e4500ef5d5c1fe30098d025b216f9a)) + + +### Bug Fixes + +* **java:** register test class for reflection to fix native image test ([#766](https://github.com/googleapis/java-core/issues/766)) ([6fe52c3](https://github.com/googleapis/java-core/commit/6fe52c3424546cad7b8158668d3f8a655b56af41)) + + +### Dependencies + +* revert protobuf to 3.19 and common-protos 2.8.3 ([#798](https://github.com/googleapis/java-core/issues/798)) ([0f36a84](https://github.com/googleapis/java-core/commit/0f36a848a03c50d5d0187241bccd66fdb0cea862)) +* update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#800](https://github.com/googleapis/java-core/issues/800)) ([8430aee](https://github.com/googleapis/java-core/commit/8430aee231100ef13296f22f09265589b2aa0252)) +* update dependency com.google.api:gax-bom to v2.16.0 ([#785](https://github.com/googleapis/java-core/issues/785)) ([fd435b0](https://github.com/googleapis/java-core/commit/fd435b00f01fac1dc96b5f401b403d67809fa1eb)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.8.1 ([#792](https://github.com/googleapis/java-core/issues/792)) ([4d201ac](https://github.com/googleapis/java-core/commit/4d201ac5dc694c9e4a4f06c5580a0c707ea68b87)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.8.2 ([#796](https://github.com/googleapis/java-core/issues/796)) ([dc28a0f](https://github.com/googleapis/java-core/commit/dc28a0f2d58bcf4eb3c9b9f129ce8d88470e94e6)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.0 ([#783](https://github.com/googleapis/java-core/issues/783)) ([4ed5ba4](https://github.com/googleapis/java-core/commit/4ed5ba4d096cb19f60186cbcfc789f5b058b07f8)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.1 ([#799](https://github.com/googleapis/java-core/issues/799)) ([fce5315](https://github.com/googleapis/java-core/commit/fce531519184225e103a8faad54e81ae9232210a)) +* update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#788](https://github.com/googleapis/java-core/issues/788)) ([4e71f68](https://github.com/googleapis/java-core/commit/4e71f680142bf8cffaa519dcb0fd2916458674e2)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#791](https://github.com/googleapis/java-core/issues/791)) ([fe006c6](https://github.com/googleapis/java-core/commit/fe006c60e6cbaff8127a9f6f6792c6a6ce9ff26b)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#797](https://github.com/googleapis/java-core/issues/797)) ([570f8d5](https://github.com/googleapis/java-core/commit/570f8d5870044d1f3026b4aec49a6800d904f1be)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#787](https://github.com/googleapis/java-core/issues/787)) ([19202bc](https://github.com/googleapis/java-core/commit/19202bcb76e28977e0f2c9b02c75c83644bfb438)) +* update dependency io.grpc:grpc-bom to v1.45.1 ([#780](https://github.com/googleapis/java-core/issues/780)) ([6e3bf35](https://github.com/googleapis/java-core/commit/6e3bf35c501028ac293a401f55c14f1d97fa3953)) + +### [2.5.11](https://github.com/googleapis/java-core/compare/v2.5.10...v2.5.11) (2022-03-28) + + +### Bug Fixes + +* **java:** Register Spanner classes for reflection to fix Native Image tests ([#760](https://github.com/googleapis/java-core/issues/760)) ([257de0f](https://github.com/googleapis/java-core/commit/257de0f71963550ce11aca608fdf9a99672ff19a)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.33.4 ([#776](https://github.com/googleapis/java-core/issues/776)) ([1b6fb2a](https://github.com/googleapis/java-core/commit/1b6fb2a5b9602f5ff8375deb15f5121851b09bd1)) +* update dependency com.google.api:api-common to v2.1.5 ([#768](https://github.com/googleapis/java-core/issues/768)) ([c76c332](https://github.com/googleapis/java-core/commit/c76c332b5676bffad2a1e75b094790c9b0488447)) +* update dependency com.google.api:gax-bom to v2.13.0 ([#774](https://github.com/googleapis/java-core/issues/774)) ([8075c54](https://github.com/googleapis/java-core/commit/8075c54a127496a5330671652678b03f5abdd5c9)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.8.0 ([#770](https://github.com/googleapis/java-core/issues/770)) ([6809477](https://github.com/googleapis/java-core/commit/680947779ac9bc58f60c6c18750aac6b756e73b2)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.10 ([#763](https://github.com/googleapis/java-core/issues/763)) ([9f2eb5f](https://github.com/googleapis/java-core/commit/9f2eb5fed5d9dc91ee01068a2c4eec9acef38c86)) +* update dependency com.google.auth:google-auth-library-bom to v1.6.0 ([#765](https://github.com/googleapis/java-core/issues/765)) ([2eb1924](https://github.com/googleapis/java-core/commit/2eb19241f119f39de7d07ee863c9c78a3e7f11a4)) +* update dependency com.google.guava:guava to 31.1-jre ([#772](https://github.com/googleapis/java-core/issues/772)) ([060adf3](https://github.com/googleapis/java-core/commit/060adf35bf6afdd4b31d790e5484f63eac777a11)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.5 ([#769](https://github.com/googleapis/java-core/issues/769)) ([999be7a](https://github.com/googleapis/java-core/commit/999be7ab10459b33ab001b5bd84d650aeb13313f)) +* update dependency org.threeten:threetenbp to v1.6.0 ([#767](https://github.com/googleapis/java-core/issues/767)) ([9a4a438](https://github.com/googleapis/java-core/commit/9a4a438e04acfd0ec15cdfac5da3610223fe0071)) + +### [2.5.10](https://github.com/googleapis/java-core/compare/v2.5.9...v2.5.10) (2022-03-10) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.9 ([#759](https://github.com/googleapis/java-core/issues/759)) ([9585d4e](https://github.com/googleapis/java-core/commit/9585d4ea8377c087b33e63e46672a79d52e04a4b)) + +### [2.5.9](https://github.com/googleapis/java-core/compare/v2.5.8...v2.5.9) (2022-03-09) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.45.0 ([#756](https://github.com/googleapis/java-core/issues/756)) ([403b10a](https://github.com/googleapis/java-core/commit/403b10accfe2694dc2a5fac63a374d00585df5bb)) + +### [2.5.8](https://github.com/googleapis/java-core/compare/v2.5.7...v2.5.8) (2022-03-08) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.8 ([#753](https://github.com/googleapis/java-core/issues/753)) ([6866b84](https://github.com/googleapis/java-core/commit/6866b8407162ecbff7ed5a6eec5e3e4d130fcfa7)) + +### [2.5.7](https://github.com/googleapis/java-core/compare/v2.5.6...v2.5.7) (2022-03-08) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.7 ([#748](https://github.com/googleapis/java-core/issues/748)) ([91cc595](https://github.com/googleapis/java-core/commit/91cc595c7df73af8e71e4feeb663c973e6bcc8e5)) + +### [2.5.6](https://github.com/googleapis/java-core/compare/v2.5.5...v2.5.6) (2022-03-01) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.6 ([#742](https://github.com/googleapis/java-core/issues/742)) ([474e56c](https://github.com/googleapis/java-core/commit/474e56cca19f9d7b61f62585ee06f1fbdba0ae46)) + +### [2.5.5](https://github.com/googleapis/java-core/compare/v2.5.4...v2.5.5) (2022-02-28) + + +### Bug Fixes + +* **java:** initialize spanner test environment class at build-time ([#734](https://github.com/googleapis/java-core/issues/734)) ([684934e](https://github.com/googleapis/java-core/commit/684934efb28e4ed5f5f975aab91adad25bf1ab52)) +* **java:** initialize TestTag at build time ([#732](https://github.com/googleapis/java-core/issues/732)) ([a5f1dc2](https://github.com/googleapis/java-core/commit/a5f1dc2ed3d71404d699830ba4bea8824e67d0e8)) + + +### Dependencies + +* update actions/setup-java action to v3 ([#739](https://github.com/googleapis/java-core/issues/739)) ([46322e3](https://github.com/googleapis/java-core/commit/46322e3a9929195c223fc6399860c1cab4d81eb5)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.4 ([#728](https://github.com/googleapis/java-core/issues/728)) ([3b83bd7](https://github.com/googleapis/java-core/commit/3b83bd7dce6a369c6668f0967572ae08df1b77d8)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.4 ([#729](https://github.com/googleapis/java-core/issues/729)) ([0759c2b](https://github.com/googleapis/java-core/commit/0759c2b8163d45bf87692e2f131df76dac5f178e)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.5 ([#735](https://github.com/googleapis/java-core/issues/735)) ([cefbf97](https://github.com/googleapis/java-core/commit/cefbf978ac21f00b3c4558ebc40ef1f6355ea156)) +* update dependency com.google.auth:google-auth-library-bom to v1.5.3 ([#737](https://github.com/googleapis/java-core/issues/737)) ([a1cb8d8](https://github.com/googleapis/java-core/commit/a1cb8d81db34142937c85be5c4502036a4b7939d)) +* update dependency com.google.code.gson:gson to v2.9.0 ([#727](https://github.com/googleapis/java-core/issues/727)) ([faf8a44](https://github.com/googleapis/java-core/commit/faf8a44e8823ecae44d543e6f5c2a9d8598f04fe)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.4 ([#730](https://github.com/googleapis/java-core/issues/730)) ([1975b61](https://github.com/googleapis/java-core/commit/1975b617e23f7dd0b263e9acb4010b3126e5d7e7)) +* update dependency io.grpc:grpc-bom to v1.44.1 ([#736](https://github.com/googleapis/java-core/issues/736)) ([4ca315c](https://github.com/googleapis/java-core/commit/4ca315ca400e020badbdf27bb92d1b67680a2e73)) + +### [2.5.4](https://github.com/googleapis/java-core/compare/v2.5.3...v2.5.4) (2022-02-11) + + +### Dependencies + +* update actions/github-script action to v6 ([#724](https://github.com/googleapis/java-core/issues/724)) ([b8673d3](https://github.com/googleapis/java-core/commit/b8673d3b3ae08cbfed135cd7ff9d891c04e90611)) + +### [2.5.3](https://github.com/googleapis/java-core/compare/v2.5.2...v2.5.3) (2022-02-10) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.12.2 ([#719](https://github.com/googleapis/java-core/issues/719)) ([4de90d0](https://github.com/googleapis/java-core/commit/4de90d05c152c21a1ebb98f6cbff0f9b9c39e5d2)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.3 ([#720](https://github.com/googleapis/java-core/issues/720)) ([d2a5b4f](https://github.com/googleapis/java-core/commit/d2a5b4ffa598f232b84655a7ac146bfa2e1f24c9)) + +### [2.5.2](https://github.com/googleapis/java-core/compare/v2.5.1...v2.5.2) (2022-02-09) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.3 ([#716](https://github.com/googleapis/java-core/issues/716)) ([100e41e](https://github.com/googleapis/java-core/commit/100e41e092f35f6e6d187de45bb6dc3e4e760052)) + +### [2.5.1](https://github.com/googleapis/java-core/compare/v2.5.0...v2.5.1) (2022-02-08) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#709](https://github.com/googleapis/java-core/issues/709)) ([de08f4e](https://github.com/googleapis/java-core/commit/de08f4eea6cf4e7813c8da1f6adb28e1e56fd1cd)) +* update dependency com.google.api:api-common to v2.1.4 ([#712](https://github.com/googleapis/java-core/issues/712)) ([9cc49de](https://github.com/googleapis/java-core/commit/9cc49de654d57e8efdb97c8e3c7f9d8723e79eb9)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.3 ([#710](https://github.com/googleapis/java-core/issues/710)) ([a5f1991](https://github.com/googleapis/java-core/commit/a5f199157319dfb82cbb24d1b4249d924118de84)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.2 ([#705](https://github.com/googleapis/java-core/issues/705)) ([b8722b9](https://github.com/googleapis/java-core/commit/b8722b998966b21cd2d9e6208627c34ff046accf)) + +## [2.5.0](https://github.com/googleapis/java-core/compare/v2.4.0...v2.5.0) (2022-02-02) + + +### Features + +* add limit support to ReadChannel ([#688](https://github.com/googleapis/java-core/issues/688)) ([476109e](https://github.com/googleapis/java-core/commit/476109e1943c1a9561cc636ffc64ab8cdd1888f9)) + + +### Bug Fixes + +* **java:** Initialize AsyncSSLPrivateKeyMethod (a grpc netty class) at run-time ([#702](https://github.com/googleapis/java-core/issues/702)) ([24146a3](https://github.com/googleapis/java-core/commit/24146a35a10ae06238de9556c24dab5dbd3bcaff)) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.12.0 ([#698](https://github.com/googleapis/java-core/issues/698)) ([c10aab8](https://github.com/googleapis/java-core/commit/c10aab8a57ff0aad07a700540085e2ed7521b1a1)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#699](https://github.com/googleapis/java-core/issues/699)) ([5d163f5](https://github.com/googleapis/java-core/commit/5d163f591547cd8e0e508b9c824a17da2074b264)) + +## [2.4.0](https://github.com/googleapis/java-core/compare/v2.3.5...v2.4.0) (2022-01-28) + + +### Features + +* **java:** Add native-image support classes to java-core module ([#637](https://github.com/googleapis/java-core/issues/637)) ([154bc18](https://github.com/googleapis/java-core/commit/154bc18ba86328d29665c502db1d35e265c92bbf)) + + +### Bug Fixes + +* **java:** initialize LoggerFactory at build time ([#685](https://github.com/googleapis/java-core/issues/685)) ([eb3aba2](https://github.com/googleapis/java-core/commit/eb3aba2455a0ab6ffec2c6beb3f3cbb4bcb6008d)) + + +### Dependencies + +* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-core/issues/1339)) ([#689](https://github.com/googleapis/java-core/issues/689)) ([eb462c7](https://github.com/googleapis/java-core/commit/eb462c7b1a005ce37d1be58900a244f6b807e5d5)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#684](https://github.com/googleapis/java-core/issues/684)) ([9ff47e6](https://github.com/googleapis/java-core/commit/9ff47e68d0c435d7636d89b03369aabbdfe3663b)) +* update dependency com.google.api:api-common to v2.1.3 ([#694](https://github.com/googleapis/java-core/issues/694)) ([684ae80](https://github.com/googleapis/java-core/commit/684ae805b8d25747830ce9266fd51a287c018cc9)) +* update dependency com.google.api:gax-bom to v2.11.0 ([#677](https://github.com/googleapis/java-core/issues/677)) ([1a578bd](https://github.com/googleapis/java-core/commit/1a578bdee2fa229ffbdd8fdde3d66d7e29dedf98)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.2 ([#695](https://github.com/googleapis/java-core/issues/695)) ([1085d2c](https://github.com/googleapis/java-core/commit/1085d2cb1d7e8391f981d1f4b97c7724b0107e94)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.1 ([#667](https://github.com/googleapis/java-core/issues/667)) ([b57ec04](https://github.com/googleapis/java-core/commit/b57ec047234a1a044458980a8cf7de6a3156bf41)) +* update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#681](https://github.com/googleapis/java-core/issues/681)) ([3273b1e](https://github.com/googleapis/java-core/commit/3273b1ed0b1db610790e7832a6c92797a341cc7d)) +* update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#687](https://github.com/googleapis/java-core/issues/687)) ([dc4d18d](https://github.com/googleapis/java-core/commit/dc4d18de86695fddbcb9d221cc53fdca3faf09f5)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.1 ([#683](https://github.com/googleapis/java-core/issues/683)) ([45cb753](https://github.com/googleapis/java-core/commit/45cb7535151cfcffa282b4c8d9cd56265cca2ece)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#696](https://github.com/googleapis/java-core/issues/696)) ([f4875c0](https://github.com/googleapis/java-core/commit/f4875c0deecfea3728925e5ee0ef95ee90852301)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#674](https://github.com/googleapis/java-core/issues/674)) ([c54f997](https://github.com/googleapis/java-core/commit/c54f9973b71c91c1fde0a1d128957cd022a27902)) +* update dependency io.grpc:grpc-bom to v1.43.2 ([#665](https://github.com/googleapis/java-core/issues/665)) ([752ba6e](https://github.com/googleapis/java-core/commit/752ba6e384c382d0e39d8335640eaaea2beee9e1)) +* update dependency io.grpc:grpc-bom to v1.44.0 ([#693](https://github.com/googleapis/java-core/issues/693)) ([ed85045](https://github.com/googleapis/java-core/commit/ed850455995fc5b5c2dae3595116721316f63698)) +* update dependency org.easymock:easymock to v4 ([#668](https://github.com/googleapis/java-core/issues/668)) ([c36e976](https://github.com/googleapis/java-core/commit/c36e976c0379c1119dfe643dc3131f2e52130c5c)) +* update dependency org.graalvm.sdk:graal-sdk to v22 ([#680](https://github.com/googleapis/java-core/issues/680)) ([0f535f8](https://github.com/googleapis/java-core/commit/0f535f869f7ce68192f821d0f3361634676dddf7)) +* update graalvm.version to v21.3.1 ([#679](https://github.com/googleapis/java-core/issues/679)) ([dfb305a](https://github.com/googleapis/java-core/commit/dfb305acaf9d6db91727e42509fc6b043f07a5ce)) +* update graalvm.version to v22.0.0.2 ([#691](https://github.com/googleapis/java-core/issues/691)) ([780b734](https://github.com/googleapis/java-core/commit/780b734bb4f26fab49065f303d102033b2c3a3d0)) +* update opencensus.version to v0.30.0 ([#646](https://github.com/googleapis/java-core/issues/646)) ([c2caaa7](https://github.com/googleapis/java-core/commit/c2caaa7cb2c094318e611ba2c082a8a31fee21ea)) +* update opencensus.version to v0.31.0 ([#692](https://github.com/googleapis/java-core/issues/692)) ([bdf7d4e](https://github.com/googleapis/java-core/commit/bdf7d4ec05c5314e5f2667287ed3e7cb83667c35)) + +### [2.3.5](https://www.github.com/googleapis/java-core/compare/v2.3.4...v2.3.5) (2022-01-06) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.2 ([#661](https://www.github.com/googleapis/java-core/issues/661)) ([0a136d8](https://www.github.com/googleapis/java-core/commit/0a136d8122f6c5042808cbfee9e58dc53e368da6)) +* update gax.version to v2.8.1 ([#663](https://www.github.com/googleapis/java-core/issues/663)) ([7c09aa5](https://www.github.com/googleapis/java-core/commit/7c09aa5729408a395f1a8fae94744f9d33638b1a)) + +### [2.3.4](https://www.github.com/googleapis/java-core/compare/v2.3.3...v2.3.4) (2022-01-06) + + +### Bug Fixes + +* fixed compilation warnings from error prone ([e6e7040](https://www.github.com/googleapis/java-core/commit/e6e7040305b19ec9d5468f4cd44d7a29d0d5e470)) +* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-core/issues/1299)) ([#643](https://www.github.com/googleapis/java-core/issues/643)) ([0f4c1db](https://www.github.com/googleapis/java-core/commit/0f4c1dbbd89d82f5cc86c2b684d6645699b835b3)) +* **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-core/issues/1301)) ([#652](https://www.github.com/googleapis/java-core/issues/652)) ([ab2fa93](https://www.github.com/googleapis/java-core/commit/ab2fa93ba0434f593abb063afad44dc923bf462a)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#658](https://www.github.com/googleapis/java-core/issues/658)) ([d417ebd](https://www.github.com/googleapis/java-core/commit/d417ebd7bedc9d4e983f32c87a8d61163502cf1d)) +* update dependency com.google.api:gax-bom to v2.8.0 ([#659](https://www.github.com/googleapis/java-core/issues/659)) ([91717ab](https://www.github.com/googleapis/java-core/commit/91717ab9361a31976727b26d08837e8b3838bdb4)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.1 ([#656](https://www.github.com/googleapis/java-core/issues/656)) ([ecfbdc1](https://www.github.com/googleapis/java-core/commit/ecfbdc181087d37d38f7911b9962953f5d246434)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.0 ([#645](https://www.github.com/googleapis/java-core/issues/645)) ([3926b54](https://www.github.com/googleapis/java-core/commit/3926b5423893635dd709b8fc6037fb896396ff13)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#657](https://www.github.com/googleapis/java-core/issues/657)) ([41a5120](https://www.github.com/googleapis/java-core/commit/41a51201a3712f71f6cf3be3c29db68360b2405f)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.2 ([#655](https://www.github.com/googleapis/java-core/issues/655)) ([eb6c037](https://www.github.com/googleapis/java-core/commit/eb6c03729af41e6d7bd9db80644b8ddfd22e78ec)) +* update dependency io.grpc:grpc-bom to v1.43.1 ([#647](https://www.github.com/googleapis/java-core/issues/647)) ([275b882](https://www.github.com/googleapis/java-core/commit/275b882918f7625daeb3e98ab26b7b0a2f2cdb7b)) + +### [2.3.3](https://www.github.com/googleapis/java-core/compare/v2.3.2...v2.3.3) (2021-12-02) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.7.1 ([#640](https://www.github.com/googleapis/java-core/issues/640)) ([18e033b](https://www.github.com/googleapis/java-core/commit/18e033bdafe536a42ada9f93b0a2b502caea0bcf)) + +### [2.3.2](https://www.github.com/googleapis/java-core/compare/v2.3.1...v2.3.2) (2021-12-02) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.1 ([#632](https://www.github.com/googleapis/java-core/issues/632)) ([b9bb47a](https://www.github.com/googleapis/java-core/commit/b9bb47a0b0a6b132c516361d23750a92a32e53be)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.0 ([#638](https://www.github.com/googleapis/java-core/issues/638)) ([74862a8](https://www.github.com/googleapis/java-core/commit/74862a8864eb7bffe6659d1e2a261dd5b934d6ff)) + +### [2.3.1](https://www.github.com/googleapis/java-core/compare/v2.3.0...v2.3.1) (2021-11-15) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.42.1 ([#629](https://www.github.com/googleapis/java-core/issues/629)) ([85fcd99](https://www.github.com/googleapis/java-core/commit/85fcd99237d7526b1b373d07204c4114c49b08b8)) + +## [2.3.0](https://www.github.com/googleapis/java-core/compare/v2.2.0...v2.3.0) (2021-11-11) + + +### Features + +* next release from main branch is 2.3.0 ([#602](https://www.github.com/googleapis/java-core/issues/602)) ([34fa5f1](https://www.github.com/googleapis/java-core/commit/34fa5f1e750629d4431d5f97eb8b09ee65ebc016)) + + +### Bug Fixes + +* **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-core/issues/1266)) ([#612](https://www.github.com/googleapis/java-core/issues/612)) ([5be3eff](https://www.github.com/googleapis/java-core/commit/5be3eff4041ca39d513979b948afe99f27bb1d20)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.0 ([#613](https://www.github.com/googleapis/java-core/issues/613)) ([62d6ab8](https://www.github.com/googleapis/java-core/commit/62d6ab8b5a7c5edb4482d7afda5b87f4832226ca)) +* update dependency com.google.api:gax-bom to v2.7.0 ([#626](https://www.github.com/googleapis/java-core/issues/626)) ([4a1e965](https://www.github.com/googleapis/java-core/commit/4a1e96551e16a5abc5d8f71f9e096a284fc59528)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.7 ([#604](https://www.github.com/googleapis/java-core/issues/604)) ([0d36d59](https://www.github.com/googleapis/java-core/commit/0d36d59e4ff8817ba5984579188bfc6d7745348d)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#610](https://www.github.com/googleapis/java-core/issues/610)) ([c5e33d8](https://www.github.com/googleapis/java-core/commit/c5e33d87d211c22a93ea2e0de1776e7f2fbf6ef7)) +* update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#627](https://www.github.com/googleapis/java-core/issues/627)) ([f4403b2](https://www.github.com/googleapis/java-core/commit/f4403b2af856cc6ce45e2aab277d7e78baa6ecfe)) +* update dependency com.google.code.gson:gson to v2.8.9 ([#615](https://www.github.com/googleapis/java-core/issues/615)) ([ec0e387](https://www.github.com/googleapis/java-core/commit/ec0e387d3c96467218406ef4c5da5e59a11e8b7a)) +* update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#618](https://www.github.com/googleapis/java-core/issues/618)) ([21139a8](https://www.github.com/googleapis/java-core/commit/21139a83821b12b5312e470c61b45ca76a0b921a)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#609](https://www.github.com/googleapis/java-core/issues/609)) ([28e6333](https://www.github.com/googleapis/java-core/commit/28e6333080fbe10ad8ecdfeef12d80af204f71fd)) +* update dependency io.grpc:grpc-bom to v1.42.0 ([#619](https://www.github.com/googleapis/java-core/issues/619)) ([da4cbd5](https://www.github.com/googleapis/java-core/commit/da4cbd5ccc54a81f89635435a2045cfa0de8d722)) +* update dependency org.threeten:threetenbp to v1.5.2 ([#624](https://www.github.com/googleapis/java-core/issues/624)) ([91eec9d](https://www.github.com/googleapis/java-core/commit/91eec9d83285e10cd9ecf3e75cb99b9a9d40cb89)) + +## [2.2.0](https://www.github.com/googleapis/java-core/compare/v2.1.8...v2.2.0) (2021-10-18) + + +### Features + +* next release from main branch is 2.2.0 ([#596](https://www.github.com/googleapis/java-core/issues/596)) ([cca72b8](https://www.github.com/googleapis/java-core/commit/cca72b82b45e01207bd45c6a2b988981c213c6fd)) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.6.1 ([#600](https://www.github.com/googleapis/java-core/issues/600)) ([a0cff6a](https://www.github.com/googleapis/java-core/commit/a0cff6a83506d1da3a8aacd6eafc39ff1ab11583)) + +### [2.1.8](https://www.github.com/googleapis/java-core/compare/v2.1.7...v2.1.8) (2021-10-15) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([#593](https://www.github.com/googleapis/java-core/issues/593)) ([644fc6f](https://www.github.com/googleapis/java-core/commit/644fc6f728b0791c61d85f34c535c09dff862c1d)) +* update dependency com.google.api:api-common to v2.0.4 ([#585](https://www.github.com/googleapis/java-core/issues/585)) ([ad4e4b7](https://www.github.com/googleapis/java-core/commit/ad4e4b7e076d8bd52bf621615301ec810917db43)) +* update dependency com.google.api:api-common to v2.0.5 ([#589](https://www.github.com/googleapis/java-core/issues/589)) ([c30cc40](https://www.github.com/googleapis/java-core/commit/c30cc40cd8687f79c7154503ee1f602089d62f2d)) +* update dependency com.google.api:gax-bom to v2.6.0 ([#594](https://www.github.com/googleapis/java-core/issues/594)) ([710cbe6](https://www.github.com/googleapis/java-core/commit/710cbe6e5121f118a5f4be327e8eeeceddfa04fb)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.6.0 ([#578](https://www.github.com/googleapis/java-core/issues/578)) ([113b686](https://www.github.com/googleapis/java-core/commit/113b6868f98caa64d713f02729c3f16d878252ff)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.3 ([#574](https://www.github.com/googleapis/java-core/issues/574)) ([338444b](https://www.github.com/googleapis/java-core/commit/338444bd4d169bb7fd41242e790c74596948178b)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.4 ([#584](https://www.github.com/googleapis/java-core/issues/584)) ([57211ce](https://www.github.com/googleapis/java-core/commit/57211ce15e9b1a4c1b7468fed217e4ab46ec0a5d)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.5 ([#587](https://www.github.com/googleapis/java-core/issues/587)) ([55f9f4e](https://www.github.com/googleapis/java-core/commit/55f9f4e084defaf8a243bf21afd67302be802b25)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.6 ([#590](https://www.github.com/googleapis/java-core/issues/590)) ([f534c46](https://www.github.com/googleapis/java-core/commit/f534c462fadb479c6fd934c24ac8cd24e06e2698)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.0 ([#581](https://www.github.com/googleapis/java-core/issues/581)) ([c32d2c5](https://www.github.com/googleapis/java-core/commit/c32d2c552dfa04b8e5eab27a115ac10832898473)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([#591](https://www.github.com/googleapis/java-core/issues/591)) ([046f95d](https://www.github.com/googleapis/java-core/commit/046f95d8ed0811dd278c40fcfeb2c042e6535996)) +* update dependency com.google.guava:guava-bom to v31 ([#577](https://www.github.com/googleapis/java-core/issues/577)) ([4a987fb](https://www.github.com/googleapis/java-core/commit/4a987fbd3f1bd69b0b923fc9a691fc60908ad1cc)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([#588](https://www.github.com/googleapis/java-core/issues/588)) ([3d36d77](https://www.github.com/googleapis/java-core/commit/3d36d77e6db9856c276d6263036764c60f32b7b3)) +* update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#583](https://www.github.com/googleapis/java-core/issues/583)) ([47da21c](https://www.github.com/googleapis/java-core/commit/47da21c793be9477323a234f7e3beaf6b705cd7d)) + +### [2.1.7](https://www.github.com/googleapis/java-core/compare/v2.1.6...v2.1.7) (2021-09-23) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.41.0 ([#569](https://www.github.com/googleapis/java-core/issues/569)) ([36703e9](https://www.github.com/googleapis/java-core/commit/36703e9a1f2d97d465a13220027a27f813da14a8)) + +### [2.1.6](https://www.github.com/googleapis/java-core/compare/v2.1.5...v2.1.6) (2021-09-21) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.5.0 ([#565](https://www.github.com/googleapis/java-core/issues/565)) ([3ce8e28](https://www.github.com/googleapis/java-core/commit/3ce8e28813858ea932dc5c54324441f2f0c52d46)) + +### [2.1.5](https://www.github.com/googleapis/java-core/compare/v2.1.4...v2.1.5) (2021-09-21) + + +### Dependencies + +* downgrading protobuf to 3.17.3 ([#562](https://www.github.com/googleapis/java-core/issues/562)) ([5711b83](https://www.github.com/googleapis/java-core/commit/5711b835a19238df1bfa1f2e4dfc115495a55c9b)) + +### [2.1.4](https://www.github.com/googleapis/java-core/compare/v2.1.3...v2.1.4) (2021-09-15) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.1 ([#556](https://www.github.com/googleapis/java-core/issues/556)) ([095efa1](https://www.github.com/googleapis/java-core/commit/095efa1fc1fffde34c6c38a88fee8f91bd495bfc)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.2 ([#559](https://www.github.com/googleapis/java-core/issues/559)) ([3cda672](https://www.github.com/googleapis/java-core/commit/3cda672059727642d1b90f8bcc6bb34546f6893d)) +* update dependency com.google.protobuf:protobuf-bom to v3.18.0 ([#558](https://www.github.com/googleapis/java-core/issues/558)) ([85766e6](https://www.github.com/googleapis/java-core/commit/85766e67f0a9f381593ea2d6e9c8f30fc0ba2993)) + +### [2.1.3](https://www.github.com/googleapis/java-core/compare/v2.1.2...v2.1.3) (2021-09-10) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.4.1 ([#549](https://www.github.com/googleapis/java-core/issues/549)) ([0b4be35](https://www.github.com/googleapis/java-core/commit/0b4be350d47cab58f3bb4e53d34e913e736a522b)) + +### [2.1.2](https://www.github.com/googleapis/java-core/compare/v2.1.1...v2.1.2) (2021-08-31) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.2 ([#534](https://www.github.com/googleapis/java-core/issues/534)) ([1883c81](https://www.github.com/googleapis/java-core/commit/1883c81cb0fdf2f4b34a3a3a17987206d8c452aa)) +* update dependency com.google.api:gax-bom to v2.4.0 ([#540](https://www.github.com/googleapis/java-core/issues/540)) ([06b0d6e](https://www.github.com/googleapis/java-core/commit/06b0d6e3ff3c3b6e2aa440a9f893f9b27e0d66d1)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.5.0 ([#539](https://www.github.com/googleapis/java-core/issues/539)) ([9d5a0b0](https://www.github.com/googleapis/java-core/commit/9d5a0b0918f6a1ab264f1ba272dcd8f22b670a7f)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#538](https://www.github.com/googleapis/java-core/issues/538)) ([150e07d](https://www.github.com/googleapis/java-core/commit/150e07ddb884d163d0efbcf786f04a713d29ed81)) +* update dependency io.grpc:grpc-bom to v1.40.1 ([#535](https://www.github.com/googleapis/java-core/issues/535)) ([3cd48a9](https://www.github.com/googleapis/java-core/commit/3cd48a902691ddddb9df9f74517648ca35b5bfd7)) + +### [2.1.1](https://www.github.com/googleapis/java-core/compare/v2.1.0...v2.1.1) (2021-08-24) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.0 ([#531](https://www.github.com/googleapis/java-core/issues/531)) ([1b27f8c](https://www.github.com/googleapis/java-core/commit/1b27f8cbfaffcc9b19103b471db237f2448d7cb8)) + +## [2.1.0](https://www.github.com/googleapis/java-core/compare/v2.0.5...v2.1.0) (2021-08-23) + + +### Features + +* support downloading an emulator from an access controlled URL ([#513](https://www.github.com/googleapis/java-core/issues/513)) ([f42a707](https://www.github.com/googleapis/java-core/commit/f42a7078522461018da96196a67657809d28b15b)) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.3.0 ([#523](https://www.github.com/googleapis/java-core/issues/523)) ([6fa1d96](https://www.github.com/googleapis/java-core/commit/6fa1d96d07a7d255e7564407364216436cad6ca3)) +* update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#526](https://www.github.com/googleapis/java-core/issues/526)) ([0fc1532](https://www.github.com/googleapis/java-core/commit/0fc1532183148d09c3005a68e528c6c438cb6ddd)) +* update dependency com.google.code.gson:gson to v2.8.8 ([#529](https://www.github.com/googleapis/java-core/issues/529)) ([92b7f97](https://www.github.com/googleapis/java-core/commit/92b7f9715eeab0a07b64437a62dd47e5eed006de)) +* update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#528](https://www.github.com/googleapis/java-core/issues/528)) ([5ecba07](https://www.github.com/googleapis/java-core/commit/5ecba07336499fc6fddae4cfdc2bc12105ec9b66)) +* update dependency io.grpc:grpc-bom to v1.40.0 ([#525](https://www.github.com/googleapis/java-core/issues/525)) ([a1e81f7](https://www.github.com/googleapis/java-core/commit/a1e81f73a4cc29e7186adf37f1cb718c1a88f41e)) + +### [2.0.5](https://www.github.com/googleapis/java-core/compare/v2.0.4...v2.0.5) (2021-08-11) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.1.0 ([#519](https://www.github.com/googleapis/java-core/issues/519)) ([266e2f7](https://www.github.com/googleapis/java-core/commit/266e2f75e83fe1fd635a1528deb38131b8bfc742)) + +### [2.0.4](https://www.github.com/googleapis/java-core/compare/v2.0.3...v2.0.4) (2021-08-11) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.1 ([#516](https://www.github.com/googleapis/java-core/issues/516)) ([aa6abf3](https://www.github.com/googleapis/java-core/commit/aa6abf3cc458ca117ec009fb29a14fd4f5409ef3)) + +### [2.0.3](https://www.github.com/googleapis/java-core/compare/v2.0.2...v2.0.3) (2021-08-10) + + +### Dependencies + +* update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#512](https://www.github.com/googleapis/java-core/issues/512)) ([6127b8f](https://www.github.com/googleapis/java-core/commit/6127b8f23ec267a4cf8daa794b88a5cd97f054e3)) + +### [2.0.2](https://www.github.com/googleapis/java-core/compare/v2.0.1...v2.0.2) (2021-08-03) + + +### Features + +* release 2.0.2 ([#509](https://www.github.com/googleapis/java-core/issues/509)) ([afbb532](https://www.github.com/googleapis/java-core/commit/afbb532965a9ab6f9e3eafbf9d5d8502dd29d1bb)) + +### [2.0.1](https://www.github.com/googleapis/java-core/compare/v2.0.0...v2.0.1) (2021-08-03) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2 ([#506](https://www.github.com/googleapis/java-core/issues/506)) ([a0c49a2](https://www.github.com/googleapis/java-core/commit/a0c49a2eb2579df78afccc6db021e78c3bd58493)) + +## [2.0.0](https://www.github.com/googleapis/java-core/compare/v1.95.4...v2.0.0) (2021-07-29) + + +### Features + +* promote to 2.0.0 ([#504](https://www.github.com/googleapis/java-core/issues/504)) ([48076ba](https://www.github.com/googleapis/java-core/commit/48076bafa2a89dc6b3ad88a698166da8ebb144f4)) + + +### Bug Fixes + +* Add shopt -s nullglob to dependencies script ([1fa147c](https://www.github.com/googleapis/java-core/commit/1fa147c9cded08f9eea4a717c622c0b33ad239d0)) +* Update dependencies.sh to not break on mac ([#484](https://www.github.com/googleapis/java-core/issues/484)) ([1fa147c](https://www.github.com/googleapis/java-core/commit/1fa147c9cded08f9eea4a717c622c0b33ad239d0)) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.6 ([#494](https://www.github.com/googleapis/java-core/issues/494)) ([1353d7b](https://www.github.com/googleapis/java-core/commit/1353d7b42dc98110733d279404f9295067f632cf)) +* update dependency com.google.api:api-common to v2 ([#497](https://www.github.com/googleapis/java-core/issues/497)) ([05edb6e](https://www.github.com/googleapis/java-core/commit/05edb6ec2156978b49e72f16de35a935acd43ca8)) +* update dependency com.google.api:gax-bom to v1.66.0 ([#483](https://www.github.com/googleapis/java-core/issues/483)) ([0698c66](https://www.github.com/googleapis/java-core/commit/0698c6679877e0666c684ea5c5daaf8ebae7c15c)) +* update dependency com.google.api:gax-bom to v1.67.0 ([#491](https://www.github.com/googleapis/java-core/issues/491)) ([65f4a1e](https://www.github.com/googleapis/java-core/commit/65f4a1e4ace1ec70cd2a151233c626d80874beb4)) +* update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#489](https://www.github.com/googleapis/java-core/issues/489)) ([21b0afe](https://www.github.com/googleapis/java-core/commit/21b0afea717805dfd5c93929d2a72de86f048781)) +* update dependency com.google.auth:google-auth-library-bom to v1 ([#496](https://www.github.com/googleapis/java-core/issues/496)) ([9cddefc](https://www.github.com/googleapis/java-core/commit/9cddefc0fdb0eb400121db0faf18bf1bdfdfc7f5)) +* update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#492](https://www.github.com/googleapis/java-core/issues/492)) ([acd03c0](https://www.github.com/googleapis/java-core/commit/acd03c00896a1e8f6ab948823e5a5ebd5b741115)) +* update dependency io.grpc:grpc-bom to v1.39.0 ([#482](https://www.github.com/googleapis/java-core/issues/482)) ([02e69d4](https://www.github.com/googleapis/java-core/commit/02e69d46d3b8a71b6286915e08e987a5fc9ce8a6)) +* update guava 30.1.1-jre ([#503](https://www.github.com/googleapis/java-core/issues/503)) ([cac0c63](https://www.github.com/googleapis/java-core/commit/cac0c6367d42afb8af2dec56b9eec4de2e95978e)) + +### [1.95.4](https://www.github.com/googleapis/java-core/compare/v1.95.3...v1.95.4) (2021-06-25) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#479](https://www.github.com/googleapis/java-core/issues/479)) ([5f9f732](https://www.github.com/googleapis/java-core/commit/5f9f73212c8073c3b590206f69a2446c8bce2c75)) + +### [1.95.3](https://www.github.com/googleapis/java-core/compare/v1.95.2...v1.95.3) (2021-06-23) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.4 ([#475](https://www.github.com/googleapis/java-core/issues/475)) ([5c8223d](https://www.github.com/googleapis/java-core/commit/5c8223df9d4e30b6f2fadd4985c3bcfc5b0ff4ec)) +* update dependency io.grpc:grpc-bom to v1.38.1 ([#476](https://www.github.com/googleapis/java-core/issues/476)) ([b6a7923](https://www.github.com/googleapis/java-core/commit/b6a7923e255f0146e126bad2296e12e9d591c04d)) + +### [1.95.2](https://www.github.com/googleapis/java-core/compare/v1.95.1...v1.95.2) (2021-06-09) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v1.65.1 ([#471](https://www.github.com/googleapis/java-core/issues/471)) ([3814364](https://www.github.com/googleapis/java-core/commit/381436415073b728b4deb3f82fd129c887205c19)) + +### [1.95.1](https://www.github.com/googleapis/java-core/compare/v1.95.0...v1.95.1) (2021-06-09) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#468](https://www.github.com/googleapis/java-core/issues/468)) ([d456df2](https://www.github.com/googleapis/java-core/commit/d456df20269cfb531adf7bcc7694d0ffff7b1962)) + +## [1.95.0](https://www.github.com/googleapis/java-core/compare/v1.94.8...v1.95.0) (2021-06-03) + + +### Features + +* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#453](https://www.github.com/googleapis/java-core/issues/453)) ([33d8edf](https://www.github.com/googleapis/java-core/commit/33d8edf12d20f2bbdaedb1f1cd5a9194357934f1)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#446](https://www.github.com/googleapis/java-core/issues/446)) ([fa83a61](https://www.github.com/googleapis/java-core/commit/fa83a618050cdac519eadda5e8a72c2f9cbfeac0)) +* update dependency com.google.api:gax-bom to v1.64.0-sp.1 ([#443](https://www.github.com/googleapis/java-core/issues/443)) ([19efb61](https://www.github.com/googleapis/java-core/commit/19efb61af60bb5867ebc4c603ac528f277ef6ed0)) +* update dependency com.google.api:gax-bom to v1.65.0 ([#464](https://www.github.com/googleapis/java-core/issues/464)) ([bb15bf9](https://www.github.com/googleapis/java-core/commit/bb15bf9fb9cf571afc5050e4eaf055e556cb534b)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.2.2 ([#449](https://www.github.com/googleapis/java-core/issues/449)) ([42bf8ea](https://www.github.com/googleapis/java-core/commit/42bf8eae15854e01566bac7e094f9b08f273c24e)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.3.0 ([#458](https://www.github.com/googleapis/java-core/issues/458)) ([eb930c2](https://www.github.com/googleapis/java-core/commit/eb930c2c690e58d0e1c00abe16ee5671a0bb5144)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.3.1 ([#463](https://www.github.com/googleapis/java-core/issues/463)) ([c2b2907](https://www.github.com/googleapis/java-core/commit/c2b29070e5d07b8c7e1d4c76d297d349f6c4d7a3)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.3.2 ([#466](https://www.github.com/googleapis/java-core/issues/466)) ([fd68350](https://www.github.com/googleapis/java-core/commit/fd683505e85dd92f77d4a9723015f610716283f7)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.14 ([#439](https://www.github.com/googleapis/java-core/issues/439)) ([c32bd33](https://www.github.com/googleapis/java-core/commit/c32bd33a9d79bc4388b75842a629c582e1c91526)) +* update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#456](https://www.github.com/googleapis/java-core/issues/456)) ([97bb7a9](https://www.github.com/googleapis/java-core/commit/97bb7a9c2beb17169de17e2a2d0aa37c051933ee)) +* update dependency com.google.code.gson:gson to v2.8.7 ([#461](https://www.github.com/googleapis/java-core/issues/461)) ([4381e02](https://www.github.com/googleapis/java-core/commit/4381e02d9147440822b2639e59c4d5ca60b4b3c5)) +* update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#451](https://www.github.com/googleapis/java-core/issues/451)) ([8bf562f](https://www.github.com/googleapis/java-core/commit/8bf562f42fca37b8d0b14a498f47a2bf8c49277d)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#445](https://www.github.com/googleapis/java-core/issues/445)) ([aa9d87c](https://www.github.com/googleapis/java-core/commit/aa9d87ca138714a47c2d4b3e0bca33037a861959)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#460](https://www.github.com/googleapis/java-core/issues/460)) ([4edf784](https://www.github.com/googleapis/java-core/commit/4edf7849261c3b427719a434db2c5dc251facc26)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#465](https://www.github.com/googleapis/java-core/issues/465)) ([f9b847a](https://www.github.com/googleapis/java-core/commit/f9b847af7d3660de79a2b68abee33842daabddf8)) +* update dependency io.grpc:grpc-bom to v1.38.0 ([#450](https://www.github.com/googleapis/java-core/issues/450)) ([bde03c1](https://www.github.com/googleapis/java-core/commit/bde03c10c2921f8b2bdf47fdaa0a46c277af382a)) + +### [1.94.8](https://www.github.com/googleapis/java-core/compare/v1.94.7...v1.94.8) (2021-04-23) + + +### Bug Fixes + +* release scripts from issuing overlapping phases ([#432](https://www.github.com/googleapis/java-core/issues/432)) ([289bcab](https://www.github.com/googleapis/java-core/commit/289bcab7d8eeffc1671c3cb4c3e8cc4843d90e1a)) +* typo ([#429](https://www.github.com/googleapis/java-core/issues/429)) ([f1ea2f8](https://www.github.com/googleapis/java-core/commit/f1ea2f8568bc7c5ed9b1d495bdd88446aa3c4135)) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.3 ([#437](https://www.github.com/googleapis/java-core/issues/437)) ([e853d98](https://www.github.com/googleapis/java-core/commit/e853d98caca3d5f0312a0fb9bbab0ffe4a0ce6e2)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#428](https://www.github.com/googleapis/java-core/issues/428)) ([7cc490d](https://www.github.com/googleapis/java-core/commit/7cc490df5e3d24986e7032f5a93a1f844aaa66d5)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#435](https://www.github.com/googleapis/java-core/issues/435)) ([7f7f362](https://www.github.com/googleapis/java-core/commit/7f7f3624a3c436c61a366e5e172592838a4078e0)) +* update dependency org.threeten:threetenbp to v1.5.1 ([#433](https://www.github.com/googleapis/java-core/issues/433)) ([af08225](https://www.github.com/googleapis/java-core/commit/af08225277fb436a53a1a65d60a7be80b786da4b)) + +### [1.94.7](https://www.github.com/googleapis/java-core/compare/v1.94.6...v1.94.7) (2021-04-12) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#424](https://www.github.com/googleapis/java-core/issues/424)) ([6773b81](https://www.github.com/googleapis/java-core/commit/6773b81893ce9f69ce457e3243bd89b49de6e553)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.12 ([#425](https://www.github.com/googleapis/java-core/issues/425)) ([df2ba7a](https://www.github.com/googleapis/java-core/commit/df2ba7a6aa73d2755382d19a4dfd86bdd6fd927a)) + +### [1.94.6](https://www.github.com/googleapis/java-core/compare/v1.94.5...v1.94.6) (2021-04-09) + + +### Dependencies + +* update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#420](https://www.github.com/googleapis/java-core/issues/420)) ([541355d](https://www.github.com/googleapis/java-core/commit/541355db1e1652bac87ed7ab4f57c3bf2ba5d469)) + +### [1.94.5](https://www.github.com/googleapis/java-core/compare/v1.94.4...v1.94.5) (2021-04-08) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v1.63.0 ([#415](https://www.github.com/googleapis/java-core/issues/415)) ([31d41f3](https://www.github.com/googleapis/java-core/commit/31d41f310db803c5f84e122256850cf3f6722481)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#408](https://www.github.com/googleapis/java-core/issues/408)) ([bfb3cae](https://www.github.com/googleapis/java-core/commit/bfb3caee3d056b6fcbc54a83c1eca36cf58ef72a)) +* update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#412](https://www.github.com/googleapis/java-core/issues/412)) ([e78e5d9](https://www.github.com/googleapis/java-core/commit/e78e5d9676ebf8bc44af7f81a282c7436878730f)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#407](https://www.github.com/googleapis/java-core/issues/407)) ([9ac757f](https://www.github.com/googleapis/java-core/commit/9ac757fa7e121b0db0f66577ed974d6dc24a803a)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#405](https://www.github.com/googleapis/java-core/issues/405)) ([a20bce4](https://www.github.com/googleapis/java-core/commit/a20bce416bfa6556bb7c3518afeca5259fdf23f4)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#413](https://www.github.com/googleapis/java-core/issues/413)) ([16d2bf5](https://www.github.com/googleapis/java-core/commit/16d2bf54340e78e8ba9765b531d9cd64089d723e)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#418](https://www.github.com/googleapis/java-core/issues/418)) ([101910c](https://www.github.com/googleapis/java-core/commit/101910c3edf25ece32fff2408ee09074c2593d18)) +* update dependency io.grpc:grpc-bom to v1.36.1 ([#410](https://www.github.com/googleapis/java-core/issues/410)) ([e31620a](https://www.github.com/googleapis/java-core/commit/e31620a2f7a15853a1acec8c09416953cc4dce09)) +* update dependency io.grpc:grpc-bom to v1.37.0 ([#416](https://www.github.com/googleapis/java-core/issues/416)) ([690fe8f](https://www.github.com/googleapis/java-core/commit/690fe8fe44b99b6b81175cef4797174ee28b7dac)) +* update guava ([#417](https://www.github.com/googleapis/java-core/issues/417)) ([acaa804](https://www.github.com/googleapis/java-core/commit/acaa804a740c1dbf95498db92e0627339f91dc6f)) + +### [1.94.4](https://www.github.com/googleapis/java-core/compare/v1.94.3...v1.94.4) (2021-03-11) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.11 ([#402](https://www.github.com/googleapis/java-core/issues/402)) ([73d893c](https://www.github.com/googleapis/java-core/commit/73d893c76ab1bef3b69bd55040d9f6c5942b36c5)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#399](https://www.github.com/googleapis/java-core/issues/399)) ([a9c2e43](https://www.github.com/googleapis/java-core/commit/a9c2e43e06fcf2f15918359db765fb44d5e28a55)) + +### [1.94.3](https://www.github.com/googleapis/java-core/compare/v1.94.2...v1.94.3) (2021-03-02) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#394](https://www.github.com/googleapis/java-core/issues/394)) ([278cb03](https://www.github.com/googleapis/java-core/commit/278cb032dd201a9729ef6a6e6e3c177bf9b3cd7e)) +* update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#390](https://www.github.com/googleapis/java-core/issues/390)) ([9948791](https://www.github.com/googleapis/java-core/commit/99487914834709cd97b283c59ac14fb7b945c9e7)) + +### [1.94.2](https://www.github.com/googleapis/java-core/compare/v1.94.1...v1.94.2) (2021-03-01) + + +### Bug Fixes + +* fix gcloud SDK detection on Windows ([#384](https://www.github.com/googleapis/java-core/issues/384)) ([9545442](https://www.github.com/googleapis/java-core/commit/9545442906b21897c5227fecf8efd264d7c2d84c)), closes [#383](https://www.github.com/googleapis/java-core/issues/383) + + +### Dependencies + +* switch from Jackson to GSON ([#368](https://www.github.com/googleapis/java-core/issues/368)) ([220df17](https://www.github.com/googleapis/java-core/commit/220df176826fe154e36dadd19702c307cc232c16)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#359](https://www.github.com/googleapis/java-core/issues/359)) ([107a32a](https://www.github.com/googleapis/java-core/commit/107a32aa170eca0f61e14183af1e795a61291d49)) +* update dependency com.google.api:gax-bom to v1.62.0 ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.1.0 ([#387](https://www.github.com/googleapis/java-core/issues/387)) ([c55f950](https://www.github.com/googleapis/java-core/commit/c55f95038865d262b58f5b5c9847df75160876d2)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.10 ([#392](https://www.github.com/googleapis/java-core/issues/392)) ([45b5abf](https://www.github.com/googleapis/java-core/commit/45b5abf7692cc0d7f2c03170b7ec47a6408ccfad)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.5 ([#345](https://www.github.com/googleapis/java-core/issues/345)) ([0a5596d](https://www.github.com/googleapis/java-core/commit/0a5596d8fb5a398b56c7dce07e13d534e3b6c208)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.7 ([#357](https://www.github.com/googleapis/java-core/issues/357)) ([3c2b7b4](https://www.github.com/googleapis/java-core/commit/3c2b7b490c64625ecf9846b097aebcc577511696)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.9 ([#372](https://www.github.com/googleapis/java-core/issues/372)) ([82840da](https://www.github.com/googleapis/java-core/commit/82840da9e99f49471c30f2a95f0d06ae17a76507)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#343](https://www.github.com/googleapis/java-core/issues/343)) ([3b418f7](https://www.github.com/googleapis/java-core/commit/3b418f7ae6677e9e44546e7108d985dfbbedbfa4)) +* update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#364](https://www.github.com/googleapis/java-core/issues/364)) ([7d52e06](https://www.github.com/googleapis/java-core/commit/7d52e06e2df4a0c69f018e3f7dadfc166a5754be)) +* update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#382](https://www.github.com/googleapis/java-core/issues/382)) ([44d8d02](https://www.github.com/googleapis/java-core/commit/44d8d029e7f15efa3dfbf3df49f48f14a8375a6b)) +* update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#354](https://www.github.com/googleapis/java-core/issues/354)) ([e7a688c](https://www.github.com/googleapis/java-core/commit/e7a688c3a20f0c17806ab25c528d69bcafd287c8)) +* update dependency com.google.guava:guava-bom to v30.1-android ([#348](https://www.github.com/googleapis/java-core/issues/348)) ([0f2eadd](https://www.github.com/googleapis/java-core/commit/0f2eadd32020b546e71332bf4009e4c9195ee72a)) +* update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#358](https://www.github.com/googleapis/java-core/issues/358)) ([8fdc254](https://www.github.com/googleapis/java-core/commit/8fdc2549c9ed15e347e282077b9e36159bd32a2e)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#378](https://www.github.com/googleapis/java-core/issues/378)) ([4314da9](https://www.github.com/googleapis/java-core/commit/4314da9fc62eb6e57b0265a6ff4663c450e0ad9f)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#381](https://www.github.com/googleapis/java-core/issues/381)) ([09fac9d](https://www.github.com/googleapis/java-core/commit/09fac9d078d8d00716500deabfdecfcecab891ea)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#385](https://www.github.com/googleapis/java-core/issues/385)) ([8c2c179](https://www.github.com/googleapis/java-core/commit/8c2c1792df60b9e077534328fc5351c63a745b09)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#391](https://www.github.com/googleapis/java-core/issues/391)) ([6e03ce5](https://www.github.com/googleapis/java-core/commit/6e03ce5b571464f8f62a4b4665f21efb527b112a)) +* update dependency io.grpc:grpc-bom to v1.34.1 ([#342](https://www.github.com/googleapis/java-core/issues/342)) ([b80c3da](https://www.github.com/googleapis/java-core/commit/b80c3da61e5b158c78358566289800bea0f8997b)) +* update dependency opencensus to v0.28.0 ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) +* update io.grpc:grpc-bom to v1.36.0 ([#389](https://www.github.com/googleapis/java-core/issues/389)) ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) + +### [1.94.1](https://www.github.com/googleapis/java-core/compare/v1.94.0...v1.94.1) (2020-12-11) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#331](https://www.github.com/googleapis/java-core/issues/331)) ([e01ec17](https://www.github.com/googleapis/java-core/commit/e01ec179163dfc0069ae34680abaef30b00e05e1)) +* update dependency com.google.api:gax-bom to v1.60.1 ([#340](https://www.github.com/googleapis/java-core/issues/340)) ([e3219b4](https://www.github.com/googleapis/java-core/commit/e3219b46a6a83a95795b77516426859959406d3a)) +* update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#335](https://www.github.com/googleapis/java-core/issues/335)) ([0fc6971](https://www.github.com/googleapis/java-core/commit/0fc6971a23f720102156de3bbcfe38eeff15fd94)) + +## [1.94.0](https://www.github.com/googleapis/java-core/compare/v1.93.10...v1.94.0) (2020-11-10) + + +### Features + +* **test:** add new MultipleAttemptRule, StdOutCaptureRule & StdErrCaptureRule JUnit 4 rules ([#327](https://www.github.com/googleapis/java-core/issues/327)) ([60f4a66](https://www.github.com/googleapis/java-core/commit/60f4a66ad907f4a838536e405326869487468f35)) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-common-protos to v2.0.1 ([#323](https://www.github.com/googleapis/java-core/issues/323)) ([4b989e8](https://www.github.com/googleapis/java-core/commit/4b989e802f773794babd2403253c81d528c6f661)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.3 ([#324](https://www.github.com/googleapis/java-core/issues/324)) ([a40c71a](https://www.github.com/googleapis/java-core/commit/a40c71ab678c3ec267d43b5cb434b7cb302d1b7e)) +* update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#325](https://www.github.com/googleapis/java-core/issues/325)) ([48f1da7](https://www.github.com/googleapis/java-core/commit/48f1da709dbfbcffd8faad1f2342c85475ec4e93)) +* update dependency io.grpc:grpc-bom to v1.33.1 ([#319](https://www.github.com/googleapis/java-core/issues/319)) ([8a788a6](https://www.github.com/googleapis/java-core/commit/8a788a606c8a397121a4177e1004ddf582e112ae)) + +### [1.93.10](https://www.github.com/googleapis/java-core/compare/v1.93.9...v1.93.10) (2020-10-30) + + +### Dependencies + +* update core dependencies ([#294](https://www.github.com/googleapis/java-core/issues/294)) ([dcb6a67](https://www.github.com/googleapis/java-core/commit/dcb6a6767d245ac134a1985c450c7ce5a2f2ee29)) +* update core transport dependencies ([#295](https://www.github.com/googleapis/java-core/issues/295)) ([341c032](https://www.github.com/googleapis/java-core/commit/341c032e98c8aac1b6f82a2d026374eaa5cc4c3e)) +* update dependency com.google.api:api-common to v1.10.1 ([#302](https://www.github.com/googleapis/java-core/issues/302)) ([34260c0](https://www.github.com/googleapis/java-core/commit/34260c0befd0ff858c075cfd58da022a3d083ea9)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.2 ([#312](https://www.github.com/googleapis/java-core/issues/312)) ([16e375a](https://www.github.com/googleapis/java-core/commit/16e375abfb6d0bd41c42a785a3b7c19a2e71c483)) +* update dependency com.google.guava:guava-bom to v30 ([#310](https://www.github.com/googleapis/java-core/issues/310)) ([17962f8](https://www.github.com/googleapis/java-core/commit/17962f84301f6d630bc6cc85dcb5ebeb24d94561)) +* update dependency io.grpc:grpc-bom to v1.33.0 ([#309](https://www.github.com/googleapis/java-core/issues/309)) ([e9ac780](https://www.github.com/googleapis/java-core/commit/e9ac780d218928d78ba1fc225576dfe47d85bb8d)) +* update dependency org.threeten:threetenbp to v1.4.5 ([#297](https://www.github.com/googleapis/java-core/issues/297)) ([a0b878f](https://www.github.com/googleapis/java-core/commit/a0b878f8eeebb7e06efb6f8fc8e887d3ddb3e467)) +* update dependency org.threeten:threetenbp to v1.5.0 ([#314](https://www.github.com/googleapis/java-core/issues/314)) ([485b30f](https://www.github.com/googleapis/java-core/commit/485b30f47db8e18d153e6b27db9d39080aee285c)) + +### [1.93.9](https://www.github.com/googleapis/java-core/compare/v1.93.8...v1.93.9) (2020-09-23) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.1 ([#282](https://www.github.com/googleapis/java-core/issues/282)) ([933172c](https://www.github.com/googleapis/java-core/commit/933172c835593ad13c4ae85c0c467b2823ca44da)) +* update dependency com.google.protobuf:protobuf-bom to v3.13.0 ([#273](https://www.github.com/googleapis/java-core/issues/273)) ([4476f33](https://www.github.com/googleapis/java-core/commit/4476f33cab440ff2dcc12597f968d9d719d46e5b)) +* update dependency io.grpc:grpc-bom to v1.32.1 ([#270](https://www.github.com/googleapis/java-core/issues/270)) ([df518d3](https://www.github.com/googleapis/java-core/commit/df518d3445df07811d9be9770f120315af0100b1)) + +### [1.93.8](https://www.github.com/googleapis/java-core/compare/v1.93.7...v1.93.8) (2020-08-12) + + +### Bug Fixes + +* docs of com.google.cloud.Timestamp.parseTimestamp ([#258](https://www.github.com/googleapis/java-core/issues/258)) ([964dd14](https://www.github.com/googleapis/java-core/commit/964dd142609ae8923a285e20746ce9ee8c302bd5)) + + +### Dependencies + +* update core dependencies ([#263](https://www.github.com/googleapis/java-core/issues/263)) ([44023c3](https://www.github.com/googleapis/java-core/commit/44023c34d0b5d1990c5028f6e04479b8d7539e77)) +* update dependency com.google.api-client:google-api-client-bom to v1.30.10 ([#253](https://www.github.com/googleapis/java-core/issues/253)) ([0fd53fe](https://www.github.com/googleapis/java-core/commit/0fd53fe522e35fdd09783bb618ff7dcf01d82a95)) +* update dependency com.google.api:api-common to v1.10.0 ([#261](https://www.github.com/googleapis/java-core/issues/261)) ([1414e01](https://www.github.com/googleapis/java-core/commit/1414e01a8154533d53911933eb86fc785760af6c)) +* update dependency com.google.api.grpc:proto-google-common-protos to v1.18.1 ([#268](https://www.github.com/googleapis/java-core/issues/268)) ([b59a83c](https://www.github.com/googleapis/java-core/commit/b59a83c212f862043de0f5f8fa6ae7bb5d2baba4)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1 ([#269](https://www.github.com/googleapis/java-core/issues/269)) ([fe3987e](https://www.github.com/googleapis/java-core/commit/fe3987e2dffb2fe7b7bdd0d48266eba7aad7929b)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.4 ([#262](https://www.github.com/googleapis/java-core/issues/262)) ([2ffca65](https://www.github.com/googleapis/java-core/commit/2ffca65399a716a0b929ae3f1ae388481b187ae2)) + +### [1.93.7](https://www.github.com/googleapis/java-core/compare/v1.93.6...v1.93.7) (2020-07-08) + + +### Dependencies + +* update core dependencies ([#241](https://www.github.com/googleapis/java-core/issues/241)) ([60a4a05](https://www.github.com/googleapis/java-core/commit/60a4a054d54119807aa8d0342f76d2925c35f2a6)) +* update dependency com.google.api:api-common to v1.9.3 ([#250](https://www.github.com/googleapis/java-core/issues/250)) ([792cb60](https://www.github.com/googleapis/java-core/commit/792cb6016cf3d509667e3b03b5f25847c0430af8)) +* update dependency com.google.api:gax-bom to v1.57.1 ([#251](https://www.github.com/googleapis/java-core/issues/251)) ([dd1a8a9](https://www.github.com/googleapis/java-core/commit/dd1a8a9814f244b2516283d23938f8f49a92f190)) +* update dependency com.google.auth:google-auth-library-bom to v0.21.1 ([#252](https://www.github.com/googleapis/java-core/issues/252)) ([4844b26](https://www.github.com/googleapis/java-core/commit/4844b268e81b69e409f887272f3bed30709ec33d)) +* update dependency com.google.errorprone:error_prone_annotations to v2.4.0 ([#226](https://www.github.com/googleapis/java-core/issues/226)) ([b2fd33c](https://www.github.com/googleapis/java-core/commit/b2fd33c3a1dfa8269f67986211af5f93bacdfad9)) +* update dependency com.google.http-client:google-http-client-bom to v1.36.0 ([#248](https://www.github.com/googleapis/java-core/issues/248)) ([34deaf9](https://www.github.com/googleapis/java-core/commit/34deaf94190cfa2aa9dee5edabbe6bf5dccb0a90)) + +### [1.93.6](https://www.github.com/googleapis/java-core/compare/v1.93.5...v1.93.6) (2020-06-12) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.9.1 ([#221](https://www.github.com/googleapis/java-core/issues/221)) ([4df33f0](https://www.github.com/googleapis/java-core/commit/4df33f0da02855161562e80a9d50e52dc21f4693)) +* update dependency com.google.api:api-common to v1.9.2 ([#229](https://www.github.com/googleapis/java-core/issues/229)) ([e8c1aa2](https://www.github.com/googleapis/java-core/commit/e8c1aa2ff9c1eaa4030faa86b403a77fc6602bdb)) +* update dependency com.google.api:gax-bom to v1.57.0 ([#236](https://www.github.com/googleapis/java-core/issues/236)) ([3d7d2a6](https://www.github.com/googleapis/java-core/commit/3d7d2a69ea95d7cd93f1175e0cc7f051fd591ad8)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.2 ([#220](https://www.github.com/googleapis/java-core/issues/220)) ([815569d](https://www.github.com/googleapis/java-core/commit/815569d7274cccd12110062e72dc8774f3b1d3de)) +* update dependency io.grpc:grpc-bom to v1.30.0 ([#233](https://www.github.com/googleapis/java-core/issues/233)) ([b41c34f](https://www.github.com/googleapis/java-core/commit/b41c34f28a2cddddafbb872bbd0100a934972042)) + +### [1.93.5](https://www.github.com/googleapis/java-core/compare/v1.93.4...v1.93.5) (2020-05-26) + + +### Dependencies + +* rely on shared-config for auto-value configuration ([#222](https://www.github.com/googleapis/java-core/issues/222)) ([22adbcf](https://www.github.com/googleapis/java-core/commit/22adbcf307cf5ef4819bad9afa91c4c83a9f31bb)) +* update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 ([#215](https://www.github.com/googleapis/java-core/issues/215)) ([488a351](https://www.github.com/googleapis/java-core/commit/488a351ab41adafb1d969740bfbd3a6d2ddfd36d)) +* update dependency com.google.guava:guava-bom to v29 ([#205](https://www.github.com/googleapis/java-core/issues/205)) ([48d3f97](https://www.github.com/googleapis/java-core/commit/48d3f970bd931ee5f04205ab939c318c69cbcf3f)) +* update dependency com.google.http-client:google-http-client-bom to v1.35.0 ([#211](https://www.github.com/googleapis/java-core/issues/211)) ([e56b3ef](https://www.github.com/googleapis/java-core/commit/e56b3ef0e2ea5c96b36f8aae851fd26efe1337c1)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.0 ([#218](https://www.github.com/googleapis/java-core/issues/218)) ([b2c6f15](https://www.github.com/googleapis/java-core/commit/b2c6f15ae63302dbeea16ecb7d7b89404907516f)) +* update dependency io.grpc:grpc-bom to v1.29.0 ([#209](https://www.github.com/googleapis/java-core/issues/209)) ([e63cb7c](https://www.github.com/googleapis/java-core/commit/e63cb7ca69e49afae50af1f2cf4fe3601984be49)) +* update dependency org.threeten:threetenbp to v1.4.4 ([#210](https://www.github.com/googleapis/java-core/issues/210)) ([a837fa4](https://www.github.com/googleapis/java-core/commit/a837fa441fbbf83494709b1779e0ef35ef13b345)) + +### [1.93.4](https://www.github.com/googleapis/java-core/compare/v1.93.3...v1.93.4) (2020-04-06) + + +### Dependencies + +* update core dependencies ([#198](https://www.github.com/googleapis/java-core/issues/198)) ([129b3f8](https://www.github.com/googleapis/java-core/commit/129b3f8b03e6809bcae9545a6c2484aa8acc2447)) +* update dependency com.google.api:api-common to v1.9.0 ([#195](https://www.github.com/googleapis/java-core/issues/195)) ([ac19258](https://www.github.com/googleapis/java-core/commit/ac192586f086b91f479e85e4677ac2d10f10968a)) +* update dependency com.google.api:gax-bom to v1.56.0 ([#201](https://www.github.com/googleapis/java-core/issues/201)) ([875c4ed](https://www.github.com/googleapis/java-core/commit/875c4ed001193dfe2c301ad7f163395a568bcb10)) +* update dependency org.threeten:threetenbp to v1.4.3 ([#192](https://www.github.com/googleapis/java-core/issues/192)) ([ce6ec17](https://www.github.com/googleapis/java-core/commit/ce6ec179e4024264c0aee09f85f6f60218d46138)) + +### [1.93.3](https://www.github.com/googleapis/java-core/compare/v1.93.2...v1.93.3) (2020-03-16) + + +### Bug Fixes + +* fix Timestamp.of(java.sql.Timestamp) pre-epoch on exact second ([#179](https://www.github.com/googleapis/java-core/issues/179)) ([9bfb54c](https://www.github.com/googleapis/java-core/commit/9bfb54c5a88c906bebcf90f81ed19aeece09befd)) +* retry SSLException ([#183](https://www.github.com/googleapis/java-core/issues/183)) ([775a848](https://www.github.com/googleapis/java-core/commit/775a84877ef69d22ca7a4392edd0d3680df2256e)) + + +### Dependencies + +* revert gRPC updates ([#181](https://www.github.com/googleapis/java-core/issues/181)) ([f5ba782](https://www.github.com/googleapis/java-core/commit/f5ba782fe7078bd2e02d27d8770ad20a459c73f3)) +* update dependency io.grpc:grpc-bom to v1.28.0 ([#178](https://www.github.com/googleapis/java-core/issues/178)) ([6d5632c](https://www.github.com/googleapis/java-core/commit/6d5632c22507d1d3d36a90778291a6fa25b4788b)) + +### [1.93.2](https://www.github.com/googleapis/java-core/compare/v1.93.1...v1.93.2) (2020-03-10) + + +### Bug Fixes + +* verify correctness of map -> list equality ([#174](https://www.github.com/googleapis/java-core/issues/174)) ([f45d913](https://www.github.com/googleapis/java-core/commit/f45d9131d5d2bbb2cc4cec67ebe82054fda58f55)) + +### [1.93.1](https://www.github.com/googleapis/java-core/compare/v1.93.0...v1.93.1) (2020-02-28) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.9 ([#171](https://www.github.com/googleapis/java-core/issues/171)) ([1fdcd5e](https://www.github.com/googleapis/java-core/commit/1fdcd5e839049f650ba7ebb003dea62511c8667f)) + +## [1.93.0](https://www.github.com/googleapis/java-core/compare/v1.92.6...v1.93.0) (2020-02-27) + + +### Features + +* support conditional policies ([#110](https://www.github.com/googleapis/java-core/issues/110)) ([61e2d19](https://www.github.com/googleapis/java-core/commit/61e2d19bb4400978681aa018a8dc200214203830)) + + +### Bug Fixes + +* fix conversion for pre-epoch timestamps ([#160](https://www.github.com/googleapis/java-core/issues/160)) ([1f8b6b4](https://www.github.com/googleapis/java-core/commit/1f8b6b4835aaa702ec94bbbde89ed90f519c935a)) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v1.54.0 ([#168](https://www.github.com/googleapis/java-core/issues/168)) ([5b52f9e](https://www.github.com/googleapis/java-core/commit/5b52f9e8d8cdc82b56114d3d1e857d137ae7ca98)) +* update dependency io.grpc:grpc-bom to v1.27.2 ([#166](https://www.github.com/googleapis/java-core/issues/166)) ([28c9859](https://www.github.com/googleapis/java-core/commit/28c98595c9ee96760a063085bd85024177bd6dd2)) + +### [1.92.5](https://www.github.com/googleapis/java-core/compare/v1.92.4...v1.92.5) (2020-02-10) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.8 ([#146](https://www.github.com/googleapis/java-core/issues/146)) ([1d9c7db](https://www.github.com/googleapis/java-core/commit/1d9c7db40502eff9723f27c24be31ecc2fac9c5d)) +* update dependency com.google.protobuf:protobuf-bom to v3.11.3 ([#148](https://www.github.com/googleapis/java-core/issues/148)) ([092c69b](https://www.github.com/googleapis/java-core/commit/092c69bef5b10cf27ef6770e90ae8e50ea205dcd)) + +### [1.92.4](https://www.github.com/googleapis/java-core/compare/v1.92.3...v1.92.4) (2020-01-31) + + +### Dependencies + +* update core dependencies ([#143](https://www.github.com/googleapis/java-core/issues/143)) ([454ce1d](https://www.github.com/googleapis/java-core/commit/454ce1dc5a6a41f3333a2a5303315cd9eb66f442)) + +### [1.92.3](https://www.github.com/googleapis/java-core/compare/v1.92.2...v1.92.3) (2020-01-28) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v1.53.0 ([#126](https://www.github.com/googleapis/java-core/issues/126)) ([bdb1bce](https://www.github.com/googleapis/java-core/commit/bdb1bceb63502c828a37dd50fdb3e0e2204fc0aa)) +* update dependency com.google.auth:google-auth-library-bom to v0.20.0 ([#135](https://www.github.com/googleapis/java-core/issues/135)) ([f40c636](https://www.github.com/googleapis/java-core/commit/f40c6365b1b19bc3360b0094599311bc3271f0e5)) +* update dependency com.google.http-client:google-http-client-bom to v1.34.1 ([#137](https://www.github.com/googleapis/java-core/issues/137)) ([9216702](https://www.github.com/googleapis/java-core/commit/92167026d8e4178ebb952490a3322bd685441a60)) +* update dependency org.threeten:threetenbp to v1.4.1 ([82cac64](https://www.github.com/googleapis/java-core/commit/82cac64486352e46ddc6044a72fff6141d9b10ce)) + +### [1.92.2](https://www.github.com/googleapis/java-core/compare/v1.92.1...v1.92.2) (2020-01-09) + + +### Bug Fixes + +* cast to proper interface ([#124](https://www.github.com/googleapis/java-core/issues/124)) ([cd6eabf](https://www.github.com/googleapis/java-core/commit/cd6eabffcdeed485aba088336fa473a6b85c752d)), closes [#123](https://www.github.com/googleapis/java-core/issues/123) + +### [1.92.1](https://www.github.com/googleapis/java-core/compare/v1.92.0...v1.92.1) (2020-01-02) + + +### Dependencies + +* update dependency com.google.errorprone:error_prone_annotations to v2.3.4 ([#105](https://www.github.com/googleapis/java-core/issues/105)) ([52f47c5](https://www.github.com/googleapis/java-core/commit/52f47c5ed84742b4b41417c486bfbb3c817b4a23)) +* update dependency com.google.guava:guava-bom to v28.2-android ([#113](https://www.github.com/googleapis/java-core/issues/113)) ([8b11b1a](https://www.github.com/googleapis/java-core/commit/8b11b1a8d452ab823f35509ae42263c4a69f2a5a)) +* update dependency com.google.http-client:google-http-client-bom to v1.34.0 ([#98](https://www.github.com/googleapis/java-core/issues/98)) ([d8e946d](https://www.github.com/googleapis/java-core/commit/d8e946dfd3866380406b02ad908925c4250cc34a)) +* update dependency com.google.protobuf:protobuf-bom to v3.11.1 ([#106](https://www.github.com/googleapis/java-core/issues/106)) ([6d36434](https://www.github.com/googleapis/java-core/commit/6d364341bc5552e98590f9344b0e2d8cf4e68f0c)) +* update dependency io.grpc:grpc-bom to v1.26.0 ([#107](https://www.github.com/googleapis/java-core/issues/107)) ([fca41a7](https://www.github.com/googleapis/java-core/commit/fca41a73fb6ca42eb4014d3cec6b32cc8e97ded9)) + +## [1.92.0](https://www.github.com/googleapis/java-core/compare/v1.91.3...v1.92.0) (2019-12-13) + + +### Features + +* increase DEFAULT_CHUNK_SIZE to reduce transfer overhead ([#87](https://www.github.com/googleapis/java-core/issues/87)) ([09b327d](https://www.github.com/googleapis/java-core/commit/09b327daf764403b7800180cab79ae3e38815075)) +* support setting ServiceOption for quota project ([#92](https://www.github.com/googleapis/java-core/issues/92)) ([6aa4476](https://www.github.com/googleapis/java-core/commit/6aa4476441fd7636dd116516d3bf4b738cf8a8a9)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.5 ([#68](https://www.github.com/googleapis/java-core/issues/68)) ([e1a4047](https://www.github.com/googleapis/java-core/commit/e1a4047fb470ea4f80459ca0bb399f4ab2c7decf)) +* update dependency com.google.api:gax-bom to v1.50.1 ([#73](https://www.github.com/googleapis/java-core/issues/73)) ([f493b5b](https://www.github.com/googleapis/java-core/commit/f493b5bbe5945202af6a94fe01407f795014b4a1)) +* update dependency com.google.api:gax-bom to v1.51.0 ([#85](https://www.github.com/googleapis/java-core/issues/85)) ([71d0de7](https://www.github.com/googleapis/java-core/commit/71d0de782432814971facb7cbb67acdec5e45f00)) +* update dependency com.google.auth:google-auth-library-bom to v0.19.0 ([#93](https://www.github.com/googleapis/java-core/issues/93)) ([b465630](https://www.github.com/googleapis/java-core/commit/b465630023dc87537a02a34fb957be340aeb6078)) +* update dependency com.google.http-client:google-http-client-bom to v1.33.0 ([#71](https://www.github.com/googleapis/java-core/issues/71)) ([8f1e690](https://www.github.com/googleapis/java-core/commit/8f1e690611e98855d0eed26d7ef75120bccc862e)) +* update dependency io.grpc:grpc-bom to v1.25.0 ([#72](https://www.github.com/googleapis/java-core/issues/72)) ([3a09fc7](https://www.github.com/googleapis/java-core/commit/3a09fc7c4ce73a3c4f144d0cd4da6d29a1664b75)) +* update to threetenbp 1.4.0 ([#89](https://www.github.com/googleapis/java-core/issues/89)) ([5128bd4](https://www.github.com/googleapis/java-core/commit/5128bd45bae8cbb8540eccd683f5bba52783feef)) + +### [1.91.3](https://www.github.com/googleapis/java-core/compare/v1.91.2...v1.91.3) (2019-10-23) + + +### Bug Fixes + +* try to keep autovalue out of the runtime time classpath ([#48](https://www.github.com/googleapis/java-core/issues/48)) ([0988c27](https://www.github.com/googleapis/java-core/commit/0988c27b01461a0b8c02ac0f9def5b409c56980c)) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v1.49.1 ([#65](https://www.github.com/googleapis/java-core/issues/65)) ([131a0fd](https://www.github.com/googleapis/java-core/commit/131a0fd52bebdd217bdcb288374127cef7889692)) +* update dependency com.google.api.grpc:proto-google-common-protos to v1.17.0 ([#50](https://www.github.com/googleapis/java-core/issues/50)) ([3ba5512](https://www.github.com/googleapis/java-core/commit/3ba55124247b82061781c4ae0acb08cec239afe4)) +* update dependency com.google.auth:google-auth-library-bom to v0.18.0 ([#56](https://www.github.com/googleapis/java-core/issues/56)) ([ab25f15](https://www.github.com/googleapis/java-core/commit/ab25f153021f73b5f0ce5cc2cf0b53d42a1871c7)) +* update dependency io.grpc:grpc-bom to v1.24.1 ([07fefbb](https://www.github.com/googleapis/java-core/commit/07fefbb38de93c2b3b5095bc5432bc5161bb7094)) + +### [1.91.2](https://www.github.com/googleapis/java-core/compare/v1.91.1...v1.91.2) (2019-09-30) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v0.13.0 ([#40](https://www.github.com/googleapis/java-core/issues/40)) ([4f500cc](https://www.github.com/googleapis/java-core/commit/4f500cc)) +* update dependency io.grpc:grpc-bom to v1.24.0 ([#39](https://www.github.com/googleapis/java-core/issues/39)) ([7f6f780](https://www.github.com/googleapis/java-core/commit/7f6f780)) +* update errorprone to 2.3.3 ([#43](https://www.github.com/googleapis/java-core/issues/43)) ([232694c](https://www.github.com/googleapis/java-core/commit/232694c)) + +### [1.91.1](https://www.github.com/googleapis/java-core/compare/v1.91.0...v1.91.1) (2019-09-25) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.4 ([#34](https://www.github.com/googleapis/java-core/issues/34)) ([886eda3](https://www.github.com/googleapis/java-core/commit/886eda3)) +* update dependency com.google.auth:google-auth-library-bom to v0.17.2 ([#35](https://www.github.com/googleapis/java-core/issues/35)) ([ae44c72](https://www.github.com/googleapis/java-core/commit/ae44c72)) +* update dependency com.google.http-client:google-http-client-bom to v1.32.1 ([#31](https://www.github.com/googleapis/java-core/issues/31)) ([4bdf09b](https://www.github.com/googleapis/java-core/commit/4bdf09b)) +* update dependency com.google.protobuf:protobuf-bom to v3.10.0 ([#27](https://www.github.com/googleapis/java-core/issues/27)) ([23e4c26](https://www.github.com/googleapis/java-core/commit/23e4c26)) +* update guava to 28.1-android ([#32](https://www.github.com/googleapis/java-core/issues/32)) ([0279479](https://www.github.com/googleapis/java-core/commit/0279479)) + +## [1.91.0](https://www.github.com/googleapis/java-core/compare/v1.90.0...v1.91.0) (2019-09-18) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.3 ([#21](https://www.github.com/googleapis/java-core/issues/21)) ([fcd67f8](https://www.github.com/googleapis/java-core/commit/fcd67f8)) +* update opencensus packages to v0.24.0 ([#22](https://www.github.com/googleapis/java-core/issues/22)) ([4b21afa](https://www.github.com/googleapis/java-core/commit/4b21afa)) + + +### Documentation + +* fix Kokoro badge link ([19d79d6](https://www.github.com/googleapis/java-core/commit/19d79d6)) +* fix README versions and CI Status table ([6e3ccf3](https://www.github.com/googleapis/java-core/commit/6e3ccf3)) +* update README with a better project description ([#17](https://www.github.com/googleapis/java-core/issues/17)) ([018d4d5](https://www.github.com/googleapis/java-core/commit/018d4d5)) + + +### Features + +* add google-cloud-core-bom artifact ([#13](https://www.github.com/googleapis/java-core/issues/13)) ([3cb19a0](https://www.github.com/googleapis/java-core/commit/3cb19a0)) diff --git a/java-core/README.md b/java-core/README.md new file mode 100644 index 000000000000..d38313884e0f --- /dev/null +++ b/java-core/README.md @@ -0,0 +1,52 @@ +# Google Cloud Java Client -- Core + +A set of classes and utilities used in Google Cloud Java libraries. + +*Note*: This library is only meant to be consumed by other Google Libraries. + +[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) + +- [API Documentation][api-docs] + +## Java Versions + +Java 7 or above is required for using this client. + +## Contributing + +Contributions to this library are always welcome and highly encouraged. + +See [CONTRIBUTING][contributing] documentation for more information on how to get started. + +Please note that this project is released with a Contributor Code of Conduct. By participating in +this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more +information. + +## Versioning + +This library follows [Semantic Versioning][semver]. + +It is currently in major version one (``1.y.z``), which means that the public API should be +considered stable. + +## License + +Apache 2.0 - See [LICENSE][license] for more information. + +## CI Status + +Java Version | Status +------------ | ------ +Java 7 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java7.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java7.html) +Java 8 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8.html) +Java 8 OSX | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8-osx.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8-osx.html) +Java 8 Windows | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8-win.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8-win.html) +Java 11 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java11.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java11.html) + + +[contributing]: https://github.com/googleapis/java-core/blob/main/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-core/blob/main/CODE_OF_CONDUCT.md +[license]: https://github.com/googleapis/java-core/blob/main/LICENSE +[semver]: http://semver.org/ +[cloud-platform]: https://cloud.google.com/ +[api-docs]: https://googleapis.dev/java/google-cloud-core/latest diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml new file mode 100644 index 000000000000..752b0660355a --- /dev/null +++ b/java-core/google-cloud-core-bom/pom.xml @@ -0,0 +1,40 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core-bom + 2.10.0 + pom + + + com.google.cloud + google-cloud-pom-parent + 1.4.0 + ../../google-cloud-pom-parent/pom.xml + + + Google Cloud Core + + BOM for Google Cloud Core + + + + + + com.google.cloud + google-cloud-core + 2.10.0 + + + com.google.cloud + google-cloud-core-grpc + 2.10.0 + + + com.google.cloud + google-cloud-core-http + 2.10.0 + + + + diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml new file mode 100644 index 000000000000..3f689153be94 --- /dev/null +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -0,0 +1,64 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core-grpc + 2.10.0 + jar + Google Cloud Core gRPC + + Core gRPC module for the google-cloud. + + + com.google.cloud + google-cloud-core-parent + 2.10.0 + + + google-cloud-core-grpc + + + + com.google.auth + google-auth-library-credentials + + + com.google.cloud + google-cloud-core + + + com.google.guava + guava + + + com.google.api + gax + + + com.google.api + gax-grpc + + + com.google.api + api-common + + + io.grpc + grpc-api + + + com.google.http-client + google-http-client + + + junit + junit + test + + + org.easymock + easymock + test + + + diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java new file mode 100644 index 000000000000..dffa4d37ee63 --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java @@ -0,0 +1,85 @@ +/* + * Copyright 2017 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 + * + * http://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.grpc; + +import com.google.api.client.http.HttpResponseException; +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.rpc.ApiException; +import com.google.cloud.BaseServiceException; +import com.google.common.base.MoreObjects; +import java.io.IOException; +import java.util.Collections; + +/** Base class for all exceptions from grpc-based services. */ +public class BaseGrpcServiceException extends BaseServiceException { + + private static final long serialVersionUID = -2685197215731335549L; + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseGrpcServiceException(String message, Throwable cause, int code, boolean retryable) { + super( + ExceptionData.newBuilder() + .setMessage(message) + .setCause(cause) + .setCode(code) + .setRetryable(retryable) + .build()); + } + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseGrpcServiceException(IOException exception, boolean idempotent) { + super(makeExceptionData(exception, idempotent)); + } + + private static ExceptionData makeExceptionData(IOException exception, boolean idempotent) { + int code = UNKNOWN_CODE; + Boolean retryable = null; + if (exception instanceof HttpResponseException) { + // In cases where an exception is an instance of HttpResponseException, + // check the status code to determine whether it's retryable + code = ((HttpResponseException) exception).getStatusCode(); + retryable = + BaseServiceException.isRetryable(code, null, idempotent, Collections.emptySet()); + } + return ExceptionData.newBuilder() + .setMessage(exception.getMessage()) + .setCause(exception) + .setRetryable( + MoreObjects.firstNonNull( + retryable, BaseServiceException.isRetryable(idempotent, exception))) + .setCode(code) + .setReason(null) + .setLocation(null) + .setDebugInfo(null) + .build(); + } + + @BetaApi + public BaseGrpcServiceException(ApiException apiException) { + super( + ExceptionData.newBuilder() + .setMessage(apiException.getMessage()) + .setCause(apiException) + .setRetryable(apiException.isRetryable()) + .setCode(apiException.getStatusCode().getCode().getHttpStatusCode()) + .setReason(apiException.getStatusCode().getCode().name()) + .setLocation(null) + .setDebugInfo(null) + .build()); + } +} diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java new file mode 100644 index 000000000000..4db83253a3a1 --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -0,0 +1,206 @@ +/* + * Copyright 2016 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 + * + * http://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.grpc; + +import static com.google.common.base.MoreObjects.firstNonNull; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.CredentialsProvider; +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.auth.Credentials; +import com.google.cloud.NoCredentials; +import com.google.cloud.ServiceOptions; +import com.google.cloud.TransportOptions; +import com.google.common.util.concurrent.ThreadFactoryBuilder; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.util.Objects; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledThreadPoolExecutor; +import java.util.concurrent.TimeUnit; + +/** Class representing service options for those services that use gRPC as the transport layer. */ +public class GrpcTransportOptions implements TransportOptions { + + private static final long serialVersionUID = -9049538465533951165L; + private final String executorFactoryClassName; + + private transient ExecutorFactory executorFactory; + + /** Shared thread pool executor. */ + private static final SharedResourceHolder.Resource EXECUTOR = + new SharedResourceHolder.Resource() { + @Override + public ScheduledExecutorService create() { + ScheduledThreadPoolExecutor service = + new ScheduledThreadPoolExecutor( + 8, + new ThreadFactoryBuilder() + .setDaemon(true) + .setNameFormat("grpc-transport-%d") + .build()); + service.setKeepAliveTime(5, TimeUnit.SECONDS); + service.allowCoreThreadTimeOut(true); + service.setRemoveOnCancelPolicy(true); + return service; + } + + @Override + public void close(ScheduledExecutorService instance) { + instance.shutdown(); + } + }; + + /** + * An interface for {@link ExecutorService} factories. Implementations of this interface can be + * used to provide an user-defined executor to execute requests. Any implementation of this + * interface must override the {@code get()} method to return the desired executor. The {@code + * release(executor)} method should be overriden to free resources used by the executor (if + * needed) according to application's logic. + * + *

Implementation must provide a public no-arg constructor. Loading of a factory implementation + * is done via {@link java.util.ServiceLoader}. + * + * @param the {@link ExecutorService} subclass created by this factory + */ + public interface ExecutorFactory { + + /** Gets an executor service instance. */ + T get(); + + /** Releases resources used by the executor and possibly shuts it down. */ + void release(T executor); + } + + @InternalApi + public static class DefaultExecutorFactory implements ExecutorFactory { + + private static final DefaultExecutorFactory INSTANCE = new DefaultExecutorFactory(); + + @Override + public ScheduledExecutorService get() { + return SharedResourceHolder.get(EXECUTOR); + } + + @Override + public synchronized void release(ScheduledExecutorService executor) { + SharedResourceHolder.release(EXECUTOR, executor); + } + } + + /** Builder for {@code GrpcTransportOptions}. */ + public static class Builder { + + private ExecutorFactory executorFactory; + + private Builder() {} + + private Builder(GrpcTransportOptions options) { + executorFactory = options.executorFactory; + } + + public GrpcTransportOptions build() { + return new GrpcTransportOptions(this); + } + + /** + * Sets the scheduled executor factory. This method can be used to provide an user-defined + * scheduled executor to execute requests. + * + * @return the builder + */ + public Builder setExecutorFactory(ExecutorFactory executorFactory) { + this.executorFactory = executorFactory; + return this; + } + } + + @SuppressWarnings("unchecked") + private GrpcTransportOptions(Builder builder) { + executorFactory = + firstNonNull( + builder.executorFactory, + ServiceOptions.getFromServiceLoader( + ExecutorFactory.class, DefaultExecutorFactory.INSTANCE)); + executorFactoryClassName = executorFactory.getClass().getName(); + } + + /** Returns a scheduled executor service provider. */ + public ExecutorFactory getExecutorFactory() { + return executorFactory; + } + + /** Returns a builder for API call settings. */ + @Deprecated + public UnaryCallSettings.Builder getApiCallSettings(RetrySettings retrySettings) { + return UnaryCallSettings.newUnaryCallSettingsBuilder().setRetrySettings(retrySettings); + } + + /** Returns a channel provider from the given default provider. */ + @BetaApi + public static TransportChannelProvider setUpChannelProvider( + InstantiatingGrpcChannelProvider.Builder providerBuilder, + ServiceOptions serviceOptions) { + providerBuilder.setEndpoint(serviceOptions.getHost()); + return providerBuilder.build(); + } + + public static CredentialsProvider setUpCredentialsProvider(ServiceOptions serviceOptions) { + Credentials scopedCredentials = serviceOptions.getScopedCredentials(); + if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { + return FixedCredentialsProvider.create(scopedCredentials); + } + return NoCredentialsProvider.create(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + @Override + public int hashCode() { + return Objects.hash(executorFactoryClassName); + } + + @Override + public boolean equals(Object obj) { + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + GrpcTransportOptions other = (GrpcTransportOptions) obj; + return Objects.equals(executorFactoryClassName, other.executorFactoryClassName); + } + + private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { + input.defaultReadObject(); + executorFactory = ServiceOptions.newInstance(executorFactoryClassName); + } + + public static Builder newBuilder() { + return new Builder(); + } +} diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/LogExceptionRunnable.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/LogExceptionRunnable.java new file mode 100644 index 000000000000..40fd6884c10a --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/LogExceptionRunnable.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 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 + * + * http://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.grpc; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.common.base.Throwables; +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * This class was copied from grpc-core to prevent dependence on an unstable API that may be subject + * to changes + * (https://github.com/grpc/grpc-java/blob/d07ecbe037d2705a1c9f4b6345581f860e505b56/core/src/main/java/io/grpc/internal/LogExceptionRunnable.java) + * + *

A simple wrapper for a {@link Runnable} that logs any exception thrown by it, before + * re-throwing it. + */ +final class LogExceptionRunnable implements Runnable { + + private static final Logger log = Logger.getLogger(LogExceptionRunnable.class.getName()); + + private final Runnable task; + + public LogExceptionRunnable(Runnable task) { + this.task = checkNotNull(task, "task"); + } + + @Override + public void run() { + try { + task.run(); + } catch (Throwable t) { + log.log(Level.SEVERE, "Exception while executing runnable " + task, t); + Throwables.throwIfUnchecked(t); + throw new AssertionError(t); + } + } + + @Override + public String toString() { + return "LogExceptionRunnable(" + task + ")"; + } +} diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/SharedResourceHolder.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/SharedResourceHolder.java new file mode 100644 index 000000000000..c8fc6a886bac --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/SharedResourceHolder.java @@ -0,0 +1,184 @@ +/* + * Copyright 2023 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 + * + * http://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.grpc; + +import com.google.common.base.Preconditions; +import com.google.common.util.concurrent.ThreadFactoryBuilder; +import java.util.IdentityHashMap; +import java.util.concurrent.*; + +/** + * This class was copied from grpc-core to prevent dependence on an unstable API that may be subject + * to changes + * (https://github.com/grpc/grpc-java/blob/d07ecbe037d2705a1c9f4b6345581f860e505b56/core/src/main/java/io/grpc/internal/SharedResourceHolder.java) + * + *

A holder for shared resource singletons. + * + *

Components like client channels and servers need certain resources, e.g. a thread pool, to + * run. If the user has not provided such resources, these components will use a default one, which + * is shared as a static resource. This class holds these default resources and manages their + * life-cycles. + * + *

A resource is identified by the reference of a {@link Resource} object, which is typically a + * singleton, provided to the get() and release() methods. Each Resource object (not its class) maps + * to an object cached in the holder. + * + *

Resources are ref-counted and shut down after a delay when the ref-count reaches zero. + */ +final class SharedResourceHolder { + static final long DESTROY_DELAY_SECONDS = 1; + + // The sole holder instance. + private static final SharedResourceHolder holder = + new SharedResourceHolder( + new ScheduledExecutorFactory() { + @Override + public ScheduledExecutorService createScheduledExecutor() { + return Executors.newSingleThreadScheduledExecutor( + getThreadFactory("grpc-shared-destroyer-%d", true)); + } + }); + + private final IdentityHashMap, Instance> instances = new IdentityHashMap<>(); + + private final ScheduledExecutorFactory destroyerFactory; + + private ScheduledExecutorService destroyer; + + // Visible to tests that would need to create instances of the holder. + SharedResourceHolder(ScheduledExecutorFactory destroyerFactory) { + this.destroyerFactory = destroyerFactory; + } + + private static ThreadFactory getThreadFactory(String nameFormat, boolean daemon) { + return new ThreadFactoryBuilder().setDaemon(daemon).setNameFormat(nameFormat).build(); + } + + /** + * Try to get an existing instance of the given resource. If an instance does not exist, create a + * new one with the given factory. + * + * @param resource the singleton object that identifies the requested static resource + */ + public static T get(Resource resource) { + return holder.getInternal(resource); + } + + /** + * Releases an instance of the given resource. + * + *

The instance must have been obtained from {@link #get(Resource)}. Otherwise will throw + * IllegalArgumentException. + * + *

Caller must not release a reference more than once. It's advisory that you clear the + * reference to the instance with the null returned by this method. + * + * @param resource the singleton Resource object that identifies the released static resource + * @param instance the released static resource + * @return a null which the caller can use to clear the reference to that instance. + */ + public static T release(final Resource resource, final T instance) { + return holder.releaseInternal(resource, instance); + } + + /** + * Visible to unit tests. + * + * @see #get(Resource) + */ + @SuppressWarnings("unchecked") + synchronized T getInternal(Resource resource) { + Instance instance = instances.get(resource); + if (instance == null) { + instance = new Instance(resource.create()); + instances.put(resource, instance); + } + if (instance.destroyTask != null) { + instance.destroyTask.cancel(false); + instance.destroyTask = null; + } + instance.refcount++; + return (T) instance.payload; + } + + /** Visible to unit tests. */ + synchronized T releaseInternal(final Resource resource, final T instance) { + final Instance cached = instances.get(resource); + if (cached == null) { + throw new IllegalArgumentException("No cached instance found for " + resource); + } + Preconditions.checkArgument(instance == cached.payload, "Releasing the wrong instance"); + Preconditions.checkState(cached.refcount > 0, "Refcount has already reached zero"); + cached.refcount--; + if (cached.refcount == 0) { + Preconditions.checkState(cached.destroyTask == null, "Destroy task already scheduled"); + // Schedule a delayed task to destroy the resource. + if (destroyer == null) { + destroyer = destroyerFactory.createScheduledExecutor(); + } + cached.destroyTask = + destroyer.schedule( + new LogExceptionRunnable( + new Runnable() { + @Override + public void run() { + synchronized (SharedResourceHolder.this) { + // Refcount may have gone up since the task was scheduled. Re-check it. + if (cached.refcount == 0) { + try { + resource.close(instance); + } finally { + instances.remove(resource); + if (instances.isEmpty()) { + destroyer.shutdown(); + destroyer = null; + } + } + } + } + } + }), + DESTROY_DELAY_SECONDS, + TimeUnit.SECONDS); + } + // Always returning null + return null; + } + + /** Defines a resource, and the way to create and destroy instances of it. */ + public interface Resource { + /** Create a new instance of the resource. */ + T create(); + + /** Destroy the given instance. */ + void close(T instance); + } + + interface ScheduledExecutorFactory { + ScheduledExecutorService createScheduledExecutor(); + } + + private static class Instance { + final Object payload; + int refcount; + ScheduledFuture destroyTask; + + Instance(Object payload) { + this.payload = payload; + } + } +} diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java new file mode 100644 index 000000000000..696de60c550c --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java @@ -0,0 +1,106 @@ +/* + * Copyright 2017 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 + * + * http://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.grpc; + +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.expect; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import com.google.api.gax.grpc.GrpcStatusCode; +import com.google.api.gax.rpc.InternalException; +import com.google.cloud.BaseServiceException; +import com.google.cloud.RetryHelper; +import io.grpc.Status.Code; +import java.io.IOException; +import java.net.SocketException; +import java.net.SocketTimeoutException; +import org.junit.Test; + +public class BaseGrpcServiceExceptionTest { + + private static final String MESSAGE = "some message"; + private static final boolean NOT_RETRYABLE = false; + private static final boolean IDEMPOTENT = true; + + @Test + public void testBaseServiceException() { + BaseGrpcServiceException serviceException = null; + + IOException exception = new SocketTimeoutException(); + serviceException = new BaseGrpcServiceException(exception, IDEMPOTENT); + assertTrue(serviceException.isRetryable()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + assertNull(serviceException.getReason()); + assertNull(serviceException.getLocation()); + assertNull(serviceException.getDebugInfo()); + + exception = new SocketException(); + serviceException = new BaseGrpcServiceException(exception, IDEMPOTENT); + assertTrue(serviceException.isRetryable()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + assertNull(serviceException.getReason()); + assertNull(serviceException.getLocation()); + assertNull(serviceException.getDebugInfo()); + + exception = new IOException("insufficient data written"); + serviceException = new BaseGrpcServiceException(exception, IDEMPOTENT); + assertTrue(serviceException.isRetryable()); + assertEquals("insufficient data written", serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + assertNull(serviceException.getReason()); + assertNull(serviceException.getLocation()); + assertNull(serviceException.getDebugInfo()); + + Exception cause = new IllegalArgumentException("bad arg"); + InternalException apiException = + new InternalException(MESSAGE, cause, GrpcStatusCode.of(Code.INTERNAL), NOT_RETRYABLE); + serviceException = new BaseGrpcServiceException(apiException); + assertFalse(serviceException.isRetryable()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(apiException, serviceException.getCause()); + assertEquals(500, serviceException.getCode()); + assertEquals(Code.INTERNAL.name(), serviceException.getReason()); + assertNull(serviceException.getLocation()); + assertNull(serviceException.getDebugInfo()); + } + + @Test + public void testTranslateAndThrow() throws Exception { + IOException exception = new SocketTimeoutException(); + BaseGrpcServiceException cause = new BaseGrpcServiceException(exception, IDEMPOTENT); + RetryHelper.RetryHelperException exceptionMock = + createMock(RetryHelper.RetryHelperException.class); + expect(exceptionMock.getCause()).andReturn(cause).times(2); + replay(exceptionMock); + try { + BaseServiceException.translate(exceptionMock); + } catch (BaseServiceException ex) { + assertEquals(0, ex.getCode()); + assertNull(ex.getMessage()); + assertTrue(ex.isRetryable()); + } finally { + verify(exceptionMock); + } + } +} diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java new file mode 100644 index 000000000000..b51eab96ce89 --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java @@ -0,0 +1,70 @@ +/* + * Copyright 2016 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 + * + * http://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.grpc; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.grpc.GrpcTransportOptions.DefaultExecutorFactory; +import com.google.cloud.grpc.GrpcTransportOptions.ExecutorFactory; +import java.util.concurrent.ScheduledExecutorService; +import org.easymock.EasyMock; +import org.junit.Test; + +public class GrpcTransportOptionsTest { + + private static final ExecutorFactory MOCK_EXECUTOR_FACTORY = + EasyMock.createMock(ExecutorFactory.class); + private static final GrpcTransportOptions OPTIONS = + GrpcTransportOptions.newBuilder().setExecutorFactory(MOCK_EXECUTOR_FACTORY).build(); + private static final GrpcTransportOptions DEFAULT_OPTIONS = + GrpcTransportOptions.newBuilder().build(); + private static final GrpcTransportOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); + + @Test + public void testBuilder() { + assertSame(MOCK_EXECUTOR_FACTORY, OPTIONS.getExecutorFactory()); + assertTrue(DEFAULT_OPTIONS.getExecutorFactory() instanceof DefaultExecutorFactory); + } + + @Test + public void testBaseEquals() { + assertEquals(OPTIONS, OPTIONS_COPY); + assertNotEquals(DEFAULT_OPTIONS, OPTIONS); + GrpcTransportOptions options = + OPTIONS.toBuilder().setExecutorFactory(new DefaultExecutorFactory()).build(); + assertNotEquals(OPTIONS, options); + } + + @Test + public void testBaseHashCode() { + assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); + assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); + GrpcTransportOptions options = + OPTIONS.toBuilder().setExecutorFactory(new DefaultExecutorFactory()).build(); + assertNotEquals(OPTIONS.hashCode(), options.hashCode()); + } + + @Test + public void testDefaultExecutorFactory() { + ExecutorFactory executorFactory = new DefaultExecutorFactory(); + ScheduledExecutorService executorService = executorFactory.get(); + assertSame(executorService, executorFactory.get()); + } +} diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/SharedResourceHolderTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/SharedResourceHolderTest.java new file mode 100644 index 000000000000..ba70a0de55ed --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/SharedResourceHolderTest.java @@ -0,0 +1,292 @@ +/* + * Copyright 2023 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 + * + * http://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.grpc; + +import static org.easymock.EasyMock.*; +import static org.junit.Assert.*; + +import java.util.LinkedList; +import java.util.concurrent.Delayed; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.TimeUnit; +import org.easymock.EasyMock; +import org.easymock.IAnswer; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * This class was copied from grpc-core to prevent dependence on an unstable API that may be subject + * to changes + * (https://github.com/grpc/grpc-java/blob/d07ecbe037d2705a1c9f4b6345581f860e505b56/core/src/test/java/io/grpc/internal/SharedResourceHolderTest.java) + * + *

Unit tests for {@link SharedResourceHolder}. + */ +@RunWith(JUnit4.class) +public class SharedResourceHolderTest { + + private final LinkedList> scheduledDestroyTasks = new LinkedList<>(); + + private SharedResourceHolder holder; + + private static class ResourceInstance { + volatile boolean closed; + } + + private static class ResourceFactory implements SharedResourceHolder.Resource { + @Override + public ResourceInstance create() { + return new ResourceInstance(); + } + + @Override + public void close(ResourceInstance instance) { + instance.closed = true; + } + } + + // Defines two kinds of resources + private static final SharedResourceHolder.Resource SHARED_FOO = + new ResourceFactory(); + private static final SharedResourceHolder.Resource SHARED_BAR = + new ResourceFactory(); + + @Before + public void setUp() { + holder = new SharedResourceHolder(new MockExecutorFactory()); + } + + @Test + public void destroyResourceWhenRefCountReachesZero() { + ResourceInstance foo1 = holder.getInternal(SHARED_FOO); + ResourceInstance sharedFoo = foo1; + ResourceInstance foo2 = holder.getInternal(SHARED_FOO); + assertSame(sharedFoo, foo2); + + ResourceInstance bar1 = holder.getInternal(SHARED_BAR); + ResourceInstance sharedBar = bar1; + + foo2 = holder.releaseInternal(SHARED_FOO, foo2); + // foo refcount not reached 0, thus shared foo is not closed + assertTrue(scheduledDestroyTasks.isEmpty()); + assertFalse(sharedFoo.closed); + assertNull(foo2); + + foo1 = holder.releaseInternal(SHARED_FOO, foo1); + assertNull(foo1); + + // foo refcount has reached 0, a destroying task is scheduled + assertEquals(1, scheduledDestroyTasks.size()); + MockScheduledFuture scheduledDestroyTask = scheduledDestroyTasks.poll(); + assertEquals( + SharedResourceHolder.DESTROY_DELAY_SECONDS, + scheduledDestroyTask.getDelay(TimeUnit.SECONDS)); + + // Simluate that the destroyer executes the foo destroying task + scheduledDestroyTask.runTask(); + assertTrue(sharedFoo.closed); + + // After the destroying, obtaining a foo will get a different instance + ResourceInstance foo3 = holder.getInternal(SHARED_FOO); + assertNotSame(sharedFoo, foo3); + + holder.releaseInternal(SHARED_BAR, bar1); + + // bar refcount has reached 0, a destroying task is scheduled + assertEquals(1, scheduledDestroyTasks.size()); + scheduledDestroyTask = scheduledDestroyTasks.poll(); + assertEquals( + SharedResourceHolder.DESTROY_DELAY_SECONDS, + scheduledDestroyTask.getDelay(TimeUnit.SECONDS)); + + // Simulate that the destroyer executes the bar destroying task + scheduledDestroyTask.runTask(); + assertTrue(sharedBar.closed); + } + + @Test + public void cancelDestroyTask() { + ResourceInstance foo1 = holder.getInternal(SHARED_FOO); + ResourceInstance sharedFoo = foo1; + holder.releaseInternal(SHARED_FOO, foo1); + // A destroying task for foo is scheduled + MockScheduledFuture scheduledDestroyTask = scheduledDestroyTasks.poll(); + assertFalse(scheduledDestroyTask.cancelled); + + // obtaining a foo before the destroying task is executed will cancel the destroy + ResourceInstance foo2 = holder.getInternal(SHARED_FOO); + assertTrue(scheduledDestroyTask.cancelled); + assertTrue(scheduledDestroyTasks.isEmpty()); + assertFalse(sharedFoo.closed); + + // And it will be the same foo instance + assertSame(sharedFoo, foo2); + + // Release it and the destroying task is scheduled again + holder.releaseInternal(SHARED_FOO, foo2); + scheduledDestroyTask = scheduledDestroyTasks.poll(); + assertNotNull(scheduledDestroyTask); + assertFalse(scheduledDestroyTask.cancelled); + scheduledDestroyTask.runTask(); + assertTrue(sharedFoo.closed); + } + + @Test + public void releaseWrongInstance() { + ResourceInstance uncached = new ResourceInstance(); + try { + holder.releaseInternal(SHARED_FOO, uncached); + fail("Should throw IllegalArgumentException"); + } catch (IllegalArgumentException e) { + // expected + } + ResourceInstance cached = holder.getInternal(SHARED_FOO); + try { + holder.releaseInternal(SHARED_FOO, uncached); + fail("Should throw IllegalArgumentException"); + } catch (IllegalArgumentException e) { + // expected + } + holder.releaseInternal(SHARED_FOO, cached); + } + + @Test + public void overreleaseInstance() { + ResourceInstance foo1 = holder.getInternal(SHARED_FOO); + holder.releaseInternal(SHARED_FOO, foo1); + try { + holder.releaseInternal(SHARED_FOO, foo1); + fail("Should throw IllegalStateException"); + } catch (IllegalStateException e) { + // expected + } + } + + @Test + public void handleInstanceCloseError() { + class ExceptionOnCloseResource implements SharedResourceHolder.Resource { + @Override + public ResourceInstance create() { + return new ResourceInstance(); + } + + @Override + public void close(ResourceInstance instance) { + throw new RuntimeException(); + } + } + + SharedResourceHolder.Resource resource = new ExceptionOnCloseResource(); + ResourceInstance instance = holder.getInternal(resource); + holder.releaseInternal(resource, instance); + MockScheduledFuture scheduledDestroyTask = scheduledDestroyTasks.poll(); + try { + scheduledDestroyTask.runTask(); + fail("Should throw RuntimeException"); + } catch (RuntimeException e) { + // expected + } + + // Future resource fetches should not get the partially-closed one. + assertNotSame(instance, holder.getInternal(resource)); + } + + private class MockExecutorFactory implements SharedResourceHolder.ScheduledExecutorFactory { + @Override + public ScheduledExecutorService createScheduledExecutor() { + ScheduledExecutorService mockExecutor = createNiceMock(ScheduledExecutorService.class); + expect(mockExecutor.schedule(anyObject(Runnable.class), anyLong(), anyObject(TimeUnit.class))) + .andAnswer( + new IAnswer() { + @Override + public ScheduledFuture answer() throws Throwable { + Object[] args = EasyMock.getCurrentArguments(); + Runnable command = (Runnable) args[0]; + long delay = (Long) args[1]; + TimeUnit unit = (TimeUnit) args[2]; + MockScheduledFuture future = + new MockScheduledFuture<>(command, delay, unit); + scheduledDestroyTasks.add(future); + return future; + } + }) + .anyTimes(); + replay(mockExecutor); + return mockExecutor; + } + } + + protected static class MockScheduledFuture implements java.util.concurrent.ScheduledFuture { + private boolean cancelled; + private boolean finished; + final Runnable command; + final long delay; + final TimeUnit unit; + + MockScheduledFuture(Runnable command, long delay, TimeUnit unit) { + this.command = command; + this.delay = delay; + this.unit = unit; + } + + void runTask() { + command.run(); + finished = true; + } + + @Override + public boolean cancel(boolean interrupt) { + if (cancelled || finished) { + return false; + } + cancelled = true; + return true; + } + + @Override + public boolean isCancelled() { + return cancelled; + } + + @Override + public long getDelay(TimeUnit targetUnit) { + return targetUnit.convert(this.delay, this.unit); + } + + @Override + public int compareTo(Delayed o) { + throw new UnsupportedOperationException(); + } + + @Override + public boolean isDone() { + return cancelled || finished; + } + + @Override + public V get() { + throw new UnsupportedOperationException(); + } + + @Override + public V get(long timeout, TimeUnit unit) { + throw new UnsupportedOperationException(); + } + } +} diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml new file mode 100644 index 000000000000..af70afeb29f2 --- /dev/null +++ b/java-core/google-cloud-core-http/pom.xml @@ -0,0 +1,91 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core-http + 2.10.0 + jar + Google Cloud Core HTTP + + Core http module for the google-cloud. + + + com.google.cloud + google-cloud-core-parent + 2.10.0 + + + google-cloud-core-http + + + + com.google.cloud + google-cloud-core + + + com.google.auth + google-auth-library-credentials + + + com.google.auth + google-auth-library-oauth2-http + + + com.google.http-client + google-http-client + + + com.google.guava + guava + + + com.google.api-client + google-api-client + + + com.google.http-client + google-http-client-appengine + + + com.google.api + gax + + + com.google.api + gax-httpjson + + + com.google.code.findbugs + jsr305 + + + io.opencensus + opencensus-api + + + io.opencensus + opencensus-contrib-http-util + + + com.google.api + api-common + + + + + junit + junit + test + + + org.easymock + easymock + test + + + com.google.truth + truth + test + + + diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java new file mode 100644 index 000000000000..26f43b276f03 --- /dev/null +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java @@ -0,0 +1,166 @@ +/* + * Copyright 2017 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 + * + * http://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.http; + +import com.google.api.client.googleapis.json.GoogleJsonError; +import com.google.api.client.googleapis.json.GoogleJsonResponseException; +import com.google.api.client.http.HttpResponseException; +import com.google.api.core.InternalApi; +import com.google.cloud.BaseServiceException; +import com.google.common.base.MoreObjects; +import java.io.IOException; +import java.util.Set; + +/** Base class for all exceptions from http-based services. */ +public class BaseHttpServiceException extends BaseServiceException { + + private static final long serialVersionUID = -5793034110344127954L; + public static final int UNKNOWN_CODE = 0; + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseHttpServiceException( + IOException exception, boolean idempotent, Set retryableErrors) { + super(makeExceptionData(exception, idempotent, retryableErrors)); + } + + private static ExceptionData makeExceptionData( + IOException exception, boolean idempotent, Set retryableErrors) { + int code = UNKNOWN_CODE; + String reason = null; + String location = null; + String debugInfo = null; + Boolean retryable = null; + if (exception instanceof HttpResponseException) { + if (exception instanceof GoogleJsonResponseException) { + GoogleJsonError jsonError = ((GoogleJsonResponseException) exception).getDetails(); + if (jsonError != null) { + BaseServiceException.Error error = + new BaseServiceException.Error(jsonError.getCode(), reason(jsonError)); + code = error.getCode(); + reason = error.getReason(); + retryable = error.isRetryable(idempotent, retryableErrors); + if (reason != null) { + GoogleJsonError.ErrorInfo errorInfo = jsonError.getErrors().get(0); + location = errorInfo.getLocation(); + debugInfo = (String) errorInfo.get("debugInfo"); + } + } else { + code = ((GoogleJsonResponseException) exception).getStatusCode(); + retryable = BaseServiceException.isRetryable(code, null, idempotent, retryableErrors); + } + } else { + // In cases where an exception is an instance of HttpResponseException but not + // an instance of GoogleJsonResponseException, check the status code to determine whether + // it's retryable + code = ((HttpResponseException) exception).getStatusCode(); + retryable = BaseServiceException.isRetryable(code, null, idempotent, retryableErrors); + } + } + return ExceptionData.newBuilder() + .setMessage(message(exception)) + .setCause(exception) + .setRetryable( + MoreObjects.firstNonNull( + retryable, BaseServiceException.isRetryable(idempotent, exception))) + .setCode(code) + .setReason(reason) + .setLocation(location) + .setDebugInfo(debugInfo) + .build(); + } + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseHttpServiceException( + GoogleJsonError googleJsonError, + boolean idempotent, + Set retryableErrors) { + super(makeExceptionData(googleJsonError, idempotent, retryableErrors)); + } + + private static ExceptionData makeExceptionData( + GoogleJsonError googleJsonError, + boolean idempotent, + Set retryableErrors) { + int code = googleJsonError.getCode(); + String reason = reason(googleJsonError); + + ExceptionData.Builder exceptionData = ExceptionData.newBuilder(); + exceptionData + .setMessage(googleJsonError.getMessage()) + .setCause(null) + .setRetryable(BaseServiceException.isRetryable(code, reason, idempotent, retryableErrors)) + .setCode(code) + .setReason(reason); + if (reason != null) { + GoogleJsonError.ErrorInfo errorInfo = googleJsonError.getErrors().get(0); + exceptionData.setLocation(errorInfo.getLocation()); + exceptionData.setDebugInfo((String) errorInfo.get("debugInfo")); + } else { + exceptionData.setLocation(null); + exceptionData.setDebugInfo(null); + } + return exceptionData.build(); + } + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseHttpServiceException( + int code, + String message, + String reason, + boolean idempotent, + Set retryableErrors) { + this(code, message, reason, idempotent, retryableErrors, null); + } + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseHttpServiceException( + int code, + String message, + String reason, + boolean idempotent, + Set retryableErrors, + Throwable cause) { + super( + ExceptionData.newBuilder() + .setMessage(message) + .setCause(cause) + .setRetryable( + BaseServiceException.isRetryable(code, reason, idempotent, retryableErrors)) + .setCode(code) + .setReason(reason) + .setLocation(null) + .setDebugInfo(null) + .build()); + } + + private static String reason(GoogleJsonError error) { + if (error.getErrors() != null && !error.getErrors().isEmpty()) { + return error.getErrors().get(0).getReason(); + } + return null; + } + + private static String message(IOException exception) { + if (exception instanceof GoogleJsonResponseException) { + GoogleJsonError details = ((GoogleJsonResponseException) exception).getDetails(); + if (details != null) { + return details.getMessage(); + } + } + return exception.getMessage(); + } +} diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java new file mode 100644 index 000000000000..d141507cc09b --- /dev/null +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java @@ -0,0 +1,156 @@ +/* + * Copyright 2018 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 + * + * http://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.http; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.api.client.http.HttpExecuteInterceptor; +import com.google.api.client.http.HttpHeaders; +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpRequestInitializer; +import com.google.common.annotations.VisibleForTesting; +import io.opencensus.contrib.http.util.HttpPropagationUtil; +import io.opencensus.trace.SpanContext; +import io.opencensus.trace.Tracer; +import io.opencensus.trace.propagation.TextFormat; +import java.io.IOException; +import javax.annotation.Nullable; + +/** + * Provides utilities for Open Census to record http stats/trace information and propagate tracing + * context. + */ +public final class CensusHttpModule { + + /** + * OpenCensus tracing component. When no OpenCensus implementation is provided, it will return a + * no-op tracer. + */ + private final Tracer tracer; + + /** {@link TextFormat} used in tracing context propagation. */ + @Nullable private final TextFormat propagationTextFormat; + + /** {@link TextFormat.Setter} for {@link #propagationTextFormat}. */ + @Nullable private final TextFormat.Setter propagationTextFormatSetter; + + /** Whether spans are stored locally. */ + private final boolean isRecordEvents; + + /** Default HTTP propagation text formatter. */ + @VisibleForTesting + static final class DefaultPropagationTextFormatSetter extends TextFormat.Setter { + static final TextFormat.Setter INSTANCE = new DefaultPropagationTextFormatSetter(); + + @Override + public void put(HttpHeaders carrier, String key, String value) { + carrier.set(key, value); + } + } + + /** + * An {@link HttpExecuteInterceptor} implementation to inject HTTP request and add getContext + * information before it is executed. + */ + @VisibleForTesting + final class CensusHttpExecuteInterceptor implements HttpExecuteInterceptor { + @Nullable HttpExecuteInterceptor interceptor; + + CensusHttpExecuteInterceptor(HttpExecuteInterceptor interceptor) { + this.interceptor = interceptor; + } + + @Override + public void intercept(HttpRequest request) throws IOException { + checkNotNull(request); + if (this.interceptor != null) { + this.interceptor.intercept(request); + } + if (propagationTextFormat != null && propagationTextFormatSetter != null) { + SpanContext spanContext = tracer.getCurrentSpan().getContext(); + if (!SpanContext.INVALID.equals(spanContext)) { + propagationTextFormat.inject( + spanContext, request.getHeaders(), propagationTextFormatSetter); + } + } + } + } + + /** + * An {@link HttpRequestInitializer} implementation to set {@link CensusHttpExecuteInterceptor} as + * interceptor. + */ + @VisibleForTesting + final class CensusHttpRequestInitializer implements HttpRequestInitializer { + @Nullable HttpRequestInitializer initializer; + + CensusHttpRequestInitializer(HttpRequestInitializer initializer) { + this.initializer = initializer; + } + + @Override + public void initialize(HttpRequest request) throws IOException { + checkNotNull(request); + if (this.initializer != null) { + this.initializer.initialize(request); + } + request.setInterceptor(new CensusHttpExecuteInterceptor(request.getInterceptor())); + } + } + + /** + * Creates a {@link CensusHttpModule} with given parameters. + * + * @param tracer the OpenCensus {@code Tracer}. + * @param isRecordEvents whether spans are stored locally. + */ + public CensusHttpModule(Tracer tracer, boolean isRecordEvents) { + checkNotNull(tracer, "tracer"); + this.tracer = tracer; + this.isRecordEvents = isRecordEvents; + this.propagationTextFormat = HttpPropagationUtil.getCloudTraceFormat(); + this.propagationTextFormatSetter = DefaultPropagationTextFormatSetter.INSTANCE; + } + + /** + * Returns the tracing component of OpenCensus. + * + * @return the tracing component of OpenCensus. + */ + public Tracer getTracer() { + return tracer; + } + + /** + * Returns whether spans are stored locally. + * + * @return whether spans are stored locally. + */ + public boolean isRecordEvents() { + return isRecordEvents; + } + + /** + * Returns the {@link HttpExecuteInterceptor} used when initializing the {@link HttpRequest}. + * + * @param initializer the original initializer which will be executed before this initializer. + * @return the {@code HttpExecuteInterceptor}. + */ + public HttpRequestInitializer getHttpRequestInitializer(HttpRequestInitializer initializer) { + return new CensusHttpRequestInitializer(initializer); + } +} diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java new file mode 100644 index 000000000000..4bdfee3cca9f --- /dev/null +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -0,0 +1,230 @@ +/* + * Copyright 2016 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 + * + * http://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.http; + +import static com.google.common.base.MoreObjects.firstNonNull; + +import com.google.api.client.extensions.appengine.http.UrlFetchTransport; +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpRequestInitializer; +import com.google.api.client.http.HttpTransport; +import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.httpjson.HttpHeadersUtils; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.HeaderProvider; +import com.google.auth.Credentials; +import com.google.auth.http.HttpCredentialsAdapter; +import com.google.auth.http.HttpTransportFactory; +import com.google.cloud.NoCredentials; +import com.google.cloud.PlatformInformation; +import com.google.cloud.ServiceOptions; +import com.google.cloud.TransportOptions; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.util.Objects; + +/** Class representing service options for those services that use HTTP as the transport layer. */ +public class HttpTransportOptions implements TransportOptions { + + private static final long serialVersionUID = 7890117765045419810L; + private final int connectTimeout; + private final int readTimeout; + private final String httpTransportFactoryClassName; + + private transient HttpTransportFactory httpTransportFactory; + + public static class DefaultHttpTransportFactory implements HttpTransportFactory { + + private static final HttpTransportFactory INSTANCE = new DefaultHttpTransportFactory(); + + @Override + public HttpTransport create() { + // Consider App Engine Standard + if (PlatformInformation.isOnGAEStandard7()) { + try { + return new UrlFetchTransport(); + } catch (Exception ignore) { + // Maybe not on App Engine + } + } + return new NetHttpTransport(); + } + } + + /** Builder for {@code HttpTransportOptions}. */ + public static class Builder { + + private HttpTransportFactory httpTransportFactory; + private int connectTimeout = -1; + private int readTimeout = -1; + + private Builder() {} + + private Builder(HttpTransportOptions options) { + httpTransportFactory = options.httpTransportFactory; + connectTimeout = options.connectTimeout; + readTimeout = options.readTimeout; + } + + public HttpTransportOptions build() { + return new HttpTransportOptions(this); + } + + /** + * Sets the HTTP transport factory. + * + * @return the builder + */ + public Builder setHttpTransportFactory(HttpTransportFactory httpTransportFactory) { + this.httpTransportFactory = httpTransportFactory; + return this; + } + + /** + * Sets the timeout in milliseconds to establish a connection. + * + * @param connectTimeout connection timeout in milliseconds. 0 for an infinite timeout, a + * negative number for the default value (20000). + * @return the builder + */ + public Builder setConnectTimeout(int connectTimeout) { + this.connectTimeout = connectTimeout; + return this; + } + + /** + * Sets the timeout in milliseconds to read data from an established connection. + * + * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a negative number + * for the default value (20000). + * @return the builder + */ + public Builder setReadTimeout(int readTimeout) { + this.readTimeout = readTimeout; + return this; + } + } + + public HttpTransportOptions(Builder builder) { + httpTransportFactory = + firstNonNull( + builder.httpTransportFactory, + ServiceOptions.getFromServiceLoader( + HttpTransportFactory.class, DefaultHttpTransportFactory.INSTANCE)); + httpTransportFactoryClassName = httpTransportFactory.getClass().getName(); + connectTimeout = builder.connectTimeout; + readTimeout = builder.readTimeout; + } + + /** Returns the HTTP transport factory. */ + public HttpTransportFactory getHttpTransportFactory() { + return httpTransportFactory; + } + + /** + * Returns a request initializer responsible for initializing requests according to service + * options. + */ + public HttpRequestInitializer getHttpRequestInitializer( + final ServiceOptions serviceOptions) { + Credentials scopedCredentials = serviceOptions.getScopedCredentials(); + final HttpRequestInitializer delegate = + scopedCredentials != null && scopedCredentials != NoCredentials.getInstance() + ? new HttpCredentialsAdapter(scopedCredentials) + : null; + HeaderProvider internalHeaderProvider = + getInternalHeaderProviderBuilder(serviceOptions).build(); + final HeaderProvider headerProvider = + serviceOptions.getMergedHeaderProvider(internalHeaderProvider); + + return new HttpRequestInitializer() { + @Override + public void initialize(HttpRequest httpRequest) throws IOException { + if (delegate != null) { + delegate.initialize(httpRequest); + } + if (connectTimeout >= 0) { + httpRequest.setConnectTimeout(connectTimeout); + } + if (readTimeout >= 0) { + httpRequest.setReadTimeout(readTimeout); + } + + HttpHeadersUtils.setHeaders(httpRequest.getHeaders(), headerProvider.getHeaders()); + } + }; + } + + ApiClientHeaderProvider.Builder getInternalHeaderProviderBuilder( + ServiceOptions serviceOptions) { + ApiClientHeaderProvider.Builder builder = ApiClientHeaderProvider.newBuilder(); + builder.setClientLibToken( + ServiceOptions.getGoogApiClientLibName(), + GaxProperties.getLibraryVersion(serviceOptions.getClass())); + builder.setQuotaProjectIdToken(serviceOptions.getQuotaProjectId()); + return builder; + } + + /** + * Returns the timeout in milliseconds to establish a connection. 0 is an infinite timeout, a + * negative number is the default value (20000). + */ + public int getConnectTimeout() { + return connectTimeout; + } + + /** + * Returns the timeout in milliseconds to read from an established connection. 0 is an infinite + * timeout, a negative number is the default value (20000). + */ + public int getReadTimeout() { + return readTimeout; + } + + public Builder toBuilder() { + return new Builder(this); + } + + @Override + public int hashCode() { + return Objects.hash(httpTransportFactoryClassName, connectTimeout, readTimeout); + } + + @Override + public boolean equals(Object obj) { + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + HttpTransportOptions other = (HttpTransportOptions) obj; + return Objects.equals(httpTransportFactoryClassName, other.httpTransportFactoryClassName) + && Objects.equals(connectTimeout, other.connectTimeout) + && Objects.equals(readTimeout, other.readTimeout); + } + + private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { + input.defaultReadObject(); + httpTransportFactory = ServiceOptions.newInstance(httpTransportFactoryClassName); + } + + public static Builder newBuilder() { + return new Builder(); + } +} diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java new file mode 100644 index 000000000000..e88a32a9afda --- /dev/null +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java @@ -0,0 +1,165 @@ +/* + * Copyright 2017 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 + * + * http://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.http; + +import static com.google.cloud.BaseServiceException.UNKNOWN_CODE; +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.expect; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import com.google.api.client.googleapis.json.GoogleJsonError; +import com.google.cloud.BaseServiceException; +import com.google.cloud.RetryHelper; +import com.google.common.collect.ImmutableSet; +import java.io.IOException; +import java.net.SocketException; +import java.net.SocketTimeoutException; +import java.util.Collections; +import java.util.Set; +import org.junit.Test; + +public class BaseHttpServiceExceptionTest { + + private static final int CODE = 1; + private static final int CODE_NO_REASON = 2; + private static final String MESSAGE = "some message"; + private static final String REASON = "some reason"; + private static final boolean RETRYABLE = true; + private static final boolean IDEMPOTENT = true; + private static final boolean NOT_IDEMPOTENT = false; + private static final Set EMPTY_RETRYABLE_ERRORS = + Collections.emptySet(); + + private static class CustomServiceException extends BaseHttpServiceException { + + private static final long serialVersionUID = -195251309124875103L; + + public CustomServiceException(int code, String message, String reason, boolean idempotent) { + super(code, message, reason, idempotent, RETRYABLE_ERRORS); + } + + private static final Set RETRYABLE_ERRORS = + ImmutableSet.of( + new Error(CODE, REASON), new Error(null, REASON), new Error(CODE_NO_REASON, null)); + } + + @Test + public void testBaseServiceException() { + BaseServiceException serviceException = + new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertNull(serviceException.getCause()); + + serviceException = + new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertNull(serviceException.getCause()); + + Exception cause = new RuntimeException(); + serviceException = + new BaseHttpServiceException( + CODE, MESSAGE, REASON, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS, cause); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertEquals(cause, serviceException.getCause()); + + serviceException = + new BaseHttpServiceException( + CODE, MESSAGE, REASON, NOT_IDEMPOTENT, EMPTY_RETRYABLE_ERRORS, cause); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertEquals(cause, serviceException.getCause()); + + IOException exception = new SocketTimeoutException(); + serviceException = new BaseHttpServiceException(exception, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertTrue(serviceException.isRetryable()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + exception = new SocketException(); + serviceException = new BaseHttpServiceException(exception, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertTrue(serviceException.isRetryable()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + exception = new IOException("insufficient data written"); + serviceException = new BaseHttpServiceException(exception, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertTrue(serviceException.isRetryable()); + assertEquals("insufficient data written", serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + GoogleJsonError error = new GoogleJsonError(); + error.setCode(CODE); + error.setMessage(MESSAGE); + serviceException = new BaseHttpServiceException(error, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertFalse(serviceException.isRetryable()); + + serviceException = new CustomServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertEquals(RETRYABLE, serviceException.isRetryable()); + + serviceException = new CustomServiceException(CODE_NO_REASON, MESSAGE, null, IDEMPOTENT); + assertEquals(CODE_NO_REASON, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertNull(serviceException.getReason()); + assertEquals(RETRYABLE, serviceException.isRetryable()); + + serviceException = new CustomServiceException(UNKNOWN_CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(UNKNOWN_CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertEquals(RETRYABLE, serviceException.isRetryable()); + } + + @Test + public void testTranslateAndThrow() throws Exception { + BaseServiceException cause = + new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + RetryHelper.RetryHelperException exceptionMock = + createMock(RetryHelper.RetryHelperException.class); + expect(exceptionMock.getCause()).andReturn(cause).times(2); + replay(exceptionMock); + try { + BaseServiceException.translate(exceptionMock); + } catch (BaseServiceException ex) { + assertEquals(CODE, ex.getCode()); + assertEquals(MESSAGE, ex.getMessage()); + assertFalse(ex.isRetryable()); + } finally { + verify(exceptionMock); + } + } +} diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java new file mode 100644 index 000000000000..c04d0647fb47 --- /dev/null +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java @@ -0,0 +1,161 @@ +/* + * Copyright 2018 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 + * + * http://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.http; + +import static com.google.common.truth.Truth.assertThat; +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.createMockBuilder; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; + +import com.google.api.client.http.GenericUrl; +import com.google.api.client.http.HttpExecuteInterceptor; +import com.google.api.client.http.HttpHeaders; +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpRequestInitializer; +import com.google.api.client.http.javanet.NetHttpTransport; +import io.opencensus.common.Scope; +import io.opencensus.trace.Span; +import io.opencensus.trace.SpanContext; +import io.opencensus.trace.SpanId; +import io.opencensus.trace.TraceId; +import io.opencensus.trace.TraceOptions; +import io.opencensus.trace.Tracer; +import io.opencensus.trace.Tracestate; +import io.opencensus.trace.Tracing; +import io.opencensus.trace.propagation.TextFormat; +import java.io.IOException; +import java.util.EnumSet; +import java.util.Random; +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** Tests for {@link CensusHttpModule}. */ +@RunWith(JUnit4.class) +public class CensusHttpModuleTest { + + @Rule public final ExpectedException thrown = ExpectedException.none(); + + private final Tracer tracer = Tracing.getTracer(); + private final CensusHttpModule censusHttpModule = new CensusHttpModule(tracer, false); + private HttpRequest httpRequest; + + @Before + public void setUp() throws IOException { + httpRequest = + new NetHttpTransport() + .createRequestFactory() + .buildRequest("GET", new GenericUrl("https://www.google.com"), null); + } + + @Test + public void tracerShouldNotBeNull() { + assertThat(censusHttpModule.getTracer()).isNotNull(); + } + + @Test + public void isRecordEventsShouldBeSet() { + assertThat(censusHttpModule.isRecordEvents()).isEqualTo(false); + } + + @Test + public void getHttpRequestInitializerShouldReturnCorrectClass() { + HttpRequestInitializer initializer = censusHttpModule.getHttpRequestInitializer(null); + assertThat(initializer).isInstanceOf(CensusHttpModule.CensusHttpRequestInitializer.class); + } + + @Test + public void implementationOfDefaultTextFormatSetter() { + String testKey = "testKey"; + String testValue = "testValue"; + TextFormat.Setter setter = + CensusHttpModule.DefaultPropagationTextFormatSetter.INSTANCE; + setter.put(httpRequest.getHeaders(), testKey, testValue); + assertThat(httpRequest.getHeaders().get(testKey)).isEqualTo(testValue); + } + + @Test + public void censusHttpExecuteInterceptorDisallowNullRequest() throws IOException { + HttpExecuteInterceptor interceptor = censusHttpModule.new CensusHttpExecuteInterceptor(null); + thrown.expect(NullPointerException.class); + interceptor.intercept(null); + } + + @Test + public void censusHttpExecuteInterceptorShouldExecuteOriginal() throws IOException { + HttpExecuteInterceptor mockInterceptor = createMock(HttpExecuteInterceptor.class); + HttpExecuteInterceptor censusInterceptor = + censusHttpModule.new CensusHttpExecuteInterceptor(mockInterceptor); + mockInterceptor.intercept(httpRequest); + replay(mockInterceptor); + censusInterceptor.intercept(httpRequest); + verify(mockInterceptor); + } + + @Test + public void censusHttpExecuteInterceptorShouldInjectHeader() throws IOException { + Random random = new Random(); + SpanContext spanContext = + SpanContext.create( + TraceId.generateRandomId(random), + SpanId.generateRandomId(random), + TraceOptions.DEFAULT, + Tracestate.builder().build()); + Span mockSpan = + createMockBuilder(Span.class) + .withConstructor(SpanContext.class, EnumSet.class) + .withArgs(spanContext, null) + .createMock(); + Scope scope = tracer.withSpan(mockSpan); + try { + HttpExecuteInterceptor interceptor = censusHttpModule.new CensusHttpExecuteInterceptor(null); + interceptor.intercept(httpRequest); + assertThat(httpRequest.getHeaders().get("X-Cloud-Trace-Context")).isNotNull(); + } finally { + scope.close(); + } + } + + @Test + public void censusHttpRequestInitializerDisallowNullRequest() throws IOException { + HttpRequestInitializer initializer = censusHttpModule.getHttpRequestInitializer(null); + thrown.expect(NullPointerException.class); + initializer.initialize(null); + } + + @Test + public void censusHttpRequestInitializerShouldExecuteOriginal() throws IOException { + HttpRequestInitializer mockOriginalInitializer = createMock(HttpRequestInitializer.class); + HttpRequestInitializer censusInitializer = + censusHttpModule.getHttpRequestInitializer(mockOriginalInitializer); + mockOriginalInitializer.initialize(httpRequest); + replay(mockOriginalInitializer); + censusInitializer.initialize(httpRequest); + verify(mockOriginalInitializer); + } + + @Test + public void censusHttpRequestInitializerShouldSetInterceptor() throws IOException { + censusHttpModule.getHttpRequestInitializer(null).initialize(httpRequest); + assertThat(httpRequest.getInterceptor()) + .isInstanceOf(CensusHttpModule.CensusHttpExecuteInterceptor.class); + } +} diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java new file mode 100644 index 000000000000..1ff7871aec4e --- /dev/null +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java @@ -0,0 +1,81 @@ +/* + * Copyright 2016 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 + * + * http://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.http; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; + +import com.google.api.gax.rpc.HeaderProvider; +import com.google.auth.http.HttpTransportFactory; +import com.google.cloud.ServiceOptions; +import com.google.cloud.http.HttpTransportOptions.DefaultHttpTransportFactory; +import java.util.regex.Pattern; +import org.easymock.EasyMock; +import org.junit.Test; + +public class HttpTransportOptionsTest { + + private static final HttpTransportFactory MOCK_HTTP_TRANSPORT_FACTORY = + EasyMock.createMock(HttpTransportFactory.class); + private static final HttpTransportOptions OPTIONS = + HttpTransportOptions.newBuilder() + .setConnectTimeout(1234) + .setHttpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) + .setReadTimeout(5678) + .build(); + private static final HttpTransportOptions DEFAULT_OPTIONS = + HttpTransportOptions.newBuilder().build(); + private static final HttpTransportOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); + + @Test + public void testBuilder() { + assertEquals(1234, OPTIONS.getConnectTimeout()); + assertSame(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.getHttpTransportFactory()); + assertEquals(5678, OPTIONS.getReadTimeout()); + assertEquals(-1, DEFAULT_OPTIONS.getConnectTimeout()); + assertTrue(DEFAULT_OPTIONS.getHttpTransportFactory() instanceof DefaultHttpTransportFactory); + assertEquals(-1, DEFAULT_OPTIONS.getReadTimeout()); + } + + @Test + public void testBaseEquals() { + assertEquals(OPTIONS, OPTIONS_COPY); + assertNotEquals(DEFAULT_OPTIONS, OPTIONS); + } + + @Test + public void testBaseHashCode() { + assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); + assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); + } + + @Test + public void testHeader() { + String expectedHeaderPattern = "^gl-java/.+ gccl/.* gax/.+"; + ServiceOptions serviceOptions = EasyMock.createMock(ServiceOptions.class); + HeaderProvider headerProvider = + OPTIONS.getInternalHeaderProviderBuilder(serviceOptions).build(); + + assertEquals(1, headerProvider.getHeaders().size()); + assertTrue( + Pattern.compile(expectedHeaderPattern) + .matcher(headerProvider.getHeaders().values().iterator().next()) + .find()); + } +} diff --git a/java-core/google-cloud-core/EnableAutoValue.txt b/java-core/google-cloud-core/EnableAutoValue.txt new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/java-core/google-cloud-core/clirr-ignored-differences.xml b/java-core/google-cloud-core/clirr-ignored-differences.xml new file mode 100644 index 000000000000..0f7f80a7b4d5 --- /dev/null +++ b/java-core/google-cloud-core/clirr-ignored-differences.xml @@ -0,0 +1,15 @@ + + + + + + 7012 + com/google/cloud/ReadChannel + * limit(long) + + + 7012 + com/google/cloud/ReadChannel + long limit() + + diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml new file mode 100644 index 000000000000..73f177269d8e --- /dev/null +++ b/java-core/google-cloud-core/pom.xml @@ -0,0 +1,99 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core + 2.10.0 + jar + Google Cloud Core + + Core module for the google-cloud. + + + com.google.cloud + google-cloud-core-parent + 2.10.0 + + + google-cloud-core + + + + com.google.guava + guava + + + com.google.api + gax + + + com.google.auto.value + auto-value-annotations + + + com.google.protobuf + protobuf-java-util + + + com.google.api.grpc + proto-google-common-protos + + + com.google.api.grpc + proto-google-iam-v1 + + + org.threeten + threetenbp + + + com.google.api + api-common + + + com.google.auth + google-auth-library-credentials + + + com.google.auth + google-auth-library-oauth2-http + + + com.google.http-client + google-http-client + + + com.google.http-client + google-http-client-gson + + + com.google.protobuf + protobuf-java + + + + junit + junit + test + + + org.easymock + easymock + test + + + com.google.code.findbugs + jsr305 + + + com.google.truth + truth + test + + + com.google.guava + guava-testlib + test + + + diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java new file mode 100644 index 000000000000..25cae6f7c8d4 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -0,0 +1,87 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.core.InternalApi; +import com.google.api.gax.paging.AsyncPage; +import com.google.api.gax.paging.Page; +import com.google.common.base.Throwables; +import com.google.common.util.concurrent.Uninterruptibles; +import java.io.Serializable; +import java.util.concurrent.ExecutionException; + +/** + * Base implementation for asynchronously consuming Google Cloud paginated results. + * + * @param the value type that the page holds + */ +@InternalApi +public class AsyncPageImpl extends PageImpl implements AsyncPage { + + private static final long serialVersionUID = -6009473188630364906L; + + private final NextPageFetcher asyncPageFetcher; + + /** + * Interface for asynchronously fetching the next page of results from the service. + * + * @param the value type that the page holds + */ + public interface NextPageFetcher extends Serializable { + + ApiFuture> getNextPage(); + } + + private static class SyncNextPageFetcher implements PageImpl.NextPageFetcher { + + private static final long serialVersionUID = -4124568632363525351L; + + private final NextPageFetcher asyncPageFetcher; + + private SyncNextPageFetcher(NextPageFetcher asyncPageFetcher) { + this.asyncPageFetcher = asyncPageFetcher; + } + + @Override + public Page getNextPage() { + try { + return asyncPageFetcher != null + ? Uninterruptibles.getUninterruptibly(asyncPageFetcher.getNextPage()) + : null; + } catch (ExecutionException ex) { + Throwables.throwIfUnchecked(ex.getCause()); + throw new RuntimeException(ex); + } + } + } + + /** Creates an {@code AsyncPageImpl} object. */ + public AsyncPageImpl(NextPageFetcher asyncPageFetcher, String cursor, Iterable results) { + super(new SyncNextPageFetcher(asyncPageFetcher), cursor, results); + this.asyncPageFetcher = asyncPageFetcher; + } + + @Override + public ApiFuture> getNextPageAsync() { + if (getNextPageToken() == null || asyncPageFetcher == null) { + return ApiFutures.immediateFuture(null); + } + return asyncPageFetcher.getNextPage(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java new file mode 100644 index 000000000000..781f29b421a8 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java @@ -0,0 +1,68 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import com.google.api.core.InternalApi; +import com.google.cloud.ExceptionHandler.Interceptor; + +/** + * Base class for service objects. + * + * @param the {@code ServiceOptions} subclass corresponding to the service + */ +public abstract class BaseService> + implements Service { + + public static final Interceptor EXCEPTION_HANDLER_INTERCEPTOR = + new Interceptor() { + + private static final long serialVersionUID = -8429573486870467828L; + + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return Interceptor.RetryResult.CONTINUE_EVALUATION; + } + + @Override + public RetryResult beforeEval(Exception exception) { + if (exception instanceof BaseServiceException) { + boolean retriable = ((BaseServiceException) exception).isRetryable(); + return retriable + ? Interceptor.RetryResult.RETRY + : Interceptor.RetryResult.CONTINUE_EVALUATION; + } + return Interceptor.RetryResult.CONTINUE_EVALUATION; + } + }; + public static final ExceptionHandler EXCEPTION_HANDLER = + ExceptionHandler.newBuilder() + .abortOn(RuntimeException.class) + .addInterceptors(EXCEPTION_HANDLER_INTERCEPTOR) + .build(); + + private final OptionsT options; + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseService(OptionsT options) { + this.options = options; + } + + @Override + public OptionsT getOptions() { + return options; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java new file mode 100644 index 000000000000..29396d6d5897 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -0,0 +1,343 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import com.google.api.core.InternalApi; +import com.google.common.base.MoreObjects; +import java.io.IOException; +import java.io.Serializable; +import java.net.SocketException; +import java.net.SocketTimeoutException; +import java.security.cert.CertificateException; +import java.util.Objects; +import java.util.Set; +import java.util.concurrent.ExecutionException; +import javax.net.ssl.SSLException; +import javax.net.ssl.SSLHandshakeException; + +/** Base class for all service exceptions. */ +public class BaseServiceException extends RuntimeException { + + private static final long serialVersionUID = 759921776378760835L; + public static final int UNKNOWN_CODE = 0; + + private final int code; + private final boolean retryable; + private final String reason; + private final String location; + private final String debugInfo; + + @InternalApi + public static final class ExceptionData implements Serializable { + private static final long serialVersionUID = 2222230861338426753L; + + private final String message; + private final Throwable cause; + private final int code; + private final boolean retryable; + private final String reason; + private final String location; + private final String debugInfo; + + private ExceptionData( + String message, + Throwable cause, + int code, + boolean retryable, + String reason, + String location, + String debugInfo) { + this.message = message; + this.cause = cause; + this.code = code; + this.retryable = retryable; + this.reason = reason; + this.location = location; + this.debugInfo = debugInfo; + } + + public String getMessage() { + return message; + } + + public Throwable getCause() { + return cause; + } + + public int getCode() { + return code; + } + + public boolean isRetryable() { + return retryable; + } + + public String getReason() { + return reason; + } + + public String getLocation() { + return location; + } + + public String getDebugInfo() { + return debugInfo; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public static ExceptionData from(int code, String message, String reason, boolean retryable) { + return from(code, message, reason, retryable, null); + } + + public static ExceptionData from( + int code, String message, String reason, boolean retryable, Throwable cause) { + return newBuilder() + .setCode(code) + .setMessage(message) + .setReason(reason) + .setRetryable(retryable) + .setCause(cause) + .build(); + } + + @InternalApi + public static final class Builder { + + private String message; + private Throwable cause; + private int code; + private boolean retryable; + private String reason; + private String location; + private String debugInfo; + + private Builder() {} + + public Builder setMessage(String message) { + this.message = message; + return this; + } + + public Builder setCause(Throwable cause) { + this.cause = cause; + return this; + } + + public Builder setCode(int code) { + this.code = code; + return this; + } + + public Builder setRetryable(boolean retryable) { + this.retryable = retryable; + return this; + } + + public Builder setReason(String reason) { + this.reason = reason; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setDebugInfo(String debugInfo) { + this.debugInfo = debugInfo; + return this; + } + + public ExceptionData build() { + return new ExceptionData(message, cause, code, retryable, reason, location, debugInfo); + } + } + } + + @InternalApi + public static final class Error implements Serializable { + + private static final long serialVersionUID = -4019600198652965721L; + + private final Integer code; + private final String reason; + private final boolean rejected; + + public Error(Integer code, String reason) { + this(code, reason, false); + } + + public Error(Integer code, String reason, boolean rejected) { + this.code = code; + this.reason = reason; + this.rejected = rejected; + } + + /** Returns the code associated with this exception. */ + public Integer getCode() { + return code; + } + + /** + * Returns true if the error indicates that the API call was certainly not accepted by the + * server. For instance, if the server returns a rate limit exceeded error, it certainly did not + * process the request and this method will return {@code true}. + */ + public boolean isRejected() { + return rejected; + } + + /** Returns the reason that caused the exception. */ + public String getReason() { + return reason; + } + + @InternalApi + public boolean isRetryable(boolean idempotent, Set retryableErrors) { + return BaseServiceException.isRetryable(code, reason, idempotent, retryableErrors); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("code", code) + .add("reason", reason) + .add("rejected", rejected) + .toString(); + } + + @Override + public int hashCode() { + return Objects.hash(code, reason, rejected); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof Error)) { + return false; + } + Error o = (Error) obj; + return Objects.equals(code, o.code) + && Objects.equals(reason, o.reason) + && Objects.equals(rejected, o.rejected); + } + } + + @InternalApi + public static boolean isRetryable( + Integer code, String reason, boolean idempotent, Set retryableErrors) { + for (Error retryableError : retryableErrors) { + if ((retryableError.getCode() == null || retryableError.getCode().equals(code)) + && (retryableError.getReason() == null || retryableError.getReason().equals(reason))) { + return idempotent || retryableError.isRejected(); + } + } + return false; + } + + @InternalApi + public static boolean isRetryable(boolean idempotent, IOException exception) { + boolean exceptionIsRetryable = + exception instanceof SocketTimeoutException + || exception instanceof SocketException + || (exception instanceof SSLException + && exception.getMessage().contains("Connection has been shutdown: ")) + || (exception instanceof SSLHandshakeException + && !(exception.getCause() instanceof CertificateException)) + || "insufficient data written".equals(exception.getMessage()) + || "Error writing request body to server".equals(exception.getMessage()); + return idempotent && exceptionIsRetryable; + } + + @InternalApi + public static void translate(RetryHelper.RetryHelperException ex) { + if (ex.getCause() instanceof BaseServiceException) { + throw (BaseServiceException) ex.getCause(); + } + } + + @InternalApi + public static void translate(ExecutionException ex) { + if (ex.getCause() instanceof BaseServiceException) { + throw (BaseServiceException) ex.getCause(); + } + } + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseServiceException(ExceptionData exceptionData) { + super(exceptionData.getMessage(), exceptionData.getCause()); + this.code = exceptionData.getCode(); + this.reason = exceptionData.getReason(); + this.retryable = exceptionData.isRetryable(); + this.location = exceptionData.getLocation(); + this.debugInfo = exceptionData.getDebugInfo(); + } + + /** Returns the code associated with this exception. */ + public int getCode() { + return code; + } + + /** Returns the reason that caused the exception. */ + public String getReason() { + return reason; + } + + /** Returns {@code true} when it is safe to retry the operation that caused this exception. */ + public boolean isRetryable() { + return retryable; + } + + /** + * Returns the service location where the error causing the exception occurred. Returns {@code + * null} if not available. + */ + public String getLocation() { + return location; + } + + @InternalApi + public String getDebugInfo() { + return debugInfo; + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof BaseServiceException)) { + return false; + } + BaseServiceException other = (BaseServiceException) obj; + return Objects.equals(getCause(), other.getCause()) + && Objects.equals(getMessage(), other.getMessage()) + && code == other.code + && retryable == other.retryable + && Objects.equals(reason, other.reason) + && Objects.equals(location, other.location) + && Objects.equals(debugInfo, other.debugInfo); + } + + @Override + public int hashCode() { + return Objects.hash(getCause(), getMessage(), code, retryable, reason, location, debugInfo); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java new file mode 100644 index 000000000000..e45a5aead157 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -0,0 +1,332 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import com.google.api.core.InternalApi; +import java.io.IOException; +import java.io.Serializable; +import java.nio.ByteBuffer; +import java.nio.channels.ClosedChannelException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.Objects; + +/** + * Base implementation for a {@link WriteChannel}. + * + * @param the service options used by the channel to issue RPC requests + * @param the entity this channel writes data to. Possibly with additional configuration + */ +public abstract class BaseWriteChannel< + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> + implements WriteChannel { + + private static final int MIN_CHUNK_SIZE = 256 * 1024; // 256 KiB + private static final int DEFAULT_CHUNK_SIZE = 60 * MIN_CHUNK_SIZE; // 15MiB + + private final ServiceOptionsT options; + private final EntityT entity; + private final String uploadId; + private long position; + private byte[] buffer = new byte[0]; + private int limit; + private boolean isOpen = true; + private int chunkSize = getDefaultChunkSize(); + + protected int getMinChunkSize() { + return MIN_CHUNK_SIZE; + } + + protected int getDefaultChunkSize() { + return DEFAULT_CHUNK_SIZE; + } + + /** + * Writes {@code length} bytes of {@link #getBuffer()} to the {@link #getUploadId()} URL. + * + * @param length the number of bytes to write from {@link #getBuffer()} + * @param last if {@code true} the resumable session is closed + */ + protected abstract void flushBuffer(int length, boolean last); + + protected ServiceOptionsT getOptions() { + return options; + } + + protected EntityT getEntity() { + return entity; + } + + protected String getUploadId() { + return uploadId; + } + + protected long getPosition() { + return position; + } + + protected byte[] getBuffer() { + return buffer; + } + + protected int getLimit() { + return limit; + } + + protected int getChunkSize() { + return chunkSize; + } + + @Override + public final void setChunkSize(int chunkSize) { + int minSize = getMinChunkSize(); + + this.chunkSize = Math.max(minSize, (chunkSize + minSize - 1) / minSize * minSize); + } + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseWriteChannel(ServiceOptionsT options, EntityT entity, String uploadId) { + this.options = options; + this.entity = entity; + this.uploadId = uploadId; + } + + private void flush() { + if (limit >= chunkSize) { + final int length = limit - limit % getMinChunkSize(); + flushBuffer(length, false); + position += length; + limit -= length; + byte[] temp = new byte[chunkSize]; + System.arraycopy(buffer, length, temp, 0, limit); + buffer = temp; + } + } + + private void validateOpen() throws ClosedChannelException { + if (!isOpen) { + throw new ClosedChannelException(); + } + } + + @Override + public final int write(ByteBuffer byteBuffer) throws IOException { + validateOpen(); + int toWrite = byteBuffer.remaining(); + int spaceInBuffer = buffer.length - limit; + if (spaceInBuffer >= toWrite) { + byteBuffer.get(buffer, limit, toWrite); + } else { + buffer = Arrays.copyOf(buffer, Math.max(chunkSize, buffer.length + toWrite - spaceInBuffer)); + byteBuffer.get(buffer, limit, toWrite); + } + limit += toWrite; + flush(); + return toWrite; + } + + @Override + public boolean isOpen() { + return isOpen; + } + + @Override + public final void close() throws IOException { + if (isOpen) { + flushBuffer(limit, true); + position += buffer.length; + isOpen = false; + buffer = null; + } + } + + /** Creates a {@link BaseState.Builder} for the current write channel. */ + protected abstract BaseState.Builder stateBuilder(); + + @Override + public RestorableState capture() { + byte[] bufferToSave = null; + if (isOpen) { + bufferToSave = Arrays.copyOf(buffer, limit); + } + return stateBuilder() + .setPosition(position) + .setBuffer(bufferToSave) + .setIsOpen(isOpen) + .setChunkSize(chunkSize) + .build(); + } + + /** Restores the state of the current write channel given a {@link BaseState} object. */ + protected void restore(BaseState state) { + if (state.buffer != null) { + this.buffer = state.buffer.clone(); + this.limit = state.buffer.length; + } + this.position = state.position; + this.isOpen = state.isOpen; + this.chunkSize = state.chunkSize; + } + + protected abstract static class BaseState< + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> + implements RestorableState, Serializable { + + private static final long serialVersionUID = 8541062465055125619L; + + protected final ServiceOptionsT serviceOptions; + protected final EntityT entity; + protected final String uploadId; + protected final long position; + protected final byte[] buffer; + protected final boolean isOpen; + protected final int chunkSize; + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseState(Builder builder) { + this.serviceOptions = builder.serviceOptions; + this.entity = builder.entity; + this.uploadId = builder.uploadId; + this.position = builder.position; + this.buffer = builder.buffer; + this.isOpen = builder.isOpen; + this.chunkSize = builder.chunkSize; + } + + /** + * Base builder for a write channel's state. Users are not supposed to access this class + * directly. + * + * @param the service options used by the channel to issue RPC requests + * @param the entity this channel writes data to. Possibly with additional + * configuration + */ + public abstract static class Builder< + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> { + private final ServiceOptionsT serviceOptions; + private final EntityT entity; + private final String uploadId; + private long position; + private byte[] buffer; + private boolean isOpen; + private int chunkSize; + + @InternalApi("This class should only be extended within google-cloud-java") + protected Builder(ServiceOptionsT options, EntityT entity, String uploadId) { + this.serviceOptions = options; + this.entity = entity; + this.uploadId = uploadId; + } + + public Builder setPosition(long position) { + this.position = position; + return this; + } + + public Builder setBuffer(byte[] buffer) { + this.buffer = buffer; + return this; + } + + public Builder setIsOpen(boolean isOpen) { + this.isOpen = isOpen; + return this; + } + + public Builder setChunkSize(int chunkSize) { + this.chunkSize = chunkSize; + return this; + } + + public abstract RestorableState build(); + } + + @Override + public int hashCode() { + return Objects.hash( + serviceOptions, entity, uploadId, position, isOpen, chunkSize, Arrays.hashCode(buffer)); + } + + @Override + public boolean equals(Object obj) { + if (obj == null) { + return false; + } + if (!(obj instanceof BaseState)) { + return false; + } + final BaseState other = (BaseState) obj; + return Objects.equals(this.serviceOptions, other.serviceOptions) + && Objects.equals(this.entity, other.entity) + && Objects.equals(this.uploadId, other.uploadId) + && Objects.deepEquals(this.buffer, other.buffer) + && this.position == other.position + && this.isOpen == other.isOpen + && this.chunkSize == other.chunkSize; + } + + protected static final class ValueHolder { + final String name; + final Object value; + + private ValueHolder(String name, Object value) { + this.name = name; + this.value = value; + } + + public static ValueHolder create(String name, Object value) { + return new ValueHolder(name, value); + } + + @Override + public String toString() { + String result = name + "="; + if (value != null && value.getClass().isArray()) { + Object[] objectArray = new Object[] {value}; + String arrayString = Arrays.deepToString(objectArray); + result += arrayString.substring(1, arrayString.length() - 1); + } else { + result += value; + } + return result; + } + } + + protected List toStringHelper() { + List valueList = new ArrayList<>(); + valueList.add(ValueHolder.create("entity", entity)); + valueList.add(ValueHolder.create("uploadId", uploadId)); + valueList.add(ValueHolder.create("position", String.valueOf(position))); + valueList.add(ValueHolder.create("isOpen", String.valueOf(isOpen))); + return valueList; + } + + @Override + public String toString() { + StringBuilder builder = new StringBuilder(); + builder.append(getClass().getSimpleName()).append('{'); + String nextSeparator = ""; + for (ValueHolder valueHolder : toStringHelper()) { + builder.append(nextSeparator).append(valueHolder); + nextSeparator = ", "; + } + builder.append('}'); + return builder.toString(); + } + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java new file mode 100644 index 000000000000..7281571f916b --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java @@ -0,0 +1,103 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static com.google.common.base.Preconditions.checkNotNull; +import static com.google.common.base.Preconditions.checkState; + +import com.google.api.core.InternalApi; +import java.util.LinkedList; +import java.util.List; + +/** + * This class holds a single result of a batch call. The class is not thread-safe. + * + * @param the type of the result + * @param the type of the service-dependent exception thrown when a processing error occurs + */ +public abstract class BatchResult { + + private T result; + private boolean completed = false; + private E error; + private final List> toBeNotified = new LinkedList<>(); + + @InternalApi("This class should only be extended within google-cloud-java") + protected BatchResult() {} + + /** + * Returns {@code true} if the batch has been completed and the result is available; {@code false} + * otherwise. + */ + public boolean completed() { + return completed; + } + + /** + * Returns the result of this call. + * + * @throws IllegalStateException if the batch has not been completed yet + * @throws E if an error occurred when processing the batch request + */ + public T get() throws E { + checkState(completed(), "Batch has not been completed yet"); + if (error != null) { + throw error; + } + return result; + } + + /** + * Adds a callback for the batch operation. + * + * @throws IllegalStateException if the batch has been completed already + */ + public void notify(Callback callback) { + checkState( + !completed, + "The batch has been completed. All the calls to the notify()" + + " method should be done prior to submitting the batch."); + toBeNotified.add(callback); + } + + /** Sets an error and status as completed. Notifies all callbacks. */ + protected void error(E error) { + this.error = checkNotNull(error); + this.completed = true; + for (Callback callback : toBeNotified) { + callback.error(error); + } + } + + /** Sets a result and status as completed. Notifies all callbacks. */ + protected void success(T result) { + this.result = result; + this.completed = true; + for (Callback callback : toBeNotified) { + callback.success(result); + } + } + + /** An interface for the batch callbacks. */ + public interface Callback { + /** The method to be called when the batched operation succeeds. */ + void success(T result); + + /** The method to be called when the batched operation fails. */ + void error(E exception); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Binding.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Binding.java new file mode 100644 index 000000000000..be16f8742138 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Binding.java @@ -0,0 +1,112 @@ +/* + * Copyright 2020 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 + * + * http://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; + +import static com.google.common.base.Predicates.in; +import static com.google.common.base.Predicates.not; + +import com.google.api.core.BetaApi; +import com.google.auto.value.AutoValue; +import com.google.common.base.Predicate; +import com.google.common.collect.Collections2; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.Lists; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; +import javax.annotation.Nullable; + +/** + * Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access + * settings for Cloud Platform resources. A policy is a list of bindings. A binding assigns a set of + * identities to a role, where the identities can be user accounts, Google groups, Google domains, + * and service accounts. A role is a named list of permissions defined by IAM. + * + * @see Policy + */ +@BetaApi("This is a Beta API is not stable yet and may change in the future.") +@AutoValue +public abstract class Binding { + /** Get IAM Policy Binding Role */ + public abstract String getRole(); + + /** Get IAM Policy Binding Members */ + public abstract ImmutableList getMembers(); + + /** Get IAM Policy Binding Condition */ + @Nullable + public abstract Condition getCondition(); + + /** Create a Binding.Builder from an existing Binding */ + public abstract Builder toBuilder(); + + /** Create a new Binding.Builder */ + public static Builder newBuilder() { + List emptyMembers = ImmutableList.of(); + return new AutoValue_Binding.Builder().setMembers(emptyMembers); + } + + @AutoValue.Builder + public abstract static class Builder { + /** + * Set IAM Role for Policy Binding + * + * @throws NullPointerException if the role is null. + */ + public abstract Builder setRole(String role); + + /** + * Set IAM Members for Policy Binding + * + * @throws NullPointerException if a member is null. + */ + public abstract Builder setMembers(Iterable members); + + /** Set IAM Condition for Policy Binding */ + public abstract Builder setCondition(Condition condition); + + /** Internal use to getMembers() in addMembers() and removeMembers() */ + abstract ImmutableList getMembers(); + + /** + * Add members to Policy Binding. + * + * @throws NullPointerException if a member is null. + */ + public Builder addMembers(String member, String... moreMembers) { + ImmutableList.Builder membersBuilder = ImmutableList.builder(); + membersBuilder.addAll(getMembers()); + membersBuilder.addAll(Lists.asList(member, moreMembers)); + setMembers(membersBuilder.build()); + return this; + } + + /** + * Remove members to Policy Binding. + * + * @throws NullPointerException if a member is null. + */ + public Builder removeMembers(String... members) { + Predicate selectMembersNotInList = not(in(Arrays.asList(members))); + Collection filter = Collections2.filter(getMembers(), selectMembersNotInList); + setMembers(filter); + return this; + } + + public abstract Binding build(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java new file mode 100644 index 000000000000..5841c541c46d --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -0,0 +1,153 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import com.google.api.core.BetaApi; +import com.google.common.base.MoreObjects; +import com.google.common.base.MoreObjects.ToStringHelper; +import com.google.common.io.BaseEncoding; +import com.google.protobuf.ByteString; +import java.io.IOException; +import java.io.InputStream; +import java.io.Serializable; +import java.nio.ByteBuffer; +import java.nio.charset.StandardCharsets; +import java.util.Iterator; + +/** An immutable byte array holder. */ +@BetaApi +public class ByteArray implements Iterable, Serializable { + + private static final long serialVersionUID = -1908809133893782840L; + private static final BaseEncoding encoder = BaseEncoding.base64(); + + private final ByteString byteString; + + ByteArray(ByteString byteString) { + this.byteString = byteString; + } + + @Override + public final Iterator iterator() { + return byteString.iterator(); + } + + @Override + public String toString() { + ToStringHelper toStringHelper = MoreObjects.toStringHelper(this); + StringBuilder stBuilder = new StringBuilder(); + for (int i = 0; i < Math.min(256, byteString.size()); i++) { + stBuilder.append(String.format("%02x", byteString.byteAt(i))); + } + if (byteString.size() > 256) { + stBuilder.append("..."); + } + return toStringHelper.add("bytes", stBuilder.toString()).toString(); + } + + @Override + public final int hashCode() { + return byteString.hashCode(); + } + + @Override + public final boolean equals(Object obj) { + return obj == this + || obj instanceof ByteArray && byteString.equals(((ByteArray) obj).byteString); + } + + /** Returns the number of bytes in this {@code ByteArray}. */ + public final int length() { + return byteString.size(); + } + + /** Returns a copy of this {@code ByteArray} as an array of bytes. */ + public final byte[] toByteArray() { + return byteString.toByteArray(); + } + + /** Returns a copy of this {@code ByteArray} as an {@code UTF-8} string. */ + public final String toStringUtf8() { + return byteString.toStringUtf8(); + } + + /** Converts this byte array to its base64 representation. */ + public final String toBase64() { + return encoder.encode(toByteArray()); + } + + /** Returns the content of this {@code ByteArray} as a read-only {@link ByteBuffer}. */ + public final ByteBuffer asReadOnlyByteBuffer() { + return byteString.asReadOnlyByteBuffer(); + } + + /** Returns an {@link InputStream} for this {@code ByteArray} content. */ + public final InputStream asInputStream() { + return byteString.newInput(); + } + + /** + * Copies the content of this {@code ByteArray} into an existing {@code ByteBuffer}. + * + * @throws java.nio.ReadOnlyBufferException if the target is read-only + * @throws java.nio.BufferOverflowException if the target's {@link ByteBuffer#remaining()} space + * is not large enough to hold the data + */ + public final void copyTo(ByteBuffer target) { + byteString.copyTo(target); + } + + /** + * Copies the content of this {@code ByteArray} into an array of bytes. + * + * @throws IndexOutOfBoundsException if the target is not large enough to hold the data + */ + public final void copyTo(byte[] target) { + byteString.copyTo(target, 0); + } + + /** Creates a {@code ByteArray} object given an array of bytes. The bytes are copied. */ + public static final ByteArray copyFrom(byte[] bytes) { + return new ByteArray(ByteString.copyFrom(bytes)); + } + + /** + * Creates a {@code ByteArray} object given a string. The string is encoded in {@code UTF-8}. The + * bytes are copied. + */ + public static final ByteArray copyFrom(String string) { + return new ByteArray(ByteString.copyFrom(string, StandardCharsets.UTF_8)); + } + + /** Creates a {@code ByteArray} object given a {@link ByteBuffer}. The bytes are copied. */ + public static final ByteArray copyFrom(ByteBuffer bytes) { + return new ByteArray(ByteString.copyFrom(bytes)); + } + + /** + * Creates a {@code ByteArray} object given an {@link InputStream}. The stream is read into the + * created object. + */ + public static final ByteArray copyFrom(InputStream input) throws IOException { + return new ByteArray(ByteString.readFrom(input)); + } + + /** Creates a {@code ByteArray} from a base64 representation. */ + public static ByteArray fromBase64(String data) { + return ByteArray.copyFrom(encoder.decode(data)); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java new file mode 100644 index 000000000000..c3c4c83fb986 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java @@ -0,0 +1,68 @@ +/* + * Copyright 2020 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 + * + * http://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; + +import com.google.api.core.BetaApi; +import com.google.auto.value.AutoValue; +import javax.annotation.Nullable; + +/** + * Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access + * settings for Cloud Platform resources. A policy is a list of bindings. A binding assigns a set of + * identities to a role, where the identities can be user accounts, Google groups, Google domains, + * and service accounts. A role is a named list of permissions defined by IAM. + * + * @see Policy + * @see IAM Conditions + */ +@BetaApi("This is a Beta API is not stable yet and may change in the future.") +@AutoValue +public abstract class Condition { + /** Get IAM Policy Binding Condition Title */ + @Nullable + public abstract String getTitle(); + + /** Get IAM Policy Binding Condition Description */ + @Nullable + public abstract String getDescription(); + + /** Get IAM Policy Binding Condition Expression */ + public abstract String getExpression(); + + /** Create a new Condition.Builder from an existing Condition */ + public abstract Builder toBuilder(); + + /** Create a new Condition.Builder */ + public static Builder newBuilder() { + return new AutoValue_Condition.Builder(); + } + + @AutoValue.Builder + public abstract static class Builder { + /** Set IAM Policy Binding Condition Title */ + public abstract Builder setTitle(@Nullable String title); + + /** Set IAM Policy Binding Condition Description */ + public abstract Builder setDescription(@Nullable String description); + + /** Set IAM Policy Binding Condition Expression */ + public abstract Builder setExpression(String expression); + + /** Build Builder which creates a Condition instance */ + public abstract Condition build(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java new file mode 100644 index 000000000000..d7f3b71275e7 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java @@ -0,0 +1,159 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import com.google.api.core.BetaApi; +import com.google.common.base.Preconditions; +import java.io.Serializable; +import java.util.Calendar; +import java.util.Objects; + +/** Represents a Date without time, such as 2017-03-17. Date is timezone independent. */ +@BetaApi("This is going to be replaced with LocalDate from threetenbp") +public final class Date implements Comparable, Serializable { + + // Date format "yyyy-mm-dd" + private static final long serialVersionUID = 8067099123096783929L; + private final int year; + private final int month; + private final int dayOfMonth; + + private Date(int year, int month, int dayOfMonth) { + Preconditions.checkArgument(year > 0, "Invalid year: " + year); + Preconditions.checkArgument(month > 0 && month <= 12, "Invalid month: " + month); + Preconditions.checkArgument(dayOfMonth > 0 && dayOfMonth <= 31, "Invalid day: " + dayOfMonth); + this.year = year; + this.month = month; + this.dayOfMonth = dayOfMonth; + } + + /** + * Constructs a new Date instance. + * + * @param year must be greater than 0 + * @param month must be between [1,12] + * @param dayOfMonth must be between [1,31] + */ + public static Date fromYearMonthDay(int year, int month, int dayOfMonth) { + return new Date(year, month, dayOfMonth); + } + + /** @param date Data in RFC 3339 date format (yyyy-mm-dd). */ + public static Date parseDate(String date) { + Preconditions.checkNotNull(date); + final String invalidDate = "Invalid date: " + date; + Preconditions.checkArgument(date.length() == 10, invalidDate); + Preconditions.checkArgument(date.charAt(4) == '-', invalidDate); + Preconditions.checkArgument(date.charAt(7) == '-', invalidDate); + try { + int year = Integer.parseInt(date.substring(0, 4)); + int month = Integer.parseInt(date.substring(5, 7)); + int dayOfMonth = Integer.parseInt(date.substring(8, 10)); + return new Date(year, month, dayOfMonth); + } catch (NumberFormatException e) { + throw new IllegalArgumentException(invalidDate, e); + } + } + + /** + * Convert a Google Date to a Java Util Date. + * + * @param date the date of the Google Date. + * @return java.util.Date + */ + public static java.util.Date toJavaUtilDate(Date date) { + Calendar cal = Calendar.getInstance(); + cal.set(Calendar.HOUR_OF_DAY, 0); + cal.set(Calendar.MINUTE, 0); + cal.set(Calendar.SECOND, 0); + cal.set(Calendar.MILLISECOND, 0); + // Calender.MONTH starts from 0 while G C date starts from 1 + cal.set(date.year, date.month - 1, date.dayOfMonth); + return cal.getTime(); + } + + /** + * Convert a Java Util Date to a Google Date. + * + * @param date the date of the java.util.Date + * @return Google Java Date + */ + public static Date fromJavaUtilDate(java.util.Date date) { + Calendar cal = Calendar.getInstance(); + cal.setTime(date); + cal.set(Calendar.HOUR_OF_DAY, 0); + cal.set(Calendar.MINUTE, 0); + cal.set(Calendar.SECOND, 0); + cal.set(Calendar.MILLISECOND, 0); + // Calender.MONTH starts from 0 while G C date starts from 1 + return new Date( + cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH)); + } + + /** Returns the year. */ + public int getYear() { + return year; + } + + /** Returns the month between 1 and 12 inclusive. */ + public int getMonth() { + return month; + } + + /** Returns day of month between 1 and 31 inclusive. */ + public int getDayOfMonth() { + return dayOfMonth; + } + + @Override + public String toString() { + return String.format("%04d-%02d-%02d", year, month, dayOfMonth); + } + + StringBuilder toString(StringBuilder b) { + return b.append(toString()); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Date that = (Date) o; + return year == that.year && month == that.month && dayOfMonth == that.dayOfMonth; + } + + @Override + public int hashCode() { + return Objects.hash(year, month, dayOfMonth); + } + + @Override + public int compareTo(Date other) { + int r = Integer.compare(year, other.year); + if (r == 0) { + r = Integer.compare(month, other.month); + if (r == 0) { + r = Integer.compare(dayOfMonth, other.dayOfMonth); + } + } + return r; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java new file mode 100644 index 000000000000..d243de180771 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java @@ -0,0 +1,296 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.api.core.BetaApi; +import com.google.api.gax.retrying.ResultRetryAlgorithm; +import com.google.api.gax.retrying.TimedAttemptSettings; +import com.google.common.annotations.VisibleForTesting; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Sets; +import java.io.Serializable; +import java.lang.reflect.Method; +import java.util.Objects; +import java.util.Set; +import java.util.concurrent.Callable; + +/** Exception retry algorithm implementation used by {@link RetryHelper}. */ +@BetaApi +public final class ExceptionHandler implements ResultRetryAlgorithm, Serializable { + + private static final long serialVersionUID = -2460707015779532919L; + + private static final ExceptionHandler DEFAULT_INSTANCE = + newBuilder().retryOn(Exception.class).abortOn(RuntimeException.class).build(); + + private final ImmutableList interceptors; + private final ImmutableSet> retriableExceptions; + private final ImmutableSet> nonRetriableExceptions; + private final Set retryInfo = Sets.newHashSet(); + + public interface Interceptor extends Serializable { + + enum RetryResult { + NO_RETRY, + RETRY, + CONTINUE_EVALUATION; + } + + /** + * This method is called before exception evaluation and could short-circuit the process. + * + * @param exception the exception that is being evaluated + * @return {@link RetryResult} to indicate if the exception should be ignored ( {@link + * RetryResult#RETRY}), propagated ({@link RetryResult#NO_RETRY}), or evaluation should + * proceed ({@link RetryResult#CONTINUE_EVALUATION}). + */ + RetryResult beforeEval(Exception exception); + + /** + * This method is called after the evaluation and could alter its result. + * + * @param exception the exception that is being evaluated + * @param retryResult the result of the evaluation so far + * @return {@link RetryResult} to indicate if the exception should be ignored ( {@link + * RetryResult#RETRY}), propagated ({@link RetryResult#NO_RETRY}), or evaluation should + * proceed ({@link RetryResult#CONTINUE_EVALUATION}). + */ + RetryResult afterEval(Exception exception, RetryResult retryResult); + } + + /** ExceptionHandler builder. */ + public static class Builder { + + private final ImmutableList.Builder interceptors = ImmutableList.builder(); + private final ImmutableSet.Builder> retriableExceptions = + ImmutableSet.builder(); + private final ImmutableSet.Builder> nonRetriableExceptions = + ImmutableSet.builder(); + + private Builder() {} + + /** + * Adds the exception handler interceptors. Call order will be maintained. + * + * @param interceptors the interceptors for this exception handler + * @return the Builder for chaining + */ + public Builder addInterceptors(Interceptor... interceptors) { + for (Interceptor interceptor : interceptors) { + this.interceptors.add(interceptor); + } + return this; + } + + /** + * Add the exceptions to ignore/retry-on. + * + * @param exceptions retry should continue when such exceptions are thrown + * @return the Builder for chaining + */ + @SafeVarargs + public final Builder retryOn(Class... exceptions) { + for (Class exception : exceptions) { + retriableExceptions.add(checkNotNull(exception)); + } + return this; + } + + /** + * Adds the exceptions to abort on. + * + * @param exceptions retry should abort when such exceptions are thrown + * @return the Builder for chaining + */ + @SafeVarargs + public final Builder abortOn(Class... exceptions) { + for (Class exception : exceptions) { + nonRetriableExceptions.add(checkNotNull(exception)); + } + return this; + } + + /** Returns a new ExceptionHandler instance. */ + public ExceptionHandler build() { + return new ExceptionHandler(this); + } + } + + @VisibleForTesting + static final class RetryInfo implements Serializable { + + private static final long serialVersionUID = -4264634837841455974L; + private final Class exception; + private final Interceptor.RetryResult retry; + private final Set children = Sets.newHashSet(); + + RetryInfo(Class exception, Interceptor.RetryResult retry) { + this.exception = checkNotNull(exception); + this.retry = checkNotNull(retry); + } + + @Override + public int hashCode() { + return exception.hashCode(); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof RetryInfo)) { + return false; + } + // We only care about exception in equality as we allow only one instance per exception + return ((RetryInfo) obj).exception.equals(exception); + } + } + + private ExceptionHandler(Builder builder) { + interceptors = builder.interceptors.build(); + retriableExceptions = builder.retriableExceptions.build(); + nonRetriableExceptions = builder.nonRetriableExceptions.build(); + Preconditions.checkArgument( + Sets.intersection(retriableExceptions, nonRetriableExceptions).isEmpty(), + "Same exception was found in both retryable and non-retryable sets"); + for (Class exception : retriableExceptions) { + addRetryInfo(new RetryInfo(exception, Interceptor.RetryResult.RETRY), retryInfo); + } + for (Class exception : nonRetriableExceptions) { + addRetryInfo(new RetryInfo(exception, Interceptor.RetryResult.NO_RETRY), retryInfo); + } + } + + private static void addRetryInfo(RetryInfo retryInfo, Set dest) { + for (RetryInfo current : dest) { + if (current.exception.isAssignableFrom(retryInfo.exception)) { + addRetryInfo(retryInfo, current.children); + return; + } + if (retryInfo.exception.isAssignableFrom(current.exception)) { + retryInfo.children.add(current); + } + } + dest.removeAll(retryInfo.children); + dest.add(retryInfo); + } + + private static RetryInfo findMostSpecificRetryInfo( + Set retryInfo, Class exception) { + for (RetryInfo current : retryInfo) { + if (current.exception.isAssignableFrom(exception)) { + RetryInfo match = findMostSpecificRetryInfo(current.children, exception); + return match == null ? current : match; + } + } + return null; + } + + // called for Class, therefore a "call" method must be found. + private static Method getCallableMethod(Class clazz) { + try { + return clazz.getDeclaredMethod("call"); + } catch (NoSuchMethodException e) { + // check parent + return getCallableMethod(clazz.getSuperclass()); + } catch (SecurityException e) { + // This should never happen + throw new IllegalStateException("Unexpected exception", e); + } + } + + void verifyCaller(Callable callable) { + Method callMethod = getCallableMethod(callable.getClass()); + for (Class exceptionOrError : callMethod.getExceptionTypes()) { + Preconditions.checkArgument( + Exception.class.isAssignableFrom(exceptionOrError), + "Callable method exceptions must be derived from Exception"); + @SuppressWarnings("unchecked") + Class exception = (Class) exceptionOrError; + Preconditions.checkArgument( + findMostSpecificRetryInfo(retryInfo, exception) != null, + "Declared exception '" + exception + "' is not covered by exception handler"); + } + } + + @Override + public boolean shouldRetry(Throwable prevThrowable, Object prevResponse) { + if (!(prevThrowable instanceof Exception)) { + return false; + } + Exception ex = (Exception) prevThrowable; + for (Interceptor interceptor : interceptors) { + Interceptor.RetryResult retryResult = checkNotNull(interceptor.beforeEval(ex)); + if (retryResult != Interceptor.RetryResult.CONTINUE_EVALUATION) { + return retryResult == Interceptor.RetryResult.RETRY; + } + } + RetryInfo retryInfo = findMostSpecificRetryInfo(this.retryInfo, ex.getClass()); + Interceptor.RetryResult retryResult = + retryInfo == null ? Interceptor.RetryResult.NO_RETRY : retryInfo.retry; + for (Interceptor interceptor : interceptors) { + Interceptor.RetryResult interceptorRetry = + checkNotNull(interceptor.afterEval(ex, retryResult)); + if (interceptorRetry != Interceptor.RetryResult.CONTINUE_EVALUATION) { + retryResult = interceptorRetry; + } + } + return retryResult == Interceptor.RetryResult.RETRY; + } + + @Override + public TimedAttemptSettings createNextAttempt( + Throwable prevThrowable, Object prevResponse, TimedAttemptSettings prevSettings) { + // Return null to indicate that this implementation does not provide any specific attempt + // settings, so by default the TimedRetryAlgorithm options can be used instead. + return null; + } + + @Override + public int hashCode() { + return Objects.hash(interceptors, retriableExceptions, nonRetriableExceptions, retryInfo); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof ExceptionHandler)) { + return false; + } + ExceptionHandler other = (ExceptionHandler) obj; + return Objects.equals(interceptors, other.interceptors) + && Objects.equals(retriableExceptions, other.retriableExceptions) + && Objects.equals(nonRetriableExceptions, other.nonRetriableExceptions) + && Objects.equals(retryInfo, other.retryInfo); + } + + /** Returns an instance which retry any checked exception and abort on any runtime exception. */ + public static ExceptionHandler getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + public static Builder newBuilder() { + return new Builder(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java new file mode 100644 index 000000000000..aad60f7a4dd8 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java @@ -0,0 +1,127 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import com.google.api.core.InternalApi; +import com.google.common.base.Function; +import com.google.common.base.Joiner; +import com.google.common.collect.Lists; +import com.google.common.collect.Sets; +import java.util.Arrays; +import java.util.List; +import java.util.Set; + +/** + * Interface for Google Cloud resource's fields. Implementations of this interface can be used to + * select only desired fields from a returned Google Cloud resource. + */ +public interface FieldSelector { + + /** + * Returns a string selector. This selector is passed to a Google Cloud service (possibly with + * other field selectors) to specify which resource fields should be returned by an API call. + */ + String getSelector(); + + /** + * A helper class used to build composite selectors given a number of fields. This class is not + * supposed to be used directly by users. + */ + @InternalApi + class Helper { + + private static final String[] EMPTY_FIELDS = {}; + + private Helper() {} + + private static final Function FIELD_TO_STRING_FUNCTION = + new Function() { + @Override + public String apply(FieldSelector fieldSelector) { + return fieldSelector.getSelector(); + } + }; + + private static String selector( + List required, + FieldSelector[] others, + String... extraResourceFields) { + Set fieldStrings = Sets.newHashSetWithExpectedSize(required.size() + others.length); + fieldStrings.addAll(Lists.transform(required, FIELD_TO_STRING_FUNCTION)); + fieldStrings.addAll(Lists.transform(Arrays.asList(others), FIELD_TO_STRING_FUNCTION)); + fieldStrings.addAll(Arrays.asList(extraResourceFields)); + return Joiner.on(',').join(fieldStrings); + } + + /** + * Returns a composite selector given a number of resource fields. The string selector returned + * by this method can be used for field selection in API calls that return a single resource. + * This method is not supposed to be used directly by users. + */ + public static String selector(List required, FieldSelector... others) { + return selector(required, others, new String[] {}); + } + + /** + * Returns a composite selector given a number of resource fields and a container name. The + * string selector returned by this method can be used for field selection in API calls that + * return a list of resources. This method is not supposed to be used directly by users. + */ + public static String listSelector( + String containerName, List required, FieldSelector... others) { + return "nextPageToken," + containerName + '(' + selector(required, others) + ')'; + } + + /** + * Returns a composite selector given a number of resource fields and a container name. This + * method also takes an {@code extraResourceFields} parameter to specify some extra resource + * fields as strings. The string selector returned by this method can be used for field + * selection in API calls that return a list of resources. This method is not supposed to be + * used directly by users. + */ + public static String listSelector( + String containerName, + List required, + FieldSelector[] others, + String... extraResourceFields) { + return listSelector(EMPTY_FIELDS, containerName, required, others, extraResourceFields); + } + + /** + * Returns a composite selector given a number of top level fields as strings, a number of + * resource fields and a container name. This method also takes an {@code extraResourceFields} + * parameter to specify some extra resource fields as strings. The string selector returned by + * this method can be used for field selection in API calls that return a list of resources. + * This method is not supposed to be used directly by users. + */ + public static String listSelector( + String[] topLevelFields, + String containerName, + List required, + FieldSelector[] others, + String... extraResourceFields) { + Set topLevelStrings = Sets.newHashSetWithExpectedSize(topLevelFields.length + 1); + topLevelStrings.addAll(Lists.asList("nextPageToken", topLevelFields)); + return Joiner.on(',').join(topLevelStrings) + + "," + + containerName + + '(' + + selector(required, others, extraResourceFields) + + ')'; + } + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java new file mode 100644 index 000000000000..e83f773c9d4d --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java @@ -0,0 +1,75 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +/** + * A qualifier indicating what level of access and support can be expected of a particular Google + * Cloud Platform feature. The "GeneralAvailability" qualifier is not provided since the vast + * majority of features are in this category. Note that features may be in a later launch stage than + * the client library annotation indicates. + * + *

See more at the Launch Stages + * Documentation. + */ +public class GcpLaunchStage { + + /** + * Early Access features are limited to a closed group of testers. To use these features, you must + * sign up in advance and sign a Trusted Tester agreement (which includes confidentiality + * provisions). These features may be unstable, changed in backward-incompatible ways, and are not + * guaranteed to be released. + */ + @Retention(RetentionPolicy.RUNTIME) + public @interface EarlyAccess {} + + /** + * Alpha is a limited availability test for releases before they are cleared for widespread use. + * By Alpha, all significant design issues are resolved and we are in the process of verifying + * functionality. Alpha customers need to apply for access, agree to applicable terms, and have + * their projects whitelisted. Alpha releases don’t have to be feature complete, no SLAs are + * provided, and there are no technical support obligations, but they will be far enough along + * that customers can actually use them in test environments or for limited-use tests -- just like + * they would in normal production cases. + */ + @Retention(RetentionPolicy.RUNTIME) + public @interface Alpha {} + + /** + * Beta is the point at which we are ready to open a release for any customer to use. There are no + * SLA or technical support obligations in a Beta release, and charges may be waived in some + * cases. Products will be complete from a feature perspective, but may have some open outstanding + * issues. Beta releases are suitable for limited production use cases. + */ + @Retention(RetentionPolicy.RUNTIME) + public @interface Beta {} + + /** + * Deprecated features are scheduled to be shut down and removed. For more information, see the + * “Deprecation Policy” section of our Terms of + * Service and the Google Cloud Platform + * Subject to the Deprecation Policy documentation. + */ + @Retention(RetentionPolicy.RUNTIME) + public @interface Deprecated {} + + private GcpLaunchStage() { + // Intentionally left blank. + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java new file mode 100644 index 000000000000..a3aff1ade722 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -0,0 +1,268 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.api.core.ApiFunction; +import com.google.common.base.CaseFormat; +import java.io.Serializable; +import java.util.Objects; + +/** + * An identity in a {@link Policy}. The following types of identities are permitted in IAM policies: + * + *

    + *
  • Google account + *
  • Service account + *
  • Google group + *
  • Google Apps domain + *
+ * + *

There are also two special identities that represent all users and all Google-authenticated + * accounts. + * + * @see Concepts + * related to identity + */ +public final class Identity implements Serializable { + + private static final long serialVersionUID = -8181841964597657446L; + + private final Type type; + private final String value; + + /** The types of IAM identities. */ + public static final class Type extends StringEnumValue { + private static final long serialVersionUID = 3809891273596003916L; + + private Type(String constant) { + super(constant); + } + + private static final ApiFunction CONSTRUCTOR = + new ApiFunction() { + @Override + public Type apply(String constant) { + return new Type(constant); + } + }; + + private static final StringEnumType type = new StringEnumType(Type.class, CONSTRUCTOR); + + /** Represents anyone who is on the internet; with or without a Google account. */ + public static final Type ALL_USERS = type.createAndRegister("ALL_USERS"); + + /** Represents anyone who is authenticated with a Google account or a service account. */ + public static final Type ALL_AUTHENTICATED_USERS = + type.createAndRegister("ALL_AUTHENTICATED_USERS"); + + /** Represents a specific Google account. */ + public static final Type USER = type.createAndRegister("USER"); + + /** Represents a service account. */ + public static final Type SERVICE_ACCOUNT = type.createAndRegister("SERVICE_ACCOUNT"); + + /** Represents a Google group. */ + public static final Type GROUP = type.createAndRegister("GROUP"); + + /** Represents all the users of a Google Apps domain name. */ + public static final Type DOMAIN = type.createAndRegister("DOMAIN"); + + /** Represents owners of a Google Cloud Platform project. */ + public static final Type PROJECT_OWNER = type.createAndRegister("PROJECT_OWNER"); + + /** Represents editors of a Google Cloud Platform project. */ + public static final Type PROJECT_EDITOR = type.createAndRegister("PROJECT_EDITOR"); + + /** Represents viewers of a Google Cloud Platform project. */ + public static final Type PROJECT_VIEWER = type.createAndRegister("PROJECT_VIEWER"); + + /** + * Get the Type for the given String constant, and throw an exception if the constant is not + * recognized. + */ + public static Type valueOfStrict(String constant) { + return type.valueOfStrict(constant); + } + + /** Get the Type for the given String constant, and allow unrecognized values. */ + public static Type valueOf(String constant) { + return type.valueOf(constant); + } + + /** Return the known values for Type. */ + public static Type[] values() { + return type.values(); + } + } + + private Identity(Type type, String value) { + this.type = type; + this.value = value; + } + + public Type getType() { + return type; + } + + /** + * Returns the string identifier for this identity. The value corresponds to: + * + *

    + *
  • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and {@code + * GROUP}) + *
  • domain (for identities of type {@code DOMAIN}) + *
  • {@code null} (for identities of type {@code ALL_USERS} and {@code + * ALL_AUTHENTICATED_USERS}) + *
+ */ + public String getValue() { + return value; + } + + /** + * Returns a new identity representing anyone who is on the internet; with or without a Google + * account. + */ + public static Identity allUsers() { + return new Identity(Type.ALL_USERS, null); + } + + /** + * Returns a new identity representing anyone who is authenticated with a Google account or a + * service account. + */ + public static Identity allAuthenticatedUsers() { + return new Identity(Type.ALL_AUTHENTICATED_USERS, null); + } + + /** + * Returns a new user identity. + * + * @param email An email address that represents a specific Google account. For example, + * alice@gmail.com or joe@example.com. + */ + public static Identity user(String email) { + return new Identity(Type.USER, checkNotNull(email)); + } + + /** + * Returns a new service account identity. + * + * @param email An email address that represents a service account. For example, + * my-other-app@appspot.gserviceaccount.com. + */ + public static Identity serviceAccount(String email) { + return new Identity(Type.SERVICE_ACCOUNT, checkNotNull(email)); + } + + /** + * Returns a new group identity. + * + * @param email An email address that represents a Google group. For example, + * admins@example.com. + */ + public static Identity group(String email) { + return new Identity(Type.GROUP, checkNotNull(email)); + } + + /** + * Returns a new domain identity. + * + * @param domain A Google Apps domain name that represents all the users of that domain. For + * example, google.com or example.com. + */ + public static Identity domain(String domain) { + return new Identity(Type.DOMAIN, checkNotNull(domain)); + } + + /** + * Returns a new project owner identity. + * + * @param projectId A Google Cloud Platform project ID. For example, my-sample-project. + */ + public static Identity projectOwner(String projectId) { + return new Identity(Type.PROJECT_OWNER, checkNotNull(projectId)); + } + + /** + * Returns a new project editor identity. + * + * @param projectId A Google Cloud Platform project ID. For example, my-sample-project. + */ + public static Identity projectEditor(String projectId) { + return new Identity(Type.PROJECT_EDITOR, checkNotNull(projectId)); + } + + /** + * Returns a new project viewer identity. + * + * @param projectId A Google Cloud Platform project ID. For example, my-sample-project. + */ + public static Identity projectViewer(String projectId) { + return new Identity(Type.PROJECT_VIEWER, checkNotNull(projectId)); + } + + @Override + public String toString() { + return strValue(); + } + + @Override + public int hashCode() { + return Objects.hash(value, type); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof Identity)) { + return false; + } + Identity other = (Identity) obj; + return Objects.equals(value, other.getValue()) && Objects.equals(type, other.getType()); + } + + /** + * Returns the string value associated with the identity. Used primarily for converting from + * {@code Identity} objects to strings for protobuf-generated policies. + */ + public String strValue() { + String protobufString = CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, type.toString()); + if (value == null) { + return protobufString; + } else { + return protobufString + ":" + value; + } + } + + /** + * Converts a string to an {@code Identity}. Used primarily for converting protobuf-generated + * policy identities to {@code Identity} objects. + */ + public static Identity valueOf(String identityStr) { + String[] info = identityStr.split(":", 2); + Type type = Type.valueOf(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_UNDERSCORE, info[0])); + if (info.length == 1) { + return new Identity(type, null); + } else if (info.length == 2) { + return new Identity(type, info[1]); + } else { + throw new IllegalArgumentException("Illegal identity string: \"" + identityStr + "\""); + } + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java new file mode 100644 index 000000000000..8f1bac04ca69 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -0,0 +1,88 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import static java.nio.charset.StandardCharsets.UTF_8; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.net.HttpURLConnection; +import java.net.URL; + +/** + * Retrieves Google Cloud project-id and a limited set of instance attributes from Metadata server. + * + * @see + * https://cloud.google.com/compute/docs/storing-retrieving-metadata + */ +public class MetadataConfig { + + private static final String METADATA_URL = "http://metadata.google.internal/computeMetadata/v1/"; + private static final int TIMEOUT_MS = 5000; + + private MetadataConfig() {} + + public static String getProjectId() { + return getAttribute("project/project-id"); + } + + public static String getZone() { + String zoneId = getAttribute("instance/zone"); + if (zoneId != null && zoneId.contains("/")) { + return zoneId.substring(zoneId.lastIndexOf('/') + 1); + } + return zoneId; + } + + public static String getInstanceId() { + return getAttribute("instance/id"); + } + + public static String getClusterName() { + return getAttribute("instance/attributes/cluster-name"); + } + + public static String getContainerName() { + return getAttribute("instance/attributes/container-name"); + } + + public static String getNamespaceId() { + return getAttribute("instance/attributes/namespace-id"); + } + + public static String getAttribute(String attributeName) { + try { + URL url = new URL(METADATA_URL + attributeName); + HttpURLConnection connection = (HttpURLConnection) url.openConnection(); + connection.setConnectTimeout(TIMEOUT_MS); + connection.setReadTimeout(TIMEOUT_MS); + connection.setRequestProperty("Metadata-Flavor", "Google"); + try (InputStream input = connection.getInputStream()) { + if (connection.getResponseCode() == 200) { + try (BufferedReader reader = new BufferedReader(new InputStreamReader(input, UTF_8))) { + return reader.readLine(); + } + } + } + } catch (IOException ignore) { + // ignore + } + return null; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java new file mode 100644 index 000000000000..a1fbe44b92dd --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java @@ -0,0 +1,165 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.common.base.MoreObjects; +import com.google.common.collect.ImmutableMap; +import java.io.Serializable; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** + * Objects of this class represent a resource that can be used for monitoring, logging, billing, or + * other purposes. Examples include virtual machine instances, databases, and storage devices such + * as disks. The type field identifies a {@link MonitoredResourceDescriptor} object that describes + * the resource's schema. Information in the labels field identifies the actual resource and its + * attributes according to the schema. + * + *

For example, the monitored resource for Google Compute Engine VM instances has {@code + * gce_instance} type and specifies values for the labels {@code instance_id} and {@code zone} to + * identify particular VM instances. + */ +public final class MonitoredResource implements Serializable { + + private static final long serialVersionUID = -4393604148752640581L; + + private final String type; + private final Map labels; + + /** A builder for {@code MonitoredResource} objects. */ + public static class Builder { + + private String type; + private Map labels = new HashMap<>(); + + Builder(String type) { + this.type = type; + } + + Builder(MonitoredResource monitoredResource) { + this.type = monitoredResource.type; + this.labels = new HashMap<>(monitoredResource.labels); + } + + /** + * Sets the monitored resource type. This value must match the one of {@link + * MonitoredResourceDescriptor#getType()} of a {@code MonitoredResourceDescriptor} object. For + * example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. + */ + public Builder setType(String type) { + this.type = type; + return this; + } + + /** + * Sets the values for all the labels required by the corresponding monitored resource + * descriptor (see {@link MonitoredResourceDescriptor#getLabels()}. For example, Google Compute + * Engine VM instances use the labels {@code instance_id} and {@code zone}. + */ + public Builder setLabels(Map labels) { + this.labels = new HashMap<>(checkNotNull(labels)); + return this; + } + + /** Adds a label to the labels of the monitored resource. */ + public Builder addLabel(String key, String value) { + this.labels.put(key, value); + return this; + } + + /** Clears all the labels of the monitored resource. */ + public Builder clearLabels() { + this.labels.clear(); + return this; + } + + public MonitoredResource build() { + return new MonitoredResource(this); + } + } + + MonitoredResource(Builder builder) { + this.type = checkNotNull(builder.type); + this.labels = ImmutableMap.copyOf(builder.labels); + } + + /** + * Returns the monitored resource type. This value must match the one of {@link + * MonitoredResourceDescriptor#getType()} of a {@code MonitoredResourceDescriptor} object. For + * example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. + */ + public String getType() { + return type; + } + + /** + * Returns the values for all the labels required by the corresponding monitored resource + * descriptor (see {@link MonitoredResourceDescriptor#getLabels()}. For example, Google Compute + * Engine VM instances use the labels {@code instance_id} and {@code zone}. + */ + public Map getLabels() { + return labels; + } + + @Override + public int hashCode() { + return Objects.hash(type, labels); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof MonitoredResource)) { + return false; + } + MonitoredResource other = (MonitoredResource) obj; + return Objects.equals(type, other.type) && Objects.equals(labels, other.labels); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this).add("type", type).add("labels", labels).toString(); + } + + public com.google.api.MonitoredResource toPb() { + return com.google.api.MonitoredResource.newBuilder().setType(type).putAllLabels(labels).build(); + } + + /** Returns a builder for this {@code MonitoredResource} object. */ + public Builder toBuilder() { + return new Builder(this); + } + + /** Returns a builder for {@code MonitoredResource} objects given the resource's type. */ + public static Builder newBuilder(String type) { + return new Builder(type); + } + + /** Creates a {@code MonitoredResource} object given the resource's type and labels. */ + public static MonitoredResource of(String type, Map labels) { + return newBuilder(type).setLabels(labels).build(); + } + + public static MonitoredResource fromPb(com.google.api.MonitoredResource descriptorPb) { + return new Builder(descriptorPb.getType()).setLabels(descriptorPb.getLabelsMap()).build(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java new file mode 100644 index 000000000000..cfc24590d4c8 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java @@ -0,0 +1,342 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.api.core.ApiFunction; +import com.google.common.base.Function; +import com.google.common.base.MoreObjects; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * This class describes the schema of Cloud monitored resources. Monitored resource descriptors + * contain a type name and a set of labels. For example, the monitored resource descriptor for + * Google Compute Engine VM instances has a type of {@code gce_instance} and specifies the use of + * the labels {@code instance_id} and {@code zone} to identify particular VM instances. + */ +public class MonitoredResourceDescriptor implements Serializable { + + private static final long serialVersionUID = -3702077512777687441L; + public static final ApiFunction< + com.google.api.MonitoredResourceDescriptor, MonitoredResourceDescriptor> + FROM_PB_FUNCTION = + new ApiFunction< + com.google.api.MonitoredResourceDescriptor, MonitoredResourceDescriptor>() { + @Override + public MonitoredResourceDescriptor apply( + com.google.api.MonitoredResourceDescriptor pb) { + return fromPb(pb); + } + }; + + private final String type; + private final String name; + private final String displayName; + private final String description; + private final List labels; + + /** + * This class describes a label for a monitored resource. Label descriptors contain the key for + * the label, the type of data that the label can hold and an optional description. + */ + public static class LabelDescriptor implements Serializable { + + private static final long serialVersionUID = -2811608103754481777L; + private static final Function + FROM_PB_FUNCTION = + new Function() { + @Override + public LabelDescriptor apply(com.google.api.LabelDescriptor descriptorPb) { + return fromPb(descriptorPb); + } + }; + private static final Function TO_PB_FUNCTION = + new Function() { + @Override + public com.google.api.LabelDescriptor apply(LabelDescriptor descriptor) { + return descriptor.toPb(); + } + }; + + private final String key; + private final ValueType valueType; + private final String description; + + /** Value types that can be used as label values. */ + public enum ValueType { + STRING(com.google.api.LabelDescriptor.ValueType.STRING), + BOOL(com.google.api.LabelDescriptor.ValueType.BOOL), + INT64(com.google.api.LabelDescriptor.ValueType.INT64); + + private com.google.api.LabelDescriptor.ValueType typePb; + + ValueType(com.google.api.LabelDescriptor.ValueType typePb) { + this.typePb = typePb; + } + + com.google.api.LabelDescriptor.ValueType toPb() { + return typePb; + } + + static ValueType fromPb(com.google.api.LabelDescriptor.ValueType typePb) { + switch (typePb) { + case STRING: + return ValueType.STRING; + case BOOL: + return ValueType.BOOL; + case INT64: + return ValueType.INT64; + default: + throw new IllegalArgumentException("Unrecognized label type"); + } + } + } + + LabelDescriptor(String key, ValueType valueType, String description) { + this.key = checkNotNull(key); + this.valueType = checkNotNull(valueType); + this.description = description; + } + + /** Returns the key associated to this label. */ + public String getKey() { + return key; + } + + /** Returns the type of data that can be assigned to this label. */ + public ValueType getValueType() { + return valueType; + } + + /** + * Returns the optional human-readable description for this label. If not set, this method + * returns {@code null}. + */ + public String getDescription() { + return description; + } + + @Override + public final int hashCode() { + return Objects.hash(key, valueType, description); + } + + @Override + public final boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (obj == null || !obj.getClass().equals(LabelDescriptor.class)) { + return false; + } + LabelDescriptor other = (LabelDescriptor) obj; + return Objects.equals(key, other.key) + && Objects.equals(valueType, other.valueType) + && Objects.equals(description, other.description); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("key", key) + .add("valueType", valueType) + .add("description", description) + .toString(); + } + + com.google.api.LabelDescriptor toPb() { + com.google.api.LabelDescriptor.Builder builder = + com.google.api.LabelDescriptor.newBuilder().setKey(key).setValueType(valueType.toPb()); + if (description != null) { + builder.setDescription(description); + } + return builder.build(); + } + + static LabelDescriptor fromPb(com.google.api.LabelDescriptor descriptorPb) { + String description = null; + if (descriptorPb.getDescription() != null && !descriptorPb.getDescription().equals("")) { + description = descriptorPb.getDescription(); + } + return new LabelDescriptor( + descriptorPb.getKey(), ValueType.fromPb(descriptorPb.getValueType()), description); + } + } + + static class Builder { + + private final String type; + private String name; + private String displayName; + private String description; + private List labels = new ArrayList<>(); + + Builder(String type) { + this.type = type; + } + + Builder setName(String name) { + this.name = name; + return this; + } + + Builder setDisplayName(String displayName) { + this.displayName = displayName; + return this; + } + + Builder setDescription(String description) { + this.description = description; + return this; + } + + Builder setLabels(List labels) { + this.labels = labels; + return this; + } + + MonitoredResourceDescriptor build() { + return new MonitoredResourceDescriptor(this); + } + } + + MonitoredResourceDescriptor(Builder builder) { + this.type = checkNotNull(builder.type); + this.name = builder.name; + this.displayName = builder.displayName; + this.description = builder.description; + this.labels = checkNotNull(builder.labels); + } + + /** + * Returns the monitored resource type. For example, the type {@code cloudsql_database} represents + * databases in Google Cloud SQL. + */ + public String getType() { + return type; + } + + /** + * Returns an optional name for the monitored resource descriptor. If not set, this method returns + * {@code null}. + */ + public String getName() { + return name; + } + + /** + * Returns an optional concise name for the monitored resource type. This value might be displayed + * in user interfaces. For example, {@code Google Cloud SQL Database}. If not set, this method + * returns {@code null}. + */ + public String getDisplayName() { + return displayName; + } + + /** + * Returns an optional detailed description of the monitored resource type. This value might be + * used in documentation. If not set, this method returns {@code null}. + */ + public String getDescription() { + return description; + } + + /** + * Returns a list of labels used to describe instances of this monitored resource type. For + * example, an individual Google Cloud SQL database is identified by values for the labels {@code + * database_id} and {@code region}. + */ + public List getLabels() { + return labels; + } + + @Override + public final int hashCode() { + return Objects.hash(type, name, displayName, description, labels); + } + + @Override + public final boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (obj == null || !obj.getClass().equals(MonitoredResourceDescriptor.class)) { + return false; + } + MonitoredResourceDescriptor other = (MonitoredResourceDescriptor) obj; + return Objects.equals(type, other.type) + && Objects.equals(name, other.name) + && Objects.equals(displayName, other.displayName) + && Objects.equals(description, other.description) + && Objects.equals(labels, other.labels); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("type", type) + .add("name", name) + .add("displayName", displayName) + .add("description", description) + .add("labels", labels) + .toString(); + } + + public com.google.api.MonitoredResourceDescriptor toPb() { + com.google.api.MonitoredResourceDescriptor.Builder builder = + com.google.api.MonitoredResourceDescriptor.newBuilder() + .setType(type) + .addAllLabels(Iterables.transform(labels, LabelDescriptor.TO_PB_FUNCTION)); + if (name != null) { + builder.setName(name); + } + if (displayName != null) { + builder.setDisplayName(displayName); + } + if (description != null) { + builder.setDescription(description); + } + return builder.build(); + } + + static Builder newBuilder(String type) { + return new Builder(type); + } + + public static MonitoredResourceDescriptor fromPb( + com.google.api.MonitoredResourceDescriptor descriptorPb) { + Builder builder = newBuilder(descriptorPb.getType()); + if (descriptorPb.getName() != null && !descriptorPb.getName().equals("")) { + builder.setName(descriptorPb.getName()); + } + if (descriptorPb.getDisplayName() != null && !descriptorPb.getDisplayName().equals("")) { + builder.setDisplayName(descriptorPb.getDisplayName()); + } + if (descriptorPb.getDescription() != null && !descriptorPb.getDescription().equals("")) { + builder.setDescription(descriptorPb.getDescription()); + } + builder.setLabels( + Lists.transform(descriptorPb.getLabelsList(), LabelDescriptor.FROM_PB_FUNCTION)); + return builder.build(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java new file mode 100644 index 000000000000..4726c4d0c633 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java @@ -0,0 +1,50 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import com.google.auth.oauth2.OAuth2Credentials; +import java.io.ObjectStreamException; + +/** + * A placeholder for credentials to signify that requests sent to the server should not be + * authenticated. This is typically useful when using local service emulators. + */ +public class NoCredentials extends OAuth2Credentials { + + private static final long serialVersionUID = -6263971603971044288L; + private static final NoCredentials INSTANCE = new NoCredentials(); + + private NoCredentials() {} + + private Object readResolve() throws ObjectStreamException { + return INSTANCE; + } + + public static NoCredentials getInstance() { + return INSTANCE; + } + + @Override + public boolean equals(Object obj) { + return this == obj; + } + + @Override + public int hashCode() { + return System.identityHashCode(this); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java new file mode 100644 index 000000000000..72e0e858b433 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java @@ -0,0 +1,156 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import com.google.api.core.InternalApi; +import com.google.api.gax.paging.Page; +import com.google.common.collect.AbstractIterator; +import com.google.common.collect.ImmutableMap; +import java.io.Serializable; +import java.util.Collections; +import java.util.Iterator; +import java.util.Map; +import java.util.Objects; + +/** + * Base implementation for Google Cloud paginated results. + * + * @param the value type that the page holds + */ +@InternalApi +public class PageImpl implements Page, Serializable { + + private static final long serialVersionUID = 3914827379823557934L; + + private final String cursor; + private final Iterable results; + private final NextPageFetcher pageFetcher; + + /** + * Interface for fetching the next page of results from the service. + * + * @param the value type that the page holds + */ + public interface NextPageFetcher extends Serializable { + + Page getNextPage(); + } + + static class PageIterator extends AbstractIterator { + + private Iterator currentPageIterator; + private Page currentPage; + + PageIterator(Page currentPage) { + this.currentPageIterator = currentPage.getValues().iterator(); + this.currentPage = currentPage; + } + + @Override + protected T computeNext() { + while (!currentPageIterator.hasNext()) { + currentPage = currentPage.getNextPage(); + if (currentPage == null) { + return endOfData(); + } + currentPageIterator = currentPage.getValues().iterator(); + } + return currentPageIterator.next(); + } + } + + /** + * Creates a {@code PageImpl} object. In order for the object to be serializable the {@code + * results} parameter must be serializable. + */ + public PageImpl(NextPageFetcher pageFetcher, String cursor, Iterable results) { + this.pageFetcher = pageFetcher; + this.cursor = cursor; + this.results = results; + } + + @Override + public Iterable getValues() { + return results == null ? Collections.emptyList() : results; + } + + @Override + public Iterable iterateAll() { + return new Iterable() { + @Override + public Iterator iterator() { + return new PageIterator<>(PageImpl.this); + } + }; + } + + @Override + public boolean hasNextPage() { + return getNextPageToken() != null && !getNextPageToken().equals(""); + } + + @Override + public String getNextPageToken() { + return cursor; + } + + @Override + public Page getNextPage() { + if (cursor == null || pageFetcher == null) { + return null; + } + return pageFetcher.getNextPage(); + } + + @Override + public int hashCode() { + return Objects.hash(cursor, results); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof PageImpl)) { + return false; + } + PageImpl other = (PageImpl) obj; + return Objects.equals(cursor, other.cursor) && Objects.equals(results, other.results); + } + + /** + * Utility method to construct the options map for the next page request. + * + * @param the value type that the page holds. Instances of {@code T} should be {@code + * Serializable} + * @param pageTokenOption the key for the next page cursor option in the options map + * @param cursor the cursor for the next page + * @param optionMap the previous options map + * @return the options map for the next page request + */ + public static Map nextRequestOptions( + T pageTokenOption, String cursor, Map optionMap) { + ImmutableMap.Builder builder = ImmutableMap.builder(); + if (cursor != null) { + builder.put(pageTokenOption, cursor); + } + for (Map.Entry option : optionMap.entrySet()) { + if (!Objects.equals(option.getKey(), pageTokenOption)) { + builder.put(option.getKey(), option.getValue()); + } + } + return builder.build(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java new file mode 100644 index 000000000000..8c77bb9e911f --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java @@ -0,0 +1,34 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import com.google.api.core.InternalApi; + +@InternalApi("This class should only be used within google-cloud-java") +public final class PlatformInformation { + public static final String GAE_RUNTIME = System.getenv("GAE_RUNTIME"); + + private PlatformInformation() {} + + public static boolean isOnGAEStandard7() { + return "java7".equals(GAE_RUNTIME); + } + + public static boolean isOnGAEStandard8() { + return "java8".equals(GAE_RUNTIME); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java new file mode 100644 index 000000000000..1c5b78c9ea04 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -0,0 +1,455 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static com.google.common.base.Preconditions.checkArgument; +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.api.core.ApiFunction; +import com.google.api.core.InternalApi; +import com.google.common.base.MoreObjects; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.io.BaseEncoding; +import com.google.protobuf.ByteString; +import com.google.type.Expr; +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.LinkedList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Set; + +/** + * Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access + * settings for Cloud Platform resources. A policy is a list of bindings. A binding assigns a set of + * identities to a role, where the identities can be user accounts, Google groups, Google domains, + * and service accounts. A role is a named list of permissions defined by IAM. + * + * @see Policy + */ +public final class Policy implements Serializable { + + private static final long serialVersionUID = -3348914530232544290L; + private final ImmutableList bindingsList; + private final String etag; + private final int version; + + /* + * Return true if Policy is version 3 OR bindings has a conditional binding. + * Return false if Policy is version 1 AND bindings does not have a conditional binding. + */ + private static boolean isConditional(int version, List bindingsList) { + for (Binding binding : bindingsList) { + if (binding.getCondition() != null) { + return true; + } + } + if (version == 3) { + return true; + } + return false; + } + + public abstract static class Marshaller { + + @InternalApi("This class should only be extended within google-cloud-java") + protected Marshaller() {} + + protected static final ApiFunction IDENTITY_VALUE_OF_FUNCTION = + new ApiFunction() { + @Override + public Identity apply(String identityPb) { + return Identity.valueOf(identityPb); + } + }; + protected static final ApiFunction IDENTITY_STR_VALUE_FUNCTION = + new ApiFunction() { + @Override + public String apply(Identity identity) { + return identity.strValue(); + } + }; + + protected abstract Policy fromPb(T policyPb); + + protected abstract T toPb(Policy policy); + } + + public static class DefaultMarshaller extends Marshaller { + + @Override + protected Policy fromPb(com.google.iam.v1.Policy policyPb) { + ImmutableList.Builder bindingsListBuilder = ImmutableList.builder(); + for (com.google.iam.v1.Binding bindingPb : policyPb.getBindingsList()) { + Binding.Builder convertedBinding = + Binding.newBuilder() + .setRole(bindingPb.getRole()) + .setMembers(bindingPb.getMembersList()); + if (bindingPb.hasCondition()) { + Expr expr = bindingPb.getCondition(); + convertedBinding.setCondition( + Condition.newBuilder() + .setTitle(expr.getTitle()) + .setDescription(expr.getDescription()) + .setExpression(expr.getExpression()) + .build()); + } + bindingsListBuilder.add(convertedBinding.build()); + } + return newBuilder() + .setBindings(bindingsListBuilder.build()) + .setEtag( + policyPb.getEtag().isEmpty() + ? null + : BaseEncoding.base64().encode(policyPb.getEtag().toByteArray())) + .setVersion(policyPb.getVersion()) + .build(); + } + + @Override + protected com.google.iam.v1.Policy toPb(Policy policy) { + com.google.iam.v1.Policy.Builder policyBuilder = com.google.iam.v1.Policy.newBuilder(); + List bindingPbList = new LinkedList<>(); + for (Binding binding : policy.getBindingsList()) { + com.google.iam.v1.Binding.Builder bindingBuilder = com.google.iam.v1.Binding.newBuilder(); + bindingBuilder.setRole(binding.getRole()); + bindingBuilder.addAllMembers(binding.getMembers()); + if (binding.getCondition() != null) { + Condition condition = binding.getCondition(); + bindingBuilder.setCondition( + Expr.newBuilder() + .setTitle(condition.getTitle()) + .setDescription(condition.getDescription()) + .setExpression(condition.getExpression()) + .build()); + } + bindingPbList.add(bindingBuilder.build()); + } + policyBuilder.addAllBindings(bindingPbList); + if (policy.etag != null) { + policyBuilder.setEtag(ByteString.copyFrom(BaseEncoding.base64().decode(policy.etag))); + } + policyBuilder.setVersion(policy.version); + return policyBuilder.build(); + } + } + + /** A builder for {@code Policy} objects. */ + public static class Builder { + private final List bindingsList = new ArrayList(); + private String etag; + private int version; + + @InternalApi("This class should only be extended within google-cloud-java") + protected Builder() {} + + @InternalApi("This class should only be extended within google-cloud-java") + protected Builder(Policy policy) { + bindingsList.addAll(policy.bindingsList); + setEtag(policy.etag); + setVersion(policy.version); + } + + /** + * Replaces the builder's map of bindings with the given map of bindings. + * + * @throws NullPointerException if the given map is null or contains any null keys or values + * @throws IllegalArgumentException if any identities in the given map are null or if policy + * version is equal to 3 or has conditional bindings because conditional policies are not + * supported + */ + public final Builder setBindings(Map> bindings) { + checkNotNull(bindings, "The provided map of bindings cannot be null."); + checkArgument( + !isConditional(this.version, this.bindingsList), + "setBindings() is only supported with version 1 policies and non-conditional policies"); + for (Map.Entry> binding : bindings.entrySet()) { + checkNotNull(binding.getKey(), "The role cannot be null."); + Set identities = binding.getValue(); + checkNotNull(identities, "A role cannot be assigned to a null set of identities."); + checkArgument(!identities.contains(null), "Null identities are not permitted."); + } + // convert into List format + this.bindingsList.clear(); + for (Map.Entry> binding : bindings.entrySet()) { + Binding.Builder bindingBuilder = Binding.newBuilder(); + bindingBuilder.setRole(binding.getKey().getValue()); + ImmutableList.Builder membersBuilder = ImmutableList.builder(); + for (Identity identity : binding.getValue()) { + membersBuilder.add(identity.strValue()); + } + bindingBuilder.setMembers(membersBuilder.build()); + this.bindingsList.add(bindingBuilder.build()); + } + return this; + } + + /** + * Replaces the builder's List of bindings with the given List of Bindings. + * + * @throws NullPointerException if the given list is null, role is null, or contains any null + * members in bindings + */ + public final Builder setBindings(List bindings) { + this.bindingsList.clear(); + for (Binding binding : bindings) { + Binding.Builder bindingBuilder = Binding.newBuilder(); + bindingBuilder.setMembers(ImmutableList.copyOf(binding.getMembers())); + bindingBuilder.setRole(binding.getRole()); + bindingBuilder.setCondition(binding.getCondition()); + this.bindingsList.add(bindingBuilder.build()); + } + return this; + } + + /** + * Removes the role (and all identities associated with that role) from the policy. + * + * @throws IllegalArgumentException if policy version is equal to 3 or has conditional bindings + * because conditional policies are not supported + */ + public final Builder removeRole(Role role) { + checkArgument( + !isConditional(this.version, this.bindingsList), + "removeRole() is only supported with version 1 policies and non-conditional policies"); + Iterator iterator = bindingsList.iterator(); + + while (iterator.hasNext()) { + Binding binding = (Binding) iterator.next(); + if (binding.getRole().equals(role.getValue())) { + iterator.remove(); + return this; + } + } + return this; + } + + /** + * Adds one or more identities to the policy under the role specified. + * + * @throws NullPointerException if the role or any of the identities is null. + * @throws IllegalArgumentException if policy version is equal to 3 or has conditional bindings. + */ + public final Builder addIdentity(Role role, Identity first, Identity... others) { + checkArgument( + !isConditional(this.version, this.bindingsList), + "addIdentity() is only supported with version 1 policies and non-conditional policies"); + String nullIdentityMessage = "Null identities are not permitted."; + checkNotNull(first, nullIdentityMessage); + checkNotNull(others, nullIdentityMessage); + checkNotNull(role, "The role cannot be null."); + for (int i = 0; i < bindingsList.size(); i++) { + Binding binding = bindingsList.get(i); + if (binding.getRole().equals(role.getValue())) { + Binding.Builder bindingBuilder = binding.toBuilder(); + ImmutableSet.Builder membersBuilder = ImmutableSet.builder(); + membersBuilder.addAll(binding.getMembers()); + membersBuilder.add(first.strValue()); + for (Identity identity : others) { + membersBuilder.add(identity.strValue()); + } + bindingBuilder.setMembers(membersBuilder.build()); + bindingsList.set(i, bindingBuilder.build()); + return this; + } + } + // Binding does not yet exist. + Binding.Builder bindingBuilder = Binding.newBuilder().setRole(role.getValue()); + ImmutableSet.Builder membersBuilder = ImmutableSet.builder(); + membersBuilder.add(first.strValue()); + for (Identity identity : others) { + membersBuilder.add(identity.strValue()); + } + bindingBuilder.setMembers(membersBuilder.build()); + bindingsList.add(bindingBuilder.build()); + return this; + } + + /** + * Removes one or more identities from an existing binding. Does nothing if the binding + * associated with the provided role doesn't exist. + * + * @throws IllegalArgumentException if policy version is equal to 3 or has conditional bindings + */ + public final Builder removeIdentity(Role role, Identity first, Identity... others) { + checkArgument( + !isConditional(this.version, this.bindingsList), + "removeIdentity() is only supported with version 1 policies and non-conditional policies"); + String nullIdentityMessage = "Null identities are not permitted."; + checkNotNull(first, nullIdentityMessage); + checkNotNull(others, nullIdentityMessage); + checkNotNull(role, "The role cannot be null."); + for (int i = 0; i < bindingsList.size(); i++) { + Binding binding = bindingsList.get(i); + if (binding.getRole().equals(role.getValue())) { + Binding.Builder bindingBuilder = binding.toBuilder().removeMembers(first.strValue()); + for (Identity identity : others) { + bindingBuilder.removeMembers(identity.strValue()); + } + Binding updatedBindings = bindingBuilder.build(); + bindingsList.set(i, updatedBindings); + break; + } + } + + Iterator iterator = bindingsList.iterator(); + while (iterator.hasNext()) { + Binding binding = (Binding) iterator.next(); + if (binding.getRole().equals(role.getValue()) && binding.getMembers().size() == 0) { + iterator.remove(); + break; + } + } + + return this; + } + + /** + * Sets the policy's etag. + * + *

Etags are used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make + * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid + * race conditions. An etag is returned in the response to getIamPolicy, and systems are + * expected to put that etag in the request to setIamPolicy to ensure that their change will be + * applied to the same version of the policy. If no etag is provided in the call to + * setIamPolicy, then the existing policy is overwritten blindly. + */ + public final Builder setEtag(String etag) { + this.etag = etag; + return this; + } + + /** Sets the version of the policy. */ + public final Builder setVersion(int version) { + this.version = version; + return this; + } + + /** Creates a {@code Policy} object. */ + public final Policy build() { + return new Policy(this); + } + } + + private Policy(Builder builder) { + this.bindingsList = ImmutableList.copyOf(builder.bindingsList); + this.etag = builder.etag; + this.version = builder.version; + } + + /** Returns a builder containing the properties of this IAM Policy. */ + public Builder toBuilder() { + return new Builder(this); + } + + /** + * Returns the map of bindings that comprises the policy. + * + * @throws IllegalArgumentException if policy version is equal to 3 or has conditional bindings + */ + public Map> getBindings() { + checkArgument( + !isConditional(this.version, this.bindingsList), + "getBindings() is only supported with version 1 policies and non-conditional policies"); + ImmutableMap.Builder> bindingsV1Builder = ImmutableMap.builder(); + for (Binding binding : bindingsList) { + ImmutableSet.Builder identities = ImmutableSet.builder(); + for (String member : binding.getMembers()) { + identities.add(Identity.valueOf(member)); + } + bindingsV1Builder.put(Role.of(binding.getRole()), identities.build()); + } + return bindingsV1Builder.build(); + } + + /** Returns the list of bindings that comprises the policy for version 3. */ + public ImmutableList getBindingsList() { + return bindingsList; + } + + /** + * Returns the policy's etag. + * + *

Etags are used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make use + * of the etag in the read-modify-write cycle to perform policy updates in order to avoid race + * conditions. An etag is returned in the response to getIamPolicy, and systems are expected to + * put that etag in the request to setIamPolicy to ensure that their change will be applied to the + * same version of the policy. If no etag is provided in the call to setIamPolicy, then the + * existing policy is overwritten blindly. + */ + public String getEtag() { + return etag; + } + + /** + * Returns the version of the policy. The default version is 0, meaning only the "owner", + * "editor", and "viewer" roles are permitted. If the version is 1, you may also use other roles. + */ + public int getVersion() { + return version; + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("bindings", bindingsList) + .add("etag", etag) + .add("version", version) + .toString(); + } + + @Override + public int hashCode() { + return Objects.hash(getClass(), bindingsList, etag, version); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof Policy)) { + return false; + } + Policy other = (Policy) obj; + if (bindingsList == null && other.getBindingsList() == null) { + return true; + } + if ((bindingsList == null && other.getBindingsList() != null) + || bindingsList != null && other.getBindingsList() == null + || bindingsList.size() != other.getBindingsList().size()) { + return false; + } + for (Binding binding : bindingsList) { + if (!other.getBindingsList().contains(binding)) { + return false; + } + } + return Objects.equals(etag, other.getEtag()) && version == other.getVersion(); + } + + /** Returns a builder for {@code Policy} objects. */ + public static Builder newBuilder() { + return new Builder(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java new file mode 100644 index 000000000000..effc33ee8e43 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -0,0 +1,108 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import java.io.Closeable; +import java.io.IOException; +import java.nio.channels.ReadableByteChannel; + +/** + * A channel for reading data from a Google Cloud object. + * + *

Implementations of this class may buffer data internally to reduce remote calls. This + * interface implements {@link Restorable} to allow saving the reader's state to continue reading + * afterwards. + */ +public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable { + + /** + * Overridden to remove IOException. + * + * @see java.nio.channels.Channel#close() + */ + @Override + void close(); + + /** Set the offset to read from. */ + void seek(long position) throws IOException; + + /** + * Sets the minimum size that will be read by a single RPC. Read data will be locally buffered + * until consumed. + */ + void setChunkSize(int chunkSize); + + /** + * Captures the read channel state so that it can be saved and restored afterwards. + * + * @return a {@link RestorableState} object that contains the read channel state and can restore + * it afterwards. + */ + @Override + RestorableState capture(); + + /** + * Limit the maximum number of bytes to be read from the objects content, counting from the + * beginning of the object, which will be available to read from this channel. If the limit is + * larger than the actual size of the content this will have no material impact. + * + *

If used in conjunction with {@link #seek(long)} the total number of returned bytes from this + * channel will be reduced by the number of bytes specified to seek. + * + *

The value provided as {@code limit} will define a left-closed, + * right-open interval along with either {@code 0} or any value provided to {@link + * #seek(long)}, i.e. {@code [}{@link #seek(long)}{@code , }{@link #limit(long)}{@code )}. + * + *

An example to help illustrate the relationship

+ * + * Imagine some data {@code [A, B, C, D, E, F, G, H, I, J]}, 10 bytes total. + * + *
    + *
  1. {@code limit(5)} would produce {@code [A, B, C, D, E]} + *
  2. {@code seek(8)} would produce {@code [I, J]} + *
  3. {@code seek(2)} {@code limit(5)} would produce {@code [C, D, E]} + *
  4. {@code seek(3)} {@code limit(3)} would produce {@code []} + *
+ * + *

NOTE:Implementers are not required to return a new instance from this method, however + * they are allowed to. Users of this method should always use the instance returned from this + * method. + * + *

Default Implementation:By default, this method will simply return {@code this}. + * + * @param limit the maximum number of bytes to limit this channel to + * @return The instance of channel which will respect the limit. + * @throws UnsupportedOperationException If the {@code this} instances does not support limiting + * @since 2.4.0 + */ + default ReadChannel limit(long limit) { + return this; + } + + /** + * The currently defined limit for this channel. Initial value is {@link Long#MAX_VALUE} + * + * @return the current limit for this channel + * @throws UnsupportedOperationException If the {@code this} instances does not support limiting + * @since 2.4.0 + */ + default long limit() { + return Long.MAX_VALUE; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java new file mode 100644 index 000000000000..7feedf0c6e4c --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java @@ -0,0 +1,49 @@ +/* + * Copyright 2015 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 + * + * http://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; + +/** + * Implementation of this interface can persist their state and restore from it. + * + *

A typical capture usage: + * + *

{@code
+ * X restorableObj; // X instanceof Restorable
+ * RestorableState state = restorableObj.capture();
+ * .. persist state
+ * }
+ * + *

A typical restore usage: + * + *

{@code
+ * RestorableState state = ... // read from persistence
+ * X restorableObj = state.restore();
+ * ...
+ * }
+ * + * @param the restorable object's type + */ +public interface Restorable> { + + /** + * Captures the state of this object. + * + * @return a {@link RestorableState} instance that contains the state for this object and can + * restore it afterwards. + */ + RestorableState capture(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java new file mode 100644 index 000000000000..53a6458f1fd0 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java @@ -0,0 +1,32 @@ +/* + * Copyright 2015 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 + * + * http://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; + +/** + * A common interface for restorable states. Implementations of {@code RestorableState} are capable + * of saving the state of an object to restore it for later use. + * + *

Implementations of this class must implement {@link java.io.Serializable} to ensure that the + * state of a the object can be correctly serialized. + * + * @param the restored object's type + */ +public interface RestorableState> { + + /** Returns an object whose internal state reflects the one saved in the invocation object. */ + T restore(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java new file mode 100644 index 000000000000..986fd355879c --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -0,0 +1,88 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import com.google.api.core.ApiClock; +import com.google.api.core.BetaApi; +import com.google.api.gax.retrying.DirectRetryingExecutor; +import com.google.api.gax.retrying.ExponentialPollAlgorithm; +import com.google.api.gax.retrying.ExponentialRetryAlgorithm; +import com.google.api.gax.retrying.ResultRetryAlgorithm; +import com.google.api.gax.retrying.RetryAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.retrying.RetryingExecutor; +import com.google.api.gax.retrying.RetryingFuture; +import com.google.api.gax.retrying.TimedRetryAlgorithm; +import java.util.concurrent.Callable; +import java.util.concurrent.ExecutionException; + +/** + * Utility class for retrying operations. For more details about the parameters, see {@link + * RetrySettings}. In case if retrying is unsuccessful, {@link RetryHelperException} will be thrown. + */ +@BetaApi +public class RetryHelper { + public static V runWithRetries( + Callable callable, + RetrySettings retrySettings, + ResultRetryAlgorithm resultRetryAlgorithm, + ApiClock clock) + throws RetryHelperException { + try { + // Suppressing should be ok as a workaraund. Current and only ResultRetryAlgorithm + // implementation does not use response at all, so ignoring its type is ok. + @SuppressWarnings("unchecked") + ResultRetryAlgorithm algorithm = (ResultRetryAlgorithm) resultRetryAlgorithm; + return run(callable, new ExponentialRetryAlgorithm(retrySettings, clock), algorithm); + } catch (Exception e) { + // TODO: remove RetryHelperException, throw InterruptedException or + // ExecutionException#getCause() explicitly + throw new RetryHelperException(e.getCause()); + } + } + + public static V poll( + Callable callable, + RetrySettings pollSettings, + ResultRetryAlgorithm resultPollAlgorithm, + ApiClock clock) + throws ExecutionException, InterruptedException { + return run(callable, new ExponentialPollAlgorithm(pollSettings, clock), resultPollAlgorithm); + } + + private static V run( + Callable callable, + TimedRetryAlgorithm timedAlgorithm, + ResultRetryAlgorithm resultAlgorithm) + throws ExecutionException, InterruptedException { + RetryAlgorithm retryAlgorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm); + RetryingExecutor executor = new DirectRetryingExecutor<>(retryAlgorithm); + + RetryingFuture retryingFuture = executor.createFuture(callable); + executor.submit(retryingFuture); + return retryingFuture.get(); + } + + public static class RetryHelperException extends RuntimeException { + + private static final long serialVersionUID = -8519852520090965314L; + + RetryHelperException(Throwable cause) { + super(cause); + } + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java new file mode 100644 index 000000000000..a1069b48a265 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java @@ -0,0 +1,150 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.api.core.BetaApi; +import com.google.api.gax.retrying.RetrySettings; +import java.io.Serializable; +import org.threeten.bp.Duration; + +/** + * This class represents an options wrapper around the {@link RetrySettings} class and is an + * alternative way of initializing it. The retry options are usually provided in a form of varargs + * for methods that wait for changes in the status of a resource, do poll operations or retry on + * failures. + */ +@BetaApi +public class RetryOption implements Serializable { + + private static final long serialVersionUID = 3622837212525370224L; + + private enum OptionType { + TOTAL_TIMEOUT, + INITIAL_RETRY_DELAY, + RETRY_DELAY_MULTIPLIER, + MAX_RETRY_DELAY, + MAX_ATTEMPTS, + JITTERED + } + + private final OptionType type; + private final Object value; + + private RetryOption(OptionType type, Object value) { + this.type = checkNotNull(type); + this.value = checkNotNull(value); + } + + /** See {@link RetrySettings#getTotalTimeout()}. */ + public static RetryOption totalTimeout(Duration totalTimeout) { + return new RetryOption(OptionType.TOTAL_TIMEOUT, totalTimeout); + } + + /** See {@link RetrySettings#getInitialRetryDelay()}. */ + public static RetryOption initialRetryDelay(Duration initialRetryDelay) { + return new RetryOption(OptionType.INITIAL_RETRY_DELAY, initialRetryDelay); + } + + /** See {@link RetrySettings#getRetryDelayMultiplier()}. */ + public static RetryOption retryDelayMultiplier(double retryDelayMultiplier) { + return new RetryOption(OptionType.RETRY_DELAY_MULTIPLIER, retryDelayMultiplier); + } + + /** See {@link RetrySettings#getMaxRetryDelay()}. */ + public static RetryOption maxRetryDelay(Duration maxRetryDelay) { + return new RetryOption(OptionType.MAX_RETRY_DELAY, maxRetryDelay); + } + + /** See {@link RetrySettings#getMaxAttempts()}. */ + public static RetryOption maxAttempts(int maxAttempts) { + return new RetryOption(OptionType.MAX_ATTEMPTS, maxAttempts); + } + + /** See {@link RetrySettings#isJittered()} ()}. */ + public static RetryOption jittered(boolean jittered) { + return new RetryOption(OptionType.JITTERED, jittered); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + + RetryOption that = (RetryOption) o; + + if (type != that.type) { + return false; + } + return value.equals(that.value); + } + + @Override + public int hashCode() { + int result = type.hashCode(); + result = 31 * result + value.hashCode(); + return result; + } + + /** + * Creates a new {@code RetrySettings} instance, merging provided settings and multiple {@code + * RetryOptions}, each of which represents a single property in {@code RetrySettings}. It is an + * alternative way of initializing {@link RetrySettings} instances. + * + * @param settings retry settings + * @param options zero or more Retry + * @return new {@code RetrySettings} instance, which is a result of merging {@code options} into + * {@code settings}, i.e. each element in {@code options}, if present, overrides corresponding + * property in {@code settings} + */ + public static RetrySettings mergeToSettings(RetrySettings settings, RetryOption... options) { + if (options.length <= 0) { + return settings; + } + RetrySettings.Builder builder = settings.toBuilder(); + for (RetryOption option : options) { + switch (option.type) { + case TOTAL_TIMEOUT: + builder.setTotalTimeout((Duration) option.value); + break; + case INITIAL_RETRY_DELAY: + builder.setInitialRetryDelay((Duration) option.value); + break; + case RETRY_DELAY_MULTIPLIER: + builder.setRetryDelayMultiplier((Double) option.value); + break; + case MAX_RETRY_DELAY: + builder.setMaxRetryDelay((Duration) option.value); + break; + case MAX_ATTEMPTS: + builder.setMaxAttempts((Integer) option.value); + break; + case JITTERED: + builder.setJittered((Boolean) option.value); + break; + default: + throw new IllegalArgumentException("Unknown option type: " + option.type); + } + } + return builder.build(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java new file mode 100644 index 000000000000..e75dd5f8f284 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java @@ -0,0 +1,116 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static com.google.common.base.Preconditions.checkNotNull; + +import java.io.Serializable; +import java.util.Objects; + +/** + * A role in a IAM {@link Policy}. Project owners can grant access to team members to access + * project's resources and APIs by granting IAM roles to team members. + * + * @see Viewing the Grantable + * Roles on Resources + * @see Understanding Roles + */ +public final class Role implements Serializable { + + private static final long serialVersionUID = -7779252712160972508L; + private static final String ROLE_PREFIX = "roles/"; + + private final String value; + + private Role(String value) { + this.value = value; + } + + /** + * Returns the string identifier for this role. For example, {@code "roles/viewer"}, {@code + * "roles/editor"}, or {@code "roles/owner"}. + */ + public String getValue() { + return value; + } + + /** + * Returns the viewer role. Encapsulates the permission for read-only actions that preserve state + * of a resource. + * + * @see Understanding Roles + */ + public static Role viewer() { + return of("viewer"); + } + + /** + * Returns the editor role. Encapsulates all viewer's permissions and permissions for actions that + * modify the state of a resource. + * + * @see Understanding Roles + */ + public static Role editor() { + return of("editor"); + } + + /** + * Returns the owner role. Encapsulates all editor's permissions and permissions to manage access + * control for a resource or manage the billing options for a project. + * + * @see Understanding Roles + */ + public static Role owner() { + return of("owner"); + } + + /** + * Returns a new role given its string value. + * + *

If the value contains no slash character ({@code '/'}), the prefix {@code "roles/""} is + * prepended. This slightly simplifies usage for predefined roles. For custom roles, call this + * method with the fully-qualified name, eg {@code "projects/XXX/roles/YYY"}. + * + * @param value the string value for the role + * @see Viewing the Grantable + * Roles on Resources + */ + public static Role of(String value) { + checkNotNull(value); + if (!value.contains("/")) { + value = ROLE_PREFIX + value; + } + return new Role(value); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public String toString() { + return value; + } + + @Override + public boolean equals(Object obj) { + return obj instanceof Role && Objects.equals(value, ((Role) obj).getValue()); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java new file mode 100644 index 000000000000..bfacabdf7f80 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java @@ -0,0 +1,27 @@ +/* + * Copyright 2015 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 + * + * http://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; + +/** + * Interface for service objects. + * + * @param the {@code ServiceOptions} subclass corresponding to the service + */ +public interface Service> { + + OptionsT getOptions(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java new file mode 100644 index 000000000000..7151740d9956 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java @@ -0,0 +1,30 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import com.google.cloud.spi.ServiceRpcFactory; +import java.io.Serializable; + +public interface ServiceDefaults< + ServiceT extends Service, OptionsT extends ServiceOptions> + extends Serializable { + ServiceFactory getDefaultServiceFactory(); + + ServiceRpcFactory getDefaultRpcFactory(); + + TransportOptions getDefaultTransportOptions(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java new file mode 100644 index 000000000000..3b8fefe52dda --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java @@ -0,0 +1,32 @@ +/* + * Copyright 2015 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 + * + * http://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; + +/** + * A base interface for all service factories. + * + *

Implementation must provide a public no-arg constructor. Loading of a factory implementation + * is done via {@link java.util.ServiceLoader}. + * + * @param the service subclass + * @param the {@code ServiceOptions} subclass corresponding to the service + */ +@SuppressWarnings("rawtypes") +public interface ServiceFactory { + + ServiceT create(ServiceOptionsT serviceOptions); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java new file mode 100644 index 000000000000..231b9040c949 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -0,0 +1,770 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import static com.google.common.base.MoreObjects.firstNonNull; +import static com.google.common.base.Preconditions.checkArgument; +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.api.client.http.GenericUrl; +import com.google.api.client.http.HttpHeaders; +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpRequestFactory; +import com.google.api.client.http.HttpResponse; +import com.google.api.client.http.HttpTransport; +import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.api.client.json.GenericJson; +import com.google.api.client.json.JsonFactory; +import com.google.api.client.json.JsonObjectParser; +import com.google.api.client.json.gson.GsonFactory; +import com.google.api.core.ApiClock; +import com.google.api.core.BetaApi; +import com.google.api.core.CurrentMillisClock; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.FixedHeaderProvider; +import com.google.api.gax.rpc.HeaderProvider; +import com.google.api.gax.rpc.NoHeaderProvider; +import com.google.auth.Credentials; +import com.google.auth.oauth2.GoogleCredentials; +import com.google.auth.oauth2.QuotaProjectIdProvider; +import com.google.auth.oauth2.ServiceAccountCredentials; +import com.google.cloud.spi.ServiceRpcFactory; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Iterables; +import com.google.common.io.Files; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.FileReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.ObjectInputStream; +import java.io.Serializable; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.util.Locale; +import java.util.Map; +import java.util.Objects; +import java.util.ServiceLoader; +import java.util.Set; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import org.threeten.bp.Duration; + +/** + * Abstract class representing service options. + * + * @param the service subclass + * @param the {@code ServiceOptions} subclass corresponding to the service + */ +public abstract class ServiceOptions< + ServiceT extends Service, OptionsT extends ServiceOptions> + implements Serializable { + + public static final String CREDENTIAL_ENV_NAME = "GOOGLE_APPLICATION_CREDENTIALS"; + + private static final String DEFAULT_HOST = "https://www.googleapis.com"; + private static final String LEGACY_PROJECT_ENV_NAME = "GCLOUD_PROJECT"; + private static final String PROJECT_ENV_NAME = "GOOGLE_CLOUD_PROJECT"; + + private static final RetrySettings DEFAULT_RETRY_SETTINGS = + getDefaultRetrySettingsBuilder().build(); + private static final RetrySettings NO_RETRY_SETTINGS = + getDefaultRetrySettingsBuilder().setMaxAttempts(1).build(); + + private static final long serialVersionUID = 9198896031667942014L; + protected final String clientLibToken; + + private final String projectId; + private final String host; + private final RetrySettings retrySettings; + private final String serviceRpcFactoryClassName; + private final String serviceFactoryClassName; + private final ApiClock clock; + protected Credentials credentials; + private final TransportOptions transportOptions; + private final HeaderProvider headerProvider; + private final String quotaProjectId; + + private transient ServiceRpcFactory serviceRpcFactory; + private transient ServiceFactory serviceFactory; + private transient ServiceT service; + private transient ServiceRpc rpc; + + /** + * Builder for {@code ServiceOptions}. + * + * @param the service subclass + * @param the {@code ServiceOptions} subclass corresponding to the service + * @param the {@code ServiceOptions} builder + */ + public abstract static class Builder< + ServiceT extends Service, + OptionsT extends ServiceOptions, + B extends Builder> { + + private final ImmutableSet allowedClientLibTokens = + ImmutableSet.of(ServiceOptions.getGoogApiClientLibName()); + private String projectId; + private String host; + protected Credentials credentials; + private RetrySettings retrySettings; + private ServiceFactory serviceFactory; + private ServiceRpcFactory serviceRpcFactory; + private ApiClock clock; + private TransportOptions transportOptions; + private HeaderProvider headerProvider; + private String clientLibToken = ServiceOptions.getGoogApiClientLibName(); + private String quotaProjectId; + + @InternalApi("This class should only be extended within google-cloud-java") + protected Builder() {} + + @InternalApi("This class should only be extended within google-cloud-java") + protected Builder(ServiceOptions options) { + projectId = options.projectId; + host = options.host; + credentials = options.credentials; + retrySettings = options.retrySettings; + serviceFactory = options.serviceFactory; + serviceRpcFactory = options.serviceRpcFactory; + clock = options.clock; + transportOptions = options.transportOptions; + clientLibToken = options.clientLibToken; + quotaProjectId = options.quotaProjectId; + } + + protected abstract ServiceOptions build(); + + @SuppressWarnings("unchecked") + protected B self() { + return (B) this; + } + + /** Sets the service factory. */ + public B setServiceFactory(ServiceFactory serviceFactory) { + this.serviceFactory = serviceFactory; + return self(); + } + + /** + * Sets the service's clock. The clock is mainly used for testing purpose. {@link ApiClock} will + * be replaced by Java8's {@code java.time.Clock}. + * + * @param clock the clock to set + * @return the builder + */ + public B setClock(ApiClock clock) { + this.clock = clock; + return self(); + } + + /** + * Sets the project ID. If no project ID is set, {@link #getDefaultProjectId()} will be used to + * attempt getting the project ID from the environment. + * + * @return the builder + */ + public B setProjectId(String projectId) { + this.projectId = projectId; + return self(); + } + + /** + * Sets service host. + * + * @return the builder + */ + public B setHost(String host) { + this.host = host; + return self(); + } + + /** + * Sets the service authentication credentials. If no credentials are set, {@link + * GoogleCredentials#getApplicationDefault()} will be used to attempt getting credentials from + * the environment. Use {@link NoCredentials#getInstance()} to skip authentication, this is + * typically useful when using local service emulators. + * + * @param credentials authentication credentials, should not be {@code null} + * @return the builder + * @throws NullPointerException if {@code credentials} is {@code null}. To disable + * authentication use {@link NoCredentials#getInstance()} + */ + public B setCredentials(Credentials credentials) { + this.credentials = checkNotNull(credentials); + // set project id if available + if (this.projectId == null && credentials instanceof ServiceAccountCredentials) { + this.projectId = ((ServiceAccountCredentials) credentials).getProjectId(); + } + + if (this.quotaProjectId == null && credentials instanceof QuotaProjectIdProvider) { + this.quotaProjectId = ((QuotaProjectIdProvider) credentials).getQuotaProjectId(); + } + return self(); + } + + /** + * Sets configuration parameters for request retries. + * + * @return the builder + */ + public B setRetrySettings(RetrySettings retrySettings) { + this.retrySettings = retrySettings; + return self(); + } + + /** + * Sets the factory for rpc services. + * + * @return the builder + */ + public B setServiceRpcFactory(ServiceRpcFactory serviceRpcFactory) { + this.serviceRpcFactory = serviceRpcFactory; + return self(); + } + + /** + * Sets the transport options. + * + * @return the builder + */ + public B setTransportOptions(TransportOptions transportOptions) { + this.transportOptions = transportOptions; + return self(); + } + + /** + * Sets the static header provider. The header provider will be called during client + * construction only once. The headers returned by the provider will be cached and supplied as + * is for each request issued by the constructed client. Some reserved headers can be overridden + * (e.g. Content-Type) or merged with the default value (e.g. User-Agent) by the underlying + * transport layer. + * + * @param headerProvider the header provider + * @return the builder + */ + @BetaApi + public B setHeaderProvider(HeaderProvider headerProvider) { + this.headerProvider = headerProvider; + return self(); + } + + @InternalApi + public B setClientLibToken(String clientLibToken) { + Preconditions.checkArgument( + getAllowedClientLibTokens().contains(clientLibToken), "Illegal client lib token"); + this.clientLibToken = clientLibToken; + return self(); + } + + /** + * Sets the quotaProjectId that specifies the project used for quota and billing purposes. + * + * @see See system parameter + * $userProject + */ + public B setQuotaProjectId(String quotaProjectId) { + this.quotaProjectId = quotaProjectId; + return self(); + } + + protected Set getAllowedClientLibTokens() { + return allowedClientLibTokens; + } + } + + @InternalApi("This class should only be extended within google-cloud-java") + protected ServiceOptions( + Class> serviceFactoryClass, + Class> rpcFactoryClass, + Builder builder, + ServiceDefaults serviceDefaults) { + projectId = builder.projectId != null ? builder.projectId : getDefaultProject(); + if (projectIdRequired()) { + checkArgument( + projectId != null, + "A project ID is required for this service but could not be determined from the builder " + + "or the environment. Please set a project ID using the builder."); + } + host = firstNonNull(builder.host, getDefaultHost()); + credentials = builder.credentials != null ? builder.credentials : defaultCredentials(); + retrySettings = firstNonNull(builder.retrySettings, getDefaultRetrySettings()); + serviceFactory = + firstNonNull( + builder.serviceFactory, + getFromServiceLoader(serviceFactoryClass, serviceDefaults.getDefaultServiceFactory())); + serviceFactoryClassName = serviceFactory.getClass().getName(); + serviceRpcFactory = + firstNonNull( + builder.serviceRpcFactory, + getFromServiceLoader(rpcFactoryClass, serviceDefaults.getDefaultRpcFactory())); + serviceRpcFactoryClassName = serviceRpcFactory.getClass().getName(); + clock = firstNonNull(builder.clock, CurrentMillisClock.getDefaultClock()); + transportOptions = + firstNonNull(builder.transportOptions, serviceDefaults.getDefaultTransportOptions()); + headerProvider = firstNonNull(builder.headerProvider, new NoHeaderProvider()); + clientLibToken = builder.clientLibToken; + quotaProjectId = + builder.quotaProjectId != null + ? builder.quotaProjectId + : getValueFromCredentialsFile(getCredentialsPath(), "quota_project_id"); + } + + private static String getCredentialsPath() { + return System.getProperty(CREDENTIAL_ENV_NAME, System.getenv(CREDENTIAL_ENV_NAME)); + } + + /** + * Returns whether a service requires a project ID. This method may be overridden in + * service-specific Options objects. + * + * @return true if a project ID is required to use the service, false if not + */ + protected boolean projectIdRequired() { + return true; + } + + private static GoogleCredentials defaultCredentials() { + try { + return GoogleCredentials.getApplicationDefault(); + } catch (Exception ex) { + return null; + } + } + + protected String getDefaultHost() { + return DEFAULT_HOST; + } + + protected String getDefaultProject() { + return getDefaultProjectId(); + } + + /** + * Returns the default project ID, or {@code null} if no default project ID could be found. This + * method returns the first available project ID among the following sources: + * + *

    + *
  1. The project ID specified by the GOOGLE_CLOUD_PROJECT environment variable + *
  2. The App Engine project ID + *
  3. The project ID specified in the JSON credentials file pointed by the {@code + * GOOGLE_APPLICATION_CREDENTIALS} environment variable + *
  4. The Google Cloud SDK project ID + *
  5. The Compute Engine project ID + *
+ */ + public static String getDefaultProjectId() { + String projectId = System.getProperty(PROJECT_ENV_NAME, System.getenv(PROJECT_ENV_NAME)); + if (projectId == null) { + projectId = + System.getProperty(LEGACY_PROJECT_ENV_NAME, System.getenv(LEGACY_PROJECT_ENV_NAME)); + } + if (projectId == null) { + projectId = getAppEngineProjectId(); + } + if (projectId == null) { + projectId = getServiceAccountProjectId(); + } + return projectId != null ? projectId : getGoogleCloudProjectId(); + } + + public static String getAppEngineAppId() { + return System.getProperty("com.google.appengine.application.id"); + } + + private static String getActiveGoogleCloudConfig(File configDir) { + String activeGoogleCloudConfig = null; + try { + activeGoogleCloudConfig = + Files.asCharSource(new File(configDir, "active_config"), Charset.defaultCharset()) + .readFirstLine(); + } catch (IOException ex) { + // ignore + } + // if reading active_config failed or the file is empty we try default + return firstNonNull(activeGoogleCloudConfig, "default"); + } + + protected static String getGoogleCloudProjectId() { + File configDir; + if (System.getenv().containsKey("CLOUDSDK_CONFIG")) { + configDir = new File(System.getenv("CLOUDSDK_CONFIG")); + } else if (isWindows() && System.getenv().containsKey("APPDATA")) { + configDir = new File(System.getenv("APPDATA"), "gcloud"); + } else { + configDir = new File(System.getProperty("user.home"), ".config/gcloud"); + } + String activeConfig = getActiveGoogleCloudConfig(configDir); + FileReader fileReader = null; + try { + fileReader = new FileReader(new File(configDir, "configurations/config_" + activeConfig)); + } catch (FileNotFoundException newConfigFileNotFoundEx) { + try { + fileReader = new FileReader(new File(configDir, "properties")); + } catch (FileNotFoundException oldConfigFileNotFoundEx) { + // ignore + } + } + if (fileReader != null) { + try (BufferedReader reader = new BufferedReader(fileReader)) { + String line; + String section = null; + Pattern projectPattern = Pattern.compile("^project\\s*=\\s*(.*)$"); + Pattern sectionPattern = Pattern.compile("^\\[(.*)\\]$"); + while ((line = reader.readLine()) != null) { + if (line.isEmpty() || line.startsWith(";")) { + continue; + } + line = line.trim(); + Matcher matcher = sectionPattern.matcher(line); + if (matcher.matches()) { + section = matcher.group(1); + } else if (section == null || section.equals("core")) { + matcher = projectPattern.matcher(line); + if (matcher.matches()) { + return matcher.group(1); + } + } + } + } catch (IOException ex) { + // ignore + } + } + // return project id from metadata config + return MetadataConfig.getProjectId(); + } + + private static boolean isWindows() { + return System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows"); + } + + protected static String getAppEngineProjectId() { + String projectId = null; + if (PlatformInformation.isOnGAEStandard7()) { + projectId = getAppEngineProjectIdFromAppId(); + } else { + // for GAE flex and standard Java 8 environment + projectId = System.getenv("GOOGLE_CLOUD_PROJECT"); + if (projectId == null) { + projectId = System.getenv("GCLOUD_PROJECT"); + } + if (projectId == null) { + projectId = getAppEngineProjectIdFromAppId(); + } + if (projectId == null) { + try { + projectId = getAppEngineProjectIdFromMetadataServer(); + } catch (IOException ignore) { + projectId = null; + } + } + } + return projectId; + } + + protected static String getAppEngineProjectIdFromAppId() { + String projectId = getAppEngineAppId(); + if (projectId != null && projectId.contains(":")) { + int colonIndex = projectId.indexOf(":"); + projectId = projectId.substring(colonIndex + 1); + } + return projectId; + } + + private static String getAppEngineProjectIdFromMetadataServer() throws IOException { + String metadata = "http://metadata.google.internal"; + String projectIdURL = "/computeMetadata/v1/project/project-id"; + GenericUrl url = new GenericUrl(metadata + projectIdURL); + + HttpTransport netHttpTransport = new NetHttpTransport(); + HttpRequestFactory requestFactory = netHttpTransport.createRequestFactory(); + HttpRequest request = + requestFactory + .buildGetRequest(url) + .setConnectTimeout(500) + .setReadTimeout(500) + .setHeaders(new HttpHeaders().set("Metadata-Flavor", "Google")); + HttpResponse response = request.execute(); + return headerContainsMetadataFlavor(response) ? response.parseAsString() : null; + } + + @InternalApi("Visible for testing") + static boolean headerContainsMetadataFlavor(HttpResponse response) { + String metadataFlavorValue = response.getHeaders().getFirstHeaderStringValue("Metadata-Flavor"); + return "Google".equals(metadataFlavorValue); + } + + protected static String getServiceAccountProjectId() { + return getValueFromCredentialsFile(getCredentialsPath(), "project_id"); + } + + @InternalApi("Visible for testing") + static String getValueFromCredentialsFile(String credentialsPath, String key) { + if (credentialsPath != null) { + try (InputStream credentialsStream = new FileInputStream(credentialsPath)) { + JsonFactory jsonFactory = GsonFactory.getDefaultInstance(); + JsonObjectParser parser = new JsonObjectParser(jsonFactory); + GenericJson fileContents = + parser.parseAndClose(credentialsStream, StandardCharsets.UTF_8, GenericJson.class); + return (String) fileContents.get(key); + } catch (IOException | IllegalArgumentException ex) { + return null; + } + } + return null; + } + + /** + * Returns a Service object for the current service. For instance, when using Google Cloud + * Storage, it returns a Storage object. + */ + @SuppressWarnings("unchecked") + public ServiceT getService() { + if (shouldRefreshService(service)) { + service = serviceFactory.create((OptionsT) this); + } + return service; + } + + /** + * @param cachedService The currently cached service object + * @return true if the currently cached service object should be refreshed. + */ + protected boolean shouldRefreshService(ServiceT cachedService) { + return cachedService == null; + } + + /** + * Returns a Service RPC object for the current service. For instance, when using Google Cloud + * Storage, it returns a StorageRpc object. + */ + @SuppressWarnings("unchecked") + public ServiceRpc getRpc() { + if (shouldRefreshRpc(rpc)) { + rpc = serviceRpcFactory.create((OptionsT) this); + } + return rpc; + } + + /** + * @param cachedRpc The currently cached service object + * @return true if the currently cached service object should be refreshed. + */ + protected boolean shouldRefreshRpc(ServiceRpc cachedRpc) { + return cachedRpc == null; + } + + /** + * Returns the project ID. Return value can be null (for services that don't require a project + * ID). + */ + public String getProjectId() { + return projectId; + } + + /** Returns the service host. */ + public String getHost() { + return host; + } + + /** Returns the authentication credentials. */ + public Credentials getCredentials() { + return credentials; + } + + /** Returns the authentication credentials. If required, credentials are scoped. */ + public Credentials getScopedCredentials() { + Credentials credentialsToReturn = credentials; + if (credentials instanceof GoogleCredentials + && ((GoogleCredentials) credentials).createScopedRequired()) { + credentialsToReturn = ((GoogleCredentials) credentials).createScoped(getScopes()); + } + return credentialsToReturn; + } + + /** Returns configuration parameters for request retries. */ + public RetrySettings getRetrySettings() { + return retrySettings; + } + + /** + * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to get + * current time. + */ + public ApiClock getClock() { + return clock; + } + + /** Returns the transport-specific options for this service. */ + public TransportOptions getTransportOptions() { + return transportOptions; + } + + /** + * Returns the application's name as a string in the format {@code gcloud-java/[version]}, + * optionally prepended with externally supplied User-Agent header value (via setting custom + * header provider). + */ + public String getApplicationName() { + String libraryVersion = getLibraryVersion(); + + // We have to do the following since underlying layers often do not appreciate User-Agent + // provided as a normal header and override it or treat setting "application name" as the only + // way to append something to User-Agent header. + StringBuilder sb = new StringBuilder(); + String customUserAgentValue = getUserAgent(); + if (customUserAgentValue != null) { + sb.append(customUserAgentValue).append(' '); + } + if (libraryVersion == null) { + sb.append(getLibraryName()); + } else { + sb.append(getLibraryName()).append('/').append(libraryVersion); + } + + return sb.toString(); + } + + /** Returns the library's name, {@code gcloud-java}, as a string. */ + public static String getLibraryName() { + return "gcloud-java"; + } + + /** Returns the library's name used by x-goog-api-client header as a string. */ + public static String getGoogApiClientLibName() { + return "gccl"; + } + + /** Returns the library's version as a string. */ + public String getLibraryVersion() { + return GaxProperties.getLibraryVersion(this.getClass()); + } + + @InternalApi + public final HeaderProvider getMergedHeaderProvider(HeaderProvider internalHeaderProvider) { + Map mergedHeaders = + ImmutableMap.builder() + .putAll(internalHeaderProvider.getHeaders()) + .putAll(headerProvider.getHeaders()) + .build(); + return FixedHeaderProvider.create(mergedHeaders); + } + + @InternalApi + public final String getUserAgent() { + if (headerProvider != null) { + for (Map.Entry entry : headerProvider.getHeaders().entrySet()) { + if ("user-agent".equals(entry.getKey().toLowerCase())) { + return entry.getValue(); + } + } + } + return null; + } + + protected int baseHashCode() { + return Objects.hash( + projectId, + host, + credentials, + retrySettings, + serviceFactoryClassName, + serviceRpcFactoryClassName, + clock, + quotaProjectId); + } + + protected boolean baseEquals(ServiceOptions other) { + return Objects.equals(projectId, other.projectId) + && Objects.equals(host, other.host) + && Objects.equals(credentials, other.credentials) + && Objects.equals(retrySettings, other.retrySettings) + && Objects.equals(serviceFactoryClassName, other.serviceFactoryClassName) + && Objects.equals(serviceRpcFactoryClassName, other.serviceRpcFactoryClassName) + && Objects.equals(clock, other.clock) + && Objects.equals(quotaProjectId, other.quotaProjectId); + } + + private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { + input.defaultReadObject(); + serviceFactory = newInstance(serviceFactoryClassName); + serviceRpcFactory = newInstance(serviceRpcFactoryClassName); + } + + @SuppressWarnings("unchecked") + @InternalApi + public static T newInstance(String className) throws IOException, ClassNotFoundException { + try { + return (T) Class.forName(className).newInstance(); + } catch (InstantiationException | IllegalAccessException e) { + throw new IOException(e); + } + } + + public static RetrySettings getDefaultRetrySettings() { + return DEFAULT_RETRY_SETTINGS; + } + + public static RetrySettings getNoRetrySettings() { + return NO_RETRY_SETTINGS; + } + + private static RetrySettings.Builder getDefaultRetrySettingsBuilder() { + return RetrySettings.newBuilder() + .setMaxAttempts(6) + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setMaxRetryDelay(Duration.ofMillis(32_000L)) + .setRetryDelayMultiplier(2.0) + .setTotalTimeout(Duration.ofMillis(50_000L)) + .setInitialRpcTimeout(Duration.ofMillis(50_000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(50_000L)); + } + + protected abstract Set getScopes(); + + public abstract > B toBuilder(); + + /** + * Some services may have different backoff requirements listed in their SLAs. Be sure to override + * this method in options subclasses when the service's backoff requirement differs from the + * default parameters listed in {@link RetrySettings}. + */ + protected RetrySettings defaultRetrySettings() { + return getDefaultRetrySettings(); + } + + @InternalApi + public static T getFromServiceLoader(Class clazz, T defaultInstance) { + return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); + } + + public String getClientLibToken() { + return clientLibToken; + } + + /** Returns the quotaProjectId that specifies the project used for quota and billing purposes. */ + public String getQuotaProjectId() { + return quotaProjectId; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java new file mode 100644 index 000000000000..ce4bd18a6a49 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java @@ -0,0 +1,19 @@ +/* + * Copyright 2017 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 + * + * http://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; + +public interface ServiceRpc {} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java new file mode 100644 index 000000000000..647e53f8e35a --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java @@ -0,0 +1,90 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import com.google.api.core.ApiFunction; +import com.google.api.core.InternalApi; +import com.google.common.base.Preconditions; +import java.lang.reflect.Array; +import java.util.Collection; +import java.util.LinkedHashMap; +import java.util.Map; + +/** + * This represents a concept having a known set of acceptable String values, which can expand later + * due to new API features. + */ +@InternalApi +public class StringEnumType { + + private final Class clazz; + private final ApiFunction constructor; + private final Map knownValues = new LinkedHashMap<>(); + + public StringEnumType(Class clazz, ApiFunction constructor) { + this.clazz = Preconditions.checkNotNull(clazz); + this.constructor = Preconditions.checkNotNull(constructor); + } + + /** Create a new constant and register it in the known values. */ + public EnumT createAndRegister(String constant) { + EnumT instance = constructor.apply(constant); + knownValues.put(constant, instance); + return instance; + } + + /** + * Get the enum object for the given String constant, and throw an exception if the constant is + * not recognized. + */ + public EnumT valueOfStrict(String constant) { + EnumT value = knownValues.get(constant); + if (value != null) { + return value; + } else { + throw new IllegalArgumentException( + "Constant \"" + constant + "\" not found for enum \"" + clazz.getName() + "\""); + } + } + + /** Get the enum object for the given String constant, and allow unrecognized values. */ + public EnumT valueOf(String constant) { + if (constant == null || constant.isEmpty()) { + throw new IllegalArgumentException("Empty enum constants not allowed."); + } + EnumT value = knownValues.get(constant); + if (value != null) { + return value; + } else { + return constructor.apply(constant); + } + } + + /** Return the known values of this enum type. */ + public EnumT[] values() { + Collection valueCollection = knownValues.values(); + + @SuppressWarnings("unchecked") + final EnumT[] valueArray = (EnumT[]) Array.newInstance(clazz, valueCollection.size()); + int i = 0; + for (EnumT enumV : valueCollection) { + valueArray[i] = enumV; + i++; + } + + return valueArray; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java new file mode 100644 index 000000000000..2f1ae94218ad --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java @@ -0,0 +1,65 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import com.google.api.core.InternalApi; +import com.google.common.base.Preconditions; +import java.io.Serializable; + +/** + * This represents a specific instance of a concept having a known set of acceptable String values, + * which can expand later due to new API features. Standard Java enums can't be used in such a + * context. + */ +public abstract class StringEnumValue implements Serializable { + private static final long serialVersionUID = 1501809419544297884L; + private final String constant; + + /** Don't create subclasses outside of google-cloud-java. */ + @InternalApi("This class should only be extended within google-cloud-java") + protected StringEnumValue(String constant) { + this.constant = Preconditions.checkNotNull(constant); + } + + public String name() { + return constant; + } + + @Override + public String toString() { + return constant; + } + + @Override + public boolean equals(Object that) { + if (that == null) { + return false; + } + if (this == that) { + return true; + } + if (!(getClass().equals(that.getClass()))) { + return false; + } + StringEnumValue thatEnumValue = (StringEnumValue) that; + return this.constant.equals(thatEnumValue.constant); + } + + @Override + public int hashCode() { + return constant.hashCode(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java new file mode 100644 index 000000000000..e0308c3836e1 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -0,0 +1,239 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import static com.google.common.base.Preconditions.checkArgument; + +import com.google.protobuf.util.Timestamps; +import java.io.Serializable; +import java.util.Date; +import java.util.Objects; +import java.util.concurrent.TimeUnit; +import org.threeten.bp.Instant; +import org.threeten.bp.LocalDateTime; +import org.threeten.bp.ZoneOffset; +import org.threeten.bp.format.DateTimeFormatter; +import org.threeten.bp.format.DateTimeFormatterBuilder; +import org.threeten.bp.format.DateTimeParseException; +import org.threeten.bp.temporal.TemporalAccessor; + +/** + * Represents a timestamp with nanosecond precision. Timestamps cover the range [0001-01-01, + * 9999-12-31]. + * + *

{@code Timestamp} instances are immutable. + */ +public final class Timestamp implements Comparable, Serializable { + + private static final long serialVersionUID = 5152143600571559844L; + + /** The smallest legal timestamp ("0001-01-01T00:00:00Z"). */ + public static final Timestamp MIN_VALUE = new Timestamp(-62135596800L, 0); + + /** The largest legal timestamp ("9999-12-31T23:59:59Z"). */ + public static final Timestamp MAX_VALUE = + new Timestamp(253402300799L, (int) TimeUnit.SECONDS.toNanos(1) - 1); + + private static final DateTimeFormatter format = DateTimeFormatter.ISO_LOCAL_DATE_TIME; + + private static final DateTimeFormatter timestampParser = + new DateTimeFormatterBuilder() + .appendOptional(DateTimeFormatter.ISO_LOCAL_DATE_TIME) + .optionalStart() + .appendOffsetId() + .optionalEnd() + .toFormatter() + .withZone(ZoneOffset.UTC); + + private final long seconds; + private final int nanos; + + private Timestamp(long seconds, int nanos) { + this.seconds = seconds; + this.nanos = nanos; + } + + /** + * Creates an instance representing the value of {@code seconds} and {@code nanos} since January + * 1, 1970, 00:00:00 UTC. + * + * @param seconds seconds since January 1, 1970, 00:00:00 UTC. A negative value is the number of + * seconds before January 1, 1970, 00:00:00 UTC. + * @param nanos the fractional seconds component, in the range 0..999999999. + * @throws IllegalArgumentException if the timestamp is outside the representable range + */ + public static Timestamp ofTimeSecondsAndNanos(long seconds, int nanos) { + checkArgument( + Timestamps.isValid(seconds, nanos), "timestamp out of range: %s, %s", seconds, nanos); + return new Timestamp(seconds, nanos); + } + + /** + * Creates an instance representing the value of {@code microseconds}. + * + * @throws IllegalArgumentException if the timestamp is outside the representable range + */ + public static Timestamp ofTimeMicroseconds(long microseconds) { + long seconds = microseconds / 1_000_000; + int nanos = (int) (microseconds % 1_000_000 * 1000); + if (nanos < 0) { + seconds--; + nanos += 1_000_000_000; + } + checkArgument( + Timestamps.isValid(seconds, nanos), "timestamp out of range: %s, %s", seconds, nanos); + return new Timestamp(seconds, nanos); + } + + /** + * Creates an instance representing the value of {@code Date}. + * + * @throws IllegalArgumentException if the timestamp is outside the representable range + */ + public static Timestamp of(Date date) { + return ofTimeMicroseconds(TimeUnit.MILLISECONDS.toMicros(date.getTime())); + } + + /** Creates an instance with current time. */ + public static Timestamp now() { + java.sql.Timestamp date = new java.sql.Timestamp(System.currentTimeMillis()); + return of(date); + } + + /** + * Creates an instance representing the value of {@code timestamp}. + * + * @throws IllegalArgumentException if the timestamp is outside the representable range + */ + public static Timestamp of(java.sql.Timestamp timestamp) { + int nanos = timestamp.getNanos(); + + // A pre-epoch timestamp can be off by one second because of the way that integer division + // works. For example, -1001 / 1000 == -1. In this case, we want this result to be -2. This + // causes any pre-epoch timestamp to be off by 1 second - fix this by subtracting 1 from the + // seconds value if the seconds value is less than zero and is not divisible by 1000. + // TODO: replace with Math.floorDiv when we drop Java 7 support + long seconds = timestamp.getTime() / 1000; + if (seconds < 0 && timestamp.getTime() % 1000 != 0) { + --seconds; + } + + return Timestamp.ofTimeSecondsAndNanos(seconds, nanos); + } + + /** + * Returns the number of seconds since January 1, 1970, 00:00:00 UTC. A negative value is the + * number of seconds before January 1, 1970, 00:00:00 UTC. + */ + public long getSeconds() { + return seconds; + } + + /** Returns the fractional seconds component, in nanoseconds. */ + public int getNanos() { + return nanos; + } + + /** Returns a JDBC timestamp initialized to the same point in time as {@code this}. */ + public java.sql.Timestamp toSqlTimestamp() { + java.sql.Timestamp ts = new java.sql.Timestamp(seconds * 1000); + ts.setNanos(nanos); + return ts; + } + + /** + * Returns a new {@code java.util.Date} corresponding to this {@code timestamp}. Any + * sub-millisecond precision will be stripped. + * + * @return An approximate {@code java.util.Date} representation of this {@code timestamp}. + */ + public Date toDate() { + long secondsInMilliseconds = TimeUnit.SECONDS.toMillis(this.seconds); + long nanosInMilliseconds = TimeUnit.NANOSECONDS.toMillis(this.nanos); + return new Date(secondsInMilliseconds + nanosInMilliseconds); + } + + @Override + public int compareTo(Timestamp other) { + int r = Long.compare(seconds, other.seconds); + if (r == 0) { + r = Integer.compare(nanos, other.nanos); + } + return r; + } + + /** Creates an instance of Timestamp from {@code com.google.protobuf.Timestamp}. */ + public static Timestamp fromProto(com.google.protobuf.Timestamp proto) { + return new Timestamp(proto.getSeconds(), proto.getNanos()); + } + + /** + * Returns a {@code com.google.protobuf.Timestamp} initialized to the same point in time as {@code + * this}. + */ + public com.google.protobuf.Timestamp toProto() { + return com.google.protobuf.Timestamp.newBuilder().setSeconds(seconds).setNanos(nanos).build(); + } + + /** + * Creates a Timestamp instance from the given string. Input string should be in the RFC 3339 + * format, like '2020-12-01T10:15:30.000Z' or with the timezone offset, such as + * '2020-12-01T10:15:30+01:00'. + * + * @param timestamp string in the RFC 3339 format + * @return created Timestamp + * @throws DateTimeParseException if unable to parse + */ + public static Timestamp parseTimestamp(String timestamp) { + TemporalAccessor temporalAccessor = timestampParser.parse(timestamp); + Instant instant = Instant.from(temporalAccessor); + return ofTimeSecondsAndNanos(instant.getEpochSecond(), instant.getNano()); + } + + private StringBuilder toString(StringBuilder b) { + format.formatTo(LocalDateTime.ofEpochSecond(seconds, 0, ZoneOffset.UTC), b); + if (nanos != 0) { + b.append(String.format(".%09d", nanos)); + } + b.append('Z'); + return b; + } + + @Override + public String toString() { + return toString(new StringBuilder()).toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Timestamp that = (Timestamp) o; + return seconds == that.seconds && nanos == that.nanos; + } + + @Override + public int hashCode() { + return Objects.hash(seconds, nanos); + } + + // TODO(user): Consider adding math operations. +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java new file mode 100644 index 000000000000..e62fdddefcfd --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java @@ -0,0 +1,21 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import java.io.Serializable; + +/** An abstraction for transport-specific options, e.g. for http1.1 vs grpc. */ +public interface TransportOptions extends Serializable {} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java new file mode 100644 index 000000000000..c9d2b9bc2576 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java @@ -0,0 +1,40 @@ +/* + * Copyright 2017 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 + * + * http://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; + +public class Tuple { + + private final X x; + private final Y y; + + private Tuple(X x, Y y) { + this.x = x; + this.y = y; + } + + public static Tuple of(X x, Y y) { + return new Tuple<>(x, y); + } + + public X x() { + return x; + } + + public Y y() { + return y; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java new file mode 100644 index 000000000000..947909bb6625 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java @@ -0,0 +1,47 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import java.io.Closeable; +import java.nio.channels.WritableByteChannel; + +/** + * A channel for writing data to Google Cloud services. + * + *

Implementations of this class may further buffer data internally to reduce remote calls. + * Written data might not be visible until calling {@link #close()}. This interface implements + * {@link Restorable} to allow saving the writer's state to continue writing afterwards. + */ +public interface WriteChannel extends WritableByteChannel, Closeable, Restorable { + + /** + * Sets the minimum size that will be written by a single RPC. Written data will be buffered and + * only flushed upon reaching this size or closing the channel. + */ + void setChunkSize(int chunkSize); + + /** + * Captures the write channel state so that it can be saved and restored afterwards. The original + * {@code WriteChannel} and the restored one should not both be used. Closing one channel causes + * the other channel to close; subsequent writes will fail. + * + * @return a {@link RestorableState} object that contains the write channel state and can restore + * it afterwards. + */ + @Override + RestorableState capture(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java new file mode 100644 index 000000000000..56d9be78d696 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java @@ -0,0 +1,18 @@ +/* + * Copyright 2016 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 + * + * http://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. + */ + +/** Core classes for the {@code google-cloud} library. */ +package com.google.cloud; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java new file mode 100644 index 000000000000..bd27986e1d7a --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java @@ -0,0 +1,30 @@ +/* + * Copyright 2015 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 + * + * http://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.spi; + +import com.google.cloud.ServiceOptions; +import com.google.cloud.ServiceRpc; + +/** + * A base interface for all service RPC factories. Implementation must provide a public no-arg + * constructor. Loading of a factory implementation is done via {@link java.util.ServiceLoader}. + */ +@SuppressWarnings("rawtypes") +public interface ServiceRpcFactory { + + ServiceRpc create(OptionsT options); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java new file mode 100644 index 000000000000..9679c6299c02 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -0,0 +1,473 @@ +/* + * Copyright 2016 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 + * + * http://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.testing; + +import com.google.api.core.CurrentMillisClock; +import com.google.api.core.InternalApi; +import com.google.cloud.ExceptionHandler; +import com.google.cloud.RetryHelper; +import com.google.cloud.ServiceOptions; +import com.google.common.io.CharStreams; +import com.google.common.util.concurrent.SettableFuture; +import com.google.common.util.concurrent.UncheckedExecutionException; +import java.io.BufferedInputStream; +import java.io.BufferedOutputStream; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.math.BigInteger; +import java.net.HttpURLConnection; +import java.net.ServerSocket; +import java.net.URL; +import java.net.URLConnection; +import java.nio.channels.Channels; +import java.nio.channels.ReadableByteChannel; +import java.nio.file.Files; +import java.nio.file.Path; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.util.Arrays; +import java.util.List; +import java.util.Locale; +import java.util.concurrent.Callable; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.zip.ZipEntry; +import java.util.zip.ZipInputStream; +import org.threeten.bp.Duration; + +/** Utility class to start and stop a local service which is used by unit testing. */ +@InternalApi +public abstract class BaseEmulatorHelper { + + private final String emulator; + private final int port; + private final String projectId; + private EmulatorRunner activeRunner; + private BlockingProcessStreamReader blockingProcessReader; + + protected static final String PROJECT_ID_PREFIX = "test-project-"; + protected static final String DEFAULT_HOST = "localhost"; + protected static final int DEFAULT_PORT = 8080; + + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseEmulatorHelper(String emulator, int port, String projectId) { + this.emulator = emulator; + this.port = port > 0 ? port : DEFAULT_PORT; + this.projectId = projectId; + } + + /** + * Returns the emulator runners supported by this emulator. Runners are evaluated in order, the + * first available runner is selected and executed + */ + protected abstract List getEmulatorRunners(); + + /** Returns a logger. */ + protected abstract Logger getLogger(); + + /** + * Starts the local service as a subprocess. Blocks the execution until {@code blockUntilOutput} + * is found on stdout. + */ + protected final void startProcess(String blockUntilOutput) + throws IOException, InterruptedException { + for (EmulatorRunner runner : getEmulatorRunners()) { + // Iterate through all emulator runners until find first available runner. + if (runner.isAvailable()) { + activeRunner = runner; + runner.start(); + break; + } + } + if (activeRunner != null) { + blockingProcessReader = + BlockingProcessStreamReader.start( + emulator, activeRunner.getProcess().getInputStream(), blockUntilOutput, getLogger()); + } else { + // No available runner found. + throw new IOException("No available emulator runner is found."); + } + } + + /** + * Waits for the local service's subprocess to terminate, and stop any possible thread listening + * for its output. + */ + protected final int waitForProcess(Duration timeout) + throws IOException, InterruptedException, TimeoutException { + if (activeRunner != null) { + int exitCode = activeRunner.waitFor(timeout); + activeRunner = null; + return exitCode; + } + if (blockingProcessReader != null) { + blockingProcessReader.join(); + blockingProcessReader = null; + } + return 0; + } + + private static int waitForProcess(final Process process, Duration timeout) + throws InterruptedException, TimeoutException { + if (process == null) { + return 0; + } + + final SettableFuture exitValue = SettableFuture.create(); + + Thread waiter = + new Thread( + new Runnable() { + @Override + public void run() { + try { + exitValue.set(process.waitFor()); + } catch (InterruptedException e) { + exitValue.setException(e); + } + } + }); + waiter.start(); + + try { + return exitValue.get(timeout.toMillis(), TimeUnit.MILLISECONDS); + } catch (ExecutionException e) { + if (e.getCause() instanceof InterruptedException) { + throw (InterruptedException) e.getCause(); + } + throw new UncheckedExecutionException(e); + } finally { + waiter.interrupt(); + } + } + + /** Returns the port to which the local emulator is listening. */ + public int getPort() { + return port; + } + + /** Returns the project ID associated with the local emulator. */ + public String getProjectId() { + return projectId; + } + + /** Returns service options to access the local emulator. */ + public abstract T getOptions(); + + /** Starts the local emulator. */ + public abstract void start() throws IOException, InterruptedException; + + /** Stops the local emulator. */ + public abstract void stop(Duration timeout) + throws IOException, InterruptedException, TimeoutException; + + /** Resets the internal state of the emulator. */ + public abstract void reset() throws IOException; + + protected final String sendPostRequest(String request) throws IOException { + URL url = new URL("http", DEFAULT_HOST, this.port, request); + HttpURLConnection con = (HttpURLConnection) url.openConnection(); + con.setRequestMethod("POST"); + con.setDoOutput(true); + OutputStream out = con.getOutputStream(); + out.write("".getBytes()); + out.flush(); + + InputStream in = con.getInputStream(); + String response = CharStreams.toString(new InputStreamReader(con.getInputStream())); + in.close(); + return response; + } + + protected static int findAvailablePort(int defaultPort) { + try (ServerSocket tempSocket = new ServerSocket(0)) { + return tempSocket.getLocalPort(); + } catch (IOException e) { + return defaultPort; + } + } + + protected static boolean isWindows() { + return System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows"); + } + + /** Utility interface to start and run an emulator. */ + protected interface EmulatorRunner { + + /** + * Returns {@code true} if the emulator associated to this runner is available and can be + * started. + */ + boolean isAvailable(); + + /** Starts the emulator associated to this runner. */ + void start() throws IOException; + + /** Wait for the emulator associated to this runner to terminate, returning the exit status. */ + int waitFor(Duration timeout) throws InterruptedException, TimeoutException; + + /** Returns the process associated to the emulator, if any. */ + Process getProcess(); + } + + /** Utility class to start and run an emulator from the Google Cloud SDK. */ + protected static class GcloudEmulatorRunner implements EmulatorRunner { + + private final List commandText; + private final String versionPrefix; + private final Version minVersion; + private Process process; + private static final Logger log = Logger.getLogger(GcloudEmulatorRunner.class.getName()); + + public GcloudEmulatorRunner(List commandText, String versionPrefix, String minVersion) { + this.commandText = commandText; + this.versionPrefix = versionPrefix; + this.minVersion = Version.fromString(minVersion); + } + + @Override + public boolean isAvailable() { + try { + return isGcloudInstalled() && isEmulatorUpToDate() && !commandText.isEmpty(); + } catch (IOException | InterruptedException e) { + e.printStackTrace(System.err); + } + return false; + } + + @Override + public void start() throws IOException { + log.fine("Starting emulator via Google Cloud SDK"); + process = CommandWrapper.create().setCommand(commandText).setRedirectErrorStream().start(); + } + + @Override + public int waitFor(Duration timeout) throws InterruptedException, TimeoutException { + return waitForProcess(process, timeout); + } + + @Override + public Process getProcess() { + return process; + } + + private boolean isGcloudInstalled() { + String path = System.getenv("PATH"); + return path != null && path.contains("google-cloud-sdk"); + } + + private boolean isEmulatorUpToDate() throws IOException, InterruptedException { + Version currentVersion = getInstalledEmulatorVersion(versionPrefix); + return currentVersion != null && currentVersion.compareTo(minVersion) >= 0; + } + + private Version getInstalledEmulatorVersion(String versionPrefix) + throws IOException, InterruptedException { + Process process = + CommandWrapper.create() + .setCommand(Arrays.asList("gcloud", "version")) + // gcloud redirects all output to stderr while emulators' executables use either + // stdout or stderr with no apparent convention. To be able to properly intercept and + // block waiting for emulators to be ready we redirect everything to stdout + .setRedirectErrorStream() + .start(); + process.waitFor(); + try (BufferedReader reader = + new BufferedReader(new InputStreamReader(process.getInputStream()))) { + for (String line = reader.readLine(); line != null; line = reader.readLine()) { + if (line.startsWith(versionPrefix)) { + String[] lineComponents = line.split(" "); + if (lineComponents.length > 1) { + return Version.fromString(lineComponents[1]); + } + } + } + return null; + } + } + } + + /** Utility class to start and run an emulator from a download URL. */ + protected static class DownloadableEmulatorRunner implements EmulatorRunner { + + private final List commandText; + private final String md5CheckSum; + private final URL downloadUrl; + private final String fileName; + private String accessToken; + private Process process; + private static final Logger log = Logger.getLogger(DownloadableEmulatorRunner.class.getName()); + + public DownloadableEmulatorRunner( + List commandText, URL downloadUrl, String md5CheckSum) { + this.commandText = commandText; + this.md5CheckSum = md5CheckSum; + this.downloadUrl = downloadUrl; + String[] splitUrl = downloadUrl.toString().split("/"); + this.fileName = splitUrl[splitUrl.length - 1]; + } + + public DownloadableEmulatorRunner( + List commandText, URL downloadUrl, String md5CheckSum, String accessToken) { + this(commandText, downloadUrl, md5CheckSum); + this.accessToken = accessToken; + } + + @Override + public boolean isAvailable() { + try { + downloadZipFile(); + return true; + } catch (IOException e) { + return false; + } + } + + @Override + public void start() throws IOException { + ExceptionHandler retryOnAnythingExceptionHandler = + ExceptionHandler.newBuilder().retryOn(Exception.class).build(); + + Path emulatorPath = + RetryHelper.runWithRetries( + new Callable() { + @Override + public Path call() throws IOException { + return downloadEmulator(); + } + }, + ServiceOptions.getDefaultRetrySettings(), + retryOnAnythingExceptionHandler, + CurrentMillisClock.getDefaultClock()); + process = + CommandWrapper.create() + .setCommand(commandText) + .setDirectory(emulatorPath) + // gcloud redirects all output to stderr while emulators' executables use either + // stdout + // or stderr with no apparent convention. To be able to properly intercept and block + // waiting for emulators to be ready we redirect everything to stdout + .setRedirectErrorStream() + .start(); + } + + @Override + public int waitFor(Duration timeout) throws InterruptedException, TimeoutException { + return waitForProcess(process, timeout); + } + + @Override + public Process getProcess() { + return process; + } + + private Path downloadEmulator() throws IOException { + // Retrieve the file name from the download link + String[] splittedUrl = downloadUrl.toString().split("/"); + String fileName = splittedUrl[splittedUrl.length - 1]; + + // Each run is associated with its own folder that is deleted once test completes. + Path emulatorPath = Files.createTempDirectory(fileName.split("\\.")[0]); + File emulatorFolder = emulatorPath.toFile(); + emulatorFolder.deleteOnExit(); + + File zipFile = downloadZipFile(); + // Unzip the emulator + try (ZipInputStream zipIn = new ZipInputStream(new FileInputStream(zipFile))) { + if (log.isLoggable(Level.FINE)) { + log.fine("Unzipping emulator"); + } + ZipEntry entry = zipIn.getNextEntry(); + while (entry != null) { + File filePath = new File(emulatorFolder, entry.getName()); + String canonicalEmulatorFolderPath = emulatorFolder.getCanonicalPath(); + String canonicalFilePath = filePath.getCanonicalPath(); + if (!canonicalFilePath.startsWith(canonicalEmulatorFolderPath + File.separator)) { + throw new IllegalStateException( + "Entry is outside of the target dir: " + entry.getName()); + } + if (!entry.isDirectory()) { + extractFile(zipIn, filePath); + } else { + filePath.mkdir(); + } + zipIn.closeEntry(); + entry = zipIn.getNextEntry(); + } + } + return emulatorPath; + } + + private File downloadZipFile() throws IOException { + // Check if we already have a local copy of the emulator and download it if not. + File zipFile = new File(System.getProperty("java.io.tmpdir"), fileName); + if (!zipFile.exists() || (md5CheckSum != null && !md5CheckSum.equals(md5(zipFile)))) { + if (log.isLoggable(Level.FINE)) { + log.fine("Fetching emulator"); + } + URLConnection urlConnection = downloadUrl.openConnection(); + if (accessToken != null) { + urlConnection.setRequestProperty("Authorization", "Bearer " + accessToken); + } + ReadableByteChannel rbc = Channels.newChannel(urlConnection.getInputStream()); + try (FileOutputStream fos = new FileOutputStream(zipFile)) { + fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); + } + } else { + if (log.isLoggable(Level.FINE)) { + log.fine("Using cached emulator"); + } + } + return zipFile; + } + + private void extractFile(ZipInputStream zipIn, File filePath) throws IOException { + try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(filePath))) { + byte[] bytesIn = new byte[1024]; + int read; + while ((read = zipIn.read(bytesIn)) != -1) { + bos.write(bytesIn, 0, read); + } + } + } + + private static String md5(File zipFile) throws IOException { + try { + MessageDigest md5 = MessageDigest.getInstance("MD5"); + try (InputStream is = new BufferedInputStream(new FileInputStream(zipFile))) { + byte[] bytes = new byte[4 * 1024 * 1024]; + int len; + while ((len = is.read(bytes)) >= 0) { + md5.update(bytes, 0, len); + } + } + return String.format("%032x", new BigInteger(1, md5.digest())); + } catch (NoSuchAlgorithmException e) { + throw new IOException(e); + } + } + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java new file mode 100644 index 000000000000..90fbb764d55d --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java @@ -0,0 +1,140 @@ +/* + * Copyright 2016 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 + * + * http://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.testing; + +import static com.google.common.base.MoreObjects.firstNonNull; + +import com.google.common.base.Strings; +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** + * This class allows to read a process output stream, block until a provided string appears on the + * stream and redirect pertinent error logs to a provided logger. + */ +class BlockingProcessStreamReader extends Thread { + + private static final int LOG_LENGTH_LIMIT = 50000; + + private final BufferedReader errorReader; + private final Logger logger; + private StringBuilder currentLog; + private Level currentLogLevel; + private boolean collectionMode; + private final String emulatorTag; + private final Pattern logLinePattern; + + private BlockingProcessStreamReader( + String emulator, InputStream stream, String blockUntil, Logger logger) throws IOException { + super("blocking-process-stream-reader"); + setDaemon(true); + errorReader = new BufferedReader(new InputStreamReader(stream)); + this.logger = logger; + this.emulatorTag = "[" + emulator + "]"; + this.logLinePattern = Pattern.compile("(\\[" + emulator + "\\]\\s)?(\\w+):.*"); + if (!Strings.isNullOrEmpty(blockUntil)) { + String line; + do { + line = errorReader.readLine(); + } while (line != null && !line.contains(blockUntil)); + } + } + + @Override + public void run() { + String previousLine = ""; + String nextLine = ""; + try { + for (; ; ) { + previousLine = nextLine; + nextLine = errorReader.readLine(); + if (nextLine == null) { + break; + } + processLogLine(previousLine, nextLine); + } + } catch (IOException e) { + e.printStackTrace(System.err); + } + processLogLine(previousLine, firstNonNull(nextLine, "")); + writeLog(); + } + + private void processLogLine(String previousLine, String nextLine) { + // Each log is two lines with the following format: + // [Emulator]? [Date] [Time] [LoggingClass] [method] + // [Emulator]? [LEVEL]: error message + // [Emulator]? more data + // Exceptions and stack traces are included in error stream, separated by a newline + Level nextLogLevel = getLevel(nextLine); + if (nextLogLevel != null) { + writeLog(); + currentLog = new StringBuilder(); + currentLogLevel = nextLogLevel; + collectionMode = true; + } else if (collectionMode) { + if (currentLog.length() > LOG_LENGTH_LIMIT) { + collectionMode = false; + } else if (currentLog.length() == 0) { + // strip level out of the line + currentLog.append(emulatorTag); + currentLog.append(previousLine.split(":", 2)[1]); + currentLog.append(System.getProperty("line.separator")); + } else { + if (!previousLine.startsWith(emulatorTag)) { + currentLog.append(emulatorTag); + currentLog.append(' '); + } + currentLog.append(previousLine); + currentLog.append(System.getProperty("line.separator")); + } + } + } + + private void writeLog() { + if (currentLogLevel != null && currentLog != null && currentLog.length() != 0) { + logger.log(currentLogLevel, currentLog.toString().trim()); + } + } + + private Level getLevel(String line) { + try { + Matcher matcher = logLinePattern.matcher(line); + if (matcher.matches()) { + return Level.parse(matcher.group(2)); + } else { + return null; + } + } catch (IllegalArgumentException e) { + return null; // level wasn't supplied in this log line + } + } + + static BlockingProcessStreamReader start( + String emulator, InputStream stream, String blockUntil, Logger logger) throws IOException { + BlockingProcessStreamReader thread = + new BlockingProcessStreamReader(emulator, stream, blockUntil, logger); + thread.start(); + return thread; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java new file mode 100644 index 000000000000..79f70150a5f7 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java @@ -0,0 +1,99 @@ +/* + * Copyright 2016 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 + * + * http://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.testing; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Path; +import java.util.ArrayList; +import java.util.List; + +/** Utility class that executes system commands on both Windows and Unix. */ +class CommandWrapper { + + private final List prefix; + private List command; + private String nullFilename; + private boolean redirectOutputToNull; + private boolean redirectErrorStream; + private boolean redirectErrorInherit; + private Path directory; + + private CommandWrapper() { + this.prefix = new ArrayList<>(); + if (BaseEmulatorHelper.isWindows()) { + this.prefix.add("cmd"); + this.prefix.add("/C"); + this.nullFilename = "NUL:"; + } else { + this.prefix.add("bash"); + this.nullFilename = "/dev/null"; + } + } + + CommandWrapper setCommand(List command) { + this.command = new ArrayList<>(command.size() + this.prefix.size()); + this.command.addAll(prefix); + this.command.addAll(command); + return this; + } + + CommandWrapper setRedirectOutputToNull() { + this.redirectOutputToNull = true; + return this; + } + + CommandWrapper setRedirectErrorStream() { + this.redirectErrorStream = true; + return this; + } + + CommandWrapper setRedirectErrorInherit() { + this.redirectErrorInherit = true; + return this; + } + + CommandWrapper setDirectory(Path directory) { + this.directory = directory; + return this; + } + + ProcessBuilder getBuilder() { + ProcessBuilder builder = new ProcessBuilder(command); + if (redirectOutputToNull) { + builder.redirectOutput(new File(nullFilename)); + } + if (directory != null) { + builder.directory(directory.toFile()); + } + if (redirectErrorStream) { + builder.redirectErrorStream(true); + } + if (redirectErrorInherit) { + builder.redirectError(ProcessBuilder.Redirect.INHERIT); + } + return builder; + } + + public Process start() throws IOException { + return getBuilder().start(); + } + + static CommandWrapper create() { + return new CommandWrapper(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java new file mode 100644 index 000000000000..dfdc076fdf14 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java @@ -0,0 +1,89 @@ +/* + * Copyright 2016 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 + * + * http://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.testing; + +import static com.google.common.base.Preconditions.checkNotNull; + +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** Simplified wrapper for emulator's versions. */ +class Version implements Comparable { + + private static final Pattern VERSION_PATTERN = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)$"); + + private final int major; + private final int minor; + private final int patch; + + private Version(int major, int minor, int patch) { + this.major = major; + this.minor = minor; + this.patch = patch; + } + + @Override + public int compareTo(Version version) { + int result = major - version.major; + if (result == 0) { + result = minor - version.minor; + if (result == 0) { + result = patch - version.patch; + } + } + return result; + } + + @Override + public String toString() { + return String.format("%d.%d.%d", major, minor, patch); + } + + @Override + public boolean equals(Object other) { + return this == other || other instanceof Version && compareTo((Version) other) == 0; + } + + @Override + public int hashCode() { + return Objects.hash(major, minor, patch); + } + + int getMajor() { + return major; + } + + int getMinor() { + return minor; + } + + int getPatch() { + return patch; + } + + static Version fromString(String version) { + Matcher matcher = VERSION_PATTERN.matcher(checkNotNull(version)); + if (matcher.matches()) { + return new Version( + Integer.valueOf(matcher.group(1)), + Integer.valueOf(matcher.group(2)), + Integer.valueOf(matcher.group(3))); + } + throw new IllegalArgumentException("Invalid version format"); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java new file mode 100644 index 000000000000..241793b3bebd --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -0,0 +1,95 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static org.junit.Assert.assertEquals; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.gax.paging.AsyncPage; +import com.google.common.collect.ImmutableList; +import java.util.concurrent.ExecutionException; +import org.junit.Test; + +public class AsyncPageImplTest { + + private static final ImmutableList VALUES1 = ImmutableList.of("1", "2"); + private static final ImmutableList VALUES2 = ImmutableList.of("3", "4"); + private static final ImmutableList VALUES3 = ImmutableList.of("5", "6"); + private static final ImmutableList ALL_VALUES = + ImmutableList.builder().addAll(VALUES1).addAll(VALUES2).addAll(VALUES3).build(); + private static final ImmutableList SOME_VALUES = + ImmutableList.builder().addAll(VALUES2).addAll(VALUES3).build(); + + private static class TestPageFetcher implements AsyncPageImpl.NextPageFetcher { + private static final long serialVersionUID = 4703765400378593176L; + + private final AsyncPageImpl nextResult; + + TestPageFetcher(AsyncPageImpl nextResult) { + this.nextResult = nextResult; + } + + @Override + public ApiFuture> getNextPage() { + return ApiFutures.>immediateFuture(nextResult); + } + } + + @Test + public void testPage() { + final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); + AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); + assertEquals(nextResult, result.getNextPage()); + assertEquals("c", result.getNextPageToken()); + assertEquals(VALUES1, result.getValues()); + } + + @Test + public void testPageAsync() throws ExecutionException, InterruptedException { + final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); + AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); + assertEquals(nextResult, result.getNextPageAsync().get()); + assertEquals("c", result.getNextPageToken()); + assertEquals(VALUES1, result.getValues()); + } + + @Test + public void testIterateAll() { + final AsyncPageImpl nextResult2 = new AsyncPageImpl<>(null, "c3", VALUES3); + AsyncPageImpl.NextPageFetcher fetcher2 = new TestPageFetcher(nextResult2); + final AsyncPageImpl nextResult1 = new AsyncPageImpl<>(fetcher2, "c2", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher1 = new TestPageFetcher(nextResult1); + AsyncPageImpl result = new AsyncPageImpl<>(fetcher1, "c1", VALUES1); + assertEquals(ALL_VALUES, ImmutableList.copyOf(result.iterateAll())); + } + + @Test + public void testAsyncPageAndIterateAll() throws ExecutionException, InterruptedException { + final AsyncPageImpl nextResult2 = new AsyncPageImpl<>(null, "c3", VALUES3); + AsyncPageImpl.NextPageFetcher fetcher2 = new TestPageFetcher(nextResult2); + final AsyncPageImpl nextResult1 = new AsyncPageImpl<>(fetcher2, "c2", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher1 = new TestPageFetcher(nextResult1); + AsyncPageImpl result = new AsyncPageImpl<>(fetcher1, "c1", VALUES1); + assertEquals(nextResult1, result.getNextPageAsync().get()); + assertEquals("c1", result.getNextPageToken()); + assertEquals(VALUES1, result.getValues()); + assertEquals(SOME_VALUES, ImmutableList.copyOf(result.getNextPageAsync().get().iterateAll())); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java new file mode 100644 index 000000000000..5dcd1726bb0e --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java @@ -0,0 +1,81 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static com.google.common.base.MoreObjects.firstNonNull; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotSame; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; +import java.io.Serializable; +import org.junit.Test; + +/** + * Base class for serialization tests. To use this class in your tests override the {@code + * serializableObjects()} method to return all objects that must be serializable. Also override + * {@code restorableObjects()} method to return all restorable objects whose state must be tested + * for proper serialization. Both methods can return {@code null} if no such object needs to be + * tested. + */ +public abstract class BaseSerializationTest { + + /** Returns all objects for which correct serialization must be tested. */ + protected abstract Serializable[] serializableObjects(); + + /** Returns all restorable objects whose state must be tested for proper serialization. */ + protected abstract Restorable[] restorableObjects(); + + @Test + public void testSerializableObjects() throws Exception { + for (Serializable obj : firstNonNull(serializableObjects(), new Serializable[0])) { + Object copy = serializeAndDeserialize(obj); + assertEquals(obj, obj); + assertEquals(obj, copy); + assertEquals(obj.hashCode(), copy.hashCode()); + assertEquals(obj.toString(), copy.toString()); + assertNotSame(obj, copy); + assertEquals(copy, copy); + } + } + + @Test + public void testRestorableObjects() throws Exception { + for (Restorable restorable : firstNonNull(restorableObjects(), new Restorable[0])) { + RestorableState state = restorable.capture(); + RestorableState deserializedState = serializeAndDeserialize(state); + assertEquals(state, deserializedState); + assertEquals(state.hashCode(), deserializedState.hashCode()); + assertEquals(state.toString(), deserializedState.toString()); + } + } + + @SuppressWarnings("unchecked") + public T serializeAndDeserialize(T obj) throws IOException, ClassNotFoundException { + ByteArrayOutputStream bytes = new ByteArrayOutputStream(); + try (ObjectOutputStream output = new ObjectOutputStream(bytes)) { + output.writeObject(obj); + } + try (ObjectInputStream input = + new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()))) { + return (T) input.readObject(); + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java new file mode 100644 index 000000000000..4bc5993f7f64 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -0,0 +1,157 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import static com.google.cloud.BaseServiceException.UNKNOWN_CODE; +import static com.google.common.truth.Truth.assertThat; +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.expect; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.BaseServiceException.ExceptionData; +import com.google.common.collect.ImmutableSet; +import java.util.Set; +import org.junit.Test; + +/** Tests for {@link BaseServiceException}. */ +public class BaseServiceExceptionTest { + + private static final int CODE = 1; + private static final int CODE_NO_REASON = 2; + private static final String MESSAGE = "some message"; + private static final String REASON = "some reason"; + private static final boolean NOT_RETRYABLE = false; + private static final boolean RETRYABLE = true; + private static final boolean IDEMPOTENT = true; + private static final String DEBUG_INFO = "debugInfo"; + private static final String LOCATION = "location"; + + private static class CustomServiceException extends BaseServiceException { + + private static final long serialVersionUID = -195251309124875103L; + + public CustomServiceException(int code, String message, String reason, boolean idempotent) { + super( + ExceptionData.from( + code, + message, + reason, + BaseServiceException.isRetryable(code, reason, idempotent, RETRYABLE_ERRORS))); + } + + private static final Set RETRYABLE_ERRORS = + ImmutableSet.of( + new Error(CODE, REASON), new Error(null, REASON), new Error(CODE_NO_REASON, null)); + } + + @Test + public void testBaseServiceException() { + BaseServiceException serviceException = + new BaseServiceException(ExceptionData.from(CODE, MESSAGE, REASON, NOT_RETRYABLE)); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertNull(serviceException.getCause()); + + Exception cause = new RuntimeException(); + serviceException = + new BaseServiceException(ExceptionData.from(CODE, MESSAGE, REASON, NOT_RETRYABLE, cause)); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertEquals(cause, serviceException.getCause()); + + serviceException = + new BaseServiceException( + ExceptionData.newBuilder() + .setMessage(MESSAGE) + .setCause(cause) + .setCode(CODE) + .setReason(REASON) + .setRetryable(RETRYABLE) + .setDebugInfo(DEBUG_INFO) + .setLocation(LOCATION) + .build()); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertTrue(serviceException.isRetryable()); + assertEquals(cause, serviceException.getCause()); + assertEquals(DEBUG_INFO, serviceException.getDebugInfo()); + assertEquals(LOCATION, serviceException.getLocation()); + + serviceException = new CustomServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertTrue(serviceException.isRetryable()); + + serviceException = new CustomServiceException(CODE_NO_REASON, MESSAGE, null, IDEMPOTENT); + assertEquals(CODE_NO_REASON, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertNull(serviceException.getReason()); + assertTrue(serviceException.isRetryable()); + + serviceException = new CustomServiceException(UNKNOWN_CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(UNKNOWN_CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertTrue(serviceException.isRetryable()); + } + + @Test + public void testTranslateAndThrow() throws Exception { + BaseServiceException cause = + new BaseServiceException(ExceptionData.from(CODE, MESSAGE, REASON, NOT_RETRYABLE)); + RetryHelper.RetryHelperException exceptionMock = + createMock(RetryHelper.RetryHelperException.class); + expect(exceptionMock.getCause()).andReturn(cause).times(2); + replay(exceptionMock); + try { + BaseServiceException.translate(exceptionMock); + } catch (BaseServiceException ex) { + assertEquals(CODE, ex.getCode()); + assertEquals(MESSAGE, ex.getMessage()); + assertFalse(ex.isRetryable()); + } finally { + verify(exceptionMock); + } + } + + @Test + @SuppressWarnings("TruthSelfEquals") + public void testError_Equal() { + BaseServiceException.Error error = new BaseServiceException.Error(0, "reason", true); + assertThat(error).isEqualTo(error); + assertThat(error.hashCode()).isEqualTo(error.hashCode()); + + BaseServiceException.Error sameError = new BaseServiceException.Error(0, "reason", true); + assertThat(error).isEqualTo(sameError); + assertThat(error.hashCode()).isEqualTo(sameError.hashCode()); + + BaseServiceException.Error error2 = new BaseServiceException.Error(1, "other reason", false); + assertThat(error).isNotEqualTo(error2); + assertThat(error.hashCode()).isNotEqualTo(error2.hashCode()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java new file mode 100644 index 000000000000..65743a347a21 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java @@ -0,0 +1,144 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import static com.google.common.truth.Truth.assertThat; +import static junit.framework.TestCase.assertFalse; +import static junit.framework.TestCase.assertTrue; +import static org.junit.Assert.assertArrayEquals; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; + +import com.google.cloud.spi.ServiceRpcFactory; +import java.io.IOException; +import java.io.Serializable; +import java.nio.ByteBuffer; +import java.nio.channels.ClosedChannelException; +import java.util.Arrays; +import java.util.Random; +import org.junit.Before; +import org.junit.Test; + +public class BaseWriteChannelTest { + + private abstract static class CustomService implements Service {} + + private abstract static class CustomServiceOptions + extends ServiceOptions { + + private static final long serialVersionUID = 3302358029307467197L; + + protected CustomServiceOptions( + Class> serviceFactoryClass, + Class> rpcFactoryClass, + Builder builder) { + super(serviceFactoryClass, rpcFactoryClass, builder, null); + } + } + + private static final Serializable ENTITY = 42L; + private static final String UPLOAD_ID = "uploadId"; + private static final byte[] CONTENT = {0xD, 0xE, 0xA, 0xD}; + private static final int MIN_CHUNK_SIZE = 256 * 1024; // 256 KiB + private static final int DEFAULT_CHUNK_SIZE = 60 * MIN_CHUNK_SIZE; // 15MiB + private static final Random RANDOM = new Random(); + private static BaseWriteChannel channel; + + @Before + public void setUp() { + channel = + new BaseWriteChannel(null, ENTITY, UPLOAD_ID) { + @Override + public RestorableState capture() { + return null; + } + + @Override + protected void flushBuffer(int length, boolean last) {} + + @Override + protected BaseState.Builder stateBuilder() { + return null; + } + }; + } + + @Test + public void testConstructor() { + assertEquals(null, channel.getOptions()); + assertEquals(ENTITY, channel.getEntity()); + assertEquals(0, channel.getPosition()); + assertEquals(UPLOAD_ID, channel.getUploadId()); + assertEquals(0, channel.getLimit()); + assertTrue(channel.isOpen()); + assertArrayEquals(new byte[0], channel.getBuffer()); + assertEquals(DEFAULT_CHUNK_SIZE, channel.getChunkSize()); + } + + @Test + public void testClose() throws IOException { + channel.close(); + assertFalse(channel.isOpen()); + assertNull(channel.getBuffer()); + } + + @Test(expected = ClosedChannelException.class) + public void testValidateOpen() throws IOException { + channel.close(); + channel.write(ByteBuffer.allocate(42)); + } + + @Test + public void testChunkSize() { + channel.setChunkSize(42); + assertThat(channel.getChunkSize() >= MIN_CHUNK_SIZE).isTrue(); + assertThat(channel.getChunkSize() % MIN_CHUNK_SIZE).isEqualTo(0); + + channel.setChunkSize(2 * MIN_CHUNK_SIZE); + assertThat(channel.getChunkSize() >= MIN_CHUNK_SIZE).isTrue(); + assertThat(channel.getChunkSize() % MIN_CHUNK_SIZE).isEqualTo(0); + + channel.setChunkSize(2 * MIN_CHUNK_SIZE + 1); + assertThat(channel.getChunkSize() >= MIN_CHUNK_SIZE).isTrue(); + assertThat(channel.getChunkSize() % MIN_CHUNK_SIZE).isEqualTo(0); + } + + @Test + public void testWrite() throws IOException { + channel.write(ByteBuffer.wrap(CONTENT)); + assertEquals(CONTENT.length, channel.getLimit()); + assertEquals(DEFAULT_CHUNK_SIZE, channel.getBuffer().length); + assertArrayEquals(Arrays.copyOf(CONTENT, DEFAULT_CHUNK_SIZE), channel.getBuffer()); + } + + @Test + public void testWriteAndFlush() throws IOException { + ByteBuffer content = randomBuffer(DEFAULT_CHUNK_SIZE + 1); + channel.write(content); + assertEquals(DEFAULT_CHUNK_SIZE, channel.getPosition()); + assertEquals(1, channel.getLimit()); + byte[] newContent = new byte[DEFAULT_CHUNK_SIZE]; + newContent[0] = content.get(DEFAULT_CHUNK_SIZE); + assertArrayEquals(newContent, channel.getBuffer()); + } + + private static ByteBuffer randomBuffer(int size) { + byte[] byteArray = new byte[size]; + RANDOM.nextBytes(byteArray); + return ByteBuffer.wrap(byteArray); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java new file mode 100644 index 000000000000..001bba983407 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java @@ -0,0 +1,116 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.cloud.BaseServiceException.ExceptionData; +import org.easymock.EasyMock; +import org.junit.Before; +import org.junit.Test; + +public class BatchResultTest { + + private BatchResult result; + + @Before + public void setUp() { + result = new BatchResult() {}; + } + + @Test + public void testSuccess() { + assertFalse(result.completed()); + try { + result.get(); + fail("This was not completed yet."); + } catch (IllegalStateException ex) { + // expected + } + result.success(true); + assertTrue(result.get()); + // test that null is allowed + result.success(null); + } + + @Test + public void testError() { + assertFalse(result.completed()); + try { + result.get(); + fail("This was not completed yet."); + } catch (IllegalStateException ex) { + // expected + } + try { + result.error(null); + fail(); + } catch (NullPointerException exc) { + // expected + } + BaseServiceException ex = + new BaseServiceException(ExceptionData.from(0, "message", "reason", false)); + result.error(ex); + try { + result.get(); + fail("This is a failed operation and should have thrown a DnsException."); + } catch (BaseServiceException real) { + assertSame(ex, real); + } + } + + @Test + public void testNotifyError() { + final BaseServiceException ex = + new BaseServiceException(ExceptionData.from(0, "message", "reason", false)); + assertFalse(result.completed()); + BatchResult.Callback callback = + EasyMock.createStrictMock(BatchResult.Callback.class); + callback.error(ex); + EasyMock.replay(callback); + result.notify(callback); + result.error(ex); + try { + result.notify(callback); + fail("The batch has been completed."); + } catch (IllegalStateException exception) { + // expected + } + EasyMock.verify(callback); + } + + @Test + public void testNotifySuccess() { + assertFalse(result.completed()); + BatchResult.Callback callback = + EasyMock.createStrictMock(BatchResult.Callback.class); + callback.success(true); + EasyMock.replay(callback); + result.notify(callback); + result.success(true); + try { + result.notify(callback); + fail("The batch has been completed."); + } catch (IllegalStateException exception) { + // expected + } + EasyMock.verify(callback); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java new file mode 100644 index 000000000000..42873f8643e9 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java @@ -0,0 +1,114 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static org.junit.Assert.assertArrayEquals; +import static org.junit.Assert.assertEquals; + +import com.google.common.io.ByteStreams; +import com.google.protobuf.ByteString; +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.nio.ByteBuffer; +import java.nio.charset.StandardCharsets; +import org.junit.BeforeClass; +import org.junit.Test; + +public class ByteArrayTest { + + private static final String STRING_CONTENT = "Hello, ByteArray!"; + private static final byte[] BYTES_CONTENT = STRING_CONTENT.getBytes(StandardCharsets.UTF_8); + private static final ByteBuffer BYTE_BUFFER_CONTENT = ByteBuffer.wrap(BYTES_CONTENT); + private static final InputStream STREAM_CONTENT = new ByteArrayInputStream(BYTES_CONTENT); + private static final ByteArray STRING_ARRAY = ByteArray.copyFrom(STRING_CONTENT); + private static final ByteArray BYTES_ARRAY = ByteArray.copyFrom(BYTES_CONTENT); + private static final ByteArray BYTE_BUFFER_ARRAY = ByteArray.copyFrom(BYTE_BUFFER_CONTENT); + private static final ByteArray ARRAY = new ByteArray(ByteString.copyFrom(BYTES_CONTENT)); + + private static ByteArray streamArray; + + @BeforeClass + public static void beforeClass() throws IOException { + streamArray = ByteArray.copyFrom(STREAM_CONTENT); + BYTE_BUFFER_CONTENT.flip(); + } + + @Test + public void testCopyFromString() throws IOException { + assertEquals(STRING_CONTENT, STRING_ARRAY.toStringUtf8()); + assertArrayEquals(BYTES_CONTENT, STRING_ARRAY.toByteArray()); + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), STRING_ARRAY.asReadOnlyByteBuffer()); + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(STRING_ARRAY.asInputStream())); + } + + @Test + public void testCopyFromByteArray() throws IOException { + assertEquals(STRING_CONTENT, BYTES_ARRAY.toStringUtf8()); + assertArrayEquals(BYTES_CONTENT, BYTES_ARRAY.toByteArray()); + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), BYTES_ARRAY.asReadOnlyByteBuffer()); + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(BYTES_ARRAY.asInputStream())); + } + + @Test + public void testCopyFromByteBuffer() throws IOException { + assertEquals(STRING_CONTENT, BYTE_BUFFER_ARRAY.toStringUtf8()); + assertArrayEquals(BYTES_CONTENT, BYTE_BUFFER_ARRAY.toByteArray()); + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), BYTE_BUFFER_ARRAY.asReadOnlyByteBuffer()); + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(BYTE_BUFFER_ARRAY.asInputStream())); + } + + @Test + public void testCopyFromStream() throws IOException { + assertEquals(STRING_CONTENT, streamArray.toStringUtf8()); + assertArrayEquals(BYTES_CONTENT, streamArray.toByteArray()); + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), streamArray.asReadOnlyByteBuffer()); + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(streamArray.asInputStream())); + } + + @Test + public void testLength() { + assertEquals(BYTES_CONTENT.length, ARRAY.length()); + } + + @Test + public void testToStringUtf8() { + assertEquals(STRING_CONTENT, ARRAY.toStringUtf8()); + } + + @Test + public void testToByteArray() { + assertArrayEquals(BYTES_CONTENT, ARRAY.toByteArray()); + } + + @Test + public void testAsReadOnlyByteBuffer() { + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), ARRAY.asReadOnlyByteBuffer()); + } + + @Test + public void testAsInputStream() throws IOException { + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(ARRAY.asInputStream())); + } + + @Test + public void testHashCode() { + assertEquals(STRING_ARRAY.hashCode(), BYTES_ARRAY.hashCode()); + assertEquals(BYTES_ARRAY.hashCode(), BYTE_BUFFER_ARRAY.hashCode()); + assertEquals(BYTE_BUFFER_ARRAY.hashCode(), streamArray.hashCode()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ConditionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ConditionTest.java new file mode 100644 index 000000000000..67e0e6c2b596 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ConditionTest.java @@ -0,0 +1,40 @@ +/* + * Copyright 2023 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 + * + * http://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; + +import static com.google.common.truth.Truth.assertThat; + +import org.junit.Test; + +public final class ConditionTest { + + @Test + public void title_nullable() { + Condition condition = + Condition.newBuilder().setTitle(null).setDescription("desc").setExpression("expr").build(); + + assertThat(condition.getTitle()).isNull(); + } + + @Test + public void description_nullable() { + Condition condition = + Condition.newBuilder().setTitle("title").setDescription(null).setExpression("expr").build(); + + assertThat(condition.getDescription()).isNull(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java new file mode 100644 index 000000000000..d95efaf09459 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java @@ -0,0 +1,172 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import static com.google.common.testing.SerializableTester.reserializeAndAssert; +import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.fail; + +import com.google.common.testing.EqualsTester; +import java.text.ParseException; +import java.text.SimpleDateFormat; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** Unit tests for {@link Date}. */ +@RunWith(JUnit4.class) +public class DateTest { + + private static final SimpleDateFormat SIMPLE_DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd"); + + @Test + public void parseDate() { + verifyDate("2016-09-18", 2016, 9, 18); + verifyDate("2000-01-01", 2000, 1, 1); + verifyDate("9999-12-31", 9999, 12, 31); + verifyDate("0001-01-01", 1, 1, 1); + verifyDate("2000-02-29", 2000, 2, 29); // This is a valid leap year. + verifyDate("1900-02-29", 1900, 2, 29); // This is NOT a valid leap year. + verifyDate("2001-02-29", 2001, 2, 29); // Also not a valid leap year. + verifyDate("2000-04-31", 2000, 4, 31); // Not a valid date. + } + + private void verifyDate(String input, int year, int month, int day) { + Date date = Date.parseDate(input); + assertThat(date.getYear()).isEqualTo(year); + assertThat(date.getMonth()).isEqualTo(month); + assertThat(date.getDayOfMonth()).isEqualTo(day); + } + + @Test + public void parseInvalidDates() { + parseInvalidDate("2016/09/18"); + parseInvalidDate("2016 09 18"); + parseInvalidDate("2016-9-18"); + parseInvalidDate("2016-09-18T10:00"); + parseInvalidDate(""); + parseInvalidDate("test"); + parseInvalidDate("aaaa-bb-cc"); + parseInvalidDate("aaaa-01-01"); + parseInvalidDate("2019-bb-01"); + parseInvalidDate("2019-01-cc"); + parseInvalidMonth("2000-13-01"); + parseInvalidMonth("2000-00-01"); + parseInvalidDay("2000-12-32"); + parseInvalidDay("2000-12-00"); + parseInvalidDate("10000-01-01"); + parseInvalidYear("0000-01-01"); + parseInvalidYear("-001-01-01"); + parseInvalidMonth("0001--1-01"); + parseInvalidDay("0001-01--1"); + } + + private void parseInvalidDate(String input) { + try { + Date.parseDate(input); + fail("Expected exception"); + } catch (IllegalArgumentException e) { + assertThat(e.getMessage()).contains("Invalid date"); + } + } + + private void parseInvalidYear(String input) { + try { + Date.parseDate(input); + fail("Expected exception"); + } catch (IllegalArgumentException e) { + assertThat(e.getMessage()).contains("Invalid year"); + } + } + + private void parseInvalidMonth(String input) { + try { + Date.parseDate(input); + fail("Expected exception"); + } catch (IllegalArgumentException e) { + assertThat(e.getMessage()).contains("Invalid month"); + } + } + + private void parseInvalidDay(String input) { + try { + Date.parseDate(input); + fail("Expected exception"); + } catch (IllegalArgumentException e) { + assertThat(e.getMessage()).contains("Invalid day"); + } + } + + @Test + public void testToString() { + Date date = Date.fromYearMonthDay(10, 9, 5); + assertThat(date.toString()).isEqualTo("0010-09-05"); + date = Date.fromYearMonthDay(2016, 12, 31); + assertThat(date.toString()).isEqualTo("2016-12-31"); + date = Date.fromYearMonthDay(1, 1, 1); + assertThat(date.toString()).isEqualTo("0001-01-01"); + } + + @Test + public void equalAndHashCode() { + Date d1 = Date.fromYearMonthDay(2016, 9, 18); + Date d2 = Date.fromYearMonthDay(2016, 9, 18); + Date d3 = Date.fromYearMonthDay(2016, 9, 19); + new EqualsTester().addEqualityGroup(d1, d2).addEqualityGroup(d3).testEquals(); + } + + @Test + public void validOrdering() { + Date d1 = Date.fromYearMonthDay(2016, 9, 18); + Date d2 = Date.fromYearMonthDay(2016, 9, 19); + Date d3 = Date.fromYearMonthDay(2016, 9, 20); + Date d4 = Date.fromYearMonthDay(2016, 10, 1); + Date d5 = Date.fromYearMonthDay(2017, 1, 1); + assertDescending(d5, d4, d3, d2, d1); + } + + @Test + public void serialization() { + reserializeAndAssert(Date.fromYearMonthDay(2017, 4, 20)); + } + + @Test + public void testToJavaUtilDate() throws ParseException { + Date gcDate = Date.parseDate("2016-09-18"); + java.util.Date juDate1 = SIMPLE_DATE_FORMAT.parse("2016-09-18"); + java.util.Date juDate2 = Date.toJavaUtilDate(gcDate); + assertThat(juDate1).isEqualTo(juDate2); + } + + @Test + public void testFromJavaUtilDate() throws ParseException { + java.util.Date juDate = SIMPLE_DATE_FORMAT.parse("2016-09-18"); + Date gcDate = Date.fromJavaUtilDate(juDate); + assertThat(gcDate.getYear()).isEqualTo(2016); + assertThat(gcDate.getMonth()).isEqualTo(9); + assertThat(gcDate.getDayOfMonth()).isEqualTo(18); + } + + private void assertDescending(Date... dates) { + for (int i = 0; i < dates.length - 1; i++) { + assertThat(dates[i]).isEquivalentAccordingToCompareTo(dates[i]); + for (int j = i + 1; j < dates.length; j++) { + assertThat(dates[i]).isGreaterThan(dates[j]); + } + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java new file mode 100644 index 000000000000..50e0583c89ca --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java @@ -0,0 +1,210 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.cloud.ExceptionHandler.Interceptor; +import com.google.cloud.ExceptionHandler.Interceptor.RetryResult; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.channels.ClosedByInterruptException; +import java.util.concurrent.Callable; +import java.util.concurrent.atomic.AtomicReference; +import org.junit.Test; + +/** Tests for {@link ExceptionHandler}. */ +public class ExceptionHandlerTest { + + @Test + public void testVerifyCaller() { + class A implements Callable { + @Override + public Object call() throws IOException, InterruptedException { + return null; + } + } + + class B extends A {} + + class C extends A { + @Override + public Object call() throws FileNotFoundException { + return "c"; + } + } + + class D extends C { + @Override + public Object call() throws IllegalArgumentException { + return "d"; + } + } + + class E extends A { + @Override + public String call() throws NullPointerException { + return "e"; + } + } + + class F extends A { + @Override + public Object call() throws Error { + return "f"; + } + } + + // using default exception handler (retry upon any non-runtime exceptions) + ExceptionHandler handler = ExceptionHandler.getDefaultInstance(); + assertValidCallable(new A(), handler); + assertValidCallable(new B(), handler); + assertValidCallable(new C(), handler); + assertValidCallable(new D(), handler); + assertValidCallable(new E(), handler); + assertInvalidCallable(new F(), handler); + + handler = + ExceptionHandler.newBuilder() + .retryOn(FileNotFoundException.class, NullPointerException.class) + .build(); + assertInvalidCallable(new A(), handler); + assertInvalidCallable(new B(), handler); + assertValidCallable(new C(), handler); + assertInvalidCallable(new D(), handler); + assertValidCallable(new E(), handler); + assertInvalidCallable(new F(), handler); + } + + private static void assertValidCallable(Callable callable, ExceptionHandler handler) { + handler.verifyCaller(callable); + } + + private static void assertInvalidCallable(Callable callable, ExceptionHandler handler) { + try { + handler.verifyCaller(callable); + fail("Expected RetryHelper constructor to fail"); + } catch (IllegalArgumentException ex) { + // expected + } + } + + @Test + public void testShouldTry() { + ExceptionHandler handler = ExceptionHandler.newBuilder().retryOn(IOException.class).build(); + assertTrue(handler.shouldRetry(new IOException(), null)); + assertTrue(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertFalse(handler.shouldRetry(new RuntimeException(), null)); + + ExceptionHandler.Builder builder = + ExceptionHandler.newBuilder() + .retryOn(IOException.class, NullPointerException.class) + .abortOn( + RuntimeException.class, + ClosedByInterruptException.class, + InterruptedException.class); + + handler = builder.build(); + assertTrue(handler.shouldRetry(new IOException(), null)); + assertFalse(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertFalse(handler.shouldRetry(new InterruptedException(), null)); + assertFalse(handler.shouldRetry(new RuntimeException(), null)); + assertTrue(handler.shouldRetry(new NullPointerException(), null)); + + final AtomicReference before = new AtomicReference<>(RetryResult.NO_RETRY); + @SuppressWarnings("serial") + Interceptor interceptor = + new Interceptor() { + + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return retryResult == RetryResult.NO_RETRY ? RetryResult.RETRY : RetryResult.NO_RETRY; + } + + @Override + public RetryResult beforeEval(Exception exception) { + return before.get(); + } + }; + + builder.addInterceptors(interceptor); + handler = builder.build(); + assertFalse(handler.shouldRetry(new IOException(), null)); + assertFalse(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertFalse(handler.shouldRetry(new InterruptedException(), null)); + assertFalse(handler.shouldRetry(new RuntimeException(), null)); + assertFalse(handler.shouldRetry(new NullPointerException(), null)); + + before.set(RetryResult.RETRY); + assertTrue(handler.shouldRetry(new IOException(), null)); + assertTrue(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertTrue(handler.shouldRetry(new InterruptedException(), null)); + assertTrue(handler.shouldRetry(new RuntimeException(), null)); + assertTrue(handler.shouldRetry(new NullPointerException(), null)); + + before.set(RetryResult.CONTINUE_EVALUATION); + assertFalse(handler.shouldRetry(new IOException(), null)); + assertTrue(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertTrue(handler.shouldRetry(new InterruptedException(), null)); + assertTrue(handler.shouldRetry(new RuntimeException(), null)); + assertFalse(handler.shouldRetry(new NullPointerException(), null)); + } + + @Test(expected = NullPointerException.class) + public void testNullRetryResultFromBeforeEval() { + @SuppressWarnings("serial") + Interceptor interceptor = + new Interceptor() { + + @Override + public RetryResult beforeEval(Exception exception) { + return null; + } + + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return RetryResult.CONTINUE_EVALUATION; + } + }; + + ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); + handler.shouldRetry(new Exception(), null); + } + + @Test(expected = NullPointerException.class) + public void testNullRetryResultFromAfterEval() { + @SuppressWarnings("serial") + Interceptor interceptor = + new Interceptor() { + + @Override + public RetryResult beforeEval(Exception exception) { + return RetryResult.CONTINUE_EVALUATION; + } + + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return null; + } + }; + + ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); + handler.shouldRetry(new Exception(), null); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java new file mode 100644 index 000000000000..7b94ff529402 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java @@ -0,0 +1,103 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.FieldSelector.Helper; +import com.google.common.collect.ImmutableList; +import java.util.List; +import org.junit.Test; + +public class FieldSelectorHelperTest { + + private static final FieldSelector FIELD1 = + new FieldSelector() { + @Override + public String getSelector() { + return "field1"; + } + }; + private static final FieldSelector FIELD2 = + new FieldSelector() { + @Override + public String getSelector() { + return "field2"; + } + }; + private static final FieldSelector FIELD3 = + new FieldSelector() { + @Override + public String getSelector() { + return "field3"; + } + }; + private static final String[] FIRST_LEVEL_FIELDS = {"firstLevel1", "firstLevel2"}; + private static final List REQUIRED_FIELDS = ImmutableList.of(FIELD1, FIELD2); + private static final String CONTAINER = "container"; + + @Test + public void testSelector() { + String selector = Helper.selector(REQUIRED_FIELDS, FIELD3); + assertTrue(selector.contains("field1")); + assertTrue(selector.contains("field2")); + assertTrue(selector.contains("field3")); + assertEquals(20, selector.length()); + } + + @Test + public void testListSelector() { + String selector = Helper.listSelector(CONTAINER, REQUIRED_FIELDS, FIELD3); + assertTrue(selector.startsWith("nextPageToken,container(")); + assertTrue(selector.contains("field1")); + assertTrue(selector.contains("field2")); + assertTrue(selector.contains("field3")); + assertTrue(selector.endsWith(")")); + assertEquals(45, selector.length()); + } + + @Test + public void testListSelectorWithExtraFields() { + String selector = + Helper.listSelector(CONTAINER, REQUIRED_FIELDS, new FieldSelector[] {FIELD3}, "field4"); + assertTrue(selector.startsWith("nextPageToken,container(")); + assertTrue(selector.contains("field1")); + assertTrue(selector.contains("field2")); + assertTrue(selector.contains("field3")); + assertTrue(selector.contains("field4")); + assertTrue(selector.endsWith(")")); + assertEquals(52, selector.length()); + } + + @Test + public void testListSelectorWithFirstLevelFields() { + String selector = + Helper.listSelector( + FIRST_LEVEL_FIELDS, CONTAINER, REQUIRED_FIELDS, new FieldSelector[] {FIELD3}, "field4"); + assertTrue(selector.contains("firstLevel1")); + assertTrue(selector.contains("firstLevel2")); + assertTrue(selector.contains("nextPageToken")); + assertTrue(selector.contains("container(")); + assertTrue(selector.contains("field1")); + assertTrue(selector.contains("field2")); + assertTrue(selector.contains("field3")); + assertTrue(selector.contains("field4")); + assertTrue(selector.endsWith(")")); + assertEquals(76, selector.length()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java new file mode 100644 index 000000000000..8f8abb170c84 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java @@ -0,0 +1,161 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; + +import org.junit.Test; + +public class IdentityTest { + + private static final Identity ALL_USERS = Identity.allUsers(); + private static final Identity ALL_AUTH_USERS = Identity.allAuthenticatedUsers(); + private static final Identity USER = Identity.user("abc@gmail.com"); + private static final Identity SERVICE_ACCOUNT = + Identity.serviceAccount("service-account@gmail.com"); + private static final Identity GROUP = Identity.group("group@gmail.com"); + private static final Identity DOMAIN = Identity.domain("google.com"); + private static final Identity PROJECT_OWNER = Identity.projectOwner("my-sample-project"); + private static final Identity PROJECT_EDITOR = Identity.projectEditor("my-sample-project"); + private static final Identity PROJECT_VIEWER = Identity.projectViewer("my-sample-project"); + + @Test + public void testAllUsers() { + assertEquals(Identity.Type.ALL_USERS, ALL_USERS.getType()); + assertNull(ALL_USERS.getValue()); + } + + @Test + public void testAllAuthenticatedUsers() { + assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.getType()); + assertNull(ALL_AUTH_USERS.getValue()); + } + + @Test + public void testUser() { + assertEquals(Identity.Type.USER, USER.getType()); + assertEquals("abc@gmail.com", USER.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testUserNullEmail() { + Identity.user(null); + } + + @Test + public void testServiceAccount() { + assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.getType()); + assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testServiceAccountNullEmail() { + Identity.serviceAccount(null); + } + + @Test + public void testGroup() { + assertEquals(Identity.Type.GROUP, GROUP.getType()); + assertEquals("group@gmail.com", GROUP.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testGroupNullEmail() { + Identity.group(null); + } + + @Test + public void testDomain() { + assertEquals(Identity.Type.DOMAIN, DOMAIN.getType()); + assertEquals("google.com", DOMAIN.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testDomainNullId() { + Identity.domain(null); + } + + @Test + public void testProjectOwner() { + assertEquals(Identity.Type.PROJECT_OWNER, PROJECT_OWNER.getType()); + assertEquals("my-sample-project", PROJECT_OWNER.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testProjectOwnerNullId() { + Identity.projectOwner(null); + } + + @Test + public void testProjectEditor() { + assertEquals(Identity.Type.PROJECT_EDITOR, PROJECT_EDITOR.getType()); + assertEquals("my-sample-project", PROJECT_EDITOR.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testProjectEditorNullId() { + Identity.projectEditor(null); + } + + @Test + public void testProjectViewer() { + assertEquals(Identity.Type.PROJECT_VIEWER, PROJECT_VIEWER.getType()); + assertEquals("my-sample-project", PROJECT_VIEWER.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testProjectViewerNullId() { + Identity.projectViewer(null); + } + + @Test + public void testIdentityToAndFromPb() { + compareIdentities(ALL_USERS, Identity.valueOf(ALL_USERS.strValue())); + compareIdentities(ALL_AUTH_USERS, Identity.valueOf(ALL_AUTH_USERS.strValue())); + compareIdentities(USER, Identity.valueOf(USER.strValue())); + compareIdentities(SERVICE_ACCOUNT, Identity.valueOf(SERVICE_ACCOUNT.strValue())); + compareIdentities(GROUP, Identity.valueOf(GROUP.strValue())); + compareIdentities(DOMAIN, Identity.valueOf(DOMAIN.strValue())); + compareIdentities(PROJECT_OWNER, Identity.valueOf(PROJECT_OWNER.strValue())); + compareIdentities(PROJECT_EDITOR, Identity.valueOf(PROJECT_EDITOR.strValue())); + compareIdentities(PROJECT_VIEWER, Identity.valueOf(PROJECT_VIEWER.strValue())); + } + + @Test(expected = IllegalArgumentException.class) + public void testValueOfEmpty() { + Identity.valueOf(""); + } + + @Test + public void testUnrecognizedToString() { + assertEquals("a:b", Identity.valueOf("a:b").strValue()); + } + + @Test + public void testValueOfThreePart() { + Identity identity = Identity.valueOf("a:b:c"); + assertEquals("A", identity.getType().name()); + assertEquals("b:c", identity.getValue()); + } + + private void compareIdentities(Identity expected, Identity actual) { + assertEquals(expected, actual); + assertEquals(expected.getType(), actual.getType()); + assertEquals(expected.getValue(), actual.getValue()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java new file mode 100644 index 000000000000..b29896af4821 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java @@ -0,0 +1,123 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; + +import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor; +import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType; +import com.google.common.collect.ImmutableList; +import java.util.List; +import org.junit.Test; + +public class MonitoredResourceDescriptorTest { + + private static final LabelDescriptor BOOLEAN_LABEL = + new LabelDescriptor("booleanKey", ValueType.BOOL, "Boolean label"); + private static final LabelDescriptor STRING_LABEL = + new LabelDescriptor("stringKey", ValueType.STRING, "String label"); + private static final LabelDescriptor INT_LABEL = + new LabelDescriptor("intKey", ValueType.INT64, "Int label"); + private static final LabelDescriptor INT_LABEL_NO_DESCRIPTION = + new LabelDescriptor("intKey", ValueType.INT64, null); + private static final String TYPE = "resource_type"; + private static final String NAME = "resourceName"; + private static final String DISPLAY_NAME = "Display Name"; + private static final String DESCRIPTION = "Resource Descriptor"; + private static final List LABELS = + ImmutableList.of(BOOLEAN_LABEL, STRING_LABEL, INT_LABEL); + private static final MonitoredResourceDescriptor RESOURCE_DESCRIPTOR = + MonitoredResourceDescriptor.newBuilder(TYPE) + .setName(NAME) + .setDisplayName(DISPLAY_NAME) + .setDescription(DESCRIPTION) + .setLabels(LABELS) + .build(); + + @Test + public void testLabelDescriptor() { + assertEquals("booleanKey", BOOLEAN_LABEL.getKey()); + assertEquals(ValueType.BOOL, BOOLEAN_LABEL.getValueType()); + assertEquals("Boolean label", BOOLEAN_LABEL.getDescription()); + assertEquals("stringKey", STRING_LABEL.getKey()); + assertEquals(ValueType.STRING, STRING_LABEL.getValueType()); + assertEquals("String label", STRING_LABEL.getDescription()); + assertEquals("intKey", INT_LABEL.getKey()); + assertEquals(ValueType.INT64, INT_LABEL.getValueType()); + assertEquals("Int label", INT_LABEL.getDescription()); + assertEquals("intKey", INT_LABEL_NO_DESCRIPTION.getKey()); + assertEquals(ValueType.INT64, INT_LABEL_NO_DESCRIPTION.getValueType()); + assertNull(INT_LABEL_NO_DESCRIPTION.getDescription()); + } + + @Test + public void testBuilder() { + assertEquals(TYPE, RESOURCE_DESCRIPTOR.getType()); + assertEquals(NAME, RESOURCE_DESCRIPTOR.getName()); + assertEquals(DISPLAY_NAME, RESOURCE_DESCRIPTOR.getDisplayName()); + assertEquals(DESCRIPTION, RESOURCE_DESCRIPTOR.getDescription()); + assertEquals(LABELS, RESOURCE_DESCRIPTOR.getLabels()); + MonitoredResourceDescriptor resourceDescriptor = + MonitoredResourceDescriptor.newBuilder(TYPE).build(); + assertEquals(TYPE, resourceDescriptor.getType()); + assertNull(resourceDescriptor.getName()); + assertNull(resourceDescriptor.getDisplayName()); + assertNull(resourceDescriptor.getDescription()); + assertEquals(ImmutableList.of(), resourceDescriptor.getLabels()); + } + + @Test + public void testToAndFromPbLabelDescriptor() { + compareLabelDescriptor(BOOLEAN_LABEL, LabelDescriptor.fromPb(BOOLEAN_LABEL.toPb())); + compareLabelDescriptor(STRING_LABEL, LabelDescriptor.fromPb(STRING_LABEL.toPb())); + compareLabelDescriptor(INT_LABEL, LabelDescriptor.fromPb(INT_LABEL.toPb())); + compareLabelDescriptor( + INT_LABEL_NO_DESCRIPTION, LabelDescriptor.fromPb(INT_LABEL_NO_DESCRIPTION.toPb())); + } + + @Test + public void testToAndFromPb() { + compareResourceDescriptor( + RESOURCE_DESCRIPTOR, MonitoredResourceDescriptor.fromPb(RESOURCE_DESCRIPTOR.toPb())); + MonitoredResourceDescriptor resourceDescriptor = + MonitoredResourceDescriptor.newBuilder(TYPE).build(); + compareResourceDescriptor( + resourceDescriptor, MonitoredResourceDescriptor.fromPb(resourceDescriptor.toPb())); + } + + private void compareLabelDescriptor(LabelDescriptor expected, LabelDescriptor value) { + assertEquals(expected, value); + assertEquals(expected.getKey(), value.getKey()); + assertEquals(expected.getValueType(), value.getValueType()); + assertEquals(expected.getDescription(), value.getDescription()); + assertEquals(expected.hashCode(), value.hashCode()); + assertEquals(expected.toString(), value.toString()); + } + + private void compareResourceDescriptor( + MonitoredResourceDescriptor expected, MonitoredResourceDescriptor value) { + assertEquals(expected, value); + assertEquals(expected.getType(), value.getType()); + assertEquals(expected.getName(), value.getName()); + assertEquals(expected.getDisplayName(), value.getDisplayName()); + assertEquals(expected.getDescription(), value.getDescription()); + assertEquals(expected.getLabels(), value.getLabels()); + assertEquals(expected.hashCode(), value.hashCode()); + assertEquals(expected.toString(), value.toString()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java new file mode 100644 index 000000000000..6054a7aa3463 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java @@ -0,0 +1,96 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static org.junit.Assert.assertEquals; + +import com.google.common.collect.ImmutableMap; +import java.util.Map; +import org.junit.Test; + +public class MonitoredResourceTest { + + private static final String TYPE = "cloudsql_database"; + private static final Map LABELS = + ImmutableMap.of("dataset-id", "myDataset", "zone", "myZone"); + private static final MonitoredResource MONITORED_RESOURCE = + MonitoredResource.newBuilder(TYPE).setLabels(LABELS).build(); + + @Test + public void testBuilder() { + assertEquals(TYPE, MONITORED_RESOURCE.getType()); + assertEquals(LABELS, MONITORED_RESOURCE.getLabels()); + MonitoredResource monitoredResource = + MonitoredResource.newBuilder(TYPE) + .addLabel("dataset-id", "myDataset") + .addLabel("zone", "myZone") + .build(); + assertEquals(TYPE, monitoredResource.getType()); + assertEquals(LABELS, monitoredResource.getLabels()); + compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); + monitoredResource = + MonitoredResource.newBuilder(TYPE) + .setType("global") + .addLabel("dataset-id", "myDataset") + .addLabel("zone", "myZone") + .clearLabels() + .build(); + assertEquals("global", monitoredResource.getType()); + assertEquals(ImmutableMap.of(), monitoredResource.getLabels()); + } + + @Test + public void testToBuilder() { + compareMonitoredResource(MONITORED_RESOURCE, MONITORED_RESOURCE.toBuilder().build()); + MonitoredResource monitoredResource = + MONITORED_RESOURCE.toBuilder().setType("global").clearLabels().build(); + assertEquals("global", monitoredResource.getType()); + assertEquals(ImmutableMap.of(), monitoredResource.getLabels()); + monitoredResource = + monitoredResource + .toBuilder() + .setType(TYPE) + .setLabels(ImmutableMap.of("dataset-id", "myDataset")) + .addLabel("zone", "myZone") + .build(); + compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); + } + + @Test + public void testOf() { + MonitoredResource monitoredResource = MonitoredResource.of(TYPE, LABELS); + assertEquals(TYPE, monitoredResource.getType()); + assertEquals(LABELS, monitoredResource.getLabels()); + compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); + } + + @Test + public void testToAndFromPb() { + compareMonitoredResource( + MONITORED_RESOURCE, MonitoredResource.fromPb(MONITORED_RESOURCE.toPb())); + MonitoredResource monitoredResource = + MonitoredResource.of(TYPE, ImmutableMap.of()); + compareMonitoredResource(monitoredResource, MonitoredResource.fromPb(monitoredResource.toPb())); + } + + private void compareMonitoredResource(MonitoredResource expected, MonitoredResource value) { + assertEquals(expected, value); + assertEquals(expected.getType(), value.getType()); + assertEquals(expected.getLabels(), value.getLabels()); + assertEquals(expected.hashCode(), value.hashCode()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java new file mode 100644 index 000000000000..5e6a6782d6e2 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java @@ -0,0 +1,64 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import static org.junit.Assert.assertEquals; + +import com.google.api.gax.paging.Page; +import com.google.common.collect.ImmutableList; +import org.junit.Test; + +public class PageImplTest { + + private static final ImmutableList VALUES = ImmutableList.of("1", "2"); + private static final ImmutableList NEXT_VALUES = ImmutableList.of("3", "4"); + private static final ImmutableList ALL_VALUES = + ImmutableList.builder().addAll(VALUES).addAll(NEXT_VALUES).build(); + + private static class TestPageFetcher implements PageImpl.NextPageFetcher { + private static final long serialVersionUID = -8316752901403429976L; + + private final PageImpl nextResult; + + TestPageFetcher(PageImpl nextResult) { + this.nextResult = nextResult; + } + + @Override + public Page getNextPage() { + return nextResult; + } + } + + @Test + public void testPage() { + final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); + PageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); + PageImpl result = new PageImpl<>(fetcher, "c", VALUES); + assertEquals(nextResult, result.getNextPage()); + assertEquals("c", result.getNextPageToken()); + assertEquals(VALUES, result.getValues()); + } + + @Test + public void testIterateAll() { + final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); + PageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); + PageImpl result = new PageImpl<>(fetcher, "c", VALUES); + assertEquals(ALL_VALUES, ImmutableList.copyOf(result.iterateAll())); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java new file mode 100644 index 000000000000..98695c2a4c56 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java @@ -0,0 +1,228 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.cloud.Policy.DefaultMarshaller; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Set; +import org.junit.Test; + +public class PolicyTest { + + private static final Identity ALL_USERS = Identity.allUsers(); + private static final Identity ALL_AUTH_USERS = Identity.allAuthenticatedUsers(); + private static final Identity USER = Identity.user("abc@gmail.com"); + private static final Identity SERVICE_ACCOUNT = + Identity.serviceAccount("service-account@gmail.com"); + private static final Identity GROUP = Identity.group("group@gmail.com"); + private static final Identity DOMAIN = Identity.domain("google.com"); + private static final Role VIEWER = Role.viewer(); + private static final Role EDITOR = Role.editor(); + private static final Role OWNER = Role.owner(); + private static final Map> BINDINGS = + ImmutableMap.of( + VIEWER, + ImmutableSet.of(USER, SERVICE_ACCOUNT, ALL_USERS), + EDITOR, + ImmutableSet.of(ALL_AUTH_USERS, GROUP, DOMAIN)); + private static final Policy SIMPLE_POLICY = + Policy.newBuilder() + .addIdentity(VIEWER, USER, SERVICE_ACCOUNT, ALL_USERS) + .addIdentity(EDITOR, ALL_AUTH_USERS, GROUP, DOMAIN) + .build(); + private static final Policy FULL_POLICY = + Policy.newBuilder() + .setBindings(SIMPLE_POLICY.getBindings()) + .setEtag("etag") + .setVersion(1) + .build(); + + @Test + public void testBuilder() { + assertEquals(BINDINGS, SIMPLE_POLICY.getBindings()); + assertEquals(null, SIMPLE_POLICY.getEtag()); + assertEquals(0, SIMPLE_POLICY.getVersion()); + assertEquals(BINDINGS, FULL_POLICY.getBindings()); + assertEquals("etag", FULL_POLICY.getEtag()); + assertEquals(1, FULL_POLICY.getVersion()); + Map> editorBinding = + ImmutableMap.>builder().put(EDITOR, BINDINGS.get(EDITOR)).build(); + Policy policy = FULL_POLICY.toBuilder().setBindings(editorBinding).build(); + assertEquals(editorBinding, policy.getBindings()); + assertEquals("etag", policy.getEtag()); + assertEquals(1, policy.getVersion()); + policy = SIMPLE_POLICY.toBuilder().removeRole(EDITOR).build(); + assertEquals(ImmutableMap.of(VIEWER, BINDINGS.get(VIEWER)), policy.getBindings()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); + policy = + policy + .toBuilder() + .removeIdentity(VIEWER, USER, ALL_USERS) + .addIdentity(VIEWER, DOMAIN, GROUP) + .build(); + assertEquals( + ImmutableMap.of(VIEWER, ImmutableSet.of(SERVICE_ACCOUNT, DOMAIN, GROUP)), + policy.getBindings()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); + policy = + Policy.newBuilder() + .removeIdentity(VIEWER, USER) + .addIdentity(OWNER, USER, SERVICE_ACCOUNT) + .addIdentity(EDITOR, GROUP) + .removeIdentity(EDITOR, GROUP) + .build(); + assertEquals( + ImmutableMap.of(OWNER, ImmutableSet.of(USER, SERVICE_ACCOUNT)), policy.getBindings()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); + } + + @Test + public void testPolicyOrderShouldNotMatter() { + Role role1 = Role.of("role1"); + Identity identity1 = Identity.user("user1@example.com"); + Role role2 = Role.of("role2"); + Identity identity2 = Identity.user("user2@example.com"); + Policy policy1 = + Policy.newBuilder().addIdentity(role1, identity1).addIdentity(role2, identity2).build(); + Policy policy2 = + Policy.newBuilder().addIdentity(role2, identity2).addIdentity(role1, identity1).build(); + assertEquals(policy1, policy2); + } + + @Test + public void testPolicyMultipleAddIdentitiesShouldNotMatter() { + Role role1 = Role.of("role1"); + Identity identity1 = Identity.user("user1@example.com"); + Role role2 = Role.of("role2"); + Identity identity2 = Identity.user("user2@example.com"); + Policy policy1 = + Policy.newBuilder() + .addIdentity(role1, identity1) + .addIdentity(role2, identity2) + .addIdentity(role2, identity2) + .build(); + Policy policy2 = + Policy.newBuilder().addIdentity(role2, identity2).addIdentity(role1, identity1).build(); + assertEquals(policy1, policy2); + } + + @Test + public void testIllegalPolicies() { + try { + Policy.newBuilder().addIdentity(null, USER); + fail("Null role should cause exception."); + } catch (NullPointerException ex) { + assertEquals("The role cannot be null.", ex.getMessage()); + } + try { + Policy.newBuilder().addIdentity(VIEWER, null, USER); + fail("Null identity should cause exception."); + } catch (NullPointerException ex) { + assertEquals("Null identities are not permitted.", ex.getMessage()); + } + try { + Policy.newBuilder().addIdentity(VIEWER, USER, (Identity[]) null); + fail("Null identity should cause exception."); + } catch (NullPointerException ex) { + assertEquals("Null identities are not permitted.", ex.getMessage()); + } + try { + Policy.newBuilder().setBindings((Map>) null); + fail("Null bindings map should cause exception."); + } catch (NullPointerException ex) { + assertEquals("The provided map of bindings cannot be null.", ex.getMessage()); + } + try { + Map> bindings = new HashMap<>(); + bindings.put(VIEWER, null); + Policy.newBuilder().setBindings(bindings); + fail("Null set of identities should cause exception."); + } catch (NullPointerException ex) { + assertEquals("A role cannot be assigned to a null set of identities.", ex.getMessage()); + } + try { + Map> bindings = new HashMap<>(); + Set identities = new HashSet<>(); + identities.add(null); + bindings.put(VIEWER, identities); + Policy.newBuilder().setBindings(bindings); + fail("Null identity should cause exception."); + } catch (IllegalArgumentException ex) { + assertEquals("Null identities are not permitted.", ex.getMessage()); + } + } + + @Test + public void testEqualsHashCode() { + assertNotNull(FULL_POLICY); + Policy emptyPolicy = Policy.newBuilder().build(); + Policy anotherPolicy = Policy.newBuilder().build(); + assertEquals(emptyPolicy, anotherPolicy); + assertEquals(emptyPolicy.hashCode(), anotherPolicy.hashCode()); + assertNotEquals(FULL_POLICY, SIMPLE_POLICY); + assertNotEquals(FULL_POLICY.hashCode(), SIMPLE_POLICY.hashCode()); + Policy copy = SIMPLE_POLICY.toBuilder().build(); + assertEquals(SIMPLE_POLICY, copy); + assertEquals(SIMPLE_POLICY.hashCode(), copy.hashCode()); + } + + @Test + public void testBindings() { + assertTrue(Policy.newBuilder().build().getBindings().isEmpty()); + assertEquals(BINDINGS, SIMPLE_POLICY.getBindings()); + } + + @Test + public void testEtag() { + assertNull(SIMPLE_POLICY.getEtag()); + assertEquals("etag", FULL_POLICY.getEtag()); + } + + @Test + public void testVersion() { + assertEquals(0, SIMPLE_POLICY.getVersion()); + assertEquals(1, FULL_POLICY.getVersion()); + } + + @Test + public void testDefaultMarshaller() { + DefaultMarshaller marshaller = new DefaultMarshaller(); + Policy emptyPolicy = Policy.newBuilder().build(); + assertEquals(emptyPolicy, marshaller.fromPb(marshaller.toPb(emptyPolicy))); + assertEquals(SIMPLE_POLICY, marshaller.fromPb(marshaller.toPb(SIMPLE_POLICY))); + assertEquals(FULL_POLICY, marshaller.fromPb(marshaller.toPb(FULL_POLICY))); + com.google.iam.v1.Policy policyPb = com.google.iam.v1.Policy.getDefaultInstance(); + Policy policy = marshaller.fromPb(policyPb); + assertTrue(policy.getBindings().isEmpty()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java new file mode 100644 index 000000000000..bdddf656f48a --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java @@ -0,0 +1,281 @@ +/* + * Copyright 2020 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 + * + * http://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; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.cloud.Policy.DefaultMarshaller; +import com.google.common.collect.ImmutableList; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Iterator; +import java.util.List; +import org.junit.Test; + +public class PolicyV3Test { + + private static final String ALL_USERS = "allUsers"; + private static final String ALL_AUTH_USERS = "allAuthenticatedUsers"; + private static final String USER = "user:abc@gmail.com"; + private static final String SERVICE_ACCOUNT = "serviceAccount:service-account@gmail.com"; + private static final String GROUP = "group:group@gmail.com"; + private static final String DOMAIN = "domain:google.com"; + private static final String VIEWER = "roles/viewer"; + private static final String EDITOR = "roles/editor"; + private static final String OWNER = "roles/owner"; + private static final ImmutableList MEMBERS_LIST_1 = + ImmutableList.of(USER, SERVICE_ACCOUNT, ALL_USERS); + private static final ImmutableList MEMBERS_LIST_2 = + ImmutableList.of(ALL_AUTH_USERS, GROUP, DOMAIN); + + private static final Binding VIEWER_BINDING = + Binding.newBuilder().setRole(VIEWER).setMembers(MEMBERS_LIST_1).build(); + private static final Binding EDITOR_BINDING = + Binding.newBuilder().setRole(EDITOR).setMembers(MEMBERS_LIST_2).build(); + private static final ImmutableList BINDINGS_NO_CONDITIONS = + ImmutableList.of(VIEWER_BINDING, EDITOR_BINDING); + private static final Condition CONDITION = + Condition.newBuilder() + .setTitle("Condition") + .setDescription("Condition") + .setExpression("Expr") + .build(); + private static final ImmutableList BINDINGS_WITH_CONDITIONS = + ImmutableList.of(VIEWER_BINDING.toBuilder().setCondition(CONDITION).build(), EDITOR_BINDING); + private static final Policy FULL_POLICY_V1 = + Policy.newBuilder().setBindings(BINDINGS_NO_CONDITIONS).setEtag("etag").setVersion(1).build(); + + private static final Policy FULL_POLICY_V3 = + Policy.newBuilder() + .setBindings(BINDINGS_WITH_CONDITIONS) + .setEtag("etag") + .setVersion(3) + .build(); + + private static final Policy FULL_POLICY_V3_WITH_VERSION_1 = + Policy.newBuilder() + .setBindings(BINDINGS_WITH_CONDITIONS) + .setEtag("etag") + .setVersion(1) + .build(); + + @Test + public void testBuilderV1() { + assertEquals(BINDINGS_NO_CONDITIONS, FULL_POLICY_V1.getBindingsList()); + assertEquals(1, FULL_POLICY_V1.getVersion()); + assertEquals("etag", FULL_POLICY_V1.getEtag()); + Policy policy = FULL_POLICY_V1.toBuilder().setBindings(BINDINGS_NO_CONDITIONS).build(); + assertEquals(BINDINGS_NO_CONDITIONS, policy.getBindingsList()); + assertEquals("etag", policy.getEtag()); + assertEquals(1, policy.getVersion()); + } + + @Test + public void testBuilderV3WithConditions() { + assertEquals(BINDINGS_WITH_CONDITIONS, FULL_POLICY_V3.getBindingsList()); + assertEquals(3, FULL_POLICY_V3.getVersion()); + assertEquals("etag", FULL_POLICY_V3.getEtag()); + Policy policy = FULL_POLICY_V3.toBuilder().setBindings(BINDINGS_WITH_CONDITIONS).build(); + assertEquals(BINDINGS_WITH_CONDITIONS, policy.getBindingsList()); + assertEquals("etag", policy.getEtag()); + assertEquals(3, policy.getVersion()); + } + + @Test + public void testBuilderV1ToV3Compatability() { + assertEquals(BINDINGS_WITH_CONDITIONS, FULL_POLICY_V3_WITH_VERSION_1.getBindingsList()); + assertEquals(1, FULL_POLICY_V3_WITH_VERSION_1.getVersion()); + assertEquals("etag", FULL_POLICY_V3_WITH_VERSION_1.getEtag()); + Policy policy = + FULL_POLICY_V3_WITH_VERSION_1 + .toBuilder() + .setBindings(BINDINGS_WITH_CONDITIONS) + .setVersion(3) + .build(); + assertEquals(BINDINGS_WITH_CONDITIONS, policy.getBindingsList()); + assertEquals("etag", policy.getEtag()); + assertEquals(3, policy.getVersion()); + } + + @Test + public void removeMemberFromPolicy() { + assertEquals(3, FULL_POLICY_V3.getBindingsList().get(0).getMembers().size()); + List bindings = new ArrayList<>(FULL_POLICY_V3.getBindingsList()); + + for (int i = 0; i < bindings.size(); i++) { + Binding binding = bindings.get(i); + if (binding.getRole().equals(VIEWER)) { + bindings.set(i, binding.toBuilder().removeMembers(ALL_USERS).build()); + break; + } + } + + Policy updatedPolicy = FULL_POLICY_V3.toBuilder().setBindings(bindings).build(); + assertEquals(2, updatedPolicy.getBindingsList().get(0).getMembers().size()); + } + + @Test + public void addMemberFromPolicy() { + assertEquals(3, FULL_POLICY_V3.getBindingsList().get(0).getMembers().size()); + List bindings = new ArrayList<>(FULL_POLICY_V3.getBindingsList()); + + for (int i = 0; i < bindings.size(); i++) { + Binding binding = bindings.get(i); + if (binding.getRole().equals(VIEWER)) { + bindings.set(i, binding.toBuilder().addMembers("user:example@example.com").build()); + } + } + + Policy updatedPolicy = FULL_POLICY_V3.toBuilder().setBindings(bindings).build(); + assertEquals(4, updatedPolicy.getBindingsList().get(0).getMembers().size()); + } + + @Test + public void removeBindingFromPolicy() { + assertEquals(2, FULL_POLICY_V3.getBindingsList().size()); + List bindings = new ArrayList<>(FULL_POLICY_V3.getBindingsList()); + + Iterator iterator = bindings.iterator(); + while (iterator.hasNext()) { + Binding binding = (Binding) iterator.next(); + if (binding.getRole().equals(EDITOR) && binding.getCondition() == null) { + iterator.remove(); + break; + } + } + + Policy updatedPolicy = FULL_POLICY_V3.toBuilder().setBindings(bindings).build(); + assertEquals(1, updatedPolicy.getBindingsList().size()); + } + + @Test + public void addBindingToPolicy() { + assertEquals(2, FULL_POLICY_V3.getBindingsList().size()); + List bindings = new ArrayList<>(FULL_POLICY_V3.getBindingsList()); + bindings.add(Binding.newBuilder().setRole(OWNER).setMembers(ImmutableList.of(USER)).build()); + Policy updatedPolicy = FULL_POLICY_V3.toBuilder().setBindings(bindings).build(); + assertEquals(3, updatedPolicy.getBindingsList().size()); + } + + @Test + public void testIllegalPolicies() { + try { + Binding.newBuilder().setRole(null).build(); + fail("Null role should cause exception."); + } catch (NullPointerException ex) { + assertEquals("Null role", ex.getMessage()); + } + try { + FULL_POLICY_V3 + .toBuilder() + .setBindings( + Arrays.asList( + Binding.newBuilder() + .setRole("test") + .setMembers(Arrays.asList(null, "user")) + .build())) + .build(); + fail("Null member should cause exception."); + } catch (NullPointerException ex) { + assertEquals("at index 0", ex.getMessage()); + } + try { + FULL_POLICY_V3.getBindings(); + fail("getBindings() should cause exception with Policy V3."); + } catch (IllegalArgumentException ex) { + assertEquals( + "getBindings() is only supported with version 1 policies and non-conditional policies", + ex.getMessage()); + } + try { + FULL_POLICY_V3.toBuilder().addIdentity(Role.editor(), Identity.allUsers()); + fail("getBindings() should cause exception with Policy V3."); + } catch (IllegalArgumentException ex) { + assertEquals( + "addIdentity() is only supported with version 1 policies and non-conditional policies", + ex.getMessage()); + } + try { + FULL_POLICY_V3.toBuilder().removeIdentity(Role.editor(), Identity.allUsers()); + fail("getBindings() should cause exception with Policy V3."); + } catch (IllegalArgumentException ex) { + assertEquals( + "removeIdentity() is only supported with version 1 policies and non-conditional policies", + ex.getMessage()); + } + try { + FULL_POLICY_V3.toBuilder().setBindings(FULL_POLICY_V1.getBindings()); + fail("getBindings() should cause exception with Policy V3."); + } catch (IllegalArgumentException ex) { + assertEquals( + "setBindings() is only supported with version 1 policies and non-conditional policies", + ex.getMessage()); + } + } + + @Test + public void testEqualsHashCode() { + assertNotNull(FULL_POLICY_V3); + Policy emptyPolicy = Policy.newBuilder().build(); + Policy anotherPolicy = Policy.newBuilder().build(); + assertEquals(emptyPolicy, anotherPolicy); + assertEquals(emptyPolicy.hashCode(), anotherPolicy.hashCode()); + assertNotEquals(FULL_POLICY_V3, FULL_POLICY_V1); + assertNotEquals(FULL_POLICY_V3.hashCode(), FULL_POLICY_V1.hashCode()); + Policy copy = FULL_POLICY_V1.toBuilder().build(); + assertEquals(FULL_POLICY_V1, copy); + assertEquals(FULL_POLICY_V1.hashCode(), copy.hashCode()); + } + + @Test + public void testBindings() { + assertTrue(Policy.newBuilder().build().getBindingsList().isEmpty()); + assertEquals(BINDINGS_WITH_CONDITIONS, FULL_POLICY_V3.getBindingsList()); + } + + @Test + public void testEtag() { + assertNotNull(FULL_POLICY_V3.getEtag()); + assertEquals("etag", FULL_POLICY_V3.getEtag()); + } + + @Test + public void testVersion() { + assertEquals(1, FULL_POLICY_V1.getVersion()); + assertEquals(3, FULL_POLICY_V3.getVersion()); + assertEquals(1, FULL_POLICY_V3_WITH_VERSION_1.getVersion()); + } + + @Test + public void testDefaultMarshaller() { + DefaultMarshaller marshaller = new DefaultMarshaller(); + Policy emptyPolicy = Policy.newBuilder().build(); + assertEquals(emptyPolicy, marshaller.fromPb(marshaller.toPb(emptyPolicy))); + assertEquals(FULL_POLICY_V3, marshaller.fromPb(marshaller.toPb(FULL_POLICY_V3))); + assertEquals(FULL_POLICY_V1, marshaller.fromPb(marshaller.toPb(FULL_POLICY_V1))); + com.google.iam.v1.Policy policyPb = com.google.iam.v1.Policy.getDefaultInstance(); + Policy policy = marshaller.fromPb(policyPb); + assertTrue(policy.getBindingsList().isEmpty()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java new file mode 100644 index 000000000000..ebea89f2fc04 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java @@ -0,0 +1,130 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; + +import com.google.api.gax.retrying.RetrySettings; +import org.junit.Test; +import org.threeten.bp.Duration; + +public class RetryOptionTest { + + private static final RetryOption TOTAL_TIMEOUT = + RetryOption.totalTimeout(Duration.ofMillis(420L)); + private static final RetryOption INITIAL_RETRY_DELAY = + RetryOption.initialRetryDelay(Duration.ofMillis(42L)); + private static final RetryOption RETRY_DELAY_MULTIPLIER = RetryOption.retryDelayMultiplier(1.5); + private static final RetryOption MAX_RETRY_DELAY = + RetryOption.maxRetryDelay(Duration.ofMillis(100)); + private static final RetryOption MAX_ATTEMPTS = RetryOption.maxAttempts(100); + private static final RetryOption JITTERED = RetryOption.jittered(false); + + private static final RetrySettings retrySettings = + RetrySettings.newBuilder() + .setTotalTimeout(Duration.ofMillis(420L)) + .setInitialRetryDelay(Duration.ofMillis(42L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(100)) + .setMaxAttempts(100) + .setJittered(false) + .build(); + + @Test + public void testEqualsAndHashCode() { + assertEquals(TOTAL_TIMEOUT, TOTAL_TIMEOUT); + assertEquals(INITIAL_RETRY_DELAY, INITIAL_RETRY_DELAY); + assertEquals(RETRY_DELAY_MULTIPLIER, RETRY_DELAY_MULTIPLIER); + assertEquals(MAX_RETRY_DELAY, MAX_RETRY_DELAY); + assertEquals(MAX_ATTEMPTS, MAX_ATTEMPTS); + assertEquals(JITTERED, JITTERED); + + assertNotEquals(TOTAL_TIMEOUT, JITTERED); + assertNotEquals(INITIAL_RETRY_DELAY, TOTAL_TIMEOUT); + assertNotEquals(RETRY_DELAY_MULTIPLIER, INITIAL_RETRY_DELAY); + assertNotEquals(MAX_RETRY_DELAY, RETRY_DELAY_MULTIPLIER); + assertNotEquals(MAX_ATTEMPTS, MAX_RETRY_DELAY); + assertNotEquals(JITTERED, MAX_ATTEMPTS); + + RetryOption totalTimeout = RetryOption.totalTimeout(Duration.ofMillis(420L)); + RetryOption initialRetryDelay = RetryOption.initialRetryDelay(Duration.ofMillis(42L)); + RetryOption retryDelayMultiplier = RetryOption.retryDelayMultiplier(1.5); + RetryOption maxRetryDelay = RetryOption.maxRetryDelay(Duration.ofMillis(100)); + RetryOption maxAttempts = RetryOption.maxAttempts(100); + RetryOption jittered = RetryOption.jittered(false); + + assertEquals(TOTAL_TIMEOUT, totalTimeout); + assertEquals(INITIAL_RETRY_DELAY, initialRetryDelay); + assertEquals(RETRY_DELAY_MULTIPLIER, retryDelayMultiplier); + assertEquals(MAX_RETRY_DELAY, maxRetryDelay); + assertEquals(MAX_ATTEMPTS, maxAttempts); + assertEquals(JITTERED, jittered); + + assertEquals(TOTAL_TIMEOUT.hashCode(), totalTimeout.hashCode()); + assertEquals(INITIAL_RETRY_DELAY.hashCode(), initialRetryDelay.hashCode()); + assertEquals(RETRY_DELAY_MULTIPLIER.hashCode(), retryDelayMultiplier.hashCode()); + assertEquals(MAX_RETRY_DELAY.hashCode(), maxRetryDelay.hashCode()); + assertEquals(MAX_ATTEMPTS.hashCode(), maxAttempts.hashCode()); + assertEquals(JITTERED.hashCode(), jittered.hashCode()); + } + + @Test + public void testMergeToSettings() { + RetrySettings defRetrySettings = RetrySettings.newBuilder().build(); + + assertEquals(defRetrySettings, RetryOption.mergeToSettings(defRetrySettings)); + + RetrySettings mergedRetrySettings = + RetryOption.mergeToSettings( + defRetrySettings, + TOTAL_TIMEOUT, + INITIAL_RETRY_DELAY, + RETRY_DELAY_MULTIPLIER, + MAX_RETRY_DELAY, + MAX_ATTEMPTS, + JITTERED); + assertEquals(retrySettings, mergedRetrySettings); + + defRetrySettings = + defRetrySettings.toBuilder().setTotalTimeout(Duration.ofMillis(420L)).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, TOTAL_TIMEOUT); + assertEquals(defRetrySettings, mergedRetrySettings); + + defRetrySettings = + defRetrySettings.toBuilder().setMaxRetryDelay(Duration.ofMillis(100)).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, MAX_RETRY_DELAY); + assertEquals(defRetrySettings, mergedRetrySettings); + + defRetrySettings = + defRetrySettings.toBuilder().setInitialRetryDelay(Duration.ofMillis(42L)).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, INITIAL_RETRY_DELAY); + assertEquals(defRetrySettings, mergedRetrySettings); + + defRetrySettings = defRetrySettings.toBuilder().setRetryDelayMultiplier(1.5).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, RETRY_DELAY_MULTIPLIER); + assertEquals(defRetrySettings, mergedRetrySettings); + + defRetrySettings = defRetrySettings.toBuilder().setMaxAttempts(100).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, MAX_ATTEMPTS); + assertEquals(defRetrySettings, mergedRetrySettings); + + defRetrySettings = defRetrySettings.toBuilder().setJittered(false).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, JITTERED); + assertEquals(defRetrySettings, mergedRetrySettings); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java new file mode 100644 index 000000000000..d6fcdf844176 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java @@ -0,0 +1,68 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import static com.google.common.truth.Truth.assertThat; + +import org.junit.Test; + +public class RoleTest { + + private static final Role VIEWER = Role.of("viewer"); + private static final Role EDITOR = Role.of("editor"); + private static final Role OWNER = Role.of("owner"); + + @Test + public void testOf() { + assertThat(VIEWER.getValue()).isEqualTo("roles/viewer"); + assertThat(EDITOR.getValue()).isEqualTo("roles/editor"); + assertThat(OWNER.getValue()).isEqualTo("roles/owner"); + compareRoles(VIEWER, Role.of("roles/viewer")); + compareRoles(EDITOR, Role.of("roles/editor")); + compareRoles(OWNER, Role.of("roles/owner")); + + String customRole = "projects/foo/roles/bar"; + assertThat(Role.of(customRole).getValue()).isEqualTo(customRole); + } + + @Test + public void testViewer() { + assertThat(Role.viewer().getValue()).isEqualTo("roles/viewer"); + } + + @Test + public void testEditor() { + assertThat(Role.editor().getValue()).isEqualTo("roles/editor"); + } + + @Test + public void testOwner() { + assertThat(Role.owner().getValue()).isEqualTo("roles/owner"); + } + + @Test(expected = NullPointerException.class) + public void testOfNullValue() { + Role.of(null); + } + + private void compareRoles(Role expected, Role actual) { + assertThat(actual).isEqualTo(expected); + assertThat(actual.getValue()).isEqualTo(expected.getValue()); + assertThat(actual.hashCode()).isEqualTo(expected.hashCode()); + assertThat(actual.toString()).isEqualTo(expected.toString()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java new file mode 100644 index 000000000000..6c35c665b511 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -0,0 +1,100 @@ +/* + * Copyright 2016 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 + * + * http://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; + +import com.google.api.gax.retrying.RetrySettings; +import com.google.cloud.BaseServiceException.ExceptionData; +import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor; +import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import java.io.Serializable; +import org.threeten.bp.Duration; + +public class SerializationTest extends BaseSerializationTest { + + private static final BaseServiceException BASE_SERVICE_EXCEPTION = + new BaseServiceException(ExceptionData.from(42, "message", "reason", false)); + private static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.getDefaultInstance(); + private static final Identity IDENTITY = Identity.allAuthenticatedUsers(); + private static final PageImpl PAGE = + new PageImpl<>(null, "cursor", ImmutableList.of("string1", "string2")); + private static final RetrySettings RETRY_SETTINGS = ServiceOptions.getDefaultRetrySettings(); + private static final Role SOME_ROLE = Role.viewer(); + private static final Policy SOME_IAM_POLICY = Policy.newBuilder().build(); + private static final RetryOption CHECKING_PERIOD = + RetryOption.initialRetryDelay(Duration.ofSeconds(42)); + private static final LabelDescriptor LABEL_DESCRIPTOR = + new LabelDescriptor("project_id", ValueType.STRING, "The project id"); + private static final MonitoredResourceDescriptor MONITORED_RESOURCE_DESCRIPTOR = + MonitoredResourceDescriptor.newBuilder("global") + .setLabels(ImmutableList.of(LABEL_DESCRIPTOR)) + .build(); + private static final MonitoredResource MONITORED_RESOURCE = + MonitoredResource.newBuilder("global") + .setLabels(ImmutableMap.of("project_id", "project")) + .build(); + private static final String JSON_KEY = + "{\n" + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" + + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" + + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" + + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" + + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" + + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" + + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" + + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" + + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" + + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" + + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" + + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" + + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" + + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" + + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" + + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" + + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" + + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" + + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\"\n" + + "}"; + + @Override + protected Serializable[] serializableObjects() { + return new Serializable[] { + BASE_SERVICE_EXCEPTION, + EXCEPTION_HANDLER, + IDENTITY, + PAGE, + RETRY_SETTINGS, + SOME_ROLE, + SOME_IAM_POLICY, + CHECKING_PERIOD, + LABEL_DESCRIPTOR, + MONITORED_RESOURCE_DESCRIPTOR, + MONITORED_RESOURCE + }; + } + + @Override + protected Restorable[] restorableObjects() { + return null; + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java new file mode 100644 index 000000000000..bf75fca161fd --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -0,0 +1,496 @@ +/* + * Copyright 2015 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 + * + * http://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; + +import static com.google.common.truth.Truth.assertThat; +import static junit.framework.TestCase.assertFalse; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpResponse; +import com.google.api.client.http.HttpTransport; +import com.google.api.client.http.LowLevelHttpRequest; +import com.google.api.client.http.LowLevelHttpResponse; +import com.google.api.client.testing.http.HttpTesting; +import com.google.api.client.testing.http.MockHttpTransport; +import com.google.api.client.testing.http.MockLowLevelHttpRequest; +import com.google.api.client.testing.http.MockLowLevelHttpResponse; +import com.google.api.core.ApiClock; +import com.google.api.core.CurrentMillisClock; +import com.google.auth.oauth2.GoogleCredentials; +import com.google.cloud.spi.ServiceRpcFactory; +import com.google.common.collect.ArrayListMultimap; +import com.google.common.collect.Multimap; +import com.google.common.io.Files; +import java.io.ByteArrayInputStream; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.nio.charset.StandardCharsets; +import java.util.Map; +import java.util.Set; +import java.util.regex.Pattern; +import org.junit.Test; + +public class ServiceOptionsTest { + private static GoogleCredentials credentials; + private static GoogleCredentials credentialsWithProjectId; + private static GoogleCredentials credentialsWithQuotaProject; + + private static final String JSON_KEY = + "{\n" + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" + + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" + + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" + + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" + + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" + + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" + + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" + + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" + + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" + + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" + + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" + + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" + + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" + + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" + + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" + + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" + + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" + + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" + + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\"\n" + + "}"; + + private static final String JSON_KEY_PROJECT_ID = + "{\n" + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" + + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" + + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" + + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" + + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" + + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" + + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" + + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" + + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" + + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" + + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" + + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" + + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" + + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" + + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" + + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" + + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" + + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" + + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"project_id\": \"someprojectid\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\"\n" + + "}"; + + private static final String JSON_KEY_QUOTA_PROJECT_ID = + "{\n" + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" + + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" + + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" + + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" + + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" + + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" + + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" + + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" + + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" + + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" + + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" + + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" + + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" + + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" + + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" + + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" + + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" + + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" + + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"project_id\": \"someprojectid\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\",\n" + + " \"quota_project_id\": \"some-quota-project-id\"\n" + + "}"; + + static { + credentials = loadCredentials(JSON_KEY); + credentialsWithProjectId = loadCredentials(JSON_KEY_PROJECT_ID); + credentialsWithQuotaProject = loadCredentials(JSON_KEY_QUOTA_PROJECT_ID); + } + + static GoogleCredentials loadCredentials(String credentialFile) { + try { + InputStream keyStream = new ByteArrayInputStream(credentialFile.getBytes()); + return GoogleCredentials.fromStream(keyStream); + } catch (IOException e) { + fail("Couldn't create fake JSON credentials."); + } + return null; + } + + private static final ApiClock TEST_CLOCK = new TestClock(); + private static final TestServiceOptions OPTIONS = + TestServiceOptions.newBuilder() + .setCredentials(credentials) + .setClock(TEST_CLOCK) + .setHost("host") + .setProjectId("project-id") + .setRetrySettings(ServiceOptions.getNoRetrySettings()) + .setQuotaProjectId("quota-project-id") + .build(); + private static final TestServiceOptions OPTIONS_NO_CREDENTIALS = + TestServiceOptions.newBuilder() + .setCredentials(NoCredentials.getInstance()) + .setClock(TEST_CLOCK) + .setHost("host") + .setProjectId("project-id") + .setRetrySettings(ServiceOptions.getNoRetrySettings()) + .setQuotaProjectId("quota-project-id") + .build(); + private static final TestServiceOptions DEFAULT_OPTIONS = + TestServiceOptions.newBuilder().setProjectId("project-id").build(); + private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); + private static final String LIBRARY_NAME = "gcloud-java"; + private static final Pattern APPLICATION_NAME_PATTERN = Pattern.compile(LIBRARY_NAME + "/.*"); + + private static class TestClock implements ApiClock { + @Override + public long nanoTime() { + return 123_456_789_000_000L; + } + + @Override + public long millisTime() { + return 123_456_789L; + } + } + + interface TestService extends Service {} + + private static class TestServiceImpl extends BaseService + implements TestService { + private TestServiceImpl(TestServiceOptions options) { + super(options); + } + } + + public interface TestServiceFactory extends ServiceFactory {} + + private static class DefaultTestServiceFactory implements TestServiceFactory { + private static final TestServiceFactory INSTANCE = new DefaultTestServiceFactory(); + + @Override + public TestService create(TestServiceOptions options) { + return new TestServiceImpl(options); + } + } + + public interface TestServiceRpcFactory extends ServiceRpcFactory {} + + private static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { + private static final TestServiceRpcFactory INSTANCE = new DefaultTestServiceRpcFactory(); + + @Override + public TestServiceRpc create(TestServiceOptions options) { + return new DefaultTestServiceRpc(options); + } + } + + private interface TestServiceRpc extends ServiceRpc {} + + private static class DefaultTestServiceRpc implements TestServiceRpc { + DefaultTestServiceRpc(TestServiceOptions options) {} + } + + static class TestServiceOptions extends ServiceOptions { + private static class Builder + extends ServiceOptions.Builder { + private Builder() {} + + private Builder(TestServiceOptions options) { + super(options); + } + + @Override + protected TestServiceOptions build() { + return new TestServiceOptions(this); + } + } + + private TestServiceOptions(Builder builder) { + super( + TestServiceFactory.class, + TestServiceRpcFactory.class, + builder, + new TestServiceDefaults()); + } + + private static class TestServiceDefaults + implements ServiceDefaults { + + @Override + public TestServiceFactory getDefaultServiceFactory() { + return DefaultTestServiceFactory.INSTANCE; + } + + @Override + public TestServiceRpcFactory getDefaultRpcFactory() { + return DefaultTestServiceRpcFactory.INSTANCE; + } + + @Override + public TransportOptions getDefaultTransportOptions() { + return new TransportOptions() {}; + } + } + + @Override + protected Set getScopes() { + return null; + } + + @Override + public Builder toBuilder() { + return new Builder(this); + } + + private static Builder newBuilder() { + return new Builder(); + } + + @Override + public boolean equals(Object obj) { + return obj instanceof TestServiceOptions && baseEquals((TestServiceOptions) obj); + } + + @Override + public int hashCode() { + return baseHashCode(); + } + } + + @Test + public void testBuilder() { + assertSame(credentials, OPTIONS.getCredentials()); + assertSame(TEST_CLOCK, OPTIONS.getClock()); + assertEquals("host", OPTIONS.getHost()); + assertEquals("project-id", OPTIONS.getProjectId()); + assertSame(ServiceOptions.getNoRetrySettings(), OPTIONS.getRetrySettings()); + assertSame(CurrentMillisClock.getDefaultClock(), DEFAULT_OPTIONS.getClock()); + assertEquals("https://www.googleapis.com", DEFAULT_OPTIONS.getHost()); + assertSame(ServiceOptions.getDefaultRetrySettings(), DEFAULT_OPTIONS.getRetrySettings()); + } + + @Test + public void testBuilder_quotaProjectServiceOptionTakesPrecedence() { + TestServiceOptions noCredsWithQuotaProject = + TestServiceOptions.newBuilder() + .setCredentials(NoCredentials.getInstance()) + .setProjectId("project-id") + .setQuotaProjectId("quota-project-id") + .build(); + TestServiceOptions quotaProjectCredsWithQuotaProject = + TestServiceOptions.newBuilder() + .setQuotaProjectId("quota-project-id") + .setCredentials(credentialsWithQuotaProject) + .build(); + TestServiceOptions quotaProjectCredsWithQuotaProject2 = + TestServiceOptions.newBuilder() + .setCredentials(credentialsWithQuotaProject) + .setQuotaProjectId("quota-project-id") + .build(); + TestServiceOptions quotaProjectCreds = + TestServiceOptions.newBuilder().setCredentials(credentialsWithQuotaProject).build(); + TestServiceOptions none = + TestServiceOptions.newBuilder() + .setCredentials(NoCredentials.getInstance()) + .setProjectId("project-id") + .build(); + + assertEquals("quota-project-id", noCredsWithQuotaProject.getQuotaProjectId()); + assertEquals("quota-project-id", quotaProjectCredsWithQuotaProject.getQuotaProjectId()); + assertEquals("quota-project-id", quotaProjectCredsWithQuotaProject2.getQuotaProjectId()); + assertEquals("some-quota-project-id", quotaProjectCreds.getQuotaProjectId()); + assertEquals(null, none.getQuotaProjectId()); + } + + @Test + public void testBuilderNoCredentials() { + assertEquals(NoCredentials.getInstance(), OPTIONS_NO_CREDENTIALS.getCredentials()); + assertTrue(NoCredentials.getInstance().equals(OPTIONS_NO_CREDENTIALS.getCredentials())); + assertFalse(NoCredentials.getInstance().equals(OPTIONS.getCredentials())); + assertFalse(NoCredentials.getInstance().equals(null)); + assertSame(TEST_CLOCK, OPTIONS_NO_CREDENTIALS.getClock()); + assertEquals("host", OPTIONS_NO_CREDENTIALS.getHost()); + assertEquals("project-id", OPTIONS_NO_CREDENTIALS.getProjectId()); + assertSame(ServiceOptions.getNoRetrySettings(), OPTIONS_NO_CREDENTIALS.getRetrySettings()); + assertEquals("quota-project-id", OPTIONS.getQuotaProjectId()); + } + + @Test(expected = NullPointerException.class) + public void testBuilderNullCredentials() { + TestServiceOptions.newBuilder().setCredentials(null).build(); + } + + @Test + public void testBuilderServiceAccount_setsProjectId() { + TestServiceOptions options = + TestServiceOptions.newBuilder().setCredentials(credentialsWithProjectId).build(); + assertEquals("someprojectid", options.getProjectId()); + } + + @Test + public void testBuilderServiceAccount_explicitSetProjectIdBefore() { + TestServiceOptions options = + TestServiceOptions.newBuilder() + .setProjectId("override-project-id") + .setCredentials(credentialsWithProjectId) + .build(); + assertEquals("override-project-id", options.getProjectId()); + } + + @Test + public void testBuilderServiceAccount_explicitSetProjectIdAfter() { + TestServiceOptions options = + TestServiceOptions.newBuilder() + .setCredentials(credentialsWithProjectId) + .setProjectId("override-project-id") + .build(); + assertEquals("override-project-id", options.getProjectId()); + } + + @Test + public void testGetProjectIdRequired() { + assertTrue(OPTIONS.projectIdRequired()); + } + + @Test + public void testService() { + assertTrue(OPTIONS.getService() instanceof TestServiceImpl); + } + + @Test + public void testRpc() { + assertTrue(OPTIONS.getRpc() instanceof DefaultTestServiceRpc); + } + + @Test + public void testBaseEquals() { + assertEquals(OPTIONS, OPTIONS_COPY); + assertNotEquals(DEFAULT_OPTIONS, OPTIONS); + } + + @Test + public void testLibraryName() { + assertEquals(LIBRARY_NAME, ServiceOptions.getLibraryName()); + } + + @Test + public void testApplicationName() { + assertTrue(APPLICATION_NAME_PATTERN.matcher(OPTIONS.getApplicationName()).matches()); + } + + @Test + public void testBaseHashCode() { + assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); + assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); + } + + @Test + public void testGetServiceAccountProjectId() throws Exception { + File credentialsFile = File.createTempFile("credentials", ".json"); + credentialsFile.deleteOnExit(); + Files.write("{\"project_id\":\"my-project-id\"}".getBytes(), credentialsFile); + + assertEquals( + "my-project-id", + ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id")); + } + + @Test + public void testGetServiceAccountProjectId_badJson() throws Exception { + File credentialsFile = File.createTempFile("credentials", ".json"); + credentialsFile.deleteOnExit(); + Files.write("asdfghj".getBytes(StandardCharsets.UTF_8), credentialsFile); + + String valueFromCredentialsFile = + ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id"); + assertNull(valueFromCredentialsFile); + } + + @Test + public void testGetServiceAccountProjectId_nonExistentFile() throws Exception { + File credentialsFile = new File("/doesnotexist"); + + assertNull(ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id")); + } + + @Test + public void testResponseHeaderContainsMetaDataFlavor() throws Exception { + Multimap headers = ArrayListMultimap.create(); + headers.put("Metadata-Flavor", "Google"); + HttpResponse httpResponse = createHttpResponseWithHeader(headers); + assertThat(ServiceOptions.headerContainsMetadataFlavor(httpResponse)).isTrue(); + } + + @Test + public void testResponseHeaderDoesNotContainMetaDataFlavor() throws Exception { + Multimap headers = ArrayListMultimap.create(); + HttpResponse httpResponse = createHttpResponseWithHeader(headers); + assertThat(ServiceOptions.headerContainsMetadataFlavor(httpResponse)).isFalse(); + } + + private HttpResponse createHttpResponseWithHeader(final Multimap headers) + throws Exception { + HttpTransport mockHttpTransport = + new MockHttpTransport() { + @Override + public LowLevelHttpRequest buildRequest(String method, String url) throws IOException { + return new MockLowLevelHttpRequest() { + @Override + public LowLevelHttpResponse execute() throws IOException { + MockLowLevelHttpResponse response = new MockLowLevelHttpResponse(); + for (Map.Entry entry : headers.entries()) { + response.addHeader(entry.getKey(), entry.getValue()); + } + return response; + } + }; + } + }; + HttpRequest request = + mockHttpTransport.createRequestFactory().buildGetRequest(HttpTesting.SIMPLE_GENERIC_URL); + return request.execute(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java new file mode 100644 index 000000000000..781fbb8925ee --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java @@ -0,0 +1,128 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; + +import com.google.api.core.ApiFunction; +import com.google.common.testing.EqualsTester; +import java.util.Arrays; +import org.junit.Assert; +import org.junit.Test; + +public class StringEnumTest { + + public static class Letter extends StringEnumValue { + private static final long serialVersionUID = -1717976087182628526L; + + private Letter(String constant) { + super(constant); + } + + private static final ApiFunction CONSTRUCTOR = + new ApiFunction() { + @Override + public Letter apply(String constant) { + return new Letter(constant); + } + }; + + private static final StringEnumType type = + new StringEnumType(Letter.class, CONSTRUCTOR); + + public static final Letter A = type.createAndRegister("A"); + public static final Letter B = type.createAndRegister("B"); + public static final Letter C = type.createAndRegister("C"); + + public static Letter valueOfStrict(String constant) { + return type.valueOfStrict(constant); + } + + /** Get the StorageClass for the given String constant, and allow unrecognized values. */ + public static Letter valueOf(String constant) { + return type.valueOf(constant); + } + + /** Return the known values for StorageClass. */ + public static Letter[] values() { + return type.values(); + } + } + + @Test(expected = NullPointerException.class) + public void testNullClass() { + new StringEnumType(null, Letter.CONSTRUCTOR); + } + + @Test + public void testNullConstructor() { + try { + new StringEnumType(Letter.class, null); + Assert.fail(); + } catch (NullPointerException ex) { + assertNull(ex.getMessage()); + } + } + + @Test + public void testEnumInstances() { + assertThat(Letter.A.toString()).isEqualTo("A"); + } + + @Test + public void testValueOf() { + assertThat(Letter.valueOf("A")).isSameInstanceAs(Letter.A); + assertThat(Letter.valueOf("B")).isSameInstanceAs(Letter.B); + assertThat(Letter.valueOf("C")).isSameInstanceAs(Letter.C); + assertThat(Letter.valueOf("NonExistentLetter").toString()).isEqualTo("NonExistentLetter"); + } + + @Test + public void testValueOfStrict() { + assertThat(Letter.valueOfStrict("A")).isSameInstanceAs(Letter.A); + assertThat(Letter.valueOfStrict("B")).isSameInstanceAs(Letter.B); + assertThat(Letter.valueOfStrict("C")).isSameInstanceAs(Letter.C); + } + + @Test + public void testEquals() { + new EqualsTester() + .addEqualityGroup(Letter.A, Letter.valueOf("A"), Letter.valueOfStrict("A")) + .addEqualityGroup(Letter.B, Letter.valueOf("B"), Letter.valueOfStrict("B")) + .addEqualityGroup(Letter.C, Letter.valueOf("C"), Letter.valueOfStrict("C")) + .addEqualityGroup(Letter.valueOf("NonExistentLetter"), Letter.valueOf("NonExistentLetter")) + .testEquals(); + } + + @Test + public void testValueOfStrict_invalid() { + try { + Letter.valueOfStrict("NonExistentLetter"); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void testValues() { + assertThat( + Arrays.asList(Letter.values()).containsAll(Arrays.asList(Letter.A, Letter.B, Letter.C))) + .isTrue(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java new file mode 100644 index 000000000000..5eaeb0a894a3 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -0,0 +1,306 @@ +/* + * Copyright 2017 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 + * + * http://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; + +import static com.google.common.testing.SerializableTester.reserializeAndAssert; +import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +import com.google.common.testing.EqualsTester; +import java.util.Calendar; +import java.util.Date; +import java.util.GregorianCalendar; +import java.util.TimeZone; +import java.util.concurrent.TimeUnit; +import org.junit.Assert; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** Unit tests for {@link com.google.cloud.Timestamp}. */ +@RunWith(JUnit4.class) +public class TimestampTest { + private static final String TEST_TIME_ISO = "2015-10-12T15:14:54Z"; + private static final long TEST_TIME_SECONDS = 1444662894L; + private static final long TEST_TIME_MICROSECONDS = 10000100L; + private static final long TEST_TIME_MILLISECONDS = + TimeUnit.SECONDS.toMillis(1444662894L) + TimeUnit.MICROSECONDS.toMillis(1234); + private static final long TEST_TIME_MILLISECONDS_NEGATIVE = -1000L; + private static final Date TEST_DATE = new Date(TEST_TIME_MILLISECONDS); + private static final Date TEST_DATE_PRE_EPOCH = new Date(TEST_TIME_MILLISECONDS_NEGATIVE); + + @Test + public void minValue() { + // MIN_VALUE is before the start of the Gregorian calendar... use magic value. + assertThat(Timestamp.MIN_VALUE.getSeconds()).isEqualTo(-62135596800L); + assertThat(Timestamp.MIN_VALUE.getNanos()).isEqualTo(0); + } + + @Test + public void maxValue() { + TimeZone tz = TimeZone.getTimeZone("UTC"); + GregorianCalendar calendar = new GregorianCalendar(tz); + calendar.set(9999, Calendar.DECEMBER, 31, 23, 59, 59); + java.sql.Timestamp expectedMin = new java.sql.Timestamp(calendar.getTimeInMillis()); + expectedMin.setNanos(999999999); + + assertThat(Timestamp.MAX_VALUE.getSeconds()).isEqualTo(calendar.getTimeInMillis() / 1000L); + assertThat(Timestamp.MAX_VALUE.getNanos()).isEqualTo(999999999); + } + + @Test + public void ofMicroseconds() { + Timestamp timestamp = Timestamp.ofTimeMicroseconds(TEST_TIME_MICROSECONDS); + assertThat(timestamp.getSeconds()).isEqualTo(TEST_TIME_MICROSECONDS / 1000000L); + assertThat(timestamp.getNanos()).isEqualTo(TEST_TIME_MICROSECONDS % 1000000L * 1000); + } + + @Test + public void ofDate() { + Timestamp timestamp = Timestamp.of(TEST_DATE); + Long expectedSeconds = TimeUnit.MILLISECONDS.toSeconds(TEST_TIME_MILLISECONDS); + Long expectedNanos = + TimeUnit.MILLISECONDS.toNanos(TEST_TIME_MILLISECONDS) + - TimeUnit.SECONDS.toNanos(expectedSeconds); + assertThat(timestamp.getSeconds()).isEqualTo(expectedSeconds); + assertThat(timestamp.getNanos()).isEqualTo(expectedNanos); + } + + @Test + public void testOf() { + String expectedTimestampString = "1970-01-01T00:00:12.345000000Z"; + java.sql.Timestamp input = new java.sql.Timestamp(12345); + Timestamp timestamp = Timestamp.of(input); + assertEquals(timestamp.toString(), expectedTimestampString); + } + + @Test + public void testOf_exactSecond() { + String expectedTimestampString = "1970-01-01T00:00:12Z"; + java.sql.Timestamp input = new java.sql.Timestamp(12000); + Timestamp timestamp = Timestamp.of(input); + assertEquals(timestamp.toString(), expectedTimestampString); + } + + @Test + public void testOf_preEpoch() { + String expectedTimestampString = "1969-12-31T23:59:47.655000000Z"; + java.sql.Timestamp input = new java.sql.Timestamp(-12345); + Timestamp timestamp = Timestamp.of(input); + assertEquals(timestamp.toString(), expectedTimestampString); + } + + @Test + public void testOf_onEpoch() { + String expectedTimestampString = "1970-01-01T00:00:00Z"; + java.sql.Timestamp input = new java.sql.Timestamp(0); + Timestamp timestamp = Timestamp.of(input); + assertEquals(timestamp.toString(), expectedTimestampString); + } + + @Test + public void testOf_preEpochExactSecond() { + String expectedTimestampString = "1969-12-31T23:59:59Z"; + java.sql.Timestamp input = new java.sql.Timestamp(-1000); + Timestamp timestamp = Timestamp.of(input); + assertEquals(timestamp.toString(), expectedTimestampString); + } + + @Test + public void ofDatePreEpoch() { + Timestamp timestamp = Timestamp.of(TEST_DATE_PRE_EPOCH); + long expectedSeconds = TEST_TIME_MILLISECONDS_NEGATIVE / 1_000; + int expectedNanos = (int) (TEST_TIME_MILLISECONDS_NEGATIVE % 1_000 * 1000_000); + if (expectedNanos < 0) { + expectedSeconds--; + expectedNanos += 1_000_000_000; + } + assertThat(timestamp.getSeconds()).isEqualTo(expectedSeconds); + assertThat(timestamp.getNanos()).isEqualTo(expectedNanos); + } + + @Test + public void toDate() { + Timestamp timestamp = Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 1234 * 1000); + Date date = timestamp.toDate(); + assertThat(TEST_TIME_MILLISECONDS).isEqualTo(date.getTime()); + } + + @Test + public void toFromSqlTimestamp() { + long seconds = TEST_TIME_SECONDS; + int nanos = 500000000; + + java.sql.Timestamp sqlTs = new java.sql.Timestamp(seconds * 1000); + sqlTs.setNanos(nanos); + + Timestamp ts = Timestamp.of(sqlTs); + assertThat(ts.getSeconds()).isEqualTo(seconds); + assertThat(ts.getNanos()).isEqualTo(nanos); + + assertThat(ts.toSqlTimestamp()).isEqualTo(sqlTs); + } + + @Test + public void boundsSecondsMin() { + try { + Timestamp.ofTimeSecondsAndNanos(Timestamp.MIN_VALUE.getSeconds() - 1, 999999999); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void boundsSecondsMax() { + try { + Timestamp.ofTimeSecondsAndNanos(Timestamp.MAX_VALUE.getSeconds() + 1, 0); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void boundsNanosMin() { + try { + Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, -1); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void boundsNanosMax() { + try { + Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 1000000000); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void boundsSqlTimestampMin() { + try { + Timestamp.of(new java.sql.Timestamp((Timestamp.MIN_VALUE.getSeconds() - 1) * 1000)); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void boundsSqlTimestampMax() { + try { + Timestamp.of(new java.sql.Timestamp((Timestamp.MAX_VALUE.getSeconds() + 1) * 1000)); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void equalsAndHashCode() { + EqualsTester tester = new EqualsTester(); + tester.addEqualityGroup( + Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0), + Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0), + Timestamp.of(new java.sql.Timestamp(TEST_TIME_SECONDS * 1000))); + tester.addEqualityGroup(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS + 1, 0)); + tester.addEqualityGroup(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 1)); + tester.testEquals(); + } + + @Test + public void testToString() { + assertThat(Timestamp.MIN_VALUE.toString()).isEqualTo("0001-01-01T00:00:00Z"); + assertThat(Timestamp.MAX_VALUE.toString()).isEqualTo("9999-12-31T23:59:59.999999999Z"); + assertThat(Timestamp.ofTimeSecondsAndNanos(0, 0).toString()).isEqualTo("1970-01-01T00:00:00Z"); + assertThat(Timestamp.ofTimeSecondsAndNanos(0, 100).toString()) + .isEqualTo("1970-01-01T00:00:00.000000100Z"); + assertThat(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0).toString()) + .isEqualTo(TEST_TIME_ISO); + } + + @Test + public void parseTimestamp() { + assertThat(Timestamp.parseTimestamp("0001-01-01T00:00:00Z")).isEqualTo(Timestamp.MIN_VALUE); + assertThat(Timestamp.parseTimestamp("9999-12-31T23:59:59.999999999Z")) + .isEqualTo(Timestamp.MAX_VALUE); + assertThat(Timestamp.parseTimestamp(TEST_TIME_ISO)) + .isEqualTo(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0)); + } + + @Test + public void parseTimestampWithoutTimeZoneOffset() { + assertThat(Timestamp.parseTimestamp("0001-01-01T00:00:00")).isEqualTo(Timestamp.MIN_VALUE); + assertThat(Timestamp.parseTimestamp("9999-12-31T23:59:59.999999999")) + .isEqualTo(Timestamp.MAX_VALUE); + assertThat(Timestamp.parseTimestamp("2015-10-12T15:14:54")) + .isEqualTo(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0)); + } + + @Test + public void parseTimestampWithTimeZoneOffset() { + assertThat(Timestamp.parseTimestamp("0001-01-01T00:00:00-00:00")) + .isEqualTo(Timestamp.MIN_VALUE); + assertThat(Timestamp.parseTimestamp("9999-12-31T23:59:59.999999999-00:00")) + .isEqualTo(Timestamp.MAX_VALUE); + assertThat(Timestamp.parseTimestamp("2020-12-06T19:21:12.123+05:30")) + .isEqualTo(Timestamp.ofTimeSecondsAndNanos(1607262672, 123000000)); + assertThat(Timestamp.parseTimestamp("2020-07-10T14:03:00-07:00")) + .isEqualTo(Timestamp.ofTimeSecondsAndNanos(1594414980, 0)); + } + + @Test + public void fromProto() { + com.google.protobuf.Timestamp proto = + com.google.protobuf.Timestamp.newBuilder().setSeconds(1234).setNanos(567).build(); + Timestamp timestamp = Timestamp.fromProto(proto); + assertThat(timestamp.getSeconds()).isEqualTo(1234); + assertThat(timestamp.getNanos()).isEqualTo(567); + } + + @Test + public void comparable() { + assertThat(Timestamp.MIN_VALUE).isLessThan(Timestamp.MAX_VALUE); + assertThat(Timestamp.MAX_VALUE).isGreaterThan(Timestamp.MIN_VALUE); + + assertThat(Timestamp.ofTimeSecondsAndNanos(100, 0)) + .isAtLeast(Timestamp.ofTimeSecondsAndNanos(100, 0)); + assertThat(Timestamp.ofTimeSecondsAndNanos(100, 0)) + .isAtMost(Timestamp.ofTimeSecondsAndNanos(100, 0)); + + assertThat(Timestamp.ofTimeSecondsAndNanos(100, 1000)) + .isLessThan(Timestamp.ofTimeSecondsAndNanos(101, 0)); + assertThat(Timestamp.ofTimeSecondsAndNanos(100, 1000)) + .isAtMost(Timestamp.ofTimeSecondsAndNanos(101, 0)); + + assertThat(Timestamp.ofTimeSecondsAndNanos(101, 0)) + .isGreaterThan(Timestamp.ofTimeSecondsAndNanos(100, 1000)); + assertThat(Timestamp.ofTimeSecondsAndNanos(101, 0)) + .isAtLeast(Timestamp.ofTimeSecondsAndNanos(100, 1000)); + } + + @Test + public void serialization() throws Exception { + reserializeAndAssert(Timestamp.parseTimestamp("9999-12-31T23:59:59.999999999Z")); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java new file mode 100644 index 000000000000..b002a6198bac --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java @@ -0,0 +1,185 @@ +/* + * Copyright 2016 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 + * + * http://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.testing; + +import com.google.api.client.util.Charsets; +import com.google.cloud.ServiceOptions; +import com.google.cloud.testing.BaseEmulatorHelper.EmulatorRunner; +import com.google.common.collect.ImmutableList; +import java.io.ByteArrayInputStream; +import java.io.EOFException; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; +import java.net.URLConnection; +import java.net.URLStreamHandler; +import java.util.List; +import java.util.concurrent.TimeoutException; +import java.util.logging.Logger; +import org.easymock.EasyMock; +import org.junit.Test; +import org.threeten.bp.Duration; + +public class BaseEmulatorHelperTest { + + private static final String BLOCK_UNTIL = "Block until"; + + private static class TestEmulatorHelper extends BaseEmulatorHelper { + + private final List runners; + private final String blockUntil; + + private TestEmulatorHelper(List runners, String blockUntil) { + super("emulator", 1, "project"); + this.runners = runners; + this.blockUntil = blockUntil; + } + + @Override + protected List getEmulatorRunners() { + return runners; + } + + @Override + protected Logger getLogger() { + return null; + } + + @Override + public ServiceOptions getOptions() { + return null; + } + + @Override + public void start() throws IOException, InterruptedException { + startProcess(blockUntil); + } + + @Override + public void stop(Duration timeout) throws IOException, InterruptedException, TimeoutException { + waitForProcess(timeout); + } + + @Override + public void reset() throws IOException { + // do nothing + } + } + + @Test + public void testEmulatorHelper() throws IOException, InterruptedException, TimeoutException { + Process process = EasyMock.createStrictMock(Process.class); + InputStream stream = new ByteArrayInputStream(BLOCK_UNTIL.getBytes(Charsets.UTF_8)); + EmulatorRunner emulatorRunner = EasyMock.createStrictMock(EmulatorRunner.class); + EasyMock.expect(process.getInputStream()).andReturn(stream); + EasyMock.expect(emulatorRunner.isAvailable()).andReturn(true); + emulatorRunner.start(); + EasyMock.expectLastCall(); + EasyMock.expect(emulatorRunner.getProcess()).andReturn(process); + emulatorRunner.waitFor(Duration.ofMinutes(1)); + EasyMock.expectLastCall().andReturn(0); + EasyMock.replay(process, emulatorRunner); + TestEmulatorHelper helper = + new TestEmulatorHelper(ImmutableList.of(emulatorRunner), BLOCK_UNTIL); + helper.start(); + helper.stop(Duration.ofMinutes(1)); + EasyMock.verify(); + } + + @Test + public void testEmulatorHelperDownloadWithRetries() + throws IOException, InterruptedException, TimeoutException { + String mockExternalForm = "mockExternalForm"; + String mockInputStream = "mockInputStream"; + String mockProtocol = "mockProtocol"; + String mockFile = "mockFile"; + String mockAccessToken = "mockAccessToken"; + String mockCommandText = "mockCommandText"; + + MockURLStreamHandler mockURLStreamHandler = EasyMock.createMock(MockURLStreamHandler.class); + URLConnection mockURLConnection = EasyMock.mock(URLConnection.class); + + EasyMock.expect(mockURLStreamHandler.toExternalForm(EasyMock.anyObject(URL.class))) + .andReturn(mockExternalForm) + .anyTimes(); + EasyMock.expect(mockURLConnection.getInputStream()) + .andReturn(new ByteArrayInputStream(mockInputStream.getBytes())) + .anyTimes(); + mockURLConnection.setRequestProperty("Authorization", "Bearer " + mockAccessToken); + EasyMock.expect(mockURLStreamHandler.openConnection(EasyMock.anyObject(URL.class))) + .andThrow(new EOFException()) + .times(1); + EasyMock.expect(mockURLStreamHandler.openConnection(EasyMock.anyObject(URL.class))) + .andReturn(mockURLConnection) + .times(1); + EasyMock.replay(mockURLStreamHandler, mockURLConnection); + + URL url = new URL(mockProtocol, null, 0, mockFile, mockURLStreamHandler); + BaseEmulatorHelper.DownloadableEmulatorRunner runner = + new BaseEmulatorHelper.DownloadableEmulatorRunner( + ImmutableList.of(mockCommandText), url, null, mockAccessToken); + + File cachedFile = new File(System.getProperty("java.io.tmpdir"), mockExternalForm); + cachedFile.delete(); // Clear the cached version so we're always testing the download + + runner.start(); + + EasyMock.verify(); + + cachedFile.delete(); // Cleanup + } + + @Test + public void testEmulatorHelperMultipleRunners() + throws IOException, InterruptedException, TimeoutException { + Process process = EasyMock.createStrictMock(Process.class); + InputStream stream = new ByteArrayInputStream(BLOCK_UNTIL.getBytes(Charsets.UTF_8)); + EmulatorRunner firstRunner = EasyMock.createStrictMock(EmulatorRunner.class); + EmulatorRunner secondRunner = EasyMock.createStrictMock(EmulatorRunner.class); + EasyMock.expect(process.getInputStream()).andReturn(stream); + EasyMock.expect(firstRunner.isAvailable()).andReturn(false); + EasyMock.expect(secondRunner.isAvailable()).andReturn(true); + secondRunner.start(); + EasyMock.expectLastCall(); + EasyMock.expect(secondRunner.getProcess()).andReturn(process); + secondRunner.waitFor(Duration.ofMinutes(1)); + EasyMock.expectLastCall().andReturn(0); + EasyMock.replay(process, secondRunner); + TestEmulatorHelper helper = + new TestEmulatorHelper(ImmutableList.of(firstRunner, secondRunner), BLOCK_UNTIL); + helper.start(); + helper.stop(Duration.ofMinutes(1)); + EasyMock.verify(); + } + + /** + * URLStreamHandler has a protected method which needs to be mocked, so we need our own + * implementation in this package + */ + private class MockURLStreamHandler extends URLStreamHandler { + @Override + protected URLConnection openConnection(URL u) throws IOException { + return null; + } + + @Override + protected String toExternalForm(URL u) { + return null; + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java new file mode 100644 index 000000000000..56b406f9634a --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java @@ -0,0 +1,99 @@ +/* + * Copyright 2016 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 + * + * http://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.testing; + +import static org.junit.Assert.assertEquals; + +import com.google.api.client.util.Charsets; +import com.google.common.collect.LinkedHashMultimap; +import com.google.common.collect.Multimap; +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.util.logging.Level; +import java.util.logging.Logger; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.Timeout; + +public class BlockingProcessStreamReaderTest { + + private static final String BLOCK_UNTIL = "Dev App Server is now running"; + private static final String OUTPUT = "First Line\n" + "Second Line\n" + BLOCK_UNTIL; + private static final String OUTPUT_WITH_LOGS = + "First Line\n" + + BLOCK_UNTIL + + "\n" + + "Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "INFO: log line 1\n" + + "log line 2\n" + + "Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "FINE: log line 3\n"; + private static final String TAGGED_OUTPUT_WITH_LOGS = + "[emulator] First Line\n" + + "[emulator]" + + BLOCK_UNTIL + + "\n" + + "[emulator] Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "[emulator] INFO: log line 1\n" + + "[emulator] log line 2\n" + + "[emulator] Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "[emulator] FINE: log line 3\n"; + + @Rule public Timeout globalTimeout = Timeout.seconds(10); + + private static final class TestLogger extends Logger { + + private final Multimap logs = LinkedHashMultimap.create(); + + private TestLogger() { + super("text-logger", null); + } + + public void log(Level level, String msg) { + logs.put(level, msg); + } + + Multimap getLogs() { + return logs; + } + } + + @Test + public void testForwardLogEntry() throws IOException, InterruptedException { + TestLogger logger = new TestLogger(); + InputStream stream = new ByteArrayInputStream(OUTPUT_WITH_LOGS.getBytes(Charsets.UTF_8)); + BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger).join(); + assertEquals( + "[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", + logger.getLogs().get(Level.INFO).iterator().next()); + assertEquals("[emulator] log line 3", logger.getLogs().get(Level.FINE).iterator().next()); + stream.close(); + } + + @Test + public void testForwardAlreadyTaggedLogs() throws IOException, InterruptedException { + TestLogger logger = new TestLogger(); + InputStream stream = new ByteArrayInputStream(TAGGED_OUTPUT_WITH_LOGS.getBytes(Charsets.UTF_8)); + BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger).join(); + assertEquals( + "[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", + logger.getLogs().get(Level.INFO).iterator().next()); + assertEquals("[emulator] log line 3", logger.getLogs().get(Level.FINE).iterator().next()); + stream.close(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java new file mode 100644 index 000000000000..88b246c75420 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java @@ -0,0 +1,120 @@ +/* + * Copyright 2016 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 + * + * http://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.testing; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import com.google.common.collect.ImmutableList; +import java.io.File; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.List; +import org.junit.Test; + +public class CommandWrapperTest { + + private static final List COMMAND = ImmutableList.of("my", "command"); + private static final List WIN_COMMAND = ImmutableList.of("cmd", "/C", "my", "command"); + private static final List UNIX_COMMAND = ImmutableList.of("bash", "my", "command"); + private static final Path DIRECTORY = Paths.get("my-path"); + private static final File WIN_NULL_FILE = new File("NUL:"); + private static final File UNIX_NULL_FILE = new File("/dev/null"); + + @Test + public void testCommandWrapperCommand() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + } + assertNull(processBuilder.directory()); + assertFalse(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.PIPE, processBuilder.redirectError()); + } + + @Test + public void testCommandWrapperRedirectErrorStream() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + commandWrapper.setRedirectErrorStream(); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + } + assertNull(processBuilder.directory()); + assertTrue(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.PIPE, processBuilder.redirectError()); + } + + @Test + public void testCommandWrapperRedirectErrorInherit() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + commandWrapper.setRedirectErrorInherit(); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + } + assertNull(processBuilder.directory()); + assertFalse(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.INHERIT, processBuilder.redirectError()); + } + + @Test + public void testCommandWrapperDirectory() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + commandWrapper.setDirectory(DIRECTORY); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + } + assertEquals(DIRECTORY, processBuilder.directory().toPath()); + assertFalse(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.PIPE, processBuilder.redirectError()); + } + + @Test + public void testCommandWrapperRedirectOutputToNull() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + commandWrapper.setRedirectOutputToNull(); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + assertEquals(ProcessBuilder.Redirect.to(WIN_NULL_FILE), processBuilder.redirectOutput()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + assertEquals(ProcessBuilder.Redirect.to(UNIX_NULL_FILE), processBuilder.redirectOutput()); + } + assertNull(processBuilder.directory()); + assertFalse(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.PIPE, processBuilder.redirectError()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java new file mode 100644 index 000000000000..fe65026b600a --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java @@ -0,0 +1,103 @@ +/* + * Copyright 2016 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 + * + * http://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.testing; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import org.junit.Assert; +import org.junit.Test; + +public class VersionTest { + + @Test + public void testFromString() { + Version version = Version.fromString("2016.01.13"); + assertEquals(2016, version.getMajor()); + assertEquals(1, version.getMinor()); + assertEquals(13, version.getPatch()); + version = Version.fromString("1.2.0"); + assertEquals(1, version.getMajor()); + assertEquals(2, version.getMinor()); + assertEquals(0, version.getPatch()); + } + + @Test + public void testFromStringWithAlphas() { + try { + Version.fromString("2016.01.hello"); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void testFromStringMissingPatch() { + try { + Version.fromString("2016.01"); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void testFromStringMissingMinor() { + try { + Version.fromString("2016"); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void testFromStringEmpty() { + try { + Version.fromString(""); + Assert.fail(); + } catch (IllegalArgumentException ex) { + assertNotNull(ex.getMessage()); + } + } + + @Test + public void testFromStringNull() { + try { + Version.fromString(null); + Assert.fail(); + } catch (NullPointerException ex) { + assertNull(ex.getMessage()); + } + } + + @Test + public void testCompare() { + Version version = Version.fromString("2016.01.13"); + Version sameVersion = Version.fromString("2016.01.13"); + Version olderVersion = Version.fromString("2015.12.01"); + Version newerVersion = Version.fromString("2016.08.12"); + assertEquals(0, version.compareTo(sameVersion)); + assertTrue(version.compareTo(olderVersion) > 0); + assertTrue(version.compareTo(newerVersion) < 0); + Version otherVersion = Version.fromString("1.2.0"); + assertTrue(version.compareTo(otherVersion) > 0); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/MultipleAttemptsRule.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/MultipleAttemptsRule.java new file mode 100644 index 000000000000..86fd82c7b930 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/MultipleAttemptsRule.java @@ -0,0 +1,107 @@ +/* + * Copyright 2020 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 + * + * http://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.testing.junit4; + +import static com.google.common.base.Preconditions.checkArgument; + +import java.util.ArrayList; +import java.util.List; +import org.junit.rules.TestRule; +import org.junit.runner.Description; +import org.junit.runners.model.MultipleFailureException; +import org.junit.runners.model.Statement; + +/** + * A JUnit rule that allows multiple attempts of a test execution before ultimately reporting + * failure for the test. Attempts will be attempted with an exponential backoff which defaults to a + * starting duration of 1 second. + * + *

If after the maximum number of attempts the test has still not succeeded, all failures will be + * propagated as the result of the test allowing all errors to be visible (regardless if they are + * the same failure or different ones). + * + *

To use this rule add the field declaration to your JUnit 4 Test class: + * + *

Note: It is important that the field is public + * + *

{@code
+ * @Rule
+ * public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);
+ * }
+ * + * @see org.junit.Rule + */ +public final class MultipleAttemptsRule implements TestRule { + private final long initialBackoffMillis; + private final int maxAttemptCount; + + /** + * Construct a {@link MultipleAttemptsRule} which will attempt a test up to {@code attemptCount} + * times before ultimately reporting failure of the test. + * + *

The initialBackoffMillis will be set to 1000L. + * + * @param maxAttemptCount max number of attempts before reporting failure, must be greater than 0 + * @see #MultipleAttemptsRule(int, long) + */ + public MultipleAttemptsRule(int maxAttemptCount) { + this(maxAttemptCount, 1000L); + } + + /** + * Construct a {@link MultipleAttemptsRule} which will attempt a test up to {@code attemptCount} + * times before ultimately reporting failure of the test. + * + *

The {@code initialBackoffMillis} will be used as the first pause duration before + * reattempting the test. + * + * @param maxAttemptCount max number of attempts before reporting failure, must be greater than 0 + * @param initialBackoffMillis initial duration in millis to wait between attempts, must be + * greater than or equal to 0 + */ + public MultipleAttemptsRule(int maxAttemptCount, long initialBackoffMillis) { + checkArgument(maxAttemptCount > 0, "attemptCount must be > 0"); + checkArgument(initialBackoffMillis >= 0, "initialBackoffMillis must be >= 0"); + this.initialBackoffMillis = initialBackoffMillis; + this.maxAttemptCount = maxAttemptCount; + } + + @Override + public Statement apply(final Statement base, Description description) { + return new Statement() { + @Override + public void evaluate() throws Throwable { + List failures = new ArrayList<>(); + + long retryIntervalMillis = initialBackoffMillis; + + for (int i = 1; i <= maxAttemptCount; i++) { + try { + base.evaluate(); + return; + } catch (Throwable t) { + failures.add(t); + Thread.sleep(retryIntervalMillis); + retryIntervalMillis *= 1.5f; + } + } + + MultipleFailureException.assertEmpty(failures); + } + }; + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdErrCaptureRule.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdErrCaptureRule.java new file mode 100644 index 000000000000..1640d950e3f7 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdErrCaptureRule.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 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 + * + * http://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.testing.junit4; + +import java.io.PrintStream; +import org.junit.Rule; + +/** + * A JUnit rule that allows the capturing stderr (i.e. {@link System#err} during the scope of a + * test. + * + *

Note: If some part of the system holds a reference System.err before this rule is loaded + * into the test lifecycle there is no way for this rule to capture the output. Ensure this rule is + * declared as high in your test file as possible, and ordered using {@link Rule#order()} before + * other Rules if necessary. + * + *

To use this rule add the field declaration to your JUnit 4 Test class: + * + *

Note: It is important that the field is public + * + *

{@code
+ * @Rule
+ * public StdErrCaptureRule stdErrCaptureRule = new StdErrCaptureRule();
+ * }
+ * + * @see org.junit.Rule + * @see Rule#order() + */ +public final class StdErrCaptureRule extends StdXCaptureRule { + + public StdErrCaptureRule() {} + + @Override + protected PrintStream getOriginal() { + return System.err; + } + + @Override + protected void set(PrintStream ps) { + System.setErr(ps); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdOutCaptureRule.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdOutCaptureRule.java new file mode 100644 index 000000000000..0a33997cde21 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdOutCaptureRule.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 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 + * + * http://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.testing.junit4; + +import java.io.PrintStream; +import org.junit.Rule; + +/** + * A JUnit rule that allows the capturing stdout (i.e. {@link System#out} during the scope of a + * test. + * + *

Note: If some part of the system holds a reference System.out before this rule is loaded + * into the test lifecycle there is no way for this rule to capture the output. Ensure this rule is + * declared as high in your test file as possible, and ordered using {@link Rule#order()} before + * other Rules if necessary. + * + *

To use this rule add the field declaration to your JUnit 4 Test class: + * + *

Note: It is important that the field is public + * + *

{@code
+ * @Rule
+ * public StdOutCaptureRule stdOutCaptureRule = new StdOutCaptureRule();
+ * }
+ * + * @see org.junit.Rule + * @see Rule#order() + */ +public final class StdOutCaptureRule extends StdXCaptureRule { + + public StdOutCaptureRule() {} + + @Override + protected PrintStream getOriginal() { + return System.out; + } + + @Override + protected void set(PrintStream ps) { + System.setOut(ps); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRule.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRule.java new file mode 100644 index 000000000000..ba17e3e324bc --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRule.java @@ -0,0 +1,188 @@ +/* + * Copyright 2020 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 + * + * http://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.testing.junit4; + +import com.google.common.base.Charsets; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.io.PrintStream; +import java.io.UnsupportedEncodingException; +import org.junit.rules.TestRule; +import org.junit.runner.Description; +import org.junit.runners.model.Statement; + +abstract class StdXCaptureRule implements TestRule { + + private final ByteArrayOutputStream byteArrayOutputStream; + + public StdXCaptureRule() { + byteArrayOutputStream = new ByteArrayOutputStream(); + } + + protected abstract PrintStream getOriginal(); + + protected abstract void set(PrintStream ps); + + /** + * Get a handle to the raw bytes written during the running test so far. + * + * @return A read-only {@link ByteArrayOutputStream} representing the raw bytes written so far. + *

Note the following behavior of the return value: + *

    + *
  1. Calling any "write" method call will result in an {@link IllegalStateException} + *
  2. Calls to {@link ByteArrayOutputStream#toByteArray()} will result in a new copy of the + * underlying array up to that point + *
  3. Calls to {@link ByteArrayOutputStream#flush()} will be silently ignored + *
  4. Calls to {@link ByteArrayOutputStream#close()} will be silently ignored + *
+ */ + public ByteArrayOutputStream getCapturedOutput() { + return new ReadOnlyByteArrayOutputStream(byteArrayOutputStream); + } + + /** + * Return a UTF-8 {@link String} of all bytes written during the running test so far. + * + * @return UTF-8 {@link String} of all bytes written + */ + public String getCapturedOutputAsUtf8String() { + return new String(byteArrayOutputStream.toByteArray(), Charsets.UTF_8); + } + + @Override + public Statement apply(final Statement base, Description description) { + return new Statement() { + @Override + public void evaluate() throws Throwable { + PrintStream originalOut = getOriginal(); + TeeOutputStream tee = new TeeOutputStream(System.out, byteArrayOutputStream); + boolean outReplaced = false; + try { + set(new PrintStream(tee)); + outReplaced = true; + base.evaluate(); + } finally { + if (outReplaced) { + set(originalOut); + } + } + } + }; + } + + private static final class TeeOutputStream extends OutputStream { + private final OutputStream left; + private final OutputStream right; + + public TeeOutputStream(OutputStream left, OutputStream right) { + this.left = left; + this.right = right; + } + + @Override + public void write(int b) throws IOException { + try { + left.write(b); + } finally { + right.write(b); + } + } + + @Override + public void flush() throws IOException { + try { + left.flush(); + } finally { + right.flush(); + } + } + } + + private static final class ReadOnlyByteArrayOutputStream extends ByteArrayOutputStream { + private final ByteArrayOutputStream delegate; + + public ReadOnlyByteArrayOutputStream(ByteArrayOutputStream delegate) { + this.delegate = delegate; + } + + @Override + public synchronized void write(int b) { + throw getIllegalStateException("write(b)"); + } + + @Override + public synchronized void write(byte[] b, int off, int len) { + throw getIllegalStateException("write(byte[], off, len)"); + } + + @Override + public synchronized void writeTo(OutputStream out) { + throw getIllegalStateException("writeOt(out)"); + } + + @Override + public synchronized void reset() { + throw getIllegalStateException("reset()"); + } + + @Override + public synchronized byte[] toByteArray() { + return delegate.toByteArray(); + } + + @Override + public void close() { + // ignore + } + + @Override + public synchronized int size() { + return delegate.size(); + } + + @Override + public synchronized String toString() { + return delegate.toString(); + } + + @Override + public synchronized String toString(String charsetName) throws UnsupportedEncodingException { + return delegate.toString(charsetName); + } + + @SuppressWarnings("deprecation") + @Override + public synchronized String toString(int hibyte) { + return delegate.toString(hibyte); + } + + @Override + public void flush() { + // ignore + } + + @Override + public void write(byte[] b) { + throw getIllegalStateException("write(byte[])"); + } + + private IllegalStateException getIllegalStateException(String desc) { + return new IllegalStateException(desc + " is forbidden"); + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRuleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRuleTest.java new file mode 100644 index 000000000000..17d167e1af9a --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRuleTest.java @@ -0,0 +1,76 @@ +/* + * Copyright 2020 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 + * + * http://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.testing.junit4; + +import static org.junit.Assert.*; + +import java.io.IOException; +import java.io.PrintStream; +import org.junit.Test; + +public final class StdXCaptureRuleTest { + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_writeByte() { + getStdXCaptureRule().getCapturedOutput().write(0); + } + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_writeByteArray() throws IOException { + getStdXCaptureRule().getCapturedOutput().write(new byte[] {0}); + } + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_writeByteArrayRange() { + getStdXCaptureRule().getCapturedOutput().write(new byte[] {0}, 0, 1); + } + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_writeTo() throws IOException { + getStdXCaptureRule().getCapturedOutput().writeTo(System.out); + } + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_reset() { + getStdXCaptureRule().getCapturedOutput().reset(); + } + + @Test + public void returnedByteArrayOutputStreamIsReadOnly_close() throws IOException { + getStdXCaptureRule().getCapturedOutput().close(); + } + + @Test + public void returnedByteArrayOutputStreamIsReadOnly_flush() throws IOException { + getStdXCaptureRule().getCapturedOutput().flush(); + } + + private static StdXCaptureRule getStdXCaptureRule() { + return new StdXCaptureRule() { + @Override + protected PrintStream getOriginal() { + fail("unexpected call"); + return null; + } + + @Override + protected void set(PrintStream ps) { + fail("unexpected call"); + } + }; + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/MultipleAttemptsRuleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/MultipleAttemptsRuleTest.java new file mode 100644 index 000000000000..e1c98b19530e --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/MultipleAttemptsRuleTest.java @@ -0,0 +1,87 @@ +/* + * Copyright 2020 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 + * + * http://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.testing.junit4.tests; + +import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.fail; + +import com.google.cloud.testing.junit4.MultipleAttemptsRule; +import org.junit.Rule; +import org.junit.Test; +import org.junit.runners.model.MultipleFailureException; +import org.junit.runners.model.Statement; + +public final class MultipleAttemptsRuleTest { + + private static final int NUMBER_OF_ATTEMPTS = 5; + + @Rule public MultipleAttemptsRule rr = new MultipleAttemptsRule(NUMBER_OF_ATTEMPTS, 0); + + private int numberAttempted = 0; + + @Test + public void wontPassUntil5() { + numberAttempted += 1; + assertEquals(NUMBER_OF_ATTEMPTS, numberAttempted); + } + + @Test(expected = IllegalArgumentException.class) + public void errorConstructing_attemptLessThan1() { + new MultipleAttemptsRule(0); + } + + @Test + public void errorConstructing_attemptEquals1() { + new MultipleAttemptsRule(1); + } + + @Test(expected = IllegalArgumentException.class) + public void errorConstructing_attemptGreaterThanOrEqualTo1AndBackoffLessThan0() { + new MultipleAttemptsRule(1, -1); + } + + @Test + public void errorConstructing_attemptGreaterThanOrEqualTo1AndBackoffEqualTo0() { + new MultipleAttemptsRule(1, 0); + } + + @Test + public void allErrorPropagated() { + MultipleAttemptsRule rule = new MultipleAttemptsRule(3, 0); + Statement statement = + rule.apply( + new Statement() { + private int counter = 1; + + @Override + public void evaluate() { + fail("attempt " + counter++); + } + }, + null); + + try { + statement.evaluate(); + } catch (MultipleFailureException mfe) { + // pass + assertThat(mfe.getFailures()).hasSize(3); + } catch (Throwable throwable) { + fail("unexpected error: " + throwable.getMessage()); + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdErrCaptureRuleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdErrCaptureRuleTest.java new file mode 100644 index 000000000000..565bb08f12aa --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdErrCaptureRuleTest.java @@ -0,0 +1,36 @@ +/* + * Copyright 2020 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 + * + * http://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.testing.junit4.tests; + +import static org.junit.Assert.assertEquals; + +import com.google.cloud.testing.junit4.StdErrCaptureRule; +import org.junit.Rule; +import org.junit.Test; + +public class StdErrCaptureRuleTest { + + @Rule public StdErrCaptureRule stdOutCap = new StdErrCaptureRule(); + + @Test + public void captureSuccessful() { + System.err.println("err world"); + String expected = "err world" + System.lineSeparator(); + String actual = stdOutCap.getCapturedOutputAsUtf8String(); + assertEquals(expected, actual); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdOutCaptureRuleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdOutCaptureRuleTest.java new file mode 100644 index 000000000000..8230debded28 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdOutCaptureRuleTest.java @@ -0,0 +1,36 @@ +/* + * Copyright 2020 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 + * + * http://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.testing.junit4.tests; + +import static org.junit.Assert.assertEquals; + +import com.google.cloud.testing.junit4.StdOutCaptureRule; +import org.junit.Rule; +import org.junit.Test; + +public class StdOutCaptureRuleTest { + + @Rule public StdOutCaptureRule stdOutCap = new StdOutCaptureRule(); + + @Test + public void captureSuccessful() { + System.out.println("hello world"); + String expected = "hello world" + System.lineSeparator(); + String actual = stdOutCap.getCapturedOutputAsUtf8String(); + assertEquals(expected, actual); + } +} diff --git a/java-core/pom.xml b/java-core/pom.xml new file mode 100644 index 000000000000..ce5ac8763edb --- /dev/null +++ b/java-core/pom.xml @@ -0,0 +1,33 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core-parent + pom + 2.10.0 + Google Cloud Core Parent + + Java idiomatic client for Google Cloud Platform services. + + + + com.google.cloud + google-cloud-jar-parent + 1.4.0 + ../google-cloud-jar-parent/pom.xml + + + + UTF-8 + UTF-8 + github + google-cloud-core-parent + + + + google-cloud-core + google-cloud-core-http + google-cloud-core-grpc + google-cloud-core-bom + + diff --git a/java-data-fusion/README.md b/java-data-fusion/README.md index 517601fdf0d6..0a440f4f1de5 100644 --- a/java-data-fusion/README.md +++ b/java-data-fusion/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-data-fusion - 1.8.0 + 1.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-data-fusion:1.8.0' +implementation 'com.google.cloud:google-cloud-data-fusion:1.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.9.0" ``` ## Authentication diff --git a/java-data-fusion/google-cloud-data-fusion-bom/pom.xml b/java-data-fusion/google-cloud-data-fusion-bom/pom.xml index acd2c8995665..d992c4e93077 100644 --- a/java-data-fusion/google-cloud-data-fusion-bom/pom.xml +++ b/java-data-fusion/google-cloud-data-fusion-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-data-fusion-bom - 1.9.0 + 1.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-data-fusion - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-data-fusion-v1beta1 - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-data-fusion-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-data-fusion-v1beta1 - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-cloud-data-fusion-v1 - 1.9.0 + 1.10.0 diff --git a/java-data-fusion/google-cloud-data-fusion/pom.xml b/java-data-fusion/google-cloud-data-fusion/pom.xml index 1a989a4239be..7eea34cc0f8f 100644 --- a/java-data-fusion/google-cloud-data-fusion/pom.xml +++ b/java-data-fusion/google-cloud-data-fusion/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-data-fusion - 1.9.0 + 1.10.0 jar Google Cloud Data Fusion Cloud Data Fusion is a fully managed, cloud-native, enterprise data integration service for quickly building and managing data pipelines. com.google.cloud google-cloud-data-fusion-parent - 1.9.0 + 1.10.0 google-cloud-data-fusion diff --git a/java-data-fusion/grpc-google-cloud-data-fusion-v1/pom.xml b/java-data-fusion/grpc-google-cloud-data-fusion-v1/pom.xml index 413fb9a66725..16256d8bdaf9 100644 --- a/java-data-fusion/grpc-google-cloud-data-fusion-v1/pom.xml +++ b/java-data-fusion/grpc-google-cloud-data-fusion-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-data-fusion-v1 - 1.9.0 + 1.10.0 grpc-google-cloud-data-fusion-v1 GRPC library for google-cloud-data-fusion com.google.cloud google-cloud-data-fusion-parent - 1.9.0 + 1.10.0 diff --git a/java-data-fusion/grpc-google-cloud-data-fusion-v1beta1/pom.xml b/java-data-fusion/grpc-google-cloud-data-fusion-v1beta1/pom.xml index 2d6048cf2407..ed9df4228f4f 100644 --- a/java-data-fusion/grpc-google-cloud-data-fusion-v1beta1/pom.xml +++ b/java-data-fusion/grpc-google-cloud-data-fusion-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-data-fusion-v1beta1 - 0.13.0 + 0.14.0 grpc-google-cloud-data-fusion-v1beta1 GRPC library for google-cloud-data-fusion com.google.cloud google-cloud-data-fusion-parent - 1.9.0 + 1.10.0 diff --git a/java-data-fusion/pom.xml b/java-data-fusion/pom.xml index 29e304d514b6..3f05e8def5ee 100644 --- a/java-data-fusion/pom.xml +++ b/java-data-fusion/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-data-fusion-parent pom - 1.9.0 + 1.10.0 Google Cloud Data Fusion Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-data-fusion - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-data-fusion-v1beta1 - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-data-fusion-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-data-fusion-v1beta1 - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-cloud-data-fusion-v1 - 1.9.0 + 1.10.0 diff --git a/java-data-fusion/proto-google-cloud-data-fusion-v1/pom.xml b/java-data-fusion/proto-google-cloud-data-fusion-v1/pom.xml index db0a1e580aa8..092746f21a86 100644 --- a/java-data-fusion/proto-google-cloud-data-fusion-v1/pom.xml +++ b/java-data-fusion/proto-google-cloud-data-fusion-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-data-fusion-v1 - 1.9.0 + 1.10.0 proto-google-cloud-data-fusion-v1 Proto library for google-cloud-data-fusion com.google.cloud google-cloud-data-fusion-parent - 1.9.0 + 1.10.0 diff --git a/java-data-fusion/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java b/java-data-fusion/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java index 20b2d94f6a9b..d5c6e73ab247 100644 --- a/java-data-fusion/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java +++ b/java-data-fusion/proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java @@ -251,15 +251,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*}:restart:\001*\312A\035\n\010Instance\022\021OperationMet" + "adata\032M\312A\031datafusion.googleapis.com\322A.ht" + "tps://www.googleapis.com/auth/cloud-plat" - + "formB\275\002\n\036com.google.cloud.datafusion.v1P" - + "\001ZDgoogle.golang.org/genproto/googleapis" - + "/cloud/datafusion/v1;datafusion\252\002\032Google" - + ".Cloud.DataFusion.V1\312\002\032Google\\Cloud\\Data" - + "Fusion\\V1\352\002\035Google::Cloud::DataFusion::V" - + "1\352Ax\n!cloudkms.googleapis.com/CryptoKey\022" - + "Sprojects/{project}/locations/{location}" - + "/keyRings/{key_ring}/cryptoKeys/{crypto_" - + "key}b\006proto3" + + "formB\267\002\n\036com.google.cloud.datafusion.v1P" + + "\001Z>cloud.google.com/go/datafusion/apiv1/" + + "datafusionpb;datafusionpb\252\002\032Google.Cloud" + + ".DataFusion.V1\312\002\032Google\\Cloud\\DataFusion" + + "\\V1\352\002\035Google::Cloud::DataFusion::V1\352Ax\n!" + + "cloudkms.googleapis.com/CryptoKey\022Sproje" + + "cts/{project}/locations/{location}/keyRi" + + "ngs/{key_ring}/cryptoKeys/{crypto_key}b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-data-fusion/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto b/java-data-fusion/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto index 6151050939a3..9cbaaf97e58d 100644 --- a/java-data-fusion/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto +++ b/java-data-fusion/proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DataFusion.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datafusion/v1;datafusion"; +option go_package = "cloud.google.com/go/datafusion/apiv1/datafusionpb;datafusionpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datafusion.v1"; option php_namespace = "Google\\Cloud\\DataFusion\\V1"; diff --git a/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/pom.xml b/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/pom.xml index c0724a41a1b9..0f4e8b62ce57 100644 --- a/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/pom.xml +++ b/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-data-fusion-v1beta1 - 0.13.0 + 0.14.0 proto-google-cloud-data-fusion-v1beta1 Proto library for google-cloud-data-fusion com.google.cloud google-cloud-data-fusion-parent - 1.9.0 + 1.10.0 diff --git a/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java b/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java index c42b172a2fe2..d5b1b5c91613 100644 --- a/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java +++ b/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java @@ -372,16 +372,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "a1/{parent=projects/*/locations/*/instan" + "ces/*}/dnsPeerings:list\332A\006parent\032M\312A\031dat" + "afusion.googleapis.com\322A.https://www.goo" - + "gleapis.com/auth/cloud-platformB\326\002\n#com." - + "google.cloud.datafusion.v1beta1P\001ZIgoogl" - + "e.golang.org/genproto/googleapis/cloud/d" - + "atafusion/v1beta1;datafusion\252\002\037Google.Cl" - + "oud.DataFusion.V1Beta1\312\002\037Google\\Cloud\\Da" - + "taFusion\\V1beta1\352\002\"Google::Cloud::DataFu" - + "sion::V1beta1\352Ax\n!cloudkms.googleapis.co" - + "m/CryptoKey\022Sprojects/{project}/location" - + "s/{location}/keyRings/{key_ring}/cryptoK" - + "eys/{crypto_key}b\006proto3" + + "gleapis.com/auth/cloud-platformB\320\002\n#com." + + "google.cloud.datafusion.v1beta1P\001ZCcloud" + + ".google.com/go/datafusion/apiv1beta1/dat" + + "afusionpb;datafusionpb\252\002\037Google.Cloud.Da" + + "taFusion.V1Beta1\312\002\037Google\\Cloud\\DataFusi" + + "on\\V1beta1\352\002\"Google::Cloud::DataFusion::" + + "V1beta1\352Ax\n!cloudkms.googleapis.com/Cryp" + + "toKey\022Sprojects/{project}/locations/{loc" + + "ation}/keyRings/{key_ring}/cryptoKeys/{c" + + "rypto_key}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto b/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto index ac3f309c1ea6..ef2c68579923 100644 --- a/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto +++ b/java-data-fusion/proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.DataFusion.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datafusion/v1beta1;datafusion"; +option go_package = "cloud.google.com/go/datafusion/apiv1beta1/datafusionpb;datafusionpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datafusion.v1beta1"; option php_namespace = "Google\\Cloud\\DataFusion\\V1beta1"; diff --git a/java-datacatalog/README.md b/java-datacatalog/README.md index ea31b54a15eb..6f637fcabe73 100644 --- a/java-datacatalog/README.md +++ b/java-datacatalog/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-datacatalog - 1.14.0 + 1.15.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datacatalog:1.14.0' +implementation 'com.google.cloud:google-cloud-datacatalog:1.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.14.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.15.0" ``` ## Authentication diff --git a/java-datacatalog/google-cloud-datacatalog-bom/pom.xml b/java-datacatalog/google-cloud-datacatalog-bom/pom.xml index 7da672e3aee3..453a7d080570 100644 --- a/java-datacatalog/google-cloud-datacatalog-bom/pom.xml +++ b/java-datacatalog/google-cloud-datacatalog-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-datacatalog-bom - 1.15.0 + 1.16.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-datacatalog - 1.15.0 + 1.16.0 com.google.api.grpc grpc-google-cloud-datacatalog-v1 - 1.15.0 + 1.16.0 com.google.api.grpc grpc-google-cloud-datacatalog-v1beta1 - 0.52.0 + 0.53.0 com.google.api.grpc proto-google-cloud-datacatalog-v1 - 1.15.0 + 1.16.0 com.google.api.grpc proto-google-cloud-datacatalog-v1beta1 - 0.52.0 + 0.53.0 diff --git a/java-datacatalog/google-cloud-datacatalog/pom.xml b/java-datacatalog/google-cloud-datacatalog/pom.xml index 6523eda48f6c..155a3c74f19c 100644 --- a/java-datacatalog/google-cloud-datacatalog/pom.xml +++ b/java-datacatalog/google-cloud-datacatalog/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-datacatalog - 1.15.0 + 1.16.0 jar Google Cloud Data Catalog Java idiomatic client for Google Cloud Data Catalog com.google.cloud google-cloud-datacatalog-parent - 1.15.0 + 1.16.0 google-cloud-datacatalog diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1/pom.xml b/java-datacatalog/grpc-google-cloud-datacatalog-v1/pom.xml index 54b742c778b7..ba64c1f54151 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1/pom.xml +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-datacatalog-v1 - 1.15.0 + 1.16.0 grpc-google-cloud-datacatalog-v1 GRPC library for grpc-google-cloud-datacatalog-v1 com.google.cloud google-cloud-datacatalog-parent - 1.15.0 + 1.16.0 diff --git a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/pom.xml b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/pom.xml index 7bb570575c9b..efb2938f57f4 100644 --- a/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/pom.xml +++ b/java-datacatalog/grpc-google-cloud-datacatalog-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-datacatalog-v1beta1 - 0.52.0 + 0.53.0 grpc-google-cloud-datacatalog-v1beta1 GRPC library for grpc-google-cloud-datacatalog-v1beta1 com.google.cloud google-cloud-datacatalog-parent - 1.15.0 + 1.16.0 diff --git a/java-datacatalog/pom.xml b/java-datacatalog/pom.xml index dc75c917b8ca..039a8fa9bd76 100644 --- a/java-datacatalog/pom.xml +++ b/java-datacatalog/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-datacatalog-parent pom - 1.15.0 + 1.16.0 Google Cloud Data Catalog Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-datacatalog-v1 - 1.15.0 + 1.16.0 com.google.api.grpc proto-google-cloud-datacatalog-v1beta1 - 0.52.0 + 0.53.0 com.google.api.grpc grpc-google-cloud-datacatalog-v1 - 1.15.0 + 1.16.0 com.google.api.grpc grpc-google-cloud-datacatalog-v1beta1 - 0.52.0 + 0.53.0 com.google.cloud google-cloud-datacatalog - 1.15.0 + 1.16.0 diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/pom.xml b/java-datacatalog/proto-google-cloud-datacatalog-v1/pom.xml index 61fac85e92d2..4b62f40a7573 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/pom.xml +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-datacatalog-v1 - 1.15.0 + 1.16.0 proto-google-cloud-datacatalog-v1 PROTO library for proto-google-cloud-datacatalog-v1 com.google.cloud google-cloud-datacatalog-parent - 1.15.0 + 1.16.0 diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java index 63d5ae8c86fb..09104ec4dbed 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/BigQueryProto.java @@ -65,13 +65,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "onSpec.DatabaseType\"F\n\014DatabaseType\022\035\n\031D" + "ATABASE_TYPE_UNSPECIFIED\020\000\022\014\n\010POSTGRES\020\001" + "\022\t\n\005MYSQL\020\002\"1\n\023BigQueryRoutineSpec\022\032\n\022im" - + "ported_libraries\030\001 \003(\tB\332\001\n\037com.google.cl" - + "oud.datacatalog.v1B\rBigQueryProtoP\001ZFgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/datacatalog/v1;datacatalog\370\001\001\252\002\033Google." - + "Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Data" - + "Catalog\\V1\352\002\036Google::Cloud::DataCatalog:" - + ":V1b\006proto3" + + "ported_libraries\030\001 \003(\tB\325\001\n\037com.google.cl" + + "oud.datacatalog.v1B\rBigQueryProtoP\001ZAclo" + + "ud.google.com/go/datacatalog/apiv1/datac" + + "atalogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud" + + ".DataCatalog.V1\312\002\033Google\\Cloud\\DataCatal" + + "og\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java index 75a56f19348d..9f9828ef2207 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Common.java @@ -47,13 +47,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032.google.protobuf.Timestamp*{\n\020Integrate" + "dSystem\022!\n\035INTEGRATED_SYSTEM_UNSPECIFIED" + "\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_PUBSUB\020\002\022\026\n\022DA" - + "TAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004B\313\001\n\037com" - + ".google.cloud.datacatalog.v1P\001ZFgoogle.g" - + "olang.org/genproto/googleapis/cloud/data" - + "catalog/v1;datacatalog\370\001\001\252\002\033Google.Cloud" - + ".DataCatalog.V1\312\002\033Google\\Cloud\\DataCatal" - + "og\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006" - + "proto3" + + "TAPROC_METASTORE\020\003\022\014\n\010DATAPLEX\020\004B\306\001\n\037com" + + ".google.cloud.datacatalog.v1P\001ZAcloud.go" + + "ogle.com/go/datacatalog/apiv1/datacatalo" + + "gpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Data" + + "Catalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1" + + "\352\002\036Google::Cloud::DataCatalog::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java index a754645aa9e6..83892c6c0dc0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataSourceProto.java @@ -55,13 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "vice\022\027\n\023SERVICE_UNSPECIFIED\020\000\022\021\n\rCLOUD_S" + "TORAGE\020\001\022\014\n\010BIGQUERY\020\002B\014\n\nproperties\"<\n\021" + "StorageProperties\022\024\n\014file_pattern\030\001 \003(\t\022" - + "\021\n\tfile_type\030\002 \001(\tB\334\001\n\037com.google.cloud." - + "datacatalog.v1B\017DataSourceProtoP\001ZFgoogl" - + "e.golang.org/genproto/googleapis/cloud/d" - + "atacatalog/v1;datacatalog\370\001\001\252\002\033Google.Cl" - + "oud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCa" - + "talog\\V1\352\002\036Google::Cloud::DataCatalog::V" - + "1b\006proto3" + + "\021\n\tfile_type\030\002 \001(\tB\327\001\n\037com.google.cloud." + + "datacatalog.v1B\017DataSourceProtoP\001ZAcloud" + + ".google.com/go/datacatalog/apiv1/datacat" + + "alogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.D" + + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" + + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java index 262b639297ed..7aabccdb303f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Datacatalog.java @@ -628,17 +628,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ntryGroups/*/entries/*}:testIamPermissio" + "ns:\001*\032N\312A\032datacatalog.googleapis.com\322A.h" + "ttps://www.googleapis.com/auth/cloud-pla", - "tformB\217\003\n\037com.google.cloud.datacatalog.v" - + "1P\001ZFgoogle.golang.org/genproto/googleap" - + "is/cloud/datacatalog/v1;datacatalog\370\001\001\252\002" - + "\033Google.Cloud.DataCatalog.V1\312\002\033Google\\Cl" - + "oud\\DataCatalog\\V1\352\002\036Google::Cloud::Data" - + "Catalog::V1\352A\300\001\n4datacatalog.googleapis." - + "com/TagTemplateFieldEnumValue\022\207\001projects" - + "/{project}/locations/{location}/tagTempl" - + "ates/{tag_template}/fields/{tag_template" - + "_field_id}/enumValues/{enum_value_displa" - + "y_name}b\006proto3" + "tformB\212\003\n\037com.google.cloud.datacatalog.v" + + "1P\001ZAcloud.google.com/go/datacatalog/api" + + "v1/datacatalogpb;datacatalogpb\370\001\001\252\002\033Goog" + + "le.Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\D" + + "ataCatalog\\V1\352\002\036Google::Cloud::DataCatal" + + "og::V1\352A\300\001\n4datacatalog.googleapis.com/T" + + "agTemplateFieldEnumValue\022\207\001projects/{pro" + + "ject}/locations/{location}/tagTemplates/" + + "{tag_template}/fields/{tag_template_fiel" + + "d_id}/enumValues/{enum_value_display_nam" + + "e}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java index 10dace37d1e3..b7a18ff4c4f8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/DataplexSpecProto.java @@ -71,13 +71,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle.cloud.datacatalog.v1.IntegratedSyst" + "em\022\034\n\024fully_qualified_name\030\034 \001(\t\022\035\n\025goog" + "le_cloud_resource\030\003 \001(\t\022\032\n\022data_catalog_" - + "entry\030\004 \001(\tB\336\001\n\037com.google.cloud.datacat" - + "alog.v1B\021DataplexSpecProtoP\001ZFgoogle.gol" - + "ang.org/genproto/googleapis/cloud/dataca" - + "talog/v1;datacatalog\370\001\001\252\002\033Google.Cloud.D" - + "ataCatalog.V1\312\002\033Google\\Cloud\\DataCatalog" - + "\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006pr" - + "oto3" + + "entry\030\004 \001(\tB\331\001\n\037com.google.cloud.datacat" + + "alog.v1B\021DataplexSpecProtoP\001ZAcloud.goog" + + "le.com/go/datacatalog/apiv1/datacatalogp" + + "b;datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCa" + + "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" + + "\036Google::Cloud::DataCatalog::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java index 99ce1952482f..0a1363bb8a4a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/GcsFilesetSpecOuterClass.java @@ -54,12 +54,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\003\340A\003\"\212\001\n\013GcsFileSpec\022\026\n\tfile_path\030\001 \001(\tB" + "\003\340A\002\022J\n\016gcs_timestamps\030\002 \001(\0132-.google.cl" + "oud.datacatalog.v1.SystemTimestampsB\003\340A\003" - + "\022\027\n\nsize_bytes\030\004 \001(\003B\003\340A\003B\313\001\n\037com.google" - + ".cloud.datacatalog.v1P\001ZFgoogle.golang.o" - + "rg/genproto/googleapis/cloud/datacatalog" - + "/v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataCa" - + "talog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002" - + "\036Google::Cloud::DataCatalog::V1b\006proto3" + + "\022\027\n\nsize_bytes\030\004 \001(\003B\003\340A\003B\306\001\n\037com.google" + + ".cloud.datacatalog.v1P\001ZAcloud.google.co" + + "m/go/datacatalog/apiv1/datacatalogpb;dat" + + "acatalogpb\370\001\001\252\002\033Google.Cloud.DataCatalog" + + ".V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Goog" + + "le::Cloud::DataCatalog::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java index bf32d6b59f3c..6678b0988d00 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PhysicalSchemaProto.java @@ -81,13 +81,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014\n\004text\030\001 \001(\t\032\034\n\014ThriftSchema\022\014\n\004text\030\001 " + "\001(\t\032\036\n\016ProtobufSchema\022\014\n\004text\030\001 \001(\t\032\017\n\rP" + "arquetSchema\032\013\n\tOrcSchema\032\013\n\tCsvSchemaB\010" - + "\n\006schemaB\340\001\n\037com.google.cloud.datacatalo" - + "g.v1B\023PhysicalSchemaProtoP\001ZFgoogle.gola" - + "ng.org/genproto/googleapis/cloud/datacat" - + "alog/v1;datacatalog\370\001\001\252\002\033Google.Cloud.Da" - + "taCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\" - + "V1\352\002\036Google::Cloud::DataCatalog::V1b\006pro" - + "to3" + + "\n\006schemaB\333\001\n\037com.google.cloud.datacatalo" + + "g.v1B\023PhysicalSchemaProtoP\001ZAcloud.googl" + + "e.com/go/datacatalog/apiv1/datacatalogpb" + + ";datacatalogpb\370\001\001\252\002\033Google.Cloud.DataCat" + + "alog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036" + + "Google::Cloud::DataCatalog::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java index f298b647b8c7..e3c603292e8d 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerProto.java @@ -222,13 +222,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ocations/*/taxonomies/*/policyTags/*}:te" + "stIamPermissions:\001*\032N\312A\032datacatalog.goog" + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\342\001\n\037com.google.cloud" + + "auth/cloud-platformB\335\001\n\037com.google.cloud" + ".datacatalog.v1B\025PolicyTagManagerProtoP\001" - + "ZFgoogle.golang.org/genproto/googleapis/" - + "cloud/datacatalog/v1;datacatalog\370\001\001\252\002\033Go" - + "ogle.Cloud.DataCatalog.V1\312\002\033Google\\Cloud" - + "\\DataCatalog\\V1\352\002\036Google::Cloud::DataCat" - + "alog::V1b\006proto3" + + "ZAcloud.google.com/go/datacatalog/apiv1/" + + "datacatalogpb;datacatalogpb\370\001\001\252\002\033Google." + + "Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Data" + + "Catalog\\V1\352\002\036Google::Cloud::DataCatalog:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java index 3fef2ee93a9d..caaf9c0161b4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/PolicyTagManagerSerializationProto.java @@ -129,14 +129,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nomiesResponse\"=\202\323\344\223\0027\0225/v1/{parent=proj" + "ects/*/locations/*}/taxonomies:export\032N\312" + "A\032datacatalog.googleapis.com\322A.https://w" - + "ww.googleapis.com/auth/cloud-platformB\357\001" + + "ww.googleapis.com/auth/cloud-platformB\352\001" + "\n\037com.google.cloud.datacatalog.v1B\"Polic" - + "yTagManagerSerializationProtoP\001ZFgoogle." - + "golang.org/genproto/googleapis/cloud/dat" - + "acatalog/v1;datacatalog\370\001\001\252\002\033Google.Clou" - + "d.DataCatalog.V1\312\002\033Google\\Cloud\\DataCata" - + "log\\V1\352\002\036Google::Cloud::DataCatalog::V1b" - + "\006proto3" + + "yTagManagerSerializationProtoP\001ZAcloud.g" + + "oogle.com/go/datacatalog/apiv1/datacatal" + + "ogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Dat" + + "aCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V" + + "1\352\002\036Google::Cloud::DataCatalog::V1b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java index 6866bdfd724b..525c8cd9df0f 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/SchemaOuterClass.java @@ -52,12 +52,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "n\030\006 \001(\tB\003\340A\002\022\021\n\004type\030\001 \001(\tB\003\340A\002\022\030\n\013descr" + "iption\030\002 \001(\tB\003\340A\001\022\021\n\004mode\030\003 \001(\tB\003\340A\001\022B\n\n" + "subcolumns\030\007 \003(\0132).google.cloud.datacata" - + "log.v1.ColumnSchemaB\003\340A\001B\313\001\n\037com.google." - + "cloud.datacatalog.v1P\001ZFgoogle.golang.or" - + "g/genproto/googleapis/cloud/datacatalog/" - + "v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataCat" - + "alog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036" - + "Google::Cloud::DataCatalog::V1b\006proto3" + + "log.v1.ColumnSchemaB\003\340A\001B\306\001\n\037com.google." + + "cloud.datacatalog.v1P\001ZAcloud.google.com" + + "/go/datacatalog/apiv1/datacatalogpb;data" + + "catalogpb\370\001\001\252\002\033Google.Cloud.DataCatalog." + + "V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Googl" + + "e::Cloud::DataCatalog::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java index 968a281a304e..c16d95268afc 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Search.java @@ -57,13 +57,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\024\n\014display_name\030\014 \001(\t\022\023\n\013description\030\r \001" + "(\tB\010\n\006system*d\n\020SearchResultType\022\"\n\036SEAR" + "CH_RESULT_TYPE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001\022" - + "\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\313\001\n\037c" - + "om.google.cloud.datacatalog.v1P\001ZFgoogle" - + ".golang.org/genproto/googleapis/cloud/da" - + "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" - + "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" - + "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" - + "b\006proto3" + + "\020\n\014TAG_TEMPLATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\306\001\n\037c" + + "om.google.cloud.datacatalog.v1P\001ZAcloud." + + "google.com/go/datacatalog/apiv1/datacata" + + "logpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Da" + + "taCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\" + + "V1\352\002\036Google::Cloud::DataCatalog::V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java index bd0ca5b35c80..0b534a7dfd14 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/TableSpecOuterClass.java @@ -71,12 +71,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "d_resource\030\004 \001(\tB\003\340A\003*{\n\017TableSourceType" + "\022!\n\035TABLE_SOURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rB" + "IGQUERY_VIEW\020\002\022\022\n\016BIGQUERY_TABLE\020\005\022\036\n\032BI" - + "GQUERY_MATERIALIZED_VIEW\020\007B\313\001\n\037com.googl" - + "e.cloud.datacatalog.v1P\001ZFgoogle.golang." - + "org/genproto/googleapis/cloud/datacatalo" - + "g/v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataC" - + "atalog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352" - + "\002\036Google::Cloud::DataCatalog::V1b\006proto3" + + "GQUERY_MATERIALIZED_VIEW\020\007B\306\001\n\037com.googl" + + "e.cloud.datacatalog.v1P\001ZAcloud.google.c" + + "om/go/datacatalog/apiv1/datacatalogpb;da" + + "tacatalogpb\370\001\001\252\002\033Google.Cloud.DataCatalo" + + "g.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Goo" + + "gle::Cloud::DataCatalog::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java index 5280bedfb95a..73b83785c1c1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Tags.java @@ -125,12 +125,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "lay_name\030\001 \001(\tB\003\340A\002\"n\n\rPrimitiveType\022\036\n\032" + "PRIMITIVE_TYPE_UNSPECIFIED\020\000\022\n\n\006DOUBLE\020\001" + "\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003\022\r\n\tTIMESTAMP\020\004\022\014\n" - + "\010RICHTEXT\020\005B\013\n\ttype_declB\313\001\n\037com.google." - + "cloud.datacatalog.v1P\001ZFgoogle.golang.or" - + "g/genproto/googleapis/cloud/datacatalog/" - + "v1;datacatalog\370\001\001\252\002\033Google.Cloud.DataCat" - + "alog.V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036" - + "Google::Cloud::DataCatalog::V1b\006proto3" + + "\010RICHTEXT\020\005B\013\n\ttype_declB\306\001\n\037com.google." + + "cloud.datacatalog.v1P\001ZAcloud.google.com" + + "/go/datacatalog/apiv1/datacatalogpb;data" + + "catalogpb\370\001\001\252\002\033Google.Cloud.DataCatalog." + + "V1\312\002\033Google\\Cloud\\DataCatalog\\V1\352\002\036Googl" + + "e::Cloud::DataCatalog::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java index a553fbe3dee8..32a55134ea73 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Timestamps.java @@ -47,13 +47,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ps\022/\n\013create_time\030\001 \001(\0132\032.google.protobu" + "f.Timestamp\022/\n\013update_time\030\002 \001(\0132\032.googl" + "e.protobuf.Timestamp\0224\n\013expire_time\030\003 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003B\313\001\n\037c" - + "om.google.cloud.datacatalog.v1P\001ZFgoogle" - + ".golang.org/genproto/googleapis/cloud/da" - + "tacatalog/v1;datacatalog\370\001\001\252\002\033Google.Clo" - + "ud.DataCatalog.V1\312\002\033Google\\Cloud\\DataCat" - + "alog\\V1\352\002\036Google::Cloud::DataCatalog::V1" - + "b\006proto3" + + "\0132\032.google.protobuf.TimestampB\003\340A\003B\306\001\n\037c" + + "om.google.cloud.datacatalog.v1P\001ZAcloud." + + "google.com/go/datacatalog/apiv1/datacata" + + "logpb;datacatalogpb\370\001\001\252\002\033Google.Cloud.Da" + + "taCatalog.V1\312\002\033Google\\Cloud\\DataCatalog\\" + + "V1\352\002\036Google::Cloud::DataCatalog::V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java index 518d8a3bb04d..9c704f2c01e2 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/Usage.java @@ -61,13 +61,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tacatalog.v1.UsageSignal.UsageWithinTime" + "RangeEntryB\003\340A\003\032d\n\031UsageWithinTimeRangeE" + "ntry\022\013\n\003key\030\001 \001(\t\0226\n\005value\030\002 \001(\0132\'.googl" - + "e.cloud.datacatalog.v1.UsageStats:\0028\001B\313\001" - + "\n\037com.google.cloud.datacatalog.v1P\001ZFgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/datacatalog/v1;datacatalog\370\001\001\252\002\033Google." - + "Cloud.DataCatalog.V1\312\002\033Google\\Cloud\\Data" - + "Catalog\\V1\352\002\036Google::Cloud::DataCatalog:" - + ":V1b\006proto3" + + "e.cloud.datacatalog.v1.UsageStats:\0028\001B\306\001" + + "\n\037com.google.cloud.datacatalog.v1P\001ZAclo" + + "ud.google.com/go/datacatalog/apiv1/datac" + + "atalogpb;datacatalogpb\370\001\001\252\002\033Google.Cloud" + + ".DataCatalog.V1\312\002\033Google\\Cloud\\DataCatal" + + "og\\V1\352\002\036Google::Cloud::DataCatalog::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto index 4be42ebba3d3..33994ac3fae1 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/bigquery.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_outer_classname = "BigQueryProto"; option java_package = "com.google.cloud.datacatalog.v1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto index 7a6bef5f2223..11483e32f3d3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/common.proto @@ -20,7 +20,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto index a73ff09c7567..faf2666625eb 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/data_source.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_outer_classname = "DataSourceProto"; option java_package = "com.google.cloud.datacatalog.v1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto index 4508e076634e..7c03a04d81c0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/datacatalog.proto @@ -38,7 +38,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto index 0cdba3e1f8c6..bf47a373bb09 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/dataplex_spec.proto @@ -21,7 +21,7 @@ import "google/cloud/datacatalog/v1/physical_schema.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_outer_classname = "DataplexSpecProto"; option java_package = "com.google.cloud.datacatalog.v1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto index 82a165309f19..56d9f4d6ed00 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/gcs_fileset_spec.proto @@ -21,7 +21,7 @@ import "google/cloud/datacatalog/v1/timestamps.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto index 414e95ca7f27..693cd60711f0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/physical_schema.proto @@ -18,7 +18,7 @@ package google.cloud.datacatalog.v1; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_outer_classname = "PhysicalSchemaProto"; option java_package = "com.google.cloud.datacatalog.v1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto index be415988404b..45a8489e5f31 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanager.proto @@ -28,7 +28,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_outer_classname = "PolicyTagManagerProto"; option java_package = "com.google.cloud.datacatalog.v1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto index a4fe4d8b9c9c..9d320b21f031 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/policytagmanagerserialization.proto @@ -24,7 +24,7 @@ import "google/cloud/datacatalog/v1/policytagmanager.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_outer_classname = "PolicyTagManagerSerializationProto"; option java_package = "com.google.cloud.datacatalog.v1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto index b33caac484f4..f5a1f81eb433 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/schema.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto index 88c06a46cc19..72dbe9f3fcd5 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/search.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto index cbf7ad3e970b..a92e5990efd8 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/table_spec.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto index dedfd2f61f10..c5835af12116 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/tags.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto index fe96d7d3fb6b..cab8776cc607 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/timestamps.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto index d778e5121450..07c3b140daca 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/proto/google/cloud/datacatalog/v1/usage.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/pom.xml b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/pom.xml index c333ba6482ff..c643d68aaca0 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/pom.xml +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-datacatalog-v1beta1 - 0.52.0 + 0.53.0 proto-google-cloud-datacatalog-v1beta1 PROTO library for proto-google-cloud-datacatalog-v1beta1 com.google.cloud google-cloud-datacatalog-parent - 1.15.0 + 1.16.0 diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java index a13b18e78ef4..44cf294d5d35 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Common.java @@ -39,13 +39,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "n.proto\022 google.cloud.datacatalog.v1beta" + "1*U\n\020IntegratedSystem\022!\n\035INTEGRATED_SYST" + "EM_UNSPECIFIED\020\000\022\014\n\010BIGQUERY\020\001\022\020\n\014CLOUD_" - + "PUBSUB\020\002B\344\001\n$com.google.cloud.datacatalo" - + "g.v1beta1P\001ZKgoogle.golang.org/genproto/" - + "googleapis/cloud/datacatalog/v1beta1;dat" - + "acatalog\370\001\001\252\002 Google.Cloud.DataCatalog.V" - + "1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1beta" - + "1\352\002#Google::Cloud::DataCatalog::V1beta1b" - + "\006proto3" + + "PUBSUB\020\002B\337\001\n$com.google.cloud.datacatalo" + + "g.v1beta1P\001ZFcloud.google.com/go/datacat" + + "alog/apiv1beta1/datacatalogpb;datacatalo" + + "gpb\370\001\001\252\002 Google.Cloud.DataCatalog.V1Beta" + + "1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002#G" + + "oogle::Cloud::DataCatalog::V1beta1b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java index 28ce2d4486d5..929869305c7b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Datacatalog.java @@ -467,13 +467,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ions/*/entryGroups/*/entries/*}:testIamP" + "ermissions:\001*\032N\312A\032datacatalog.googleapis" + ".com\322A.https://www.googleapis.com/auth/c" - + "loud-platformB\344\001\n$com.google.cloud.datac" - + "atalog.v1beta1P\001ZKgoogle.golang.org/genp" - + "roto/googleapis/cloud/datacatalog/v1beta" - + "1;datacatalog\370\001\001\252\002 Google.Cloud.DataCata" - + "log.V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V" - + "1beta1\352\002#Google::Cloud::DataCatalog::V1b" - + "eta1b\006proto3" + + "loud-platformB\337\001\n$com.google.cloud.datac" + + "atalog.v1beta1P\001ZFcloud.google.com/go/da" + + "tacatalog/apiv1beta1/datacatalogpb;datac" + + "atalogpb\370\001\001\252\002 Google.Cloud.DataCatalog.V" + + "1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1beta" + + "1\352\002#Google::Cloud::DataCatalog::V1beta1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java index 064dcb180e9b..adb4d274d2ea 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/GcsFilesetSpecOuterClass.java @@ -55,13 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\026\n\tfile_path\030\001 \001(\tB\003\340A\002\022O\n\016gcs_timestam" + "ps\030\002 \001(\01322.google.cloud.datacatalog.v1be" + "ta1.SystemTimestampsB\003\340A\003\022\027\n\nsize_bytes\030" - + "\004 \001(\003B\003\340A\003B\344\001\n$com.google.cloud.datacata" - + "log.v1beta1P\001ZKgoogle.golang.org/genprot" - + "o/googleapis/cloud/datacatalog/v1beta1;d" - + "atacatalog\370\001\001\252\002 Google.Cloud.DataCatalog" - + ".V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1be" - + "ta1\352\002#Google::Cloud::DataCatalog::V1beta" - + "1b\006proto3" + + "\004 \001(\003B\003\340A\003B\337\001\n$com.google.cloud.datacata" + + "log.v1beta1P\001ZFcloud.google.com/go/datac" + + "atalog/apiv1beta1/datacatalogpb;datacata" + + "logpb\370\001\001\252\002 Google.Cloud.DataCatalog.V1Be" + + "ta1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002" + + "#Google::Cloud::DataCatalog::V1beta1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java index c683c8f71f71..8e3842459c15 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerProto.java @@ -225,13 +225,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "axonomies/*/policyTags/*}:testIamPermiss" + "ions:\001*\032N\312A\032datacatalog.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\373\001\n$com.google.cloud.datacatalog" - + ".v1beta1B\025PolicyTagManagerProtoP\001ZKgoogl" - + "e.golang.org/genproto/googleapis/cloud/d" - + "atacatalog/v1beta1;datacatalog\370\001\001\252\002 Goog" - + "le.Cloud.DataCatalog.V1Beta1\312\002 Google\\Cl" - + "oud\\DataCatalog\\V1beta1\352\002#Google::Cloud:" - + ":DataCatalog::V1beta1b\006proto3" + + "latformB\366\001\n$com.google.cloud.datacatalog" + + ".v1beta1B\025PolicyTagManagerProtoP\001ZFcloud" + + ".google.com/go/datacatalog/apiv1beta1/da" + + "tacatalogpb;datacatalogpb\370\001\001\252\002 Google.Cl" + + "oud.DataCatalog.V1Beta1\312\002 Google\\Cloud\\D" + + "ataCatalog\\V1beta1\352\002#Google::Cloud::Data" + + "Catalog::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationProto.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationProto.java index e94d44408592..c670e20ee871 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationProto.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/PolicyTagManagerSerializationProto.java @@ -109,13 +109,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "projects/*/locations/*}/taxonomies:expor" + "t\032N\312A\032datacatalog.googleapis.com\322A.https" + "://www.googleapis.com/auth/cloud-platfor" - + "mB\210\002\n$com.google.cloud.datacatalog.v1bet" + + "mB\203\002\n$com.google.cloud.datacatalog.v1bet" + "a1B\"PolicyTagManagerSerializationProtoP\001" - + "ZKgoogle.golang.org/genproto/googleapis/" - + "cloud/datacatalog/v1beta1;datacatalog\370\001\001" - + "\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002 Go" - + "ogle\\Cloud\\DataCatalog\\V1beta1\352\002#Google:" - + ":Cloud::DataCatalog::V1beta1b\006proto3" + + "ZFcloud.google.com/go/datacatalog/apiv1b" + + "eta1/datacatalogpb;datacatalogpb\370\001\001\252\002 Go" + + "ogle.Cloud.DataCatalog.V1Beta1\312\002 Google\\" + + "Cloud\\DataCatalog\\V1beta1\352\002#Google::Clou" + + "d::DataCatalog::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java index 7833218bab6d..d7fbaa562671 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/SchemaOuterClass.java @@ -53,13 +53,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\001 \001(\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\001\022\021\n" + "\004mode\030\003 \001(\tB\003\340A\001\022G\n\nsubcolumns\030\007 \003(\0132..g" + "oogle.cloud.datacatalog.v1beta1.ColumnSc" - + "hemaB\003\340A\001B\344\001\n$com.google.cloud.datacatal" - + "og.v1beta1P\001ZKgoogle.golang.org/genproto" - + "/googleapis/cloud/datacatalog/v1beta1;da" - + "tacatalog\370\001\001\252\002 Google.Cloud.DataCatalog." - + "V1Beta1\312\002 Google\\Cloud\\DataCatalog\\V1bet" - + "a1\352\002#Google::Cloud::DataCatalog::V1beta1" - + "b\006proto3" + + "hemaB\003\340A\001B\337\001\n$com.google.cloud.datacatal" + + "og.v1beta1P\001ZFcloud.google.com/go/dataca" + + "talog/apiv1beta1/datacatalogpb;datacatal" + + "ogpb\370\001\001\252\002 Google.Cloud.DataCatalog.V1Bet" + + "a1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002#" + + "Google::Cloud::DataCatalog::V1beta1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java index 34eb700cf8ef..c1e8f2bfc640 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Search.java @@ -50,13 +50,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "urce_name\030\003 \001(\t\022\027\n\017linked_resource\030\004 \001(\t" + "*d\n\020SearchResultType\022\"\n\036SEARCH_RESULT_TY" + "PE_UNSPECIFIED\020\000\022\t\n\005ENTRY\020\001\022\020\n\014TAG_TEMPL" - + "ATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\344\001\n$com.google.cl" - + "oud.datacatalog.v1beta1P\001ZKgoogle.golang" - + ".org/genproto/googleapis/cloud/datacatal" - + "og/v1beta1;datacatalog\370\001\001\252\002 Google.Cloud" - + ".DataCatalog.V1Beta1\312\002 Google\\Cloud\\Data" - + "Catalog\\V1beta1\352\002#Google::Cloud::DataCat" - + "alog::V1beta1b\006proto3" + + "ATE\020\002\022\017\n\013ENTRY_GROUP\020\003B\337\001\n$com.google.cl" + + "oud.datacatalog.v1beta1P\001ZFcloud.google." + + "com/go/datacatalog/apiv1beta1/datacatalo" + + "gpb;datacatalogpb\370\001\001\252\002 Google.Cloud.Data" + + "Catalog.V1Beta1\312\002 Google\\Cloud\\DataCatal" + + "og\\V1beta1\352\002#Google::Cloud::DataCatalog:" + + ":V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java index 9c19d452ad9b..62d4468c0f23 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/TableSpecOuterClass.java @@ -70,13 +70,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014table_prefix\030\002 \001(\tB\003\340A\003\022\030\n\013shard_count\030" + "\003 \001(\003B\003\340A\003*[\n\017TableSourceType\022!\n\035TABLE_S" + "OURCE_TYPE_UNSPECIFIED\020\000\022\021\n\rBIGQUERY_VIE" - + "W\020\002\022\022\n\016BIGQUERY_TABLE\020\005B\344\001\n$com.google.c" - + "loud.datacatalog.v1beta1P\001ZKgoogle.golan" - + "g.org/genproto/googleapis/cloud/datacata" - + "log/v1beta1;datacatalog\370\001\001\252\002 Google.Clou" - + "d.DataCatalog.V1Beta1\312\002 Google\\Cloud\\Dat" - + "aCatalog\\V1beta1\352\002#Google::Cloud::DataCa" - + "talog::V1beta1b\006proto3" + + "W\020\002\022\022\n\016BIGQUERY_TABLE\020\005B\337\001\n$com.google.c" + + "loud.datacatalog.v1beta1P\001ZFcloud.google" + + ".com/go/datacatalog/apiv1beta1/datacatal" + + "ogpb;datacatalogpb\370\001\001\252\002 Google.Cloud.Dat" + + "aCatalog.V1Beta1\312\002 Google\\Cloud\\DataCata" + + "log\\V1beta1\352\002#Google::Cloud::DataCatalog" + + "::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java index b3309f942d0b..b563f1816b48 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Tags.java @@ -124,13 +124,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tEnumValue\022\031\n\014display_name\030\001 \001(\tB\003\340A\002\"`\n" + "\rPrimitiveType\022\036\n\032PRIMITIVE_TYPE_UNSPECI" + "FIED\020\000\022\n\n\006DOUBLE\020\001\022\n\n\006STRING\020\002\022\010\n\004BOOL\020\003" - + "\022\r\n\tTIMESTAMP\020\004B\013\n\ttype_declB\344\001\n$com.goo" - + "gle.cloud.datacatalog.v1beta1P\001ZKgoogle." - + "golang.org/genproto/googleapis/cloud/dat" - + "acatalog/v1beta1;datacatalog\370\001\001\252\002 Google" - + ".Cloud.DataCatalog.V1Beta1\312\002 Google\\Clou" - + "d\\DataCatalog\\V1beta1\352\002#Google::Cloud::D" - + "ataCatalog::V1beta1b\006proto3" + + "\022\r\n\tTIMESTAMP\020\004B\013\n\ttype_declB\337\001\n$com.goo" + + "gle.cloud.datacatalog.v1beta1P\001ZFcloud.g" + + "oogle.com/go/datacatalog/apiv1beta1/data" + + "catalogpb;datacatalogpb\370\001\001\252\002 Google.Clou" + + "d.DataCatalog.V1Beta1\312\002 Google\\Cloud\\Dat" + + "aCatalog\\V1beta1\352\002#Google::Cloud::DataCa" + + "talog::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java index ee6cd7fb57b4..199917e1605a 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/Timestamps.java @@ -48,13 +48,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.protobuf.Timestamp\022/\n\013update_time\030\002 \001" + "(\0132\032.google.protobuf.Timestamp\0224\n\013expire" + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003B\344\001\n$com.google.cloud.datacatalog.v1" - + "beta1P\001ZKgoogle.golang.org/genproto/goog" - + "leapis/cloud/datacatalog/v1beta1;datacat" - + "alog\370\001\001\252\002 Google.Cloud.DataCatalog.V1Bet" - + "a1\312\002 Google\\Cloud\\DataCatalog\\V1beta1\352\002#" - + "Google::Cloud::DataCatalog::V1beta1b\006pro" - + "to3" + + "\003\340A\003B\337\001\n$com.google.cloud.datacatalog.v1" + + "beta1P\001ZFcloud.google.com/go/datacatalog" + + "/apiv1beta1/datacatalogpb;datacatalogpb\370" + + "\001\001\252\002 Google.Cloud.DataCatalog.V1Beta1\312\002 " + + "Google\\Cloud\\DataCatalog\\V1beta1\352\002#Googl" + + "e::Cloud::DataCatalog::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto index a759b371ef5f..f61608a66554 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/common.proto @@ -18,7 +18,7 @@ package google.cloud.datacatalog.v1beta1; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto index 5f265d5bfca8..0c6c0809b6f7 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/datacatalog.proto @@ -34,7 +34,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto index c8ca9779fc25..b7c6bcafab90 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto @@ -21,7 +21,7 @@ import "google/cloud/datacatalog/v1beta1/timestamps.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto index 5602bcf16807..7cc2090557d3 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanager.proto @@ -28,7 +28,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_outer_classname = "PolicyTagManagerProto"; option java_package = "com.google.cloud.datacatalog.v1beta1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto index b6e4fb3201ab..a1b2314d39d4 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto @@ -25,7 +25,7 @@ import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_outer_classname = "PolicyTagManagerSerializationProto"; option java_package = "com.google.cloud.datacatalog.v1beta1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto index d8e69fd46056..c51234aa494b 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/schema.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto index afaa643d758f..0455662cb866 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/search.proto @@ -20,7 +20,7 @@ import "google/cloud/datacatalog/v1beta1/common.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto index c08f43efdfd0..abfc3fe46b17 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/table_spec.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto index c15fb218abf2..57a683bbe061 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/tags.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; diff --git a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto index dc49c75cb537..e524d671c99c 100644 --- a/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto +++ b/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/proto/google/cloud/datacatalog/v1beta1/timestamps.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1;datacatalog"; +option go_package = "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; diff --git a/java-dataflow/google-cloud-dataflow-bom/pom.xml b/java-dataflow/google-cloud-dataflow-bom/pom.xml index 5d25bb5ab0e9..fe3c770e81cd 100644 --- a/java-dataflow/google-cloud-dataflow-bom/pom.xml +++ b/java-dataflow/google-cloud-dataflow-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-dataflow-bom - 0.13.0 + 0.14.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-dataflow - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-dataflow-v1beta3 - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-cloud-dataflow-v1beta3 - 0.13.0 + 0.14.0 diff --git a/java-dataflow/google-cloud-dataflow/pom.xml b/java-dataflow/google-cloud-dataflow/pom.xml index 461752ed932b..3c0545d7e48f 100644 --- a/java-dataflow/google-cloud-dataflow/pom.xml +++ b/java-dataflow/google-cloud-dataflow/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-dataflow - 0.13.0 + 0.14.0 jar Google Dataflow Dataflow is a managed service for executing a wide variety of data processing patterns. com.google.cloud google-cloud-dataflow-parent - 0.13.0 + 0.14.0 google-cloud-dataflow diff --git a/java-dataflow/grpc-google-cloud-dataflow-v1beta3/pom.xml b/java-dataflow/grpc-google-cloud-dataflow-v1beta3/pom.xml index 4e42a82db063..24629b42d6cf 100644 --- a/java-dataflow/grpc-google-cloud-dataflow-v1beta3/pom.xml +++ b/java-dataflow/grpc-google-cloud-dataflow-v1beta3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dataflow-v1beta3 - 0.13.0 + 0.14.0 grpc-google-cloud-dataflow-v1beta3 GRPC library for google-cloud-dataflow com.google.cloud google-cloud-dataflow-parent - 0.13.0 + 0.14.0 diff --git a/java-dataflow/pom.xml b/java-dataflow/pom.xml index 46bf1395f1d0..ee70f614b28d 100644 --- a/java-dataflow/pom.xml +++ b/java-dataflow/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dataflow-parent pom - 0.13.0 + 0.14.0 Google Dataflow Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-dataflow - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-dataflow-v1beta3 - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-cloud-dataflow-v1beta3 - 0.13.0 + 0.14.0 diff --git a/java-dataflow/proto-google-cloud-dataflow-v1beta3/pom.xml b/java-dataflow/proto-google-cloud-dataflow-v1beta3/pom.xml index b8c22c3c74aa..5d59e3dc8607 100644 --- a/java-dataflow/proto-google-cloud-dataflow-v1beta3/pom.xml +++ b/java-dataflow/proto-google-cloud-dataflow-v1beta3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dataflow-v1beta3 - 0.13.0 + 0.14.0 proto-google-cloud-dataflow-v1beta3 Proto library for google-cloud-dataflow com.google.cloud google-cloud-dataflow-parent - 0.13.0 + 0.14.0 diff --git a/java-dataform/README.md b/java-dataform/README.md index 88374b93ccd1..373cb1a83311 100644 --- a/java-dataform/README.md +++ b/java-dataform/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-dataform - 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-dataform:0.7.0' +implementation 'com.google.cloud:google-cloud-dataform:0.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.8.0" ``` ## Authentication diff --git a/java-dataform/google-cloud-dataform-bom/pom.xml b/java-dataform/google-cloud-dataform-bom/pom.xml index ccb182ba0679..5a22f82c0507 100644 --- a/java-dataform/google-cloud-dataform-bom/pom.xml +++ b/java-dataform/google-cloud-dataform-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-dataform-bom - 0.8.0 + 0.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-dataform - 0.8.0 + 0.9.0 com.google.api.grpc grpc-google-cloud-dataform-v1alpha2 - 0.8.0 + 0.9.0 com.google.api.grpc grpc-google-cloud-dataform-v1beta1 - 0.8.0 + 0.9.0 com.google.api.grpc proto-google-cloud-dataform-v1alpha2 - 0.8.0 + 0.9.0 com.google.api.grpc proto-google-cloud-dataform-v1beta1 - 0.8.0 + 0.9.0 diff --git a/java-dataform/google-cloud-dataform/pom.xml b/java-dataform/google-cloud-dataform/pom.xml index 45a693d445fb..9bfb1f5a6a57 100644 --- a/java-dataform/google-cloud-dataform/pom.xml +++ b/java-dataform/google-cloud-dataform/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-dataform - 0.8.0 + 0.9.0 jar Google Cloud Dataform Cloud Dataform Help analytics teams manage data inside BigQuery using SQL. com.google.cloud google-cloud-dataform-parent - 0.8.0 + 0.9.0 google-cloud-dataform diff --git a/java-dataform/grpc-google-cloud-dataform-v1alpha2/pom.xml b/java-dataform/grpc-google-cloud-dataform-v1alpha2/pom.xml index 00b0f91d562a..c5b8e11d8a00 100644 --- a/java-dataform/grpc-google-cloud-dataform-v1alpha2/pom.xml +++ b/java-dataform/grpc-google-cloud-dataform-v1alpha2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dataform-v1alpha2 - 0.8.0 + 0.9.0 grpc-google-cloud-dataform-v1alpha2 GRPC library for google-cloud-dataform com.google.cloud google-cloud-dataform-parent - 0.8.0 + 0.9.0 diff --git a/java-dataform/grpc-google-cloud-dataform-v1beta1/pom.xml b/java-dataform/grpc-google-cloud-dataform-v1beta1/pom.xml index 9a65849fcb22..3e0f610ad904 100644 --- a/java-dataform/grpc-google-cloud-dataform-v1beta1/pom.xml +++ b/java-dataform/grpc-google-cloud-dataform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dataform-v1beta1 - 0.8.0 + 0.9.0 grpc-google-cloud-dataform-v1beta1 GRPC library for google-cloud-dataform com.google.cloud google-cloud-dataform-parent - 0.8.0 + 0.9.0 diff --git a/java-dataform/pom.xml b/java-dataform/pom.xml index 63e558c3b5aa..35e423b47f6c 100644 --- a/java-dataform/pom.xml +++ b/java-dataform/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dataform-parent pom - 0.8.0 + 0.9.0 Google Cloud Dataform Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-dataform - 0.8.0 + 0.9.0 com.google.api.grpc proto-google-cloud-dataform-v1beta1 - 0.8.0 + 0.9.0 com.google.api.grpc grpc-google-cloud-dataform-v1beta1 - 0.8.0 + 0.9.0 com.google.api.grpc grpc-google-cloud-dataform-v1alpha2 - 0.8.0 + 0.9.0 com.google.api.grpc proto-google-cloud-dataform-v1alpha2 - 0.8.0 + 0.9.0 diff --git a/java-dataform/proto-google-cloud-dataform-v1alpha2/pom.xml b/java-dataform/proto-google-cloud-dataform-v1alpha2/pom.xml index 11091e005cde..1903380f2f9e 100644 --- a/java-dataform/proto-google-cloud-dataform-v1alpha2/pom.xml +++ b/java-dataform/proto-google-cloud-dataform-v1alpha2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dataform-v1alpha2 - 0.8.0 + 0.9.0 proto-google-cloud-dataform-v1alpha2 Proto library for google-cloud-dataform com.google.cloud google-cloud-dataform-parent - 0.8.0 + 0.9.0 diff --git a/java-dataform/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java b/java-dataform/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java index 0a20fe42a098..2a7a62d4734b 100644 --- a/java-dataform/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java +++ b/java-dataform/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java @@ -873,15 +873,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/repositories/*/workflowInvocations/*}:q" + "uery\032K\312A\027dataform.googleapis.com\322A.https" + "://www.googleapis.com/auth/cloud-platfor" - + "mB\312\002\n\"com.google.cloud.dataform.v1alpha2" - + "B\rDataformProtoP\001ZFgoogle.golang.org/gen" - + "proto/googleapis/cloud/dataform/v1alpha2" - + ";dataform\252\002\036Google.Cloud.Dataform.V1Alph" - + "a2\312\002\036Google\\Cloud\\Dataform\\V1alpha2\352\002!Go" - + "ogle::Cloud::Dataform::V1alpha2\352Ad\n*secr" - + "etmanager.googleapis.com/SecretVersion\0226" - + "projects/{project}/secrets/{secret}/vers" - + "ions/{version}b\006proto3" + + "mB\302\002\n\"com.google.cloud.dataform.v1alpha2" + + "B\rDataformProtoP\001Z>cloud.google.com/go/d" + + "ataform/apiv1alpha2/dataformpb;dataformp" + + "b\252\002\036Google.Cloud.Dataform.V1Alpha2\312\002\036Goo" + + "gle\\Cloud\\Dataform\\V1alpha2\352\002!Google::Cl" + + "oud::Dataform::V1alpha2\352Ad\n*secretmanage" + + "r.googleapis.com/SecretVersion\0226projects" + + "/{project}/secrets/{secret}/versions/{ve" + + "rsion}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataform/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto b/java-dataform/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto index 771acdb48ea5..6547cba48b38 100644 --- a/java-dataform/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto +++ b/java-dataform/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/type/interval.proto"; option csharp_namespace = "Google.Cloud.Dataform.V1Alpha2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataform/v1alpha2;dataform"; +option go_package = "cloud.google.com/go/dataform/apiv1alpha2/dataformpb;dataformpb"; option java_multiple_files = true; option java_outer_classname = "DataformProto"; option java_package = "com.google.cloud.dataform.v1alpha2"; diff --git a/java-dataform/proto-google-cloud-dataform-v1beta1/pom.xml b/java-dataform/proto-google-cloud-dataform-v1beta1/pom.xml index fc3ce8637d6c..64d3d169c079 100644 --- a/java-dataform/proto-google-cloud-dataform-v1beta1/pom.xml +++ b/java-dataform/proto-google-cloud-dataform-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dataform-v1beta1 - 0.8.0 + 0.9.0 proto-google-cloud-dataform-v1beta1 Proto library for google-cloud-dataform com.google.cloud google-cloud-dataform-parent - 0.8.0 + 0.9.0 diff --git a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java index 7e277dd7e88f..029a6e2b0e1c 100644 --- a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java +++ b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java @@ -869,15 +869,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/locations/*/repositories/*/workflowInvo" + "cations/*}:query\032K\312A\027dataform.googleapis" + ".com\322A.https://www.googleapis.com/auth/c" - + "loud-platformB\305\002\n!com.google.cloud.dataf" - + "orm.v1beta1B\rDataformProtoP\001ZEgoogle.gol" - + "ang.org/genproto/googleapis/cloud/datafo" - + "rm/v1beta1;dataform\252\002\035Google.Cloud.Dataf" - + "orm.V1Beta1\312\002\035Google\\Cloud\\Dataform\\V1be" - + "ta1\352\002 Google::Cloud::Dataform::V1beta1\352A" - + "d\n*secretmanager.googleapis.com/SecretVe" - + "rsion\0226projects/{project}/secrets/{secre" - + "t}/versions/{version}b\006proto3" + + "loud-platformB\275\002\n!com.google.cloud.dataf" + + "orm.v1beta1B\rDataformProtoP\001Z=cloud.goog" + + "le.com/go/dataform/apiv1beta1/dataformpb" + + ";dataformpb\252\002\035Google.Cloud.Dataform.V1Be" + + "ta1\312\002\035Google\\Cloud\\Dataform\\V1beta1\352\002 Go" + + "ogle::Cloud::Dataform::V1beta1\352Ad\n*secre" + + "tmanager.googleapis.com/SecretVersion\0226p" + + "rojects/{project}/secrets/{secret}/versi" + + "ons/{version}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto index 57d43c3e0eb3..466459c30926 100644 --- a/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto +++ b/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/type/interval.proto"; option csharp_namespace = "Google.Cloud.Dataform.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataform/v1beta1;dataform"; +option go_package = "cloud.google.com/go/dataform/apiv1beta1/dataformpb;dataformpb"; option java_multiple_files = true; option java_outer_classname = "DataformProto"; option java_package = "com.google.cloud.dataform.v1beta1"; diff --git a/java-datalabeling/README.md b/java-datalabeling/README.md index d35873f4124c..205690260b80 100644 --- a/java-datalabeling/README.md +++ b/java-datalabeling/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-datalabeling - 0.128.0 + 0.129.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datalabeling:0.128.0' +implementation 'com.google.cloud:google-cloud-datalabeling:0.129.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.128.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.129.0" ``` ## Authentication diff --git a/java-datalabeling/google-cloud-datalabeling-bom/pom.xml b/java-datalabeling/google-cloud-datalabeling-bom/pom.xml index 98421cca5c2c..de5a82c5ab47 100644 --- a/java-datalabeling/google-cloud-datalabeling-bom/pom.xml +++ b/java-datalabeling/google-cloud-datalabeling-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-datalabeling-bom - 0.129.0 + 0.130.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-datalabeling - 0.129.0 + 0.130.0 com.google.api.grpc grpc-google-cloud-datalabeling-v1beta1 - 0.94.0 + 0.95.0 com.google.api.grpc proto-google-cloud-datalabeling-v1beta1 - 0.94.0 + 0.95.0 diff --git a/java-datalabeling/google-cloud-datalabeling/pom.xml b/java-datalabeling/google-cloud-datalabeling/pom.xml index 9cb87c417f7e..c9f2f7ea27f6 100644 --- a/java-datalabeling/google-cloud-datalabeling/pom.xml +++ b/java-datalabeling/google-cloud-datalabeling/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-datalabeling - 0.129.0 + 0.130.0 jar Google Cloud Data Labeling Java idiomatic client for Google Cloud Data Labeling com.google.cloud google-cloud-datalabeling-parent - 0.129.0 + 0.130.0 google-cloud-datalabeling diff --git a/java-datalabeling/grpc-google-cloud-datalabeling-v1beta1/pom.xml b/java-datalabeling/grpc-google-cloud-datalabeling-v1beta1/pom.xml index dac455fe6556..c83c935cee0c 100644 --- a/java-datalabeling/grpc-google-cloud-datalabeling-v1beta1/pom.xml +++ b/java-datalabeling/grpc-google-cloud-datalabeling-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-datalabeling-v1beta1 - 0.94.0 + 0.95.0 grpc-google-cloud-datalabeling-v1beta1 GRPC library for grpc-google-cloud-datalabeling-v1beta1 com.google.cloud google-cloud-datalabeling-parent - 0.129.0 + 0.130.0 diff --git a/java-datalabeling/pom.xml b/java-datalabeling/pom.xml index e4f9539d29f9..f05cc7847856 100644 --- a/java-datalabeling/pom.xml +++ b/java-datalabeling/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-datalabeling-parent pom - 0.129.0 + 0.130.0 Google Cloud Data Labeling Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-datalabeling-v1beta1 - 0.94.0 + 0.95.0 com.google.api.grpc grpc-google-cloud-datalabeling-v1beta1 - 0.94.0 + 0.95.0 com.google.cloud google-cloud-datalabeling - 0.129.0 + 0.130.0 diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/pom.xml b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/pom.xml index 7dbba7e6ab75..02192f9cfcfb 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/pom.xml +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-datalabeling-v1beta1 - 0.94.0 + 0.95.0 proto-google-cloud-datalabeling-v1beta1 PROTO library for proto-google-cloud-datalabeling-v1beta1 com.google.cloud google-cloud-datalabeling-parent - 0.129.0 + 0.130.0 diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/AnnotationOuterClass.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/AnnotationOuterClass.java index 869692298fd3..c4744345b9f1 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/AnnotationOuterClass.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/AnnotationOuterClass.java @@ -256,13 +256,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "N\020\005\022\032\n\026VIDEO_EVENT_ANNOTATION\020\006\022\"\n\036TEXT_" + "CLASSIFICATION_ANNOTATION\020\010\022%\n!TEXT_ENTI" + "TY_EXTRACTION_ANNOTATION\020\t\022%\n!GENERAL_CL" - + "ASSIFICATION_ANNOTATION\020\016B\347\001\n%com.google" - + ".cloud.datalabeling.v1beta1P\001ZMgoogle.go" - + "lang.org/genproto/googleapis/cloud/datal" - + "abeling/v1beta1;datalabeling\252\002!Google.Cl" - + "oud.DataLabeling.V1Beta1\312\002!Google\\Cloud\\" - + "DataLabeling\\V1beta1\352\002$Google::Cloud::Da" - + "taLabeling::V1beta1b\006proto3" + + "ASSIFICATION_ANNOTATION\020\016B\343\001\n%com.google" + + ".cloud.datalabeling.v1beta1P\001ZIcloud.goo" + + "gle.com/go/datalabeling/apiv1beta1/datal" + + "abelingpb;datalabelingpb\252\002!Google.Cloud." + + "DataLabeling.V1Beta1\312\002!Google\\Cloud\\Data" + + "Labeling\\V1beta1\352\002$Google::Cloud::DataLa" + + "beling::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/AnnotationSpecSetOuterClass.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/AnnotationSpecSetOuterClass.java index 480a532d94c9..2b5ef6d18bec 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/AnnotationSpecSetOuterClass.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/AnnotationSpecSetOuterClass.java @@ -56,13 +56,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ";projects/{project}/annotationSpecSets/{" + "annotation_spec_set}\";\n\016AnnotationSpec\022\024" + "\n\014display_name\030\001 \001(\t\022\023\n\013description\030\002 \001(" - + "\tB\347\001\n%com.google.cloud.datalabeling.v1be" - + "ta1P\001ZMgoogle.golang.org/genproto/google" - + "apis/cloud/datalabeling/v1beta1;datalabe" - + "ling\252\002!Google.Cloud.DataLabeling.V1Beta1" - + "\312\002!Google\\Cloud\\DataLabeling\\V1beta1\352\002$G" - + "oogle::Cloud::DataLabeling::V1beta1b\006pro" - + "to3" + + "\tB\343\001\n%com.google.cloud.datalabeling.v1be" + + "ta1P\001ZIcloud.google.com/go/datalabeling/" + + "apiv1beta1/datalabelingpb;datalabelingpb" + + "\252\002!Google.Cloud.DataLabeling.V1Beta1\312\002!G" + + "oogle\\Cloud\\DataLabeling\\V1beta1\352\002$Googl" + + "e::Cloud::DataLabeling::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceOuterClass.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceOuterClass.java index 81835a3674a4..9f0a9b7d2a57 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceOuterClass.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceOuterClass.java @@ -598,13 +598,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022+/v1beta1/{parent=projects/*}/evaluatio" + "nJobs\332A\rparent,filter\032O\312A\033datalabeling.g" + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformB\347\001\n%com.google.cl" - + "oud.datalabeling.v1beta1P\001ZMgoogle.golan" - + "g.org/genproto/googleapis/cloud/datalabe" - + "ling/v1beta1;datalabeling\252\002!Google.Cloud" - + ".DataLabeling.V1Beta1\312\002!Google\\Cloud\\Dat" - + "aLabeling\\V1beta1\352\002$Google::Cloud::DataL" - + "abeling::V1beta1b\006proto3" + + "om/auth/cloud-platformB\343\001\n%com.google.cl" + + "oud.datalabeling.v1beta1P\001ZIcloud.google" + + ".com/go/datalabeling/apiv1beta1/datalabe" + + "lingpb;datalabelingpb\252\002!Google.Cloud.Dat" + + "aLabeling.V1Beta1\312\002!Google\\Cloud\\DataLab" + + "eling\\V1beta1\352\002$Google::Cloud::DataLabel" + + "ing::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DataPayloads.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DataPayloads.java index c2dde5abbfbc..9c639877185d 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DataPayloads.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DataPayloads.java @@ -64,13 +64,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\021\n\tmime_type\030\001 \001(\t\022\021\n\tvideo_uri\030\002 \001(\t\022K" + "\n\020video_thumbnails\030\003 \003(\01321.google.cloud." + "datalabeling.v1beta1.VideoThumbnail\022\022\n\nf" - + "rame_rate\030\004 \001(\002\022\022\n\nsigned_uri\030\005 \001(\tB\347\001\n%" + + "rame_rate\030\004 \001(\002\022\022\n\nsigned_uri\030\005 \001(\tB\343\001\n%" + "com.google.cloud.datalabeling.v1beta1P\001Z" - + "Mgoogle.golang.org/genproto/googleapis/c" - + "loud/datalabeling/v1beta1;datalabeling\252\002" - + "!Google.Cloud.DataLabeling.V1Beta1\312\002!Goo" - + "gle\\Cloud\\DataLabeling\\V1beta1\352\002$Google:" - + ":Cloud::DataLabeling::V1beta1b\006proto3" + + "Icloud.google.com/go/datalabeling/apiv1b" + + "eta1/datalabelingpb;datalabelingpb\252\002!Goo" + + "gle.Cloud.DataLabeling.V1Beta1\312\002!Google\\" + + "Cloud\\DataLabeling\\V1beta1\352\002$Google::Clo" + + "ud::DataLabeling::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DatasetOuterClass.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DatasetOuterClass.java index 60ea2a59ad6e..703ee83d072f 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DatasetOuterClass.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/DatasetOuterClass.java @@ -207,13 +207,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ts/{annotated_dataset}/examples/{example" + "}B\t\n\007payload*W\n\010DataType\022\031\n\025DATA_TYPE_UN" + "SPECIFIED\020\000\022\t\n\005IMAGE\020\001\022\t\n\005VIDEO\020\002\022\010\n\004TEX" - + "T\020\004\022\020\n\014GENERAL_DATA\020\006B\347\001\n%com.google.clo" - + "ud.datalabeling.v1beta1P\001ZMgoogle.golang" - + ".org/genproto/googleapis/cloud/datalabel" - + "ing/v1beta1;datalabeling\252\002!Google.Cloud." - + "DataLabeling.V1Beta1\312\002!Google\\Cloud\\Data" - + "Labeling\\V1beta1\352\002$Google::Cloud::DataLa" - + "beling::V1beta1b\006proto3" + + "T\020\004\022\020\n\014GENERAL_DATA\020\006B\343\001\n%com.google.clo" + + "ud.datalabeling.v1beta1P\001ZIcloud.google." + + "com/go/datalabeling/apiv1beta1/datalabel" + + "ingpb;datalabelingpb\252\002!Google.Cloud.Data" + + "Labeling.V1Beta1\312\002!Google\\Cloud\\DataLabe" + + "ling\\V1beta1\352\002$Google::Cloud::DataLabeli" + + "ng::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/EvaluationJobOuterClass.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/EvaluationJobOuterClass.java index 509e3953513d..89cb3fc433c6 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/EvaluationJobOuterClass.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/EvaluationJobOuterClass.java @@ -107,13 +107,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ceptable_mean_average_precision\030\002 \001(\001\"i\n" + "\007Attempt\0220\n\014attempt_time\030\001 \001(\0132\032.google." + "protobuf.Timestamp\022,\n\020partial_failures\030\002" - + " \003(\0132\022.google.rpc.StatusB\347\001\n%com.google." - + "cloud.datalabeling.v1beta1P\001ZMgoogle.gol" - + "ang.org/genproto/googleapis/cloud/datala" - + "beling/v1beta1;datalabeling\252\002!Google.Clo" - + "ud.DataLabeling.V1Beta1\312\002!Google\\Cloud\\D" - + "ataLabeling\\V1beta1\352\002$Google::Cloud::Dat" - + "aLabeling::V1beta1b\006proto3" + + " \003(\0132\022.google.rpc.StatusB\343\001\n%com.google." + + "cloud.datalabeling.v1beta1P\001ZIcloud.goog" + + "le.com/go/datalabeling/apiv1beta1/datala" + + "belingpb;datalabelingpb\252\002!Google.Cloud.D" + + "ataLabeling.V1Beta1\312\002!Google\\Cloud\\DataL" + + "abeling\\V1beta1\352\002$Google::Cloud::DataLab" + + "eling::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/EvaluationOuterClass.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/EvaluationOuterClass.java index 2474c005d1e1..8d624cdbf227 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/EvaluationOuterClass.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/EvaluationOuterClass.java @@ -137,13 +137,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "on_spec\030\001 \001(\01321.google.cloud.datalabelin" + "g.v1beta1.AnnotationSpec\022X\n\007entries\030\002 \003(" + "\0132G.google.cloud.datalabeling.v1beta1.Co" - + "nfusionMatrix.ConfusionMatrixEntryB\347\001\n%c" - + "om.google.cloud.datalabeling.v1beta1P\001ZM" - + "google.golang.org/genproto/googleapis/cl" - + "oud/datalabeling/v1beta1;datalabeling\252\002!" - + "Google.Cloud.DataLabeling.V1Beta1\312\002!Goog" - + "le\\Cloud\\DataLabeling\\V1beta1\352\002$Google::" - + "Cloud::DataLabeling::V1beta1b\006proto3" + + "nfusionMatrix.ConfusionMatrixEntryB\343\001\n%c" + + "om.google.cloud.datalabeling.v1beta1P\001ZI" + + "cloud.google.com/go/datalabeling/apiv1be" + + "ta1/datalabelingpb;datalabelingpb\252\002!Goog" + + "le.Cloud.DataLabeling.V1Beta1\312\002!Google\\C" + + "loud\\DataLabeling\\V1beta1\352\002$Google::Clou" + + "d::DataLabeling::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/HumanAnnotationConfigOuterClass.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/HumanAnnotationConfigOuterClass.java index fa1f5092a7eb..d2daebe217ca 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/HumanAnnotationConfigOuterClass.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/HumanAnnotationConfigOuterClass.java @@ -134,13 +134,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \n\023annotation_spec_set\030\001 \001(\tB\003\340A\002*{\n\025Str" + "ingAggregationType\022\'\n#STRING_AGGREGATION" + "_TYPE_UNSPECIFIED\020\000\022\021\n\rMAJORITY_VOTE\020\001\022\022" - + "\n\016UNANIMOUS_VOTE\020\002\022\022\n\016NO_AGGREGATION\020\003B\347" + + "\n\016UNANIMOUS_VOTE\020\002\022\022\n\016NO_AGGREGATION\020\003B\343" + "\001\n%com.google.cloud.datalabeling.v1beta1" - + "P\001ZMgoogle.golang.org/genproto/googleapi" - + "s/cloud/datalabeling/v1beta1;datalabelin" - + "g\252\002!Google.Cloud.DataLabeling.V1Beta1\312\002!" - + "Google\\Cloud\\DataLabeling\\V1beta1\352\002$Goog" - + "le::Cloud::DataLabeling::V1beta1b\006proto3" + + "P\001ZIcloud.google.com/go/datalabeling/api" + + "v1beta1/datalabelingpb;datalabelingpb\252\002!" + + "Google.Cloud.DataLabeling.V1Beta1\312\002!Goog" + + "le\\Cloud\\DataLabeling\\V1beta1\352\002$Google::" + + "Cloud::DataLabeling::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/InstructionOuterClass.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/InstructionOuterClass.java index 32f4683f314c..0f080dd23cfd 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/InstructionOuterClass.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/InstructionOuterClass.java @@ -67,13 +67,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "leapis.com/Instruction\022-projects/{projec" + "t}/instructions/{instruction}\"&\n\016CsvInst" + "ruction\022\024\n\014gcs_file_uri\030\001 \001(\t\"&\n\016PdfInst" - + "ruction\022\024\n\014gcs_file_uri\030\001 \001(\tB\347\001\n%com.go" - + "ogle.cloud.datalabeling.v1beta1P\001ZMgoogl" - + "e.golang.org/genproto/googleapis/cloud/d" - + "atalabeling/v1beta1;datalabeling\252\002!Googl" - + "e.Cloud.DataLabeling.V1Beta1\312\002!Google\\Cl" - + "oud\\DataLabeling\\V1beta1\352\002$Google::Cloud" - + "::DataLabeling::V1beta1b\006proto3" + + "ruction\022\024\n\014gcs_file_uri\030\001 \001(\tB\343\001\n%com.go" + + "ogle.cloud.datalabeling.v1beta1P\001ZIcloud" + + ".google.com/go/datalabeling/apiv1beta1/d" + + "atalabelingpb;datalabelingpb\252\002!Google.Cl" + + "oud.DataLabeling.V1Beta1\312\002!Google\\Cloud\\" + + "DataLabeling\\V1beta1\352\002$Google::Cloud::Da" + + "taLabeling::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/Operations.java b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/Operations.java index f2fc40a6b01c..9c497be68bc2 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/Operations.java +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/java/com/google/cloud/datalabeling/v1beta1/Operations.java @@ -209,13 +209,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tructionMetadata\022\023\n\013instruction\030\001 \001(\t\022,\n" + "\020partial_failures\030\002 \003(\0132\022.google.rpc.Sta" + "tus\022/\n\013create_time\030\003 \001(\0132\032.google.protob" - + "uf.TimestampB\347\001\n%com.google.cloud.datala" - + "beling.v1beta1P\001ZMgoogle.golang.org/genp" - + "roto/googleapis/cloud/datalabeling/v1bet" - + "a1;datalabeling\252\002!Google.Cloud.DataLabel" - + "ing.V1Beta1\312\002!Google\\Cloud\\DataLabeling\\" - + "V1beta1\352\002$Google::Cloud::DataLabeling::V" - + "1beta1b\006proto3" + + "uf.TimestampB\343\001\n%com.google.cloud.datala" + + "beling.v1beta1P\001ZIcloud.google.com/go/da" + + "talabeling/apiv1beta1/datalabelingpb;dat" + + "alabelingpb\252\002!Google.Cloud.DataLabeling." + + "V1Beta1\312\002!Google\\Cloud\\DataLabeling\\V1be" + + "ta1\352\002$Google::Cloud::DataLabeling::V1bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/annotation.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/annotation.proto index d62cbfd136b0..fa858055173d 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/annotation.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/annotation.proto @@ -21,7 +21,7 @@ import "google/cloud/datalabeling/v1beta1/annotation_spec_set.proto"; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/annotation_spec_set.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/annotation_spec_set.proto index 7670ae6a9f96..b4d67e476033 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/annotation_spec_set.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/annotation_spec_set.proto @@ -20,7 +20,7 @@ package google.cloud.datalabeling.v1beta1; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/data_labeling_service.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/data_labeling_service.proto index 5d0746c8a6df..fc3b50c7e761 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/data_labeling_service.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/data_labeling_service.proto @@ -32,7 +32,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/data_payloads.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/data_payloads.proto index a9ca0fc93fe9..6d663486dec2 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/data_payloads.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/data_payloads.proto @@ -20,7 +20,7 @@ package google.cloud.datalabeling.v1beta1; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/dataset.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/dataset.proto index 557279fa746b..038bee18fa16 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/dataset.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/dataset.proto @@ -25,7 +25,7 @@ import "google/cloud/datalabeling/v1beta1/human_annotation_config.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/evaluation.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/evaluation.proto index 950fa82cf456..557d7f727eff 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/evaluation.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/evaluation.proto @@ -23,7 +23,7 @@ import "google/cloud/datalabeling/v1beta1/annotation_spec_set.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/evaluation_job.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/evaluation_job.proto index d40f8f2016d2..fc98544d5e20 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/evaluation_job.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/evaluation_job.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/human_annotation_config.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/human_annotation_config.proto index 9cc2424be4d7..0b2b016c0dc2 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/human_annotation_config.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/human_annotation_config.proto @@ -21,7 +21,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/instruction.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/instruction.proto index 9b19d32fdc5c..6227c7cfdd42 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/instruction.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/instruction.proto @@ -22,7 +22,7 @@ import "google/cloud/datalabeling/v1beta1/dataset.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/operations.proto b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/operations.proto index 02d596fc9c6e..a467dc3a6971 100644 --- a/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/operations.proto +++ b/java-datalabeling/proto-google-cloud-datalabeling-v1beta1/src/main/proto/google/cloud/datalabeling/v1beta1/operations.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.DataLabeling.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"; +option go_package = "cloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.datalabeling.v1beta1"; option php_namespace = "Google\\Cloud\\DataLabeling\\V1beta1"; diff --git a/java-datalineage/README.md b/java-datalineage/README.md index 2b3b9197aac2..181175e54807 100644 --- a/java-datalineage/README.md +++ b/java-datalineage/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-datalineage - 0.0.0 + 0.1.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datalineage:0.0.0' +implementation 'com.google.cloud:google-cloud-datalineage:0.1.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.0.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.1.0" ``` ## Authentication diff --git a/java-datalineage/google-cloud-datalineage-bom/pom.xml b/java-datalineage/google-cloud-datalineage-bom/pom.xml index bef982ab2ea8..6991ad8ccf7a 100644 --- a/java-datalineage/google-cloud-datalineage-bom/pom.xml +++ b/java-datalineage/google-cloud-datalineage-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-datalineage-bom - 0.1.0 + 0.2.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-datalineage - 0.1.0 + 0.2.0 com.google.api.grpc grpc-google-cloud-datalineage-v1 - 0.1.0 + 0.2.0 com.google.api.grpc proto-google-cloud-datalineage-v1 - 0.1.0 + 0.2.0 diff --git a/java-datalineage/google-cloud-datalineage/pom.xml b/java-datalineage/google-cloud-datalineage/pom.xml index 0cbb5272cee1..f1b9cfbd8b04 100644 --- a/java-datalineage/google-cloud-datalineage/pom.xml +++ b/java-datalineage/google-cloud-datalineage/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-datalineage - 0.1.0 + 0.2.0 jar Google Data Lineage Data Lineage Lineage is used to track data flows between assets over time. com.google.cloud google-cloud-datalineage-parent - 0.1.0 + 0.2.0 google-cloud-datalineage diff --git a/java-datalineage/grpc-google-cloud-datalineage-v1/pom.xml b/java-datalineage/grpc-google-cloud-datalineage-v1/pom.xml index ebc08c0a7ea7..817090cb579a 100644 --- a/java-datalineage/grpc-google-cloud-datalineage-v1/pom.xml +++ b/java-datalineage/grpc-google-cloud-datalineage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-datalineage-v1 - 0.1.0 + 0.2.0 grpc-google-cloud-datalineage-v1 GRPC library for google-cloud-datalineage com.google.cloud google-cloud-datalineage-parent - 0.1.0 + 0.2.0 diff --git a/java-datalineage/pom.xml b/java-datalineage/pom.xml index 5763e69cb666..d6bfadd9bc79 100644 --- a/java-datalineage/pom.xml +++ b/java-datalineage/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-datalineage-parent pom - 0.1.0 + 0.2.0 Google Data Lineage Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-datalineage - 0.1.0 + 0.2.0 com.google.api.grpc grpc-google-cloud-datalineage-v1 - 0.1.0 + 0.2.0 com.google.api.grpc proto-google-cloud-datalineage-v1 - 0.1.0 + 0.2.0 diff --git a/java-datalineage/proto-google-cloud-datalineage-v1/pom.xml b/java-datalineage/proto-google-cloud-datalineage-v1/pom.xml index 90ff4a6afccd..c60874ed7aaf 100644 --- a/java-datalineage/proto-google-cloud-datalineage-v1/pom.xml +++ b/java-datalineage/proto-google-cloud-datalineage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-datalineage-v1 - 0.1.0 + 0.2.0 proto-google-cloud-datalineage-v1 Proto library for google-cloud-datalineage com.google.cloud google-cloud-datalineage-parent - 0.1.0 + 0.2.0 diff --git a/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/LineageProto.java b/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/LineageProto.java index 4685d13e8fe7..add7f0cbea7c 100644 --- a/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/LineageProto.java +++ b/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/LineageProto.java @@ -403,13 +403,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ects/*/locations/*}:batchSearchLinkProce" + "sses:\001*\032N\312A\032datalineage.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\373\001\n\'com.google.cloud.datacatalog" - + ".lineage.v1B\014LineageProtoP\001ZJgoogle.gola" - + "ng.org/genproto/googleapis/cloud/datacat" - + "alog/lineage/v1;lineage\252\002#Google.Cloud.D" - + "ataCatalog.Lineage.V1\312\002#Google\\Cloud\\Dat" - + "aCatalog\\Lineage\\V1\352\002\'Google::Cloud::Dat" - + "aCatalog::Lineage::V1b\006proto3" + + "latformB\362\001\n\'com.google.cloud.datacatalog" + + ".lineage.v1B\014LineageProtoP\001ZAcloud.googl" + + "e.com/go/datacatalog/lineage/apiv1/linea" + + "gepb;lineagepb\252\002#Google.Cloud.DataCatalo" + + "g.Lineage.V1\312\002#Google\\Cloud\\DataCatalog\\" + + "Lineage\\V1\352\002\'Google::Cloud::DataCatalog:" + + ":Lineage::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/Origin.java b/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/Origin.java index 12c5ecd13d6d..b7f14ce05900 100644 --- a/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/Origin.java +++ b/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/Origin.java @@ -340,10 +340,10 @@ public com.google.cloud.datacatalog.lineage.v1.Origin.SourceType getSourceType() * resource name of the system, which reports lineage. The project and * location parts of the resource name must match the project and location of * the lineage resource being created. Examples: - * - {source_type: COMPOSER, name: - * "projects/foo/locations/us/environments/bar"} - * - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - * - {source_type: CUSTOM, name: "myCustomIntegration"} + * - `{source_type: COMPOSER, name: + * "projects/foo/locations/us/environments/bar"}` + * - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + * - `{source_type: CUSTOM, name: "myCustomIntegration"}` * * * string name = 2; @@ -370,10 +370,10 @@ public java.lang.String getName() { * resource name of the system, which reports lineage. The project and * location parts of the resource name must match the project and location of * the lineage resource being created. Examples: - * - {source_type: COMPOSER, name: - * "projects/foo/locations/us/environments/bar"} - * - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - * - {source_type: CUSTOM, name: "myCustomIntegration"} + * - `{source_type: COMPOSER, name: + * "projects/foo/locations/us/environments/bar"}` + * - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + * - `{source_type: CUSTOM, name: "myCustomIntegration"}` * * * string name = 2; @@ -861,10 +861,10 @@ public Builder clearSourceType() { * resource name of the system, which reports lineage. The project and * location parts of the resource name must match the project and location of * the lineage resource being created. Examples: - * - {source_type: COMPOSER, name: - * "projects/foo/locations/us/environments/bar"} - * - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - * - {source_type: CUSTOM, name: "myCustomIntegration"} + * - `{source_type: COMPOSER, name: + * "projects/foo/locations/us/environments/bar"}` + * - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + * - `{source_type: CUSTOM, name: "myCustomIntegration"}` * * * string name = 2; @@ -890,10 +890,10 @@ public java.lang.String getName() { * resource name of the system, which reports lineage. The project and * location parts of the resource name must match the project and location of * the lineage resource being created. Examples: - * - {source_type: COMPOSER, name: - * "projects/foo/locations/us/environments/bar"} - * - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - * - {source_type: CUSTOM, name: "myCustomIntegration"} + * - `{source_type: COMPOSER, name: + * "projects/foo/locations/us/environments/bar"}` + * - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + * - `{source_type: CUSTOM, name: "myCustomIntegration"}` * * * string name = 2; @@ -919,10 +919,10 @@ public com.google.protobuf.ByteString getNameBytes() { * resource name of the system, which reports lineage. The project and * location parts of the resource name must match the project and location of * the lineage resource being created. Examples: - * - {source_type: COMPOSER, name: - * "projects/foo/locations/us/environments/bar"} - * - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - * - {source_type: CUSTOM, name: "myCustomIntegration"} + * - `{source_type: COMPOSER, name: + * "projects/foo/locations/us/environments/bar"}` + * - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + * - `{source_type: CUSTOM, name: "myCustomIntegration"}` * * * string name = 2; @@ -947,10 +947,10 @@ public Builder setName(java.lang.String value) { * resource name of the system, which reports lineage. The project and * location parts of the resource name must match the project and location of * the lineage resource being created. Examples: - * - {source_type: COMPOSER, name: - * "projects/foo/locations/us/environments/bar"} - * - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - * - {source_type: CUSTOM, name: "myCustomIntegration"} + * - `{source_type: COMPOSER, name: + * "projects/foo/locations/us/environments/bar"}` + * - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + * - `{source_type: CUSTOM, name: "myCustomIntegration"}` * * * string name = 2; @@ -971,10 +971,10 @@ public Builder clearName() { * resource name of the system, which reports lineage. The project and * location parts of the resource name must match the project and location of * the lineage resource being created. Examples: - * - {source_type: COMPOSER, name: - * "projects/foo/locations/us/environments/bar"} - * - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - * - {source_type: CUSTOM, name: "myCustomIntegration"} + * - `{source_type: COMPOSER, name: + * "projects/foo/locations/us/environments/bar"}` + * - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + * - `{source_type: CUSTOM, name: "myCustomIntegration"}` * * * string name = 2; diff --git a/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/OriginOrBuilder.java b/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/OriginOrBuilder.java index 30feb5839697..c7bb2319c26f 100644 --- a/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/OriginOrBuilder.java +++ b/java-datalineage/proto-google-cloud-datalineage-v1/src/main/java/com/google/cloud/datacatalog/lineage/v1/OriginOrBuilder.java @@ -56,10 +56,10 @@ public interface OriginOrBuilder * resource name of the system, which reports lineage. The project and * location parts of the resource name must match the project and location of * the lineage resource being created. Examples: - * - {source_type: COMPOSER, name: - * "projects/foo/locations/us/environments/bar"} - * - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - * - {source_type: CUSTOM, name: "myCustomIntegration"} + * - `{source_type: COMPOSER, name: + * "projects/foo/locations/us/environments/bar"}` + * - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + * - `{source_type: CUSTOM, name: "myCustomIntegration"}` * * * string name = 2; @@ -75,10 +75,10 @@ public interface OriginOrBuilder * resource name of the system, which reports lineage. The project and * location parts of the resource name must match the project and location of * the lineage resource being created. Examples: - * - {source_type: COMPOSER, name: - * "projects/foo/locations/us/environments/bar"} - * - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - * - {source_type: CUSTOM, name: "myCustomIntegration"} + * - `{source_type: COMPOSER, name: + * "projects/foo/locations/us/environments/bar"}` + * - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + * - `{source_type: CUSTOM, name: "myCustomIntegration"}` * * * string name = 2; diff --git a/java-datalineage/proto-google-cloud-datalineage-v1/src/main/proto/google/cloud/datacatalog/lineage/v1/lineage.proto b/java-datalineage/proto-google-cloud-datalineage-v1/src/main/proto/google/cloud/datacatalog/lineage/v1/lineage.proto index 3ccb06082efd..ed9602a81be4 100644 --- a/java-datalineage/proto-google-cloud-datalineage-v1/src/main/proto/google/cloud/datacatalog/lineage/v1/lineage.proto +++ b/java-datalineage/proto-google-cloud-datalineage-v1/src/main/proto/google/cloud/datacatalog/lineage/v1/lineage.proto @@ -27,7 +27,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DataCatalog.Lineage.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datacatalog/lineage/v1;lineage"; +option go_package = "cloud.google.com/go/datacatalog/lineage/apiv1/lineagepb;lineagepb"; option java_multiple_files = true; option java_outer_classname = "LineageProto"; option java_package = "com.google.cloud.datacatalog.lineage.v1"; @@ -871,9 +871,9 @@ message Origin { // location parts of the resource name must match the project and location of // the lineage resource being created. Examples: // - // - {source_type: COMPOSER, name: - // "projects/foo/locations/us/environments/bar"} - // - {source_type: BIGQUERY, name: "projects/foo/locations/eu"} - // - {source_type: CUSTOM, name: "myCustomIntegration"} + // - `{source_type: COMPOSER, name: + // "projects/foo/locations/us/environments/bar"}` + // - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` + // - `{source_type: CUSTOM, name: "myCustomIntegration"}` string name = 2; } diff --git a/java-dataplex/README.md b/java-dataplex/README.md index 695b20b50530..6632f1fc9588 100644 --- a/java-dataplex/README.md +++ b/java-dataplex/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-dataplex - 1.6.0 + 1.7.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataplex:1.6.0' +implementation 'com.google.cloud:google-cloud-dataplex:1.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.7.0" ``` ## Authentication diff --git a/java-dataplex/google-cloud-dataplex-bom/pom.xml b/java-dataplex/google-cloud-dataplex-bom/pom.xml index baac7c87fd56..cc89206e59c3 100644 --- a/java-dataplex/google-cloud-dataplex-bom/pom.xml +++ b/java-dataplex/google-cloud-dataplex-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-dataplex-bom - 1.7.0 + 1.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-dataplex - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-dataplex-v1 - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-dataplex-v1 - 1.7.0 + 1.8.0 diff --git a/java-dataplex/google-cloud-dataplex/pom.xml b/java-dataplex/google-cloud-dataplex/pom.xml index 927a461f1006..b0cedab13e74 100644 --- a/java-dataplex/google-cloud-dataplex/pom.xml +++ b/java-dataplex/google-cloud-dataplex/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-dataplex - 1.7.0 + 1.8.0 jar Google Cloud Dataplex Cloud Dataplex provides intelligent data fabric that enables organizations to centrally manage, monitor, and govern their data across data lakes, data warehouses, and data marts with consistent controls, providing access to trusted data and powering analytics at scale. com.google.cloud google-cloud-dataplex-parent - 1.7.0 + 1.8.0 google-cloud-dataplex diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java index 63d1f3ef0c6f..a637badd2df2 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceClient.java @@ -45,8 +45,12 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * This class provides the ability to make remote calls to the backing service through method calls - * that map to API methods. Sample code to get started: + * Service Description: DataScanService manages DataScan resources which can be configured to run + * various types of data scanning workload and generate enriched metadata (e.g. Data Profile, Data + * Quality) for the data source. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: * *

{@code
  * // This snippet has been automatically generated and should be regarded as a code template only.
@@ -211,7 +215,7 @@ public final OperationsClient getHttpJsonOperationsClient() {
 
   // AUTO-GENERATED DOCUMENTATION AND METHOD.
   /**
-   * Creates a dataScan resource.
+   * Creates a DataScan resource.
    *
    * 

Sample code: * @@ -231,8 +235,8 @@ public final OperationsClient getHttpJsonOperationsClient() { * }

* * @param parent Required. The resource name of the parent location: - * projects/{project}/locations/{location_id} where `{project}` refers to a project_id or - * project_number and `location_id` refers to a GCP region. + * `projects/{project}/locations/{location_id}` where `project` refers to a + * *project_id* or *project_number* and `location_id` refers to a GCP region. * @param dataScan Required. DataScan resource. * @param dataScanId Required. DataScan identifier. *
    @@ -258,7 +262,7 @@ public final OperationFuture createDataScanAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a dataScan resource. + * Creates a DataScan resource. * *

    Sample code: * @@ -278,8 +282,8 @@ public final OperationFuture createDataScanAsync( * } * * @param parent Required. The resource name of the parent location: - * projects/{project}/locations/{location_id} where `{project}` refers to a project_id or - * project_number and `location_id` refers to a GCP region. + * `projects/{project}/locations/{location_id}` where `project` refers to a + * *project_id* or *project_number* and `location_id` refers to a GCP region. * @param dataScan Required. DataScan resource. * @param dataScanId Required. DataScan identifier. *

      @@ -305,7 +309,7 @@ public final OperationFuture createDataScanAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a dataScan resource. + * Creates a DataScan resource. * *

      Sample code: * @@ -336,7 +340,7 @@ public final OperationFuture createDataScanAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a dataScan resource. + * Creates a DataScan resource. * *

      Sample code: * @@ -367,7 +371,7 @@ public final OperationFuture createDataScanAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a dataScan resource. + * Creates a DataScan resource. * *

      Sample code: * @@ -397,7 +401,7 @@ public final UnaryCallable createDataScanCalla // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Update the dataScan resource. + * Updates a DataScan resource. * *

      Sample code: * @@ -414,8 +418,8 @@ public final UnaryCallable createDataScanCalla * } * } * - * @param dataScan Required. Update description. Only fields specified in `update_mask` are - * updated. + * @param dataScan Required. DataScan resource to be updated. + *

      Only fields specified in `update_mask` are updated. * @param updateMask Required. Mask of fields to update. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -428,7 +432,7 @@ public final OperationFuture updateDataScanAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Update the dataScan resource. + * Updates a DataScan resource. * *

      Sample code: * @@ -458,7 +462,7 @@ public final OperationFuture updateDataScanAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Update the dataScan resource. + * Updates a DataScan resource. * *

      Sample code: * @@ -488,7 +492,7 @@ public final OperationFuture updateDataScanAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Update the dataScan resource. + * Updates a DataScan resource. * *

      Sample code: * @@ -517,7 +521,7 @@ public final UnaryCallable updateDataScanCalla // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Delete the dataScan resource. + * Deletes a DataScan resource. * *

      Sample code: * @@ -534,8 +538,9 @@ public final UnaryCallable updateDataScanCalla * } * * @param name Required. The resource name of the dataScan: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where `{project}` - * refers to a project_id or project_number and `location_id` refers to a GCP region. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}` where `project` + * refers to a *project_id* or *project_number* and `location_id` refers to a + * GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteDataScanAsync(DataScanName name) { @@ -546,7 +551,7 @@ public final OperationFuture deleteDataScanAsync(DataS // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Delete the dataScan resource. + * Deletes a DataScan resource. * *

      Sample code: * @@ -563,8 +568,9 @@ public final OperationFuture deleteDataScanAsync(DataS * } * * @param name Required. The resource name of the dataScan: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where `{project}` - * refers to a project_id or project_number and `location_id` refers to a GCP region. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}` where `project` + * refers to a *project_id* or *project_number* and `location_id` refers to a + * GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteDataScanAsync(String name) { @@ -574,7 +580,7 @@ public final OperationFuture deleteDataScanAsync(Strin // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Delete the dataScan resource. + * Deletes a DataScan resource. * *

      Sample code: * @@ -603,7 +609,7 @@ public final OperationFuture deleteDataScanAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Delete the dataScan resource. + * Deletes a DataScan resource. * *

      Sample code: * @@ -632,7 +638,7 @@ public final OperationFuture deleteDataScanAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Delete the dataScan resource. + * Deletes a DataScan resource. * *

      Sample code: * @@ -660,7 +666,7 @@ public final UnaryCallable deleteDataScanCalla // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get dataScan resource. + * Gets a DataScan resource. * *

      Sample code: * @@ -677,8 +683,9 @@ public final UnaryCallable deleteDataScanCalla * } * * @param name Required. The resource name of the dataScan: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where `{project}` - * refers to a project_id or project_number and `location_id` refers to a GCP region. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}` where `project` + * refers to a *project_id* or *project_number* and `location_id` refers to a + * GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final DataScan getDataScan(DataScanName name) { @@ -689,7 +696,7 @@ public final DataScan getDataScan(DataScanName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get dataScan resource. + * Gets a DataScan resource. * *

      Sample code: * @@ -706,8 +713,9 @@ public final DataScan getDataScan(DataScanName name) { * } * * @param name Required. The resource name of the dataScan: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where `{project}` - * refers to a project_id or project_number and `location_id` refers to a GCP region. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}` where `project` + * refers to a *project_id* or *project_number* and `location_id` refers to a + * GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final DataScan getDataScan(String name) { @@ -717,7 +725,7 @@ public final DataScan getDataScan(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get dataScan resource. + * Gets a DataScan resource. * *

      Sample code: * @@ -745,7 +753,7 @@ public final DataScan getDataScan(GetDataScanRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get dataScan resource. + * Gets a DataScan resource. * *

      Sample code: * @@ -772,7 +780,7 @@ public final UnaryCallable getDataScanCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists dataScans. + * Lists DataScans. * *

      Sample code: * @@ -790,8 +798,9 @@ public final UnaryCallable getDataScanCallable() { * } * } * - * @param parent Required. projects/{project}/locations/{location_id} where `{project}` refers to - * a project_id or project_number and `location_id` refers to a GCP region. + * @param parent Required. The resource name of the parent location: + * `projects/{project}/locations/{location_id}` where `project` refers to a + * *project_id* or *project_number* and `location_id` refers to a GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListDataScansPagedResponse listDataScans(LocationName parent) { @@ -804,7 +813,7 @@ public final ListDataScansPagedResponse listDataScans(LocationName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists dataScans. + * Lists DataScans. * *

      Sample code: * @@ -822,8 +831,9 @@ public final ListDataScansPagedResponse listDataScans(LocationName parent) { * } * } * - * @param parent Required. projects/{project}/locations/{location_id} where `{project}` refers to - * a project_id or project_number and `location_id` refers to a GCP region. + * @param parent Required. The resource name of the parent location: + * `projects/{project}/locations/{location_id}` where `project` refers to a + * *project_id* or *project_number* and `location_id` refers to a GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListDataScansPagedResponse listDataScans(String parent) { @@ -833,7 +843,7 @@ public final ListDataScansPagedResponse listDataScans(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists dataScans. + * Lists DataScans. * *

      Sample code: * @@ -867,7 +877,7 @@ public final ListDataScansPagedResponse listDataScans(ListDataScansRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists dataScans. + * Lists DataScans. * *

      Sample code: * @@ -902,7 +912,7 @@ public final ListDataScansPagedResponse listDataScans(ListDataScansRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists dataScans. + * Lists DataScans. * *

      Sample code: * @@ -943,7 +953,7 @@ public final UnaryCallable listData // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Run an on demand execution of a DataScan. + * Runs an on-demand execution of a DataScan * *

      Sample code: * @@ -960,9 +970,10 @@ public final UnaryCallable listData * } * * @param name Required. The resource name of the DataScan: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where `{project}` - * refers to a project_id or project_number and `location_id` refers to a GCP region. Only - * on-demand DataScans are allowed. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`. where `project` + * refers to a *project_id* or *project_number* and `location_id` refers to a + * GCP region. + *

      Only **OnDemand** data scans are allowed. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final RunDataScanResponse runDataScan(DataScanName name) { @@ -973,7 +984,7 @@ public final RunDataScanResponse runDataScan(DataScanName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Run an on demand execution of a DataScan. + * Runs an on-demand execution of a DataScan * *

      Sample code: * @@ -990,9 +1001,10 @@ public final RunDataScanResponse runDataScan(DataScanName name) { * } * * @param name Required. The resource name of the DataScan: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where `{project}` - * refers to a project_id or project_number and `location_id` refers to a GCP region. Only - * on-demand DataScans are allowed. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`. where `project` + * refers to a *project_id* or *project_number* and `location_id` refers to a + * GCP region. + *

      Only **OnDemand** data scans are allowed. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final RunDataScanResponse runDataScan(String name) { @@ -1002,7 +1014,7 @@ public final RunDataScanResponse runDataScan(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Run an on demand execution of a DataScan. + * Runs an on-demand execution of a DataScan * *

      Sample code: * @@ -1030,7 +1042,7 @@ public final RunDataScanResponse runDataScan(RunDataScanRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Run an on demand execution of a DataScan. + * Runs an on-demand execution of a DataScan * *

      Sample code: * @@ -1058,7 +1070,7 @@ public final UnaryCallable runDataScanC // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get DataScanJob resource. + * Gets a DataScanJob resource. * *

      Sample code: * @@ -1075,9 +1087,9 @@ public final UnaryCallable runDataScanC * } * * @param name Required. The resource name of the DataScanJob: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id} - * where `{project}` refers to a project_id or project_number and `location_id` refers to a - * GCP region. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}` + * where `project` refers to a *project_id* or *project_number* and + * `location_id` refers to a GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final DataScanJob getDataScanJob(DataScanJobName name) { @@ -1088,7 +1100,7 @@ public final DataScanJob getDataScanJob(DataScanJobName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get DataScanJob resource. + * Gets a DataScanJob resource. * *

      Sample code: * @@ -1105,9 +1117,9 @@ public final DataScanJob getDataScanJob(DataScanJobName name) { * } * * @param name Required. The resource name of the DataScanJob: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id} - * where `{project}` refers to a project_id or project_number and `location_id` refers to a - * GCP region. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}` + * where `project` refers to a *project_id* or *project_number* and + * `location_id` refers to a GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final DataScanJob getDataScanJob(String name) { @@ -1117,7 +1129,7 @@ public final DataScanJob getDataScanJob(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get DataScanJob resource. + * Gets a DataScanJob resource. * *

      Sample code: * @@ -1146,7 +1158,7 @@ public final DataScanJob getDataScanJob(GetDataScanJobRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get DataScanJob resource. + * Gets a DataScanJob resource. * *

      Sample code: * @@ -1175,7 +1187,7 @@ public final UnaryCallable getDataScanJobCal // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists DataScanJobs under the given dataScan. + * Lists DataScanJobs under the given DataScan. * *

      Sample code: * @@ -1194,8 +1206,9 @@ public final UnaryCallable getDataScanJobCal * } * * @param parent Required. The resource name of the parent environment: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where `{project}` - * refers to a project_id or project_number and `location_id` refers to a GCP region. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}` where `project` + * refers to a *project_id* or *project_number* and `location_id` refers to a + * GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListDataScanJobsPagedResponse listDataScanJobs(DataScanName parent) { @@ -1208,7 +1221,7 @@ public final ListDataScanJobsPagedResponse listDataScanJobs(DataScanName parent) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists DataScanJobs under the given dataScan. + * Lists DataScanJobs under the given DataScan. * *

      Sample code: * @@ -1227,8 +1240,9 @@ public final ListDataScanJobsPagedResponse listDataScanJobs(DataScanName parent) * } * * @param parent Required. The resource name of the parent environment: - * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where `{project}` - * refers to a project_id or project_number and `location_id` refers to a GCP region. + * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}` where `project` + * refers to a *project_id* or *project_number* and `location_id` refers to a + * GCP region. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListDataScanJobsPagedResponse listDataScanJobs(String parent) { @@ -1239,7 +1253,7 @@ public final ListDataScanJobsPagedResponse listDataScanJobs(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists DataScanJobs under the given dataScan. + * Lists DataScanJobs under the given DataScan. * *

      Sample code: * @@ -1271,7 +1285,7 @@ public final ListDataScanJobsPagedResponse listDataScanJobs(ListDataScanJobsRequ // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists DataScanJobs under the given dataScan. + * Lists DataScanJobs under the given DataScan. * *

      Sample code: * @@ -1304,7 +1318,7 @@ public final ListDataScanJobsPagedResponse listDataScanJobs(ListDataScanJobsRequ // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists DataScanJobs under the given dataScan. + * Lists DataScanJobs under the given DataScan. * *

      Sample code: * diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java index 43437b323e61..6bb812b454e2 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/package-info.java @@ -40,6 +40,10 @@ * *

      ======================= DataScanServiceClient ======================= * + *

      Service Description: DataScanService manages DataScan resources which can be configured to run + * various types of data scanning workload and generate enriched metadata (e.g. Data Profile, Data + * Quality) for the data source. + * *

      Sample for DataScanServiceClient: * *

      {@code
      diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/pom.xml b/java-dataplex/grpc-google-cloud-dataplex-v1/pom.xml
      index 89a6d1ef793c..217316e91d98 100644
      --- a/java-dataplex/grpc-google-cloud-dataplex-v1/pom.xml
      +++ b/java-dataplex/grpc-google-cloud-dataplex-v1/pom.xml
      @@ -4,13 +4,13 @@
         4.0.0
         com.google.api.grpc
         grpc-google-cloud-dataplex-v1
      -  1.7.0
      +  1.8.0
         grpc-google-cloud-dataplex-v1
         GRPC library for google-cloud-dataplex
         
           com.google.cloud
           google-cloud-dataplex-parent
      -    1.7.0
      +    1.8.0
         
         
           
      diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java
      index 1a550b158c9e..94589c966937 100644
      --- a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java
      +++ b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanServiceGrpc.java
      @@ -17,7 +17,15 @@
       
       import static io.grpc.MethodDescriptor.generateFullMethodName;
       
      -/** */
      +/**
      + *
      + *
      + * 
      + * DataScanService manages DataScan resources which can be configured to run
      + * various types of data scanning workload and generate enriched metadata (e.g.
      + * Data Profile, Data Quality) for the data source.
      + * 
      + */ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/dataplex/v1/datascans.proto") @@ -427,14 +435,22 @@ public DataScanServiceFutureStub newStub( return DataScanServiceFutureStub.newStub(factory, channel); } - /** */ + /** + * + * + *
      +   * DataScanService manages DataScan resources which can be configured to run
      +   * various types of data scanning workload and generate enriched metadata (e.g.
      +   * Data Profile, Data Quality) for the data source.
      +   * 
      + */ public abstract static class DataScanServiceImplBase implements io.grpc.BindableService { /** * * *
      -     * Creates a dataScan resource.
      +     * Creates a DataScan resource.
            * 
      */ public void createDataScan( @@ -448,7 +464,7 @@ public void createDataScan( * * *
      -     * Update the dataScan resource.
      +     * Updates a DataScan resource.
            * 
      */ public void updateDataScan( @@ -462,7 +478,7 @@ public void updateDataScan( * * *
      -     * Delete the dataScan resource.
      +     * Deletes a DataScan resource.
            * 
      */ public void deleteDataScan( @@ -476,7 +492,7 @@ public void deleteDataScan( * * *
      -     * Get dataScan resource.
      +     * Gets a DataScan resource.
            * 
      */ public void getDataScan( @@ -490,7 +506,7 @@ public void getDataScan( * * *
      -     * Lists dataScans.
      +     * Lists DataScans.
            * 
      */ public void listDataScans( @@ -505,7 +521,7 @@ public void listDataScans( * * *
      -     * Run an on demand execution of a DataScan.
      +     * Runs an on-demand execution of a DataScan
            * 
      */ public void runDataScan( @@ -520,7 +536,7 @@ public void runDataScan( * * *
      -     * Get DataScanJob resource.
      +     * Gets a DataScanJob resource.
            * 
      */ public void getDataScanJob( @@ -534,7 +550,7 @@ public void getDataScanJob( * * *
      -     * Lists DataScanJobs under the given dataScan.
      +     * Lists DataScanJobs under the given DataScan.
            * 
      */ public void listDataScanJobs( @@ -603,7 +619,15 @@ public final io.grpc.ServerServiceDefinition bindService() { } } - /** */ + /** + * + * + *
      +   * DataScanService manages DataScan resources which can be configured to run
      +   * various types of data scanning workload and generate enriched metadata (e.g.
      +   * Data Profile, Data Quality) for the data source.
      +   * 
      + */ public static final class DataScanServiceStub extends io.grpc.stub.AbstractAsyncStub { private DataScanServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { @@ -619,7 +643,7 @@ protected DataScanServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions * * *
      -     * Creates a dataScan resource.
      +     * Creates a DataScan resource.
            * 
      */ public void createDataScan( @@ -635,7 +659,7 @@ public void createDataScan( * * *
      -     * Update the dataScan resource.
      +     * Updates a DataScan resource.
            * 
      */ public void updateDataScan( @@ -651,7 +675,7 @@ public void updateDataScan( * * *
      -     * Delete the dataScan resource.
      +     * Deletes a DataScan resource.
            * 
      */ public void deleteDataScan( @@ -667,7 +691,7 @@ public void deleteDataScan( * * *
      -     * Get dataScan resource.
      +     * Gets a DataScan resource.
            * 
      */ public void getDataScan( @@ -683,7 +707,7 @@ public void getDataScan( * * *
      -     * Lists dataScans.
      +     * Lists DataScans.
            * 
      */ public void listDataScans( @@ -700,7 +724,7 @@ public void listDataScans( * * *
      -     * Run an on demand execution of a DataScan.
      +     * Runs an on-demand execution of a DataScan
            * 
      */ public void runDataScan( @@ -717,7 +741,7 @@ public void runDataScan( * * *
      -     * Get DataScanJob resource.
      +     * Gets a DataScanJob resource.
            * 
      */ public void getDataScanJob( @@ -733,7 +757,7 @@ public void getDataScanJob( * * *
      -     * Lists DataScanJobs under the given dataScan.
      +     * Lists DataScanJobs under the given DataScan.
            * 
      */ public void listDataScanJobs( @@ -747,7 +771,15 @@ public void listDataScanJobs( } } - /** */ + /** + * + * + *
      +   * DataScanService manages DataScan resources which can be configured to run
      +   * various types of data scanning workload and generate enriched metadata (e.g.
      +   * Data Profile, Data Quality) for the data source.
      +   * 
      + */ public static final class DataScanServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private DataScanServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { @@ -764,7 +796,7 @@ protected DataScanServiceBlockingStub build( * * *
      -     * Creates a dataScan resource.
      +     * Creates a DataScan resource.
            * 
      */ public com.google.longrunning.Operation createDataScan( @@ -777,7 +809,7 @@ public com.google.longrunning.Operation createDataScan( * * *
      -     * Update the dataScan resource.
      +     * Updates a DataScan resource.
            * 
      */ public com.google.longrunning.Operation updateDataScan( @@ -790,7 +822,7 @@ public com.google.longrunning.Operation updateDataScan( * * *
      -     * Delete the dataScan resource.
      +     * Deletes a DataScan resource.
            * 
      */ public com.google.longrunning.Operation deleteDataScan( @@ -803,7 +835,7 @@ public com.google.longrunning.Operation deleteDataScan( * * *
      -     * Get dataScan resource.
      +     * Gets a DataScan resource.
            * 
      */ public com.google.cloud.dataplex.v1.DataScan getDataScan( @@ -816,7 +848,7 @@ public com.google.cloud.dataplex.v1.DataScan getDataScan( * * *
      -     * Lists dataScans.
      +     * Lists DataScans.
            * 
      */ public com.google.cloud.dataplex.v1.ListDataScansResponse listDataScans( @@ -829,7 +861,7 @@ public com.google.cloud.dataplex.v1.ListDataScansResponse listDataScans( * * *
      -     * Run an on demand execution of a DataScan.
      +     * Runs an on-demand execution of a DataScan
            * 
      */ public com.google.cloud.dataplex.v1.RunDataScanResponse runDataScan( @@ -842,7 +874,7 @@ public com.google.cloud.dataplex.v1.RunDataScanResponse runDataScan( * * *
      -     * Get DataScanJob resource.
      +     * Gets a DataScanJob resource.
            * 
      */ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJob( @@ -855,7 +887,7 @@ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJob( * * *
      -     * Lists DataScanJobs under the given dataScan.
      +     * Lists DataScanJobs under the given DataScan.
            * 
      */ public com.google.cloud.dataplex.v1.ListDataScanJobsResponse listDataScanJobs( @@ -865,7 +897,15 @@ public com.google.cloud.dataplex.v1.ListDataScanJobsResponse listDataScanJobs( } } - /** */ + /** + * + * + *
      +   * DataScanService manages DataScan resources which can be configured to run
      +   * various types of data scanning workload and generate enriched metadata (e.g.
      +   * Data Profile, Data Quality) for the data source.
      +   * 
      + */ public static final class DataScanServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private DataScanServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { @@ -882,7 +922,7 @@ protected DataScanServiceFutureStub build( * * *
      -     * Creates a dataScan resource.
      +     * Creates a DataScan resource.
            * 
      */ public com.google.common.util.concurrent.ListenableFuture @@ -895,7 +935,7 @@ protected DataScanServiceFutureStub build( * * *
      -     * Update the dataScan resource.
      +     * Updates a DataScan resource.
            * 
      */ public com.google.common.util.concurrent.ListenableFuture @@ -908,7 +948,7 @@ protected DataScanServiceFutureStub build( * * *
      -     * Delete the dataScan resource.
      +     * Deletes a DataScan resource.
            * 
      */ public com.google.common.util.concurrent.ListenableFuture @@ -921,7 +961,7 @@ protected DataScanServiceFutureStub build( * * *
      -     * Get dataScan resource.
      +     * Gets a DataScan resource.
            * 
      */ public com.google.common.util.concurrent.ListenableFuture @@ -934,7 +974,7 @@ protected DataScanServiceFutureStub build( * * *
      -     * Lists dataScans.
      +     * Lists DataScans.
            * 
      */ public com.google.common.util.concurrent.ListenableFuture< @@ -948,7 +988,7 @@ protected DataScanServiceFutureStub build( * * *
      -     * Run an on demand execution of a DataScan.
      +     * Runs an on-demand execution of a DataScan
            * 
      */ public com.google.common.util.concurrent.ListenableFuture< @@ -962,7 +1002,7 @@ protected DataScanServiceFutureStub build( * * *
      -     * Get DataScanJob resource.
      +     * Gets a DataScanJob resource.
            * 
      */ public com.google.common.util.concurrent.ListenableFuture< @@ -976,7 +1016,7 @@ protected DataScanServiceFutureStub build( * * *
      -     * Lists DataScanJobs under the given dataScan.
      +     * Lists DataScanJobs under the given DataScan.
            * 
      */ public com.google.common.util.concurrent.ListenableFuture< diff --git a/java-dataplex/pom.xml b/java-dataplex/pom.xml index 7a2e2bd378aa..c77e8537c25b 100644 --- a/java-dataplex/pom.xml +++ b/java-dataplex/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dataplex-parent pom - 1.7.0 + 1.8.0 Google Cloud Dataplex Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-dataplex - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-dataplex-v1 - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-dataplex-v1 - 1.7.0 + 1.8.0
      diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/pom.xml b/java-dataplex/proto-google-cloud-dataplex-v1/pom.xml index 906b14977865..c1dad411d99a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/pom.xml +++ b/java-dataplex/proto-google-cloud-dataplex-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dataplex-v1 - 1.7.0 + 1.8.0 proto-google-cloud-dataplex-v1 Proto library for google-cloud-dataplex com.google.cloud google-cloud-dataplex-parent - 1.7.0 + 1.8.0 diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java index a52cac000ab5..cac61adab7c2 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/AnalyzeProto.java @@ -171,10 +171,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "plex.v1.StateB\003\340A\003:\211\001\352A\205\001\n\037dataplex.goog" + "leapis.com/Session\022bprojects/{project}/l" + "ocations/{location}/lakes/{lake}/environ" - + "ments/{environment}/sessions/{session}Bp" + + "ments/{environment}/sessions/{session}Bh" + "\n\034com.google.cloud.dataplex.v1B\014AnalyzeP" - + "rotoP\001Z@google.golang.org/genproto/googl" - + "eapis/cloud/dataplex/v1;dataplexb\006proto3" + + "rotoP\001Z8cloud.google.com/go/dataplex/api" + + "v1/dataplexpb;dataplexpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java index f20cbf7ad38d..c62661c7e43c 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentProto.java @@ -142,10 +142,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "contentitemsZ5\0223/v1/{parent=projects/*/l" + "ocations/*/lakes/*}/content\332A\006parent\032K\312A" + "\027dataplex.googleapis.com\322A.https://www.g" - + "oogleapis.com/auth/cloud-platformBp\n\034com" + + "oogleapis.com/auth/cloud-platformBh\n\034com" + ".google.cloud.dataplex.v1B\014ContentProtoP" - + "\001Z@google.golang.org/genproto/googleapis" - + "/cloud/dataplex/v1;dataplexb\006proto3" + + "\001Z8cloud.google.com/go/dataplex/apiv1/da" + + "taplexpb;dataplexpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java index dadb9296d74e..f38dcf11332b 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequest.java @@ -77,8 +77,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * Required. The resource name of the parent location:
      -   * projects/{project}/locations/{location_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -105,8 +105,8 @@ public java.lang.String getParent() { * *
          * Required. The resource name of the parent location:
      -   * projects/{project}/locations/{location_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -649,8 +649,8 @@ public Builder mergeFrom( * *
            * Required. The resource name of the parent location:
      -     * projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -676,8 +676,8 @@ public java.lang.String getParent() { * *
            * Required. The resource name of the parent location:
      -     * projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -703,8 +703,8 @@ public com.google.protobuf.ByteString getParentBytes() { * *
            * Required. The resource name of the parent location:
      -     * projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -729,8 +729,8 @@ public Builder setParent(java.lang.String value) { * *
            * Required. The resource name of the parent location:
      -     * projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -751,8 +751,8 @@ public Builder clearParent() { * *
            * Required. The resource name of the parent location:
      -     * projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java index 6c17fd16be97..9f921d9c9515 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/CreateDataScanRequestOrBuilder.java @@ -28,8 +28,8 @@ public interface CreateDataScanRequestOrBuilder * *
          * Required. The resource name of the parent location:
      -   * projects/{project}/locations/{location_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -45,8 +45,8 @@ public interface CreateDataScanRequestOrBuilder * *
          * Required. The resource name of the parent location:
      -   * projects/{project}/locations/{location_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java index 799a11f0d930..0fdcd520c45a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataProfileProto.java @@ -106,11 +106,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ieldInfo\022\017\n\007average\030\001 \001(\001\022\032\n\022standard_de" + "viation\030\003 \001(\001\022\013\n\003min\030\004 \001(\001\022\021\n\tquartiles\030" + "\006 \003(\001\022\013\n\003max\030\005 \001(\001\032)\n\tTopNValue\022\r\n\005value" - + "\030\001 \001(\t\022\r\n\005count\030\002 \001(\003B\014\n\nfield_infoBt\n\034c" + + "\030\001 \001(\t\022\r\n\005count\030\002 \001(\003B\014\n\nfield_infoBl\n\034c" + "om.google.cloud.dataplex.v1B\020DataProfile" - + "ProtoP\001Z@google.golang.org/genproto/goog" - + "leapis/cloud/dataplex/v1;dataplexb\006proto" - + "3" + + "ProtoP\001Z8cloud.google.com/go/dataplex/ap" + + "iv1/dataplexpb;dataplexpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java index 7701635bef2d..7404ff90f7c9 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataQualityProto.java @@ -145,10 +145,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\010\n\004MEAN\020\001\022\007\n\003MIN\020\002\022\007\n\003MAX\020\003\0321\n\027RowCondi" + "tionExpectation\022\026\n\016sql_expression\030\001 \001(\t\032" + "3\n\031TableConditionExpectation\022\026\n\016sql_expr" - + "ession\030\001 \001(\tB\013\n\trule_typeBt\n\034com.google." - + "cloud.dataplex.v1B\020DataQualityProtoP\001Z@g" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/dataplex/v1;dataplexb\006proto3" + + "ession\030\001 \001(\tB\013\n\trule_typeBl\n\034com.google." + + "cloud.dataplex.v1B\020DataQualityProtoP\001Z8c" + + "loud.google.com/go/dataplex/apiv1/datapl" + + "expb;dataplexpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java index 643cc9cbf075..277ffc93db21 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScan.java @@ -100,8 +100,8 @@ public interface ExecutionSpecOrBuilder * *
            * Optional. Spec related to how often and when a scan should be triggered.
      -     * If not specified, the default is OnDemand, which means the scan will not
      -     * run until the user calls RunDataScan API.
      +     * If not specified, the default is `OnDemand`, which means the scan will
      +     * not run until the user calls `RunDataScan` API.
            * 
      * * @@ -116,8 +116,8 @@ public interface ExecutionSpecOrBuilder * *
            * Optional. Spec related to how often and when a scan should be triggered.
      -     * If not specified, the default is OnDemand, which means the scan will not
      -     * run until the user calls RunDataScan API.
      +     * If not specified, the default is `OnDemand`, which means the scan will
      +     * not run until the user calls `RunDataScan` API.
            * 
      * * @@ -132,8 +132,8 @@ public interface ExecutionSpecOrBuilder * *
            * Optional. Spec related to how often and when a scan should be triggered.
      -     * If not specified, the default is OnDemand, which means the scan will not
      -     * run until the user calls RunDataScan API.
      +     * If not specified, the default is `OnDemand`, which means the scan will
      +     * not run until the user calls `RunDataScan` API.
            * 
      * * @@ -146,8 +146,9 @@ public interface ExecutionSpecOrBuilder * * *
      -     * Immutable. The unnested field (Date or Timestamp) that contains values
      -     * that monotonically increase over time.
      +     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +     * contains values which monotonically increase over time.
      +     * If not specified, a data scan will run for all data in the table.
            * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -159,8 +160,9 @@ public interface ExecutionSpecOrBuilder * * *
      -     * Immutable. The unnested field (Date or Timestamp) that contains values
      -     * that monotonically increase over time.
      +     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +     * contains values which monotonically increase over time.
      +     * If not specified, a data scan will run for all data in the table.
            * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -172,8 +174,9 @@ public interface ExecutionSpecOrBuilder * * *
      -     * Immutable. The unnested field (Date or Timestamp) that contains values
      -     * that monotonically increase over time.
      +     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +     * contains values which monotonically increase over time.
      +     * If not specified, a data scan will run for all data in the table.
            * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -282,8 +285,8 @@ public IncrementalCase getIncrementalCase() { * *
            * Optional. Spec related to how often and when a scan should be triggered.
      -     * If not specified, the default is OnDemand, which means the scan will not
      -     * run until the user calls RunDataScan API.
      +     * If not specified, the default is `OnDemand`, which means the scan will
      +     * not run until the user calls `RunDataScan` API.
            * 
      * * @@ -301,8 +304,8 @@ public boolean hasTrigger() { * *
            * Optional. Spec related to how often and when a scan should be triggered.
      -     * If not specified, the default is OnDemand, which means the scan will not
      -     * run until the user calls RunDataScan API.
      +     * If not specified, the default is `OnDemand`, which means the scan will
      +     * not run until the user calls `RunDataScan` API.
            * 
      * * @@ -322,8 +325,8 @@ public com.google.cloud.dataplex.v1.Trigger getTrigger() { * *
            * Optional. Spec related to how often and when a scan should be triggered.
      -     * If not specified, the default is OnDemand, which means the scan will not
      -     * run until the user calls RunDataScan API.
      +     * If not specified, the default is `OnDemand`, which means the scan will
      +     * not run until the user calls `RunDataScan` API.
            * 
      * * @@ -342,8 +345,9 @@ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() { * * *
      -     * Immutable. The unnested field (Date or Timestamp) that contains values
      -     * that monotonically increase over time.
      +     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +     * contains values which monotonically increase over time.
      +     * If not specified, a data scan will run for all data in the table.
            * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -357,8 +361,9 @@ public boolean hasField() { * * *
      -     * Immutable. The unnested field (Date or Timestamp) that contains values
      -     * that monotonically increase over time.
      +     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +     * contains values which monotonically increase over time.
      +     * If not specified, a data scan will run for all data in the table.
            * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -385,8 +390,9 @@ public java.lang.String getField() { * * *
      -     * Immutable. The unnested field (Date or Timestamp) that contains values
      -     * that monotonically increase over time.
      +     * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +     * contains values which monotonically increase over time.
      +     * If not specified, a data scan will run for all data in the table.
            * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -839,8 +845,8 @@ public Builder clearIncremental() { * *
              * Optional. Spec related to how often and when a scan should be triggered.
      -       * If not specified, the default is OnDemand, which means the scan will not
      -       * run until the user calls RunDataScan API.
      +       * If not specified, the default is `OnDemand`, which means the scan will
      +       * not run until the user calls `RunDataScan` API.
              * 
      * * @@ -857,8 +863,8 @@ public boolean hasTrigger() { * *
              * Optional. Spec related to how often and when a scan should be triggered.
      -       * If not specified, the default is OnDemand, which means the scan will not
      -       * run until the user calls RunDataScan API.
      +       * If not specified, the default is `OnDemand`, which means the scan will
      +       * not run until the user calls `RunDataScan` API.
              * 
      * * @@ -881,8 +887,8 @@ public com.google.cloud.dataplex.v1.Trigger getTrigger() { * *
              * Optional. Spec related to how often and when a scan should be triggered.
      -       * If not specified, the default is OnDemand, which means the scan will not
      -       * run until the user calls RunDataScan API.
      +       * If not specified, the default is `OnDemand`, which means the scan will
      +       * not run until the user calls `RunDataScan` API.
              * 
      * * @@ -907,8 +913,8 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger value) { * *
              * Optional. Spec related to how often and when a scan should be triggered.
      -       * If not specified, the default is OnDemand, which means the scan will not
      -       * run until the user calls RunDataScan API.
      +       * If not specified, the default is `OnDemand`, which means the scan will
      +       * not run until the user calls `RunDataScan` API.
              * 
      * * @@ -930,8 +936,8 @@ public Builder setTrigger(com.google.cloud.dataplex.v1.Trigger.Builder builderFo * *
              * Optional. Spec related to how often and when a scan should be triggered.
      -       * If not specified, the default is OnDemand, which means the scan will not
      -       * run until the user calls RunDataScan API.
      +       * If not specified, the default is `OnDemand`, which means the scan will
      +       * not run until the user calls `RunDataScan` API.
              * 
      * * @@ -959,8 +965,8 @@ public Builder mergeTrigger(com.google.cloud.dataplex.v1.Trigger value) { * *
              * Optional. Spec related to how often and when a scan should be triggered.
      -       * If not specified, the default is OnDemand, which means the scan will not
      -       * run until the user calls RunDataScan API.
      +       * If not specified, the default is `OnDemand`, which means the scan will
      +       * not run until the user calls `RunDataScan` API.
              * 
      * * @@ -982,8 +988,8 @@ public Builder clearTrigger() { * *
              * Optional. Spec related to how often and when a scan should be triggered.
      -       * If not specified, the default is OnDemand, which means the scan will not
      -       * run until the user calls RunDataScan API.
      +       * If not specified, the default is `OnDemand`, which means the scan will
      +       * not run until the user calls `RunDataScan` API.
              * 
      * * @@ -1000,8 +1006,8 @@ public com.google.cloud.dataplex.v1.Trigger.Builder getTriggerBuilder() { * *
              * Optional. Spec related to how often and when a scan should be triggered.
      -       * If not specified, the default is OnDemand, which means the scan will not
      -       * run until the user calls RunDataScan API.
      +       * If not specified, the default is `OnDemand`, which means the scan will
      +       * not run until the user calls `RunDataScan` API.
              * 
      * * @@ -1022,8 +1028,8 @@ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() { * *
              * Optional. Spec related to how often and when a scan should be triggered.
      -       * If not specified, the default is OnDemand, which means the scan will not
      -       * run until the user calls RunDataScan API.
      +       * If not specified, the default is `OnDemand`, which means the scan will
      +       * not run until the user calls `RunDataScan` API.
              * 
      * * @@ -1051,8 +1057,9 @@ public com.google.cloud.dataplex.v1.TriggerOrBuilder getTriggerOrBuilder() { * * *
      -       * Immutable. The unnested field (Date or Timestamp) that contains values
      -       * that monotonically increase over time.
      +       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +       * contains values which monotonically increase over time.
      +       * If not specified, a data scan will run for all data in the table.
              * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1067,8 +1074,9 @@ public boolean hasField() { * * *
      -       * Immutable. The unnested field (Date or Timestamp) that contains values
      -       * that monotonically increase over time.
      +       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +       * contains values which monotonically increase over time.
      +       * If not specified, a data scan will run for all data in the table.
              * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1096,8 +1104,9 @@ public java.lang.String getField() { * * *
      -       * Immutable. The unnested field (Date or Timestamp) that contains values
      -       * that monotonically increase over time.
      +       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +       * contains values which monotonically increase over time.
      +       * If not specified, a data scan will run for all data in the table.
              * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1125,8 +1134,9 @@ public com.google.protobuf.ByteString getFieldBytes() { * * *
      -       * Immutable. The unnested field (Date or Timestamp) that contains values
      -       * that monotonically increase over time.
      +       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +       * contains values which monotonically increase over time.
      +       * If not specified, a data scan will run for all data in the table.
              * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1147,8 +1157,9 @@ public Builder setField(java.lang.String value) { * * *
      -       * Immutable. The unnested field (Date or Timestamp) that contains values
      -       * that monotonically increase over time.
      +       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +       * contains values which monotonically increase over time.
      +       * If not specified, a data scan will run for all data in the table.
              * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1167,8 +1178,9 @@ public Builder clearField() { * * *
      -       * Immutable. The unnested field (Date or Timestamp) that contains values
      -       * that monotonically increase over time.
      +       * Immutable. The unnested field (of type *Date* or *Timestamp*) that
      +       * contains values which monotonically increase over time.
      +       * If not specified, a data scan will run for all data in the table.
              * 
      * * string field = 100 [(.google.api.field_behavior) = IMMUTABLE]; @@ -2400,8 +2412,8 @@ public ResultCase getResultCase() { * *
          * Output only. The relative resource name of the scan, of the form:
      -   * projects/{project}/locations/{location_id}/dataScans/{datascan_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -2426,8 +2438,8 @@ public java.lang.String getName() { * *
          * Output only. The relative resource name of the scan, of the form:
      -   * projects/{project}/locations/{location_id}/dataScans/{datascan_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -2900,7 +2912,7 @@ public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { * *
          * Optional. DataScan execution settings.
      -   * If not specified, the fields under it will use their default values.
      +   * If not specified, the fields in it will use their default values.
          * 
      * * @@ -2918,7 +2930,7 @@ public boolean hasExecutionSpec() { * *
          * Optional. DataScan execution settings.
      -   * If not specified, the fields under it will use their default values.
      +   * If not specified, the fields in it will use their default values.
          * 
      * * @@ -2938,7 +2950,7 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec() { * *
          * Optional. DataScan execution settings.
      -   * If not specified, the fields under it will use their default values.
      +   * If not specified, the fields in it will use their default values.
          * 
      * * @@ -4145,8 +4157,8 @@ public Builder clearResult() { * *
            * Output only. The relative resource name of the scan, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -4170,8 +4182,8 @@ public java.lang.String getName() { * *
            * Output only. The relative resource name of the scan, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -4195,8 +4207,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
            * Output only. The relative resource name of the scan, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -4219,8 +4231,8 @@ public Builder setName(java.lang.String value) { * *
            * Output only. The relative resource name of the scan, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -4239,8 +4251,8 @@ public Builder clearName() { * *
            * Output only. The relative resource name of the scan, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -5461,7 +5473,7 @@ public com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder() { * *
            * Optional. DataScan execution settings.
      -     * If not specified, the fields under it will use their default values.
      +     * If not specified, the fields in it will use their default values.
            * 
      * * @@ -5478,7 +5490,7 @@ public boolean hasExecutionSpec() { * *
            * Optional. DataScan execution settings.
      -     * If not specified, the fields under it will use their default values.
      +     * If not specified, the fields in it will use their default values.
            * 
      * * @@ -5501,7 +5513,7 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec() { * *
            * Optional. DataScan execution settings.
      -     * If not specified, the fields under it will use their default values.
      +     * If not specified, the fields in it will use their default values.
            * 
      * * @@ -5526,7 +5538,7 @@ public Builder setExecutionSpec(com.google.cloud.dataplex.v1.DataScan.ExecutionS * *
            * Optional. DataScan execution settings.
      -     * If not specified, the fields under it will use their default values.
      +     * If not specified, the fields in it will use their default values.
            * 
      * * @@ -5549,7 +5561,7 @@ public Builder setExecutionSpec( * *
            * Optional. DataScan execution settings.
      -     * If not specified, the fields under it will use their default values.
      +     * If not specified, the fields in it will use their default values.
            * 
      * * @@ -5578,7 +5590,7 @@ public Builder mergeExecutionSpec(com.google.cloud.dataplex.v1.DataScan.Executio * *
            * Optional. DataScan execution settings.
      -     * If not specified, the fields under it will use their default values.
      +     * If not specified, the fields in it will use their default values.
            * 
      * * @@ -5600,7 +5612,7 @@ public Builder clearExecutionSpec() { * *
            * Optional. DataScan execution settings.
      -     * If not specified, the fields under it will use their default values.
      +     * If not specified, the fields in it will use their default values.
            * 
      * * @@ -5617,7 +5629,7 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder getExecutionS * *
            * Optional. DataScan execution settings.
      -     * If not specified, the fields under it will use their default values.
      +     * If not specified, the fields in it will use their default values.
            * 
      * * @@ -5639,7 +5651,7 @@ public com.google.cloud.dataplex.v1.DataScan.ExecutionSpec.Builder getExecutionS * *
            * Optional. DataScan execution settings.
      -     * If not specified, the fields under it will use their default values.
      +     * If not specified, the fields in it will use their default values.
            * 
      * * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java index 90d7c939d749..b3b7d3ca2a6e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJob.java @@ -22,7 +22,7 @@ * * *
      - * A DataScanJob represents an instance of a data scan.
      + * A DataScanJob represents an instance of DataScan execution.
        * 
      * * Protobuf type {@code google.cloud.dataplex.v1.DataScanJob} @@ -419,8 +419,8 @@ public ResultCase getResultCase() { * *
          * Output only. The relative resource name of the DataScanJob, of the form:
      -   * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -445,8 +445,8 @@ public java.lang.String getName() { * *
          * Output only. The relative resource name of the DataScanJob, of the form:
      -   * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -1277,7 +1277,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * A DataScanJob represents an instance of a data scan.
      +   * A DataScanJob represents an instance of DataScan execution.
          * 
      * * Protobuf type {@code google.cloud.dataplex.v1.DataScanJob} @@ -1673,8 +1673,8 @@ public Builder clearResult() { * *
            * Output only. The relative resource name of the DataScanJob, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -1698,8 +1698,8 @@ public java.lang.String getName() { * *
            * Output only. The relative resource name of the DataScanJob, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -1723,8 +1723,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
            * Output only. The relative resource name of the DataScanJob, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -1747,8 +1747,8 @@ public Builder setName(java.lang.String value) { * *
            * Output only. The relative resource name of the DataScanJob, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -1767,8 +1767,8 @@ public Builder clearName() { * *
            * Output only. The relative resource name of the DataScanJob, of the form:
      -     * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java index e68081de8de3..7aa8492ded8d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanJobOrBuilder.java @@ -28,8 +28,8 @@ public interface DataScanJobOrBuilder * *
          * Output only. The relative resource name of the DataScanJob, of the form:
      -   * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -43,8 +43,8 @@ public interface DataScanJobOrBuilder * *
          * Output only. The relative resource name of the DataScanJob, of the form:
      -   * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`,
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java index f44cd9c1f394..1e8f60c68a05 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanOrBuilder.java @@ -28,8 +28,8 @@ public interface DataScanOrBuilder * *
          * Output only. The relative resource name of the scan, of the form:
      -   * projects/{project}/locations/{location_id}/dataScans/{datascan_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -43,8 +43,8 @@ public interface DataScanOrBuilder * *
          * Output only. The relative resource name of the scan, of the form:
      -   * projects/{project}/locations/{location_id}/dataScans/{datascan_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`,
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -339,7 +339,7 @@ java.lang.String getLabelsOrDefault( * *
          * Optional. DataScan execution settings.
      -   * If not specified, the fields under it will use their default values.
      +   * If not specified, the fields in it will use their default values.
          * 
      * * @@ -354,7 +354,7 @@ java.lang.String getLabelsOrDefault( * *
          * Optional. DataScan execution settings.
      -   * If not specified, the fields under it will use their default values.
      +   * If not specified, the fields in it will use their default values.
          * 
      * * @@ -369,7 +369,7 @@ java.lang.String getLabelsOrDefault( * *
          * Optional. DataScan execution settings.
      -   * If not specified, the fields under it will use their default values.
      +   * If not specified, the fields in it will use their default values.
          * 
      * * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java index bbaa5d4683b8..1d27a1d8a67a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScanType.java @@ -32,7 +32,7 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { * * *
      -   * The DataScan Type is unspecified.
      +   * The DataScan type is unspecified.
          * 
      * * DATA_SCAN_TYPE_UNSPECIFIED = 0; @@ -42,7 +42,7 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { * * *
      -   * Data Quality Scan.
      +   * Data Quality scan.
          * 
      * * DATA_QUALITY = 1; @@ -52,7 +52,7 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { * * *
      -   * Data Profile Scan.
      +   * Data Profile scan.
          * 
      * * DATA_PROFILE = 2; @@ -65,7 +65,7 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { * * *
      -   * The DataScan Type is unspecified.
      +   * The DataScan type is unspecified.
          * 
      * * DATA_SCAN_TYPE_UNSPECIFIED = 0; @@ -75,7 +75,7 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { * * *
      -   * Data Quality Scan.
      +   * Data Quality scan.
          * 
      * * DATA_QUALITY = 1; @@ -85,7 +85,7 @@ public enum DataScanType implements com.google.protobuf.ProtocolMessageEnum { * * *
      -   * Data Profile Scan.
      +   * Data Profile scan.
          * 
      * * DATA_PROFILE = 2; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java index c4b76c25847d..36a0a8c70179 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DataScansProto.java @@ -249,10 +249,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "arent=projects/*/locations/*/dataScans/*" + "}/jobs\332A\006parent\032K\312A\027dataplex.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformBr\n\034com.google.cloud.dataple" - + "x.v1B\016DataScansProtoP\001Z@google.golang.or" - + "g/genproto/googleapis/cloud/dataplex/v1;" - + "dataplexb\006proto3" + + "oud-platformBj\n\034com.google.cloud.dataple" + + "x.v1B\016DataScansProtoP\001Z8cloud.google.com" + + "/go/dataplex/apiv1/dataplexpb;dataplexpb" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java index 93a327ff41a7..6ab15e7d5d8c 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequest.java @@ -76,8 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * Required. The resource name of the dataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -104,8 +104,8 @@ public java.lang.String getName() { * *
          * Required. The resource name of the dataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -476,8 +476,8 @@ public Builder mergeFrom( * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -503,8 +503,8 @@ public java.lang.String getName() { * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -530,8 +530,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -556,8 +556,8 @@ public Builder setName(java.lang.String value) { * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -578,8 +578,8 @@ public Builder clearName() { * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java index 7dfbbd99eb33..f6a62a2d4e36 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/DeleteDataScanRequestOrBuilder.java @@ -28,8 +28,8 @@ public interface DeleteDataScanRequestOrBuilder * *
          * Required. The resource name of the dataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -45,8 +45,8 @@ public interface DeleteDataScanRequestOrBuilder * *
          * Required. The resource name of the dataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java index a28f8cfc1f50..e452cca84da7 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequest.java @@ -72,7 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * DataScanJob views for getting a partial dataScanJob.
      +   * DataScanJob view options.
          * 
      * * Protobuf enum {@code google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView} @@ -92,7 +92,7 @@ public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { * * *
      -     * Basic view that does not include spec and result.
      +     * Basic view that does not include *spec* and *result*.
            * 
      * * BASIC = 1; @@ -125,7 +125,7 @@ public enum DataScanJobView implements com.google.protobuf.ProtocolMessageEnum { * * *
      -     * Basic view that does not include spec and result.
      +     * Basic view that does not include *spec* and *result*.
            * 
      * * BASIC = 1; @@ -238,8 +238,8 @@ private DataScanJobView(int value) { * *
          * Required. The resource name of the DataScanJob:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -266,8 +266,8 @@ public java.lang.String getName() { * *
          * Required. The resource name of the DataScanJob:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -296,8 +296,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
      -   * Optional. Used to select the subset of DataScan information to return.
      -   * Defaults to `BASIC`.
      +   * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
          * 
      * * @@ -314,8 +313,7 @@ public int getViewValue() { * * *
      -   * Optional. Used to select the subset of DataScan information to return.
      -   * Defaults to `BASIC`.
      +   * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
          * 
      * * @@ -709,8 +707,8 @@ public Builder mergeFrom( * *
            * Required. The resource name of the DataScanJob:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -736,8 +734,8 @@ public java.lang.String getName() { * *
            * Required. The resource name of the DataScanJob:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -763,8 +761,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
            * Required. The resource name of the DataScanJob:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -789,8 +787,8 @@ public Builder setName(java.lang.String value) { * *
            * Required. The resource name of the DataScanJob:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -811,8 +809,8 @@ public Builder clearName() { * *
            * Required. The resource name of the DataScanJob:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -839,8 +837,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
            * 
      * * @@ -857,8 +854,7 @@ public int getViewValue() { * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
            * 
      * * @@ -878,8 +874,7 @@ public Builder setViewValue(int value) { * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
            * 
      * * @@ -900,8 +895,7 @@ public com.google.cloud.dataplex.v1.GetDataScanJobRequest.DataScanJobView getVie * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
            * 
      * * @@ -925,8 +919,7 @@ public Builder setView( * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
            * 
      * * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java index 779b37875041..58473e92ffc5 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanJobRequestOrBuilder.java @@ -28,8 +28,8 @@ public interface GetDataScanJobRequestOrBuilder * *
          * Required. The resource name of the DataScanJob:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -45,8 +45,8 @@ public interface GetDataScanJobRequestOrBuilder * *
          * Required. The resource name of the DataScanJob:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -62,8 +62,7 @@ public interface GetDataScanJobRequestOrBuilder * * *
      -   * Optional. Used to select the subset of DataScan information to return.
      -   * Defaults to `BASIC`.
      +   * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
          * 
      * * @@ -77,8 +76,7 @@ public interface GetDataScanJobRequestOrBuilder * * *
      -   * Optional. Used to select the subset of DataScan information to return.
      -   * Defaults to `BASIC`.
      +   * Optional. Select the DataScanJob view to return. Defaults to `BASIC`.
          * 
      * * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java index fc04ffbc4d89..a461bf09767a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequest.java @@ -72,7 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * DataScan views for getting a partial dataScan.
      +   * DataScan view options.
          * 
      * * Protobuf enum {@code google.cloud.dataplex.v1.GetDataScanRequest.DataScanView} @@ -92,7 +92,7 @@ public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { * * *
      -     * Basic view that does not include spec and result.
      +     * Basic view that does not include *spec* and *result*.
            * 
      * * BASIC = 1; @@ -125,7 +125,7 @@ public enum DataScanView implements com.google.protobuf.ProtocolMessageEnum { * * *
      -     * Basic view that does not include spec and result.
      +     * Basic view that does not include *spec* and *result*.
            * 
      * * BASIC = 1; @@ -234,8 +234,8 @@ private DataScanView(int value) { * *
          * Required. The resource name of the dataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -262,8 +262,8 @@ public java.lang.String getName() { * *
          * Required. The resource name of the dataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -292,8 +292,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
      -   * Optional. Used to select the subset of DataScan information to return.
      -   * Defaults to `BASIC`.
      +   * Optional. Select the DataScan view to return. Defaults to `BASIC`.
          * 
      * * @@ -310,8 +309,7 @@ public int getViewValue() { * * *
      -   * Optional. Used to select the subset of DataScan information to return.
      -   * Defaults to `BASIC`.
      +   * Optional. Select the DataScan view to return. Defaults to `BASIC`.
          * 
      * * @@ -703,8 +701,8 @@ public Builder mergeFrom( * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -730,8 +728,8 @@ public java.lang.String getName() { * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -757,8 +755,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -783,8 +781,8 @@ public Builder setName(java.lang.String value) { * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -805,8 +803,8 @@ public Builder clearName() { * *
            * Required. The resource name of the dataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -833,8 +831,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScan view to return. Defaults to `BASIC`.
            * 
      * * @@ -851,8 +848,7 @@ public int getViewValue() { * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScan view to return. Defaults to `BASIC`.
            * 
      * * @@ -872,8 +868,7 @@ public Builder setViewValue(int value) { * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScan view to return. Defaults to `BASIC`.
            * 
      * * @@ -894,8 +889,7 @@ public com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView getView() { * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScan view to return. Defaults to `BASIC`.
            * 
      * * @@ -918,8 +912,7 @@ public Builder setView(com.google.cloud.dataplex.v1.GetDataScanRequest.DataScanV * * *
      -     * Optional. Used to select the subset of DataScan information to return.
      -     * Defaults to `BASIC`.
      +     * Optional. Select the DataScan view to return. Defaults to `BASIC`.
            * 
      * * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java index 59d59c8cccfb..50f3b5c7ebbe 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/GetDataScanRequestOrBuilder.java @@ -28,8 +28,8 @@ public interface GetDataScanRequestOrBuilder * *
          * Required. The resource name of the dataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -45,8 +45,8 @@ public interface GetDataScanRequestOrBuilder * *
          * Required. The resource name of the dataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -62,8 +62,7 @@ public interface GetDataScanRequestOrBuilder * * *
      -   * Optional. Used to select the subset of DataScan information to return.
      -   * Defaults to `BASIC`.
      +   * Optional. Select the DataScan view to return. Defaults to `BASIC`.
          * 
      * * @@ -77,8 +76,7 @@ public interface GetDataScanRequestOrBuilder * * *
      -   * Optional. Used to select the subset of DataScan information to return.
      -   * Defaults to `BASIC`.
      +   * Optional. Select the DataScan view to return. Defaults to `BASIC`.
          * 
      * * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java index bd52413dc433..ac9789bd83d1 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequest.java @@ -77,8 +77,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * Required. The resource name of the parent environment:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -105,8 +105,8 @@ public java.lang.String getParent() { * *
          * Required. The resource name of the parent environment:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -601,8 +601,8 @@ public Builder mergeFrom( * *
            * Required. The resource name of the parent environment:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -628,8 +628,8 @@ public java.lang.String getParent() { * *
            * Required. The resource name of the parent environment:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -655,8 +655,8 @@ public com.google.protobuf.ByteString getParentBytes() { * *
            * Required. The resource name of the parent environment:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -681,8 +681,8 @@ public Builder setParent(java.lang.String value) { * *
            * Required. The resource name of the parent environment:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -703,8 +703,8 @@ public Builder clearParent() { * *
            * Required. The resource name of the parent environment:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java index ca5590b71487..ca0964d2b57e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsRequestOrBuilder.java @@ -28,8 +28,8 @@ public interface ListDataScanJobsRequestOrBuilder * *
          * Required. The resource name of the parent environment:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -45,8 +45,8 @@ public interface ListDataScanJobsRequestOrBuilder * *
          * Required. The resource name of the parent environment:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java index 0c8eeb6df311..0b47312f0b7c 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponse.java @@ -76,7 +76,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -89,7 +89,7 @@ public java.util.List getDataScanJobsL * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -103,7 +103,7 @@ public java.util.List getDataScanJobsL * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -116,7 +116,7 @@ public int getDataScanJobsCount() { * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -129,7 +129,7 @@ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index) { * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -628,7 +628,7 @@ private void ensureDataScanJobsIsMutable() { * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -644,7 +644,7 @@ public java.util.List getDataScanJobsL * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -660,7 +660,7 @@ public int getDataScanJobsCount() { * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -676,7 +676,7 @@ public com.google.cloud.dataplex.v1.DataScanJob getDataScanJobs(int index) { * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -698,7 +698,7 @@ public Builder setDataScanJobs(int index, com.google.cloud.dataplex.v1.DataScanJ * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -718,7 +718,7 @@ public Builder setDataScanJobs( * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -740,7 +740,7 @@ public Builder addDataScanJobs(com.google.cloud.dataplex.v1.DataScanJob value) { * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -762,7 +762,7 @@ public Builder addDataScanJobs(int index, com.google.cloud.dataplex.v1.DataScanJ * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -782,7 +782,7 @@ public Builder addDataScanJobs( * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -802,7 +802,7 @@ public Builder addDataScanJobs( * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -822,7 +822,7 @@ public Builder addAllDataScanJobs( * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -841,7 +841,7 @@ public Builder clearDataScanJobs() { * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -860,7 +860,7 @@ public Builder removeDataScanJobs(int index) { * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -872,7 +872,7 @@ public com.google.cloud.dataplex.v1.DataScanJob.Builder getDataScanJobsBuilder(i * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -888,7 +888,7 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilde * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -905,7 +905,7 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getDataScanJobsOrBuilde * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -918,7 +918,7 @@ public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder() * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -931,7 +931,7 @@ public com.google.cloud.dataplex.v1.DataScanJob.Builder addDataScanJobsBuilder(i * * *
      -     * DataScanJobs (metadata only) under a given dataScan.
      +     * DataScanJobs (`BASIC` view only) under a given dataScan.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java index 21bc4fa5f157..bd7d6032e39a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScanJobsResponseOrBuilder.java @@ -27,7 +27,7 @@ public interface ListDataScanJobsResponseOrBuilder * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -37,7 +37,7 @@ public interface ListDataScanJobsResponseOrBuilder * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -47,7 +47,7 @@ public interface ListDataScanJobsResponseOrBuilder * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -57,7 +57,7 @@ public interface ListDataScanJobsResponseOrBuilder * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; @@ -68,7 +68,7 @@ public interface ListDataScanJobsResponseOrBuilder * * *
      -   * DataScanJobs (metadata only) under a given dataScan.
      +   * DataScanJobs (`BASIC` view only) under a given dataScan.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScanJob data_scan_jobs = 1; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java index bfb9b882dc92..b8849aa5bc73 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequest.java @@ -78,8 +78,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Required. projects/{project}/locations/{location_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * Required. The resource name of the parent location:
      +   * `projects/{project}/locations/{location_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -105,8 +106,9 @@ public java.lang.String getParent() { * * *
      -   * Required. projects/{project}/locations/{location_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * Required. The resource name of the parent location:
      +   * `projects/{project}/locations/{location_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -265,7 +267,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * *
      -   * Optional. Order by fields (name or create_time) for the result.
      +   * Optional. Order by fields (`name` or `create_time`) for the result.
          * If not specified, the ordering is undefined.
          * 
      * @@ -289,7 +291,7 @@ public java.lang.String getOrderBy() { * * *
      -   * Optional. Order by fields (name or create_time) for the result.
      +   * Optional. Order by fields (`name` or `create_time`) for the result.
          * If not specified, the ordering is undefined.
          * 
      * @@ -751,8 +753,9 @@ public Builder mergeFrom( * * *
      -     * Required. projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * Required. The resource name of the parent location:
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -777,8 +780,9 @@ public java.lang.String getParent() { * * *
      -     * Required. projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * Required. The resource name of the parent location:
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -803,8 +807,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
      -     * Required. projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * Required. The resource name of the parent location:
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -828,8 +833,9 @@ public Builder setParent(java.lang.String value) { * * *
      -     * Required. projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * Required. The resource name of the parent location:
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -849,8 +855,9 @@ public Builder clearParent() { * * *
      -     * Required. projects/{project}/locations/{location_id}
      -     * where `{project}` refers to a project_id or project_number and
      +     * Required. The resource name of the parent location:
      +     * `projects/{project}/locations/{location_id}`
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
            * 
      * @@ -1163,7 +1170,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. Order by fields (name or create_time) for the result.
      +     * Optional. Order by fields (`name` or `create_time`) for the result.
            * If not specified, the ordering is undefined.
            * 
      * @@ -1186,7 +1193,7 @@ public java.lang.String getOrderBy() { * * *
      -     * Optional. Order by fields (name or create_time) for the result.
      +     * Optional. Order by fields (`name` or `create_time`) for the result.
            * If not specified, the ordering is undefined.
            * 
      * @@ -1209,7 +1216,7 @@ public com.google.protobuf.ByteString getOrderByBytes() { * * *
      -     * Optional. Order by fields (name or create_time) for the result.
      +     * Optional. Order by fields (`name` or `create_time`) for the result.
            * If not specified, the ordering is undefined.
            * 
      * @@ -1231,7 +1238,7 @@ public Builder setOrderBy(java.lang.String value) { * * *
      -     * Optional. Order by fields (name or create_time) for the result.
      +     * Optional. Order by fields (`name` or `create_time`) for the result.
            * If not specified, the ordering is undefined.
            * 
      * @@ -1249,7 +1256,7 @@ public Builder clearOrderBy() { * * *
      -     * Optional. Order by fields (name or create_time) for the result.
      +     * Optional. Order by fields (`name` or `create_time`) for the result.
            * If not specified, the ordering is undefined.
            * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java index 6b36eae208dd..cf6b94d1fd23 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansRequestOrBuilder.java @@ -27,8 +27,9 @@ public interface ListDataScansRequestOrBuilder * * *
      -   * Required. projects/{project}/locations/{location_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * Required. The resource name of the parent location:
      +   * `projects/{project}/locations/{location_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -43,8 +44,9 @@ public interface ListDataScansRequestOrBuilder * * *
      -   * Required. projects/{project}/locations/{location_id}
      -   * where `{project}` refers to a project_id or project_number and
      +   * Required. The resource name of the parent location:
      +   * `projects/{project}/locations/{location_id}`
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
          * 
      * @@ -131,7 +133,7 @@ public interface ListDataScansRequestOrBuilder * * *
      -   * Optional. Order by fields (name or create_time) for the result.
      +   * Optional. Order by fields (`name` or `create_time`) for the result.
          * If not specified, the ordering is undefined.
          * 
      * @@ -144,7 +146,7 @@ public interface ListDataScansRequestOrBuilder * * *
      -   * Optional. Order by fields (name or create_time) for the result.
      +   * Optional. Order by fields (`name` or `create_time`) for the result.
          * If not specified, the ordering is undefined.
          * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java index b12b2da0b2cb..e315fcf1cfcd 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponse.java @@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -90,7 +90,7 @@ public java.util.List getDataScansList() * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -104,7 +104,7 @@ public java.util.List getDataScansList() * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -117,7 +117,7 @@ public int getDataScansCount() { * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -130,7 +130,7 @@ public com.google.cloud.dataplex.v1.DataScan getDataScans(int index) { * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -730,7 +730,7 @@ private void ensureDataScansIsMutable() { * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -746,7 +746,7 @@ public java.util.List getDataScansList() * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -762,7 +762,7 @@ public int getDataScansCount() { * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -778,7 +778,7 @@ public com.google.cloud.dataplex.v1.DataScan getDataScans(int index) { * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -800,7 +800,7 @@ public Builder setDataScans(int index, com.google.cloud.dataplex.v1.DataScan val * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -820,7 +820,7 @@ public Builder setDataScans( * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -842,7 +842,7 @@ public Builder addDataScans(com.google.cloud.dataplex.v1.DataScan value) { * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -864,7 +864,7 @@ public Builder addDataScans(int index, com.google.cloud.dataplex.v1.DataScan val * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -883,7 +883,7 @@ public Builder addDataScans(com.google.cloud.dataplex.v1.DataScan.Builder builde * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -903,7 +903,7 @@ public Builder addDataScans( * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -923,7 +923,7 @@ public Builder addAllDataScans( * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -942,7 +942,7 @@ public Builder clearDataScans() { * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -961,7 +961,7 @@ public Builder removeDataScans(int index) { * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -973,7 +973,7 @@ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScansBuilder(int ind * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -989,7 +989,7 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -1006,7 +1006,7 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScansOrBuilder(int * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -1019,7 +1019,7 @@ public com.google.cloud.dataplex.v1.DataScan.Builder addDataScansBuilder() { * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -1032,7 +1032,7 @@ public com.google.cloud.dataplex.v1.DataScan.Builder addDataScansBuilder(int ind * * *
      -     * DataScans (metadata only) under the given parent location.
      +     * DataScans (`BASIC` view only) under the given parent location.
            * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java index 40d7de786949..6bacdb85d66d 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ListDataScansResponseOrBuilder.java @@ -27,7 +27,7 @@ public interface ListDataScansResponseOrBuilder * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -37,7 +37,7 @@ public interface ListDataScansResponseOrBuilder * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -47,7 +47,7 @@ public interface ListDataScansResponseOrBuilder * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -57,7 +57,7 @@ public interface ListDataScansResponseOrBuilder * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; @@ -68,7 +68,7 @@ public interface ListDataScansResponseOrBuilder * * *
      -   * DataScans (metadata only) under the given parent location.
      +   * DataScans (`BASIC` view only) under the given parent location.
          * 
      * * repeated .google.cloud.dataplex.v1.DataScan data_scans = 1; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java index 8d274906ed48..71834353b9dd 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/LogsProto.java @@ -181,10 +181,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "D\020\003\022\r\n\tCANCELLED\020\004\"?\n\007Trigger\022\027\n\023TRIGGER" + "_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\014\n\010SCHEDUL" + "E\020\002\"9\n\005Scope\022\025\n\021SCOPE_UNSPECIFIED\020\000\022\010\n\004F" - + "ULL\020\001\022\017\n\013INCREMENTAL\020\002B\010\n\006resultBm\n\034com." - + "google.cloud.dataplex.v1B\tLogsProtoP\001Z@g" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/dataplex/v1;dataplexb\006proto3" + + "ULL\020\001\022\017\n\013INCREMENTAL\020\002B\010\n\006resultBe\n\034com." + + "google.cloud.dataplex.v1B\tLogsProtoP\001Z8c" + + "loud.google.com/go/dataplex/apiv1/datapl" + + "expb;dataplexpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java index d3f176b37619..7f6936d216f6 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/MetadataProto.java @@ -299,10 +299,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ons/*/lakes/*/zones/*/entities/*}/partit" + "ions\332A\006parent\032K\312A\027dataplex.googleapis.co" + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformBq\n\034com.google.cloud.dataplex." - + "v1B\rMetadataProtoP\001Z@google.golang.org/g" - + "enproto/googleapis/cloud/dataplex/v1;dat" - + "aplexb\006proto3" + + "d-platformBi\n\034com.google.cloud.dataplex." + + "v1B\rMetadataProtoP\001Z8cloud.google.com/go" + + "/dataplex/apiv1/dataplexpb;dataplexpbb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java index fca1262ec942..fab843ed6f81 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ProcessingProto.java @@ -74,10 +74,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\001 \001(\01326.google.cloud.dataplex.v1.Scanne" + "dData.IncrementalFieldH\000\032=\n\020IncrementalF" + "ield\022\r\n\005field\030\001 \001(\t\022\r\n\005start\030\002 \001(\t\022\013\n\003en" - + "d\030\003 \001(\tB\014\n\ndata_rangeBs\n\034com.google.clou" - + "d.dataplex.v1B\017ProcessingProtoP\001Z@google" - + ".golang.org/genproto/googleapis/cloud/da" - + "taplex/v1;dataplexb\006proto3" + + "d\030\003 \001(\tB\014\n\ndata_rangeBk\n\034com.google.clou" + + "d.dataplex.v1B\017ProcessingProtoP\001Z8cloud." + + "google.com/go/dataplex/apiv1/dataplexpb;" + + "dataplexpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java index 2cd9db576e1f..3c144ad0246a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ResourcesProto.java @@ -348,11 +348,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "t}/locations/{location}/lakes/{lake}/zon" + "es/{zone}/assets/{asset}*[\n\005State\022\025\n\021STA" + "TE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010CREATING" - + "\020\002\022\014\n\010DELETING\020\003\022\023\n\017ACTION_REQUIRED\020\004Br\n" + + "\020\002\022\014\n\010DELETING\020\003\022\023\n\017ACTION_REQUIRED\020\004Bj\n" + "\034com.google.cloud.dataplex.v1B\016Resources" - + "ProtoP\001Z@google.golang.org/genproto/goog" - + "leapis/cloud/dataplex/v1;dataplexb\006proto" - + "3" + + "ProtoP\001Z8cloud.google.com/go/dataplex/ap" + + "iv1/dataplexpb;dataplexpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java index c58252f85799..21227714f73f 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequest.java @@ -76,10 +76,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * Required. The resource name of the DataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
      -   * Only on-demand DataScans are allowed.
      +   * Only **OnDemand** data scans are allowed.
          * 
      * * @@ -105,10 +105,10 @@ public java.lang.String getName() { * *
          * Required. The resource name of the DataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
      -   * Only on-demand DataScans are allowed.
      +   * Only **OnDemand** data scans are allowed.
          * 
      * * @@ -478,10 +478,10 @@ public Builder mergeFrom( * *
            * Required. The resource name of the DataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
      -     * Only on-demand DataScans are allowed.
      +     * Only **OnDemand** data scans are allowed.
            * 
      * * @@ -506,10 +506,10 @@ public java.lang.String getName() { * *
            * Required. The resource name of the DataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
      -     * Only on-demand DataScans are allowed.
      +     * Only **OnDemand** data scans are allowed.
            * 
      * * @@ -534,10 +534,10 @@ public com.google.protobuf.ByteString getNameBytes() { * *
            * Required. The resource name of the DataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
      -     * Only on-demand DataScans are allowed.
      +     * Only **OnDemand** data scans are allowed.
            * 
      * * @@ -561,10 +561,10 @@ public Builder setName(java.lang.String value) { * *
            * Required. The resource name of the DataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
      -     * Only on-demand DataScans are allowed.
      +     * Only **OnDemand** data scans are allowed.
            * 
      * * @@ -584,10 +584,10 @@ public Builder clearName() { * *
            * Required. The resource name of the DataScan:
      -     * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}.
      -     * where `{project}` refers to a project_id or project_number and
      +     * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
      +     * where `project` refers to a *project_id* or *project_number* and
            * `location_id` refers to a GCP region.
      -     * Only on-demand DataScans are allowed.
      +     * Only **OnDemand** data scans are allowed.
            * 
      * * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java index 33df5181caaa..40de69728775 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanRequestOrBuilder.java @@ -28,10 +28,10 @@ public interface RunDataScanRequestOrBuilder * *
          * Required. The resource name of the DataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
      -   * Only on-demand DataScans are allowed.
      +   * Only **OnDemand** data scans are allowed.
          * 
      * * @@ -46,10 +46,10 @@ public interface RunDataScanRequestOrBuilder * *
          * Required. The resource name of the DataScan:
      -   * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}.
      -   * where `{project}` refers to a project_id or project_number and
      +   * `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`.
      +   * where `project` refers to a *project_id* or *project_number* and
          * `location_id` refers to a GCP region.
      -   * Only on-demand DataScans are allowed.
      +   * Only **OnDemand** data scans are allowed.
          * 
      * * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java index a4f110dde418..4915afd35eae 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponse.java @@ -71,7 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * DataScanJob created by RunDataScan API.
      +   * DataScanJob created by RunDataScan request.
          * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -86,7 +86,7 @@ public boolean hasJob() { * * *
      -   * DataScanJob created by RunDataScan API.
      +   * DataScanJob created by RunDataScan request.
          * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -101,7 +101,7 @@ public com.google.cloud.dataplex.v1.DataScanJob getJob() { * * *
      -   * DataScanJob created by RunDataScan API.
      +   * DataScanJob created by RunDataScan request.
          * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -470,7 +470,7 @@ public Builder mergeFrom( * * *
      -     * DataScanJob created by RunDataScan API.
      +     * DataScanJob created by RunDataScan request.
            * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -484,7 +484,7 @@ public boolean hasJob() { * * *
      -     * DataScanJob created by RunDataScan API.
      +     * DataScanJob created by RunDataScan request.
            * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -502,7 +502,7 @@ public com.google.cloud.dataplex.v1.DataScanJob getJob() { * * *
      -     * DataScanJob created by RunDataScan API.
      +     * DataScanJob created by RunDataScan request.
            * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -524,7 +524,7 @@ public Builder setJob(com.google.cloud.dataplex.v1.DataScanJob value) { * * *
      -     * DataScanJob created by RunDataScan API.
      +     * DataScanJob created by RunDataScan request.
            * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -543,7 +543,7 @@ public Builder setJob(com.google.cloud.dataplex.v1.DataScanJob.Builder builderFo * * *
      -     * DataScanJob created by RunDataScan API.
      +     * DataScanJob created by RunDataScan request.
            * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -568,7 +568,7 @@ public Builder mergeJob(com.google.cloud.dataplex.v1.DataScanJob value) { * * *
      -     * DataScanJob created by RunDataScan API.
      +     * DataScanJob created by RunDataScan request.
            * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -587,7 +587,7 @@ public Builder clearJob() { * * *
      -     * DataScanJob created by RunDataScan API.
      +     * DataScanJob created by RunDataScan request.
            * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -601,7 +601,7 @@ public com.google.cloud.dataplex.v1.DataScanJob.Builder getJobBuilder() { * * *
      -     * DataScanJob created by RunDataScan API.
      +     * DataScanJob created by RunDataScan request.
            * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -617,7 +617,7 @@ public com.google.cloud.dataplex.v1.DataScanJobOrBuilder getJobOrBuilder() { * * *
      -     * DataScanJob created by RunDataScan API.
      +     * DataScanJob created by RunDataScan request.
            * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java index b448f3526097..bfb611f6b64e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/RunDataScanResponseOrBuilder.java @@ -27,7 +27,7 @@ public interface RunDataScanResponseOrBuilder * * *
      -   * DataScanJob created by RunDataScan API.
      +   * DataScanJob created by RunDataScan request.
          * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -39,7 +39,7 @@ public interface RunDataScanResponseOrBuilder * * *
      -   * DataScanJob created by RunDataScan API.
      +   * DataScanJob created by RunDataScan request.
          * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; @@ -51,7 +51,7 @@ public interface RunDataScanResponseOrBuilder * * *
      -   * DataScanJob created by RunDataScan API.
      +   * DataScanJob created by RunDataScan request.
          * 
      * * .google.cloud.dataplex.v1.DataScanJob job = 1; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java index b44951e5df3b..65b65c75aeaf 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ServiceProto.java @@ -498,10 +498,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ojects/*/locations/*/lakes/*/environment" + "s/*}/sessions\332A\006parent\032K\312A\027dataplex.goog" + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformBp\n\034com.google.cloud." - + "dataplex.v1B\014ServiceProtoP\001Z@google.gola" - + "ng.org/genproto/googleapis/cloud/dataple" - + "x/v1;dataplexb\006proto3" + + "auth/cloud-platformBh\n\034com.google.cloud." + + "dataplex.v1B\014ServiceProtoP\001Z8cloud.googl" + + "e.com/go/dataplex/apiv1/dataplexpb;datap" + + "lexpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java index 5db8a78c8a6a..6b08202c6724 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/TasksProto.java @@ -185,10 +185,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "AILED\020\005\022\013\n\007ABORTED\020\006:n\352Ak\n\033dataplex.goog" + "leapis.com/Job\022Lprojects/{project}/locat" + "ions/{location}/lakes/{lake}/tasks/{task" - + "}/jobs/{job}Bn\n\034com.google.cloud.dataple" - + "x.v1B\nTasksProtoP\001Z@google.golang.org/ge" - + "nproto/googleapis/cloud/dataplex/v1;data" - + "plexb\006proto3" + + "}/jobs/{job}Bf\n\034com.google.cloud.dataple" + + "x.v1B\nTasksProtoP\001Z8cloud.google.com/go/" + + "dataplex/apiv1/dataplexpb;dataplexpbb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java index ace52cfe0347..0b2677dc68c1 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequest.java @@ -71,7 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Required. Update description.
      +   * Required. DataScan resource to be updated.
          * Only fields specified in `update_mask` are updated.
          * 
      * @@ -89,7 +89,7 @@ public boolean hasDataScan() { * * *
      -   * Required. Update description.
      +   * Required. DataScan resource to be updated.
          * Only fields specified in `update_mask` are updated.
          * 
      * @@ -109,7 +109,7 @@ public com.google.cloud.dataplex.v1.DataScan getDataScan() { * * *
      -   * Required. Update description.
      +   * Required. DataScan resource to be updated.
          * Only fields specified in `update_mask` are updated.
          * 
      * @@ -563,7 +563,7 @@ public Builder mergeFrom( * * *
      -     * Required. Update description.
      +     * Required. DataScan resource to be updated.
            * Only fields specified in `update_mask` are updated.
            * 
      * @@ -580,7 +580,7 @@ public boolean hasDataScan() { * * *
      -     * Required. Update description.
      +     * Required. DataScan resource to be updated.
            * Only fields specified in `update_mask` are updated.
            * 
      * @@ -603,7 +603,7 @@ public com.google.cloud.dataplex.v1.DataScan getDataScan() { * * *
      -     * Required. Update description.
      +     * Required. DataScan resource to be updated.
            * Only fields specified in `update_mask` are updated.
            * 
      * @@ -628,7 +628,7 @@ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan value) { * * *
      -     * Required. Update description.
      +     * Required. DataScan resource to be updated.
            * Only fields specified in `update_mask` are updated.
            * 
      * @@ -650,7 +650,7 @@ public Builder setDataScan(com.google.cloud.dataplex.v1.DataScan.Builder builder * * *
      -     * Required. Update description.
      +     * Required. DataScan resource to be updated.
            * Only fields specified in `update_mask` are updated.
            * 
      * @@ -678,7 +678,7 @@ public Builder mergeDataScan(com.google.cloud.dataplex.v1.DataScan value) { * * *
      -     * Required. Update description.
      +     * Required. DataScan resource to be updated.
            * Only fields specified in `update_mask` are updated.
            * 
      * @@ -700,7 +700,7 @@ public Builder clearDataScan() { * * *
      -     * Required. Update description.
      +     * Required. DataScan resource to be updated.
            * Only fields specified in `update_mask` are updated.
            * 
      * @@ -717,7 +717,7 @@ public com.google.cloud.dataplex.v1.DataScan.Builder getDataScanBuilder() { * * *
      -     * Required. Update description.
      +     * Required. DataScan resource to be updated.
            * Only fields specified in `update_mask` are updated.
            * 
      * @@ -738,7 +738,7 @@ public com.google.cloud.dataplex.v1.DataScanOrBuilder getDataScanOrBuilder() { * * *
      -     * Required. Update description.
      +     * Required. DataScan resource to be updated.
            * Only fields specified in `update_mask` are updated.
            * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java index 23e0938cef3f..f2a97f0b432a 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/UpdateDataScanRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface UpdateDataScanRequestOrBuilder * * *
      -   * Required. Update description.
      +   * Required. DataScan resource to be updated.
          * Only fields specified in `update_mask` are updated.
          * 
      * @@ -42,7 +42,7 @@ public interface UpdateDataScanRequestOrBuilder * * *
      -   * Required. Update description.
      +   * Required. DataScan resource to be updated.
          * Only fields specified in `update_mask` are updated.
          * 
      * @@ -57,7 +57,7 @@ public interface UpdateDataScanRequestOrBuilder * * *
      -   * Required. Update description.
      +   * Required. DataScan resource to be updated.
          * Only fields specified in `update_mask` are updated.
          * 
      * diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto index ece76eb5a93a..9befe7ba5223 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/analyze.proto @@ -22,7 +22,7 @@ import "google/cloud/dataplex/v1/resources.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "AnalyzeProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto index 9064de5c32ab..b63d8ae977f1 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/content.proto @@ -26,7 +26,7 @@ import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "ContentProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto index bb8695af09cf..05a005f2edde 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_profile.proto @@ -18,7 +18,7 @@ package google.cloud.dataplex.v1; import "google/cloud/dataplex/v1/processing.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "DataProfileProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto index b0953a0ebcfe..fc9acd06c1fa 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/data_quality.proto @@ -19,7 +19,7 @@ package google.cloud.dataplex.v1; import "google/api/field_behavior.proto"; import "google/cloud/dataplex/v1/processing.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "DataQualityProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto index 646199d941cc..d2320c566b27 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/datascans.proto @@ -28,17 +28,20 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "DataScansProto"; option java_package = "com.google.cloud.dataplex.v1"; +// DataScanService manages DataScan resources which can be configured to run +// various types of data scanning workload and generate enriched metadata (e.g. +// Data Profile, Data Quality) for the data source. service DataScanService { option (google.api.default_host) = "dataplex.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - // Creates a dataScan resource. + // Creates a DataScan resource. rpc CreateDataScan(CreateDataScanRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -52,7 +55,7 @@ service DataScanService { }; } - // Update the dataScan resource. + // Updates a DataScan resource. rpc UpdateDataScan(UpdateDataScanRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -66,7 +69,7 @@ service DataScanService { }; } - // Delete the dataScan resource. + // Deletes a DataScan resource. rpc DeleteDataScan(DeleteDataScanRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -79,7 +82,7 @@ service DataScanService { }; } - // Get dataScan resource. + // Gets a DataScan resource. rpc GetDataScan(GetDataScanRequest) returns (DataScan) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/dataScans/*}" @@ -87,7 +90,7 @@ service DataScanService { option (google.api.method_signature) = "name"; } - // Lists dataScans. + // Lists DataScans. rpc ListDataScans(ListDataScansRequest) returns (ListDataScansResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/dataScans" @@ -95,7 +98,7 @@ service DataScanService { option (google.api.method_signature) = "parent"; } - // Run an on demand execution of a DataScan. + // Runs an on-demand execution of a DataScan rpc RunDataScan(RunDataScanRequest) returns (RunDataScanResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/dataScans/*}:run" @@ -104,7 +107,7 @@ service DataScanService { option (google.api.method_signature) = "name"; } - // Get DataScanJob resource. + // Gets a DataScanJob resource. rpc GetDataScanJob(GetDataScanJobRequest) returns (DataScanJob) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/dataScans/*/jobs/*}" @@ -112,7 +115,7 @@ service DataScanService { option (google.api.method_signature) = "name"; } - // Lists DataScanJobs under the given dataScan. + // Lists DataScanJobs under the given DataScan. rpc ListDataScanJobs(ListDataScanJobsRequest) returns (ListDataScanJobsResponse) { option (google.api.http) = { @@ -125,8 +128,8 @@ service DataScanService { // Create dataScan request. message CreateDataScanRequest { // Required. The resource name of the parent location: - // projects/{project}/locations/{location_id} - // where `{project}` refers to a project_id or project_number and + // `projects/{project}/locations/{location_id}` + // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -139,6 +142,7 @@ message CreateDataScanRequest { DataScan data_scan = 2 [(google.api.field_behavior) = REQUIRED]; // Required. DataScan identifier. + // // * Must contain only lowercase letters, numbers and hyphens. // * Must start with a letter. // * Must end with a number or a letter. @@ -149,7 +153,8 @@ message CreateDataScanRequest { // Update dataScan request. message UpdateDataScanRequest { - // Required. Update description. + // Required. DataScan resource to be updated. + // // Only fields specified in `update_mask` are updated. DataScan data_scan = 1 [(google.api.field_behavior) = REQUIRED]; @@ -161,8 +166,8 @@ message UpdateDataScanRequest { // Delete dataScan request. message DeleteDataScanRequest { // Required. The resource name of the dataScan: - // projects/{project}/locations/{location_id}/dataScans/{data_scan_id} - // where `{project}` refers to a project_id or project_number and + // `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}` + // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -174,12 +179,12 @@ message DeleteDataScanRequest { // Get dataScan request. message GetDataScanRequest { - // DataScan views for getting a partial dataScan. + // DataScan view options. enum DataScanView { // The API will default to the `BASIC` view. DATA_SCAN_VIEW_UNSPECIFIED = 0; - // Basic view that does not include spec and result. + // Basic view that does not include *spec* and *result*. BASIC = 1; // Include everything. @@ -187,8 +192,8 @@ message GetDataScanRequest { } // Required. The resource name of the dataScan: - // projects/{project}/locations/{location_id}/dataScans/{data_scan_id} - // where `{project}` refers to a project_id or project_number and + // `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}` + // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -197,15 +202,15 @@ message GetDataScanRequest { } ]; - // Optional. Used to select the subset of DataScan information to return. - // Defaults to `BASIC`. + // Optional. Select the DataScan view to return. Defaults to `BASIC`. DataScanView view = 2 [(google.api.field_behavior) = OPTIONAL]; } // List dataScans request. message ListDataScansRequest { - // Required. projects/{project}/locations/{location_id} - // where `{project}` refers to a project_id or project_number and + // Required. The resource name of the parent location: + // `projects/{project}/locations/{location_id}` + // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -228,14 +233,14 @@ message ListDataScansRequest { // Optional. Filter request. string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Order by fields (name or create_time) for the result. + // Optional. Order by fields (`name` or `create_time`) for the result. // If not specified, the ordering is undefined. string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } // List dataScans response. message ListDataScansResponse { - // DataScans (metadata only) under the given parent location. + // DataScans (`BASIC` view only) under the given parent location. repeated DataScan data_scans = 1; // Token to retrieve the next page of results, or empty if there are no more @@ -249,10 +254,11 @@ message ListDataScansResponse { // Run DataScan Request message RunDataScanRequest { // Required. The resource name of the DataScan: - // projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. - // where `{project}` refers to a project_id or project_number and + // `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}`. + // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. - // Only on-demand DataScans are allowed. + // + // Only **OnDemand** data scans are allowed. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -263,18 +269,18 @@ message RunDataScanRequest { // Run DataScan Response. message RunDataScanResponse { - // DataScanJob created by RunDataScan API. + // DataScanJob created by RunDataScan request. DataScanJob job = 1; } // Get DataScanJob request. message GetDataScanJobRequest { - // DataScanJob views for getting a partial dataScanJob. + // DataScanJob view options. enum DataScanJobView { // The API will default to the `BASIC` view. DATA_SCAN_JOB_VIEW_UNSPECIFIED = 0; - // Basic view that does not include spec and result. + // Basic view that does not include *spec* and *result*. BASIC = 1; // Include everything. @@ -282,8 +288,8 @@ message GetDataScanJobRequest { } // Required. The resource name of the DataScanJob: - // projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id} - // where `{project}` refers to a project_id or project_number and + // `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}` + // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -292,16 +298,15 @@ message GetDataScanJobRequest { } ]; - // Optional. Used to select the subset of DataScan information to return. - // Defaults to `BASIC`. + // Optional. Select the DataScanJob view to return. Defaults to `BASIC`. DataScanJobView view = 2 [(google.api.field_behavior) = OPTIONAL]; } // List DataScanJobs request. message ListDataScanJobsRequest { // Required. The resource name of the parent environment: - // projects/{project}/locations/{location_id}/dataScans/{data_scan_id} - // where `{project}` refers to a project_id or project_number and + // `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}` + // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -325,7 +330,7 @@ message ListDataScanJobsRequest { // List DataScanJobs response. message ListDataScanJobsResponse { - // DataScanJobs (metadata only) under a given dataScan. + // DataScanJobs (`BASIC` view only) under a given dataScan. repeated DataScanJob data_scan_jobs = 1; // Token to retrieve the next page of results, or empty if there are no more @@ -352,16 +357,21 @@ message DataScan { // DataScan execution settings. message ExecutionSpec { // Optional. Spec related to how often and when a scan should be triggered. - // If not specified, the default is OnDemand, which means the scan will not - // run until the user calls RunDataScan API. + // + // If not specified, the default is `OnDemand`, which means the scan will + // not run until the user calls `RunDataScan` API. Trigger trigger = 1 [(google.api.field_behavior) = OPTIONAL]; - // If not specified, run a data scan on all data in the table. - // The incremental is immutable, which means once the field is set, - // it cannot be unset, and vice versa. + // Spec related to incremental scan of the data + // + // When an option is selected for incremental scan, it cannot be unset or + // changed. If not specified, a data scan will run for all data in the + // table. oneof incremental { - // Immutable. The unnested field (Date or Timestamp) that contains values - // that monotonically increase over time. + // Immutable. The unnested field (of type *Date* or *Timestamp*) that + // contains values which monotonically increase over time. + // + // If not specified, a data scan will run for all data in the table. string field = 100 [(google.api.field_behavior) = IMMUTABLE]; } } @@ -376,8 +386,8 @@ message DataScan { } // Output only. The relative resource name of the scan, of the form: - // projects/{project}/locations/{location_id}/dataScans/{datascan_id}. - // where `{project}` refers to a project_id or project_number and + // `projects/{project}/locations/{location_id}/dataScans/{datascan_id}`, + // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -386,10 +396,12 @@ message DataScan { string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Description of the scan. + // // * Must be between 1-1024 characters. string description = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. User friendly display name. + // // * Must be between 1-256 characters. string display_name = 4 [(google.api.field_behavior) = OPTIONAL]; @@ -411,7 +423,8 @@ message DataScan { DataSource data = 9 [(google.api.field_behavior) = REQUIRED]; // Optional. DataScan execution settings. - // If not specified, the fields under it will use their default values. + // + // If not specified, the fields in it will use their default values. ExecutionSpec execution_spec = 10 [(google.api.field_behavior) = OPTIONAL]; // Output only. Status of the data scan execution. @@ -444,7 +457,7 @@ message DataScan { } } -// A DataScanJob represents an instance of a data scan. +// A DataScanJob represents an instance of DataScan execution. message DataScanJob { option (google.api.resource) = { type: "dataplex.googleapis.com/DataScanJob" @@ -476,8 +489,8 @@ message DataScanJob { } // Output only. The relative resource name of the DataScanJob, of the form: - // projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}. - // where `{project}` refers to a project_id or project_number and + // `projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}`, + // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -526,12 +539,12 @@ message DataScanJob { // The type of DataScan. enum DataScanType { - // The DataScan Type is unspecified. + // The DataScan type is unspecified. DATA_SCAN_TYPE_UNSPECIFIED = 0; - // Data Quality Scan. + // Data Quality scan. DATA_QUALITY = 1; - // Data Profile Scan. + // Data Profile scan. DATA_PROFILE = 2; } diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto index f788c47eaebe..f6bc38640db6 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/logs.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "LogsProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto index 99c817eed8c9..c6432906f226 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/metadata.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "MetadataProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto index 49d962eb0c5c..ba32f7a0d922 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/processing.proto @@ -19,7 +19,7 @@ package google.cloud.dataplex.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "ProcessingProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto index 86af8432b84e..7ba96cfee88e 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/resources.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto index d23ca8e2f868..ba0ed0502bf7 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/service.proto @@ -28,7 +28,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto index 6aa028636c0c..3e7137ba29fa 100644 --- a/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto +++ b/java-dataplex/proto-google-cloud-dataplex-v1/src/main/proto/google/cloud/dataplex/v1/tasks.proto @@ -22,7 +22,7 @@ import "google/cloud/dataplex/v1/resources.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataplex/v1;dataplex"; +option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "TasksProto"; option java_package = "com.google.cloud.dataplex.v1"; diff --git a/java-dataproc-metastore/README.md b/java-dataproc-metastore/README.md index c7c21708db71..c8adcf320918 100644 --- a/java-dataproc-metastore/README.md +++ b/java-dataproc-metastore/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-dataproc-metastore - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.9.0' +implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.10.0" ``` ## Authentication diff --git a/java-dataproc-metastore/google-cloud-dataproc-metastore-bom/pom.xml b/java-dataproc-metastore/google-cloud-dataproc-metastore-bom/pom.xml index 357359b6d37e..80c5c0cbed24 100644 --- a/java-dataproc-metastore/google-cloud-dataproc-metastore-bom/pom.xml +++ b/java-dataproc-metastore/google-cloud-dataproc-metastore-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-dataproc-metastore-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,37 +27,37 @@ com.google.cloud google-cloud-dataproc-metastore - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-dataproc-metastore-v1beta - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-dataproc-metastore-v1alpha - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-dataproc-metastore-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-dataproc-metastore-v1beta - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-dataproc-metastore-v1alpha - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-dataproc-metastore-v1 - 2.10.0 + 2.11.0
      diff --git a/java-dataproc-metastore/google-cloud-dataproc-metastore/pom.xml b/java-dataproc-metastore/google-cloud-dataproc-metastore/pom.xml index b4210a85dffc..e16d53875933 100644 --- a/java-dataproc-metastore/google-cloud-dataproc-metastore/pom.xml +++ b/java-dataproc-metastore/google-cloud-dataproc-metastore/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-dataproc-metastore - 2.10.0 + 2.11.0 jar Google Dataproc Metastore is a fully managed, highly available, autoscaled, autohealing, OSS-native metastore service that greatly simplifies technical metadata management. Dataproc Metastore service is based on Apache Hive metastore and serves as a critical component towards enterprise data lakes. com.google.cloud google-cloud-dataproc-metastore-parent - 2.10.0 + 2.11.0 google-cloud-dataproc-metastore diff --git a/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1/pom.xml b/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1/pom.xml index 3892999b7e05..ec04ff2204cb 100644 --- a/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1/pom.xml +++ b/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dataproc-metastore-v1 - 2.10.0 + 2.11.0 grpc-google-cloud-dataproc-metastore-v1 GRPC library for google-cloud-dataproc-metastore com.google.cloud google-cloud-dataproc-metastore-parent - 2.10.0 + 2.11.0 diff --git a/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1alpha/pom.xml b/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1alpha/pom.xml index abb7211b330d..7413e65487b4 100644 --- a/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1alpha/pom.xml +++ b/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dataproc-metastore-v1alpha - 0.14.0 + 0.15.0 grpc-google-cloud-dataproc-metastore-v1alpha GRPC library for google-cloud-dataproc-metastore com.google.cloud google-cloud-dataproc-metastore-parent - 2.10.0 + 2.11.0 diff --git a/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1beta/pom.xml b/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1beta/pom.xml index 378b86da65f8..ddfbb871805f 100644 --- a/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1beta/pom.xml +++ b/java-dataproc-metastore/grpc-google-cloud-dataproc-metastore-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dataproc-metastore-v1beta - 0.14.0 + 0.15.0 grpc-google-cloud-dataproc-metastore-v1beta GRPC library for google-cloud-dataproc-metastore com.google.cloud google-cloud-dataproc-metastore-parent - 2.10.0 + 2.11.0 diff --git a/java-dataproc-metastore/pom.xml b/java-dataproc-metastore/pom.xml index b3f56dc24e0a..e7654fec644f 100644 --- a/java-dataproc-metastore/pom.xml +++ b/java-dataproc-metastore/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dataproc-metastore-parent pom - 2.10.0 + 2.11.0 Google Dataproc Metastore Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,37 +29,37 @@ com.google.cloud google-cloud-dataproc-metastore - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-dataproc-metastore-v1beta - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-dataproc-metastore-v1alpha - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-dataproc-metastore-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-dataproc-metastore-v1beta - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-dataproc-metastore-v1alpha - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-dataproc-metastore-v1 - 2.10.0 + 2.11.0 diff --git a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/pom.xml b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/pom.xml index eb5acb84c0f7..b80df9679646 100644 --- a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/pom.xml +++ b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dataproc-metastore-v1 - 2.10.0 + 2.11.0 proto-google-cloud-dataproc-metastore-v1 Proto library for google-cloud-dataproc-metastore com.google.cloud google-cloud-dataproc-metastore-parent - 2.10.0 + 2.11.0 diff --git a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/src/main/java/com/google/cloud/metastore/v1/MetastoreFederationProto.java b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/src/main/java/com/google/cloud/metastore/v1/MetastoreFederationProto.java index 7b420fa7753d..bb3cedcf4e5b 100644 --- a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/src/main/java/com/google/cloud/metastore/v1/MetastoreFederationProto.java +++ b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/src/main/java/com/google/cloud/metastore/v1/MetastoreFederationProto.java @@ -161,11 +161,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*}\332A\004name\312AD\n\025google.protobuf.Empty\022+goo" + "gle.cloud.metastore.v1.OperationMetadata" + "\032L\312A\030metastore.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB\177" + + "www.googleapis.com/auth/cloud-platformBx" + "\n\035com.google.cloud.metastore.v1B\030Metasto" - + "reFederationProtoP\001ZBgoogle.golang.org/g" - + "enproto/googleapis/cloud/metastore/v1;me" - + "tastoreb\006proto3" + + "reFederationProtoP\001Z;cloud.google.com/go" + + "/metastore/apiv1/metastorepb;metastorepb" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/src/main/java/com/google/cloud/metastore/v1/MetastoreProto.java b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/src/main/java/com/google/cloud/metastore/v1/MetastoreProto.java index 1737779c8c14..64d8a56d091e 100644 --- a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/src/main/java/com/google/cloud/metastore/v1/MetastoreProto.java +++ b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1/src/main/java/com/google/cloud/metastore/v1/MetastoreProto.java @@ -497,16 +497,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\332A\004name\312AD\n\025google.protobuf.Empty\022+googl" + "e.cloud.metastore.v1.OperationMetadata\032L" + "\312A\030metastore.googleapis.com\322A.https://ww" - + "w.googleapis.com/auth/cloud-platformB\306\002\n" + + "w.googleapis.com/auth/cloud-platformB\277\002\n" + "\035com.google.cloud.metastore.v1B\016Metastor" - + "eProtoP\001ZBgoogle.golang.org/genproto/goo" - + "gleapis/cloud/metastore/v1;metastore\312\002\031G" - + "oogle\\Cloud\\Metastore\\V1\352AN\n\036compute.goo" - + "gleapis.com/Network\022,projects/{project}/" - + "global/networks/{network}\352Aa\n!compute.go" - + "ogleapis.com/Subnetwork\0224.0.0 com.google.api.grpc proto-google-cloud-dataproc-metastore-v1alpha - 0.14.0 + 0.15.0 proto-google-cloud-dataproc-metastore-v1alpha Proto library for google-cloud-dataproc-metastore com.google.cloud google-cloud-dataproc-metastore-parent - 2.10.0 + 2.11.0 diff --git a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1alpha/src/main/java/com/google/cloud/metastore/v1alpha/MetastoreFederationProto.java b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1alpha/src/main/java/com/google/cloud/metastore/v1alpha/MetastoreFederationProto.java index 73c467fddadd..7bc0085397df 100644 --- a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1alpha/src/main/java/com/google/cloud/metastore/v1alpha/MetastoreFederationProto.java +++ b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1alpha/src/main/java/com/google/cloud/metastore/v1alpha/MetastoreFederationProto.java @@ -165,11 +165,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "buf.Empty\0220google.cloud.metastore.v1alph" + "a.OperationMetadata\032L\312A\030metastore.google" + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\211\001\n\"com.google.cloud.m" + + "th/cloud-platformB\202\001\n\"com.google.cloud.m" + "etastore.v1alphaB\030MetastoreFederationPro" - + "toP\001ZGgoogle.golang.org/genproto/googlea" - + "pis/cloud/metastore/v1alpha;metastoreb\006p" - + "roto3" + + "toP\001Z@cloud.google.com/go/metastore/apiv" + + "1alpha/metastorepb;metastorepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1alpha/src/main/java/com/google/cloud/metastore/v1alpha/MetastoreProto.java b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1alpha/src/main/java/com/google/cloud/metastore/v1alpha/MetastoreProto.java index e87cc50bf88c..e6083d15e0f5 100644 --- a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1alpha/src/main/java/com/google/cloud/metastore/v1alpha/MetastoreProto.java +++ b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1alpha/src/main/java/com/google/cloud/metastore/v1alpha/MetastoreProto.java @@ -647,18 +647,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "esourceLocationResponse\0220google.cloud.me" + "tastore.v1alpha.OperationMetadata\032L\312A\030me" + "tastore.googleapis.com\322A.https://www.goo" - + "gleapis.com/auth/cloud-platformB\254\003\n\"com." + + "gleapis.com/auth/cloud-platformB\245\003\n\"com." + "google.cloud.metastore.v1alphaB\016Metastor" - + "eProtoP\001ZGgoogle.golang.org/genproto/goo" - + "gleapis/cloud/metastore/v1alpha;metastor" - + "e\312\002\036Google\\Cloud\\Metastore\\V1alpha\352AN\n\036c" - + "ompute.googleapis.com/Network\022,projects/" - + "{project}/global/networks/{network}\352Aa\n!" - + "compute.googleapis.com/Subnetwork\0224.0.0 com.google.api.grpc proto-google-cloud-dataproc-metastore-v1beta - 0.14.0 + 0.15.0 proto-google-cloud-dataproc-metastore-v1beta Proto library for google-cloud-dataproc-metastore com.google.cloud google-cloud-dataproc-metastore-parent - 2.10.0 + 2.11.0 diff --git a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1beta/src/main/java/com/google/cloud/metastore/v1beta/MetastoreFederationProto.java b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1beta/src/main/java/com/google/cloud/metastore/v1beta/MetastoreFederationProto.java index 887e90a9df17..a449446e36b5 100644 --- a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1beta/src/main/java/com/google/cloud/metastore/v1beta/MetastoreFederationProto.java +++ b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1beta/src/main/java/com/google/cloud/metastore/v1beta/MetastoreFederationProto.java @@ -164,11 +164,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "AH\n\025google.protobuf.Empty\022/google.cloud." + "metastore.v1beta.OperationMetadata\032L\312A\030m" + "etastore.googleapis.com\322A.https://www.go" - + "ogleapis.com/auth/cloud-platformB\207\001\n!com" + + "ogleapis.com/auth/cloud-platformB\200\001\n!com" + ".google.cloud.metastore.v1betaB\030Metastor" - + "eFederationProtoP\001ZFgoogle.golang.org/ge" - + "nproto/googleapis/cloud/metastore/v1beta" - + ";metastoreb\006proto3" + + "eFederationProtoP\001Z?cloud.google.com/go/" + + "metastore/apiv1beta/metastorepb;metastor" + + "epbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1beta/src/main/java/com/google/cloud/metastore/v1beta/MetastoreProto.java b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1beta/src/main/java/com/google/cloud/metastore/v1beta/MetastoreProto.java index fd0ab1b7f5b6..2a5f94cf73b0 100644 --- a/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1beta/src/main/java/com/google/cloud/metastore/v1beta/MetastoreProto.java +++ b/java-dataproc-metastore/proto-google-cloud-dataproc-metastore-v1beta/src/main/java/com/google/cloud/metastore/v1beta/MetastoreProto.java @@ -645,17 +645,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle.cloud.metastore.v1beta.OperationMet" + "adata\032L\312A\030metastore.googleapis.com\322A.htt" + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\251\003\n!com.google.cloud.metastore.v1bet" - + "aB\016MetastoreProtoP\001ZFgoogle.golang.org/g" - + "enproto/googleapis/cloud/metastore/v1bet" - + "a;metastore\312\002\035Google\\Cloud\\Metastore\\V1b" - + "eta\352AN\n\036compute.googleapis.com/Network\022," - + "projects/{project}/global/networks/{netw" - + "ork}\352Aa\n!compute.googleapis.com/Subnetwo" - + "rk\022 com.google.cloud google-cloud-dataproc - 4.5.0 + 4.6.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataproc:4.5.0' +implementation 'com.google.cloud:google-cloud-dataproc:4.6.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.6.0" ``` ## Authentication diff --git a/java-dataproc/google-cloud-dataproc-bom/pom.xml b/java-dataproc/google-cloud-dataproc-bom/pom.xml index f8431293d7de..810d37ca0f45 100644 --- a/java-dataproc/google-cloud-dataproc-bom/pom.xml +++ b/java-dataproc/google-cloud-dataproc-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-dataproc-bom - 4.6.0 + 4.7.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-dataproc - 4.6.0 + 4.7.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 4.6.0 + 4.7.0 com.google.api.grpc proto-google-cloud-dataproc-v1 - 4.6.0 + 4.7.0 diff --git a/java-dataproc/google-cloud-dataproc/pom.xml b/java-dataproc/google-cloud-dataproc/pom.xml index 537a04e228fb..c28b0659030f 100644 --- a/java-dataproc/google-cloud-dataproc/pom.xml +++ b/java-dataproc/google-cloud-dataproc/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-dataproc - 4.6.0 + 4.7.0 jar Google Cloud Dataproc Java idiomatic client for Google Cloud Dataproc com.google.cloud google-cloud-dataproc-parent - 4.6.0 + 4.7.0 google-cloud-dataproc diff --git a/java-dataproc/grpc-google-cloud-dataproc-v1/pom.xml b/java-dataproc/grpc-google-cloud-dataproc-v1/pom.xml index d73bc72fb5fb..27ba1e383a67 100644 --- a/java-dataproc/grpc-google-cloud-dataproc-v1/pom.xml +++ b/java-dataproc/grpc-google-cloud-dataproc-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 4.6.0 + 4.7.0 grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.cloud google-cloud-dataproc-parent - 4.6.0 + 4.7.0 diff --git a/java-dataproc/pom.xml b/java-dataproc/pom.xml index 8a4543ef954a..06da2b64b3ac 100644 --- a/java-dataproc/pom.xml +++ b/java-dataproc/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dataproc-parent pom - 4.6.0 + 4.7.0 Google Cloud Dataproc Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-dataproc-v1 - 4.6.0 + 4.7.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 4.6.0 + 4.7.0 com.google.cloud google-cloud-dataproc - 4.6.0 + 4.7.0 diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/pom.xml b/java-dataproc/proto-google-cloud-dataproc-v1/pom.xml index f83b61c8585b..5a3865673661 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/pom.xml +++ b/java-dataproc/proto-google-cloud-dataproc-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dataproc-v1 - 4.6.0 + 4.7.0 proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.cloud google-cloud-dataproc-parent - 4.6.0 + 4.7.0 diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPoliciesProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPoliciesProto.java index 524fac61042b..f99c5d14bbfc 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPoliciesProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPoliciesProto.java @@ -172,12 +172,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "=projects/*/regions/*/autoscalingPolicie" + "s/*}\332A\004name\032K\312A\027dataproc.googleapis.com\322" + "A.https://www.googleapis.com/auth/cloud-" - + "platformB\304\001\n\034com.google.cloud.dataproc.v" - + "1B\030AutoscalingPoliciesProtoP\001Z@google.go" - + "lang.org/genproto/googleapis/cloud/datap" - + "roc/v1;dataproc\352AE\n\036dataproc.googleapis." - + "com/Region\022#projects/{project}/regions/{" - + "region}b\006proto3" + + "platformB\274\001\n\034com.google.cloud.dataproc.v" + + "1B\030AutoscalingPoliciesProtoP\001Z8cloud.goo" + + "gle.com/go/dataproc/apiv1/dataprocpb;dat" + + "aprocpb\352AE\n\036dataproc.googleapis.com/Regi" + + "on\022#projects/{project}/regions/{region}b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BatchesProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BatchesProto.java index aea24497aa51..5cbb360d509f 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BatchesProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/BatchesProto.java @@ -181,10 +181,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1/{name=projects/*/locations/*/batches/*" + "}\332A\004name\032K\312A\027dataproc.googleapis.com\322A.h" + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformBp\n\034com.google.cloud.dataproc.v1B\014B" - + "atchesProtoP\001Z@google.golang.org/genprot" - + "o/googleapis/cloud/dataproc/v1;dataprocb" - + "\006proto3" + + "tformBh\n\034com.google.cloud.dataproc.v1B\014B" + + "atchesProtoP\001Z8cloud.google.com/go/datap" + + "roc/apiv1/dataprocpb;dataprocpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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 8bf390e78bf0..c97075bb655b 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 @@ -526,15 +526,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "DiagnoseClusterResults\0221google.cloud.dat" + "aproc.v1.ClusterOperationMetadata\032K\312A\027da" + "taproc.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\263\002\n\034com.g" + + "leapis.com/auth/cloud-platformB\253\002\n\034com.g" + "oogle.cloud.dataproc.v1B\rClustersProtoP\001" - + "Z@google.golang.org/genproto/googleapis/" - + "cloud/dataproc/v1;dataproc\352A^\n container" - + ".googleapis.com/Cluster\022:projects/{proje" - + "ct}/locations/{location}/clusters/{clust" - + "er}\352A^\n metastore.googleapis.com/Service" - + "\022:projects/{project}/locations/{location" - + "}/services/{service}b\006proto3" + + "Z8cloud.google.com/go/dataproc/apiv1/dat" + + "aprocpb;dataprocpb\352A^\n container.googlea" + + "pis.com/Cluster\022:projects/{project}/loca" + + "tions/{location}/clusters/{cluster}\352A^\n " + + "metastore.googleapis.com/Service\022:projec" + + "ts/{project}/locations/{location}/servic" + + "es/{service}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java index 2c48583f8eb1..564c041e04da 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobsProto.java @@ -415,10 +415,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "t_id}/regions/{region}/jobs/{job_id}\332A\030p" + "roject_id,region,job_id\032K\312A\027dataproc.goo" + "gleapis.com\322A.https://www.googleapis.com" - + "/auth/cloud-platformBm\n\034com.google.cloud" - + ".dataproc.v1B\tJobsProtoP\001Z@google.golang" - + ".org/genproto/googleapis/cloud/dataproc/" - + "v1;dataprocb\006proto3" + + "/auth/cloud-platformBe\n\034com.google.cloud" + + ".dataproc.v1B\tJobsProtoP\001Z8cloud.google." + + "com/go/dataproc/apiv1/dataprocpb;datapro" + + "cpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeGroupsProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeGroupsProto.java index 82bd2bc4e393..fba09c19ab2a 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeGroupsProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/NodeGroupsProto.java @@ -86,13 +86,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\202\323\344\223\0029\0227/v1/{name=projects/*/regions/*/c" + "lusters/*/nodeGroups/*}\332A\004name\032K\312A\027datap" + "roc.googleapis.com\322A.https://www.googlea" - + "pis.com/auth/cloud-platformB\325\001\n\034com.goog" + + "pis.com/auth/cloud-platformB\315\001\n\034com.goog" + "le.cloud.dataproc.v1B\017NodeGroupsProtoP\001Z" - + "@google.golang.org/genproto/googleapis/c" - + "loud/dataproc/v1;dataproc\352A_\n%dataproc.g" - + "oogleapis.com/ClusterRegion\0226projects/{p" - + "roject}/regions/{region}/clusters/{clust" - + "er}b\006proto3" + + "8cloud.google.com/go/dataproc/apiv1/data" + + "procpb;dataprocpb\352A_\n%dataproc.googleapi" + + "s.com/ClusterRegion\0226projects/{project}/" + + "regions/{region}/clusters/{cluster}b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java index db2a987680d2..4005a038d431 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/OperationsProto.java @@ -113,10 +113,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ue\030\002 \001(\t:\0028\001\"s\n\026NodeGroupOperationType\022)" + "\n%NODE_GROUP_OPERATION_TYPE_UNSPECIFIED\020" + "\000\022\n\n\006CREATE\020\001\022\n\n\006UPDATE\020\002\022\n\n\006DELETE\020\003\022\n\n" - + "\006RESIZE\020\004Bs\n\034com.google.cloud.dataproc.v" - + "1B\017OperationsProtoP\001Z@google.golang.org/" - + "genproto/googleapis/cloud/dataproc/v1;da" - + "taprocb\006proto3" + + "\006RESIZE\020\004Bk\n\034com.google.cloud.dataproc.v" + + "1B\017OperationsProtoP\001Z8cloud.google.com/g" + + "o/dataproc/apiv1/dataprocpb;dataprocpbb\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java index d1d12ca9472c..c9dc53e6a4b1 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SharedProto.java @@ -181,10 +181,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\n\n\006PRESTO\020\006\022\n\n\006RANGER\020\014\022\010\n\004SOLR\020\n\022\014\n\010ZE" + "PPELIN\020\004\022\r\n\tZOOKEEPER\020\010*J\n\rFailureAction" + "\022\036\n\032FAILURE_ACTION_UNSPECIFIED\020\000\022\r\n\tNO_A" - + "CTION\020\001\022\n\n\006DELETE\020\002Bo\n\034com.google.cloud." - + "dataproc.v1B\013SharedProtoP\001Z@google.golan" - + "g.org/genproto/googleapis/cloud/dataproc" - + "/v1;dataprocb\006proto3" + + "CTION\020\001\022\n\n\006DELETE\020\002Bg\n\034com.google.cloud." + + "dataproc.v1B\013SharedProtoP\001Z8cloud.google" + + ".com/go/dataproc/apiv1/dataprocpb;datapr" + + "ocpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatesProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatesProto.java index b5036aaf926b..972d18677e59 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatesProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplatesProto.java @@ -336,10 +336,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "lates/*}Z5*3/v1/{name=projects/*/regions" + "/*/workflowTemplates/*}\332A\004name\032K\312A\027datap" + "roc.googleapis.com\322A.https://www.googlea" - + "pis.com/auth/cloud-platformBz\n\034com.googl" + + "pis.com/auth/cloud-platformBr\n\034com.googl" + "e.cloud.dataproc.v1B\026WorkflowTemplatesPr" - + "otoP\001Z@google.golang.org/genproto/google" - + "apis/cloud/dataproc/v1;dataprocb\006proto3" + + "otoP\001Z8cloud.google.com/go/dataproc/apiv" + + "1/dataprocpb;dataprocpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/autoscaling_policies.proto b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/autoscaling_policies.proto index 18b2f7df36df..1461b87fcf3e 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/autoscaling_policies.proto +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/autoscaling_policies.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"; +option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "AutoscalingPoliciesProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/batches.proto b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/batches.proto index eafb4e354eab..0aee7f2cae28 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/batches.proto +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/batches.proto @@ -25,7 +25,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"; +option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "BatchesProto"; option java_package = "com.google.cloud.dataproc.v1"; 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 203efa8c4ffd..eff7cf25aadd 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 @@ -26,7 +26,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"; +option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "ClustersProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/jobs.proto b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/jobs.proto index e9dcf9cc6b80..25bd69d0a6e3 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/jobs.proto +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/jobs.proto @@ -24,7 +24,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"; +option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "JobsProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/node_groups.proto b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/node_groups.proto index 0abc223820c3..a42c927f65d5 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/node_groups.proto +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/node_groups.proto @@ -24,7 +24,7 @@ import "google/cloud/dataproc/v1/clusters.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/duration.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"; +option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "NodeGroupsProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/operations.proto b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/operations.proto index 854d9eda6ab6..b0b2fc2c5cd9 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/operations.proto +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/operations.proto @@ -19,7 +19,7 @@ package google.cloud.dataproc.v1; import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"; +option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "OperationsProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/shared.proto b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/shared.proto index 187969157757..4f9642ea3b39 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/shared.proto +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/shared.proto @@ -18,7 +18,7 @@ package google.cloud.dataproc.v1; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"; +option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "SharedProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/workflow_templates.proto b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/workflow_templates.proto index 416ba26d03c5..4ddf0a2df108 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/workflow_templates.proto +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/workflow_templates.proto @@ -27,7 +27,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dataproc/v1;dataproc"; +option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "WorkflowTemplatesProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/java-datastream/README.md b/java-datastream/README.md index c76f1f09895e..189202711144 100644 --- a/java-datastream/README.md +++ b/java-datastream/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-datastream - 1.7.0 + 1.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datastream:1.7.0' +implementation 'com.google.cloud:google-cloud-datastream:1.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.8.0" ``` ## Authentication diff --git a/java-datastream/google-cloud-datastream-bom/pom.xml b/java-datastream/google-cloud-datastream-bom/pom.xml index a7aa9a40f6fb..1a3fb57f2e6b 100644 --- a/java-datastream/google-cloud-datastream-bom/pom.xml +++ b/java-datastream/google-cloud-datastream-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-datastream-bom - 1.8.0 + 1.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-datastream - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-datastream-v1alpha1 - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-datastream-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-datastream-v1alpha1 - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-cloud-datastream-v1 - 1.8.0 + 1.9.0 diff --git a/java-datastream/google-cloud-datastream/pom.xml b/java-datastream/google-cloud-datastream/pom.xml index 16669c25ded1..fc5d51e6fe8e 100644 --- a/java-datastream/google-cloud-datastream/pom.xml +++ b/java-datastream/google-cloud-datastream/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-datastream - 1.8.0 + 1.9.0 jar Google Datastream Datastream is a serverless and easy-to-use change data capture (CDC) and replication service. It allows you to synchronize data across heterogeneous databases and applications reliably, and with minimal latency and downtime. com.google.cloud google-cloud-datastream-parent - 1.8.0 + 1.9.0 google-cloud-datastream diff --git a/java-datastream/grpc-google-cloud-datastream-v1/pom.xml b/java-datastream/grpc-google-cloud-datastream-v1/pom.xml index be0ba55f3b45..503118650897 100644 --- a/java-datastream/grpc-google-cloud-datastream-v1/pom.xml +++ b/java-datastream/grpc-google-cloud-datastream-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-datastream-v1 - 1.8.0 + 1.9.0 grpc-google-cloud-datastream-v1 GRPC library for google-cloud-datastream com.google.cloud google-cloud-datastream-parent - 1.8.0 + 1.9.0 diff --git a/java-datastream/grpc-google-cloud-datastream-v1alpha1/pom.xml b/java-datastream/grpc-google-cloud-datastream-v1alpha1/pom.xml index 990d5c475b31..12c8641ed589 100644 --- a/java-datastream/grpc-google-cloud-datastream-v1alpha1/pom.xml +++ b/java-datastream/grpc-google-cloud-datastream-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-datastream-v1alpha1 - 0.13.0 + 0.14.0 grpc-google-cloud-datastream-v1alpha1 GRPC library for google-cloud-datastream com.google.cloud google-cloud-datastream-parent - 1.8.0 + 1.9.0 diff --git a/java-datastream/pom.xml b/java-datastream/pom.xml index d8bca1b8977e..2ceca6cebb3d 100644 --- a/java-datastream/pom.xml +++ b/java-datastream/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-datastream-parent pom - 1.8.0 + 1.9.0 Google Datastream Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-datastream - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-datastream-v1 - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-datastream-v1 - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-datastream-v1alpha1 - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-cloud-datastream-v1alpha1 - 0.13.0 + 0.14.0 diff --git a/java-datastream/proto-google-cloud-datastream-v1/pom.xml b/java-datastream/proto-google-cloud-datastream-v1/pom.xml index 682279a5feb7..6cbdd1c02b31 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/pom.xml +++ b/java-datastream/proto-google-cloud-datastream-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-datastream-v1 - 1.8.0 + 1.9.0 proto-google-cloud-datastream-v1 Proto library for google-cloud-datastream com.google.cloud google-cloud-datastream-parent - 1.8.0 + 1.9.0 diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java index 6a5e9dd582de..3de25bb34122 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamProto.java @@ -462,13 +462,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*/routes/*}\332A\004name\312A*\n\025google.protobuf.E" + "mpty\022\021OperationMetadata\032M\312A\031datastream.g" + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformB\323\001\n\036com.google.cl" - + "oud.datastream.v1B\017DatastreamProtoP\001ZDgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/datastream/v1;datastream\252\002\032Google.Clou" - + "d.Datastream.V1\312\002\032Google\\Cloud\\Datastrea" - + "m\\V1\352\002\035Google::Cloud::Datastream::V1b\006pr" - + "oto3" + + "om/auth/cloud-platformB\315\001\n\036com.google.cl" + + "oud.datastream.v1B\017DatastreamProtoP\001Z>cl" + + "oud.google.com/go/datastream/apiv1/datas" + + "treampb;datastreampb\252\002\032Google.Cloud.Data" + + "stream.V1\312\002\032Google\\Cloud\\Datastream\\V1\352\002" + + "\035Google::Cloud::Datastream::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java index ab8ac59943e2..e1b2218d84c6 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/DatastreamResourcesProto.java @@ -565,15 +565,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".v1.ValidationMessage.MetadataEntry\022\014\n\004c" + "ode\030\004 \001(\t\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022" + "\r\n\005value\030\002 \001(\t:\0028\001\"6\n\005Level\022\025\n\021LEVEL_UNS" - + "PECIFIED\020\000\022\013\n\007WARNING\020\001\022\t\n\005ERROR\020\002B\256\002\n\036c" + + "PECIFIED\020\000\022\013\n\007WARNING\020\001\022\t\n\005ERROR\020\002B\250\002\n\036c" + "om.google.cloud.datastream.v1B\030Datastrea" - + "mResourcesProtoP\001ZDgoogle.golang.org/gen" - + "proto/googleapis/cloud/datastream/v1;dat" - + "astream\252\002\032Google.Cloud.Datastream.V1\312\002\032G" - + "oogle\\Cloud\\Datastream\\V1\352\002\035Google::Clou" - + "d::Datastream::V1\352AO\n\037compute.googleapis" - + ".com/Networks\022,projects/{project}/global" - + "/networks/{network}b\006proto3" + + "mResourcesProtoP\001Z>cloud.google.com/go/d" + + "atastream/apiv1/datastreampb;datastreamp" + + "b\252\002\032Google.Cloud.Datastream.V1\312\002\032Google\\" + + "Cloud\\Datastream\\V1\352\002\035Google::Cloud::Dat" + + "astream::V1\352AO\n\037compute.googleapis.com/N" + + "etworks\022,projects/{project}/global/netwo" + + "rks/{network}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto b/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto index a29633912097..cd9770794501 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream.proto @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Datastream.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datastream/v1;datastream"; +option go_package = "cloud.google.com/go/datastream/apiv1/datastreampb;datastreampb"; option java_multiple_files = true; option java_outer_classname = "DatastreamProto"; option java_package = "com.google.cloud.datastream.v1"; diff --git a/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto b/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto index 58a2c7bdf8f4..80a8deeaefbd 100644 --- a/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto +++ b/java-datastream/proto-google-cloud-datastream-v1/src/main/proto/google/cloud/datastream/v1/datastream_resources.proto @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Datastream.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datastream/v1;datastream"; +option go_package = "cloud.google.com/go/datastream/apiv1/datastreampb;datastreampb"; option java_multiple_files = true; option java_outer_classname = "DatastreamResourcesProto"; option java_package = "com.google.cloud.datastream.v1"; diff --git a/java-datastream/proto-google-cloud-datastream-v1alpha1/pom.xml b/java-datastream/proto-google-cloud-datastream-v1alpha1/pom.xml index 82d5e9cd70f4..65fc8622e9c1 100644 --- a/java-datastream/proto-google-cloud-datastream-v1alpha1/pom.xml +++ b/java-datastream/proto-google-cloud-datastream-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-datastream-v1alpha1 - 0.13.0 + 0.14.0 proto-google-cloud-datastream-v1alpha1 Proto library for google-cloud-datastream com.google.cloud google-cloud-datastream-parent - 1.8.0 + 1.9.0 diff --git a/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java b/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java index f354bba70a6d..5b95ebd7ea24 100644 --- a/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java +++ b/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamResourcesProto.java @@ -406,13 +406,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "CIFIED\020\000\022\010\n\004AVRO\020\001\032\002\030\001*`\n\020SchemaFileForm" + "at\022\"\n\036SCHEMA_FILE_FORMAT_UNSPECIFIED\020\000\022\022" + "\n\016NO_SCHEMA_FILE\020\001\022\024\n\020AVRO_SCHEMA_FILE\020\002" - + "B\377\001\n$com.google.cloud.datastream.v1alpha" - + "1B\035CloudDatastreamResourcesProtoP\001ZJgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "datastream/v1alpha1;datastream\252\002 Google." - + "Cloud.Datastream.V1Alpha1\312\002 Google\\Cloud" - + "\\Datastream\\V1alpha1\352\002#Google::Cloud::Da" - + "tastream::V1alpha1b\006proto3" + + "B\371\001\n$com.google.cloud.datastream.v1alpha" + + "1B\035CloudDatastreamResourcesProtoP\001ZDclou" + + "d.google.com/go/datastream/apiv1alpha1/d" + + "atastreampb;datastreampb\252\002 Google.Cloud." + + "Datastream.V1Alpha1\312\002 Google\\Cloud\\Datas" + + "tream\\V1alpha1\352\002#Google::Cloud::Datastre" + + "am::V1alpha1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java b/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java index 02306caf1c56..9956fe0f4e70 100644 --- a/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java +++ b/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/java/com/google/cloud/datastream/v1alpha1/CloudDatastreamServiceProto.java @@ -404,14 +404,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nnections/*/routes/*}\332A\004name\312A*\n\025google." + "protobuf.Empty\022\021OperationMetadata\032M\312A\031da" + "tastream.googleapis.com\322A.https://www.go" - + "ogleapis.com/auth/cloud-platformB\375\001\n$com" + + "ogleapis.com/auth/cloud-platformB\367\001\n$com" + ".google.cloud.datastream.v1alpha1B\033Cloud" - + "DatastreamServiceProtoP\001ZJgoogle.golang." - + "org/genproto/googleapis/cloud/datastream" - + "/v1alpha1;datastream\252\002 Google.Cloud.Data" - + "stream.V1Alpha1\312\002 Google\\Cloud\\Datastrea" - + "m\\V1alpha1\352\002#Google::Cloud::Datastream::" - + "V1alpha1b\006proto3" + + "DatastreamServiceProtoP\001ZDcloud.google.c" + + "om/go/datastream/apiv1alpha1/datastreamp" + + "b;datastreampb\252\002 Google.Cloud.Datastream" + + ".V1Alpha1\312\002 Google\\Cloud\\Datastream\\V1al" + + "pha1\352\002#Google::Cloud::Datastream::V1alph" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream.proto b/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream.proto index c924cbbf5efe..14dac8fe5b54 100644 --- a/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream.proto +++ b/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream.proto @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Datastream.V1Alpha1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datastream/v1alpha1;datastream"; +option go_package = "cloud.google.com/go/datastream/apiv1alpha1/datastreampb;datastreampb"; option java_multiple_files = true; option java_outer_classname = "CloudDatastreamServiceProto"; option java_package = "com.google.cloud.datastream.v1alpha1"; diff --git a/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto b/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto index b2a9ba3fc359..59111d92a7ec 100644 --- a/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto +++ b/java-datastream/proto-google-cloud-datastream-v1alpha1/src/main/proto/google/cloud/datastream/v1alpha1/datastream_resources.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/datastream/v1alpha1;datastream"; +option go_package = "cloud.google.com/go/datastream/apiv1alpha1/datastreampb;datastreampb"; option java_multiple_files = true; option java_outer_classname = "CloudDatastreamResourcesProto"; option java_package = "com.google.cloud.datastream.v1alpha1"; diff --git a/java-debugger-client/google-cloud-debugger-client-bom/pom.xml b/java-debugger-client/google-cloud-debugger-client-bom/pom.xml index 16b21aad192d..72879ed29824 100644 --- a/java-debugger-client/google-cloud-debugger-client-bom/pom.xml +++ b/java-debugger-client/google-cloud-debugger-client-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-debugger-client-bom - 1.9.0 + 1.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,22 +27,22 @@ com.google.cloud google-cloud-debugger-client - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-debugger-client-v2 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-debugger-client-v2 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-devtools-source-protos - 1.9.0 + 1.10.0 diff --git a/java-debugger-client/google-cloud-debugger-client/pom.xml b/java-debugger-client/google-cloud-debugger-client/pom.xml index 42604993306b..78d9c8aba14c 100644 --- a/java-debugger-client/google-cloud-debugger-client/pom.xml +++ b/java-debugger-client/google-cloud-debugger-client/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-debugger-client - 1.9.0 + 1.10.0 jar Google Cloud Debugger Cloud Debugger is a feature of Google Cloud Platform that lets you inspect the state of an application, at any code location, without stopping or slowing down the running app. Cloud Debugger makes it easier to view the application state without adding logging statements. com.google.cloud google-cloud-debugger-client-parent - 1.9.0 + 1.10.0 google-cloud-debugger-client diff --git a/java-debugger-client/grpc-google-cloud-debugger-client-v2/pom.xml b/java-debugger-client/grpc-google-cloud-debugger-client-v2/pom.xml index bd2226b323a9..43c1201a4438 100644 --- a/java-debugger-client/grpc-google-cloud-debugger-client-v2/pom.xml +++ b/java-debugger-client/grpc-google-cloud-debugger-client-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-debugger-client-v2 - 1.9.0 + 1.10.0 grpc-google-cloud-debugger-client-v2 GRPC library for google-cloud-debugger-client com.google.cloud google-cloud-debugger-client-parent - 1.9.0 + 1.10.0 diff --git a/java-debugger-client/pom.xml b/java-debugger-client/pom.xml index e6c732c91339..ebb1dc916559 100644 --- a/java-debugger-client/pom.xml +++ b/java-debugger-client/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-debugger-client-parent pom - 1.9.0 + 1.10.0 Google Cloud Debugger Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,22 +29,22 @@ com.google.cloud google-cloud-debugger-client - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-debugger-client-v2 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-debugger-client-v2 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-devtools-source-protos - 1.9.0 + 1.10.0 diff --git a/java-debugger-client/proto-google-cloud-debugger-client-v2/pom.xml b/java-debugger-client/proto-google-cloud-debugger-client-v2/pom.xml index 56e931cd7e24..4b493fa34867 100644 --- a/java-debugger-client/proto-google-cloud-debugger-client-v2/pom.xml +++ b/java-debugger-client/proto-google-cloud-debugger-client-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-debugger-client-v2 - 1.9.0 + 1.10.0 proto-google-cloud-debugger-client-v2 Proto library for google-cloud-debugger-client com.google.cloud google-cloud-debugger-client-parent - 1.9.0 + 1.10.0 diff --git a/java-debugger-client/proto-google-devtools-source-protos/pom.xml b/java-debugger-client/proto-google-devtools-source-protos/pom.xml index 7aad8ba39ba6..4e5a33d1968c 100644 --- a/java-debugger-client/proto-google-devtools-source-protos/pom.xml +++ b/java-debugger-client/proto-google-devtools-source-protos/pom.xml @@ -5,12 +5,12 @@ 4.0.0 com.google.api.grpc proto-google-devtools-source-protos - 1.9.0 + 1.10.0 proto-google-devtools-source-protos com.google.cloud google-cloud-debugger-client-parent - 1.9.0 + 1.10.0 diff --git a/java-deploy/README.md b/java-deploy/README.md index b7b7c1bbbb5e..66da9979a5f0 100644 --- a/java-deploy/README.md +++ b/java-deploy/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-deploy - 1.6.0 + 1.7.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-deploy:1.6.0' +implementation 'com.google.cloud:google-cloud-deploy:1.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.7.0" ``` ## Authentication diff --git a/java-deploy/google-cloud-deploy-bom/pom.xml b/java-deploy/google-cloud-deploy-bom/pom.xml index 8a1737a9fddd..5f5d95123ebc 100644 --- a/java-deploy/google-cloud-deploy-bom/pom.xml +++ b/java-deploy/google-cloud-deploy-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-deploy-bom - 1.7.0 + 1.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-deploy - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-deploy-v1 - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-deploy-v1 - 1.7.0 + 1.8.0 diff --git a/java-deploy/google-cloud-deploy/pom.xml b/java-deploy/google-cloud-deploy/pom.xml index f7042b357b6b..4b0daf34fe51 100644 --- a/java-deploy/google-cloud-deploy/pom.xml +++ b/java-deploy/google-cloud-deploy/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-deploy - 1.7.0 + 1.8.0 jar Google Google CLoud Deploy Google CLoud Deploy is a service that automates delivery of your applications to a series of target environments in a defined sequence com.google.cloud google-cloud-deploy-parent - 1.7.0 + 1.8.0 google-cloud-deploy diff --git a/java-deploy/grpc-google-cloud-deploy-v1/pom.xml b/java-deploy/grpc-google-cloud-deploy-v1/pom.xml index 4161be1047a6..62bc2fb049ff 100644 --- a/java-deploy/grpc-google-cloud-deploy-v1/pom.xml +++ b/java-deploy/grpc-google-cloud-deploy-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-deploy-v1 - 1.7.0 + 1.8.0 grpc-google-cloud-deploy-v1 GRPC library for google-cloud-deploy com.google.cloud google-cloud-deploy-parent - 1.7.0 + 1.8.0 diff --git a/java-deploy/pom.xml b/java-deploy/pom.xml index ae46b43c339b..865b7a03efca 100644 --- a/java-deploy/pom.xml +++ b/java-deploy/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-deploy-parent pom - 1.7.0 + 1.8.0 Google Google CLoud Deploy Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-deploy - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-deploy-v1 - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-deploy-v1 - 1.7.0 + 1.8.0 diff --git a/java-deploy/proto-google-cloud-deploy-v1/pom.xml b/java-deploy/proto-google-cloud-deploy-v1/pom.xml index 691da2d82fbd..c7c4117d3ca6 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/pom.xml +++ b/java-deploy/proto-google-cloud-deploy-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-deploy-v1 - 1.7.0 + 1.8.0 proto-google-cloud-deploy-v1 Proto library for google-cloud-deploy com.google.cloud google-cloud-deploy-parent - 1.7.0 + 1.8.0 diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java index 1d1d6444d30d..fd7d1bc0ebd7 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/CloudDeployProto.java @@ -818,23 +818,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "7\202\323\344\223\002*\022(/v1/{name=projects/*/locations/" + "*/config}\332A\004name\032N\312A\032clouddeploy.googlea" + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformB\347\004\n\032com.google.cloud.de" - + "ploy.v1B\020CloudDeployProtoP\001Zprojects/{project}/locations/{location}" - + "/operations/{operation}\352Ai\n$cloudbuild.g" - + "oogleapis.com/WorkerPool\022Aprojects/{proj" - + "ect}/locations/{location}/workerPools/{w" - + "orker_pool}\352Ad\n gkehub.googleapis.com/Me" - + "mbership\022@projects/{project}/locations/{" - + "location}/memberships/{membership}b\006prot" - + "o3" + + "h/cloud-platformB\335\004\n\032com.google.cloud.de" + + "ploy.v1B\020CloudDeployProtoP\001Z2cloud.googl" + + "e.com/go/deploy/apiv1/deploypb;deploypb\352" + + "AY\n\037cloudbuild.googleapis.com/Build\0226pro" + + "jects/{project}/locations/{location}/bui" + + "lds/{build}\352A^\n container.googleapis.com" + + "/Cluster\022:projects/{project}/locations/{" + + "location}/clusters/{cluster}\352Af\n$cloudde" + + "ploy.googleapis.com/Operation\022>projects/" + + "{project}/locations/{location}/operation" + + "s/{operation}\352Ai\n$cloudbuild.googleapis." + + "com/WorkerPool\022Aprojects/{project}/locat" + + "ions/{location}/workerPools/{worker_pool" + + "}\352Ad\n gkehub.googleapis.com/Membership\022@" + + "projects/{project}/locations/{location}/" + + "memberships/{membership}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java index 8774e40d0160..e7f2f65032d6 100644 --- a/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java +++ b/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/DeliveryPipelineNotificationPayloadProto.java @@ -46,11 +46,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_enums.proto\"{\n!DeliveryPipelineNotifica" + "tionEvent\022\017\n\007message\030\001 \001(\t\022\031\n\021delivery_p" + "ipeline\030\002 \001(\t\022*\n\004type\030\003 \001(\0162\034.google.clo" - + "ud.deploy.v1.TypeB\206\001\n\032com.google.cloud.d" - + "eploy.v1B(DeliveryPipelineNotificationPa" - + "yloadProtoP\001Z com.google.cloud google-cloud-dialogflow-cx - 0.19.0 + 0.20.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.19.0' +implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.20.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.19.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.20.0" ``` ## Authentication diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx-bom/pom.xml b/java-dialogflow-cx/google-cloud-dialogflow-cx-bom/pom.xml index ffe53b4c9dc9..2cedb595ff2d 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx-bom/pom.xml +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-dialogflow-cx-bom - 0.20.0 + 0.21.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-dialogflow-cx - 0.20.0 + 0.21.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3beta1 - 0.20.0 + 0.21.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3 - 0.20.0 + 0.21.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3beta1 - 0.20.0 + 0.21.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3 - 0.20.0 + 0.21.0 diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/pom.xml b/java-dialogflow-cx/google-cloud-dialogflow-cx/pom.xml index bcfdd80bd921..697035cd7fce 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/pom.xml +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-dialogflow-cx - 0.20.0 + 0.21.0 jar Google Dialogflow CX provides a new way of designing agents, taking a state machine approach to agent design. This gives you clear and explicit control over a conversation, a better end-user experience, and a better development workflow. com.google.cloud google-cloud-dialogflow-cx-parent - 0.20.0 + 0.21.0 google-cloud-dialogflow-cx diff --git a/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3/pom.xml b/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3/pom.xml index a5161137adef..c975d97b22d0 100644 --- a/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3/pom.xml +++ b/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3 - 0.20.0 + 0.21.0 grpc-google-cloud-dialogflow-cx-v3 GRPC library for grpc-google-cloud-dialogflow-cx-v3 com.google.cloud google-cloud-dialogflow-cx-parent - 0.20.0 + 0.21.0 diff --git a/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml b/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml index 5a3d943291a9..1d4845d6070b 100644 --- a/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml +++ b/java-dialogflow-cx/grpc-google-cloud-dialogflow-cx-v3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3beta1 - 0.20.0 + 0.21.0 grpc-google-cloud-dialogflow-cx-v3beta1 GRPC library for grpc-google-cloud-dialogflow-cx-v3beta1 com.google.cloud google-cloud-dialogflow-cx-parent - 0.20.0 + 0.21.0 diff --git a/java-dialogflow-cx/pom.xml b/java-dialogflow-cx/pom.xml index 9702c31f48ed..1cad32ca02b5 100644 --- a/java-dialogflow-cx/pom.xml +++ b/java-dialogflow-cx/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dialogflow-cx-parent pom - 0.20.0 + 0.21.0 Google Dialogflow CX Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-dialogflow-cx - 0.20.0 + 0.21.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3beta1 - 0.20.0 + 0.21.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3 - 0.20.0 + 0.21.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3beta1 - 0.20.0 + 0.21.0 com.google.api.grpc grpc-google-cloud-dialogflow-cx-v3 - 0.20.0 + 0.21.0 diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/pom.xml b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/pom.xml index adf7a252d192..3e0595e84d4d 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/pom.xml +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3 - 0.20.0 + 0.21.0 proto-google-cloud-dialogflow-cx-v3 PROTO library for proto-google-cloud-dialogflow-cx-v3 com.google.cloud google-cloud-dialogflow-cx-parent - 0.20.0 + 0.21.0 diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentProto.java index b56caec5dfcd..bcaf8a9eb23b 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentProto.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/AgentProto.java @@ -135,87 +135,87 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "logflow.cx.v3.AgentB\003\340A\002\022/\n\013update_mask\030" + "\002 \001(\0132\032.google.protobuf.FieldMask\"K\n\022Del" + "eteAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037d" - + "ialogflow.googleapis.com/Agent\"\264\002\n\022Expor" + + "ialogflow.googleapis.com/Agent\"\306\002\n\022Expor" + "tAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dia" + "logflow.googleapis.com/Agent\022\026\n\tagent_ur" + "i\030\002 \001(\tB\003\340A\001\022V\n\013data_format\030\003 \001(\0162<.goog" + "le.cloud.dialogflow.cx.v3.ExportAgentReq" + "uest.DataFormatB\003\340A\001\022B\n\013environment\030\005 \001(" + "\tB-\340A\001\372A\'\n%dialogflow.googleapis.com/Env" - + "ironment\"3\n\nDataFormat\022\033\n\027DATA_FORMAT_UN" - + "SPECIFIED\020\000\022\010\n\004BLOB\020\001\"L\n\023ExportAgentResp" - + "onse\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\ragent_conte" - + "nt\030\002 \001(\014H\000B\007\n\005agent\"\246\002\n\023RestoreAgentRequ" - + "est\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.go" - + "ogleapis.com/Agent\022\023\n\tagent_uri\030\002 \001(\tH\000\022" - + "\027\n\ragent_content\030\003 \001(\014H\000\022X\n\016restore_opti" - + "on\030\005 \001(\0162@.google.cloud.dialogflow.cx.v3" - + ".RestoreAgentRequest.RestoreOption\"G\n\rRe" - + "storeOption\022\036\n\032RESTORE_OPTION_UNSPECIFIE" - + "D\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\007\n\005agent\"d\n\024" - + "ValidateAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372" - + "A!\n\037dialogflow.googleapis.com/Agent\022\025\n\rl" - + "anguage_code\030\002 \001(\t\"\177\n\037GetAgentValidation" - + "ResultRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/dia" - + "logflow.googleapis.com/AgentValidationRe" - + "sult\022\025\n\rlanguage_code\030\002 \001(\t\"\372\001\n\025AgentVal" - + "idationResult\022\014\n\004name\030\001 \001(\t\022T\n\027flow_vali" - + "dation_results\030\002 \003(\01323.google.cloud.dial" - + "ogflow.cx.v3.FlowValidationResult:}\352Az\n/" - + "dialogflow.googleapis.com/AgentValidatio" - + "nResult\022Gprojects/{project}/locations/{l" - + "ocation}/agents/{agent}/validationResult" - + "2\231\016\n\006Agents\022\256\001\n\nListAgents\0220.google.clou" - + "d.dialogflow.cx.v3.ListAgentsRequest\0321.g" - + "oogle.cloud.dialogflow.cx.v3.ListAgentsR" - + "esponse\";\202\323\344\223\002,\022*/v3/{parent=projects/*/" - + "locations/*}/agents\332A\006parent\022\233\001\n\010GetAgen" - + "t\022..google.cloud.dialogflow.cx.v3.GetAge" - + "ntRequest\032$.google.cloud.dialogflow.cx.v" - + "3.Agent\"9\202\323\344\223\002,\022*/v3/{name=projects/*/lo" - + "cations/*/agents/*}\332A\004name\022\260\001\n\013CreateAge" - + "nt\0221.google.cloud.dialogflow.cx.v3.Creat" - + "eAgentRequest\032$.google.cloud.dialogflow." - + "cx.v3.Agent\"H\202\323\344\223\0023\"*/v3/{parent=project" - + "s/*/locations/*}/agents:\005agent\332A\014parent," - + "agent\022\273\001\n\013UpdateAgent\0221.google.cloud.dia" - + "logflow.cx.v3.UpdateAgentRequest\032$.googl" - + "e.cloud.dialogflow.cx.v3.Agent\"S\202\323\344\223\002920" - + "/v3/{agent.name=projects/*/locations/*/a" - + "gents/*}:\005agent\332A\021agent,update_mask\022\223\001\n\013" - + "DeleteAgent\0221.google.cloud.dialogflow.cx" - + ".v3.DeleteAgentRequest\032\026.google.protobuf" - + ".Empty\"9\202\323\344\223\002,**/v3/{name=projects/*/loc" - + "ations/*/agents/*}\332A\004name\022\315\001\n\013ExportAgen" - + "t\0221.google.cloud.dialogflow.cx.v3.Export" - + "AgentRequest\032\035.google.longrunning.Operat" - + "ion\"l\202\323\344\223\0026\"1/v3/{name=projects/*/locati" - + "ons/*/agents/*}:export:\001*\312A-\n\023ExportAgen" - + "tResponse\022\026google.protobuf.Struct\022\322\001\n\014Re" - + "storeAgent\0222.google.cloud.dialogflow.cx." - + "v3.RestoreAgentRequest\032\035.google.longrunn" - + "ing.Operation\"o\202\323\344\223\0027\"2/v3/{name=project" - + "s/*/locations/*/agents/*}:restore:\001*\312A/\n" - + "\025google.protobuf.Empty\022\026google.protobuf." - + "Struct\022\272\001\n\rValidateAgent\0223.google.cloud." - + "dialogflow.cx.v3.ValidateAgentRequest\0324." - + "google.cloud.dialogflow.cx.v3.AgentValid" - + "ationResult\">\202\323\344\223\0028\"3/v3/{name=projects/" - + "*/locations/*/agents/*}:validate:\001*\022\334\001\n\030" - + "GetAgentValidationResult\022>.google.cloud." - + "dialogflow.cx.v3.GetAgentValidationResul" - + "tRequest\0324.google.cloud.dialogflow.cx.v3" - + ".AgentValidationResult\"J\202\323\344\223\002=\022;/v3/{nam" - + "e=projects/*/locations/*/agents/*/valida" - + "tionResult}\332A\004name\032x\312A\031dialogflow.google" - + "apis.com\322AYhttps://www.googleapis.com/au" - + "th/cloud-platform,https://www.googleapis" - + ".com/auth/dialogflowB\260\001\n!com.google.clou" - + "d.dialogflow.cx.v3B\nAgentProtoP\001Z1cloud." - + "google.com/go/dialogflow/cx/apiv3/cxpb;c" - + "xpb\370\001\001\242\002\002DF\252\002\035Google.Cloud.Dialogflow.Cx" - + ".V3\352\002!Google::Cloud::Dialogflow::CX::V3b" - + "\006proto3" + + "ironment\"E\n\nDataFormat\022\033\n\027DATA_FORMAT_UN" + + "SPECIFIED\020\000\022\010\n\004BLOB\020\001\022\020\n\014JSON_PACKAGE\020\004\"" + + "L\n\023ExportAgentResponse\022\023\n\tagent_uri\030\001 \001(" + + "\tH\000\022\027\n\ragent_content\030\002 \001(\014H\000B\007\n\005agent\"\246\002" + + "\n\023RestoreAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002" + + "\372A!\n\037dialogflow.googleapis.com/Agent\022\023\n\t" + + "agent_uri\030\002 \001(\tH\000\022\027\n\ragent_content\030\003 \001(\014" + + "H\000\022X\n\016restore_option\030\005 \001(\0162@.google.clou" + + "d.dialogflow.cx.v3.RestoreAgentRequest.R" + + "estoreOption\"G\n\rRestoreOption\022\036\n\032RESTORE" + + "_OPTION_UNSPECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLB" + + "ACK\020\002B\007\n\005agent\"d\n\024ValidateAgentRequest\0225" + + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googlea" + + "pis.com/Agent\022\025\n\rlanguage_code\030\002 \001(\t\"\177\n\037" + + "GetAgentValidationResultRequest\022E\n\004name\030" + + "\001 \001(\tB7\340A\002\372A1\n/dialogflow.googleapis.com" + + "/AgentValidationResult\022\025\n\rlanguage_code\030" + + "\002 \001(\t\"\372\001\n\025AgentValidationResult\022\014\n\004name\030" + + "\001 \001(\t\022T\n\027flow_validation_results\030\002 \003(\01323" + + ".google.cloud.dialogflow.cx.v3.FlowValid" + + "ationResult:}\352Az\n/dialogflow.googleapis." + + "com/AgentValidationResult\022Gprojects/{pro" + + "ject}/locations/{location}/agents/{agent" + + "}/validationResult2\231\016\n\006Agents\022\256\001\n\nListAg" + + "ents\0220.google.cloud.dialogflow.cx.v3.Lis" + + "tAgentsRequest\0321.google.cloud.dialogflow" + + ".cx.v3.ListAgentsResponse\";\202\323\344\223\002,\022*/v3/{" + + "parent=projects/*/locations/*}/agents\332A\006" + + "parent\022\233\001\n\010GetAgent\022..google.cloud.dialo" + + "gflow.cx.v3.GetAgentRequest\032$.google.clo" + + "ud.dialogflow.cx.v3.Agent\"9\202\323\344\223\002,\022*/v3/{" + + "name=projects/*/locations/*/agents/*}\332A\004" + + "name\022\260\001\n\013CreateAgent\0221.google.cloud.dial" + + "ogflow.cx.v3.CreateAgentRequest\032$.google" + + ".cloud.dialogflow.cx.v3.Agent\"H\202\323\344\223\0023\"*/" + + "v3/{parent=projects/*/locations/*}/agent" + + "s:\005agent\332A\014parent,agent\022\273\001\n\013UpdateAgent\022" + + "1.google.cloud.dialogflow.cx.v3.UpdateAg" + + "entRequest\032$.google.cloud.dialogflow.cx." + + "v3.Agent\"S\202\323\344\223\002920/v3/{agent.name=projec" + + "ts/*/locations/*/agents/*}:\005agent\332A\021agen" + + "t,update_mask\022\223\001\n\013DeleteAgent\0221.google.c" + + "loud.dialogflow.cx.v3.DeleteAgentRequest" + + "\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v3/{n" + + "ame=projects/*/locations/*/agents/*}\332A\004n" + + "ame\022\315\001\n\013ExportAgent\0221.google.cloud.dialo" + + "gflow.cx.v3.ExportAgentRequest\032\035.google." + + "longrunning.Operation\"l\202\323\344\223\0026\"1/v3/{name" + + "=projects/*/locations/*/agents/*}:export" + + ":\001*\312A-\n\023ExportAgentResponse\022\026google.prot" + + "obuf.Struct\022\322\001\n\014RestoreAgent\0222.google.cl" + + "oud.dialogflow.cx.v3.RestoreAgentRequest" + + "\032\035.google.longrunning.Operation\"o\202\323\344\223\0027\"" + + "2/v3/{name=projects/*/locations/*/agents" + + "/*}:restore:\001*\312A/\n\025google.protobuf.Empty" + + "\022\026google.protobuf.Struct\022\272\001\n\rValidateAge" + + "nt\0223.google.cloud.dialogflow.cx.v3.Valid" + + "ateAgentRequest\0324.google.cloud.dialogflo" + + "w.cx.v3.AgentValidationResult\">\202\323\344\223\0028\"3/" + + "v3/{name=projects/*/locations/*/agents/*" + + "}:validate:\001*\022\334\001\n\030GetAgentValidationResu" + + "lt\022>.google.cloud.dialogflow.cx.v3.GetAg" + + "entValidationResultRequest\0324.google.clou" + + "d.dialogflow.cx.v3.AgentValidationResult" + + "\"J\202\323\344\223\002=\022;/v3/{name=projects/*/locations" + + "/*/agents/*/validationResult}\332A\004name\032x\312A" + + "\031dialogflow.googleapis.com\322AYhttps://www" + + ".googleapis.com/auth/cloud-platform,http" + + "s://www.googleapis.com/auth/dialogflowB\260" + + "\001\n!com.google.cloud.dialogflow.cx.v3B\nAg" + + "entProtoP\001Z1cloud.google.com/go/dialogfl" + + "ow/cx/apiv3/cxpb;cxpb\370\001\001\242\002\002DF\252\002\035Google.C" + + "loud.Dialogflow.Cx.V3\352\002!Google::Cloud::D" + + "ialogflow::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/ExportAgentRequest.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequest.java index 225931659e6b..8445c27de737 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequest.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExportAgentRequest.java @@ -101,6 +101,16 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { * BLOB = 1; */ BLOB(1), + /** + * + * + *
      +     * Agent content will be exported in JSON Package format.
      +     * 
      + * + * JSON_PACKAGE = 4; + */ + JSON_PACKAGE(4), UNRECOGNIZED(-1), ; @@ -124,6 +134,16 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { * BLOB = 1; */ public static final int BLOB_VALUE = 1; + /** + * + * + *
      +     * Agent content will be exported in JSON Package format.
      +     * 
      + * + * JSON_PACKAGE = 4; + */ + public static final int JSON_PACKAGE_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -153,6 +173,8 @@ public static DataFormat forNumber(int value) { return DATA_FORMAT_UNSPECIFIED; case 1: return BLOB; + case 4: + return JSON_PACKAGE; default: return null; } diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto index a019767cd61d..1f5f93f9275f 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/agent.proto @@ -363,6 +363,9 @@ message ExportAgentRequest { // Agent content will be exported as raw bytes. BLOB = 1; + + // Agent content will be exported in JSON Package format. + JSON_PACKAGE = 4; } // Required. The name of the agent to export. diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml index 74412b38af84..368a87352048 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dialogflow-cx-v3beta1 - 0.20.0 + 0.21.0 proto-google-cloud-dialogflow-cx-v3beta1 PROTO library for proto-google-cloud-dialogflow-cx-v3beta1 com.google.cloud google-cloud-dialogflow-cx-parent - 0.20.0 + 0.21.0 diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java index 18542b9846f3..3aa91e4a1562 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java @@ -136,91 +136,91 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "alogflow.cx.v3beta1.AgentB\003\340A\002\022/\n\013update" + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" + "K\n\022DeleteAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002" - + "\372A!\n\037dialogflow.googleapis.com/Agent\"\271\002\n" + + "\372A!\n\037dialogflow.googleapis.com/Agent\"\313\002\n" + "\022ExportAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A" + "!\n\037dialogflow.googleapis.com/Agent\022\026\n\tag" + "ent_uri\030\002 \001(\tB\003\340A\001\022[\n\013data_format\030\003 \001(\0162" + "A.google.cloud.dialogflow.cx.v3beta1.Exp" + "ortAgentRequest.DataFormatB\003\340A\001\022B\n\013envir" + "onment\030\005 \001(\tB-\340A\001\372A\'\n%dialogflow.googlea" - + "pis.com/Environment\"3\n\nDataFormat\022\033\n\027DAT" - + "A_FORMAT_UNSPECIFIED\020\000\022\010\n\004BLOB\020\001\"L\n\023Expo" - + "rtAgentResponse\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\r" - + "agent_content\030\002 \001(\014H\000B\007\n\005agent\"\253\002\n\023Resto" - + "reAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037di" - + "alogflow.googleapis.com/Agent\022\023\n\tagent_u" - + "ri\030\002 \001(\tH\000\022\027\n\ragent_content\030\003 \001(\014H\000\022]\n\016r" - + "estore_option\030\005 \001(\0162E.google.cloud.dialo" - + "gflow.cx.v3beta1.RestoreAgentRequest.Res" - + "toreOption\"G\n\rRestoreOption\022\036\n\032RESTORE_O" - + "PTION_UNSPECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBAC" - + "K\020\002B\007\n\005agent\"d\n\024ValidateAgentRequest\0225\n\004" - + "name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapi" - + "s.com/Agent\022\025\n\rlanguage_code\030\002 \001(\t\"\177\n\037Ge" - + "tAgentValidationResultRequest\022E\n\004name\030\001 " - + "\001(\tB7\340A\002\372A1\n/dialogflow.googleapis.com/A" - + "gentValidationResult\022\025\n\rlanguage_code\030\002 " - + "\001(\t\"\377\001\n\025AgentValidationResult\022\014\n\004name\030\001 " - + "\001(\t\022Y\n\027flow_validation_results\030\002 \003(\01328.g" - + "oogle.cloud.dialogflow.cx.v3beta1.FlowVa" - + "lidationResult:}\352Az\n/dialogflow.googleap" - + "is.com/AgentValidationResult\022Gprojects/{" - + "project}/locations/{location}/agents/{ag" - + "ent}/validationResult2\221\017\n\006Agents\022\275\001\n\nLis" - + "tAgents\0225.google.cloud.dialogflow.cx.v3b" - + "eta1.ListAgentsRequest\0326.google.cloud.di" - + "alogflow.cx.v3beta1.ListAgentsResponse\"@" - + "\202\323\344\223\0021\022//v3beta1/{parent=projects/*/loca" - + "tions/*}/agents\332A\006parent\022\252\001\n\010GetAgent\0223." - + "google.cloud.dialogflow.cx.v3beta1.GetAg" - + "entRequest\032).google.cloud.dialogflow.cx." - + "v3beta1.Agent\">\202\323\344\223\0021\022//v3beta1/{name=pr" - + "ojects/*/locations/*/agents/*}\332A\004name\022\277\001" - + "\n\013CreateAgent\0226.google.cloud.dialogflow." - + "cx.v3beta1.CreateAgentRequest\032).google.c" - + "loud.dialogflow.cx.v3beta1.Agent\"M\202\323\344\223\0028" - + "\"//v3beta1/{parent=projects/*/locations/" - + "*}/agents:\005agent\332A\014parent,agent\022\312\001\n\013Upda" - + "teAgent\0226.google.cloud.dialogflow.cx.v3b" - + "eta1.UpdateAgentRequest\032).google.cloud.d" - + "ialogflow.cx.v3beta1.Agent\"X\202\323\344\223\002>25/v3b" - + "eta1/{agent.name=projects/*/locations/*/" - + "agents/*}:\005agent\332A\021agent,update_mask\022\235\001\n" - + "\013DeleteAgent\0226.google.cloud.dialogflow.c" - + "x.v3beta1.DeleteAgentRequest\032\026.google.pr" - + "otobuf.Empty\">\202\323\344\223\0021*//v3beta1/{name=pro" - + "jects/*/locations/*/agents/*}\332A\004name\022\327\001\n" - + "\013ExportAgent\0226.google.cloud.dialogflow.c" - + "x.v3beta1.ExportAgentRequest\032\035.google.lo" - + "ngrunning.Operation\"q\202\323\344\223\002;\"6/v3beta1/{n" - + "ame=projects/*/locations/*/agents/*}:exp" - + "ort:\001*\312A-\n\023ExportAgentResponse\022\026google.p" - + "rotobuf.Struct\022\334\001\n\014RestoreAgent\0227.google" - + ".cloud.dialogflow.cx.v3beta1.RestoreAgen" - + "tRequest\032\035.google.longrunning.Operation\"" - + "t\202\323\344\223\002<\"7/v3beta1/{name=projects/*/locat" - + "ions/*/agents/*}:restore:\001*\312A/\n\025google.p" - + "rotobuf.Empty\022\026google.protobuf.Struct\022\311\001" - + "\n\rValidateAgent\0228.google.cloud.dialogflo" - + "w.cx.v3beta1.ValidateAgentRequest\0329.goog" - + "le.cloud.dialogflow.cx.v3beta1.AgentVali" - + "dationResult\"C\202\323\344\223\002=\"8/v3beta1/{name=pro" - + "jects/*/locations/*/agents/*}:validate:\001" - + "*\022\353\001\n\030GetAgentValidationResult\022C.google." - + "cloud.dialogflow.cx.v3beta1.GetAgentVali" - + "dationResultRequest\0329.google.cloud.dialo" - + "gflow.cx.v3beta1.AgentValidationResult\"O" - + "\202\323\344\223\002B\022@/v3beta1/{name=projects/*/locati" - + "ons/*/agents/*/validationResult}\332A\004name\032" - + "x\312A\031dialogflow.googleapis.com\322AYhttps://" - + "www.googleapis.com/auth/cloud-platform,h" - + "ttps://www.googleapis.com/auth/dialogflo" - + "wB\304\001\n&com.google.cloud.dialogflow.cx.v3b" - + "eta1B\nAgentProtoP\001Z6cloud.google.com/go/" - + "dialogflow/cx/apiv3beta1/cxpb;cxpb\370\001\001\242\002\002" - + "DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Beta1\352" - + "\002&Google::Cloud::Dialogflow::CX::V3beta1" - + "b\006proto3" + + "pis.com/Environment\"E\n\nDataFormat\022\033\n\027DAT" + + "A_FORMAT_UNSPECIFIED\020\000\022\010\n\004BLOB\020\001\022\020\n\014JSON" + + "_PACKAGE\020\004\"L\n\023ExportAgentResponse\022\023\n\tage" + + "nt_uri\030\001 \001(\tH\000\022\027\n\ragent_content\030\002 \001(\014H\000B" + + "\007\n\005agent\"\253\002\n\023RestoreAgentRequest\0225\n\004name" + + "\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis.co" + + "m/Agent\022\023\n\tagent_uri\030\002 \001(\tH\000\022\027\n\ragent_co" + + "ntent\030\003 \001(\014H\000\022]\n\016restore_option\030\005 \001(\0162E." + + "google.cloud.dialogflow.cx.v3beta1.Resto" + + "reAgentRequest.RestoreOption\"G\n\rRestoreO" + + "ption\022\036\n\032RESTORE_OPTION_UNSPECIFIED\020\000\022\010\n" + + "\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\007\n\005agent\"d\n\024Valida" + + "teAgentRequest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037di" + + "alogflow.googleapis.com/Agent\022\025\n\rlanguag" + + "e_code\030\002 \001(\t\"\177\n\037GetAgentValidationResult" + + "Request\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/dialogflo" + + "w.googleapis.com/AgentValidationResult\022\025" + + "\n\rlanguage_code\030\002 \001(\t\"\377\001\n\025AgentValidatio" + + "nResult\022\014\n\004name\030\001 \001(\t\022Y\n\027flow_validation" + + "_results\030\002 \003(\01328.google.cloud.dialogflow" + + ".cx.v3beta1.FlowValidationResult:}\352Az\n/d" + + "ialogflow.googleapis.com/AgentValidation" + + "Result\022Gprojects/{project}/locations/{lo" + + "cation}/agents/{agent}/validationResult2" + + "\221\017\n\006Agents\022\275\001\n\nListAgents\0225.google.cloud" + + ".dialogflow.cx.v3beta1.ListAgentsRequest" + + "\0326.google.cloud.dialogflow.cx.v3beta1.Li" + + "stAgentsResponse\"@\202\323\344\223\0021\022//v3beta1/{pare" + + "nt=projects/*/locations/*}/agents\332A\006pare" + + "nt\022\252\001\n\010GetAgent\0223.google.cloud.dialogflo" + + "w.cx.v3beta1.GetAgentRequest\032).google.cl" + + "oud.dialogflow.cx.v3beta1.Agent\">\202\323\344\223\0021\022" + + "//v3beta1/{name=projects/*/locations/*/a" + + "gents/*}\332A\004name\022\277\001\n\013CreateAgent\0226.google" + + ".cloud.dialogflow.cx.v3beta1.CreateAgent" + + "Request\032).google.cloud.dialogflow.cx.v3b" + + "eta1.Agent\"M\202\323\344\223\0028\"//v3beta1/{parent=pro" + + "jects/*/locations/*}/agents:\005agent\332A\014par" + + "ent,agent\022\312\001\n\013UpdateAgent\0226.google.cloud" + + ".dialogflow.cx.v3beta1.UpdateAgentReques" + + "t\032).google.cloud.dialogflow.cx.v3beta1.A" + + "gent\"X\202\323\344\223\002>25/v3beta1/{agent.name=proje" + + "cts/*/locations/*/agents/*}:\005agent\332A\021age" + + "nt,update_mask\022\235\001\n\013DeleteAgent\0226.google." + + "cloud.dialogflow.cx.v3beta1.DeleteAgentR" + + "equest\032\026.google.protobuf.Empty\">\202\323\344\223\0021*/" + + "/v3beta1/{name=projects/*/locations/*/ag" + + "ents/*}\332A\004name\022\327\001\n\013ExportAgent\0226.google." + + "cloud.dialogflow.cx.v3beta1.ExportAgentR" + + "equest\032\035.google.longrunning.Operation\"q\202" + + "\323\344\223\002;\"6/v3beta1/{name=projects/*/locatio" + + "ns/*/agents/*}:export:\001*\312A-\n\023ExportAgent" + + "Response\022\026google.protobuf.Struct\022\334\001\n\014Res" + + "toreAgent\0227.google.cloud.dialogflow.cx.v" + + "3beta1.RestoreAgentRequest\032\035.google.long" + + "running.Operation\"t\202\323\344\223\002<\"7/v3beta1/{nam" + + "e=projects/*/locations/*/agents/*}:resto" + + "re:\001*\312A/\n\025google.protobuf.Empty\022\026google." + + "protobuf.Struct\022\311\001\n\rValidateAgent\0228.goog" + + "le.cloud.dialogflow.cx.v3beta1.ValidateA" + + "gentRequest\0329.google.cloud.dialogflow.cx" + + ".v3beta1.AgentValidationResult\"C\202\323\344\223\002=\"8" + + "/v3beta1/{name=projects/*/locations/*/ag" + + "ents/*}:validate:\001*\022\353\001\n\030GetAgentValidati" + + "onResult\022C.google.cloud.dialogflow.cx.v3" + + "beta1.GetAgentValidationResultRequest\0329." + + "google.cloud.dialogflow.cx.v3beta1.Agent" + + "ValidationResult\"O\202\323\344\223\002B\022@/v3beta1/{name" + + "=projects/*/locations/*/agents/*/validat" + + "ionResult}\332A\004name\032x\312A\031dialogflow.googlea" + + "pis.com\322AYhttps://www.googleapis.com/aut" + + "h/cloud-platform,https://www.googleapis." + + "com/auth/dialogflowB\304\001\n&com.google.cloud" + + ".dialogflow.cx.v3beta1B\nAgentProtoP\001Z6cl" + + "oud.google.com/go/dialogflow/cx/apiv3bet" + + "a1/cxpb;cxpb\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dial" + + "ogflow.Cx.V3Beta1\352\002&Google::Cloud::Dialo" + + "gflow::CX::V3beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequest.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequest.java index 16a46a712679..8fc4fbcf8c12 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequest.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ExportAgentRequest.java @@ -101,6 +101,16 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { * BLOB = 1; */ BLOB(1), + /** + * + * + *
      +     * Agent content will be exported in JSON Package format.
      +     * 
      + * + * JSON_PACKAGE = 4; + */ + JSON_PACKAGE(4), UNRECOGNIZED(-1), ; @@ -124,6 +134,16 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { * BLOB = 1; */ public static final int BLOB_VALUE = 1; + /** + * + * + *
      +     * Agent content will be exported in JSON Package format.
      +     * 
      + * + * JSON_PACKAGE = 4; + */ + public static final int JSON_PACKAGE_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -153,6 +173,8 @@ public static DataFormat forNumber(int value) { return DATA_FORMAT_UNSPECIFIED; case 1: return BLOB; + case 4: + return JSON_PACKAGE; default: return null; } diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto index ab4ce1a62105..96ce5cdd312a 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto @@ -363,6 +363,9 @@ message ExportAgentRequest { // Agent content will be exported as raw bytes. BLOB = 1; + + // Agent content will be exported in JSON Package format. + JSON_PACKAGE = 4; } // Required. The name of the agent to export. diff --git a/java-dialogflow/README.md b/java-dialogflow/README.md index 62724a36d2b1..5768a03310a7 100644 --- a/java-dialogflow/README.md +++ b/java-dialogflow/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-dialogflow - 4.14.0 + 4.15.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow:4.14.0' +implementation 'com.google.cloud:google-cloud-dialogflow:4.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.14.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.15.0" ``` ## Authentication diff --git a/java-dialogflow/google-cloud-dialogflow-bom/pom.xml b/java-dialogflow/google-cloud-dialogflow-bom/pom.xml index fb7a16d67a8f..5c8a014ccf51 100644 --- a/java-dialogflow/google-cloud-dialogflow-bom/pom.xml +++ b/java-dialogflow/google-cloud-dialogflow-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-dialogflow-bom - 4.15.0 + 4.16.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-dialogflow - 4.15.0 + 4.16.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.113.0 + 0.114.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 4.15.0 + 4.16.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 4.15.0 + 4.16.0 com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.113.0 + 0.114.0
      diff --git a/java-dialogflow/google-cloud-dialogflow/pom.xml b/java-dialogflow/google-cloud-dialogflow/pom.xml index ea78440f19ed..28ee7d3a7bbf 100644 --- a/java-dialogflow/google-cloud-dialogflow/pom.xml +++ b/java-dialogflow/google-cloud-dialogflow/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-dialogflow - 4.15.0 + 4.16.0 jar Google Cloud Dialog Flow API Java idiomatic client for Google Cloud Dialog Flow API com.google.cloud google-cloud-dialogflow-parent - 4.15.0 + 4.16.0 google-cloud-dialogflow diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2/pom.xml b/java-dialogflow/grpc-google-cloud-dialogflow-v2/pom.xml index 8e4c90ac1a45..0c9e33d29597 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2/pom.xml +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 4.15.0 + 4.16.0 grpc-google-cloud-dialogflow-v2 GRPC library for grpc-google-cloud-dialogflow-v2 com.google.cloud google-cloud-dialogflow-parent - 4.15.0 + 4.16.0 diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/pom.xml b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/pom.xml index b5327830ddf7..676cbfc6b45b 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/pom.xml +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.113.0 + 0.114.0 grpc-google-cloud-dialogflow-v2beta1 GRPC library for grpc-google-cloud-dialogflow-v2beta1 com.google.cloud google-cloud-dialogflow-parent - 4.15.0 + 4.16.0 diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java index 9e28cb3354bc..8c1ccb8ca2e9 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsGrpc.java @@ -577,7 +577,8 @@ public void trainAgent( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] + * - `response`: + * [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] *
      */ public void exportAgent( @@ -594,11 +595,13 @@ public void exportAgent( * Imports the specified agent from a ZIP file. * Uploads new intents and entity types without deleting the existing ones. * Intents and entity types with the same name are replaced with the new - * versions from [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. After the import, the imported draft - * agent will be trained automatically (unless disabled in agent settings). - * However, once the import is done, training may not be completed yet. Please - * call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train - * explicitly. + * versions from + * [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. + * After the import, the imported draft agent will be trained automatically + * (unless disabled in agent settings). However, once the import is done, + * training may not be completed yet. Please call + * [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + * for the operation it returns in order to train explicitly. * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: @@ -629,8 +632,9 @@ public void importAgent( * entity types in the older version are deleted. After the restore, the * restored draft agent will be trained automatically (unless disabled in * agent settings). However, once the restore is done, training may not be - * completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it - * returns in order to train explicitly. + * completed yet. Please call + * [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + * for the operation it returns in order to train explicitly. * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: @@ -851,7 +855,8 @@ public void trainAgent( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] + * - `response`: + * [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] * */ public void exportAgent( @@ -870,11 +875,13 @@ public void exportAgent( * Imports the specified agent from a ZIP file. * Uploads new intents and entity types without deleting the existing ones. * Intents and entity types with the same name are replaced with the new - * versions from [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. After the import, the imported draft - * agent will be trained automatically (unless disabled in agent settings). - * However, once the import is done, training may not be completed yet. Please - * call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train - * explicitly. + * versions from + * [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. + * After the import, the imported draft agent will be trained automatically + * (unless disabled in agent settings). However, once the import is done, + * training may not be completed yet. Please call + * [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + * for the operation it returns in order to train explicitly. * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: @@ -907,8 +914,9 @@ public void importAgent( * entity types in the older version are deleted. After the restore, the * restored draft agent will be trained automatically (unless disabled in * agent settings). However, once the restore is done, training may not be - * completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it - * returns in order to train explicitly. + * completed yet. Please call + * [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + * for the operation it returns in order to train explicitly. * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: @@ -1062,7 +1070,8 @@ public com.google.longrunning.Operation trainAgent( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] + * - `response`: + * [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] * */ public com.google.longrunning.Operation exportAgent( @@ -1078,11 +1087,13 @@ public com.google.longrunning.Operation exportAgent( * Imports the specified agent from a ZIP file. * Uploads new intents and entity types without deleting the existing ones. * Intents and entity types with the same name are replaced with the new - * versions from [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. After the import, the imported draft - * agent will be trained automatically (unless disabled in agent settings). - * However, once the import is done, training may not be completed yet. Please - * call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train - * explicitly. + * versions from + * [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. + * After the import, the imported draft agent will be trained automatically + * (unless disabled in agent settings). However, once the import is done, + * training may not be completed yet. Please call + * [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + * for the operation it returns in order to train explicitly. * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: @@ -1112,8 +1123,9 @@ public com.google.longrunning.Operation importAgent( * entity types in the older version are deleted. After the restore, the * restored draft agent will be trained automatically (unless disabled in * agent settings). However, once the restore is done, training may not be - * completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it - * returns in order to train explicitly. + * completed yet. Please call + * [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + * for the operation it returns in order to train explicitly. * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: @@ -1263,7 +1275,8 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] + * - `response`: + * [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] * */ public com.google.common.util.concurrent.ListenableFuture @@ -1279,11 +1292,13 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * Imports the specified agent from a ZIP file. * Uploads new intents and entity types without deleting the existing ones. * Intents and entity types with the same name are replaced with the new - * versions from [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. After the import, the imported draft - * agent will be trained automatically (unless disabled in agent settings). - * However, once the import is done, training may not be completed yet. Please - * call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train - * explicitly. + * versions from + * [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. + * After the import, the imported draft agent will be trained automatically + * (unless disabled in agent settings). However, once the import is done, + * training may not be completed yet. Please call + * [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + * for the operation it returns in order to train explicitly. * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: @@ -1313,8 +1328,9 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * entity types in the older version are deleted. After the restore, the * restored draft agent will be trained automatically (unless disabled in * agent settings). However, once the restore is done, training may not be - * completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it - * returns in order to train explicitly. + * completed yet. Please call + * [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + * for the operation it returns in order to train explicitly. * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsGrpc.java index 14a9c13460e9..3f4cfd452a99 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
      + * Service for managing
      + * [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
        * 
      */ @javax.annotation.Generated( @@ -221,7 +222,8 @@ public AnswerRecordsFutureStub newStub( * * *
      -   * Service for managing [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
      +   * Service for managing
      +   * [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
          * 
      */ public abstract static class AnswerRecordsImplBase implements io.grpc.BindableService { @@ -306,7 +308,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
      +   * Service for managing
      +   * [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
          * 
      */ public static final class AnswerRecordsStub @@ -379,7 +382,8 @@ public void updateAnswerRecord( * * *
      -   * Service for managing [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
      +   * Service for managing
      +   * [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
          * 
      */ public static final class AnswerRecordsBlockingStub @@ -441,7 +445,8 @@ public com.google.cloud.dialogflow.v2beta1.AnswerRecord updateAnswerRecord( * * *
      -   * Service for managing [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
      +   * Service for managing
      +   * [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
          * 
      */ public static final class AnswerRecordsFutureStub diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesGrpc.java index 17fd614d5d2a..7320609c17f7 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
      + * Service for managing
      + * [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
        * 
      */ @javax.annotation.Generated( @@ -447,7 +448,8 @@ public ConversationProfilesFutureStub newStub( * * *
      -   * Service for managing [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
      +   * Service for managing
      +   * [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
          * 
      */ public abstract static class ConversationProfilesImplBase implements io.grpc.BindableService { @@ -490,7 +492,8 @@ public void getConversationProfile( * Creates a conversation profile in the specified project. * [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] * aren't populated in the response. You can retrieve them via - * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. + * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + * API. * */ public void createConversationProfile( @@ -508,7 +511,8 @@ public void createConversationProfile( * Updates the specified conversation profile. * [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] * aren't populated in the response. You can retrieve them via - * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. + * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + * API. * */ public void updateConversationProfile( @@ -544,8 +548,10 @@ public void deleteConversationProfile( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] - * - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + * - `metadata`: + * [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] + * - `response`: + * [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] * If a long running operation to add or update suggestion feature * config for the same conversation profile, participant role and suggestion * feature type exists, please cancel the existing long running operation @@ -568,8 +574,10 @@ public void setSuggestionFeatureConfig( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] - * - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + * - `metadata`: + * [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] + * - `response`: + * [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] * */ public void clearSuggestionFeatureConfig( @@ -638,7 +646,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
      +   * Service for managing
      +   * [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
          * 
      */ public static final class ConversationProfilesStub @@ -695,7 +704,8 @@ public void getConversationProfile( * Creates a conversation profile in the specified project. * [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] * aren't populated in the response. You can retrieve them via - * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. + * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + * API. * */ public void createConversationProfile( @@ -715,7 +725,8 @@ public void createConversationProfile( * Updates the specified conversation profile. * [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] * aren't populated in the response. You can retrieve them via - * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. + * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + * API. * */ public void updateConversationProfile( @@ -755,8 +766,10 @@ public void deleteConversationProfile( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] - * - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + * - `metadata`: + * [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] + * - `response`: + * [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] * If a long running operation to add or update suggestion feature * config for the same conversation profile, participant role and suggestion * feature type exists, please cancel the existing long running operation @@ -781,8 +794,10 @@ public void setSuggestionFeatureConfig( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] - * - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + * - `metadata`: + * [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] + * - `response`: + * [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] * */ public void clearSuggestionFeatureConfig( @@ -799,7 +814,8 @@ public void clearSuggestionFeatureConfig( * * *
      -   * Service for managing [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
      +   * Service for managing
      +   * [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
          * 
      */ public static final class ConversationProfilesBlockingStub @@ -849,7 +865,8 @@ public com.google.cloud.dialogflow.v2beta1.ConversationProfile getConversationPr * Creates a conversation profile in the specified project. * [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] * aren't populated in the response. You can retrieve them via - * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. + * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + * API. * */ public com.google.cloud.dialogflow.v2beta1.ConversationProfile createConversationProfile( @@ -865,7 +882,8 @@ public com.google.cloud.dialogflow.v2beta1.ConversationProfile createConversatio * Updates the specified conversation profile. * [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] * aren't populated in the response. You can retrieve them via - * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. + * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + * API. * */ public com.google.cloud.dialogflow.v2beta1.ConversationProfile updateConversationProfile( @@ -898,8 +916,10 @@ public com.google.protobuf.Empty deleteConversationProfile( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] - * - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + * - `metadata`: + * [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] + * - `response`: + * [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] * If a long running operation to add or update suggestion feature * config for the same conversation profile, participant role and suggestion * feature type exists, please cancel the existing long running operation @@ -921,8 +941,10 @@ public com.google.longrunning.Operation setSuggestionFeatureConfig( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] - * - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + * - `metadata`: + * [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] + * - `response`: + * [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] * */ public com.google.longrunning.Operation clearSuggestionFeatureConfig( @@ -936,7 +958,8 @@ public com.google.longrunning.Operation clearSuggestionFeatureConfig( * * *
      -   * Service for managing [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
      +   * Service for managing
      +   * [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
          * 
      */ public static final class ConversationProfilesFutureStub @@ -989,7 +1012,8 @@ protected ConversationProfilesFutureStub build( * Creates a conversation profile in the specified project. * [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] * aren't populated in the response. You can retrieve them via - * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. + * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + * API. * */ public com.google.common.util.concurrent.ListenableFuture< @@ -1007,7 +1031,8 @@ protected ConversationProfilesFutureStub build( * Updates the specified conversation profile. * [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] * aren't populated in the response. You can retrieve them via - * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. + * [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + * API. * */ public com.google.common.util.concurrent.ListenableFuture< @@ -1043,8 +1068,10 @@ protected ConversationProfilesFutureStub build( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] - * - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + * - `metadata`: + * [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] + * - `response`: + * [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] * If a long running operation to add or update suggestion feature * config for the same conversation profile, participant role and suggestion * feature type exists, please cancel the existing long running operation @@ -1067,8 +1094,10 @@ protected ConversationProfilesFutureStub build( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] - * - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + * - `metadata`: + * [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] + * - `response`: + * [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] * */ public com.google.common.util.concurrent.ListenableFuture diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsGrpc.java index bd399399ea58..7db5e1c7135c 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
      + * Service for managing
      + * [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
        * 
      */ @javax.annotation.Generated( @@ -418,7 +419,8 @@ public ConversationsFutureStub newStub( * * *
      -   * Service for managing [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
      +   * Service for managing
      +   * [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
          * 
      */ public abstract static class ConversationsImplBase implements io.grpc.BindableService { @@ -436,11 +438,14 @@ public abstract static class ConversationsImplBase implements io.grpc.BindableSe * user queries. * For Assist Stage, there's no dialogflow agent responding to user queries. * But we will provide suggestions which are generated from conversation. - * If [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] is configured for a dialogflow - * agent, conversation will start from `Automated Agent Stage`, otherwise, it - * will start from `Assist Stage`. And during `Automated Agent Stage`, once an - * [Intent][google.cloud.dialogflow.v2beta1.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] is triggered, conversation - * will transfer to Assist Stage. + * If + * [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] + * is configured for a dialogflow agent, conversation will start from + * `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And + * during `Automated Agent Stage`, once an + * [Intent][google.cloud.dialogflow.v2beta1.Intent] with + * [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] + * is triggered, conversation will transfer to Assist Stage. * */ public void createConversation( @@ -610,7 +615,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
      +   * Service for managing
      +   * [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
          * 
      */ public static final class ConversationsStub @@ -637,11 +643,14 @@ protected ConversationsStub build(io.grpc.Channel channel, io.grpc.CallOptions c * user queries. * For Assist Stage, there's no dialogflow agent responding to user queries. * But we will provide suggestions which are generated from conversation. - * If [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] is configured for a dialogflow - * agent, conversation will start from `Automated Agent Stage`, otherwise, it - * will start from `Assist Stage`. And during `Automated Agent Stage`, once an - * [Intent][google.cloud.dialogflow.v2beta1.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] is triggered, conversation - * will transfer to Assist Stage. + * If + * [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] + * is configured for a dialogflow agent, conversation will start from + * `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And + * during `Automated Agent Stage`, once an + * [Intent][google.cloud.dialogflow.v2beta1.Intent] with + * [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] + * is triggered, conversation will transfer to Assist Stage. * */ public void createConversation( @@ -770,7 +779,8 @@ public void suggestConversationSummary( * * *
      -   * Service for managing [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
      +   * Service for managing
      +   * [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
          * 
      */ public static final class ConversationsBlockingStub @@ -798,11 +808,14 @@ protected ConversationsBlockingStub build( * user queries. * For Assist Stage, there's no dialogflow agent responding to user queries. * But we will provide suggestions which are generated from conversation. - * If [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] is configured for a dialogflow - * agent, conversation will start from `Automated Agent Stage`, otherwise, it - * will start from `Assist Stage`. And during `Automated Agent Stage`, once an - * [Intent][google.cloud.dialogflow.v2beta1.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] is triggered, conversation - * will transfer to Assist Stage. + * If + * [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] + * is configured for a dialogflow agent, conversation will start from + * `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And + * during `Automated Agent Stage`, once an + * [Intent][google.cloud.dialogflow.v2beta1.Intent] with + * [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] + * is triggered, conversation will transfer to Assist Stage. * */ public com.google.cloud.dialogflow.v2beta1.Conversation createConversation( @@ -903,7 +916,8 @@ public com.google.cloud.dialogflow.v2beta1.ListMessagesResponse listMessages( * * *
      -   * Service for managing [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
      +   * Service for managing
      +   * [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
          * 
      */ public static final class ConversationsFutureStub @@ -931,11 +945,14 @@ protected ConversationsFutureStub build( * user queries. * For Assist Stage, there's no dialogflow agent responding to user queries. * But we will provide suggestions which are generated from conversation. - * If [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] is configured for a dialogflow - * agent, conversation will start from `Automated Agent Stage`, otherwise, it - * will start from `Assist Stage`. And during `Automated Agent Stage`, once an - * [Intent][google.cloud.dialogflow.v2beta1.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] is triggered, conversation - * will transfer to Assist Stage. + * If + * [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] + * is configured for a dialogflow agent, conversation will start from + * `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And + * during `Automated Agent Stage`, once an + * [Intent][google.cloud.dialogflow.v2beta1.Intent] with + * [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] + * is triggered, conversation will transfer to Assist Stage. * */ public com.google.common.util.concurrent.ListenableFuture< diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java index 818febf03ea6..6ac4ffe42e4f 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing knowledge [Documents][google.cloud.dialogflow.v2beta1.Document].
      + * Service for managing knowledge
      + * [Documents][google.cloud.dialogflow.v2beta1.Document].
        * 
      */ @javax.annotation.Generated( @@ -395,7 +396,8 @@ public DocumentsFutureStub newStub( * * *
      -   * Service for managing knowledge [Documents][google.cloud.dialogflow.v2beta1.Document].
      +   * Service for managing knowledge
      +   * [Documents][google.cloud.dialogflow.v2beta1.Document].
          * 
      */ public abstract static class DocumentsImplBase implements io.grpc.BindableService { @@ -442,7 +444,8 @@ public void getDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -465,8 +468,10 @@ public void createDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - * - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `response`: + * [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] * */ public void importDocuments( @@ -484,7 +489,8 @@ public void importDocuments( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: An [Empty * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; @@ -506,7 +512,8 @@ public void deleteDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -533,7 +540,8 @@ public void updateDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -600,7 +608,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing knowledge [Documents][google.cloud.dialogflow.v2beta1.Document].
      +   * Service for managing knowledge
      +   * [Documents][google.cloud.dialogflow.v2beta1.Document].
          * 
      */ public static final class DocumentsStub extends io.grpc.stub.AbstractAsyncStub { @@ -659,7 +668,8 @@ public void getDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -684,8 +694,10 @@ public void createDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - * - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `response`: + * [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] * */ public void importDocuments( @@ -705,7 +717,8 @@ public void importDocuments( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: An [Empty * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; @@ -729,7 +742,8 @@ public void deleteDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -758,7 +772,8 @@ public void updateDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -778,7 +793,8 @@ public void reloadDocument( * * *
      -   * Service for managing knowledge [Documents][google.cloud.dialogflow.v2beta1.Document].
      +   * Service for managing knowledge
      +   * [Documents][google.cloud.dialogflow.v2beta1.Document].
          * 
      */ public static final class DocumentsBlockingStub @@ -831,7 +847,8 @@ public com.google.cloud.dialogflow.v2beta1.Document getDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -853,8 +870,10 @@ public com.google.longrunning.Operation createDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - * - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `response`: + * [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] * */ public com.google.longrunning.Operation importDocuments( @@ -871,7 +890,8 @@ public com.google.longrunning.Operation importDocuments( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: An [Empty * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; @@ -892,7 +912,8 @@ public com.google.longrunning.Operation deleteDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -918,7 +939,8 @@ public com.google.longrunning.Operation updateDocument( * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -935,7 +957,8 @@ public com.google.longrunning.Operation reloadDocument( * * *
      -   * Service for managing knowledge [Documents][google.cloud.dialogflow.v2beta1.Document].
      +   * Service for managing knowledge
      +   * [Documents][google.cloud.dialogflow.v2beta1.Document].
          * 
      */ public static final class DocumentsFutureStub @@ -989,7 +1012,8 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -1011,8 +1035,10 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - * - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `response`: + * [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] * */ public com.google.common.util.concurrent.ListenableFuture @@ -1029,7 +1055,8 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: An [Empty * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; @@ -1050,7 +1077,8 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. @@ -1076,7 +1104,8 @@ protected DocumentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions * This method is a [long-running * operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). * The returned `Operation` type has the following method-specific fields: - * - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + * - `metadata`: + * [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] * - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; * only use `projects.knowledgeBases.documents`. diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java index 6a5b5e51c5a8..260e3e7955e3 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
      + * Service for managing
      + * [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
        * 
      */ @javax.annotation.Generated( @@ -545,7 +546,8 @@ public EntityTypesFutureStub newStub( * * *
      -   * Service for managing [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
      +   * Service for managing
      +   * [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
          * 
      */ public abstract static class EntityTypesImplBase implements io.grpc.BindableService { @@ -643,7 +645,8 @@ public void deleteEntityType( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] + * - `response`: + * [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] * Note: You should always train an agent prior to sending it queries. See the * [training * documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -829,7 +832,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
      +   * Service for managing
      +   * [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
          * 
      */ public static final class EntityTypesStub @@ -946,7 +950,8 @@ public void deleteEntityType( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] + * - `response`: + * [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] * Note: You should always train an agent prior to sending it queries. See the * [training * documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -1072,7 +1077,8 @@ public void batchDeleteEntities( * * *
      -   * Service for managing [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
      +   * Service for managing
      +   * [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
          * 
      */ public static final class EntityTypesBlockingStub @@ -1171,7 +1177,8 @@ public com.google.protobuf.Empty deleteEntityType( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] + * - `response`: + * [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] * Note: You should always train an agent prior to sending it queries. See the * [training * documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -1282,7 +1289,8 @@ public com.google.longrunning.Operation batchDeleteEntities( * * *
      -   * Service for managing [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
      +   * Service for managing
      +   * [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
          * 
      */ public static final class EntityTypesFutureStub @@ -1385,7 +1393,8 @@ protected EntityTypesFutureStub build( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] + * - `response`: + * [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] * Note: You should always train an agent prior to sending it queries. See the * [training * documentation](https://cloud.google.com/dialogflow/es/docs/training). diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsGrpc.java index 8e110c83df2f..9098fb297198 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing [Environments][google.cloud.dialogflow.v2beta1.Environment].
      + * Service for managing
      + * [Environments][google.cloud.dialogflow.v2beta1.Environment].
        * 
      */ @javax.annotation.Generated( @@ -358,7 +359,8 @@ public EnvironmentsFutureStub newStub( * * *
      -   * Service for managing [Environments][google.cloud.dialogflow.v2beta1.Environment].
      +   * Service for managing
      +   * [Environments][google.cloud.dialogflow.v2beta1.Environment].
          * 
      */ public abstract static class EnvironmentsImplBase implements io.grpc.BindableService { @@ -514,7 +516,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing [Environments][google.cloud.dialogflow.v2beta1.Environment].
      +   * Service for managing
      +   * [Environments][google.cloud.dialogflow.v2beta1.Environment].
          * 
      */ public static final class EnvironmentsStub @@ -644,7 +647,8 @@ public void getEnvironmentHistory( * * *
      -   * Service for managing [Environments][google.cloud.dialogflow.v2beta1.Environment].
      +   * Service for managing
      +   * [Environments][google.cloud.dialogflow.v2beta1.Environment].
          * 
      */ public static final class EnvironmentsBlockingStub @@ -752,7 +756,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory getEnvironmentHist * * *
      -   * Service for managing [Environments][google.cloud.dialogflow.v2beta1.Environment].
      +   * Service for managing
      +   * [Environments][google.cloud.dialogflow.v2beta1.Environment].
          * 
      */ public static final class EnvironmentsFutureStub diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsGrpc.java index 9d0d9e7deafe..ebe7cab55a0e 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentsGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
      + * Service for managing
      + * [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
        * 
      */ @javax.annotation.Generated( @@ -172,7 +173,8 @@ public FulfillmentsFutureStub newStub( * * *
      -   * Service for managing [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
      +   * Service for managing
      +   * [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
          * 
      */ public abstract static class FulfillmentsImplBase implements io.grpc.BindableService { @@ -232,7 +234,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
      +   * Service for managing
      +   * [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
          * 
      */ public static final class FulfillmentsStub @@ -285,7 +288,8 @@ public void updateFulfillment( * * *
      -   * Service for managing [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
      +   * Service for managing
      +   * [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
          * 
      */ public static final class FulfillmentsBlockingStub @@ -331,7 +335,8 @@ public com.google.cloud.dialogflow.v2beta1.Fulfillment updateFulfillment( * * *
      -   * Service for managing [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
      +   * Service for managing
      +   * [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
          * 
      */ public static final class FulfillmentsFutureStub diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java index 3fabfdd708d7..22ec836b16a7 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsGrpc.java @@ -488,7 +488,8 @@ public void deleteIntent( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] + * - `response`: + * [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] * Note: You should always train an agent prior to sending it queries. See the * [training * documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -690,7 +691,8 @@ public void deleteIntent( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] + * - `response`: + * [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] * Note: You should always train an agent prior to sending it queries. See the * [training * documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -834,7 +836,8 @@ public com.google.protobuf.Empty deleteIntent( * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] + * - `response`: + * [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] * Note: You should always train an agent prior to sending it queries. See the * [training * documentation](https://cloud.google.com/dialogflow/es/docs/training). @@ -976,7 +979,8 @@ protected IntentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c * The returned `Operation` type has the following method-specific fields: * - `metadata`: An empty [Struct * message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - * - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] + * - `response`: + * [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] * Note: You should always train an agent prior to sending it queries. See the * [training * documentation](https://cloud.google.com/dialogflow/es/docs/training). diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java index d56eb435779c..518c801e7ee7 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
      + * Service for managing
      + * [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
        * 
      */ @javax.annotation.Generated( @@ -319,7 +320,8 @@ public KnowledgeBasesFutureStub newStub( * * *
      -   * Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
      +   * Service for managing
      +   * [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
          * 
      */ public abstract static class KnowledgeBasesImplBase implements io.grpc.BindableService { @@ -453,7 +455,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
      +   * Service for managing
      +   * [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
          * 
      */ public static final class KnowledgeBasesStub @@ -566,7 +569,8 @@ public void updateKnowledgeBase( * * *
      -   * Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
      +   * Service for managing
      +   * [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
          * 
      */ public static final class KnowledgeBasesBlockingStub @@ -661,7 +665,8 @@ public com.google.cloud.dialogflow.v2beta1.KnowledgeBase updateKnowledgeBase( * * *
      -   * Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
      +   * Service for managing
      +   * [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
          * 
      */ public static final class KnowledgeBasesFutureStub diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsGrpc.java index 66005f5dd824..663c5b63f138 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing [Participants][google.cloud.dialogflow.v2beta1.Participant].
      + * Service for managing
      + * [Participants][google.cloud.dialogflow.v2beta1.Participant].
        * 
      */ @javax.annotation.Generated( @@ -599,7 +600,8 @@ public ParticipantsFutureStub newStub( * * *
      -   * Service for managing [Participants][google.cloud.dialogflow.v2beta1.Participant].
      +   * Service for managing
      +   * [Participants][google.cloud.dialogflow.v2beta1.Participant].
          * 
      */ public abstract static class ParticipantsImplBase implements io.grpc.BindableService { @@ -718,9 +720,12 @@ public void analyzeContent( *
            * Gets suggested articles for a participant based on specific historical
            * messages.
      -     * Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated
      -     * suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion
      -     * based on the provided conversation context in the real time.
      +     * Note that
      +     * [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * will only list the auto-generated suggestions, while
      +     * [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]
      +     * will try to compile suggestion based on the provided conversation context
      +     * in the real time.
            * 
      */ public void suggestArticles( @@ -769,9 +774,9 @@ public void suggestSmartReplies( *
            * Deprecated: Use inline suggestion, event based suggestion or
            * Suggestion* API instead.
      -     * See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -     * details.
      -     * Removal Date: 2020-09-01.
      +     * See
      +     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +     * for more details. Removal Date: 2020-09-01.
            * Retrieves suggestions for live agents.
            * This method should be used by human agent client software to fetch auto
            * generated suggestions in real-time, while the conversation with an end user
      @@ -800,12 +805,19 @@ public void listSuggestions(
            *
            *
            * 
      -     * Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead.
      +     * Deprecated. use
      +     * [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles]
      +     * and
      +     * [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers]
      +     * instead.
            * Gets suggestions for a participant based on specific historical
            * messages.
      -     * Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated
      -     * suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion
      -     * based on the provided conversation context in the real time.
      +     * Note that
      +     * [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * will only list the auto-generated suggestions, while
      +     * [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]
      +     * will try to compile suggestion based on the provided conversation context
      +     * in the real time.
            * 
      */ @java.lang.Deprecated @@ -905,7 +917,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing [Participants][google.cloud.dialogflow.v2beta1.Participant].
      +   * Service for managing
      +   * [Participants][google.cloud.dialogflow.v2beta1.Participant].
          * 
      */ public static final class ParticipantsStub @@ -1044,9 +1057,12 @@ public void analyzeContent( *
            * Gets suggested articles for a participant based on specific historical
            * messages.
      -     * Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated
      -     * suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion
      -     * based on the provided conversation context in the real time.
      +     * Note that
      +     * [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * will only list the auto-generated suggestions, while
      +     * [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]
      +     * will try to compile suggestion based on the provided conversation context
      +     * in the real time.
            * 
      */ public void suggestArticles( @@ -1101,9 +1117,9 @@ public void suggestSmartReplies( *
            * Deprecated: Use inline suggestion, event based suggestion or
            * Suggestion* API instead.
      -     * See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -     * details.
      -     * Removal Date: 2020-09-01.
      +     * See
      +     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +     * for more details. Removal Date: 2020-09-01.
            * Retrieves suggestions for live agents.
            * This method should be used by human agent client software to fetch auto
            * generated suggestions in real-time, while the conversation with an end user
      @@ -1134,12 +1150,19 @@ public void listSuggestions(
            *
            *
            * 
      -     * Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead.
      +     * Deprecated. use
      +     * [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles]
      +     * and
      +     * [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers]
      +     * instead.
            * Gets suggestions for a participant based on specific historical
            * messages.
      -     * Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated
      -     * suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion
      -     * based on the provided conversation context in the real time.
      +     * Note that
      +     * [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * will only list the auto-generated suggestions, while
      +     * [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]
      +     * will try to compile suggestion based on the provided conversation context
      +     * in the real time.
            * 
      */ @java.lang.Deprecated @@ -1158,7 +1181,8 @@ public void compileSuggestion( * * *
      -   * Service for managing [Participants][google.cloud.dialogflow.v2beta1.Participant].
      +   * Service for managing
      +   * [Participants][google.cloud.dialogflow.v2beta1.Participant].
          * 
      */ public static final class ParticipantsBlockingStub @@ -1248,9 +1272,12 @@ public com.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyzeContent *
            * Gets suggested articles for a participant based on specific historical
            * messages.
      -     * Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated
      -     * suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion
      -     * based on the provided conversation context in the real time.
      +     * Note that
      +     * [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * will only list the auto-generated suggestions, while
      +     * [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]
      +     * will try to compile suggestion based on the provided conversation context
      +     * in the real time.
            * 
      */ public com.google.cloud.dialogflow.v2beta1.SuggestArticlesResponse suggestArticles( @@ -1293,9 +1320,9 @@ public com.google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse suggestSm *
            * Deprecated: Use inline suggestion, event based suggestion or
            * Suggestion* API instead.
      -     * See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -     * details.
      -     * Removal Date: 2020-09-01.
      +     * See
      +     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +     * for more details. Removal Date: 2020-09-01.
            * Retrieves suggestions for live agents.
            * This method should be used by human agent client software to fetch auto
            * generated suggestions in real-time, while the conversation with an end user
      @@ -1322,12 +1349,19 @@ public com.google.cloud.dialogflow.v2beta1.ListSuggestionsResponse listSuggestio
            *
            *
            * 
      -     * Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead.
      +     * Deprecated. use
      +     * [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles]
      +     * and
      +     * [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers]
      +     * instead.
            * Gets suggestions for a participant based on specific historical
            * messages.
      -     * Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated
      -     * suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion
      -     * based on the provided conversation context in the real time.
      +     * Note that
      +     * [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * will only list the auto-generated suggestions, while
      +     * [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]
      +     * will try to compile suggestion based on the provided conversation context
      +     * in the real time.
            * 
      */ @java.lang.Deprecated @@ -1342,7 +1376,8 @@ public com.google.cloud.dialogflow.v2beta1.CompileSuggestionResponse compileSugg * * *
      -   * Service for managing [Participants][google.cloud.dialogflow.v2beta1.Participant].
      +   * Service for managing
      +   * [Participants][google.cloud.dialogflow.v2beta1.Participant].
          * 
      */ public static final class ParticipantsFutureStub @@ -1437,9 +1472,12 @@ protected ParticipantsFutureStub build( *
            * Gets suggested articles for a participant based on specific historical
            * messages.
      -     * Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated
      -     * suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion
      -     * based on the provided conversation context in the real time.
      +     * Note that
      +     * [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * will only list the auto-generated suggestions, while
      +     * [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]
      +     * will try to compile suggestion based on the provided conversation context
      +     * in the real time.
            * 
      */ public com.google.common.util.concurrent.ListenableFuture< @@ -1486,9 +1524,9 @@ protected ParticipantsFutureStub build( *
            * Deprecated: Use inline suggestion, event based suggestion or
            * Suggestion* API instead.
      -     * See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -     * details.
      -     * Removal Date: 2020-09-01.
      +     * See
      +     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +     * for more details. Removal Date: 2020-09-01.
            * Retrieves suggestions for live agents.
            * This method should be used by human agent client software to fetch auto
            * generated suggestions in real-time, while the conversation with an end user
      @@ -1516,12 +1554,19 @@ protected ParticipantsFutureStub build(
            *
            *
            * 
      -     * Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead.
      +     * Deprecated. use
      +     * [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles]
      +     * and
      +     * [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers]
      +     * instead.
            * Gets suggestions for a participant based on specific historical
            * messages.
      -     * Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated
      -     * suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion
      -     * based on the provided conversation context in the real time.
      +     * Note that
      +     * [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * will only list the auto-generated suggestions, while
      +     * [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]
      +     * will try to compile suggestion based on the provided conversation context
      +     * in the real time.
            * 
      */ @java.lang.Deprecated diff --git a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java index bbdcf6803685..d7917a780b26 100644 --- a/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java +++ b/java-dialogflow/grpc-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesGrpc.java @@ -21,7 +21,8 @@ * * *
      - * Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
      + * Service for managing
      + * [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
        * 
      */ @javax.annotation.Generated( @@ -333,7 +334,8 @@ public SessionEntityTypesFutureStub newStub( * * *
      -   * Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
      +   * Service for managing
      +   * [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
          * 
      */ public abstract static class SessionEntityTypesImplBase implements io.grpc.BindableService { @@ -475,7 +477,8 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
      +   * Service for managing
      +   * [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
          * 
      */ public static final class SessionEntityTypesStub @@ -597,7 +600,8 @@ public void deleteSessionEntityType( * * *
      -   * Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
      +   * Service for managing
      +   * [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
          * 
      */ public static final class SessionEntityTypesBlockingStub @@ -701,7 +705,8 @@ public com.google.protobuf.Empty deleteSessionEntityType( * * *
      -   * Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
      +   * Service for managing
      +   * [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
          * 
      */ public static final class SessionEntityTypesFutureStub diff --git a/java-dialogflow/pom.xml b/java-dialogflow/pom.xml index 97aa75a9e672..10bdf1b05ad5 100644 --- a/java-dialogflow/pom.xml +++ b/java-dialogflow/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dialogflow-parent pom - 4.15.0 + 4.16.0 Google Cloud Dialog Flow API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-dialogflow-v2 - 4.15.0 + 4.16.0 com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.113.0 + 0.114.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2beta1 - 0.113.0 + 0.114.0 com.google.api.grpc grpc-google-cloud-dialogflow-v2 - 4.15.0 + 4.16.0 com.google.cloud google-cloud-dialogflow - 4.15.0 + 4.16.0 diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2/pom.xml b/java-dialogflow/proto-google-cloud-dialogflow-v2/pom.xml index 1ad04ee04a4a..497a3debe30b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2/pom.xml +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dialogflow-v2 - 4.15.0 + 4.16.0 proto-google-cloud-dialogflow-v2 PROTO library for proto-google-cloud-dialogflow-v2 com.google.cloud google-cloud-dialogflow-parent - 4.15.0 + 4.16.0 diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/pom.xml b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/pom.xml index b44713c18429..51f6f14957db 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/pom.xml +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dialogflow-v2beta1 - 0.113.0 + 0.114.0 proto-google-cloud-dialogflow-v2beta1 PROTO library for proto-google-cloud-dialogflow-v2beta1 com.google.cloud google-cloud-dialogflow-parent - 4.15.0 + 4.16.0 diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java index 312a06af0eab..0527ef22644f 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Agent.java @@ -1039,7 +1039,7 @@ public boolean getEnableLogging() { *
      * * @deprecated google.cloud.dialogflow.v2beta1.Agent.match_mode is deprecated. See - * google/cloud/dialogflow/v2beta1/agent.proto;l=349 + * google/cloud/dialogflow/v2beta1/agent.proto;l=354 * @return The enum numeric value on the wire for matchMode. */ @java.lang.Override @@ -1058,7 +1058,7 @@ public int getMatchModeValue() { *
      * * @deprecated google.cloud.dialogflow.v2beta1.Agent.match_mode is deprecated. See - * google/cloud/dialogflow/v2beta1/agent.proto;l=349 + * google/cloud/dialogflow/v2beta1/agent.proto;l=354 * @return The matchMode. */ @java.lang.Override @@ -2758,7 +2758,7 @@ public Builder clearEnableLogging() { * * * @deprecated google.cloud.dialogflow.v2beta1.Agent.match_mode is deprecated. See - * google/cloud/dialogflow/v2beta1/agent.proto;l=349 + * google/cloud/dialogflow/v2beta1/agent.proto;l=354 * @return The enum numeric value on the wire for matchMode. */ @java.lang.Override @@ -2777,7 +2777,7 @@ public int getMatchModeValue() { * * * @deprecated google.cloud.dialogflow.v2beta1.Agent.match_mode is deprecated. See - * google/cloud/dialogflow/v2beta1/agent.proto;l=349 + * google/cloud/dialogflow/v2beta1/agent.proto;l=354 * @param value The enum numeric value on the wire for matchMode to set. * @return This builder for chaining. */ @@ -2799,7 +2799,7 @@ public Builder setMatchModeValue(int value) { * * * @deprecated google.cloud.dialogflow.v2beta1.Agent.match_mode is deprecated. See - * google/cloud/dialogflow/v2beta1/agent.proto;l=349 + * google/cloud/dialogflow/v2beta1/agent.proto;l=354 * @return The matchMode. */ @java.lang.Override @@ -2822,7 +2822,7 @@ public com.google.cloud.dialogflow.v2beta1.Agent.MatchMode getMatchMode() { * * * @deprecated google.cloud.dialogflow.v2beta1.Agent.match_mode is deprecated. See - * google/cloud/dialogflow/v2beta1/agent.proto;l=349 + * google/cloud/dialogflow/v2beta1/agent.proto;l=354 * @param value The matchMode to set. * @return This builder for chaining. */ @@ -2847,7 +2847,7 @@ public Builder setMatchMode(com.google.cloud.dialogflow.v2beta1.Agent.MatchMode * * * @deprecated google.cloud.dialogflow.v2beta1.Agent.match_mode is deprecated. See - * google/cloud/dialogflow/v2beta1/agent.proto;l=349 + * google/cloud/dialogflow/v2beta1/agent.proto;l=354 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentAssistantFeedback.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentAssistantFeedback.java index f4a9cd030688..79e6bfac084f 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentAssistantFeedback.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentAssistantFeedback.java @@ -1955,7 +1955,9 @@ public int getDocumentCorrectnessValue() { *
          * Optional. Whether or not the suggested document is efficient. For example,
          * if the document is poorly written, hard to understand, hard to use or
      -   * too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is
      +   * too long to find useful information,
      +   * [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency]
      +   * is
          * [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
          * 
      * @@ -1975,7 +1977,9 @@ public int getDocumentEfficiencyValue() { *
          * Optional. Whether or not the suggested document is efficient. For example,
          * if the document is poorly written, hard to understand, hard to use or
      -   * too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is
      +   * too long to find useful information,
      +   * [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency]
      +   * is
          * [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
          * 
      * @@ -2769,7 +2773,9 @@ public Builder clearDocumentCorrectness() { *
            * Optional. Whether or not the suggested document is efficient. For example,
            * if the document is poorly written, hard to understand, hard to use or
      -     * too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is
      +     * too long to find useful information,
      +     * [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency]
      +     * is
            * [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
            * 
      * @@ -2789,7 +2795,9 @@ public int getDocumentEfficiencyValue() { *
            * Optional. Whether or not the suggested document is efficient. For example,
            * if the document is poorly written, hard to understand, hard to use or
      -     * too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is
      +     * too long to find useful information,
      +     * [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency]
      +     * is
            * [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
            * 
      * @@ -2812,7 +2820,9 @@ public Builder setDocumentEfficiencyValue(int value) { *
            * Optional. Whether or not the suggested document is efficient. For example,
            * if the document is poorly written, hard to understand, hard to use or
      -     * too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is
      +     * too long to find useful information,
      +     * [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency]
      +     * is
            * [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
            * 
      * @@ -2839,7 +2849,9 @@ public Builder setDocumentEfficiencyValue(int value) { *
            * Optional. Whether or not the suggested document is efficient. For example,
            * if the document is poorly written, hard to understand, hard to use or
      -     * too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is
      +     * too long to find useful information,
      +     * [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency]
      +     * is
            * [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
            * 
      * @@ -2866,7 +2878,9 @@ public Builder setDocumentEfficiency( *
            * Optional. Whether or not the suggested document is efficient. For example,
            * if the document is poorly written, hard to understand, hard to use or
      -     * too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is
      +     * too long to find useful information,
      +     * [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency]
      +     * is
            * [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
            * 
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentAssistantFeedbackOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentAssistantFeedbackOrBuilder.java index 888ad995950c..92fde97ae205 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentAssistantFeedbackOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentAssistantFeedbackOrBuilder.java @@ -110,7 +110,9 @@ public interface AgentAssistantFeedbackOrBuilder *
          * Optional. Whether or not the suggested document is efficient. For example,
          * if the document is poorly written, hard to understand, hard to use or
      -   * too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is
      +   * too long to find useful information,
      +   * [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency]
      +   * is
          * [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
          * 
      * @@ -127,7 +129,9 @@ public interface AgentAssistantFeedbackOrBuilder *
          * Optional. Whether or not the suggested document is efficient. For example,
          * if the document is poorly written, hard to understand, hard to use or
      -   * too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is
      +   * too long to find useful information,
      +   * [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency]
      +   * is
          * [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
          * 
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentOrBuilder.java index 2afe4e052e46..b62eba7ed9a0 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentOrBuilder.java @@ -282,7 +282,7 @@ public interface AgentOrBuilder * * * @deprecated google.cloud.dialogflow.v2beta1.Agent.match_mode is deprecated. See - * google/cloud/dialogflow/v2beta1/agent.proto;l=349 + * google/cloud/dialogflow/v2beta1/agent.proto;l=354 * @return The enum numeric value on the wire for matchMode. */ @java.lang.Deprecated @@ -298,7 +298,7 @@ public interface AgentOrBuilder * * * @deprecated google.cloud.dialogflow.v2beta1.Agent.match_mode is deprecated. See - * google/cloud/dialogflow/v2beta1/agent.proto;l=349 + * google/cloud/dialogflow/v2beta1/agent.proto;l=354 * @return The matchMode. */ @java.lang.Deprecated diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java index f093c21e2a58..4a8e3fa367fa 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentProto.java @@ -208,12 +208,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "}/agent/validationResult\032x\312A\031dialogflow." + "googleapis.com\322AYhttps://www.googleapis." + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/dialogflowB\250\001\n#com.googl" + + "leapis.com/auth/dialogflowB\242\001\n#com.googl" + "e.cloud.dialogflow.v2beta1B\nAgentProtoP\001" - + "ZIgoogle.golang.org/genproto/googleapis/" - + "cloud/dialogflow/v2beta1;dialogflow\370\001\001\242\002" - + "\002DF\252\002\037Google.Cloud.Dialogflow.V2beta1b\006p" - + "roto3" + + "ZCcloud.google.com/go/dialogflow/apiv2be" + + "ta1/dialogflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037" + + "Google.Cloud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentRequest.java index a27bd7e7dd32..286f6f8be832 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
      + * The request message for
      + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.AnalyzeContentRequest} @@ -1070,7 +1071,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
      +   * The request message for
      +   * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.AnalyzeContentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentResponse.java index c07467dcf9c1..636ba95036d9 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
      + * The response message for
      + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.AnalyzeContentResponse} @@ -207,7 +208,9 @@ public com.google.cloud.dialogflow.v2beta1.OutputAudioOrBuilder getReplyAudioOrB * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -225,7 +228,9 @@ public boolean hasAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -245,7 +250,9 @@ public com.google.cloud.dialogflow.v2beta1.AutomatedAgentReply getAutomatedAgent * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -318,7 +325,8 @@ public com.google.cloud.dialogflow.v2beta1.MessageOrBuilder getMessageOrBuilder( * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -340,7 +348,8 @@ public com.google.cloud.dialogflow.v2beta1.MessageOrBuilder getMessageOrBuilder(
          *
          * 
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -362,7 +371,8 @@ public com.google.cloud.dialogflow.v2beta1.MessageOrBuilder getMessageOrBuilder(
          *
          * 
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -383,7 +393,8 @@ public int getHumanAgentSuggestionResultsCount() {
          *
          * 
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -405,7 +416,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest
          *
          * 
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -433,7 +445,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      @@ -455,7 +468,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      @@ -477,7 +491,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      @@ -498,7 +513,8 @@ public int getEndUserSuggestionResultsCount() {
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      @@ -520,7 +536,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getEndUserSuggestion
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      @@ -836,7 +853,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
          *
          *
          * 
      -   * The response message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
      +   * The response message for
      +   * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.AnalyzeContentResponse} @@ -1595,7 +1613,9 @@ public com.google.cloud.dialogflow.v2beta1.OutputAudioOrBuilder getReplyAudioOrB * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -1612,7 +1632,9 @@ public boolean hasAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -1635,7 +1657,9 @@ public com.google.cloud.dialogflow.v2beta1.AutomatedAgentReply getAutomatedAgent * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -1661,7 +1685,9 @@ public Builder setAutomatedAgentReply( * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -1684,7 +1710,9 @@ public Builder setAutomatedAgentReply( * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -1714,7 +1742,9 @@ public Builder mergeAutomatedAgentReply( * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -1736,7 +1766,9 @@ public Builder clearAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -1754,7 +1786,9 @@ public Builder clearAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -1776,7 +1810,9 @@ public Builder clearAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -2004,7 +2040,8 @@ private void ensureHumanAgentSuggestionResultsIsMutable() { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2029,7 +2066,8 @@ private void ensureHumanAgentSuggestionResultsIsMutable() {
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2053,7 +2091,8 @@ public int getHumanAgentSuggestionResultsCount() {
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2078,7 +2117,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2109,7 +2149,8 @@ public Builder setHumanAgentSuggestionResults(
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2137,7 +2178,8 @@ public Builder setHumanAgentSuggestionResults(
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2168,7 +2210,8 @@ public Builder addHumanAgentSuggestionResults(
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2199,7 +2242,8 @@ public Builder addHumanAgentSuggestionResults(
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2227,7 +2271,8 @@ public Builder addHumanAgentSuggestionResults(
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2255,7 +2300,8 @@ public Builder addHumanAgentSuggestionResults(
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2284,7 +2330,8 @@ public Builder addAllHumanAgentSuggestionResults(
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2311,7 +2358,8 @@ public Builder clearHumanAgentSuggestionResults() {
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2338,7 +2386,8 @@ public Builder removeHumanAgentSuggestionResults(int index) {
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2359,7 +2408,8 @@ public Builder removeHumanAgentSuggestionResults(int index) {
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2384,7 +2434,8 @@ public Builder removeHumanAgentSuggestionResults(int index) {
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2409,7 +2460,8 @@ public Builder removeHumanAgentSuggestionResults(int index) {
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2431,7 +2483,8 @@ public Builder removeHumanAgentSuggestionResults(int index) {
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2454,7 +2507,8 @@ public Builder removeHumanAgentSuggestionResults(int index) {
            *
            * 
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * Note that any failure of Agent Assist features will not lead to the overall
            * failure of an AnalyzeContent API call. Instead, the features will
      @@ -2514,7 +2568,8 @@ private void ensureEndUserSuggestionResultsIsMutable() {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2539,7 +2594,8 @@ private void ensureEndUserSuggestionResultsIsMutable() {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2563,7 +2619,8 @@ public int getEndUserSuggestionResultsCount() {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2588,7 +2645,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getEndUserSuggestion
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2619,7 +2677,8 @@ public Builder setEndUserSuggestionResults(
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2647,7 +2706,8 @@ public Builder setEndUserSuggestionResults(
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2678,7 +2738,8 @@ public Builder addEndUserSuggestionResults(
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2709,7 +2770,8 @@ public Builder addEndUserSuggestionResults(
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2737,7 +2799,8 @@ public Builder addEndUserSuggestionResults(
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2765,7 +2828,8 @@ public Builder addEndUserSuggestionResults(
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2793,7 +2857,8 @@ public Builder addAllEndUserSuggestionResults(
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2820,7 +2885,8 @@ public Builder clearEndUserSuggestionResults() {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2847,7 +2913,8 @@ public Builder removeEndUserSuggestionResults(int index) {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2868,7 +2935,8 @@ public Builder removeEndUserSuggestionResults(int index) {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2893,7 +2961,8 @@ public Builder removeEndUserSuggestionResults(int index) {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2918,7 +2987,8 @@ public Builder removeEndUserSuggestionResults(int index) {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2940,7 +3010,8 @@ public Builder removeEndUserSuggestionResults(int index) {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      @@ -2963,7 +3034,8 @@ public Builder removeEndUserSuggestionResults(int index) {
            *
            * 
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * Same as human_agent_suggestion_results, any failure of Agent Assist
            * features will not lead to the overall failure of an AnalyzeContent API
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentResponseOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentResponseOrBuilder.java
      index fac4cc2ef0a4..069a74a90a2e 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentResponseOrBuilder.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnalyzeContentResponseOrBuilder.java
      @@ -118,7 +118,9 @@ public interface AnalyzeContentResponseOrBuilder
          * Optional. Only set if a Dialogflow automated agent has responded.
          * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][]
          * and [AutomatedAgentReply.detect_intent_response.output_audio_config][]
      -   * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead.
      +   * are always empty, use
      +   * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio]
      +   * instead.
          * 
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -133,7 +135,9 @@ public interface AnalyzeContentResponseOrBuilder * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -148,7 +152,9 @@ public interface AnalyzeContentResponseOrBuilder * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3; @@ -196,7 +202,8 @@ public interface AnalyzeContentResponseOrBuilder * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -215,7 +222,8 @@ public interface AnalyzeContentResponseOrBuilder
          *
          * 
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -233,7 +241,8 @@ public interface AnalyzeContentResponseOrBuilder
          *
          * 
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -251,7 +260,8 @@ public interface AnalyzeContentResponseOrBuilder
          *
          * 
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -270,7 +280,8 @@ public interface AnalyzeContentResponseOrBuilder
          *
          * 
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * Note that any failure of Agent Assist features will not lead to the overall
          * failure of an AnalyzeContent API call. Instead, the features will
      @@ -290,7 +301,8 @@ public interface AnalyzeContentResponseOrBuilder
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      @@ -309,7 +321,8 @@ public interface AnalyzeContentResponseOrBuilder
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      @@ -327,7 +340,8 @@ public interface AnalyzeContentResponseOrBuilder
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      @@ -345,7 +359,8 @@ public interface AnalyzeContentResponseOrBuilder
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      @@ -364,7 +379,8 @@ public interface AnalyzeContentResponseOrBuilder
          *
          * 
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * Same as human_agent_suggestion_results, any failure of Agent Assist
          * features will not lead to the overall failure of an AnalyzeContent API
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecord.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecord.java
      index 98f8fed9c484..7318934ea9d8 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecord.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecord.java
      @@ -36,9 +36,12 @@
        * agent assistant suggestion generated.
        * A typical workflow for customers provide feedback to an answer is:
        * 1. For human agent assistant, customers get suggestion via ListSuggestions
      - *    API. Together with the answers, [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are returned to the
      - *    customers.
      - * 2. The customer uses the [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to call the
      + *    API. Together with the answers,
      + *    [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are
      + *    returned to the customers.
      + * 2. The customer uses the
      + * [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to
      + * call the
        *    [UpdateAnswerRecord][] method to send feedback about a specific answer
        *    that they believe is wrong.
        * 
      @@ -138,8 +141,9 @@ public RecordCase getRecordCase() { * *
          * The unique identifier of this answer record.
      -   * Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method.
      -   * Format: `projects/<Project ID>/locations/<Location
      +   * Required for
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * method. Format: `projects/<Project ID>/locations/<Location
          * ID>/answerRecords/<Answer Record ID>`.
          * 
      * @@ -164,8 +168,9 @@ public java.lang.String getName() { * *
          * The unique identifier of this answer record.
      -   * Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method.
      -   * Format: `projects/<Project ID>/locations/<Location
      +   * Required for
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * method. Format: `projects/<Project ID>/locations/<Location
          * ID>/answerRecords/<Answer Record ID>`.
          * 
      * @@ -193,8 +198,8 @@ public com.google.protobuf.ByteString getNameBytes() { * *
          * Optional. The AnswerFeedback for this record. You can set this with
      -   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -   * this answer.
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * in order to give us feedback about this answer.
          * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -210,8 +215,8 @@ public boolean hasAnswerFeedback() { * *
          * Optional. The AnswerFeedback for this record. You can set this with
      -   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -   * this answer.
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * in order to give us feedback about this answer.
          * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -229,8 +234,8 @@ public com.google.cloud.dialogflow.v2beta1.AnswerFeedback getAnswerFeedback() { * *
          * Optional. The AnswerFeedback for this record. You can set this with
      -   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -   * this answer.
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * in order to give us feedback about this answer.
          * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -509,9 +514,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * agent assistant suggestion generated. * A typical workflow for customers provide feedback to an answer is: * 1. For human agent assistant, customers get suggestion via ListSuggestions - * API. Together with the answers, [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are returned to the - * customers. - * 2. The customer uses the [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to call the + * API. Together with the answers, + * [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are + * returned to the customers. + * 2. The customer uses the + * [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to + * call the * [UpdateAnswerRecord][] method to send feedback about a specific answer * that they believe is wrong. *
      @@ -762,8 +770,9 @@ public Builder clearRecord() { * *
            * The unique identifier of this answer record.
      -     * Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method.
      -     * Format: `projects/<Project ID>/locations/<Location
      +     * Required for
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * method. Format: `projects/<Project ID>/locations/<Location
            * ID>/answerRecords/<Answer Record ID>`.
            * 
      * @@ -787,8 +796,9 @@ public java.lang.String getName() { * *
            * The unique identifier of this answer record.
      -     * Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method.
      -     * Format: `projects/<Project ID>/locations/<Location
      +     * Required for
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * method. Format: `projects/<Project ID>/locations/<Location
            * ID>/answerRecords/<Answer Record ID>`.
            * 
      * @@ -812,8 +822,9 @@ public com.google.protobuf.ByteString getNameBytes() { * *
            * The unique identifier of this answer record.
      -     * Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method.
      -     * Format: `projects/<Project ID>/locations/<Location
      +     * Required for
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * method. Format: `projects/<Project ID>/locations/<Location
            * ID>/answerRecords/<Answer Record ID>`.
            * 
      * @@ -836,8 +847,9 @@ public Builder setName(java.lang.String value) { * *
            * The unique identifier of this answer record.
      -     * Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method.
      -     * Format: `projects/<Project ID>/locations/<Location
      +     * Required for
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * method. Format: `projects/<Project ID>/locations/<Location
            * ID>/answerRecords/<Answer Record ID>`.
            * 
      * @@ -856,8 +868,9 @@ public Builder clearName() { * *
            * The unique identifier of this answer record.
      -     * Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method.
      -     * Format: `projects/<Project ID>/locations/<Location
      +     * Required for
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * method. Format: `projects/<Project ID>/locations/<Location
            * ID>/answerRecords/<Answer Record ID>`.
            * 
      * @@ -888,8 +901,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * *
            * Optional. The AnswerFeedback for this record. You can set this with
      -     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -     * this answer.
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * in order to give us feedback about this answer.
            * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -904,8 +917,8 @@ public boolean hasAnswerFeedback() { * *
            * Optional. The AnswerFeedback for this record. You can set this with
      -     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -     * this answer.
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * in order to give us feedback about this answer.
            * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -926,8 +939,8 @@ public com.google.cloud.dialogflow.v2beta1.AnswerFeedback getAnswerFeedback() { * *
            * Optional. The AnswerFeedback for this record. You can set this with
      -     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -     * this answer.
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * in order to give us feedback about this answer.
            * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -950,8 +963,8 @@ public Builder setAnswerFeedback(com.google.cloud.dialogflow.v2beta1.AnswerFeedb * *
            * Optional. The AnswerFeedback for this record. You can set this with
      -     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -     * this answer.
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * in order to give us feedback about this answer.
            * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -972,8 +985,8 @@ public Builder setAnswerFeedback( * *
            * Optional. The AnswerFeedback for this record. You can set this with
      -     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -     * this answer.
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * in order to give us feedback about this answer.
            * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -1000,8 +1013,8 @@ public Builder mergeAnswerFeedback(com.google.cloud.dialogflow.v2beta1.AnswerFee * *
            * Optional. The AnswerFeedback for this record. You can set this with
      -     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -     * this answer.
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * in order to give us feedback about this answer.
            * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -1021,8 +1034,8 @@ public Builder clearAnswerFeedback() { * *
            * Optional. The AnswerFeedback for this record. You can set this with
      -     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -     * this answer.
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * in order to give us feedback about this answer.
            * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -1037,8 +1050,8 @@ public com.google.cloud.dialogflow.v2beta1.AnswerFeedback.Builder getAnswerFeedb * *
            * Optional. The AnswerFeedback for this record. You can set this with
      -     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -     * this answer.
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * in order to give us feedback about this answer.
            * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -1058,8 +1071,8 @@ public com.google.cloud.dialogflow.v2beta1.AnswerFeedback.Builder getAnswerFeedb * *
            * Optional. The AnswerFeedback for this record. You can set this with
      -     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -     * this answer.
      +     * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +     * in order to give us feedback about this answer.
            * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordOrBuilder.java index 33c472977312..e96543db2171 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordOrBuilder.java @@ -28,8 +28,9 @@ public interface AnswerRecordOrBuilder * *
          * The unique identifier of this answer record.
      -   * Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method.
      -   * Format: `projects/<Project ID>/locations/<Location
      +   * Required for
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * method. Format: `projects/<Project ID>/locations/<Location
          * ID>/answerRecords/<Answer Record ID>`.
          * 
      * @@ -43,8 +44,9 @@ public interface AnswerRecordOrBuilder * *
          * The unique identifier of this answer record.
      -   * Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method.
      -   * Format: `projects/<Project ID>/locations/<Location
      +   * Required for
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * method. Format: `projects/<Project ID>/locations/<Location
          * ID>/answerRecords/<Answer Record ID>`.
          * 
      * @@ -59,8 +61,8 @@ public interface AnswerRecordOrBuilder * *
          * Optional. The AnswerFeedback for this record. You can set this with
      -   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -   * this answer.
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * in order to give us feedback about this answer.
          * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -73,8 +75,8 @@ public interface AnswerRecordOrBuilder * *
          * Optional. The AnswerFeedback for this record. You can set this with
      -   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -   * this answer.
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * in order to give us feedback about this answer.
          * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; @@ -87,8 +89,8 @@ public interface AnswerRecordOrBuilder * *
          * Optional. The AnswerFeedback for this record. You can set this with
      -   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about
      -   * this answer.
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
      +   * in order to give us feedback about this answer.
          * 
      * * .google.cloud.dialogflow.v2beta1.AnswerFeedback answer_feedback = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsProto.java index ee0051226fd7..725c7cddac49 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsProto.java @@ -163,12 +163,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "A\031answer_record,update_mask\032x\312A\031dialogfl" + "ow.googleapis.com\322AYhttps://www.googleap" + "is.com/auth/cloud-platform,https://www.g" - + "oogleapis.com/auth/dialogflowB\260\001\n#com.go" + + "oogleapis.com/auth/dialogflowB\252\001\n#com.go" + "ogle.cloud.dialogflow.v2beta1B\022AnswerRec" - + "ordsProtoP\001ZIgoogle.golang.org/genproto/" - + "googleapis/cloud/dialogflow/v2beta1;dial" - + "ogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow" - + ".V2beta1b\006proto3" + + "ordsProtoP\001ZCcloud.google.com/go/dialogf" + + "low/apiv2beta1/dialogflowpb;dialogflowpb" + + "\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AssistQueryParameters.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AssistQueryParameters.java index f21e72c19b25..4ec1b9d2314a 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AssistQueryParameters.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AssistQueryParameters.java @@ -111,10 +111,11 @@ public int getDocumentsMetadataFiltersCount() { *
          * Key-value filters on the metadata of documents returned by article
          * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -148,10 +149,11 @@ public java.util.Map getDocumentsMetadataFil
          * 
          * Key-value filters on the metadata of documents returned by article
          * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -176,10 +178,11 @@ public java.util.Map getDocumentsMetadataFil
          * 
          * Key-value filters on the metadata of documents returned by article
          * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -212,10 +215,11 @@ public java.util.Map getDocumentsMetadataFil
          * 
          * Key-value filters on the metadata of documents returned by article
          * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -663,10 +667,11 @@ public int getDocumentsMetadataFiltersCount() {
            * 
            * Key-value filters on the metadata of documents returned by article
            * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -700,10 +705,11 @@ public java.util.Map getDocumentsMetadataFil
            * 
            * Key-value filters on the metadata of documents returned by article
            * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -728,10 +734,11 @@ public java.util.Map getDocumentsMetadataFil
            * 
            * Key-value filters on the metadata of documents returned by article
            * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -764,10 +771,11 @@ public java.util.Map getDocumentsMetadataFil
            * 
            * Key-value filters on the metadata of documents returned by article
            * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -806,10 +814,11 @@ public Builder clearDocumentsMetadataFilters() {
            * 
            * Key-value filters on the metadata of documents returned by article
            * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -843,10 +852,11 @@ public java.util.Map getMutableDocumentsMeta
            * 
            * Key-value filters on the metadata of documents returned by article
            * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -878,10 +888,11 @@ public Builder putDocumentsMetadataFilters(java.lang.String key, java.lang.Strin
            * 
            * Key-value filters on the metadata of documents returned by article
            * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AssistQueryParametersOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AssistQueryParametersOrBuilder.java
      index 5551381213fc..7fb50309219a 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AssistQueryParametersOrBuilder.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AssistQueryParametersOrBuilder.java
      @@ -29,10 +29,11 @@ public interface AssistQueryParametersOrBuilder
          * 
          * Key-value filters on the metadata of documents returned by article
          * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -54,10 +55,11 @@ public interface AssistQueryParametersOrBuilder
          * 
          * Key-value filters on the metadata of documents returned by article
          * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -82,10 +84,11 @@ public interface AssistQueryParametersOrBuilder
          * 
          * Key-value filters on the metadata of documents returned by article
          * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -107,10 +110,11 @@ public interface AssistQueryParametersOrBuilder
          * 
          * Key-value filters on the metadata of documents returned by article
          * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -136,10 +140,11 @@ java.lang.String getDocumentsMetadataFiltersOrDefault(
          * 
          * Key-value filters on the metadata of documents returned by article
          * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java
      index 0cdc90f2c64f..869c9ddae55a 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AudioConfigProto.java
      @@ -132,14 +132,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
                 + "EVEN\020\007\022\016\n\nDTMF_EIGHT\020\010\022\r\n\tDTMF_NINE\020\t\022\r\n"
                 + "\tDTMF_ZERO\020\n\022\n\n\006DTMF_A\020\013\022\n\n\006DTMF_B\020\014\022\n\n\006"
                 + "DTMF_C\020\r\022\n\n\006DTMF_D\020\016\022\r\n\tDTMF_STAR\020\017\022\016\n\nD"
      -          + "TMF_POUND\020\020B\206\002\n#com.google.cloud.dialogf"
      -          + "low.v2beta1B\020AudioConfigProtoP\001ZIgoogle."
      -          + "golang.org/genproto/googleapis/cloud/dia"
      -          + "logflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037Goo"
      -          + "gle.Cloud.Dialogflow.V2beta1\352AU\n\033automl."
      -          + "googleapis.com/Model\0226projects/{project}"
      -          + "/locations/{location}/models/{model}b\006pr"
      -          + "oto3"
      +          + "TMF_POUND\020\020B\345\002\n#com.google.cloud.dialogf"
      +          + "low.v2beta1B\020AudioConfigProtoP\001ZCcloud.g"
      +          + "oogle.com/go/dialogflow/apiv2beta1/dialo"
      +          + "gflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Google.Cl"
      +          + "oud.Dialogflow.V2beta1\352AU\n\033automl.google"
      +          + "apis.com/Model\0226projects/{project}/locat"
      +          + "ions/{location}/models/{model}\352Ab\n\037speec"
      +          + "h.googleapis.com/PhraseSet\022?projects/{pr"
      +          + "oject}/locations/{location}/phraseSets/{"
      +          + "phrase_set}b\006proto3"
           };
           descriptor =
               com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AutomatedAgentReply.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AutomatedAgentReply.java
      index e6a14b2d264a..9ca9e848639b 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AutomatedAgentReply.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AutomatedAgentReply.java
      @@ -332,7 +332,9 @@ public MatchCase getMatchCase() {
          *
          *
          * 
      -   * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +   * Response of the Dialogflow
      +   * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +   * call.
          * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -347,7 +349,9 @@ public boolean hasDetectIntentResponse() { * * *
      -   * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +   * Response of the Dialogflow
      +   * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +   * call.
          * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -365,7 +369,9 @@ public com.google.cloud.dialogflow.v2beta1.DetectIntentResponse getDetectIntentR * * *
      -   * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +   * Response of the Dialogflow
      +   * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +   * call.
          * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -687,7 +693,7 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * .google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is - * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=487 + * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=524 * @return Whether the cxSessionParameters field is set. */ @java.lang.Override @@ -707,7 +713,7 @@ public boolean hasCxSessionParameters() { * .google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is - * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=487 + * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=524 * @return The cxSessionParameters. */ @java.lang.Override @@ -1577,7 +1583,9 @@ public Builder clearMatch() { * * *
      -     * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +     * Response of the Dialogflow
      +     * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +     * call.
            * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -1593,7 +1601,9 @@ public boolean hasDetectIntentResponse() { * * *
      -     * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +     * Response of the Dialogflow
      +     * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +     * call.
            * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -1619,7 +1629,9 @@ public com.google.cloud.dialogflow.v2beta1.DetectIntentResponse getDetectIntentR * * *
      -     * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +     * Response of the Dialogflow
      +     * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +     * call.
            * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -1643,7 +1655,9 @@ public Builder setDetectIntentResponse( * * *
      -     * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +     * Response of the Dialogflow
      +     * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +     * call.
            * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -1664,7 +1678,9 @@ public Builder setDetectIntentResponse( * * *
      -     * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +     * Response of the Dialogflow
      +     * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +     * call.
            * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -1699,7 +1715,9 @@ public Builder mergeDetectIntentResponse( * * *
      -     * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +     * Response of the Dialogflow
      +     * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +     * call.
            * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -1725,7 +1743,9 @@ public Builder clearDetectIntentResponse() { * * *
      -     * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +     * Response of the Dialogflow
      +     * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +     * call.
            * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -1739,7 +1759,9 @@ public Builder clearDetectIntentResponse() { * * *
      -     * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +     * Response of the Dialogflow
      +     * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +     * call.
            * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -1761,7 +1783,9 @@ public Builder clearDetectIntentResponse() { * * *
      -     * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +     * Response of the Dialogflow
      +     * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +     * call.
            * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -2711,7 +2735,7 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * .google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is - * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=487 + * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=524 * @return Whether the cxSessionParameters field is set. */ @java.lang.Deprecated @@ -2730,7 +2754,7 @@ public boolean hasCxSessionParameters() { * .google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is - * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=487 + * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=524 * @return The cxSessionParameters. */ @java.lang.Deprecated diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AutomatedAgentReplyOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AutomatedAgentReplyOrBuilder.java index 41fb8d8b06b2..65110960eafe 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AutomatedAgentReplyOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/AutomatedAgentReplyOrBuilder.java @@ -27,7 +27,9 @@ public interface AutomatedAgentReplyOrBuilder * * *
      -   * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +   * Response of the Dialogflow
      +   * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +   * call.
          * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -39,7 +41,9 @@ public interface AutomatedAgentReplyOrBuilder * * *
      -   * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +   * Response of the Dialogflow
      +   * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +   * call.
          * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -51,7 +55,9 @@ public interface AutomatedAgentReplyOrBuilder * * *
      -   * Response of the Dialogflow [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] call.
      +   * Response of the Dialogflow
      +   * [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
      +   * call.
          * 
      * * .google.cloud.dialogflow.v2beta1.DetectIntentResponse detect_intent_response = 1; @@ -263,7 +269,7 @@ com.google.cloud.dialogflow.v2beta1.ResponseMessageOrBuilder getResponseMessages * .google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is - * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=487 + * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=524 * @return Whether the cxSessionParameters field is set. */ @java.lang.Deprecated @@ -280,7 +286,7 @@ com.google.cloud.dialogflow.v2beta1.ResponseMessageOrBuilder getResponseMessages * .google.protobuf.Struct cx_session_parameters = 6 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.AutomatedAgentReply.cx_session_parameters is - * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=487 + * deprecated. See google/cloud/dialogflow/v2beta1/participant.proto;l=524 * @return The cxSessionParameters. */ @java.lang.Deprecated diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java index f3c84ada9614..02eb7fcd618a 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateEntitiesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities].
      + * The request message for
      + * [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest} @@ -457,7 +458,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities].
      +   * The request message for
      +   * [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateMessagesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateMessagesRequest.java index a5212d4e6746..fc92c9b6b2ea 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateMessagesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateMessagesRequest.java @@ -137,7 +137,8 @@ public com.google.protobuf.ByteString getParentBytes() { *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * @@ -155,7 +156,8 @@ public com.google.protobuf.ByteString getParentBytes() { *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * @@ -173,7 +175,8 @@ public com.google.protobuf.ByteString getParentBytes() { *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * @@ -190,7 +193,8 @@ public int getRequestsCount() { *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * @@ -207,7 +211,8 @@ public com.google.cloud.dialogflow.v2beta1.CreateMessageRequest getRequests(int *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * @@ -789,7 +794,8 @@ private void ensureRequestsIsMutable() { *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -810,7 +816,8 @@ private void ensureRequestsIsMutable() { *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -830,7 +837,8 @@ public int getRequestsCount() { *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -850,7 +858,8 @@ public com.google.cloud.dialogflow.v2beta1.CreateMessageRequest getRequests(int *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -877,7 +886,8 @@ public Builder setRequests( *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -902,7 +912,8 @@ public Builder setRequests( *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -928,7 +939,8 @@ public Builder addRequests(com.google.cloud.dialogflow.v2beta1.CreateMessageRequ *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -955,7 +967,8 @@ public Builder addRequests( *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -979,7 +992,8 @@ public Builder addRequests( *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -1004,7 +1018,8 @@ public Builder addRequests( *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -1029,7 +1044,8 @@ public Builder addAllRequests( *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -1052,7 +1068,8 @@ public Builder clearRequests() { *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -1075,7 +1092,8 @@ public Builder removeRequests(int index) { *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -1092,7 +1110,8 @@ public com.google.cloud.dialogflow.v2beta1.CreateMessageRequest.Builder getReque *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -1113,7 +1132,8 @@ public com.google.cloud.dialogflow.v2beta1.CreateMessageRequestOrBuilder getRequ *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -1135,7 +1155,8 @@ public com.google.cloud.dialogflow.v2beta1.CreateMessageRequestOrBuilder getRequ *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -1153,7 +1174,8 @@ public com.google.cloud.dialogflow.v2beta1.CreateMessageRequest.Builder addReque *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * @@ -1172,7 +1194,8 @@ public com.google.cloud.dialogflow.v2beta1.CreateMessageRequest.Builder addReque *
            * Required. A maximum of 1000 Messages can be created in a batch.
            * [CreateMessageRequest.message.send_time][] is required. All created
      -     * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +     * messages will have identical
      +     * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
            * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateMessagesRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateMessagesRequestOrBuilder.java index 5f5afbb9407f..2965ed156a09 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateMessagesRequestOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchCreateMessagesRequestOrBuilder.java @@ -62,7 +62,8 @@ public interface BatchCreateMessagesRequestOrBuilder *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * @@ -76,7 +77,8 @@ public interface BatchCreateMessagesRequestOrBuilder *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * @@ -90,7 +92,8 @@ public interface BatchCreateMessagesRequestOrBuilder *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * @@ -104,7 +107,8 @@ public interface BatchCreateMessagesRequestOrBuilder *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * @@ -119,7 +123,8 @@ public interface BatchCreateMessagesRequestOrBuilder *
          * Required. A maximum of 1000 Messages can be created in a batch.
          * [CreateMessageRequest.message.send_time][] is required. All created
      -   * messages will have identical [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
      +   * messages will have identical
      +   * [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
          * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java index 22bb3dc0b6b3..9065b7a9f8b4 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntitiesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities].
      + * The request message for
      + * [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest} @@ -451,7 +452,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities].
      +   * The request message for
      +   * [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java index bd9dad01d831..d14cb293dc06 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteEntityTypesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes].
      + * The request message for
      + * [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest} @@ -377,7 +378,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes].
      +   * The request message for
      +   * [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java index bc3dec0ebfca..95c5bd51297c 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchDeleteIntentsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents].
      + * The request message for
      + * [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest} @@ -390,7 +391,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents].
      +   * The request message for
      +   * [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java index 023639511ed7..d2301a621265 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntitiesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities].
      + * The request message for
      + * [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest} @@ -517,7 +518,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities].
      +   * The request message for
      +   * [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java index 937898008986..89eb34c01736 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
      + * The request message for
      + * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest} @@ -641,7 +642,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
      +   * The request message for
      +   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java index 7a0548d10887..3638d60f6bf8 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateEntityTypesResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
      + * The response message for
      + * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse} @@ -307,7 +308,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
      +   * The response message for
      +   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java index 472f6e6ec69b..12f4af676d6c 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
      + * The request message for
      + * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest} @@ -679,7 +680,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
      +   * The request message for
      +   * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java index d04184e6d7c2..dfe4ac1aba14 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/BatchUpdateIntentsResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
      + * The response message for
      + * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse} @@ -304,7 +305,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
      +   * The response message for
      +   * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionRequest.java index a662020cae0f..60bf27cd65e4 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
      + * The request message for
      + * [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CompileSuggestionRequest} @@ -383,7 +384,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
      +   * The request message for
      +   * [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CompileSuggestionRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionResponse.java index 3bdc483fda2d..112172168d7c 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
      + * The response message for
      + * [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CompileSuggestionResponse} @@ -184,8 +185,9 @@ public com.google.protobuf.ByteString getLatestMessageBytes() { * Number of messages prior to and including * [latest_message][google.cloud.dialogflow.v2beta1.CompileSuggestionResponse.latest_message] * to compile the suggestion. It may be smaller than the - * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] field in the request if - * there aren't that many messages in the conversation. + * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] + * field in the request if there aren't that many messages in the + * conversation. *
      * * int32 context_size = 3; @@ -384,7 +386,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
      +   * The response message for
      +   * [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CompileSuggestionResponse} @@ -909,8 +912,9 @@ public Builder setLatestMessageBytes(com.google.protobuf.ByteString value) { * Number of messages prior to and including * [latest_message][google.cloud.dialogflow.v2beta1.CompileSuggestionResponse.latest_message] * to compile the suggestion. It may be smaller than the - * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] field in the request if - * there aren't that many messages in the conversation. + * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] + * field in the request if there aren't that many messages in the + * conversation. *
      * * int32 context_size = 3; @@ -928,8 +932,9 @@ public int getContextSize() { * Number of messages prior to and including * [latest_message][google.cloud.dialogflow.v2beta1.CompileSuggestionResponse.latest_message] * to compile the suggestion. It may be smaller than the - * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] field in the request if - * there aren't that many messages in the conversation. + * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] + * field in the request if there aren't that many messages in the + * conversation. *
      * * int32 context_size = 3; @@ -951,8 +956,9 @@ public Builder setContextSize(int value) { * Number of messages prior to and including * [latest_message][google.cloud.dialogflow.v2beta1.CompileSuggestionResponse.latest_message] * to compile the suggestion. It may be smaller than the - * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] field in the request if - * there aren't that many messages in the conversation. + * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] + * field in the request if there aren't that many messages in the + * conversation. *
      * * int32 context_size = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionResponseOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionResponseOrBuilder.java index 7fee14a3134f..cc2f86698571 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionResponseOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompileSuggestionResponseOrBuilder.java @@ -97,8 +97,9 @@ public interface CompileSuggestionResponseOrBuilder * Number of messages prior to and including * [latest_message][google.cloud.dialogflow.v2beta1.CompileSuggestionResponse.latest_message] * to compile the suggestion. It may be smaller than the - * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] field in the request if - * there aren't that many messages in the conversation. + * [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] + * field in the request if there aren't that many messages in the + * conversation. *
      * * int32 context_size = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompleteConversationRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompleteConversationRequest.java index be0a299ca6ca..985aab8c0b55 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompleteConversationRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CompleteConversationRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Conversations.CompleteConversation][google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation].
      + * The request message for
      + * [Conversations.CompleteConversation][google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CompleteConversationRequest} @@ -290,7 +291,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Conversations.CompleteConversation][google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation].
      +   * The request message for
      +   * [Conversations.CompleteConversation][google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CompleteConversationRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java index c2f375247e4c..a1eea678e6e8 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextProto.java @@ -178,11 +178,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ntexts\332A\006parent\032x\312A\031dialogflow.googleapi" + "s.com\322AYhttps://www.googleapis.com/auth/" + "cloud-platform,https://www.googleapis.co" - + "m/auth/dialogflowB\252\001\n#com.google.cloud.d" - + "ialogflow.v2beta1B\014ContextProtoP\001ZIgoogl" - + "e.golang.org/genproto/googleapis/cloud/d" - + "ialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037G" - + "oogle.Cloud.Dialogflow.V2beta1b\006proto3" + + "m/auth/dialogflowB\244\001\n#com.google.cloud.d" + + "ialogflow.v2beta1B\014ContextProtoP\001ZCcloud" + + ".google.com/go/dialogflow/apiv2beta1/dia" + + "logflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Google." + + "Cloud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Conversation.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Conversation.java index 65f4ca9746f9..0fc1acaf28bd 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Conversation.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Conversation.java @@ -625,12 +625,15 @@ public com.google.cloud.dialogflow.v2beta1.ConversationPhoneNumber getPhoneNumbe * human agent is handling the conversation. * If the conversation is created with the conversation profile that has * Dialogflow config set, defaults to - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + * Otherwise, defaults to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. * If the conversation is created with the conversation profile that has * Dialogflow config set but explicitly sets conversation_stage to - * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + * it skips + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + * stage and directly goes to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. *
      * @@ -651,12 +654,15 @@ public int getConversationStageValue() { * human agent is handling the conversation. * If the conversation is created with the conversation profile that has * Dialogflow config set, defaults to - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + * Otherwise, defaults to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. * If the conversation is created with the conversation profile that has * Dialogflow config set but explicitly sets conversation_stage to - * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + * it skips + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + * stage and directly goes to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. *
      * @@ -1869,12 +1875,15 @@ public Builder clearPhoneNumber() { * human agent is handling the conversation. * If the conversation is created with the conversation profile that has * Dialogflow config set, defaults to - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + * Otherwise, defaults to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. * If the conversation is created with the conversation profile that has * Dialogflow config set but explicitly sets conversation_stage to - * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + * it skips + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + * stage and directly goes to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. *
      * @@ -1895,12 +1904,15 @@ public int getConversationStageValue() { * human agent is handling the conversation. * If the conversation is created with the conversation profile that has * Dialogflow config set, defaults to - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + * Otherwise, defaults to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. * If the conversation is created with the conversation profile that has * Dialogflow config set but explicitly sets conversation_stage to - * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + * it skips + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + * stage and directly goes to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. *
      * @@ -1924,12 +1936,15 @@ public Builder setConversationStageValue(int value) { * human agent is handling the conversation. * If the conversation is created with the conversation profile that has * Dialogflow config set, defaults to - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + * Otherwise, defaults to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. * If the conversation is created with the conversation profile that has * Dialogflow config set but explicitly sets conversation_stage to - * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + * it skips + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + * stage and directly goes to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. *
      * @@ -1956,12 +1971,15 @@ public Builder setConversationStageValue(int value) { * human agent is handling the conversation. * If the conversation is created with the conversation profile that has * Dialogflow config set, defaults to - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + * Otherwise, defaults to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. * If the conversation is created with the conversation profile that has * Dialogflow config set but explicitly sets conversation_stage to - * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + * it skips + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + * stage and directly goes to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. *
      * @@ -1989,12 +2007,15 @@ public Builder setConversationStage( * human agent is handling the conversation. * If the conversation is created with the conversation profile that has * Dialogflow config set, defaults to - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + * Otherwise, defaults to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. * If the conversation is created with the conversation profile that has * Dialogflow config set but explicitly sets conversation_stage to - * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + * it skips + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + * stage and directly goes to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. *
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationEventProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationEventProto.java index 2264ca203eba..f2800c7c672f 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationEventProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationEventProto.java @@ -54,11 +54,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TION_STARTED\020\001\022\031\n\025CONVERSATION_FINISHED\020" + "\002\022\035\n\031HUMAN_INTERVENTION_NEEDED\020\003\022\017\n\013NEW_" + "MESSAGE\020\005\022\027\n\023UNRECOVERABLE_ERROR\020\004B\t\n\007pa" - + "yloadB\264\001\n#com.google.cloud.dialogflow.v2" - + "beta1B\026ConversationEventProtoP\001ZIgoogle." - + "golang.org/genproto/googleapis/cloud/dia" - + "logflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037Goo" - + "gle.Cloud.Dialogflow.V2beta1b\006proto3" + + "yloadB\256\001\n#com.google.cloud.dialogflow.v2" + + "beta1B\026ConversationEventProtoP\001ZCcloud.g" + + "oogle.com/go/dialogflow/apiv2beta1/dialo" + + "gflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Google.Cl" + + "oud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationOrBuilder.java index 1cd6c08d82b2..4cc3e62ca87b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationOrBuilder.java @@ -168,12 +168,15 @@ public interface ConversationOrBuilder * human agent is handling the conversation. * If the conversation is created with the conversation profile that has * Dialogflow config set, defaults to - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + * Otherwise, defaults to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. * If the conversation is created with the conversation profile that has * Dialogflow config set but explicitly sets conversation_stage to - * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + * it skips + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + * stage and directly goes to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. *
      * @@ -191,12 +194,15 @@ public interface ConversationOrBuilder * human agent is handling the conversation. * If the conversation is created with the conversation profile that has * Dialogflow config set, defaults to - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + * Otherwise, defaults to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. * If the conversation is created with the conversation profile that has * Dialogflow config set but explicitly sets conversation_stage to - * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + * it skips + * [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + * stage and directly goes to * [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. *
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfile.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfile.java index 443a6a993619..bf5a00a6661e 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfile.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfile.java @@ -552,7 +552,8 @@ public com.google.cloud.dialogflow.v2beta1.LoggingConfigOrBuilder getLoggingConf * *
          * Configuration for publishing new message events. Event will be sent in
      -   * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * format of
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
          * 
      * * @@ -570,7 +571,8 @@ public boolean hasNewMessageEventNotificationConfig() { * *
          * Configuration for publishing new message events. Event will be sent in
      -   * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * format of
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
          * 
      * * @@ -591,7 +593,8 @@ public boolean hasNewMessageEventNotificationConfig() { * *
          * Configuration for publishing new message events. Event will be sent in
      -   * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * format of
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
          * 
      * * @@ -3219,7 +3222,8 @@ public com.google.cloud.dialogflow.v2beta1.LoggingConfigOrBuilder getLoggingConf * *
            * Configuration for publishing new message events. Event will be sent in
      -     * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * format of
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
            * 
      * * @@ -3236,7 +3240,8 @@ public boolean hasNewMessageEventNotificationConfig() { * *
            * Configuration for publishing new message events. Event will be sent in
      -     * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * format of
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
            * 
      * * @@ -3260,7 +3265,8 @@ public boolean hasNewMessageEventNotificationConfig() { * *
            * Configuration for publishing new message events. Event will be sent in
      -     * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * format of
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
            * 
      * * @@ -3286,7 +3292,8 @@ public Builder setNewMessageEventNotificationConfig( * *
            * Configuration for publishing new message events. Event will be sent in
      -     * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * format of
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
            * 
      * * @@ -3309,7 +3316,8 @@ public Builder setNewMessageEventNotificationConfig( * *
            * Configuration for publishing new message events. Event will be sent in
      -     * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * format of
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
            * 
      * * @@ -3339,7 +3347,8 @@ public Builder mergeNewMessageEventNotificationConfig( * *
            * Configuration for publishing new message events. Event will be sent in
      -     * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * format of
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
            * 
      * * @@ -3361,7 +3370,8 @@ public Builder clearNewMessageEventNotificationConfig() { * *
            * Configuration for publishing new message events. Event will be sent in
      -     * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * format of
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
            * 
      * * @@ -3379,7 +3389,8 @@ public Builder clearNewMessageEventNotificationConfig() { * *
            * Configuration for publishing new message events. Event will be sent in
      -     * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * format of
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
            * 
      * * @@ -3401,7 +3412,8 @@ public Builder clearNewMessageEventNotificationConfig() { * *
            * Configuration for publishing new message events. Event will be sent in
      -     * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * format of
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
            * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfileOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfileOrBuilder.java index 9a9ab2ccc2d6..17a6e5d6950d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfileOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfileOrBuilder.java @@ -351,7 +351,8 @@ public interface ConversationProfileOrBuilder * *
          * Configuration for publishing new message events. Event will be sent in
      -   * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * format of
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
          * 
      * * @@ -366,7 +367,8 @@ public interface ConversationProfileOrBuilder * *
          * Configuration for publishing new message events. Event will be sent in
      -   * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * format of
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
          * 
      * * @@ -381,7 +383,8 @@ public interface ConversationProfileOrBuilder * *
          * Configuration for publishing new message events. Event will be sent in
      -   * format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * format of
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
          * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfileProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfileProto.java index 7c69bd3dc8a2..b3c4c23a555b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfileProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfileProto.java @@ -391,18 +391,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rationMetadata\032x\312A\031dialogflow.googleapis" + ".com\322AYhttps://www.googleapis.com/auth/c" + "loud-platform,https://www.googleapis.com" - + "/auth/dialogflowB\266\003\n#com.google.cloud.di" + + "/auth/dialogflowB\260\003\n#com.google.cloud.di" + "alogflow.v2beta1B\030ConversationProfilePro" - + "toP\001ZIgoogle.golang.org/genproto/googlea" - + "pis/cloud/dialogflow/v2beta1;dialogflow\370" - + "\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2beta" - + "1\352A|\n,dialogflow.googleapis.com/CXSecuri" - + "tySettings\022Lprojects/{project}/locations" - + "/{location}/securitySettings/{security_s" - + "ettings}\352A~\n+dialogflow.googleapis.com/C" - + "onversationModel\022Oprojects/{project}/loc" - + "ations/{location}/conversationModels/{co" - + "nversation_model}b\006proto3" + + "toP\001ZCcloud.google.com/go/dialogflow/api" + + "v2beta1/dialogflowpb;dialogflowpb\370\001\001\242\002\002D" + + "F\252\002\037Google.Cloud.Dialogflow.V2beta1\352A|\n," + + "dialogflow.googleapis.com/CXSecuritySett" + + "ings\022Lprojects/{project}/locations/{loca" + + "tion}/securitySettings/{security_setting" + + "s}\352A~\n+dialogflow.googleapis.com/Convers" + + "ationModel\022Oprojects/{project}/locations" + + "/{location}/conversationModels/{conversa" + + "tion_model}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProto.java index 71bba0c25d24..42fe4694bff6 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProto.java @@ -234,11 +234,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "onversation\032x\312A\031dialogflow.googleapis.co" + "m\322AYhttps://www.googleapis.com/auth/clou" + "d-platform,https://www.googleapis.com/au" - + "th/dialogflowB\257\001\n#com.google.cloud.dialo" - + "gflow.v2beta1B\021ConversationProtoP\001ZIgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "dialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037" - + "Google.Cloud.Dialogflow.V2beta1b\006proto3" + + "th/dialogflowB\251\001\n#com.google.cloud.dialo" + + "gflow.v2beta1B\021ConversationProtoP\001ZCclou" + + "d.google.com/go/dialogflow/apiv2beta1/di" + + "alogflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Google" + + ".Cloud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java index b0753dd67680..fd4270d51224 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateContextRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext].
      + * The request message for
      + * [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateContextRequest} @@ -378,7 +379,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext].
      +   * The request message for
      +   * [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateContextRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationProfileRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationProfileRequest.java index 2bf835602173..77c6bffa1849 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationProfileRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationProfileRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile].
      + * The request message for
      + * [ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateConversationProfileRequest} @@ -361,7 +362,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile].
      +   * The request message for
      +   * [ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateConversationProfileRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationRequest.java index 77969e5f7d22..61e6574d7341 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Conversations.CreateConversation][google.cloud.dialogflow.v2beta1.Conversations.CreateConversation].
      + * The request message for
      + * [Conversations.CreateConversation][google.cloud.dialogflow.v2beta1.Conversations.CreateConversation].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateConversationRequest} @@ -189,8 +190,8 @@ public com.google.cloud.dialogflow.v2beta1.ConversationOrBuilder getConversation * * *
      -   * Optional. Identifier of the conversation. Generally it's auto generated by Google.
      -   * Only set it if you cannot wait for the response to return a
      +   * Optional. Identifier of the conversation. Generally it's auto generated by
      +   * Google. Only set it if you cannot wait for the response to return a
          * auto-generated one to you.
          * The conversation ID must be compliant with the regression fomula
          * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
      @@ -220,8 +221,8 @@ public java.lang.String getConversationId() {
          *
          *
          * 
      -   * Optional. Identifier of the conversation. Generally it's auto generated by Google.
      -   * Only set it if you cannot wait for the response to return a
      +   * Optional. Identifier of the conversation. Generally it's auto generated by
      +   * Google. Only set it if you cannot wait for the response to return a
          * auto-generated one to you.
          * The conversation ID must be compliant with the regression fomula
          * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
      @@ -435,7 +436,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
          *
          *
          * 
      -   * The request message for [Conversations.CreateConversation][google.cloud.dialogflow.v2beta1.Conversations.CreateConversation].
      +   * The request message for
      +   * [Conversations.CreateConversation][google.cloud.dialogflow.v2beta1.Conversations.CreateConversation].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateConversationRequest} @@ -979,8 +981,8 @@ public com.google.cloud.dialogflow.v2beta1.ConversationOrBuilder getConversation * * *
      -     * Optional. Identifier of the conversation. Generally it's auto generated by Google.
      -     * Only set it if you cannot wait for the response to return a
      +     * Optional. Identifier of the conversation. Generally it's auto generated by
      +     * Google. Only set it if you cannot wait for the response to return a
            * auto-generated one to you.
            * The conversation ID must be compliant with the regression fomula
            * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
      @@ -1009,8 +1011,8 @@ public java.lang.String getConversationId() {
            *
            *
            * 
      -     * Optional. Identifier of the conversation. Generally it's auto generated by Google.
      -     * Only set it if you cannot wait for the response to return a
      +     * Optional. Identifier of the conversation. Generally it's auto generated by
      +     * Google. Only set it if you cannot wait for the response to return a
            * auto-generated one to you.
            * The conversation ID must be compliant with the regression fomula
            * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
      @@ -1039,8 +1041,8 @@ public com.google.protobuf.ByteString getConversationIdBytes() {
            *
            *
            * 
      -     * Optional. Identifier of the conversation. Generally it's auto generated by Google.
      -     * Only set it if you cannot wait for the response to return a
      +     * Optional. Identifier of the conversation. Generally it's auto generated by
      +     * Google. Only set it if you cannot wait for the response to return a
            * auto-generated one to you.
            * The conversation ID must be compliant with the regression fomula
            * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
      @@ -1068,8 +1070,8 @@ public Builder setConversationId(java.lang.String value) {
            *
            *
            * 
      -     * Optional. Identifier of the conversation. Generally it's auto generated by Google.
      -     * Only set it if you cannot wait for the response to return a
      +     * Optional. Identifier of the conversation. Generally it's auto generated by
      +     * Google. Only set it if you cannot wait for the response to return a
            * auto-generated one to you.
            * The conversation ID must be compliant with the regression fomula
            * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
      @@ -1093,8 +1095,8 @@ public Builder clearConversationId() {
            *
            *
            * 
      -     * Optional. Identifier of the conversation. Generally it's auto generated by Google.
      -     * Only set it if you cannot wait for the response to return a
      +     * Optional. Identifier of the conversation. Generally it's auto generated by
      +     * Google. Only set it if you cannot wait for the response to return a
            * auto-generated one to you.
            * The conversation ID must be compliant with the regression fomula
            * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationRequestOrBuilder.java
      index 8a5f6e3882cd..a46d7646d8ed 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationRequestOrBuilder.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateConversationRequestOrBuilder.java
      @@ -99,8 +99,8 @@ public interface CreateConversationRequestOrBuilder
          *
          *
          * 
      -   * Optional. Identifier of the conversation. Generally it's auto generated by Google.
      -   * Only set it if you cannot wait for the response to return a
      +   * Optional. Identifier of the conversation. Generally it's auto generated by
      +   * Google. Only set it if you cannot wait for the response to return a
          * auto-generated one to you.
          * The conversation ID must be compliant with the regression fomula
          * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
      @@ -119,8 +119,8 @@ public interface CreateConversationRequestOrBuilder
          *
          *
          * 
      -   * Optional. Identifier of the conversation. Generally it's auto generated by Google.
      -   * Only set it if you cannot wait for the response to return a
      +   * Optional. Identifier of the conversation. Generally it's auto generated by
      +   * Google. Only set it if you cannot wait for the response to return a
          * auto-generated one to you.
          * The conversation ID must be compliant with the regression fomula
          * "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64].
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequest.java
      index b5e57e098638..d4129e49243c 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequest.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateDocumentRequest.java
      @@ -22,7 +22,8 @@
        *
        *
        * 
      - * Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument].
      + * Request message for
      + * [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateDocumentRequest} @@ -388,7 +389,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument].
      +   * Request message for
      +   * [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateDocumentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java index 982576260e2b..4467ead55e59 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEntityTypeRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType].
      + * The request message for
      + * [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest} @@ -431,7 +432,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType].
      +   * The request message for
      +   * [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEnvironmentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEnvironmentRequest.java index ea9c29f39055..df82374e086e 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEnvironmentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateEnvironmentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment].
      + * The request message for
      + * [Environments.CreateEnvironment][google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateEnvironmentRequest} @@ -423,7 +424,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment].
      +   * The request message for
      +   * [Environments.CreateEnvironment][google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateEnvironmentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java index 9f9cb42e3490..34f67ffa1721 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateIntentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent].
      + * The request message for
      + * [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateIntentRequest} @@ -478,7 +479,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent].
      +   * The request message for
      +   * [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateIntentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequest.java index f4029642e271..f0476f93c3cc 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateKnowledgeBaseRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [KnowledgeBases.CreateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase].
      + * Request message for
      + * [KnowledgeBases.CreateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest} @@ -358,7 +359,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [KnowledgeBases.CreateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase].
      +   * Request message for
      +   * [KnowledgeBases.CreateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateMessageRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateMessageRequest.java index c0abcb1a978b..54aa447e7a14 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateMessageRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateMessageRequest.java @@ -134,7 +134,8 @@ public com.google.protobuf.ByteString getParentBytes() { * *
          * Required. The message to create.
      -   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +   * is required.
          * 
      * * @@ -152,7 +153,8 @@ public boolean hasMessage() { * *
          * Required. The message to create.
      -   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +   * is required.
          * 
      * * @@ -172,7 +174,8 @@ public com.google.cloud.dialogflow.v2beta1.Message getMessage() { * *
          * Required. The message to create.
      -   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +   * is required.
          * 
      * * @@ -698,7 +701,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * *
            * Required. The message to create.
      -     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +     * is required.
            * 
      * * @@ -715,7 +719,8 @@ public boolean hasMessage() { * *
            * Required. The message to create.
      -     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +     * is required.
            * 
      * * @@ -738,7 +743,8 @@ public com.google.cloud.dialogflow.v2beta1.Message getMessage() { * *
            * Required. The message to create.
      -     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +     * is required.
            * 
      * * @@ -763,7 +769,8 @@ public Builder setMessage(com.google.cloud.dialogflow.v2beta1.Message value) { * *
            * Required. The message to create.
      -     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +     * is required.
            * 
      * * @@ -785,7 +792,8 @@ public Builder setMessage(com.google.cloud.dialogflow.v2beta1.Message.Builder bu * *
            * Required. The message to create.
      -     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +     * is required.
            * 
      * * @@ -813,7 +821,8 @@ public Builder mergeMessage(com.google.cloud.dialogflow.v2beta1.Message value) { * *
            * Required. The message to create.
      -     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +     * is required.
            * 
      * * @@ -835,7 +844,8 @@ public Builder clearMessage() { * *
            * Required. The message to create.
      -     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +     * is required.
            * 
      * * @@ -852,7 +862,8 @@ public com.google.cloud.dialogflow.v2beta1.Message.Builder getMessageBuilder() { * *
            * Required. The message to create.
      -     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +     * is required.
            * 
      * * @@ -873,7 +884,8 @@ public com.google.cloud.dialogflow.v2beta1.MessageOrBuilder getMessageOrBuilder( * *
            * Required. The message to create.
      -     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +     * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +     * is required.
            * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateMessageRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateMessageRequestOrBuilder.java index d8c14c8de89d..561a9740b7a6 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateMessageRequestOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateMessageRequestOrBuilder.java @@ -61,7 +61,8 @@ public interface CreateMessageRequestOrBuilder * *
          * Required. The message to create.
      -   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +   * is required.
          * 
      * * @@ -76,7 +77,8 @@ public interface CreateMessageRequestOrBuilder * *
          * Required. The message to create.
      -   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +   * is required.
          * 
      * * @@ -91,7 +93,8 @@ public interface CreateMessageRequestOrBuilder * *
          * Required. The message to create.
      -   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] is required.
      +   * [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant]
      +   * is required.
          * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateParticipantRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateParticipantRequest.java index 1faf0e59d017..5b5378b04d86 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateParticipantRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateParticipantRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.CreateParticipant][google.cloud.dialogflow.v2beta1.Participants.CreateParticipant].
      + * The request message for
      + * [Participants.CreateParticipant][google.cloud.dialogflow.v2beta1.Participants.CreateParticipant].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateParticipantRequest} @@ -360,7 +361,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.CreateParticipant][google.cloud.dialogflow.v2beta1.Participants.CreateParticipant].
      +   * The request message for
      +   * [Participants.CreateParticipant][google.cloud.dialogflow.v2beta1.Participants.CreateParticipant].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateParticipantRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java index d91e139e7fca..f1efd9b3a229 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateSessionEntityTypeRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType].
      + * The request message for
      + * [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest} @@ -383,7 +384,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType].
      +   * The request message for
      +   * [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateVersionRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateVersionRequest.java index 887beb2b7052..9e7e3fdc7b68 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateVersionRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/CreateVersionRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Versions.CreateVersion][google.cloud.dialogflow.v2beta1.Versions.CreateVersion].
      + * The request message for
      + * [Versions.CreateVersion][google.cloud.dialogflow.v2beta1.Versions.CreateVersion].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateVersionRequest} @@ -362,7 +363,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Versions.CreateVersion][google.cloud.dialogflow.v2beta1.Versions.CreateVersion].
      +   * The request message for
      +   * [Versions.CreateVersion][google.cloud.dialogflow.v2beta1.Versions.CreateVersion].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.CreateVersionRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequest.java index cb05bf657fcb..fdb58a1e0307 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAgentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent].
      + * The request message for
      + * [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteAgentRequest} @@ -290,7 +291,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent].
      +   * The request message for
      +   * [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteAgentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java index 1b1e5180e47b..38609dbb1943 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts].
      + * The request message for
      + * [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest} @@ -75,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Required. The name of the session to delete all contexts from. Supported formats:
      +   * Required. The name of the session to delete all contexts from. Supported
      +   * formats:
          * - `projects/<Project ID>/agent/sessions/<Session ID>,
          * - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
          *   ID>`,
      @@ -111,7 +113,8 @@ public java.lang.String getParent() {
          *
          *
          * 
      -   * Required. The name of the session to delete all contexts from. Supported formats:
      +   * Required. The name of the session to delete all contexts from. Supported
      +   * formats:
          * - `projects/<Project ID>/agent/sessions/<Session ID>,
          * - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
          *   ID>`,
      @@ -308,7 +311,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
          *
          *
          * 
      -   * The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts].
      +   * The request message for
      +   * [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest} @@ -495,7 +499,8 @@ public Builder mergeFrom( * * *
      -     * Required. The name of the session to delete all contexts from. Supported formats:
      +     * Required. The name of the session to delete all contexts from. Supported
      +     * formats:
            * - `projects/<Project ID>/agent/sessions/<Session ID>,
            * - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
            *   ID>`,
      @@ -530,7 +535,8 @@ public java.lang.String getParent() {
            *
            *
            * 
      -     * Required. The name of the session to delete all contexts from. Supported formats:
      +     * Required. The name of the session to delete all contexts from. Supported
      +     * formats:
            * - `projects/<Project ID>/agent/sessions/<Session ID>,
            * - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
            *   ID>`,
      @@ -565,7 +571,8 @@ public com.google.protobuf.ByteString getParentBytes() {
            *
            *
            * 
      -     * Required. The name of the session to delete all contexts from. Supported formats:
      +     * Required. The name of the session to delete all contexts from. Supported
      +     * formats:
            * - `projects/<Project ID>/agent/sessions/<Session ID>,
            * - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
            *   ID>`,
      @@ -599,7 +606,8 @@ public Builder setParent(java.lang.String value) {
            *
            *
            * 
      -     * Required. The name of the session to delete all contexts from. Supported formats:
      +     * Required. The name of the session to delete all contexts from. Supported
      +     * formats:
            * - `projects/<Project ID>/agent/sessions/<Session ID>,
            * - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
            *   ID>`,
      @@ -629,7 +637,8 @@ public Builder clearParent() {
            *
            *
            * 
      -     * Required. The name of the session to delete all contexts from. Supported formats:
      +     * Required. The name of the session to delete all contexts from. Supported
      +     * formats:
            * - `projects/<Project ID>/agent/sessions/<Session ID>,
            * - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
            *   ID>`,
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequestOrBuilder.java
      index b6e7d2aea03d..e2b0dc5eae48 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequestOrBuilder.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteAllContextsRequestOrBuilder.java
      @@ -27,7 +27,8 @@ public interface DeleteAllContextsRequestOrBuilder
          *
          *
          * 
      -   * Required. The name of the session to delete all contexts from. Supported formats:
      +   * Required. The name of the session to delete all contexts from. Supported
      +   * formats:
          * - `projects/<Project ID>/agent/sessions/<Session ID>,
          * - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
          *   ID>`,
      @@ -52,7 +53,8 @@ public interface DeleteAllContextsRequestOrBuilder
          *
          *
          * 
      -   * Required. The name of the session to delete all contexts from. Supported formats:
      +   * Required. The name of the session to delete all contexts from. Supported
      +   * formats:
          * - `projects/<Project ID>/agent/sessions/<Session ID>,
          * - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
          *   ID>`,
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java
      index 292e6a8625f1..746e4afbc8fc 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteContextRequest.java
      @@ -22,7 +22,8 @@
        *
        *
        * 
      - * The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext].
      + * The request message for
      + * [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteContextRequest} @@ -310,7 +311,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext].
      +   * The request message for
      +   * [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteContextRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteConversationProfileRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteConversationProfileRequest.java index 551a00478fc2..8ca32e72887b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteConversationProfileRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteConversationProfileRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile].
      + * The request message for
      + * [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile].
        * This operation fails if the conversation profile is still referenced from
        * a phone number.
        * 
      @@ -294,7 +295,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile].
      +   * The request message for
      +   * [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile].
          * This operation fails if the conversation profile is still referenced from
          * a phone number.
          * 
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequest.java index fe3f885f1d69..d85b980b87b9 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteDocumentRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument].
      + * Request message for
      + * [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteDocumentRequest} @@ -290,7 +291,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument].
      +   * Request message for
      +   * [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteDocumentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java index a67feb94466a..2730e2a45ac1 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEntityTypeRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType].
      + * The request message for
      + * [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest} @@ -294,7 +295,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType].
      +   * The request message for
      +   * [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEnvironmentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEnvironmentRequest.java index 922f65174d1c..cb7888fbe40b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEnvironmentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteEnvironmentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Environments.DeleteEnvironment][google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment].
      + * The request message for
      + * [Environments.DeleteEnvironment][google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteEnvironmentRequest} @@ -294,7 +295,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Environments.DeleteEnvironment][google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment].
      +   * The request message for
      +   * [Environments.DeleteEnvironment][google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteEnvironmentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java index f42957c04909..a248ed2e6b93 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteIntentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Intents.DeleteIntent][google.cloud.dialogflow.v2beta1.Intents.DeleteIntent].
      + * The request message for
      + * [Intents.DeleteIntent][google.cloud.dialogflow.v2beta1.Intents.DeleteIntent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteIntentRequest} @@ -294,7 +295,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Intents.DeleteIntent][google.cloud.dialogflow.v2beta1.Intents.DeleteIntent].
      +   * The request message for
      +   * [Intents.DeleteIntent][google.cloud.dialogflow.v2beta1.Intents.DeleteIntent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteIntentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequest.java index 17d9cdf4c0ac..efcecaabeb44 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteKnowledgeBaseRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase].
      + * Request message for
      + * [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest} @@ -318,7 +319,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase].
      +   * Request message for
      +   * [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java index ccc8f7a58239..218694676d10 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteSessionEntityTypeRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType].
      + * The request message for
      + * [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest} @@ -314,7 +315,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType].
      +   * The request message for
      +   * [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteVersionRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteVersionRequest.java index 73fdf62cac4f..7f35327a8b8a 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteVersionRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DeleteVersionRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Versions.DeleteVersion][google.cloud.dialogflow.v2beta1.Versions.DeleteVersion].
      + * The request message for
      + * [Versions.DeleteVersion][google.cloud.dialogflow.v2beta1.Versions.DeleteVersion].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteVersionRequest} @@ -294,7 +295,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Versions.DeleteVersion][google.cloud.dialogflow.v2beta1.Versions.DeleteVersion].
      +   * The request message for
      +   * [Versions.DeleteVersion][google.cloud.dialogflow.v2beta1.Versions.DeleteVersion].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.DeleteVersionRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java index 53694588d6a7..7d743a267424 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequest.java @@ -344,11 +344,13 @@ public com.google.cloud.dialogflow.v2beta1.OutputAudioConfig getOutputAudioConfi * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -363,11 +365,13 @@ public boolean hasOutputAudioConfigMask() { * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -384,11 +388,13 @@ public com.google.protobuf.FieldMask getOutputAudioConfigMask() { * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1775,11 +1781,13 @@ public Builder clearOutputAudioConfig() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1793,11 +1801,13 @@ public boolean hasOutputAudioConfigMask() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1817,11 +1827,13 @@ public com.google.protobuf.FieldMask getOutputAudioConfigMask() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1843,11 +1855,13 @@ public Builder setOutputAudioConfigMask(com.google.protobuf.FieldMask value) { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1866,11 +1880,13 @@ public Builder setOutputAudioConfigMask(com.google.protobuf.FieldMask.Builder bu * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1895,11 +1911,13 @@ public Builder mergeOutputAudioConfigMask(com.google.protobuf.FieldMask value) { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1918,11 +1936,13 @@ public Builder clearOutputAudioConfigMask() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1936,11 +1956,13 @@ public com.google.protobuf.FieldMask.Builder getOutputAudioConfigMaskBuilder() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1958,11 +1980,13 @@ public com.google.protobuf.FieldMaskOrBuilder getOutputAudioConfigMaskOrBuilder( * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequestOrBuilder.java index b2c285824902..a4ee6059b41c 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequestOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DetectIntentRequestOrBuilder.java @@ -225,11 +225,13 @@ public interface DetectIntentRequestOrBuilder * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -241,11 +243,13 @@ public interface DetectIntentRequestOrBuilder * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -257,11 +261,13 @@ public interface DetectIntentRequestOrBuilder * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Document.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Document.java index 760208803255..bf58feb474ab 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Document.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Document.java @@ -22,7 +22,8 @@ * * *
      - * A knowledge document to be used by a [KnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBase].
      + * A knowledge document to be used by a
      + * [KnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBase].
        * For more information, see the [knowledge base
        * guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases).
        * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
      @@ -2027,7 +2028,7 @@ public com.google.protobuf.ByteString getContentUriBytes() {
          * string content = 6 [deprecated = true];
          *
          * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -   *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +   *     google/cloud/dialogflow/v2beta1/document.proto;l=356
          * @return Whether the content field is set.
          */
         @java.lang.Deprecated
      @@ -2047,7 +2048,7 @@ public boolean hasContent() {
          * string content = 6 [deprecated = true];
          *
          * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -   *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +   *     google/cloud/dialogflow/v2beta1/document.proto;l=356
          * @return The content.
          */
         @java.lang.Deprecated
      @@ -2080,7 +2081,7 @@ public java.lang.String getContent() {
          * string content = 6 [deprecated = true];
          *
          * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -   *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +   *     google/cloud/dialogflow/v2beta1/document.proto;l=356
          * @return The bytes for content.
          */
         @java.lang.Deprecated
      @@ -2694,7 +2695,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
          *
          *
          * 
      -   * A knowledge document to be used by a [KnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBase].
      +   * A knowledge document to be used by a
      +   * [KnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBase].
          * For more information, see the [knowledge base
          * guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases).
          * Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
      @@ -3869,7 +3871,7 @@ public Builder setContentUriBytes(com.google.protobuf.ByteString value) {
            * string content = 6 [deprecated = true];
            *
            * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -     *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +     *     google/cloud/dialogflow/v2beta1/document.proto;l=356
            * @return Whether the content field is set.
            */
           @java.lang.Override
      @@ -3890,7 +3892,7 @@ public boolean hasContent() {
            * string content = 6 [deprecated = true];
            *
            * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -     *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +     *     google/cloud/dialogflow/v2beta1/document.proto;l=356
            * @return The content.
            */
           @java.lang.Override
      @@ -3924,7 +3926,7 @@ public java.lang.String getContent() {
            * string content = 6 [deprecated = true];
            *
            * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -     *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +     *     google/cloud/dialogflow/v2beta1/document.proto;l=356
            * @return The bytes for content.
            */
           @java.lang.Override
      @@ -3958,7 +3960,7 @@ public com.google.protobuf.ByteString getContentBytes() {
            * string content = 6 [deprecated = true];
            *
            * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -     *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +     *     google/cloud/dialogflow/v2beta1/document.proto;l=356
            * @param value The content to set.
            * @return This builder for chaining.
            */
      @@ -3985,7 +3987,7 @@ public Builder setContent(java.lang.String value) {
            * string content = 6 [deprecated = true];
            *
            * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -     *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +     *     google/cloud/dialogflow/v2beta1/document.proto;l=356
            * @return This builder for chaining.
            */
           @java.lang.Deprecated
      @@ -4010,7 +4012,7 @@ public Builder clearContent() {
            * string content = 6 [deprecated = true];
            *
            * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -     *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +     *     google/cloud/dialogflow/v2beta1/document.proto;l=356
            * @param value The bytes for content to set.
            * @return This builder for chaining.
            */
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentOrBuilder.java
      index a46839379143..bef197dd27c7 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentOrBuilder.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentOrBuilder.java
      @@ -248,7 +248,7 @@ public interface DocumentOrBuilder
          * string content = 6 [deprecated = true];
          *
          * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -   *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +   *     google/cloud/dialogflow/v2beta1/document.proto;l=356
          * @return Whether the content field is set.
          */
         @java.lang.Deprecated
      @@ -266,7 +266,7 @@ public interface DocumentOrBuilder
          * string content = 6 [deprecated = true];
          *
          * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -   *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +   *     google/cloud/dialogflow/v2beta1/document.proto;l=356
          * @return The content.
          */
         @java.lang.Deprecated
      @@ -284,7 +284,7 @@ public interface DocumentOrBuilder
          * string content = 6 [deprecated = true];
          *
          * @deprecated google.cloud.dialogflow.v2beta1.Document.content is deprecated. See
      -   *     google/cloud/dialogflow/v2beta1/document.proto;l=342
      +   *     google/cloud/dialogflow/v2beta1/document.proto;l=356
          * @return The bytes for content.
          */
         @java.lang.Deprecated
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java
      index 1ed32e8b6390..51f720c05d59 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentProto.java
      @@ -255,12 +255,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
                 + "ocument\022\032KnowledgeOperationMetadata\032x\312A\031"
                 + "dialogflow.googleapis.com\322AYhttps://www."
                 + "googleapis.com/auth/cloud-platform,https"
      -          + "://www.googleapis.com/auth/dialogflowB\253\001"
      +          + "://www.googleapis.com/auth/dialogflowB\245\001"
                 + "\n#com.google.cloud.dialogflow.v2beta1B\rD"
      -          + "ocumentProtoP\001ZIgoogle.golang.org/genpro"
      -          + "to/googleapis/cloud/dialogflow/v2beta1;d"
      -          + "ialogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogf"
      -          + "low.V2beta1b\006proto3"
      +          + "ocumentProtoP\001ZCcloud.google.com/go/dial"
      +          + "ogflow/apiv2beta1/dialogflowpb;dialogflo"
      +          + "wpb\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2"
      +          + "beta1b\006proto3"
           };
           descriptor =
               com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java
      index abbb033f2b92..e6e47f5074e9 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityType.java
      @@ -1524,9 +1524,11 @@ public com.google.cloud.dialogflow.v2beta1.EntityType.Entity getDefaultInstanceF
          *
          * 
          * The unique identifier of the entity type.
      -   * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
      -   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
      -   * Supported formats:
      +   * Required for
      +   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]
      +   * and
      +   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]
      +   * methods. Supported formats:
          * - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`
          * - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
          *   Type ID>`
      @@ -1553,9 +1555,11 @@ public java.lang.String getName() {
          *
          * 
          * The unique identifier of the entity type.
      -   * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
      -   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
      -   * Supported formats:
      +   * Required for
      +   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]
      +   * and
      +   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]
      +   * methods. Supported formats:
          * - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`
          * - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
          *   Type ID>`
      @@ -2338,9 +2342,11 @@ public Builder mergeFrom(
            *
            * 
            * The unique identifier of the entity type.
      -     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
      -     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
      -     * Supported formats:
      +     * Required for
      +     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]
      +     * and
      +     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]
      +     * methods. Supported formats:
            * - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`
            * - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
            *   Type ID>`
      @@ -2366,9 +2372,11 @@ public java.lang.String getName() {
            *
            * 
            * The unique identifier of the entity type.
      -     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
      -     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
      -     * Supported formats:
      +     * Required for
      +     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]
      +     * and
      +     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]
      +     * methods. Supported formats:
            * - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`
            * - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
            *   Type ID>`
      @@ -2394,9 +2402,11 @@ public com.google.protobuf.ByteString getNameBytes() {
            *
            * 
            * The unique identifier of the entity type.
      -     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
      -     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
      -     * Supported formats:
      +     * Required for
      +     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]
      +     * and
      +     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]
      +     * methods. Supported formats:
            * - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`
            * - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
            *   Type ID>`
      @@ -2421,9 +2431,11 @@ public Builder setName(java.lang.String value) {
            *
            * 
            * The unique identifier of the entity type.
      -     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
      -     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
      -     * Supported formats:
      +     * Required for
      +     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]
      +     * and
      +     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]
      +     * methods. Supported formats:
            * - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`
            * - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
            *   Type ID>`
      @@ -2444,9 +2456,11 @@ public Builder clearName() {
            *
            * 
            * The unique identifier of the entity type.
      -     * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
      -     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
      -     * Supported formats:
      +     * Required for
      +     * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]
      +     * and
      +     * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]
      +     * methods. Supported formats:
            * - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`
            * - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
            *   Type ID>`
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeOrBuilder.java
      index 2b0be01d2fd1..7981d3bbae46 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeOrBuilder.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeOrBuilder.java
      @@ -28,9 +28,11 @@ public interface EntityTypeOrBuilder
          *
          * 
          * The unique identifier of the entity type.
      -   * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
      -   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
      -   * Supported formats:
      +   * Required for
      +   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]
      +   * and
      +   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]
      +   * methods. Supported formats:
          * - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`
          * - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
          *   Type ID>`
      @@ -46,9 +48,11 @@ public interface EntityTypeOrBuilder
          *
          * 
          * The unique identifier of the entity type.
      -   * Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
      -   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
      -   * Supported formats:
      +   * Required for
      +   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]
      +   * and
      +   * [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]
      +   * methods. Supported formats:
          * - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`
          * - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity
          *   Type ID>`
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java
      index 073fe52e90ee..684bb5aba95c 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypeProto.java
      @@ -261,11 +261,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
                 + "\312A\031dialogflow.googleapis.com\322AYhttps://w"
                 + "ww.googleapis.com/auth/cloud-platform,ht"
                 + "tps://www.googleapis.com/auth/dialogflow"
      -          + "B\255\001\n#com.google.cloud.dialogflow.v2beta1"
      -          + "B\017EntityTypeProtoP\001ZIgoogle.golang.org/g"
      -          + "enproto/googleapis/cloud/dialogflow/v2be"
      -          + "ta1;dialogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Di"
      -          + "alogflow.V2beta1b\006proto3"
      +          + "B\247\001\n#com.google.cloud.dialogflow.v2beta1"
      +          + "B\017EntityTypeProtoP\001ZCcloud.google.com/go"
      +          + "/dialogflow/apiv2beta1/dialogflowpb;dial"
      +          + "ogflowpb\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogfl"
      +          + "ow.V2beta1b\006proto3"
           };
           descriptor =
               com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Environment.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Environment.java
      index 46ab2e1c7e00..d04acf951d40 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Environment.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Environment.java
      @@ -447,8 +447,8 @@ public com.google.protobuf.ByteString getAgentVersionBytes() {
          *
          *
          * 
      -   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
      -   * set by create and update methods.
      +   * Output only. The state of this environment. This field is read-only, i.e.,
      +   * it cannot be set by create and update methods.
          * 
      * * @@ -465,8 +465,8 @@ public int getStateValue() { * * *
      -   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
      -   * set by create and update methods.
      +   * Output only. The state of this environment. This field is read-only, i.e.,
      +   * it cannot be set by create and update methods.
          * 
      * * @@ -490,8 +490,8 @@ public com.google.cloud.dialogflow.v2beta1.Environment.State getState() { * * *
      -   * Output only. The last update time of this environment. This field is read-only, i.e., it
      -   * cannot be set by create and update methods.
      +   * Output only. The last update time of this environment. This field is
      +   * read-only, i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -507,8 +507,8 @@ public boolean hasUpdateTime() { * * *
      -   * Output only. The last update time of this environment. This field is read-only, i.e., it
      -   * cannot be set by create and update methods.
      +   * Output only. The last update time of this environment. This field is
      +   * read-only, i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -524,8 +524,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { * * *
      -   * Output only. The last update time of this environment. This field is read-only, i.e., it
      -   * cannot be set by create and update methods.
      +   * Output only. The last update time of this environment. This field is
      +   * read-only, i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1553,8 +1553,8 @@ public Builder setAgentVersionBytes(com.google.protobuf.ByteString value) { * * *
      -     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
      -     * set by create and update methods.
      +     * Output only. The state of this environment. This field is read-only, i.e.,
      +     * it cannot be set by create and update methods.
            * 
      * * @@ -1571,8 +1571,8 @@ public int getStateValue() { * * *
      -     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
      -     * set by create and update methods.
      +     * Output only. The state of this environment. This field is read-only, i.e.,
      +     * it cannot be set by create and update methods.
            * 
      * * @@ -1592,8 +1592,8 @@ public Builder setStateValue(int value) { * * *
      -     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
      -     * set by create and update methods.
      +     * Output only. The state of this environment. This field is read-only, i.e.,
      +     * it cannot be set by create and update methods.
            * 
      * * @@ -1614,8 +1614,8 @@ public com.google.cloud.dialogflow.v2beta1.Environment.State getState() { * * *
      -     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
      -     * set by create and update methods.
      +     * Output only. The state of this environment. This field is read-only, i.e.,
      +     * it cannot be set by create and update methods.
            * 
      * * @@ -1638,8 +1638,8 @@ public Builder setState(com.google.cloud.dialogflow.v2beta1.Environment.State va * * *
      -     * Output only. The state of this environment. This field is read-only, i.e., it cannot be
      -     * set by create and update methods.
      +     * Output only. The state of this environment. This field is read-only, i.e.,
      +     * it cannot be set by create and update methods.
            * 
      * * @@ -1665,8 +1665,8 @@ public Builder clearState() { * * *
      -     * Output only. The last update time of this environment. This field is read-only, i.e., it
      -     * cannot be set by create and update methods.
      +     * Output only. The last update time of this environment. This field is
      +     * read-only, i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1682,8 +1682,8 @@ public boolean hasUpdateTime() { * * *
      -     * Output only. The last update time of this environment. This field is read-only, i.e., it
      -     * cannot be set by create and update methods.
      +     * Output only. The last update time of this environment. This field is
      +     * read-only, i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1705,8 +1705,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { * * *
      -     * Output only. The last update time of this environment. This field is read-only, i.e., it
      -     * cannot be set by create and update methods.
      +     * Output only. The last update time of this environment. This field is
      +     * read-only, i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1730,8 +1730,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { * * *
      -     * Output only. The last update time of this environment. This field is read-only, i.e., it
      -     * cannot be set by create and update methods.
      +     * Output only. The last update time of this environment. This field is
      +     * read-only, i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1752,8 +1752,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
      -     * Output only. The last update time of this environment. This field is read-only, i.e., it
      -     * cannot be set by create and update methods.
      +     * Output only. The last update time of this environment. This field is
      +     * read-only, i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1780,8 +1780,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * * *
      -     * Output only. The last update time of this environment. This field is read-only, i.e., it
      -     * cannot be set by create and update methods.
      +     * Output only. The last update time of this environment. This field is
      +     * read-only, i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1802,8 +1802,8 @@ public Builder clearUpdateTime() { * * *
      -     * Output only. The last update time of this environment. This field is read-only, i.e., it
      -     * cannot be set by create and update methods.
      +     * Output only. The last update time of this environment. This field is
      +     * read-only, i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1819,8 +1819,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { * * *
      -     * Output only. The last update time of this environment. This field is read-only, i.e., it
      -     * cannot be set by create and update methods.
      +     * Output only. The last update time of this environment. This field is
      +     * read-only, i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1840,8 +1840,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
      -     * Output only. The last update time of this environment. This field is read-only, i.e., it
      -     * cannot be set by create and update methods.
      +     * Output only. The last update time of this environment. This field is
      +     * read-only, i.e., it cannot be set by create and update methods.
            * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentHistory.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentHistory.java index 830c514e1c95..392f9f764b9f 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentHistory.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentHistory.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
      + * The response message for
      + * [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.EnvironmentHistory} @@ -1292,8 +1293,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -1309,8 +1310,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -1327,8 +1328,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -1343,8 +1344,8 @@ public int getEntriesCount() { * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -1359,8 +1360,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry getEntries(i * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -1381,8 +1382,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.EntryOrBuilder get * * *
      -   * Output only. Token to retrieve the next page of results, or empty if there are no
      -   * more results in the list.
      +   * Output only. Token to retrieve the next page of results, or empty if there
      +   * are no more results in the list.
          * 
      * * string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1405,8 +1406,8 @@ public java.lang.String getNextPageToken() { * * *
      -   * Output only. Token to retrieve the next page of results, or empty if there are no
      -   * more results in the list.
      +   * Output only. Token to retrieve the next page of results, or empty if there
      +   * are no more results in the list.
          * 
      * * string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1610,7 +1611,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
      +   * The response message for
      +   * [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.EnvironmentHistory} @@ -2014,8 +2016,8 @@ private void ensureEntriesIsMutable() { * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2034,8 +2036,8 @@ private void ensureEntriesIsMutable() { * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2053,8 +2055,8 @@ public int getEntriesCount() { * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2072,8 +2074,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry getEntries(i * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2098,8 +2100,8 @@ public Builder setEntries( * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2122,8 +2124,8 @@ public Builder setEntries( * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2147,8 +2149,8 @@ public Builder addEntries(com.google.cloud.dialogflow.v2beta1.EnvironmentHistory * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2173,8 +2175,8 @@ public Builder addEntries( * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2196,8 +2198,8 @@ public Builder addEntries( * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2220,8 +2222,8 @@ public Builder addEntries( * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2244,8 +2246,8 @@ public Builder addAllEntries( * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2266,8 +2268,8 @@ public Builder clearEntries() { * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2288,8 +2290,8 @@ public Builder removeEntries(int index) { * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2304,8 +2306,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry.Builder getE * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2324,8 +2326,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry.Builder getE * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2345,8 +2347,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry.Builder getE * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2363,8 +2365,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry.Builder getE * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2382,8 +2384,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry.Builder addE * * *
      -     * Output only. The list of agent environments. There will be a maximum number of items
      -     * returned based on the page_size field in the request.
      +     * Output only. The list of agent environments. There will be a maximum number
      +     * of items returned based on the page_size field in the request.
            * 
      * * @@ -2417,8 +2419,8 @@ public com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry.Builder addE * * *
      -     * Output only. Token to retrieve the next page of results, or empty if there are no
      -     * more results in the list.
      +     * Output only. Token to retrieve the next page of results, or empty if there
      +     * are no more results in the list.
            * 
      * * string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2440,8 +2442,8 @@ public java.lang.String getNextPageToken() { * * *
      -     * Output only. Token to retrieve the next page of results, or empty if there are no
      -     * more results in the list.
      +     * Output only. Token to retrieve the next page of results, or empty if there
      +     * are no more results in the list.
            * 
      * * string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2463,8 +2465,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
      -     * Output only. Token to retrieve the next page of results, or empty if there are no
      -     * more results in the list.
      +     * Output only. Token to retrieve the next page of results, or empty if there
      +     * are no more results in the list.
            * 
      * * string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2485,8 +2487,8 @@ public Builder setNextPageToken(java.lang.String value) { * * *
      -     * Output only. Token to retrieve the next page of results, or empty if there are no
      -     * more results in the list.
      +     * Output only. Token to retrieve the next page of results, or empty if there
      +     * are no more results in the list.
            * 
      * * string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2503,8 +2505,8 @@ public Builder clearNextPageToken() { * * *
      -     * Output only. Token to retrieve the next page of results, or empty if there are no
      -     * more results in the list.
      +     * Output only. Token to retrieve the next page of results, or empty if there
      +     * are no more results in the list.
            * 
      * * string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentHistoryOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentHistoryOrBuilder.java index 844a01d08ffe..1896a28c0fb7 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentHistoryOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentHistoryOrBuilder.java @@ -60,8 +60,8 @@ public interface EnvironmentHistoryOrBuilder * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -73,8 +73,8 @@ public interface EnvironmentHistoryOrBuilder * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -86,8 +86,8 @@ public interface EnvironmentHistoryOrBuilder * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -99,8 +99,8 @@ public interface EnvironmentHistoryOrBuilder * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -113,8 +113,8 @@ public interface EnvironmentHistoryOrBuilder * * *
      -   * Output only. The list of agent environments. There will be a maximum number of items
      -   * returned based on the page_size field in the request.
      +   * Output only. The list of agent environments. There will be a maximum number
      +   * of items returned based on the page_size field in the request.
          * 
      * * @@ -128,8 +128,8 @@ com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.EntryOrBuilder getEntries * * *
      -   * Output only. Token to retrieve the next page of results, or empty if there are no
      -   * more results in the list.
      +   * Output only. Token to retrieve the next page of results, or empty if there
      +   * are no more results in the list.
          * 
      * * string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -141,8 +141,8 @@ com.google.cloud.dialogflow.v2beta1.EnvironmentHistory.EntryOrBuilder getEntries * * *
      -   * Output only. Token to retrieve the next page of results, or empty if there are no
      -   * more results in the list.
      +   * Output only. Token to retrieve the next page of results, or empty if there
      +   * are no more results in the list.
          * 
      * * string next_page_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentOrBuilder.java index 7acac70ccf9a..b4028fa923ac 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentOrBuilder.java @@ -124,8 +124,8 @@ public interface EnvironmentOrBuilder * * *
      -   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
      -   * set by create and update methods.
      +   * Output only. The state of this environment. This field is read-only, i.e.,
      +   * it cannot be set by create and update methods.
          * 
      * * @@ -139,8 +139,8 @@ public interface EnvironmentOrBuilder * * *
      -   * Output only. The state of this environment. This field is read-only, i.e., it cannot be
      -   * set by create and update methods.
      +   * Output only. The state of this environment. This field is read-only, i.e.,
      +   * it cannot be set by create and update methods.
          * 
      * * @@ -155,8 +155,8 @@ public interface EnvironmentOrBuilder * * *
      -   * Output only. The last update time of this environment. This field is read-only, i.e., it
      -   * cannot be set by create and update methods.
      +   * Output only. The last update time of this environment. This field is
      +   * read-only, i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -169,8 +169,8 @@ public interface EnvironmentOrBuilder * * *
      -   * Output only. The last update time of this environment. This field is read-only, i.e., it
      -   * cannot be set by create and update methods.
      +   * Output only. The last update time of this environment. This field is
      +   * read-only, i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -183,8 +183,8 @@ public interface EnvironmentOrBuilder * * *
      -   * Output only. The last update time of this environment. This field is read-only, i.e., it
      -   * cannot be set by create and update methods.
      +   * Output only. The last update time of this environment. This field is
      +   * read-only, i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentProto.java index a58550ddcd59..622a6a0d5bfc 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentProto.java @@ -195,12 +195,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ments/*}/history\032x\312A\031dialogflow.googleap" + "is.com\322AYhttps://www.googleapis.com/auth" + "/cloud-platform,https://www.googleapis.c" - + "om/auth/dialogflowB\256\001\n#com.google.cloud." - + "dialogflow.v2beta1B\020EnvironmentProtoP\001ZI" - + "google.golang.org/genproto/googleapis/cl" - + "oud/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002D" - + "F\252\002\037Google.Cloud.Dialogflow.V2beta1b\006pro" - + "to3" + + "om/auth/dialogflowB\250\001\n#com.google.cloud." + + "dialogflow.v2beta1B\020EnvironmentProtoP\001ZC" + + "cloud.google.com/go/dialogflow/apiv2beta" + + "1/dialogflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Go" + + "ogle.Cloud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java index 5b3c9a157d23..cb0b0366fb9d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInput.java @@ -221,8 +221,8 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * for a list of the currently supported language codes. Note that queries in * the same session do not necessarily need to specify the same language. * This field is ignored when used in the context of a - * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - * because the language was already defined in the originating detect + * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + * field, because the language was already defined in the originating detect * intent request. *
      * @@ -251,8 +251,8 @@ public java.lang.String getLanguageCode() { * for a list of the currently supported language codes. Note that queries in * the same session do not necessarily need to specify the same language. * This field is ignored when used in the context of a - * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - * because the language was already defined in the originating detect + * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + * field, because the language was already defined in the originating detect * intent request. *
      * @@ -1085,8 +1085,8 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * for a list of the currently supported language codes. Note that queries in * the same session do not necessarily need to specify the same language. * This field is ignored when used in the context of a - * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - * because the language was already defined in the originating detect + * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + * field, because the language was already defined in the originating detect * intent request. *
      * @@ -1114,8 +1114,8 @@ public java.lang.String getLanguageCode() { * for a list of the currently supported language codes. Note that queries in * the same session do not necessarily need to specify the same language. * This field is ignored when used in the context of a - * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - * because the language was already defined in the originating detect + * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + * field, because the language was already defined in the originating detect * intent request. *
      * @@ -1143,8 +1143,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * for a list of the currently supported language codes. Note that queries in * the same session do not necessarily need to specify the same language. * This field is ignored when used in the context of a - * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - * because the language was already defined in the originating detect + * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + * field, because the language was already defined in the originating detect * intent request. *
      * @@ -1171,8 +1171,8 @@ public Builder setLanguageCode(java.lang.String value) { * for a list of the currently supported language codes. Note that queries in * the same session do not necessarily need to specify the same language. * This field is ignored when used in the context of a - * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - * because the language was already defined in the originating detect + * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + * field, because the language was already defined in the originating detect * intent request. *
      * @@ -1195,8 +1195,8 @@ public Builder clearLanguageCode() { * for a list of the currently supported language codes. Note that queries in * the same session do not necessarily need to specify the same language. * This field is ignored when used in the context of a - * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - * because the language was already defined in the originating detect + * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + * field, because the language was already defined in the originating detect * intent request. *
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java index c0f3475c7064..ee45b21df128 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/EventInputOrBuilder.java @@ -131,8 +131,8 @@ public interface EventInputOrBuilder * for a list of the currently supported language codes. Note that queries in * the same session do not necessarily need to specify the same language. * This field is ignored when used in the context of a - * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - * because the language was already defined in the originating detect + * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + * field, because the language was already defined in the originating detect * intent request. *
      * @@ -150,8 +150,8 @@ public interface EventInputOrBuilder * for a list of the currently supported language codes. Note that queries in * the same session do not necessarily need to specify the same language. * This field is ignored when used in the context of a - * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - * because the language was already defined in the originating detect + * [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + * field, because the language was already defined in the originating detect * intent request. *
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java index d119627a2f8c..8efe81af679e 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
      + * The request message for
      + * [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ExportAgentRequest} @@ -369,7 +370,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
      +   * The request message for
      +   * [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ExportAgentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java index 5eccced6785f..7ad3e7cb159d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ExportAgentResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
      + * The response message for
      + * [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ExportAgentResponse} @@ -412,7 +413,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
      +   * The response message for
      +   * [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ExportAgentResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Fulfillment.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Fulfillment.java index f65f3bf01174..48ed2b5d5d7e 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Fulfillment.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Fulfillment.java @@ -221,8 +221,8 @@ java.lang.String getRequestHeadersOrDefault( * * *
      -     * Optional. Indicates if generic web service is created through Cloud Functions
      -     * integration. Defaults to false.
      +     * Optional. Indicates if generic web service is created through Cloud
      +     * Functions integration. Defaults to false.
            * is_cloud_function is deprecated. Cloud functions can be configured by
            * its uri as a regular web service now.
            * 
      @@ -232,7 +232,7 @@ java.lang.String getRequestHeadersOrDefault( *
      * * @deprecated google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.is_cloud_function - * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=108 + * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=109 * @return The isCloudFunction. */ @java.lang.Deprecated @@ -570,8 +570,8 @@ public java.lang.String getRequestHeadersOrThrow(java.lang.String key) { * * *
      -     * Optional. Indicates if generic web service is created through Cloud Functions
      -     * integration. Defaults to false.
      +     * Optional. Indicates if generic web service is created through Cloud
      +     * Functions integration. Defaults to false.
            * is_cloud_function is deprecated. Cloud functions can be configured by
            * its uri as a regular web service now.
            * 
      @@ -581,7 +581,7 @@ public java.lang.String getRequestHeadersOrThrow(java.lang.String key) { *
      * * @deprecated google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.is_cloud_function - * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=108 + * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=109 * @return The isCloudFunction. */ @java.lang.Override @@ -1575,8 +1575,8 @@ public Builder putAllRequestHeaders( * * *
      -       * Optional. Indicates if generic web service is created through Cloud Functions
      -       * integration. Defaults to false.
      +       * Optional. Indicates if generic web service is created through Cloud
      +       * Functions integration. Defaults to false.
              * is_cloud_function is deprecated. Cloud functions can be configured by
              * its uri as a regular web service now.
              * 
      @@ -1586,7 +1586,7 @@ public Builder putAllRequestHeaders( *
      * * @deprecated google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.is_cloud_function - * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=108 + * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=109 * @return The isCloudFunction. */ @java.lang.Override @@ -1598,8 +1598,8 @@ public boolean getIsCloudFunction() { * * *
      -       * Optional. Indicates if generic web service is created through Cloud Functions
      -       * integration. Defaults to false.
      +       * Optional. Indicates if generic web service is created through Cloud
      +       * Functions integration. Defaults to false.
              * is_cloud_function is deprecated. Cloud functions can be configured by
              * its uri as a regular web service now.
              * 
      @@ -1609,7 +1609,7 @@ public boolean getIsCloudFunction() { * * * @deprecated google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.is_cloud_function - * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=108 + * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=109 * @param value The isCloudFunction to set. * @return This builder for chaining. */ @@ -1625,8 +1625,8 @@ public Builder setIsCloudFunction(boolean value) { * * *
      -       * Optional. Indicates if generic web service is created through Cloud Functions
      -       * integration. Defaults to false.
      +       * Optional. Indicates if generic web service is created through Cloud
      +       * Functions integration. Defaults to false.
              * is_cloud_function is deprecated. Cloud functions can be configured by
              * its uri as a regular web service now.
              * 
      @@ -1636,7 +1636,7 @@ public Builder setIsCloudFunction(boolean value) { * * * @deprecated google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService.is_cloud_function - * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=108 + * is deprecated. See google/cloud/dialogflow/v2beta1/fulfillment.proto;l=109 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentProto.java index 6c3960bfc178..dfee38bc946d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/FulfillmentProto.java @@ -109,12 +109,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nt,update_mask\032x\312A\031dialogflow.googleapis" + ".com\322AYhttps://www.googleapis.com/auth/c" + "loud-platform,https://www.googleapis.com" - + "/auth/dialogflowB\256\001\n#com.google.cloud.di" - + "alogflow.v2beta1B\020FulfillmentProtoP\001ZIgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252" - + "\002\037Google.Cloud.Dialogflow.V2beta1b\006proto" - + "3" + + "/auth/dialogflowB\250\001\n#com.google.cloud.di" + + "alogflow.v2beta1B\020FulfillmentProtoP\001ZCcl" + + "oud.google.com/go/dialogflow/apiv2beta1/" + + "dialogflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Goog" + + "le.Cloud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsProto.java index 006c4c228a60..32d3023e0a64 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GcsProto.java @@ -53,11 +53,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle/api/field_behavior.proto\"\037\n\nGcsSour" + "ces\022\021\n\004uris\030\002 \003(\tB\003\340A\002\"\030\n\tGcsSource\022\013\n\003u" + "ri\030\001 \001(\t\"\035\n\016GcsDestination\022\013\n\003uri\030\001 \001(\tB" - + "\246\001\n#com.google.cloud.dialogflow.v2beta1B" - + "\010GcsProtoP\001ZIgoogle.golang.org/genproto/" - + "googleapis/cloud/dialogflow/v2beta1;dial" - + "ogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow" - + ".V2beta1b\006proto3" + + "\240\001\n#com.google.cloud.dialogflow.v2beta1B" + + "\010GcsProtoP\001ZCcloud.google.com/go/dialogf" + + "low/apiv2beta1/dialogflowpb;dialogflowpb" + + "\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java index c31415c70c6a..a0e624c6bdfa 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAgentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent].
      + * The request message for
      + * [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetAgentRequest} @@ -289,7 +290,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent].
      +   * The request message for
      +   * [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetAgentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAnswerRecordRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAnswerRecordRequest.java index 0498e7b50467..fa1ba87bb5c2 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAnswerRecordRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetAnswerRecordRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [AnswerRecords.GetAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord].
      + * Request message for
      + * [AnswerRecords.GetAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetAnswerRecordRequest} @@ -286,7 +287,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [AnswerRecords.GetAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord].
      +   * Request message for
      +   * [AnswerRecords.GetAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetAnswerRecordRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java index 2448145bb531..45cda321accb 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetContextRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext].
      + * The request message for
      + * [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetContextRequest} @@ -310,7 +311,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext].
      +   * The request message for
      +   * [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetContextRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetConversationProfileRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetConversationProfileRequest.java index 23caee313417..b73e929be9d8 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetConversationProfileRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetConversationProfileRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile].
      + * The request message for
      + * [ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetConversationProfileRequest} @@ -291,7 +292,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile].
      +   * The request message for
      +   * [ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetConversationProfileRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetConversationRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetConversationRequest.java index b033556ce98b..3dc5488867a5 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetConversationRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetConversationRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Conversations.GetConversation][google.cloud.dialogflow.v2beta1.Conversations.GetConversation].
      + * The request message for
      + * [Conversations.GetConversation][google.cloud.dialogflow.v2beta1.Conversations.GetConversation].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetConversationRequest} @@ -290,7 +291,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Conversations.GetConversation][google.cloud.dialogflow.v2beta1.Conversations.GetConversation].
      +   * The request message for
      +   * [Conversations.GetConversation][google.cloud.dialogflow.v2beta1.Conversations.GetConversation].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetConversationRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequest.java index 6d1651d11a0c..2479351019d7 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetDocumentRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [Documents.GetDocument][google.cloud.dialogflow.v2beta1.Documents.GetDocument].
      + * Request message for
      + * [Documents.GetDocument][google.cloud.dialogflow.v2beta1.Documents.GetDocument].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetDocumentRequest} @@ -290,7 +291,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [Documents.GetDocument][google.cloud.dialogflow.v2beta1.Documents.GetDocument].
      +   * Request message for
      +   * [Documents.GetDocument][google.cloud.dialogflow.v2beta1.Documents.GetDocument].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetDocumentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java index bc66f29c4145..6c6e6bbdc3df 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEntityTypeRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType].
      + * The request message for
      + * [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetEntityTypeRequest} @@ -363,7 +364,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType].
      +   * The request message for
      +   * [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetEntityTypeRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentHistoryRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentHistoryRequest.java index 4dc38833e421..0616661d6959 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentHistoryRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentHistoryRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
      + * The request message for
      + * [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetEnvironmentHistoryRequest} @@ -137,8 +138,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
      -   * Optional. The maximum number of items to return in a single page. By default 100 and
      -   * at most 1000.
      +   * Optional. The maximum number of items to return in a single page. By
      +   * default 100 and at most 1000.
          * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -383,7 +384,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
      +   * The request message for
      +   * [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetEnvironmentHistoryRequest} @@ -735,8 +737,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. The maximum number of items to return in a single page. By default 100 and
      -     * at most 1000.
      +     * Optional. The maximum number of items to return in a single page. By
      +     * default 100 and at most 1000.
            * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -751,8 +753,8 @@ public int getPageSize() { * * *
      -     * Optional. The maximum number of items to return in a single page. By default 100 and
      -     * at most 1000.
      +     * Optional. The maximum number of items to return in a single page. By
      +     * default 100 and at most 1000.
            * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -771,8 +773,8 @@ public Builder setPageSize(int value) { * * *
      -     * Optional. The maximum number of items to return in a single page. By default 100 and
      -     * at most 1000.
      +     * Optional. The maximum number of items to return in a single page. By
      +     * default 100 and at most 1000.
            * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentHistoryRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentHistoryRequestOrBuilder.java index 7c5c4740c043..ac2f1d245fd2 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentHistoryRequestOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentHistoryRequestOrBuilder.java @@ -64,8 +64,8 @@ public interface GetEnvironmentHistoryRequestOrBuilder * * *
      -   * Optional. The maximum number of items to return in a single page. By default 100 and
      -   * at most 1000.
      +   * Optional. The maximum number of items to return in a single page. By
      +   * default 100 and at most 1000.
          * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentRequest.java index 360397bd4d06..ed6b366c8325 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetEnvironmentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Environments.GetEnvironment][google.cloud.dialogflow.v2beta1.Environments.GetEnvironment].
      + * The request message for
      + * [Environments.GetEnvironment][google.cloud.dialogflow.v2beta1.Environments.GetEnvironment].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetEnvironmentRequest} @@ -294,7 +295,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Environments.GetEnvironment][google.cloud.dialogflow.v2beta1.Environments.GetEnvironment].
      +   * The request message for
      +   * [Environments.GetEnvironment][google.cloud.dialogflow.v2beta1.Environments.GetEnvironment].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetEnvironmentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetFulfillmentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetFulfillmentRequest.java index 39312e0d3bc1..44b16a9e9c1d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetFulfillmentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetFulfillmentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Fulfillments.GetFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment].
      + * The request message for
      + * [Fulfillments.GetFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetFulfillmentRequest} @@ -292,7 +293,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Fulfillments.GetFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment].
      +   * The request message for
      +   * [Fulfillments.GetFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetFulfillmentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java index 46401bf94ed9..c42e440b78bb 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetIntentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent].
      + * The request message for
      + * [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetIntentRequest} @@ -407,7 +408,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent].
      +   * The request message for
      +   * [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetIntentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequest.java index 099873aed98a..7d6a18f61a26 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetKnowledgeBaseRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [KnowledgeBases.GetKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase].
      + * Request message for
      + * [KnowledgeBases.GetKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest} @@ -290,7 +291,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [KnowledgeBases.GetKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase].
      +   * Request message for
      +   * [KnowledgeBases.GetKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetParticipantRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetParticipantRequest.java index 45e569215f80..27b3891eda81 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetParticipantRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetParticipantRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.GetParticipant][google.cloud.dialogflow.v2beta1.Participants.GetParticipant].
      + * The request message for
      + * [Participants.GetParticipant][google.cloud.dialogflow.v2beta1.Participants.GetParticipant].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetParticipantRequest} @@ -290,7 +291,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.GetParticipant][google.cloud.dialogflow.v2beta1.Participants.GetParticipant].
      +   * The request message for
      +   * [Participants.GetParticipant][google.cloud.dialogflow.v2beta1.Participants.GetParticipant].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetParticipantRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java index 3a46024e04ff..e5809404fd36 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetSessionEntityTypeRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType].
      + * The request message for
      + * [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest} @@ -310,7 +311,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType].
      +   * The request message for
      +   * [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequest.java index 1387677be4d2..af9f1721ccf5 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetValidationResultRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult].
      + * The request message for
      + * [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetValidationResultRequest} @@ -359,7 +360,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult].
      +   * The request message for
      +   * [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetValidationResultRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetVersionRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetVersionRequest.java index 0dc68b85caad..0808f93bf6a0 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetVersionRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/GetVersionRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Versions.GetVersion][google.cloud.dialogflow.v2beta1.Versions.GetVersion].
      + * The request message for
      + * [Versions.GetVersion][google.cloud.dialogflow.v2beta1.Versions.GetVersion].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetVersionRequest} @@ -294,7 +295,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Versions.GetVersion][google.cloud.dialogflow.v2beta1.Versions.GetVersion].
      +   * The request message for
      +   * [Versions.GetVersion][google.cloud.dialogflow.v2beta1.Versions.GetVersion].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.GetVersionRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantConfig.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantConfig.java index 65ed6ed7eda6..17f97000b845 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantConfig.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantConfig.java @@ -6677,8 +6677,8 @@ public interface DialogflowQuerySourceOrBuilder * * *
      -       * Required. The name of a dialogflow virtual agent used for end user side intent
      -       * detection and suggestion. Format: `projects/<Project Number /
      +       * Required. The name of a dialogflow virtual agent used for end user side
      +       * intent detection and suggestion. Format: `projects/<Project Number /
              * ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
              * the same Dialogflow project.
              * 
      @@ -6694,8 +6694,8 @@ public interface DialogflowQuerySourceOrBuilder * * *
      -       * Required. The name of a dialogflow virtual agent used for end user side intent
      -       * detection and suggestion. Format: `projects/<Project Number /
      +       * Required. The name of a dialogflow virtual agent used for end user side
      +       * intent detection and suggestion. Format: `projects/<Project Number /
              * ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
              * the same Dialogflow project.
              * 
      @@ -6769,8 +6769,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -       * Required. The name of a dialogflow virtual agent used for end user side intent
      -       * detection and suggestion. Format: `projects/<Project Number /
      +       * Required. The name of a dialogflow virtual agent used for end user side
      +       * intent detection and suggestion. Format: `projects/<Project Number /
              * ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
              * the same Dialogflow project.
              * 
      @@ -6797,8 +6797,8 @@ public java.lang.String getAgent() { * * *
      -       * Required. The name of a dialogflow virtual agent used for end user side intent
      -       * detection and suggestion. Format: `projects/<Project Number /
      +       * Required. The name of a dialogflow virtual agent used for end user side
      +       * intent detection and suggestion. Format: `projects/<Project Number /
              * ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
              * the same Dialogflow project.
              * 
      @@ -7234,8 +7234,8 @@ public Builder mergeFrom( * * *
      -         * Required. The name of a dialogflow virtual agent used for end user side intent
      -         * detection and suggestion. Format: `projects/<Project Number /
      +         * Required. The name of a dialogflow virtual agent used for end user side
      +         * intent detection and suggestion. Format: `projects/<Project Number /
                * ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
                * the same Dialogflow project.
                * 
      @@ -7261,8 +7261,8 @@ public java.lang.String getAgent() { * * *
      -         * Required. The name of a dialogflow virtual agent used for end user side intent
      -         * detection and suggestion. Format: `projects/<Project Number /
      +         * Required. The name of a dialogflow virtual agent used for end user side
      +         * intent detection and suggestion. Format: `projects/<Project Number /
                * ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
                * the same Dialogflow project.
                * 
      @@ -7288,8 +7288,8 @@ public com.google.protobuf.ByteString getAgentBytes() { * * *
      -         * Required. The name of a dialogflow virtual agent used for end user side intent
      -         * detection and suggestion. Format: `projects/<Project Number /
      +         * Required. The name of a dialogflow virtual agent used for end user side
      +         * intent detection and suggestion. Format: `projects/<Project Number /
                * ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
                * the same Dialogflow project.
                * 
      @@ -7314,8 +7314,8 @@ public Builder setAgent(java.lang.String value) { * * *
      -         * Required. The name of a dialogflow virtual agent used for end user side intent
      -         * detection and suggestion. Format: `projects/<Project Number /
      +         * Required. The name of a dialogflow virtual agent used for end user side
      +         * intent detection and suggestion. Format: `projects/<Project Number /
                * ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
                * the same Dialogflow project.
                * 
      @@ -7336,8 +7336,8 @@ public Builder clearAgent() { * * *
      -         * Required. The name of a dialogflow virtual agent used for end user side intent
      -         * detection and suggestion. Format: `projects/<Project Number /
      +         * Required. The name of a dialogflow virtual agent used for end user side
      +         * intent detection and suggestion. Format: `projects/<Project Number /
                * ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
                * the same Dialogflow project.
                * 
      @@ -11875,11 +11875,17 @@ public interface MessageAnalysisConfigOrBuilder * and identifies the prevailing subjective opinion, especially to determine * a user's attitude as positive, negative, or neutral: * https://cloud.google.com/natural-language/docs/basics#sentiment_analysis - * For [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method, result will be in + * For + * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] + * method, result will be in * [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message]. - * For [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] method, result will be in + * For + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] + * method, result will be in * [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message] - * For [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] method, result will be in + * For + * [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] + * method, result will be in * [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages] * If Pub/Sub notification is configured, result will be in * [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload]. @@ -11975,11 +11981,17 @@ public boolean getEnableEntityExtraction() { * and identifies the prevailing subjective opinion, especially to determine * a user's attitude as positive, negative, or neutral: * https://cloud.google.com/natural-language/docs/basics#sentiment_analysis - * For [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method, result will be in + * For + * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] + * method, result will be in * [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message]. - * For [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] method, result will be in + * For + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] + * method, result will be in * [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message] - * For [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] method, result will be in + * For + * [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] + * method, result will be in * [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages] * If Pub/Sub notification is configured, result will be in * [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload]. @@ -12478,11 +12490,17 @@ public Builder clearEnableEntityExtraction() { * and identifies the prevailing subjective opinion, especially to determine * a user's attitude as positive, negative, or neutral: * https://cloud.google.com/natural-language/docs/basics#sentiment_analysis - * For [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method, result will be in + * For + * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] + * method, result will be in * [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message]. - * For [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] method, result will be in + * For + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] + * method, result will be in * [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message] - * For [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] method, result will be in + * For + * [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] + * method, result will be in * [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages] * If Pub/Sub notification is configured, result will be in * [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload]. @@ -12506,11 +12524,17 @@ public boolean getEnableSentimentAnalysis() { * and identifies the prevailing subjective opinion, especially to determine * a user's attitude as positive, negative, or neutral: * https://cloud.google.com/natural-language/docs/basics#sentiment_analysis - * For [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method, result will be in + * For + * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] + * method, result will be in * [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message]. - * For [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] method, result will be in + * For + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] + * method, result will be in * [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message] - * For [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] method, result will be in + * For + * [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] + * method, result will be in * [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages] * If Pub/Sub notification is configured, result will be in * [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload]. @@ -12538,11 +12562,17 @@ public Builder setEnableSentimentAnalysis(boolean value) { * and identifies the prevailing subjective opinion, especially to determine * a user's attitude as positive, negative, or neutral: * https://cloud.google.com/natural-language/docs/basics#sentiment_analysis - * For [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method, result will be in + * For + * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] + * method, result will be in * [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message]. - * For [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] method, result will be in + * For + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] + * method, result will be in * [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message] - * For [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] method, result will be in + * For + * [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] + * method, result will be in * [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages] * If Pub/Sub notification is configured, result will be in * [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload]. diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEvent.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEvent.java index 755b2ca1e7b4..dbe5ff7e4052 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEvent.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEvent.java @@ -132,12 +132,13 @@ public com.google.protobuf.ByteString getConversationBytes() { * *
          * The participant that the suggestion is compiled for. And This field is used
      -   * to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format:
      -   * `projects/<Project ID>/conversations/<Conversation
      +   * to call
      +   * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +   * API. Format: `projects/<Project ID>/conversations/<Conversation
          * ID>/participants/<Participant ID>`.
          * It will not be set in legacy workflow.
      -   * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -   * information.
      +   * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +   * for more information.
          * 
      * * string participant = 3; @@ -161,12 +162,13 @@ public java.lang.String getParticipant() { * *
          * The participant that the suggestion is compiled for. And This field is used
      -   * to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format:
      -   * `projects/<Project ID>/conversations/<Conversation
      +   * to call
      +   * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +   * API. Format: `projects/<Project ID>/conversations/<Conversation
          * ID>/participants/<Participant ID>`.
          * It will not be set in legacy workflow.
      -   * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -   * information.
      +   * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +   * for more information.
          * 
      * * string participant = 3; @@ -836,12 +838,13 @@ public Builder setConversationBytes(com.google.protobuf.ByteString value) { * *
            * The participant that the suggestion is compiled for. And This field is used
      -     * to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format:
      -     * `projects/<Project ID>/conversations/<Conversation
      +     * to call
      +     * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * API. Format: `projects/<Project ID>/conversations/<Conversation
            * ID>/participants/<Participant ID>`.
            * It will not be set in legacy workflow.
      -     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -     * information.
      +     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +     * for more information.
            * 
      * * string participant = 3; @@ -864,12 +867,13 @@ public java.lang.String getParticipant() { * *
            * The participant that the suggestion is compiled for. And This field is used
      -     * to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format:
      -     * `projects/<Project ID>/conversations/<Conversation
      +     * to call
      +     * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * API. Format: `projects/<Project ID>/conversations/<Conversation
            * ID>/participants/<Participant ID>`.
            * It will not be set in legacy workflow.
      -     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -     * information.
      +     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +     * for more information.
            * 
      * * string participant = 3; @@ -892,12 +896,13 @@ public com.google.protobuf.ByteString getParticipantBytes() { * *
            * The participant that the suggestion is compiled for. And This field is used
      -     * to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format:
      -     * `projects/<Project ID>/conversations/<Conversation
      +     * to call
      +     * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * API. Format: `projects/<Project ID>/conversations/<Conversation
            * ID>/participants/<Participant ID>`.
            * It will not be set in legacy workflow.
      -     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -     * information.
      +     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +     * for more information.
            * 
      * * string participant = 3; @@ -919,12 +924,13 @@ public Builder setParticipant(java.lang.String value) { * *
            * The participant that the suggestion is compiled for. And This field is used
      -     * to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format:
      -     * `projects/<Project ID>/conversations/<Conversation
      +     * to call
      +     * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * API. Format: `projects/<Project ID>/conversations/<Conversation
            * ID>/participants/<Participant ID>`.
            * It will not be set in legacy workflow.
      -     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -     * information.
      +     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +     * for more information.
            * 
      * * string participant = 3; @@ -942,12 +948,13 @@ public Builder clearParticipant() { * *
            * The participant that the suggestion is compiled for. And This field is used
      -     * to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format:
      -     * `projects/<Project ID>/conversations/<Conversation
      +     * to call
      +     * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +     * API. Format: `projects/<Project ID>/conversations/<Conversation
            * ID>/participants/<Participant ID>`.
            * It will not be set in legacy workflow.
      -     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -     * information.
      +     * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +     * for more information.
            * 
      * * string participant = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEventOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEventOrBuilder.java index 29759aaeb4e8..42ea07d40920 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEventOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEventOrBuilder.java @@ -55,12 +55,13 @@ public interface HumanAgentAssistantEventOrBuilder * *
          * The participant that the suggestion is compiled for. And This field is used
      -   * to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format:
      -   * `projects/<Project ID>/conversations/<Conversation
      +   * to call
      +   * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +   * API. Format: `projects/<Project ID>/conversations/<Conversation
          * ID>/participants/<Participant ID>`.
          * It will not be set in legacy workflow.
      -   * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -   * information.
      +   * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +   * for more information.
          * 
      * * string participant = 3; @@ -73,12 +74,13 @@ public interface HumanAgentAssistantEventOrBuilder * *
          * The participant that the suggestion is compiled for. And This field is used
      -   * to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format:
      -   * `projects/<Project ID>/conversations/<Conversation
      +   * to call
      +   * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]
      +   * API. Format: `projects/<Project ID>/conversations/<Conversation
          * ID>/participants/<Participant ID>`.
          * It will not be set in legacy workflow.
      -   * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more
      -   * information.
      +   * [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name]
      +   * for more information.
          * 
      * * string participant = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEventProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEventProto.java index 82929ab9d52d..c50e8265a676 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEventProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/HumanAgentAssistantEventProto.java @@ -47,12 +47,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nAgentAssistantEvent\022\024\n\014conversation\030\001 \001" + "(\t\022\023\n\013participant\030\003 \001(\t\022M\n\022suggestion_re" + "sults\030\005 \003(\01321.google.cloud.dialogflow.v2" - + "beta1.SuggestionResultB\273\001\n#com.google.cl" + + "beta1.SuggestionResultB\265\001\n#com.google.cl" + "oud.dialogflow.v2beta1B\035HumanAgentAssist" - + "antEventProtoP\001ZIgoogle.golang.org/genpr" - + "oto/googleapis/cloud/dialogflow/v2beta1;" - + "dialogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialog" - + "flow.V2beta1b\006proto3" + + "antEventProtoP\001ZCcloud.google.com/go/dia" + + "logflow/apiv2beta1/dialogflowpb;dialogfl" + + "owpb\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V" + + "2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java index c1379dce1a1a..693b8609ef61 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportAgentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent].
      + * The request message for
      + * [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ImportAgentRequest} @@ -497,7 +498,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent].
      +   * The request message for
      +   * [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ImportAgentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportDocumentsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportDocumentsRequest.java index 68cb92453c95..bd75babe6461 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportDocumentsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportDocumentsRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
      + * Request message for
      + * [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ImportDocumentsRequest} @@ -520,7 +521,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
      +   * Request message for
      +   * [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ImportDocumentsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportDocumentsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportDocumentsResponse.java index 5854946c4a47..d98a73ca2e86 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportDocumentsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ImportDocumentsResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
      + * Response message for
      + * [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ImportDocumentsResponse} @@ -303,7 +304,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
      +   * Response message for
      +   * [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ImportDocumentsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java index a66b21f08ca2..c4845e723e6c 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfig.java @@ -232,7 +232,7 @@ public boolean getEnableWordInfo() { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @return A list containing the phraseHints. */ @java.lang.Deprecated @@ -256,7 +256,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @return The count of phraseHints. */ @java.lang.Deprecated @@ -280,7 +280,7 @@ public int getPhraseHintsCount() { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param index The index of the element to return. * @return The phraseHints at the given index. */ @@ -305,7 +305,7 @@ public java.lang.String getPhraseHints(int index) { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param index The index of the value to return. * @return The bytes of the phraseHints at the given index. */ @@ -1561,7 +1561,7 @@ private void ensurePhraseHintsIsMutable() { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @return A list containing the phraseHints. */ @java.lang.Deprecated @@ -1585,7 +1585,7 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @return The count of phraseHints. */ @java.lang.Deprecated @@ -1609,7 +1609,7 @@ public int getPhraseHintsCount() { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param index The index of the element to return. * @return The phraseHints at the given index. */ @@ -1634,7 +1634,7 @@ public java.lang.String getPhraseHints(int index) { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param index The index of the value to return. * @return The bytes of the phraseHints at the given index. */ @@ -1659,7 +1659,7 @@ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param index The index to set the value at. * @param value The phraseHints to set. * @return This builder for chaining. @@ -1691,7 +1691,7 @@ public Builder setPhraseHints(int index, java.lang.String value) { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param value The phraseHints to add. * @return This builder for chaining. */ @@ -1722,7 +1722,7 @@ public Builder addPhraseHints(java.lang.String value) { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param values The phraseHints to add. * @return This builder for chaining. */ @@ -1750,7 +1750,7 @@ public Builder addAllPhraseHints(java.lang.Iterable values) { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1777,7 +1777,7 @@ public Builder clearPhraseHints() { * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param value The bytes of the phraseHints to add. * @return This builder for chaining. */ diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java index cad97b6a90fa..f8f7724fdf88 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/InputAudioConfigOrBuilder.java @@ -133,7 +133,7 @@ public interface InputAudioConfigOrBuilder * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @return A list containing the phraseHints. */ @java.lang.Deprecated @@ -155,7 +155,7 @@ public interface InputAudioConfigOrBuilder * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @return The count of phraseHints. */ @java.lang.Deprecated @@ -177,7 +177,7 @@ public interface InputAudioConfigOrBuilder * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param index The index of the element to return. * @return The phraseHints at the given index. */ @@ -200,7 +200,7 @@ public interface InputAudioConfigOrBuilder * repeated string phrase_hints = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.InputAudioConfig.phrase_hints is deprecated. See - * google/cloud/dialogflow/v2beta1/audio_config.proto;l=219 + * google/cloud/dialogflow/v2beta1/audio_config.proto;l=223 * @param index The index of the value to return. * @return The bytes of the phraseHints at the given index. */ diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java index 2d48572249cf..ed6d815d92c9 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Intent.java @@ -316,7 +316,9 @@ public interface TrainingPhraseOrBuilder * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -341,7 +343,9 @@ public interface TrainingPhraseOrBuilder * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -366,7 +370,9 @@ public interface TrainingPhraseOrBuilder * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -391,7 +397,9 @@ public interface TrainingPhraseOrBuilder * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -418,7 +426,9 @@ public interface TrainingPhraseOrBuilder * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2000,7 +2010,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type getType() * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2029,7 +2041,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type getType() * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2059,7 +2073,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type getType() * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2087,7 +2103,9 @@ public int getPartsCount() { * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2115,7 +2133,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part getParts(i * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2859,7 +2879,9 @@ private void ensurePartsIsMutable() { * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2891,7 +2913,9 @@ private void ensurePartsIsMutable() { * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2922,7 +2946,9 @@ public int getPartsCount() { * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2953,7 +2979,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part getParts(i * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -2991,7 +3019,9 @@ public Builder setParts( * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3027,7 +3057,9 @@ public Builder setParts( * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3065,7 +3097,9 @@ public Builder addParts( * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3103,7 +3137,9 @@ public Builder addParts( * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3138,7 +3174,9 @@ public Builder addParts( * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3174,7 +3212,9 @@ public Builder addParts( * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3211,7 +3251,9 @@ public Builder addAllParts( * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3245,7 +3287,9 @@ public Builder clearParts() { * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3279,7 +3323,9 @@ public Builder removeParts(int index) { * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3307,7 +3353,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.Builder ge * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3339,7 +3387,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.Builder ge * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3372,7 +3422,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.Builder ge * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3403,7 +3455,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.Builder ge * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -3435,7 +3489,9 @@ public com.google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.Builder ad * Note: Do not forget to include whitespace at part boundaries, * so the training phrase is well formatted when the parts are concatenated. * If the training phrase does not need to be annotated with parameters, - * you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + * you just need a single part with only the + * [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + * field set. * If you want to annotate the training phrase, you must create multiple * parts, where the fields of each part are populated in one of two ways: * - `Part.text` is set to a part of the phrase that has no parameters. @@ -31208,7 +31264,9 @@ public interface RbmCarouselCardOrBuilder * Rich cards allow you to respond to users with more vivid content, e.g. * with media and suggestions. * If you want to show a single card with more control over the layout, - * please use [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] instead. + * please use + * [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] + * instead. *
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard} @@ -31738,7 +31796,9 @@ protected Builder newBuilderForType( * Rich cards allow you to respond to users with more vivid content, e.g. * with media and suggestions. * If you want to show a single card with more control over the layout, - * please use [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] instead. + * please use + * [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] + * instead. *
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard} @@ -32709,8 +32769,9 @@ public interface RbmStandaloneCardOrBuilder * Standalone Rich Business Messaging (RBM) rich card. * Rich cards allow you to respond to users with more vivid content, e.g. * with media and suggestions. - * You can group multiple rich cards into one using [RbmCarouselCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] but - * carousel cards will give you less control over the card layout. + * You can group multiple rich cards into one using + * [RbmCarouselCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] + * but carousel cards will give you less control over the card layout. *
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard} @@ -33441,8 +33502,9 @@ protected Builder newBuilderForType( * Standalone Rich Business Messaging (RBM) rich card. * Rich cards allow you to respond to users with more vivid content, e.g. * with media and suggestions. - * You can group multiple rich cards into one using [RbmCarouselCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] but - * carousel cards will give you less control over the card layout. + * You can group multiple rich cards into one using + * [RbmCarouselCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] + * but carousel cards will give you less control over the card layout. *
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard} @@ -54843,7 +54905,8 @@ public interface ColumnPropertiesOrBuilder * * *
      -     * Column properties for [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
      +     * Column properties for
      +     * [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
            * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties} @@ -55353,7 +55416,8 @@ protected Builder newBuilderForType( * * *
      -       * Column properties for [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
      +       * Column properties for
      +       * [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
              * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties} @@ -55923,7 +55987,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCellOrBuilder getCel * * *
      -     * Row of [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
      +     * Row of
      +     * [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
            * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow} @@ -56244,7 +56309,8 @@ protected Builder newBuilderForType( * * *
      -       * Row of [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
      +       * Row of
      +       * [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
              * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow} @@ -57041,7 +57107,8 @@ public interface TableCardCellOrBuilder * * *
      -     * Cell of [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow].
      +     * Cell of
      +     * [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow].
            * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell} @@ -57304,7 +57371,8 @@ protected Builder newBuilderForType( * * *
      -       * Cell of [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow].
      +       * Cell of
      +       * [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow].
              * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell} @@ -65596,7 +65664,10 @@ public com.google.protobuf.Parser getParserForType() { * *
          * Optional. The unique identifier of this intent.
      -   * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
      +   * Required for
      +   * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]
      +   * and
      +   * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
          * methods.
          * Supported formats:
          * - `projects/<Project ID>/agent/intents/<Intent ID>`
      @@ -65624,7 +65695,10 @@ public java.lang.String getName() {
          *
          * 
          * Optional. The unique identifier of this intent.
      -   * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
      +   * Required for
      +   * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]
      +   * and
      +   * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
          * methods.
          * Supported formats:
          * - `projects/<Project ID>/agent/intents/<Intent ID>`
      @@ -65804,7 +65878,7 @@ public boolean getIsFallback() {
          * bool ml_enabled = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
          *
          * @deprecated google.cloud.dialogflow.v2beta1.Intent.ml_enabled is deprecated. See
      -   *     google/cloud/dialogflow/v2beta1/intent.proto;l=1142
      +   *     google/cloud/dialogflow/v2beta1/intent.proto;l=1154
          * @return The mlEnabled.
          */
         @java.lang.Override
      @@ -66643,9 +66717,10 @@ public com.google.protobuf.ByteString getRootFollowupIntentNameBytes() {
          * 
          * Optional. The unique identifier of the parent intent in the
          * chain of followup intents. You can set this field when creating an intent,
      -   * for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      -   * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
      -   * intent a followup intent.
      +   * for example with
      +   * [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      +   * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents],
      +   * in order to make this intent a followup intent.
          * It identifies the parent followup intent.
          * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
          * 
      @@ -66672,9 +66747,10 @@ public java.lang.String getParentFollowupIntentName() { *
          * Optional. The unique identifier of the parent intent in the
          * chain of followup intents. You can set this field when creating an intent,
      -   * for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      -   * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
      -   * intent a followup intent.
      +   * for example with
      +   * [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      +   * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents],
      +   * in order to make this intent a followup intent.
          * It identifies the parent followup intent.
          * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
          * 
      @@ -66705,8 +66781,8 @@ public com.google.protobuf.ByteString getParentFollowupIntentNameBytes() { * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * @@ -66722,8 +66798,8 @@ public com.google.protobuf.ByteString getParentFollowupIntentNameBytes() { * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * @@ -66740,8 +66816,8 @@ public com.google.protobuf.ByteString getParentFollowupIntentNameBytes() { * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * @@ -66756,8 +66832,8 @@ public int getFollowupIntentInfoCount() { * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * @@ -66773,8 +66849,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo getFollowup * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * @@ -67906,7 +67982,10 @@ public Builder mergeFrom( * *
            * Optional. The unique identifier of this intent.
      -     * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
      +     * Required for
      +     * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]
      +     * and
      +     * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
            * methods.
            * Supported formats:
            * - `projects/<Project ID>/agent/intents/<Intent ID>`
      @@ -67933,7 +68012,10 @@ public java.lang.String getName() {
            *
            * 
            * Optional. The unique identifier of this intent.
      -     * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
      +     * Required for
      +     * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]
      +     * and
      +     * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
            * methods.
            * Supported formats:
            * - `projects/<Project ID>/agent/intents/<Intent ID>`
      @@ -67960,7 +68042,10 @@ public com.google.protobuf.ByteString getNameBytes() {
            *
            * 
            * Optional. The unique identifier of this intent.
      -     * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
      +     * Required for
      +     * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]
      +     * and
      +     * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
            * methods.
            * Supported formats:
            * - `projects/<Project ID>/agent/intents/<Intent ID>`
      @@ -67986,7 +68071,10 @@ public Builder setName(java.lang.String value) {
            *
            * 
            * Optional. The unique identifier of this intent.
      -     * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
      +     * Required for
      +     * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]
      +     * and
      +     * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
            * methods.
            * Supported formats:
            * - `projects/<Project ID>/agent/intents/<Intent ID>`
      @@ -68008,7 +68096,10 @@ public Builder clearName() {
            *
            * 
            * Optional. The unique identifier of this intent.
      -     * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
      +     * Required for
      +     * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]
      +     * and
      +     * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
            * methods.
            * Supported formats:
            * - `projects/<Project ID>/agent/intents/<Intent ID>`
      @@ -68385,7 +68476,7 @@ public Builder clearIsFallback() {
            * 
            *
            * @deprecated google.cloud.dialogflow.v2beta1.Intent.ml_enabled is deprecated. See
      -     *     google/cloud/dialogflow/v2beta1/intent.proto;l=1142
      +     *     google/cloud/dialogflow/v2beta1/intent.proto;l=1154
            * @return The mlEnabled.
            */
           @java.lang.Override
      @@ -68414,7 +68505,7 @@ public boolean getMlEnabled() {
            * 
            *
            * @deprecated google.cloud.dialogflow.v2beta1.Intent.ml_enabled is deprecated. See
      -     *     google/cloud/dialogflow/v2beta1/intent.proto;l=1142
      +     *     google/cloud/dialogflow/v2beta1/intent.proto;l=1154
            * @param value The mlEnabled to set.
            * @return This builder for chaining.
            */
      @@ -68447,7 +68538,7 @@ public Builder setMlEnabled(boolean value) {
            * 
            *
            * @deprecated google.cloud.dialogflow.v2beta1.Intent.ml_enabled is deprecated. See
      -     *     google/cloud/dialogflow/v2beta1/intent.proto;l=1142
      +     *     google/cloud/dialogflow/v2beta1/intent.proto;l=1154
            * @return This builder for chaining.
            */
           @java.lang.Deprecated
      @@ -71280,9 +71371,10 @@ public Builder setRootFollowupIntentNameBytes(com.google.protobuf.ByteString val
            * 
            * Optional. The unique identifier of the parent intent in the
            * chain of followup intents. You can set this field when creating an intent,
      -     * for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      -     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
      -     * intent a followup intent.
      +     * for example with
      +     * [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      +     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents],
      +     * in order to make this intent a followup intent.
            * It identifies the parent followup intent.
            * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
            * 
      @@ -71309,9 +71401,10 @@ public java.lang.String getParentFollowupIntentName() { *
            * Optional. The unique identifier of the parent intent in the
            * chain of followup intents. You can set this field when creating an intent,
      -     * for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      -     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
      -     * intent a followup intent.
      +     * for example with
      +     * [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      +     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents],
      +     * in order to make this intent a followup intent.
            * It identifies the parent followup intent.
            * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
            * 
      @@ -71338,9 +71431,10 @@ public com.google.protobuf.ByteString getParentFollowupIntentNameBytes() { *
            * Optional. The unique identifier of the parent intent in the
            * chain of followup intents. You can set this field when creating an intent,
      -     * for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      -     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
      -     * intent a followup intent.
      +     * for example with
      +     * [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      +     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents],
      +     * in order to make this intent a followup intent.
            * It identifies the parent followup intent.
            * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
            * 
      @@ -71366,9 +71460,10 @@ public Builder setParentFollowupIntentName(java.lang.String value) { *
            * Optional. The unique identifier of the parent intent in the
            * chain of followup intents. You can set this field when creating an intent,
      -     * for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      -     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
      -     * intent a followup intent.
      +     * for example with
      +     * [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      +     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents],
      +     * in order to make this intent a followup intent.
            * It identifies the parent followup intent.
            * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
            * 
      @@ -71390,9 +71485,10 @@ public Builder clearParentFollowupIntentName() { *
            * Optional. The unique identifier of the parent intent in the
            * chain of followup intents. You can set this field when creating an intent,
      -     * for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      -     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
      -     * intent a followup intent.
      +     * for example with
      +     * [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      +     * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents],
      +     * in order to make this intent a followup intent.
            * It identifies the parent followup intent.
            * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
            * 
      @@ -71436,8 +71532,8 @@ private void ensureFollowupIntentInfoIsMutable() { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71456,8 +71552,8 @@ private void ensureFollowupIntentInfoIsMutable() { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71475,8 +71571,8 @@ public int getFollowupIntentInfoCount() { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71495,8 +71591,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo getFollowup * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71521,8 +71617,8 @@ public Builder setFollowupIntentInfo( * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71545,8 +71641,8 @@ public Builder setFollowupIntentInfo( * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71571,8 +71667,8 @@ public Builder addFollowupIntentInfo( * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71597,8 +71693,8 @@ public Builder addFollowupIntentInfo( * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71620,8 +71716,8 @@ public Builder addFollowupIntentInfo( * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71644,8 +71740,8 @@ public Builder addFollowupIntentInfo( * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71668,8 +71764,8 @@ public Builder addAllFollowupIntentInfo( * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71690,8 +71786,8 @@ public Builder clearFollowupIntentInfo() { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71712,8 +71808,8 @@ public Builder removeFollowupIntentInfo(int index) { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71728,8 +71824,8 @@ public Builder removeFollowupIntentInfo(int index) { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71748,8 +71844,8 @@ public Builder removeFollowupIntentInfo(int index) { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71769,8 +71865,8 @@ public Builder removeFollowupIntentInfo(int index) { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71787,8 +71883,8 @@ public Builder removeFollowupIntentInfo(int index) { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * @@ -71806,8 +71902,8 @@ public Builder removeFollowupIntentInfo(int index) { * * *
      -     * Output only. Information about all followup intents that have this intent as
      -     * a direct or indirect parent. We populate this field only in the output.
      +     * Output only. Information about all followup intents that have this intent
      +     * as a direct or indirect parent. We populate this field only in the output.
            * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java index 2335b8e649af..d0a6554a6132 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentOrBuilder.java @@ -28,7 +28,10 @@ public interface IntentOrBuilder * *
          * Optional. The unique identifier of this intent.
      -   * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
      +   * Required for
      +   * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]
      +   * and
      +   * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
          * methods.
          * Supported formats:
          * - `projects/<Project ID>/agent/intents/<Intent ID>`
      @@ -45,7 +48,10 @@ public interface IntentOrBuilder
          *
          * 
          * Optional. The unique identifier of this intent.
      -   * Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
      +   * Required for
      +   * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent]
      +   * and
      +   * [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
          * methods.
          * Supported formats:
          * - `projects/<Project ID>/agent/intents/<Intent ID>`
      @@ -164,7 +170,7 @@ public interface IntentOrBuilder
          * bool ml_enabled = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
          *
          * @deprecated google.cloud.dialogflow.v2beta1.Intent.ml_enabled is deprecated. See
      -   *     google/cloud/dialogflow/v2beta1/intent.proto;l=1142
      +   *     google/cloud/dialogflow/v2beta1/intent.proto;l=1154
          * @return The mlEnabled.
          */
         @java.lang.Deprecated
      @@ -781,9 +787,10 @@ com.google.cloud.dialogflow.v2beta1.Intent.Message.Platform getDefaultResponsePl
          * 
          * Optional. The unique identifier of the parent intent in the
          * chain of followup intents. You can set this field when creating an intent,
      -   * for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      -   * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
      -   * intent a followup intent.
      +   * for example with
      +   * [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      +   * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents],
      +   * in order to make this intent a followup intent.
          * It identifies the parent followup intent.
          * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
          * 
      @@ -799,9 +806,10 @@ com.google.cloud.dialogflow.v2beta1.Intent.Message.Platform getDefaultResponsePl *
          * Optional. The unique identifier of the parent intent in the
          * chain of followup intents. You can set this field when creating an intent,
      -   * for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      -   * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
      -   * intent a followup intent.
      +   * for example with
      +   * [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
      +   * [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents],
      +   * in order to make this intent a followup intent.
          * It identifies the parent followup intent.
          * Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
          * 
      @@ -816,8 +824,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.Message.Platform getDefaultResponsePl * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * @@ -830,8 +838,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.Message.Platform getDefaultResponsePl * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * @@ -843,8 +851,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.Message.Platform getDefaultResponsePl * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * @@ -856,8 +864,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.Message.Platform getDefaultResponsePl * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * @@ -870,8 +878,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.Message.Platform getDefaultResponsePl * * *
      -   * Output only. Information about all followup intents that have this intent as
      -   * a direct or indirect parent. We populate this field only in the output.
      +   * Output only. Information about all followup intents that have this intent
      +   * as a direct or indirect parent. We populate this field only in the output.
          * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java index e1ca34c0cf57..bf4836347b20 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentProto.java @@ -629,12 +629,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle.protobuf.Struct\032x\312A\031dialogflow.goog" + "leapis.com\322AYhttps://www.googleapis.com/" + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/dialogflowB\251\001\n#com.google.cl" - + "oud.dialogflow.v2beta1B\013IntentProtoP\001ZIg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF" - + "\252\002\037Google.Cloud.Dialogflow.V2beta1b\006prot" - + "o3" + + "is.com/auth/dialogflowB\243\001\n#com.google.cl" + + "oud.dialogflow.v2beta1B\013IntentProtoP\001ZCc" + + "loud.google.com/go/dialogflow/apiv2beta1" + + "/dialogflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Goo" + + "gle.Cloud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseProto.java index d83db390feaf..54b16d6a2358 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBaseProto.java @@ -143,12 +143,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e,update_mask\332A\016knowledge_base\032x\312A\031dialo" + "gflow.googleapis.com\322AYhttps://www.googl" + "eapis.com/auth/cloud-platform,https://ww" - + "w.googleapis.com/auth/dialogflowB\260\001\n#com" + + "w.googleapis.com/auth/dialogflowB\252\001\n#com" + ".google.cloud.dialogflow.v2beta1B\022Knowle" - + "dgeBaseProtoP\001ZIgoogle.golang.org/genpro" - + "to/googleapis/cloud/dialogflow/v2beta1;d" - + "ialogflow\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogf" - + "low.V2beta1b\006proto3" + + "dgeBaseProtoP\001ZCcloud.google.com/go/dial" + + "ogflow/apiv2beta1/dialogflowpb;dialogflo" + + "wpb\370\001\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2" + + "beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsRequest.java index 4fb69581be93..4deee43bd05b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
      + * Request message for
      + * [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest} @@ -140,7 +141,7 @@ public com.google.protobuf.ByteString getParentBytes() { * string filter = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.filter is deprecated. See - * google/cloud/dialogflow/v2beta1/answer_record.proto;l=286 + * google/cloud/dialogflow/v2beta1/answer_record.proto;l=297 * @return The filter. */ @java.lang.Override @@ -168,7 +169,7 @@ public java.lang.String getFilter() { * string filter = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.filter is deprecated. See - * google/cloud/dialogflow/v2beta1/answer_record.proto;l=286 + * google/cloud/dialogflow/v2beta1/answer_record.proto;l=297 * @return The bytes for filter. */ @java.lang.Override @@ -453,7 +454,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
      +   * Request message for
      +   * [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest} @@ -807,7 +809,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * string filter = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.filter is deprecated. - * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=286 + * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=297 * @return The filter. */ @java.lang.Deprecated @@ -834,7 +836,7 @@ public java.lang.String getFilter() { * string filter = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.filter is deprecated. - * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=286 + * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=297 * @return The bytes for filter. */ @java.lang.Deprecated @@ -861,7 +863,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * string filter = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.filter is deprecated. - * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=286 + * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=297 * @param value The filter to set. * @return This builder for chaining. */ @@ -887,7 +889,7 @@ public Builder setFilter(java.lang.String value) { * string filter = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.filter is deprecated. - * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=286 + * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=297 * @return This builder for chaining. */ @java.lang.Deprecated @@ -909,7 +911,7 @@ public Builder clearFilter() { * string filter = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.filter is deprecated. - * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=286 + * See google/cloud/dialogflow/v2beta1/answer_record.proto;l=297 * @param value The bytes for filter to set. * @return This builder for chaining. */ diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsRequestOrBuilder.java index 18ced9ce3079..94e8b006720d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsRequestOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsRequestOrBuilder.java @@ -64,7 +64,7 @@ public interface ListAnswerRecordsRequestOrBuilder * string filter = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.filter is deprecated. See - * google/cloud/dialogflow/v2beta1/answer_record.proto;l=286 + * google/cloud/dialogflow/v2beta1/answer_record.proto;l=297 * @return The filter. */ @java.lang.Deprecated @@ -81,7 +81,7 @@ public interface ListAnswerRecordsRequestOrBuilder * string filter = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; * * @deprecated google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.filter is deprecated. See - * google/cloud/dialogflow/v2beta1/answer_record.proto;l=286 + * google/cloud/dialogflow/v2beta1/answer_record.proto;l=297 * @return The bytes for filter. */ @java.lang.Deprecated diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsResponse.java index 50646a7c5ca3..c8f75dd5d98f 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListAnswerRecordsResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response message for [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
      + * Response message for
      + * [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse} @@ -376,7 +377,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response message for [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
      +   * Response message for
      +   * [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java index e51a585fef64..141d814b00cb 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
      + * The request message for
      + * [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListContextsRequest} @@ -397,7 +398,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
      +   * The request message for
      +   * [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListContextsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java index 698fdb1a55a6..6f2ae11a4363 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListContextsResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
      + * The response message for
      + * [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListContextsResponse} @@ -372,7 +373,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
      +   * The response message for
      +   * [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListContextsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationProfilesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationProfilesRequest.java index 5695b1ce6562..5195d93a6633 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationProfilesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationProfilesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
      + * The request message for
      + * [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListConversationProfilesRequest} @@ -379,7 +380,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
      +   * The request message for
      +   * [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListConversationProfilesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationProfilesResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationProfilesResponse.java index 8ad330de5adc..a7beedc8d9e7 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationProfilesResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationProfilesResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
      + * The response message for
      + * [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse} @@ -384,7 +385,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
      +   * The response message for
      +   * [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationsRequest.java index 799e3cce0ebc..1db611d0d197 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
      + * The request message for
      + * [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListConversationsRequest} @@ -466,7 +467,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
      +   * The request message for
      +   * [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListConversationsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationsResponse.java index dbd3d5687d93..cfe1d33d9dad 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListConversationsResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
      + * The response message for
      + * [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListConversationsResponse} @@ -373,7 +374,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
      +   * The response message for
      +   * [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListConversationsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequest.java index 4ac8d994532c..e131ad6f1be0 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
      + * Request message for
      + * [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListDocumentsRequest} @@ -468,7 +469,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
      +   * Request message for
      +   * [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListDocumentsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponse.java index e61f14501c1c..12efec5804f5 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListDocumentsResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
      + * Response message for
      + * [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListDocumentsResponse} @@ -367,7 +368,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
      +   * Response message for
      +   * [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListDocumentsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java index c238bcd1626e..2853a292e4e2 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
      + * The request message for
      + * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEntityTypesRequest} @@ -450,7 +451,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
      +   * The request message for
      +   * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEntityTypesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java index d01cb339928b..10ce125e7d97 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEntityTypesResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
      + * The response message for
      + * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEntityTypesResponse} @@ -373,7 +374,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
      +   * The response message for
      +   * [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEntityTypesResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequest.java index 976eaad3e8c2..75f756d835f6 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
      + * The request message for
      + * [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest} @@ -135,8 +136,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
      -   * Optional. The maximum number of items to return in a single page. By default 100 and
      -   * at most 1000.
      +   * Optional. The maximum number of items to return in a single page. By
      +   * default 100 and at most 1000.
          * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -381,7 +382,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
      +   * The request message for
      +   * [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest} @@ -724,8 +726,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. The maximum number of items to return in a single page. By default 100 and
      -     * at most 1000.
      +     * Optional. The maximum number of items to return in a single page. By
      +     * default 100 and at most 1000.
            * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -740,8 +742,8 @@ public int getPageSize() { * * *
      -     * Optional. The maximum number of items to return in a single page. By default 100 and
      -     * at most 1000.
      +     * Optional. The maximum number of items to return in a single page. By
      +     * default 100 and at most 1000.
            * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -760,8 +762,8 @@ public Builder setPageSize(int value) { * * *
      -     * Optional. The maximum number of items to return in a single page. By default 100 and
      -     * at most 1000.
      +     * Optional. The maximum number of items to return in a single page. By
      +     * default 100 and at most 1000.
            * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequestOrBuilder.java index 1e4da4c3d74d..bfba0d4d51e7 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequestOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsRequestOrBuilder.java @@ -62,8 +62,8 @@ public interface ListEnvironmentsRequestOrBuilder * * *
      -   * Optional. The maximum number of items to return in a single page. By default 100 and
      -   * at most 1000.
      +   * Optional. The maximum number of items to return in a single page. By
      +   * default 100 and at most 1000.
          * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponse.java index f0bbefcf949c..ca5257dd52d9 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListEnvironmentsResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
      + * The response message for
      + * [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse} @@ -373,7 +374,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
      +   * The response message for
      +   * [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java index 63ec9c91fe74..12e672a557bd 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
      + * The request message for
      + * [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListIntentsRequest} @@ -507,7 +508,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
      +   * The request message for
      +   * [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListIntentsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java index c23ae7725940..a773c7831320 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListIntentsResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
      + * The response message for
      + * [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListIntentsResponse} @@ -372,7 +373,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
      +   * The response message for
      +   * [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListIntentsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequest.java index d7176a1883f9..5a6d91af45c8 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
      + * Request message for
      + * [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest} @@ -474,7 +475,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
      +   * Request message for
      +   * [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponse.java index 2d16946b1b83..a7381f26393b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListKnowledgeBasesResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
      + * Response message for
      + * [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse} @@ -368,7 +369,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
      +   * Response message for
      +   * [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListMessagesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListMessagesRequest.java index 29e1737869bd..921ab74c6806 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListMessagesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListMessagesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
      + * The request message for
      + * [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListMessagesRequest} @@ -452,7 +453,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
      +   * The request message for
      +   * [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListMessagesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListMessagesResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListMessagesResponse.java index 468a9152dc28..b72540a59d2f 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListMessagesResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListMessagesResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
      + * The response message for
      + * [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListMessagesResponse} @@ -377,7 +378,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
      +   * The response message for
      +   * [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListMessagesResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListParticipantsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListParticipantsRequest.java index 67217ad294f3..b2d98f105a06 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListParticipantsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListParticipantsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
      + * The request message for
      + * [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListParticipantsRequest} @@ -379,7 +380,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
      +   * The request message for
      +   * [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListParticipantsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListParticipantsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListParticipantsResponse.java index fa5ccb6f4000..3276f7f8517d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListParticipantsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListParticipantsResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
      + * The response message for
      + * [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListParticipantsResponse} @@ -373,7 +374,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
      +   * The response message for
      +   * [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListParticipantsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java index 1a11cf7999e6..15a03aacae23 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
      + * The request message for
      + * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest} @@ -400,7 +401,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
      +   * The request message for
      +   * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java index 8084f8884805..bee2a5f940bb 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSessionEntityTypesResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
      + * The response message for
      + * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse} @@ -382,7 +383,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
      +   * The response message for
      +   * [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSuggestionsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSuggestionsRequest.java index 09f93f6c87e3..d75fa7f391b1 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSuggestionsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSuggestionsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
      + * The request message for
      + * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListSuggestionsRequest} @@ -449,7 +450,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
      +   * The request message for
      +   * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListSuggestionsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSuggestionsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSuggestionsResponse.java index 931b91a428f8..1244b0f09047 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSuggestionsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListSuggestionsResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
      + * The response message for
      + * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListSuggestionsResponse} @@ -379,7 +380,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
      +   * The response message for
      +   * [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListSuggestionsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsRequest.java index 80d3041fc2c7..f145a2e5e2ea 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
      + * The request message for
      + * [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListVersionsRequest} @@ -135,8 +136,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
      -   * Optional. The maximum number of items to return in a single page. By default 100 and
      -   * at most 1000.
      +   * Optional. The maximum number of items to return in a single page. By
      +   * default 100 and at most 1000.
          * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -381,7 +382,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
      +   * The request message for
      +   * [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListVersionsRequest} @@ -724,8 +726,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. The maximum number of items to return in a single page. By default 100 and
      -     * at most 1000.
      +     * Optional. The maximum number of items to return in a single page. By
      +     * default 100 and at most 1000.
            * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -740,8 +742,8 @@ public int getPageSize() { * * *
      -     * Optional. The maximum number of items to return in a single page. By default 100 and
      -     * at most 1000.
      +     * Optional. The maximum number of items to return in a single page. By
      +     * default 100 and at most 1000.
            * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -760,8 +762,8 @@ public Builder setPageSize(int value) { * * *
      -     * Optional. The maximum number of items to return in a single page. By default 100 and
      -     * at most 1000.
      +     * Optional. The maximum number of items to return in a single page. By
      +     * default 100 and at most 1000.
            * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsRequestOrBuilder.java index a7ea2d0a7b7b..75268f830cc2 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsRequestOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsRequestOrBuilder.java @@ -62,8 +62,8 @@ public interface ListVersionsRequestOrBuilder * * *
      -   * Optional. The maximum number of items to return in a single page. By default 100 and
      -   * at most 1000.
      +   * Optional. The maximum number of items to return in a single page. By
      +   * default 100 and at most 1000.
          * 
      * * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsResponse.java index 1c12be94bdfa..9efaed811546 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ListVersionsResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
      + * The response message for
      + * [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListVersionsResponse} @@ -372,7 +373,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
      +   * The response message for
      +   * [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ListVersionsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/LoggingConfig.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/LoggingConfig.java index 577a25a9c1c6..ecb6993f4534 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/LoggingConfig.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/LoggingConfig.java @@ -72,9 +72,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * Whether to log conversation events like
      -   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] to
      -   * Stackdriver in the conversation project as JSON format
      -   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +   * to Stackdriver in the conversation project as JSON format
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * protos.
          * 
      * * bool enable_stackdriver_logging = 3; @@ -432,9 +433,10 @@ public Builder mergeFrom( * *
            * Whether to log conversation events like
      -     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] to
      -     * Stackdriver in the conversation project as JSON format
      -     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +     * to Stackdriver in the conversation project as JSON format
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * protos.
            * 
      * * bool enable_stackdriver_logging = 3; @@ -450,9 +452,10 @@ public boolean getEnableStackdriverLogging() { * *
            * Whether to log conversation events like
      -     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] to
      -     * Stackdriver in the conversation project as JSON format
      -     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +     * to Stackdriver in the conversation project as JSON format
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * protos.
            * 
      * * bool enable_stackdriver_logging = 3; @@ -472,9 +475,10 @@ public Builder setEnableStackdriverLogging(boolean value) { * *
            * Whether to log conversation events like
      -     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] to
      -     * Stackdriver in the conversation project as JSON format
      -     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +     * to Stackdriver in the conversation project as JSON format
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * protos.
            * 
      * * bool enable_stackdriver_logging = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/LoggingConfigOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/LoggingConfigOrBuilder.java index d50f1004dc6d..5ba62dac649d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/LoggingConfigOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/LoggingConfigOrBuilder.java @@ -28,9 +28,10 @@ public interface LoggingConfigOrBuilder * *
          * Whether to log conversation events like
      -   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] to
      -   * Stackdriver in the conversation project as JSON format
      -   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +   * to Stackdriver in the conversation project as JSON format
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * protos.
          * 
      * * bool enable_stackdriver_logging = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/NotificationConfig.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/NotificationConfig.java index 06a229d81d5f..eedfb727f88a 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/NotificationConfig.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/NotificationConfig.java @@ -237,8 +237,10 @@ private MessageFormat(int value) { *
          * Name of the Pub/Sub topic to publish conversation
          * events like
      -   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as
      -   * serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +   * as serialized
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * protos.
          * For telephony integration to receive notification, make sure either this
          * topic is in the same project as the conversation or you grant
          * `service-<Conversation Project
      @@ -271,8 +273,10 @@ public java.lang.String getTopic() {
          * 
          * Name of the Pub/Sub topic to publish conversation
          * events like
      -   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as
      -   * serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +   * as serialized
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * protos.
          * For telephony integration to receive notification, make sure either this
          * topic is in the same project as the conversation or you grant
          * `service-<Conversation Project
      @@ -718,8 +722,10 @@ public Builder mergeFrom(
            * 
            * Name of the Pub/Sub topic to publish conversation
            * events like
      -     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as
      -     * serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +     * as serialized
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * protos.
            * For telephony integration to receive notification, make sure either this
            * topic is in the same project as the conversation or you grant
            * `service-<Conversation Project
      @@ -751,8 +757,10 @@ public java.lang.String getTopic() {
            * 
            * Name of the Pub/Sub topic to publish conversation
            * events like
      -     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as
      -     * serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +     * as serialized
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * protos.
            * For telephony integration to receive notification, make sure either this
            * topic is in the same project as the conversation or you grant
            * `service-<Conversation Project
      @@ -784,8 +792,10 @@ public com.google.protobuf.ByteString getTopicBytes() {
            * 
            * Name of the Pub/Sub topic to publish conversation
            * events like
      -     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as
      -     * serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +     * as serialized
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * protos.
            * For telephony integration to receive notification, make sure either this
            * topic is in the same project as the conversation or you grant
            * `service-<Conversation Project
      @@ -816,8 +826,10 @@ public Builder setTopic(java.lang.String value) {
            * 
            * Name of the Pub/Sub topic to publish conversation
            * events like
      -     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as
      -     * serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +     * as serialized
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * protos.
            * For telephony integration to receive notification, make sure either this
            * topic is in the same project as the conversation or you grant
            * `service-<Conversation Project
      @@ -844,8 +856,10 @@ public Builder clearTopic() {
            * 
            * Name of the Pub/Sub topic to publish conversation
            * events like
      -     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as
      -     * serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +     * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +     * as serialized
      +     * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +     * protos.
            * For telephony integration to receive notification, make sure either this
            * topic is in the same project as the conversation or you grant
            * `service-<Conversation Project
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/NotificationConfigOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/NotificationConfigOrBuilder.java
      index 1eebe41fd425..52b8888b3bc6 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/NotificationConfigOrBuilder.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/NotificationConfigOrBuilder.java
      @@ -29,8 +29,10 @@ public interface NotificationConfigOrBuilder
          * 
          * Name of the Pub/Sub topic to publish conversation
          * events like
      -   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as
      -   * serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +   * as serialized
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * protos.
          * For telephony integration to receive notification, make sure either this
          * topic is in the same project as the conversation or you grant
          * `service-<Conversation Project
      @@ -52,8 +54,10 @@ public interface NotificationConfigOrBuilder
          * 
          * Name of the Pub/Sub topic to publish conversation
          * events like
      -   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as
      -   * serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos.
      +   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED]
      +   * as serialized
      +   * [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]
      +   * protos.
          * For telephony integration to receive notification, make sure either this
          * topic is in the same project as the conversation or you grant
          * `service-<Conversation Project
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Participant.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Participant.java
      index 94b79ad4f752..34404dc6ba26 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Participant.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Participant.java
      @@ -322,8 +322,8 @@ public com.google.protobuf.ByteString getNameBytes() {
          *
          *
          * 
      -   * Immutable. The role this participant plays in the conversation. This field must be set
      -   * during participant creation and is then immutable.
      +   * Immutable. The role this participant plays in the conversation. This field
      +   * must be set during participant creation and is then immutable.
          * 
      * * @@ -340,8 +340,8 @@ public int getRoleValue() { * * *
      -   * Immutable. The role this participant plays in the conversation. This field must be set
      -   * during participant creation and is then immutable.
      +   * Immutable. The role this participant plays in the conversation. This field
      +   * must be set during participant creation and is then immutable.
          * 
      * * @@ -367,16 +367,20 @@ public com.google.cloud.dialogflow.v2beta1.Participant.Role getRole() { * * *
      -   * Optional. Obfuscated user id that should be associated with the created participant.
      +   * Optional. Obfuscated user id that should be associated with the created
      +   * participant.
          * You can specify a user id as follows:
          * 1. If you set this field in
      -   *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or
      +   *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
      +   *    or
          *    [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant],
          *    Dialogflow adds the obfuscated user id with the participant.
          * 2. If you set this field in
      -   *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or
      +   *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id]
      +   *    or
          *    [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id],
      -   *    Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
      +   *    Dialogflow will update
      +   *    [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
          * Dialogflow uses this user id for following purposes:
          * 1) Billing and measurement. If user with the same
          * obfuscated_external_user_id is created in a later conversation, dialogflow
      @@ -411,16 +415,20 @@ public java.lang.String getObfuscatedExternalUserId() {
          *
          *
          * 
      -   * Optional. Obfuscated user id that should be associated with the created participant.
      +   * Optional. Obfuscated user id that should be associated with the created
      +   * participant.
          * You can specify a user id as follows:
          * 1. If you set this field in
      -   *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or
      +   *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
      +   *    or
          *    [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant],
          *    Dialogflow adds the obfuscated user id with the participant.
          * 2. If you set this field in
      -   *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or
      +   *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id]
      +   *    or
          *    [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id],
      -   *    Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
      +   *    Dialogflow will update
      +   *    [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
          * Dialogflow uses this user id for following purposes:
          * 1) Billing and measurement. If user with the same
          * obfuscated_external_user_id is created in a later conversation, dialogflow
      @@ -485,12 +493,13 @@ public int getDocumentsMetadataFiltersCount() {
          *
          *
          * 
      -   * Optional. Key-value filters on the metadata of documents returned by article
      -   * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * Optional. Key-value filters on the metadata of documents returned by
      +   * article suggestion. If specified, article suggestion only returns suggested
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -524,12 +533,13 @@ public java.util.Map getDocumentsMetadataFil
          *
          *
          * 
      -   * Optional. Key-value filters on the metadata of documents returned by article
      -   * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * Optional. Key-value filters on the metadata of documents returned by
      +   * article suggestion. If specified, article suggestion only returns suggested
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -554,12 +564,13 @@ public java.util.Map getDocumentsMetadataFil
          *
          *
          * 
      -   * Optional. Key-value filters on the metadata of documents returned by article
      -   * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * Optional. Key-value filters on the metadata of documents returned by
      +   * article suggestion. If specified, article suggestion only returns suggested
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -592,12 +603,13 @@ public java.util.Map getDocumentsMetadataFil
          *
          *
          * 
      -   * Optional. Key-value filters on the metadata of documents returned by article
      -   * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * Optional. Key-value filters on the metadata of documents returned by
      +   * article suggestion. If specified, article suggestion only returns suggested
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -1204,8 +1216,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
            *
            *
            * 
      -     * Immutable. The role this participant plays in the conversation. This field must be set
      -     * during participant creation and is then immutable.
      +     * Immutable. The role this participant plays in the conversation. This field
      +     * must be set during participant creation and is then immutable.
            * 
      * * @@ -1222,8 +1234,8 @@ public int getRoleValue() { * * *
      -     * Immutable. The role this participant plays in the conversation. This field must be set
      -     * during participant creation and is then immutable.
      +     * Immutable. The role this participant plays in the conversation. This field
      +     * must be set during participant creation and is then immutable.
            * 
      * * @@ -1243,8 +1255,8 @@ public Builder setRoleValue(int value) { * * *
      -     * Immutable. The role this participant plays in the conversation. This field must be set
      -     * during participant creation and is then immutable.
      +     * Immutable. The role this participant plays in the conversation. This field
      +     * must be set during participant creation and is then immutable.
            * 
      * * @@ -1265,8 +1277,8 @@ public com.google.cloud.dialogflow.v2beta1.Participant.Role getRole() { * * *
      -     * Immutable. The role this participant plays in the conversation. This field must be set
      -     * during participant creation and is then immutable.
      +     * Immutable. The role this participant plays in the conversation. This field
      +     * must be set during participant creation and is then immutable.
            * 
      * * @@ -1289,8 +1301,8 @@ public Builder setRole(com.google.cloud.dialogflow.v2beta1.Participant.Role valu * * *
      -     * Immutable. The role this participant plays in the conversation. This field must be set
      -     * during participant creation and is then immutable.
      +     * Immutable. The role this participant plays in the conversation. This field
      +     * must be set during participant creation and is then immutable.
            * 
      * * @@ -1311,16 +1323,20 @@ public Builder clearRole() { * * *
      -     * Optional. Obfuscated user id that should be associated with the created participant.
      +     * Optional. Obfuscated user id that should be associated with the created
      +     * participant.
            * You can specify a user id as follows:
            * 1. If you set this field in
      -     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or
      +     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
      +     *    or
            *    [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant],
            *    Dialogflow adds the obfuscated user id with the participant.
            * 2. If you set this field in
      -     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or
      +     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id]
      +     *    or
            *    [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id],
      -     *    Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
      +     *    Dialogflow will update
      +     *    [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
            * Dialogflow uses this user id for following purposes:
            * 1) Billing and measurement. If user with the same
            * obfuscated_external_user_id is created in a later conversation, dialogflow
      @@ -1355,16 +1371,20 @@ public java.lang.String getObfuscatedExternalUserId() {
            *
            *
            * 
      -     * Optional. Obfuscated user id that should be associated with the created participant.
      +     * Optional. Obfuscated user id that should be associated with the created
      +     * participant.
            * You can specify a user id as follows:
            * 1. If you set this field in
      -     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or
      +     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
      +     *    or
            *    [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant],
            *    Dialogflow adds the obfuscated user id with the participant.
            * 2. If you set this field in
      -     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or
      +     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id]
      +     *    or
            *    [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id],
      -     *    Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
      +     *    Dialogflow will update
      +     *    [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
            * Dialogflow uses this user id for following purposes:
            * 1) Billing and measurement. If user with the same
            * obfuscated_external_user_id is created in a later conversation, dialogflow
      @@ -1399,16 +1419,20 @@ public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes() {
            *
            *
            * 
      -     * Optional. Obfuscated user id that should be associated with the created participant.
      +     * Optional. Obfuscated user id that should be associated with the created
      +     * participant.
            * You can specify a user id as follows:
            * 1. If you set this field in
      -     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or
      +     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
      +     *    or
            *    [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant],
            *    Dialogflow adds the obfuscated user id with the participant.
            * 2. If you set this field in
      -     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or
      +     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id]
      +     *    or
            *    [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id],
      -     *    Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
      +     *    Dialogflow will update
      +     *    [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
            * Dialogflow uses this user id for following purposes:
            * 1) Billing and measurement. If user with the same
            * obfuscated_external_user_id is created in a later conversation, dialogflow
      @@ -1442,16 +1466,20 @@ public Builder setObfuscatedExternalUserId(java.lang.String value) {
            *
            *
            * 
      -     * Optional. Obfuscated user id that should be associated with the created participant.
      +     * Optional. Obfuscated user id that should be associated with the created
      +     * participant.
            * You can specify a user id as follows:
            * 1. If you set this field in
      -     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or
      +     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
      +     *    or
            *    [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant],
            *    Dialogflow adds the obfuscated user id with the participant.
            * 2. If you set this field in
      -     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or
      +     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id]
      +     *    or
            *    [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id],
      -     *    Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
      +     *    Dialogflow will update
      +     *    [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
            * Dialogflow uses this user id for following purposes:
            * 1) Billing and measurement. If user with the same
            * obfuscated_external_user_id is created in a later conversation, dialogflow
      @@ -1481,16 +1509,20 @@ public Builder clearObfuscatedExternalUserId() {
            *
            *
            * 
      -     * Optional. Obfuscated user id that should be associated with the created participant.
      +     * Optional. Obfuscated user id that should be associated with the created
      +     * participant.
            * You can specify a user id as follows:
            * 1. If you set this field in
      -     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or
      +     *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
      +     *    or
            *    [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant],
            *    Dialogflow adds the obfuscated user id with the participant.
            * 2. If you set this field in
      -     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or
      +     *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id]
      +     *    or
            *    [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id],
      -     *    Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
      +     *    Dialogflow will update
      +     *    [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
            * Dialogflow uses this user id for following purposes:
            * 1) Billing and measurement. If user with the same
            * obfuscated_external_user_id is created in a later conversation, dialogflow
      @@ -1556,12 +1588,13 @@ public int getDocumentsMetadataFiltersCount() {
            *
            *
            * 
      -     * Optional. Key-value filters on the metadata of documents returned by article
      -     * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * Optional. Key-value filters on the metadata of documents returned by
      +     * article suggestion. If specified, article suggestion only returns suggested
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -1595,12 +1628,13 @@ public java.util.Map getDocumentsMetadataFil
            *
            *
            * 
      -     * Optional. Key-value filters on the metadata of documents returned by article
      -     * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * Optional. Key-value filters on the metadata of documents returned by
      +     * article suggestion. If specified, article suggestion only returns suggested
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -1625,12 +1659,13 @@ public java.util.Map getDocumentsMetadataFil
            *
            *
            * 
      -     * Optional. Key-value filters on the metadata of documents returned by article
      -     * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * Optional. Key-value filters on the metadata of documents returned by
      +     * article suggestion. If specified, article suggestion only returns suggested
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -1663,12 +1698,13 @@ public java.util.Map getDocumentsMetadataFil
            *
            *
            * 
      -     * Optional. Key-value filters on the metadata of documents returned by article
      -     * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * Optional. Key-value filters on the metadata of documents returned by
      +     * article suggestion. If specified, article suggestion only returns suggested
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -1707,12 +1743,13 @@ public Builder clearDocumentsMetadataFilters() {
            *
            *
            * 
      -     * Optional. Key-value filters on the metadata of documents returned by article
      -     * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * Optional. Key-value filters on the metadata of documents returned by
      +     * article suggestion. If specified, article suggestion only returns suggested
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -1746,12 +1783,13 @@ public java.util.Map getMutableDocumentsMeta
            *
            *
            * 
      -     * Optional. Key-value filters on the metadata of documents returned by article
      -     * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * Optional. Key-value filters on the metadata of documents returned by
      +     * article suggestion. If specified, article suggestion only returns suggested
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      @@ -1783,12 +1821,13 @@ public Builder putDocumentsMetadataFilters(java.lang.String key, java.lang.Strin
            *
            *
            * 
      -     * Optional. Key-value filters on the metadata of documents returned by article
      -     * suggestion. If specified, article suggestion only returns suggested
      -     * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -     * values for a metadata key should be concatenated by comma. For example,
      -     * filters to match all documents that have 'US' or 'CA' in their market
      -     * metadata values and 'agent' in their user metadata values will be
      +     * Optional. Key-value filters on the metadata of documents returned by
      +     * article suggestion. If specified, article suggestion only returns suggested
      +     * documents that match all filters in their
      +     * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +     * Multiple values for a metadata key should be concatenated by comma. For
      +     * example, filters to match all documents that have 'US' or 'CA' in their
      +     * market metadata values and 'agent' in their user metadata values will be
            * ```
            * documents_metadata_filters {
            *   key: "market"
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantOrBuilder.java
      index 76a16b5cff62..eaa4a6cb8bf2 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantOrBuilder.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantOrBuilder.java
      @@ -56,8 +56,8 @@ public interface ParticipantOrBuilder
          *
          *
          * 
      -   * Immutable. The role this participant plays in the conversation. This field must be set
      -   * during participant creation and is then immutable.
      +   * Immutable. The role this participant plays in the conversation. This field
      +   * must be set during participant creation and is then immutable.
          * 
      * * @@ -71,8 +71,8 @@ public interface ParticipantOrBuilder * * *
      -   * Immutable. The role this participant plays in the conversation. This field must be set
      -   * during participant creation and is then immutable.
      +   * Immutable. The role this participant plays in the conversation. This field
      +   * must be set during participant creation and is then immutable.
          * 
      * * @@ -87,16 +87,20 @@ public interface ParticipantOrBuilder * * *
      -   * Optional. Obfuscated user id that should be associated with the created participant.
      +   * Optional. Obfuscated user id that should be associated with the created
      +   * participant.
          * You can specify a user id as follows:
          * 1. If you set this field in
      -   *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or
      +   *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
      +   *    or
          *    [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant],
          *    Dialogflow adds the obfuscated user id with the participant.
          * 2. If you set this field in
      -   *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or
      +   *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id]
      +   *    or
          *    [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id],
      -   *    Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
      +   *    Dialogflow will update
      +   *    [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
          * Dialogflow uses this user id for following purposes:
          * 1) Billing and measurement. If user with the same
          * obfuscated_external_user_id is created in a later conversation, dialogflow
      @@ -120,16 +124,20 @@ public interface ParticipantOrBuilder
          *
          *
          * 
      -   * Optional. Obfuscated user id that should be associated with the created participant.
      +   * Optional. Obfuscated user id that should be associated with the created
      +   * participant.
          * You can specify a user id as follows:
          * 1. If you set this field in
      -   *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or
      +   *    [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
      +   *    or
          *    [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant],
          *    Dialogflow adds the obfuscated user id with the participant.
          * 2. If you set this field in
      -   *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or
      +   *    [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id]
      +   *    or
          *    [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id],
      -   *    Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
      +   *    Dialogflow will update
      +   *    [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id].
          * Dialogflow uses this user id for following purposes:
          * 1) Billing and measurement. If user with the same
          * obfuscated_external_user_id is created in a later conversation, dialogflow
      @@ -154,12 +162,13 @@ public interface ParticipantOrBuilder
          *
          *
          * 
      -   * Optional. Key-value filters on the metadata of documents returned by article
      -   * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * Optional. Key-value filters on the metadata of documents returned by
      +   * article suggestion. If specified, article suggestion only returns suggested
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -181,12 +190,13 @@ public interface ParticipantOrBuilder
          *
          *
          * 
      -   * Optional. Key-value filters on the metadata of documents returned by article
      -   * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * Optional. Key-value filters on the metadata of documents returned by
      +   * article suggestion. If specified, article suggestion only returns suggested
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -211,12 +221,13 @@ public interface ParticipantOrBuilder
          *
          *
          * 
      -   * Optional. Key-value filters on the metadata of documents returned by article
      -   * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * Optional. Key-value filters on the metadata of documents returned by
      +   * article suggestion. If specified, article suggestion only returns suggested
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -238,12 +249,13 @@ public interface ParticipantOrBuilder
          *
          *
          * 
      -   * Optional. Key-value filters on the metadata of documents returned by article
      -   * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * Optional. Key-value filters on the metadata of documents returned by
      +   * article suggestion. If specified, article suggestion only returns suggested
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      @@ -269,12 +281,13 @@ java.lang.String getDocumentsMetadataFiltersOrDefault(
          *
          *
          * 
      -   * Optional. Key-value filters on the metadata of documents returned by article
      -   * suggestion. If specified, article suggestion only returns suggested
      -   * documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple
      -   * values for a metadata key should be concatenated by comma. For example,
      -   * filters to match all documents that have 'US' or 'CA' in their market
      -   * metadata values and 'agent' in their user metadata values will be
      +   * Optional. Key-value filters on the metadata of documents returned by
      +   * article suggestion. If specified, article suggestion only returns suggested
      +   * documents that match all filters in their
      +   * [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata].
      +   * Multiple values for a metadata key should be concatenated by comma. For
      +   * example, filters to match all documents that have 'US' or 'CA' in their
      +   * market metadata values and 'agent' in their user metadata values will be
          * ```
          * documents_metadata_filters {
          *   key: "market"
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantProto.java
      index edeb181c7eca..41b34cb35052 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantProto.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantProto.java
      @@ -594,11 +594,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
                 + "e:\001*\032x\312A\031dialogflow.googleapis.com\322AYhtt"
                 + "ps://www.googleapis.com/auth/cloud-platf"
                 + "orm,https://www.googleapis.com/auth/dial"
      -          + "ogflowB\256\001\n#com.google.cloud.dialogflow.v"
      -          + "2beta1B\020ParticipantProtoP\001ZIgoogle.golan"
      -          + "g.org/genproto/googleapis/cloud/dialogfl"
      -          + "ow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037Google.C"
      -          + "loud.Dialogflow.V2beta1b\006proto3"
      +          + "ogflowB\250\001\n#com.google.cloud.dialogflow.v"
      +          + "2beta1B\020ParticipantProtoP\001ZCcloud.google"
      +          + ".com/go/dialogflow/apiv2beta1/dialogflow"
      +          + "pb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Google.Cloud.D"
      +          + "ialogflow.V2beta1b\006proto3"
           };
           descriptor =
               com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java
      index 43ffc992a0c5..02a805a7b696 100644
      --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java
      +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ReloadDocumentRequest.java
      @@ -22,7 +22,8 @@
        *
        *
        * 
      - * Request message for [Documents.ReloadDocument][google.cloud.dialogflow.v2beta1.Documents.ReloadDocument].
      + * Request message for
      + * [Documents.ReloadDocument][google.cloud.dialogflow.v2beta1.Documents.ReloadDocument].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ReloadDocumentRequest} @@ -440,7 +441,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [Documents.ReloadDocument][google.cloud.dialogflow.v2beta1.Documents.ReloadDocument].
      +   * Request message for
      +   * [Documents.ReloadDocument][google.cloud.dialogflow.v2beta1.Documents.ReloadDocument].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.ReloadDocumentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java index 4ecbaf357b61..471872c23e32 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/RestoreAgentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent].
      + * The request message for
      + * [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.RestoreAgentRequest} @@ -497,7 +498,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent].
      +   * The request message for
      +   * [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.RestoreAgentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java index 9de1777a3394..8620510a0013 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
      + * The request message for
      + * [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SearchAgentsRequest} @@ -379,7 +380,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
      +   * The request message for
      +   * [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SearchAgentsRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java index 33c9e411a871..e75df6fbcaba 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SearchAgentsResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
      + * The response message for
      + * [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SearchAgentsResponse} @@ -372,7 +373,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
      +   * The response message for
      +   * [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SearchAgentsResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResult.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResult.java index a10518f12397..d81d9b9437d2 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResult.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SentimentAnalysisResult.java @@ -26,11 +26,14 @@ * and identifies the prevailing subjective opinion, especially to determine a * user's attitude as positive, negative, or neutral. * For [Participants.DetectIntent][], it needs to be configured in - * [DetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. For - * [Participants.StreamingDetectIntent][], it needs to be configured in + * [DetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. + * For [Participants.StreamingDetectIntent][], it needs to be configured in * [StreamingDetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. - * And for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and - * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], it needs to be configured in + * And for + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] + * and + * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], + * it needs to be configured in * [ConversationProfile.human_agent_assistant_config][google.cloud.dialogflow.v2beta1.ConversationProfile.human_agent_assistant_config] *
      * @@ -297,11 +300,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * and identifies the prevailing subjective opinion, especially to determine a * user's attitude as positive, negative, or neutral. * For [Participants.DetectIntent][], it needs to be configured in - * [DetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. For - * [Participants.StreamingDetectIntent][], it needs to be configured in + * [DetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. + * For [Participants.StreamingDetectIntent][], it needs to be configured in * [StreamingDetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. - * And for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and - * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], it needs to be configured in + * And for + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] + * and + * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], + * it needs to be configured in * [ConversationProfile.human_agent_assistant_config][google.cloud.dialogflow.v2beta1.ConversationProfile.human_agent_assistant_config] *
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java index 2fb04f9edbd3..efa278878d38 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityType.java @@ -116,8 +116,9 @@ public enum EntityOverrideMode implements com.google.protobuf.ProtocolMessageEnu * `GetSessionEntityType`, `CreateSessionEntityType` and * `UpdateSessionEntityType` only return the additional entities added in * this session entity type. If you want to get the supplemented list, - * please call [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType] on the custom entity type - * and merge. + * please call + * [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType] + * on the custom entity type and merge. *
      * * ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2; @@ -157,8 +158,9 @@ public enum EntityOverrideMode implements com.google.protobuf.ProtocolMessageEnu * `GetSessionEntityType`, `CreateSessionEntityType` and * `UpdateSessionEntityType` only return the additional entities added in * this session entity type. If you want to get the supplemented list, - * please call [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType] on the custom entity type - * and merge. + * please call + * [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType] + * on the custom entity type and merge. *
      * * ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java index 5260a2613bb2..7bf300b3dd07 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypeProto.java @@ -183,12 +183,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Types/*}\332A\004name\032x\312A\031dialogflow.googleapi" + "s.com\322AYhttps://www.googleapis.com/auth/" + "cloud-platform,https://www.googleapis.co" - + "m/auth/dialogflowB\264\001\n#com.google.cloud.d" + + "m/auth/dialogflowB\256\001\n#com.google.cloud.d" + "ialogflow.v2beta1B\026SessionEntityTypeProt" - + "oP\001ZIgoogle.golang.org/genproto/googleap" - + "is/cloud/dialogflow/v2beta1;dialogflow\370\001" - + "\001\242\002\002DF\252\002\037Google.Cloud.Dialogflow.V2beta1" - + "b\006proto3" + + "oP\001ZCcloud.google.com/go/dialogflow/apiv" + + "2beta1/dialogflowpb;dialogflowpb\370\001\001\242\002\002DF" + + "\252\002\037Google.Cloud.Dialogflow.V2beta1b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java index a6955251f2f9..3df160cfbf53 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionProto.java @@ -251,20 +251,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tentResponse\"\000(\0010\001\032x\312A\031dialogflow.google" + "apis.com\322AYhttps://www.googleapis.com/au" + "th/cloud-platform,https://www.googleapis" - + ".com/auth/dialogflowB\377\003\n#com.google.clou" - + "d.dialogflow.v2beta1B\014SessionProtoP\001ZIgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252" - + "\002\037Google.Cloud.Dialogflow.V2beta1\352A\321\002\n!d" - + "ialogflow.googleapis.com/Session\022+projec" - + "ts/{project}/agent/sessions/{session}\022Sp" - + "rojects/{project}/agent/environments/{en" - + "vironment}/users/{user}/sessions/{sessio" - + "n}\022@projects/{project}/locations/{locati" - + "on}/agent/sessions/{session}\022hprojects/{" - + "project}/locations/{location}/agent/envi" - + "ronments/{environment}/users/{user}/sess" - + "ions/{session}b\006proto3" + + ".com/auth/dialogflowB\371\003\n#com.google.clou" + + "d.dialogflow.v2beta1B\014SessionProtoP\001ZCcl" + + "oud.google.com/go/dialogflow/apiv2beta1/" + + "dialogflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Goog" + + "le.Cloud.Dialogflow.V2beta1\352A\321\002\n!dialogf" + + "low.googleapis.com/Session\022+projects/{pr" + + "oject}/agent/sessions/{session}\022Sproject" + + "s/{project}/agent/environments/{environm" + + "ent}/users/{user}/sessions/{session}\022@pr" + + "ojects/{project}/locations/{location}/ag" + + "ent/sessions/{session}\022hprojects/{projec" + + "t}/locations/{location}/agent/environmen" + + "ts/{environment}/users/{user}/sessions/{" + + "session}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequest.java index 435d2b7cdef6..f98d35071580 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SetAgentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent].
      + * The request message for
      + * [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SetAgentRequest} @@ -345,7 +346,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent].
      +   * The request message for
      +   * [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SetAgentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentRequest.java index dd8c48662fed..f6278dbc30cc 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentRequest.java @@ -23,31 +23,40 @@ * *
        * The top-level message sent by the client to the
      - * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method.
      + * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
      + * method.
        * Multiple request messages should be sent in order:
        * 1.  The first message must contain
        *     [participant][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.participant],
      - *     [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] and optionally
      - *     [query_params][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.query_params]. If you want
      - *     to receive an audio response, it should also contain
      + *     [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
      + *     and optionally
      + *     [query_params][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.query_params].
      + *     If you want to receive an audio response, it should also contain
        *     [reply_audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.reply_audio_config].
        *     The message must not contain
        *     [input][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input].
      - * 2.  If [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] in the first message
      - *     was set to [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config],
      + * 2.  If
      + * [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
      + * in the first message
      + *     was set to
      + *     [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config],
        *     all subsequent messages must contain
      - *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio] to continue
      - *     with Speech recognition.
      - *     If you decide to rather analyze text input after you already started
      - *     Speech recognition, please send a message with
      + *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio]
      + *     to continue with Speech recognition. If you decide to rather analyze text
      + *     input after you already started Speech recognition, please send a message
      + *     with
        *     [StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
        *     However, note that:
        *     * Dialogflow will bill you for the audio so far.
        *     * Dialogflow discards all Speech recognition results in favor of the
        *       text input.
      - *  3. If [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] in the first message was set
      - *    to [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config], then the second message
      - *    must contain only [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
      + *  3. If
      + *  [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
      + *  in the first message was set
      + *    to
      + *    [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config],
      + *    then the second message must contain only
      + *    [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
        *    Moreover, you must not send more than two messages.
        *  After you sent all input, you must half-close or abort the request stream.
        * 
      @@ -1181,31 +1190,40 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
          * The top-level message sent by the client to the
      -   * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method.
      +   * [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
      +   * method.
          * Multiple request messages should be sent in order:
          * 1.  The first message must contain
          *     [participant][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.participant],
      -   *     [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] and optionally
      -   *     [query_params][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.query_params]. If you want
      -   *     to receive an audio response, it should also contain
      +   *     [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
      +   *     and optionally
      +   *     [query_params][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.query_params].
      +   *     If you want to receive an audio response, it should also contain
          *     [reply_audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.reply_audio_config].
          *     The message must not contain
          *     [input][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input].
      -   * 2.  If [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] in the first message
      -   *     was set to [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config],
      +   * 2.  If
      +   * [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
      +   * in the first message
      +   *     was set to
      +   *     [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config],
          *     all subsequent messages must contain
      -   *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio] to continue
      -   *     with Speech recognition.
      -   *     If you decide to rather analyze text input after you already started
      -   *     Speech recognition, please send a message with
      +   *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio]
      +   *     to continue with Speech recognition. If you decide to rather analyze text
      +   *     input after you already started Speech recognition, please send a message
      +   *     with
          *     [StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
          *     However, note that:
          *     * Dialogflow will bill you for the audio so far.
          *     * Dialogflow discards all Speech recognition results in favor of the
          *       text input.
      -   *  3. If [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] in the first message was set
      -   *    to [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config], then the second message
      -   *    must contain only [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
      +   *  3. If
      +   *  [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config]
      +   *  in the first message was set
      +   *    to
      +   *    [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config],
      +   *    then the second message must contain only
      +   *    [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
          *    Moreover, you must not send more than two messages.
          *  After you sent all input, you must half-close or abort the request stream.
          * 
      diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentResponse.java index 12bc4b518830..124ee8bcf91a 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentResponse.java @@ -277,7 +277,9 @@ public com.google.cloud.dialogflow.v2beta1.OutputAudioOrBuilder getReplyAudioOrB * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -295,7 +297,9 @@ public boolean hasAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -315,7 +319,9 @@ public com.google.cloud.dialogflow.v2beta1.AutomatedAgentReply getAutomatedAgent * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -388,7 +394,8 @@ public com.google.cloud.dialogflow.v2beta1.MessageOrBuilder getMessageOrBuilder( * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -406,7 +413,8 @@ public com.google.cloud.dialogflow.v2beta1.MessageOrBuilder getMessageOrBuilder( * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -424,7 +432,8 @@ public com.google.cloud.dialogflow.v2beta1.MessageOrBuilder getMessageOrBuilder( * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -441,7 +450,8 @@ public int getHumanAgentSuggestionResultsCount() { * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -459,7 +469,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -483,7 +494,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * @@ -501,7 +513,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * @@ -519,7 +532,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * @@ -536,7 +550,8 @@ public int getEndUserSuggestionResultsCount() { * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * @@ -554,7 +569,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getEndUserSuggestion * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * @@ -1879,7 +1895,9 @@ public com.google.cloud.dialogflow.v2beta1.OutputAudioOrBuilder getReplyAudioOrB * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -1896,7 +1914,9 @@ public boolean hasAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -1919,7 +1939,9 @@ public com.google.cloud.dialogflow.v2beta1.AutomatedAgentReply getAutomatedAgent * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -1945,7 +1967,9 @@ public Builder setAutomatedAgentReply( * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -1968,7 +1992,9 @@ public Builder setAutomatedAgentReply( * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -1998,7 +2024,9 @@ public Builder mergeAutomatedAgentReply( * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -2020,7 +2048,9 @@ public Builder clearAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -2038,7 +2068,9 @@ public Builder clearAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -2060,7 +2092,9 @@ public Builder clearAutomatedAgentReply() { * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -2288,7 +2322,8 @@ private void ensureHumanAgentSuggestionResultsIsMutable() { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2309,7 +2344,8 @@ private void ensureHumanAgentSuggestionResultsIsMutable() { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2329,7 +2365,8 @@ public int getHumanAgentSuggestionResultsCount() { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2350,7 +2387,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getHumanAgentSuggest * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2377,7 +2415,8 @@ public Builder setHumanAgentSuggestionResults( * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2401,7 +2440,8 @@ public Builder setHumanAgentSuggestionResults( * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2428,7 +2468,8 @@ public Builder addHumanAgentSuggestionResults( * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2455,7 +2496,8 @@ public Builder addHumanAgentSuggestionResults( * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2479,7 +2521,8 @@ public Builder addHumanAgentSuggestionResults( * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2503,7 +2546,8 @@ public Builder addHumanAgentSuggestionResults( * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2528,7 +2572,8 @@ public Builder addAllHumanAgentSuggestionResults( * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2551,7 +2596,8 @@ public Builder clearHumanAgentSuggestionResults() { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2574,7 +2620,8 @@ public Builder removeHumanAgentSuggestionResults(int index) { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2591,7 +2638,8 @@ public Builder removeHumanAgentSuggestionResults(int index) { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2612,7 +2660,8 @@ public Builder removeHumanAgentSuggestionResults(int index) { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2633,7 +2682,8 @@ public Builder removeHumanAgentSuggestionResults(int index) { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2651,7 +2701,8 @@ public Builder removeHumanAgentSuggestionResults(int index) { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2670,7 +2721,8 @@ public Builder removeHumanAgentSuggestionResults(int index) { * *
            * The suggestions for most recent human agent. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
            * 
      * @@ -2726,7 +2778,8 @@ private void ensureEndUserSuggestionResultsIsMutable() { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2747,7 +2800,8 @@ private void ensureEndUserSuggestionResultsIsMutable() { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2767,7 +2821,8 @@ public int getEndUserSuggestionResultsCount() { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2788,7 +2843,8 @@ public com.google.cloud.dialogflow.v2beta1.SuggestionResult getEndUserSuggestion * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2815,7 +2871,8 @@ public Builder setEndUserSuggestionResults( * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2839,7 +2896,8 @@ public Builder setEndUserSuggestionResults( * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2866,7 +2924,8 @@ public Builder addEndUserSuggestionResults( * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2893,7 +2952,8 @@ public Builder addEndUserSuggestionResults( * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2917,7 +2977,8 @@ public Builder addEndUserSuggestionResults( * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2941,7 +3002,8 @@ public Builder addEndUserSuggestionResults( * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2965,7 +3027,8 @@ public Builder addAllEndUserSuggestionResults( * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -2988,7 +3051,8 @@ public Builder clearEndUserSuggestionResults() { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -3011,7 +3075,8 @@ public Builder removeEndUserSuggestionResults(int index) { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -3028,7 +3093,8 @@ public Builder removeEndUserSuggestionResults(int index) { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -3049,7 +3115,8 @@ public Builder removeEndUserSuggestionResults(int index) { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -3070,7 +3137,8 @@ public Builder removeEndUserSuggestionResults(int index) { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -3088,7 +3156,8 @@ public Builder removeEndUserSuggestionResults(int index) { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * @@ -3107,7 +3176,8 @@ public Builder removeEndUserSuggestionResults(int index) { * *
            * The suggestions for end user. The order is the same as
      -     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +     * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +     * of
            * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
            * 
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentResponseOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentResponseOrBuilder.java index 9bf4eb51b294..6fd8632162c9 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentResponseOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingAnalyzeContentResponseOrBuilder.java @@ -155,7 +155,9 @@ public interface StreamingAnalyzeContentResponseOrBuilder * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -170,7 +172,9 @@ public interface StreamingAnalyzeContentResponseOrBuilder * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -185,7 +189,9 @@ public interface StreamingAnalyzeContentResponseOrBuilder * Optional. Only set if a Dialogflow automated agent has responded. * Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] * and [AutomatedAgentReply.detect_intent_response.output_audio_config][] - * are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead. + * are always empty, use + * [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] + * instead. *
      * * .google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4; @@ -233,7 +239,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -248,7 +255,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -262,7 +270,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -276,7 +285,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -291,7 +301,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for most recent human agent. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
          * 
      * @@ -307,7 +318,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * @@ -322,7 +334,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * @@ -336,7 +349,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * @@ -350,7 +364,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * @@ -365,7 +380,8 @@ public interface StreamingAnalyzeContentResponseOrBuilder * *
          * The suggestions for end user. The order is the same as
      -   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of
      +   * [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
      +   * of
          * [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
          * 
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java index 1662c232eaf5..03e1c7314000 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequest.java @@ -23,23 +23,27 @@ * *
        * The top-level message sent by the client to the
      - * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent] method.
      + * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent]
      + * method.
        * Multiple request messages should be sent in order:
        * 1.  The first message must contain
        * [session][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.session],
      - *     [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] plus optionally
      - *     [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. If the client
      - *     wants to receive an audio response, it should also contain
      + *     [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input]
      + *     plus optionally
      + *     [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params].
      + *     If the client wants to receive an audio response, it should also contain
        *     [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config].
        *     The message must not contain
        *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio].
      - * 2.  If [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] was set to
      - *     [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], all subsequent
      - *     messages must contain
      - *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] to continue with
      - *     Speech recognition.
      - *     If you decide to rather detect an intent from text input after you
      - *     already started Speech recognition, please send a message with
      + * 2.  If
      + * [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input]
      + * was set to
      + *     [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig],
      + *     all subsequent messages must contain
      + *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio]
      + *     to continue with Speech recognition. If you decide to rather detect an
      + *     intent from text input after you already started Speech recognition,
      + *     please send a message with
        *     [query_input.text][google.cloud.dialogflow.v2beta1.QueryInput.text].
        *     However, note that:
        *     * Dialogflow will bill you for the audio duration so far.
      @@ -311,21 +315,21 @@ public com.google.cloud.dialogflow.v2beta1.QueryInputOrBuilder getQueryInputOrBu
          *
          *
          * 
      -   * DEPRECATED. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] instead.
      -   * If `false` (default), recognition does not cease until the
      -   * client closes the stream.
      -   * If `true`, the recognizer will detect a single spoken utterance in input
      -   * audio. Recognition ceases when it detects the audio's voice has
      -   * stopped or paused. In this case, once a detected intent is received, the
      -   * client should close the stream and start a new request with a new stream as
      -   * needed.
      -   * This setting is ignored when `query_input` is a piece of text or an event.
      +   * DEPRECATED. Please use
      +   * [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance]
      +   * instead. If `false` (default), recognition does not cease until the client
      +   * closes the stream. If `true`, the recognizer will detect a single spoken
      +   * utterance in input audio. Recognition ceases when it detects the audio's
      +   * voice has stopped or paused. In this case, once a detected intent is
      +   * received, the client should close the stream and start a new request with a
      +   * new stream as needed. This setting is ignored when `query_input` is a piece
      +   * of text or an event.
          * 
      * * bool single_utterance = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.single_utterance is - * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=558 + * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=564 * @return The singleUtterance. */ @java.lang.Override @@ -397,11 +401,13 @@ public com.google.cloud.dialogflow.v2beta1.OutputAudioConfig getOutputAudioConfi * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -416,11 +422,13 @@ public boolean hasOutputAudioConfigMask() { * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -437,11 +445,13 @@ public com.google.protobuf.FieldMask getOutputAudioConfigMask() { * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -713,23 +723,27 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
          * The top-level message sent by the client to the
      -   * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent] method.
      +   * [Sessions.StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent]
      +   * method.
          * Multiple request messages should be sent in order:
          * 1.  The first message must contain
          * [session][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.session],
      -   *     [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] plus optionally
      -   *     [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. If the client
      -   *     wants to receive an audio response, it should also contain
      +   *     [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input]
      +   *     plus optionally
      +   *     [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params].
      +   *     If the client wants to receive an audio response, it should also contain
          *     [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config].
          *     The message must not contain
          *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio].
      -   * 2.  If [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] was set to
      -   *     [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], all subsequent
      -   *     messages must contain
      -   *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] to continue with
      -   *     Speech recognition.
      -   *     If you decide to rather detect an intent from text input after you
      -   *     already started Speech recognition, please send a message with
      +   * 2.  If
      +   * [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input]
      +   * was set to
      +   *     [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig],
      +   *     all subsequent messages must contain
      +   *     [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio]
      +   *     to continue with Speech recognition. If you decide to rather detect an
      +   *     intent from text input after you already started Speech recognition,
      +   *     please send a message with
          *     [query_input.text][google.cloud.dialogflow.v2beta1.QueryInput.text].
          *     However, note that:
          *     * Dialogflow will bill you for the audio duration so far.
      @@ -1666,21 +1680,21 @@ public com.google.cloud.dialogflow.v2beta1.QueryInputOrBuilder getQueryInputOrBu
            *
            *
            * 
      -     * DEPRECATED. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] instead.
      -     * If `false` (default), recognition does not cease until the
      -     * client closes the stream.
      -     * If `true`, the recognizer will detect a single spoken utterance in input
      -     * audio. Recognition ceases when it detects the audio's voice has
      -     * stopped or paused. In this case, once a detected intent is received, the
      -     * client should close the stream and start a new request with a new stream as
      -     * needed.
      -     * This setting is ignored when `query_input` is a piece of text or an event.
      +     * DEPRECATED. Please use
      +     * [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance]
      +     * instead. If `false` (default), recognition does not cease until the client
      +     * closes the stream. If `true`, the recognizer will detect a single spoken
      +     * utterance in input audio. Recognition ceases when it detects the audio's
      +     * voice has stopped or paused. In this case, once a detected intent is
      +     * received, the client should close the stream and start a new request with a
      +     * new stream as needed. This setting is ignored when `query_input` is a piece
      +     * of text or an event.
            * 
      * * bool single_utterance = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.single_utterance is - * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=558 + * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=564 * @return The singleUtterance. */ @java.lang.Override @@ -1692,21 +1706,21 @@ public boolean getSingleUtterance() { * * *
      -     * DEPRECATED. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] instead.
      -     * If `false` (default), recognition does not cease until the
      -     * client closes the stream.
      -     * If `true`, the recognizer will detect a single spoken utterance in input
      -     * audio. Recognition ceases when it detects the audio's voice has
      -     * stopped or paused. In this case, once a detected intent is received, the
      -     * client should close the stream and start a new request with a new stream as
      -     * needed.
      -     * This setting is ignored when `query_input` is a piece of text or an event.
      +     * DEPRECATED. Please use
      +     * [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance]
      +     * instead. If `false` (default), recognition does not cease until the client
      +     * closes the stream. If `true`, the recognizer will detect a single spoken
      +     * utterance in input audio. Recognition ceases when it detects the audio's
      +     * voice has stopped or paused. In this case, once a detected intent is
      +     * received, the client should close the stream and start a new request with a
      +     * new stream as needed. This setting is ignored when `query_input` is a piece
      +     * of text or an event.
            * 
      * * bool single_utterance = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.single_utterance is - * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=558 + * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=564 * @param value The singleUtterance to set. * @return This builder for chaining. */ @@ -1722,21 +1736,21 @@ public Builder setSingleUtterance(boolean value) { * * *
      -     * DEPRECATED. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] instead.
      -     * If `false` (default), recognition does not cease until the
      -     * client closes the stream.
      -     * If `true`, the recognizer will detect a single spoken utterance in input
      -     * audio. Recognition ceases when it detects the audio's voice has
      -     * stopped or paused. In this case, once a detected intent is received, the
      -     * client should close the stream and start a new request with a new stream as
      -     * needed.
      -     * This setting is ignored when `query_input` is a piece of text or an event.
      +     * DEPRECATED. Please use
      +     * [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance]
      +     * instead. If `false` (default), recognition does not cease until the client
      +     * closes the stream. If `true`, the recognizer will detect a single spoken
      +     * utterance in input audio. Recognition ceases when it detects the audio's
      +     * voice has stopped or paused. In this case, once a detected intent is
      +     * received, the client should close the stream and start a new request with a
      +     * new stream as needed. This setting is ignored when `query_input` is a piece
      +     * of text or an event.
            * 
      * * bool single_utterance = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.single_utterance is - * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=558 + * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=564 * @return This builder for chaining. */ @java.lang.Deprecated @@ -1964,11 +1978,13 @@ public Builder clearOutputAudioConfig() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -1982,11 +1998,13 @@ public boolean hasOutputAudioConfigMask() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -2006,11 +2024,13 @@ public com.google.protobuf.FieldMask getOutputAudioConfigMask() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -2032,11 +2052,13 @@ public Builder setOutputAudioConfigMask(com.google.protobuf.FieldMask value) { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -2055,11 +2077,13 @@ public Builder setOutputAudioConfigMask(com.google.protobuf.FieldMask.Builder bu * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -2084,11 +2108,13 @@ public Builder mergeOutputAudioConfigMask(com.google.protobuf.FieldMask value) { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -2107,11 +2133,13 @@ public Builder clearOutputAudioConfigMask() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -2125,11 +2153,13 @@ public com.google.protobuf.FieldMask.Builder getOutputAudioConfigMaskBuilder() { * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -2147,11 +2177,13 @@ public com.google.protobuf.FieldMaskOrBuilder getOutputAudioConfigMaskOrBuilder( * * *
      -     * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -     * request-level config should override speech synthesizer settings defined at
      -     * agent-level.
      -     * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -     * config in its entirety.
      +     * Mask for
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * indicating which settings in this request-level config should override
      +     * speech synthesizer settings defined at agent-level.
      +     * If unspecified or empty,
      +     * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +     * replaces the agent-level config in its entirety.
            * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequestOrBuilder.java index 8a4cc134e5ad..0fe71640b669 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequestOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentRequestOrBuilder.java @@ -184,21 +184,21 @@ public interface StreamingDetectIntentRequestOrBuilder * * *
      -   * DEPRECATED. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] instead.
      -   * If `false` (default), recognition does not cease until the
      -   * client closes the stream.
      -   * If `true`, the recognizer will detect a single spoken utterance in input
      -   * audio. Recognition ceases when it detects the audio's voice has
      -   * stopped or paused. In this case, once a detected intent is received, the
      -   * client should close the stream and start a new request with a new stream as
      -   * needed.
      -   * This setting is ignored when `query_input` is a piece of text or an event.
      +   * DEPRECATED. Please use
      +   * [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance]
      +   * instead. If `false` (default), recognition does not cease until the client
      +   * closes the stream. If `true`, the recognizer will detect a single spoken
      +   * utterance in input audio. Recognition ceases when it detects the audio's
      +   * voice has stopped or paused. In this case, once a detected intent is
      +   * received, the client should close the stream and start a new request with a
      +   * new stream as needed. This setting is ignored when `query_input` is a piece
      +   * of text or an event.
          * 
      * * bool single_utterance = 4 [deprecated = true]; * * @deprecated google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.single_utterance is - * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=558 + * deprecated. See google/cloud/dialogflow/v2beta1/session.proto;l=564 * @return The singleUtterance. */ @java.lang.Deprecated @@ -249,11 +249,13 @@ public interface StreamingDetectIntentRequestOrBuilder * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -265,11 +267,13 @@ public interface StreamingDetectIntentRequestOrBuilder * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; @@ -281,11 +285,13 @@ public interface StreamingDetectIntentRequestOrBuilder * * *
      -   * Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this
      -   * request-level config should override speech synthesizer settings defined at
      -   * agent-level.
      -   * If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level
      -   * config in its entirety.
      +   * Mask for
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * indicating which settings in this request-level config should override
      +   * speech synthesizer settings defined at agent-level.
      +   * If unspecified or empty,
      +   * [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]
      +   * replaces the agent-level config in its entirety.
          * 
      * * .google.protobuf.FieldMask output_audio_config_mask = 7; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java index 1938728dbc93..82abcd819a9a 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingDetectIntentResponse.java @@ -28,8 +28,9 @@ * 1. If the `StreamingDetectIntentRequest.input_audio` field was * set, the `recognition_result` field is populated for one * or more messages. - * See the [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] message for details - * about the result message sequence. + * See the + * [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] + * message for details about the result message sequence. * 2. The next message contains `response_id`, `query_result`, * `alternative_query_results` and optionally `webhook_status` if a WebHook * was called. @@ -728,8 +729,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * 1. If the `StreamingDetectIntentRequest.input_audio` field was * set, the `recognition_result` field is populated for one * or more messages. - * See the [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] message for details - * about the result message sequence. + * See the + * [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] + * message for details about the result message sequence. * 2. The next message contains `response_id`, `query_result`, * `alternative_query_results` and optionally `webhook_status` if a WebHook * was called. diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java index 21d38c001888..238caae47dce 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResult.java @@ -496,7 +496,8 @@ public float getStability() { * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * @@ -512,7 +513,8 @@ public float getStability() { * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * @@ -528,7 +530,8 @@ public float getStability() { * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * @@ -543,7 +546,8 @@ public int getSpeechWordInfoCount() { * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * @@ -558,7 +562,8 @@ public com.google.cloud.dialogflow.v2beta1.SpeechWordInfo getSpeechWordInfo(int * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * @@ -1796,7 +1801,8 @@ private void ensureSpeechWordInfoIsMutable() { * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -1815,7 +1821,8 @@ private void ensureSpeechWordInfoIsMutable() { * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -1833,7 +1840,8 @@ public int getSpeechWordInfoCount() { * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -1851,7 +1859,8 @@ public com.google.cloud.dialogflow.v2beta1.SpeechWordInfo getSpeechWordInfo(int * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -1876,7 +1885,8 @@ public Builder setSpeechWordInfo( * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -1898,7 +1908,8 @@ public Builder setSpeechWordInfo( * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -1922,7 +1933,8 @@ public Builder addSpeechWordInfo(com.google.cloud.dialogflow.v2beta1.SpeechWordI * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -1947,7 +1959,8 @@ public Builder addSpeechWordInfo( * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -1969,7 +1982,8 @@ public Builder addSpeechWordInfo( * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -1991,7 +2005,8 @@ public Builder addSpeechWordInfo( * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -2013,7 +2028,8 @@ public Builder addAllSpeechWordInfo( * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -2034,7 +2050,8 @@ public Builder clearSpeechWordInfo() { * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -2055,7 +2072,8 @@ public Builder removeSpeechWordInfo(int index) { * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -2070,7 +2088,8 @@ public com.google.cloud.dialogflow.v2beta1.SpeechWordInfo.Builder getSpeechWordI * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -2089,7 +2108,8 @@ public com.google.cloud.dialogflow.v2beta1.SpeechWordInfoOrBuilder getSpeechWord * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -2108,7 +2128,8 @@ public com.google.cloud.dialogflow.v2beta1.SpeechWordInfoOrBuilder getSpeechWord * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -2123,7 +2144,8 @@ public com.google.cloud.dialogflow.v2beta1.SpeechWordInfo.Builder addSpeechWordI * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * @@ -2140,7 +2162,8 @@ public com.google.cloud.dialogflow.v2beta1.SpeechWordInfo.Builder addSpeechWordI * *
            * Word-specific information for the words recognized by Speech in
      -     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +     * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +     * Populated if and only if `message_type` = `TRANSCRIPT` and
            * [InputAudioConfig.enable_word_info] is set.
            * 
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResultOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResultOrBuilder.java index f772863a70d6..c81edaa61f3d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResultOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/StreamingRecognitionResultOrBuilder.java @@ -135,7 +135,8 @@ public interface StreamingRecognitionResultOrBuilder * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * @@ -147,7 +148,8 @@ public interface StreamingRecognitionResultOrBuilder * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * @@ -159,7 +161,8 @@ public interface StreamingRecognitionResultOrBuilder * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * @@ -171,7 +174,8 @@ public interface StreamingRecognitionResultOrBuilder * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * @@ -184,7 +188,8 @@ public interface StreamingRecognitionResultOrBuilder * *
          * Word-specific information for the words recognized by Speech in
      -   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
      +   * [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript].
      +   * Populated if and only if `message_type` = `TRANSCRIPT` and
          * [InputAudioConfig.enable_word_info] is set.
          * 
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesRequest.java index 2a856fe16052..ec45c3d13523 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
      + * The request message for
      + * [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestArticlesRequest} @@ -195,8 +196,9 @@ public com.google.protobuf.ByteString getLatestMessageBytes() { * *
          * Optional. Max number of messages prior to and including
      -   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message] to use as context
      -   * when compiling the suggestion. By default 20 and at most 50.
      +   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message]
      +   * to use as context when compiling the suggestion. By default 20 and at
      +   * most 50.
          * 
      * * int32 context_size = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -461,7 +463,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
      +   * The request message for
      +   * [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestArticlesRequest} @@ -952,8 +955,9 @@ public Builder setLatestMessageBytes(com.google.protobuf.ByteString value) { * *
            * Optional. Max number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message] to use as context
      -     * when compiling the suggestion. By default 20 and at most 50.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message]
      +     * to use as context when compiling the suggestion. By default 20 and at
      +     * most 50.
            * 
      * * int32 context_size = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -969,8 +973,9 @@ public int getContextSize() { * *
            * Optional. Max number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message] to use as context
      -     * when compiling the suggestion. By default 20 and at most 50.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message]
      +     * to use as context when compiling the suggestion. By default 20 and at
      +     * most 50.
            * 
      * * int32 context_size = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -990,8 +995,9 @@ public Builder setContextSize(int value) { * *
            * Optional. Max number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message] to use as context
      -     * when compiling the suggestion. By default 20 and at most 50.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message]
      +     * to use as context when compiling the suggestion. By default 20 and at
      +     * most 50.
            * 
      * * int32 context_size = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesRequestOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesRequestOrBuilder.java index c5bcab8de9e8..56b4995f6898 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesRequestOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesRequestOrBuilder.java @@ -96,8 +96,9 @@ public interface SuggestArticlesRequestOrBuilder * *
          * Optional. Max number of messages prior to and including
      -   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message] to use as context
      -   * when compiling the suggestion. By default 20 and at most 50.
      +   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message]
      +   * to use as context when compiling the suggestion. By default 20 and at
      +   * most 50.
          * 
      * * int32 context_size = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesResponse.java index ff5601b94ee4..80ca844c9825 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
      + * The response message for
      + * [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestArticlesResponse} @@ -204,10 +205,11 @@ public com.google.protobuf.ByteString getLatestMessageBytes() { * *
          * Number of messages prior to and including
      -   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message] to compile the
      -   * suggestion. It may be smaller than the
      -   * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size] field in the request if there
      -   * aren't that many messages in the conversation.
      +   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message]
      +   * to compile the suggestion. It may be smaller than the
      +   * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size]
      +   * field in the request if there aren't that many messages in the
      +   * conversation.
          * 
      * * int32 context_size = 3; @@ -403,7 +405,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
      +   * The response message for
      +   * [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestArticlesResponse} @@ -1146,10 +1149,11 @@ public Builder setLatestMessageBytes(com.google.protobuf.ByteString value) { * *
            * Number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message] to compile the
      -     * suggestion. It may be smaller than the
      -     * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size] field in the request if there
      -     * aren't that many messages in the conversation.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message]
      +     * to compile the suggestion. It may be smaller than the
      +     * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size]
      +     * field in the request if there aren't that many messages in the
      +     * conversation.
            * 
      * * int32 context_size = 3; @@ -1165,10 +1169,11 @@ public int getContextSize() { * *
            * Number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message] to compile the
      -     * suggestion. It may be smaller than the
      -     * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size] field in the request if there
      -     * aren't that many messages in the conversation.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message]
      +     * to compile the suggestion. It may be smaller than the
      +     * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size]
      +     * field in the request if there aren't that many messages in the
      +     * conversation.
            * 
      * * int32 context_size = 3; @@ -1188,10 +1193,11 @@ public Builder setContextSize(int value) { * *
            * Number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message] to compile the
      -     * suggestion. It may be smaller than the
      -     * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size] field in the request if there
      -     * aren't that many messages in the conversation.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message]
      +     * to compile the suggestion. It may be smaller than the
      +     * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size]
      +     * field in the request if there aren't that many messages in the
      +     * conversation.
            * 
      * * int32 context_size = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesResponseOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesResponseOrBuilder.java index fa8e7fac5438..89f25ec99639 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesResponseOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestArticlesResponseOrBuilder.java @@ -111,10 +111,11 @@ public interface SuggestArticlesResponseOrBuilder * *
          * Number of messages prior to and including
      -   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message] to compile the
      -   * suggestion. It may be smaller than the
      -   * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size] field in the request if there
      -   * aren't that many messages in the conversation.
      +   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message]
      +   * to compile the suggestion. It may be smaller than the
      +   * [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size]
      +   * field in the request if there aren't that many messages in the
      +   * conversation.
          * 
      * * int32 context_size = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestConversationSummaryRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestConversationSummaryRequest.java index 2e851dd89147..c7f15d5bd90a 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestConversationSummaryRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestConversationSummaryRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
      + * The request message for
      + * [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestConversationSummaryRequest} @@ -390,7 +391,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
      +   * The request message for
      +   * [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestConversationSummaryRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestConversationSummaryResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestConversationSummaryResponse.java index bca3bafeed90..95c72cf6821b 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestConversationSummaryResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestConversationSummaryResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
      + * The response message for
      + * [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse} @@ -1713,7 +1714,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
      +   * The response message for
      +   * [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersRequest.java index 360fa233a16d..5cdbf5569539 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
      + * The request message for
      + * [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest} @@ -461,7 +462,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
      +   * The request message for
      +   * [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersResponse.java index b091559e430a..352514cc28ce 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersResponse.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
      + * The request message for
      + * [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse} @@ -203,10 +204,11 @@ public com.google.protobuf.ByteString getLatestMessageBytes() { * *
          * Number of messages prior to and including
      -   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message] to compile the
      -   * suggestion. It may be smaller than the
      -   * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size] field in the request if there
      -   * aren't that many messages in the conversation.
      +   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message]
      +   * to compile the suggestion. It may be smaller than the
      +   * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size]
      +   * field in the request if there aren't that many messages in the
      +   * conversation.
          * 
      * * int32 context_size = 3; @@ -402,7 +404,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
      +   * The request message for
      +   * [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse} @@ -1137,10 +1140,11 @@ public Builder setLatestMessageBytes(com.google.protobuf.ByteString value) { * *
            * Number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message] to compile the
      -     * suggestion. It may be smaller than the
      -     * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size] field in the request if there
      -     * aren't that many messages in the conversation.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message]
      +     * to compile the suggestion. It may be smaller than the
      +     * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size]
      +     * field in the request if there aren't that many messages in the
      +     * conversation.
            * 
      * * int32 context_size = 3; @@ -1156,10 +1160,11 @@ public int getContextSize() { * *
            * Number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message] to compile the
      -     * suggestion. It may be smaller than the
      -     * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size] field in the request if there
      -     * aren't that many messages in the conversation.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message]
      +     * to compile the suggestion. It may be smaller than the
      +     * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size]
      +     * field in the request if there aren't that many messages in the
      +     * conversation.
            * 
      * * int32 context_size = 3; @@ -1179,10 +1184,11 @@ public Builder setContextSize(int value) { * *
            * Number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message] to compile the
      -     * suggestion. It may be smaller than the
      -     * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size] field in the request if there
      -     * aren't that many messages in the conversation.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message]
      +     * to compile the suggestion. It may be smaller than the
      +     * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size]
      +     * field in the request if there aren't that many messages in the
      +     * conversation.
            * 
      * * int32 context_size = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersResponseOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersResponseOrBuilder.java index f054587b1295..1b4ee563842f 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersResponseOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestFaqAnswersResponseOrBuilder.java @@ -111,10 +111,11 @@ public interface SuggestFaqAnswersResponseOrBuilder * *
          * Number of messages prior to and including
      -   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message] to compile the
      -   * suggestion. It may be smaller than the
      -   * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size] field in the request if there
      -   * aren't that many messages in the conversation.
      +   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message]
      +   * to compile the suggestion. It may be smaller than the
      +   * [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size]
      +   * field in the request if there aren't that many messages in the
      +   * conversation.
          * 
      * * int32 context_size = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesRequest.java index e76720aec602..cbf531947e65 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
      + * The request message for
      + * [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest} @@ -456,7 +457,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
      +   * The request message for
      +   * [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesResponse.java index 4929ede6cdda..416a06efdb8d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesResponse.java @@ -22,7 +22,8 @@ * * *
      - * The response message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
      + * The response message for
      + * [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse} @@ -220,10 +221,11 @@ public com.google.protobuf.ByteString getLatestMessageBytes() { * *
          * Number of messages prior to and including
      -   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message] to compile the
      -   * suggestion. It may be smaller than the
      -   * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] field in the request if there
      -   * aren't that many messages in the conversation.
      +   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message]
      +   * to compile the suggestion. It may be smaller than the
      +   * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size]
      +   * field in the request if there aren't that many messages in the
      +   * conversation.
          * 
      * * int32 context_size = 3; @@ -420,7 +422,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The response message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
      +   * The response message for
      +   * [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse} @@ -1223,10 +1226,11 @@ public Builder setLatestMessageBytes(com.google.protobuf.ByteString value) { * *
            * Number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message] to compile the
      -     * suggestion. It may be smaller than the
      -     * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] field in the request if there
      -     * aren't that many messages in the conversation.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message]
      +     * to compile the suggestion. It may be smaller than the
      +     * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size]
      +     * field in the request if there aren't that many messages in the
      +     * conversation.
            * 
      * * int32 context_size = 3; @@ -1242,10 +1246,11 @@ public int getContextSize() { * *
            * Number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message] to compile the
      -     * suggestion. It may be smaller than the
      -     * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] field in the request if there
      -     * aren't that many messages in the conversation.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message]
      +     * to compile the suggestion. It may be smaller than the
      +     * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size]
      +     * field in the request if there aren't that many messages in the
      +     * conversation.
            * 
      * * int32 context_size = 3; @@ -1265,10 +1270,11 @@ public Builder setContextSize(int value) { * *
            * Number of messages prior to and including
      -     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message] to compile the
      -     * suggestion. It may be smaller than the
      -     * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] field in the request if there
      -     * aren't that many messages in the conversation.
      +     * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message]
      +     * to compile the suggestion. It may be smaller than the
      +     * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size]
      +     * field in the request if there aren't that many messages in the
      +     * conversation.
            * 
      * * int32 context_size = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesResponseOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesResponseOrBuilder.java index a9ab8200d6d9..956028061731 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesResponseOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestSmartRepliesResponseOrBuilder.java @@ -127,10 +127,11 @@ com.google.cloud.dialogflow.v2beta1.SmartReplyAnswerOrBuilder getSmartReplyAnswe * *
          * Number of messages prior to and including
      -   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message] to compile the
      -   * suggestion. It may be smaller than the
      -   * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] field in the request if there
      -   * aren't that many messages in the conversation.
      +   * [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message]
      +   * to compile the suggestion. It may be smaller than the
      +   * [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size]
      +   * field in the request if there aren't that many messages in the
      +   * conversation.
          * 
      * * int32 context_size = 3; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestionResult.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestionResult.java index 5d32e189d70a..0993c8c1f543 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestionResult.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/SuggestionResult.java @@ -23,8 +23,12 @@ * *
        * One response of different type of suggestion response which is used in
      - * the response of [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and
      - * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent], as well as [HumanAgentAssistantEvent][google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent].
      + * the response of
      + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
      + * and
      + * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent],
      + * as well as
      + * [HumanAgentAssistantEvent][google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestionResult} @@ -576,8 +580,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
          * One response of different type of suggestion response which is used in
      -   * the response of [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and
      -   * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent], as well as [HumanAgentAssistantEvent][google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent].
      +   * the response of
      +   * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
      +   * and
      +   * [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent],
      +   * as well as
      +   * [HumanAgentAssistantEvent][google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.SuggestionResult} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextToSpeechSettings.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextToSpeechSettings.java index 18af6e57c04f..ba5e80117fa7 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextToSpeechSettings.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextToSpeechSettings.java @@ -84,8 +84,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
      -   * Optional. Indicates whether text to speech is enabled. Even when this field is false,
      -   * other settings in this proto are still retained.
      +   * Optional. Indicates whether text to speech is enabled. Even when this field
      +   * is false, other settings in this proto are still retained.
          * 
      * * bool enable_text_to_speech = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -144,11 +144,11 @@ public com.google.cloud.dialogflow.v2beta1.OutputAudioEncoding getOutputAudioEnc * * *
      -   * Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then
      -   * the synthesizer will use the default sample rate based on the audio
      -   * encoding. If this is different from the voice's natural sample rate, then
      -   * the synthesizer will honor this request by converting to the desired sample
      -   * rate (which might result in worse audio quality).
      +   * Optional. The synthesis sample rate (in hertz) for this audio. If not
      +   * provided, then the synthesizer will use the default sample rate based on
      +   * the audio encoding. If this is different from the voice's natural sample
      +   * rate, then the synthesizer will honor this request by converting to the
      +   * desired sample rate (which might result in worse audio quality).
          * 
      * * int32 sample_rate_hertz = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -200,8 +200,8 @@ public int getSynthesizeSpeechConfigsCount() { * * *
      -   * Optional. Configuration of how speech should be synthesized, mapping from language
      -   * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +   * Optional. Configuration of how speech should be synthesized, mapping from
      +   * language (https://cloud.google.com/dialogflow/docs/reference/language) to
          * SynthesizeSpeechConfig.
          * 
      * @@ -227,8 +227,8 @@ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) { * * *
      -   * Optional. Configuration of how speech should be synthesized, mapping from language
      -   * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +   * Optional. Configuration of how speech should be synthesized, mapping from
      +   * language (https://cloud.google.com/dialogflow/docs/reference/language) to
          * SynthesizeSpeechConfig.
          * 
      * @@ -245,8 +245,8 @@ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) { * * *
      -   * Optional. Configuration of how speech should be synthesized, mapping from language
      -   * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +   * Optional. Configuration of how speech should be synthesized, mapping from
      +   * language (https://cloud.google.com/dialogflow/docs/reference/language) to
          * SynthesizeSpeechConfig.
          * 
      * @@ -271,8 +271,8 @@ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) { * * *
      -   * Optional. Configuration of how speech should be synthesized, mapping from language
      -   * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +   * Optional. Configuration of how speech should be synthesized, mapping from
      +   * language (https://cloud.google.com/dialogflow/docs/reference/language) to
          * SynthesizeSpeechConfig.
          * 
      * @@ -757,8 +757,8 @@ public Builder mergeFrom( * * *
      -     * Optional. Indicates whether text to speech is enabled. Even when this field is false,
      -     * other settings in this proto are still retained.
      +     * Optional. Indicates whether text to speech is enabled. Even when this field
      +     * is false, other settings in this proto are still retained.
            * 
      * * bool enable_text_to_speech = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -773,8 +773,8 @@ public boolean getEnableTextToSpeech() { * * *
      -     * Optional. Indicates whether text to speech is enabled. Even when this field is false,
      -     * other settings in this proto are still retained.
      +     * Optional. Indicates whether text to speech is enabled. Even when this field
      +     * is false, other settings in this proto are still retained.
            * 
      * * bool enable_text_to_speech = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -793,8 +793,8 @@ public Builder setEnableTextToSpeech(boolean value) { * * *
      -     * Optional. Indicates whether text to speech is enabled. Even when this field is false,
      -     * other settings in this proto are still retained.
      +     * Optional. Indicates whether text to speech is enabled. Even when this field
      +     * is false, other settings in this proto are still retained.
            * 
      * * bool enable_text_to_speech = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -916,11 +916,11 @@ public Builder clearOutputAudioEncoding() { * * *
      -     * Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then
      -     * the synthesizer will use the default sample rate based on the audio
      -     * encoding. If this is different from the voice's natural sample rate, then
      -     * the synthesizer will honor this request by converting to the desired sample
      -     * rate (which might result in worse audio quality).
      +     * Optional. The synthesis sample rate (in hertz) for this audio. If not
      +     * provided, then the synthesizer will use the default sample rate based on
      +     * the audio encoding. If this is different from the voice's natural sample
      +     * rate, then the synthesizer will honor this request by converting to the
      +     * desired sample rate (which might result in worse audio quality).
            * 
      * * int32 sample_rate_hertz = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -935,11 +935,11 @@ public int getSampleRateHertz() { * * *
      -     * Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then
      -     * the synthesizer will use the default sample rate based on the audio
      -     * encoding. If this is different from the voice's natural sample rate, then
      -     * the synthesizer will honor this request by converting to the desired sample
      -     * rate (which might result in worse audio quality).
      +     * Optional. The synthesis sample rate (in hertz) for this audio. If not
      +     * provided, then the synthesizer will use the default sample rate based on
      +     * the audio encoding. If this is different from the voice's natural sample
      +     * rate, then the synthesizer will honor this request by converting to the
      +     * desired sample rate (which might result in worse audio quality).
            * 
      * * int32 sample_rate_hertz = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -958,11 +958,11 @@ public Builder setSampleRateHertz(int value) { * * *
      -     * Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then
      -     * the synthesizer will use the default sample rate based on the audio
      -     * encoding. If this is different from the voice's natural sample rate, then
      -     * the synthesizer will honor this request by converting to the desired sample
      -     * rate (which might result in worse audio quality).
      +     * Optional. The synthesis sample rate (in hertz) for this audio. If not
      +     * provided, then the synthesizer will use the default sample rate based on
      +     * the audio encoding. If this is different from the voice's natural sample
      +     * rate, then the synthesizer will honor this request by converting to the
      +     * desired sample rate (which might result in worse audio quality).
            * 
      * * int32 sample_rate_hertz = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1013,8 +1013,8 @@ public int getSynthesizeSpeechConfigsCount() { * * *
      -     * Optional. Configuration of how speech should be synthesized, mapping from language
      -     * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +     * Optional. Configuration of how speech should be synthesized, mapping from
      +     * language (https://cloud.google.com/dialogflow/docs/reference/language) to
            * SynthesizeSpeechConfig.
            * 
      * @@ -1041,8 +1041,8 @@ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) { * * *
      -     * Optional. Configuration of how speech should be synthesized, mapping from language
      -     * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +     * Optional. Configuration of how speech should be synthesized, mapping from
      +     * language (https://cloud.google.com/dialogflow/docs/reference/language) to
            * SynthesizeSpeechConfig.
            * 
      * @@ -1060,8 +1060,8 @@ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) { * * *
      -     * Optional. Configuration of how speech should be synthesized, mapping from language
      -     * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +     * Optional. Configuration of how speech should be synthesized, mapping from
      +     * language (https://cloud.google.com/dialogflow/docs/reference/language) to
            * SynthesizeSpeechConfig.
            * 
      * @@ -1086,8 +1086,8 @@ public boolean containsSynthesizeSpeechConfigs(java.lang.String key) { * * *
      -     * Optional. Configuration of how speech should be synthesized, mapping from language
      -     * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +     * Optional. Configuration of how speech should be synthesized, mapping from
      +     * language (https://cloud.google.com/dialogflow/docs/reference/language) to
            * SynthesizeSpeechConfig.
            * 
      * @@ -1118,8 +1118,8 @@ public Builder clearSynthesizeSpeechConfigs() { * * *
      -     * Optional. Configuration of how speech should be synthesized, mapping from language
      -     * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +     * Optional. Configuration of how speech should be synthesized, mapping from
      +     * language (https://cloud.google.com/dialogflow/docs/reference/language) to
            * SynthesizeSpeechConfig.
            * 
      * @@ -1146,8 +1146,8 @@ public Builder removeSynthesizeSpeechConfigs(java.lang.String key) { * * *
      -     * Optional. Configuration of how speech should be synthesized, mapping from language
      -     * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +     * Optional. Configuration of how speech should be synthesized, mapping from
      +     * language (https://cloud.google.com/dialogflow/docs/reference/language) to
            * SynthesizeSpeechConfig.
            * 
      * @@ -1171,8 +1171,8 @@ public Builder putSynthesizeSpeechConfigs( * * *
      -     * Optional. Configuration of how speech should be synthesized, mapping from language
      -     * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +     * Optional. Configuration of how speech should be synthesized, mapping from
      +     * language (https://cloud.google.com/dialogflow/docs/reference/language) to
            * SynthesizeSpeechConfig.
            * 
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextToSpeechSettingsOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextToSpeechSettingsOrBuilder.java index 5dc6fde1b23c..d5033126659d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextToSpeechSettingsOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TextToSpeechSettingsOrBuilder.java @@ -27,8 +27,8 @@ public interface TextToSpeechSettingsOrBuilder * * *
      -   * Optional. Indicates whether text to speech is enabled. Even when this field is false,
      -   * other settings in this proto are still retained.
      +   * Optional. Indicates whether text to speech is enabled. Even when this field
      +   * is false, other settings in this proto are still retained.
          * 
      * * bool enable_text_to_speech = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -70,11 +70,11 @@ public interface TextToSpeechSettingsOrBuilder * * *
      -   * Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then
      -   * the synthesizer will use the default sample rate based on the audio
      -   * encoding. If this is different from the voice's natural sample rate, then
      -   * the synthesizer will honor this request by converting to the desired sample
      -   * rate (which might result in worse audio quality).
      +   * Optional. The synthesis sample rate (in hertz) for this audio. If not
      +   * provided, then the synthesizer will use the default sample rate based on
      +   * the audio encoding. If this is different from the voice's natural sample
      +   * rate, then the synthesizer will honor this request by converting to the
      +   * desired sample rate (which might result in worse audio quality).
          * 
      * * int32 sample_rate_hertz = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -87,8 +87,8 @@ public interface TextToSpeechSettingsOrBuilder * * *
      -   * Optional. Configuration of how speech should be synthesized, mapping from language
      -   * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +   * Optional. Configuration of how speech should be synthesized, mapping from
      +   * language (https://cloud.google.com/dialogflow/docs/reference/language) to
          * SynthesizeSpeechConfig.
          * 
      * @@ -101,8 +101,8 @@ public interface TextToSpeechSettingsOrBuilder * * *
      -   * Optional. Configuration of how speech should be synthesized, mapping from language
      -   * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +   * Optional. Configuration of how speech should be synthesized, mapping from
      +   * language (https://cloud.google.com/dialogflow/docs/reference/language) to
          * SynthesizeSpeechConfig.
          * 
      * @@ -119,8 +119,8 @@ public interface TextToSpeechSettingsOrBuilder * * *
      -   * Optional. Configuration of how speech should be synthesized, mapping from language
      -   * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +   * Optional. Configuration of how speech should be synthesized, mapping from
      +   * language (https://cloud.google.com/dialogflow/docs/reference/language) to
          * SynthesizeSpeechConfig.
          * 
      * @@ -134,8 +134,8 @@ public interface TextToSpeechSettingsOrBuilder * * *
      -   * Optional. Configuration of how speech should be synthesized, mapping from language
      -   * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +   * Optional. Configuration of how speech should be synthesized, mapping from
      +   * language (https://cloud.google.com/dialogflow/docs/reference/language) to
          * SynthesizeSpeechConfig.
          * 
      * @@ -152,8 +152,8 @@ com.google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig getSynthesizeSpeechCo * * *
      -   * Optional. Configuration of how speech should be synthesized, mapping from language
      -   * (https://cloud.google.com/dialogflow/docs/reference/language) to
      +   * Optional. Configuration of how speech should be synthesized, mapping from
      +   * language (https://cloud.google.com/dialogflow/docs/reference/language) to
          * SynthesizeSpeechConfig.
          * 
      * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java index fc94aad70e42..4386d93c8a1e 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/TrainAgentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent].
      + * The request message for
      + * [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.TrainAgentRequest} @@ -290,7 +291,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent].
      +   * The request message for
      +   * [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.TrainAgentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateAnswerRecordRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateAnswerRecordRequest.java index 2ab9b5b7c2ca..c5ed029eabc2 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateAnswerRecordRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateAnswerRecordRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord].
      + * Request message for
      + * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateAnswerRecordRequest} @@ -350,7 +351,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord].
      +   * Request message for
      +   * [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateAnswerRecordRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java index 98074e626171..f9e711ab8b28 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateContextRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext].
      + * The request message for
      + * [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateContextRequest} @@ -353,7 +354,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext].
      +   * The request message for
      +   * [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateContextRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateConversationProfileRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateConversationProfileRequest.java index 21315fd4eac2..6373e9d19585 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateConversationProfileRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateConversationProfileRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile].
      + * The request message for
      + * [ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateConversationProfileRequest} @@ -356,7 +357,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile].
      +   * The request message for
      +   * [ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateConversationProfileRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequest.java index 690ca76533e1..c88420446415 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateDocumentRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [Documents.UpdateDocument][google.cloud.dialogflow.v2beta1.Documents.UpdateDocument].
      + * Request message for
      + * [Documents.UpdateDocument][google.cloud.dialogflow.v2beta1.Documents.UpdateDocument].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateDocumentRequest} @@ -359,7 +360,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [Documents.UpdateDocument][google.cloud.dialogflow.v2beta1.Documents.UpdateDocument].
      +   * Request message for
      +   * [Documents.UpdateDocument][google.cloud.dialogflow.v2beta1.Documents.UpdateDocument].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateDocumentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java index 64832940223c..7fd7163a0782 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEntityTypeRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType].
      + * The request message for
      + * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest} @@ -423,7 +424,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType].
      +   * The request message for
      +   * [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEnvironmentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEnvironmentRequest.java index 6696d6d3a979..da967a0f4318 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEnvironmentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateEnvironmentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment].
      + * The request message for
      + * [Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateEnvironmentRequest} @@ -390,7 +391,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment].
      +   * The request message for
      +   * [Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateEnvironmentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateFulfillmentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateFulfillmentRequest.java index 6099682f5a6c..edcf2f6d0a0d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateFulfillmentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateFulfillmentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Fulfillments.UpdateFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment].
      + * The request message for
      + * [Fulfillments.UpdateFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateFulfillmentRequest} @@ -356,7 +357,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Fulfillments.UpdateFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment].
      +   * The request message for
      +   * [Fulfillments.UpdateFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateFulfillmentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java index 1e841eb3301e..6b72e087358a 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateIntentRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent].
      + * The request message for
      + * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateIntentRequest} @@ -467,7 +468,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent].
      +   * The request message for
      +   * [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateIntentRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequest.java index 52bc6456512c..b0d16d229130 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateKnowledgeBaseRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request message for [KnowledgeBases.UpdateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase].
      + * Request message for
      + * [KnowledgeBases.UpdateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest} @@ -359,7 +360,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request message for [KnowledgeBases.UpdateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase].
      +   * Request message for
      +   * [KnowledgeBases.UpdateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateParticipantRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateParticipantRequest.java index 1463a7293b50..933af4856a01 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateParticipantRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateParticipantRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Participants.UpdateParticipant][google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant].
      + * The request message for
      + * [Participants.UpdateParticipant][google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateParticipantRequest} @@ -353,7 +354,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Participants.UpdateParticipant][google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant].
      +   * The request message for
      +   * [Participants.UpdateParticipant][google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateParticipantRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java index fa7cd72ea8f9..89dd596b987e 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateSessionEntityTypeRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType].
      + * The request message for
      + * [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest} @@ -353,7 +354,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType].
      +   * The request message for
      +   * [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateVersionRequest.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateVersionRequest.java index 068263716f5e..db1d3bc9f03e 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateVersionRequest.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/UpdateVersionRequest.java @@ -22,7 +22,8 @@ * * *
      - * The request message for [Versions.UpdateVersion][google.cloud.dialogflow.v2beta1.Versions.UpdateVersion].
      + * The request message for
      + * [Versions.UpdateVersion][google.cloud.dialogflow.v2beta1.Versions.UpdateVersion].
        * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateVersionRequest} @@ -365,7 +366,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The request message for [Versions.UpdateVersion][google.cloud.dialogflow.v2beta1.Versions.UpdateVersion].
      +   * The request message for
      +   * [Versions.UpdateVersion][google.cloud.dialogflow.v2beta1.Versions.UpdateVersion].
          * 
      * * Protobuf type {@code google.cloud.dialogflow.v2beta1.UpdateVersionRequest} diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultProto.java index 79e8427c5784..9c26b557e1fb 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/ValidationResultProto.java @@ -54,11 +54,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ARNING\020\002\022\t\n\005ERROR\020\003\022\014\n\010CRITICAL\020\004\"_\n\020Val" + "idationResult\022K\n\021validation_errors\030\001 \003(\013" + "20.google.cloud.dialogflow.v2beta1.Valid" - + "ationErrorB\263\001\n#com.google.cloud.dialogfl" - + "ow.v2beta1B\025ValidationResultProtoP\001ZIgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002" - + "\037Google.Cloud.Dialogflow.V2beta1b\006proto3" + + "ationErrorB\255\001\n#com.google.cloud.dialogfl" + + "ow.v2beta1B\025ValidationResultProtoP\001ZCclo" + + "ud.google.com/go/dialogflow/apiv2beta1/d" + + "ialogflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Googl" + + "e.Cloud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Version.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Version.java index e748b1a4e65d..b624f9f586e6 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Version.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/Version.java @@ -377,8 +377,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
      -   * Output only. The sequential number of this version. This field is read-only which means
      -   * it cannot be set by create and update methods.
      +   * Output only. The sequential number of this version. This field is read-only
      +   * which means it cannot be set by create and update methods.
          * 
      * * int32 version_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -396,8 +396,8 @@ public int getVersionNumber() { * * *
      -   * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -   * be set by create and update methods.
      +   * Output only. The creation time of this version. This field is read-only,
      +   * i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -413,8 +413,8 @@ public boolean hasCreateTime() { * * *
      -   * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -   * be set by create and update methods.
      +   * Output only. The creation time of this version. This field is read-only,
      +   * i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -430,8 +430,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
      -   * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -   * be set by create and update methods.
      +   * Output only. The creation time of this version. This field is read-only,
      +   * i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -448,8 +448,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
      -   * Output only. The status of this version. This field is read-only and cannot be set by
      -   * create and update methods.
      +   * Output only. The status of this version. This field is read-only and cannot
      +   * be set by create and update methods.
          * 
      * * @@ -466,8 +466,8 @@ public int getStatusValue() { * * *
      -   * Output only. The status of this version. This field is read-only and cannot be set by
      -   * create and update methods.
      +   * Output only. The status of this version. This field is read-only and cannot
      +   * be set by create and update methods.
          * 
      * * @@ -1179,8 +1179,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
      -     * Output only. The sequential number of this version. This field is read-only which means
      -     * it cannot be set by create and update methods.
      +     * Output only. The sequential number of this version. This field is read-only
      +     * which means it cannot be set by create and update methods.
            * 
      * * int32 version_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1195,8 +1195,8 @@ public int getVersionNumber() { * * *
      -     * Output only. The sequential number of this version. This field is read-only which means
      -     * it cannot be set by create and update methods.
      +     * Output only. The sequential number of this version. This field is read-only
      +     * which means it cannot be set by create and update methods.
            * 
      * * int32 version_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1215,8 +1215,8 @@ public Builder setVersionNumber(int value) { * * *
      -     * Output only. The sequential number of this version. This field is read-only which means
      -     * it cannot be set by create and update methods.
      +     * Output only. The sequential number of this version. This field is read-only
      +     * which means it cannot be set by create and update methods.
            * 
      * * int32 version_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1240,8 +1240,8 @@ public Builder clearVersionNumber() { * * *
      -     * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -     * be set by create and update methods.
      +     * Output only. The creation time of this version. This field is read-only,
      +     * i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1257,8 +1257,8 @@ public boolean hasCreateTime() { * * *
      -     * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -     * be set by create and update methods.
      +     * Output only. The creation time of this version. This field is read-only,
      +     * i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1280,8 +1280,8 @@ public com.google.protobuf.Timestamp getCreateTime() { * * *
      -     * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -     * be set by create and update methods.
      +     * Output only. The creation time of this version. This field is read-only,
      +     * i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1305,8 +1305,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { * * *
      -     * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -     * be set by create and update methods.
      +     * Output only. The creation time of this version. This field is read-only,
      +     * i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1327,8 +1327,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
      -     * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -     * be set by create and update methods.
      +     * Output only. The creation time of this version. This field is read-only,
      +     * i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1355,8 +1355,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * * *
      -     * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -     * be set by create and update methods.
      +     * Output only. The creation time of this version. This field is read-only,
      +     * i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1377,8 +1377,8 @@ public Builder clearCreateTime() { * * *
      -     * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -     * be set by create and update methods.
      +     * Output only. The creation time of this version. This field is read-only,
      +     * i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1394,8 +1394,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { * * *
      -     * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -     * be set by create and update methods.
      +     * Output only. The creation time of this version. This field is read-only,
      +     * i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1415,8 +1415,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
      -     * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -     * be set by create and update methods.
      +     * Output only. The creation time of this version. This field is read-only,
      +     * i.e., it cannot be set by create and update methods.
            * 
      * * @@ -1445,8 +1445,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
      -     * Output only. The status of this version. This field is read-only and cannot be set by
      -     * create and update methods.
      +     * Output only. The status of this version. This field is read-only and cannot
      +     * be set by create and update methods.
            * 
      * * @@ -1463,8 +1463,8 @@ public int getStatusValue() { * * *
      -     * Output only. The status of this version. This field is read-only and cannot be set by
      -     * create and update methods.
      +     * Output only. The status of this version. This field is read-only and cannot
      +     * be set by create and update methods.
            * 
      * * @@ -1484,8 +1484,8 @@ public Builder setStatusValue(int value) { * * *
      -     * Output only. The status of this version. This field is read-only and cannot be set by
      -     * create and update methods.
      +     * Output only. The status of this version. This field is read-only and cannot
      +     * be set by create and update methods.
            * 
      * * @@ -1506,8 +1506,8 @@ public com.google.cloud.dialogflow.v2beta1.Version.VersionStatus getStatus() { * * *
      -     * Output only. The status of this version. This field is read-only and cannot be set by
      -     * create and update methods.
      +     * Output only. The status of this version. This field is read-only and cannot
      +     * be set by create and update methods.
            * 
      * * @@ -1530,8 +1530,8 @@ public Builder setStatus(com.google.cloud.dialogflow.v2beta1.Version.VersionStat * * *
      -     * Output only. The status of this version. This field is read-only and cannot be set by
      -     * create and update methods.
      +     * Output only. The status of this version. This field is read-only and cannot
      +     * be set by create and update methods.
            * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionOrBuilder.java index c91604c3e48d..5e27983db9b2 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionOrBuilder.java @@ -85,8 +85,8 @@ public interface VersionOrBuilder * * *
      -   * Output only. The sequential number of this version. This field is read-only which means
      -   * it cannot be set by create and update methods.
      +   * Output only. The sequential number of this version. This field is read-only
      +   * which means it cannot be set by create and update methods.
          * 
      * * int32 version_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -99,8 +99,8 @@ public interface VersionOrBuilder * * *
      -   * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -   * be set by create and update methods.
      +   * Output only. The creation time of this version. This field is read-only,
      +   * i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -113,8 +113,8 @@ public interface VersionOrBuilder * * *
      -   * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -   * be set by create and update methods.
      +   * Output only. The creation time of this version. This field is read-only,
      +   * i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -127,8 +127,8 @@ public interface VersionOrBuilder * * *
      -   * Output only. The creation time of this version. This field is read-only, i.e., it cannot
      -   * be set by create and update methods.
      +   * Output only. The creation time of this version. This field is read-only,
      +   * i.e., it cannot be set by create and update methods.
          * 
      * * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -140,8 +140,8 @@ public interface VersionOrBuilder * * *
      -   * Output only. The status of this version. This field is read-only and cannot be set by
      -   * create and update methods.
      +   * Output only. The status of this version. This field is read-only and cannot
      +   * be set by create and update methods.
          * 
      * * @@ -155,8 +155,8 @@ public interface VersionOrBuilder * * *
      -   * Output only. The status of this version. This field is read-only and cannot be set by
      -   * create and update methods.
      +   * Output only. The status of this version. This field is read-only and cannot
      +   * be set by create and update methods.
          * 
      * * diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionProto.java index 8b9d992134ba..e821432fae8a 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionProto.java @@ -134,11 +134,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ons/*}\332A\004name\032x\312A\031dialogflow.googleapis." + "com\322AYhttps://www.googleapis.com/auth/cl" + "oud-platform,https://www.googleapis.com/" - + "auth/dialogflowB\252\001\n#com.google.cloud.dia" - + "logflow.v2beta1B\014VersionProtoP\001ZIgoogle." - + "golang.org/genproto/googleapis/cloud/dia" - + "logflow/v2beta1;dialogflow\370\001\001\242\002\002DF\252\002\037Goo" - + "gle.Cloud.Dialogflow.V2beta1b\006proto3" + + "auth/dialogflowB\244\001\n#com.google.cloud.dia" + + "logflow.v2beta1B\014VersionProtoP\001ZCcloud.g" + + "oogle.com/go/dialogflow/apiv2beta1/dialo" + + "gflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037Google.Cl" + + "oud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java index 2912e4d7b1f9..1e0fdd425234 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookProto.java @@ -77,12 +77,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".dialogflow.v2beta1.SessionEntityType\"h\n" + "\033OriginalDetectIntentRequest\022\016\n\006source\030\001" + " \001(\t\022\017\n\007version\030\002 \001(\t\022(\n\007payload\030\003 \001(\0132\027" - + ".google.protobuf.StructB\252\001\n#com.google.c" + + ".google.protobuf.StructB\244\001\n#com.google.c" + "loud.dialogflow.v2beta1B\014WebhookProtoP\001Z" - + "Igoogle.golang.org/genproto/googleapis/c" - + "loud/dialogflow/v2beta1;dialogflow\370\001\001\242\002\002" - + "DF\252\002\037Google.Cloud.Dialogflow.V2beta1b\006pr" - + "oto3" + + "Ccloud.google.com/go/dialogflow/apiv2bet" + + "a1/dialogflowpb;dialogflowpb\370\001\001\242\002\002DF\252\002\037G" + + "oogle.Cloud.Dialogflow.V2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java index 1569c4eeff98..e76f0f1fac42 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponse.java @@ -24,9 +24,10 @@ *
        * The response message for a webhook call.
        * This response is validated by the Dialogflow server. If validation fails,
      - * an error will be returned in the [QueryResult.diagnostic_info][google.cloud.dialogflow.v2beta1.QueryResult.diagnostic_info] field.
      - * Setting JSON fields to an empty value with the wrong type is a common error.
      - * To avoid this error:
      + * an error will be returned in the
      + * [QueryResult.diagnostic_info][google.cloud.dialogflow.v2beta1.QueryResult.diagnostic_info]
      + * field. Setting JSON fields to an empty value with the wrong type is a common
      + * error. To avoid this error:
        * - Use `""` for empty strings
        * - Use `{}` or `null` for empty objects
        * - Use `[]` or `null` for empty arrays
      @@ -92,7 +93,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          * Optional. The text response message intended for the end-user.
          * It is recommended to use `fulfillment_messages.text.text[0]` instead.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text]
      +   * sent to the integration or API caller.
          * 
      * * string fulfillment_text = 1; @@ -118,7 +120,8 @@ public java.lang.String getFulfillmentText() { * Optional. The text response message intended for the end-user. * It is recommended to use `fulfillment_messages.text.text[0]` instead. * When provided, Dialogflow uses this field to populate - * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller. + * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] + * sent to the integration or API caller. *
      * * string fulfillment_text = 1; @@ -148,7 +151,8 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -164,7 +168,8 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -180,7 +185,8 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -195,7 +201,8 @@ public int getFulfillmentMessagesCount() { *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -210,7 +217,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message getFulfillmentMessages *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -232,7 +240,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message getFulfillmentMessages * Optional. A custom field used to identify the webhook source. * Arbitrary strings are supported. * When provided, Dialogflow uses this field to populate - * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. + * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] + * sent to the integration or API caller. *
      * * string source = 3; @@ -258,7 +267,8 @@ public java.lang.String getSource() { * Optional. A custom field used to identify the webhook source. * Arbitrary strings are supported. * When provided, Dialogflow uses this field to populate - * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. + * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] + * sent to the integration or API caller. *
      * * string source = 3; @@ -284,11 +294,11 @@ public com.google.protobuf.ByteString getSourceBytes() { * * *
      -   * Optional. This field can be used to pass custom data from your webhook to the
      -   * integration or API caller. Arbitrary JSON objects are supported.
      -   * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -   * This field is also used by the
      +   * Optional. This field can be used to pass custom data from your webhook to
      +   * the integration or API caller. Arbitrary JSON objects are supported. When
      +   * provided, Dialogflow uses this field to populate
      +   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +   * sent to the integration or API caller. This field is also used by the
          * [Google Assistant
          * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
          * for rich response messages.
      @@ -308,11 +318,11 @@ public boolean hasPayload() {
          *
          *
          * 
      -   * Optional. This field can be used to pass custom data from your webhook to the
      -   * integration or API caller. Arbitrary JSON objects are supported.
      -   * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -   * This field is also used by the
      +   * Optional. This field can be used to pass custom data from your webhook to
      +   * the integration or API caller. Arbitrary JSON objects are supported. When
      +   * provided, Dialogflow uses this field to populate
      +   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +   * sent to the integration or API caller. This field is also used by the
          * [Google Assistant
          * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
          * for rich response messages.
      @@ -332,11 +342,11 @@ public com.google.protobuf.Struct getPayload() {
          *
          *
          * 
      -   * Optional. This field can be used to pass custom data from your webhook to the
      -   * integration or API caller. Arbitrary JSON objects are supported.
      -   * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -   * This field is also used by the
      +   * Optional. This field can be used to pass custom data from your webhook to
      +   * the integration or API caller. Arbitrary JSON objects are supported. When
      +   * provided, Dialogflow uses this field to populate
      +   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +   * sent to the integration or API caller. This field is also used by the
          * [Google Assistant
          * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
          * for rich response messages.
      @@ -362,7 +372,8 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() {
          * Optional. The collection of output contexts that will overwrite currently
          * active contexts for the session and reset their lifespans.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      +   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -378,7 +389,8 @@ public java.util.List getOutputCont * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -395,7 +407,8 @@ public java.util.List getOutputCont * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -411,7 +424,8 @@ public int getOutputContextsCount() { * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -427,7 +441,8 @@ public com.google.cloud.dialogflow.v2beta1.Context getOutputContexts(int index) * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -547,7 +562,9 @@ public boolean getEndInteraction() { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -566,7 +583,9 @@ public boolean getEndInteraction() { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -585,7 +604,9 @@ public boolean getEndInteraction() { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -603,7 +624,9 @@ public int getSessionEntityTypesCount() { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -621,7 +644,9 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType getSessionEntityTyp * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -888,9 +913,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
          * The response message for a webhook call.
          * This response is validated by the Dialogflow server. If validation fails,
      -   * an error will be returned in the [QueryResult.diagnostic_info][google.cloud.dialogflow.v2beta1.QueryResult.diagnostic_info] field.
      -   * Setting JSON fields to an empty value with the wrong type is a common error.
      -   * To avoid this error:
      +   * an error will be returned in the
      +   * [QueryResult.diagnostic_info][google.cloud.dialogflow.v2beta1.QueryResult.diagnostic_info]
      +   * field. Setting JSON fields to an empty value with the wrong type is a common
      +   * error. To avoid this error:
          * - Use `""` for empty strings
          * - Use `{}` or `null` for empty objects
          * - Use `[]` or `null` for empty arrays
      @@ -1337,7 +1363,8 @@ public Builder mergeFrom(
            * Optional. The text response message intended for the end-user.
            * It is recommended to use `fulfillment_messages.text.text[0]` instead.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text]
      +     * sent to the integration or API caller.
            * 
      * * string fulfillment_text = 1; @@ -1362,7 +1389,8 @@ public java.lang.String getFulfillmentText() { * Optional. The text response message intended for the end-user. * It is recommended to use `fulfillment_messages.text.text[0]` instead. * When provided, Dialogflow uses this field to populate - * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller. + * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] + * sent to the integration or API caller. *
      * * string fulfillment_text = 1; @@ -1387,7 +1415,8 @@ public com.google.protobuf.ByteString getFulfillmentTextBytes() { * Optional. The text response message intended for the end-user. * It is recommended to use `fulfillment_messages.text.text[0]` instead. * When provided, Dialogflow uses this field to populate - * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller. + * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] + * sent to the integration or API caller. *
      * * string fulfillment_text = 1; @@ -1411,7 +1440,8 @@ public Builder setFulfillmentText(java.lang.String value) { * Optional. The text response message intended for the end-user. * It is recommended to use `fulfillment_messages.text.text[0]` instead. * When provided, Dialogflow uses this field to populate - * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller. + * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] + * sent to the integration or API caller. *
      * * string fulfillment_text = 1; @@ -1431,7 +1461,8 @@ public Builder clearFulfillmentText() { * Optional. The text response message intended for the end-user. * It is recommended to use `fulfillment_messages.text.text[0]` instead. * When provided, Dialogflow uses this field to populate - * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller. + * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] + * sent to the integration or API caller. *
      * * string fulfillment_text = 1; @@ -1474,7 +1505,8 @@ private void ensureFulfillmentMessagesIsMutable() { *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1494,7 +1526,8 @@ private void ensureFulfillmentMessagesIsMutable() { *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1513,7 +1546,8 @@ public int getFulfillmentMessagesCount() { *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1532,7 +1566,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message getFulfillmentMessages *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1558,7 +1593,8 @@ public Builder setFulfillmentMessages( *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1581,7 +1617,8 @@ public Builder setFulfillmentMessages( *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1607,7 +1644,8 @@ public Builder addFulfillmentMessages( *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1633,7 +1671,8 @@ public Builder addFulfillmentMessages( *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1656,7 +1695,8 @@ public Builder addFulfillmentMessages( *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1679,7 +1719,8 @@ public Builder addFulfillmentMessages( *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1702,7 +1743,8 @@ public Builder addAllFulfillmentMessages( *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1724,7 +1766,8 @@ public Builder clearFulfillmentMessages() { *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1746,7 +1789,8 @@ public Builder removeFulfillmentMessages(int index) { *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1762,7 +1806,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder getFulfillment *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1782,7 +1827,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder getFulfillment *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1802,7 +1848,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder getFulfillment *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1819,7 +1866,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder getFulfillment *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1837,7 +1885,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder addFulfillment *
            * Optional. The rich response messages intended for the end-user.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +     * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -1876,7 +1925,8 @@ public com.google.cloud.dialogflow.v2beta1.Intent.Message.Builder addFulfillment * Optional. A custom field used to identify the webhook source. * Arbitrary strings are supported. * When provided, Dialogflow uses this field to populate - * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. + * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] + * sent to the integration or API caller. *
      * * string source = 3; @@ -1901,7 +1951,8 @@ public java.lang.String getSource() { * Optional. A custom field used to identify the webhook source. * Arbitrary strings are supported. * When provided, Dialogflow uses this field to populate - * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. + * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] + * sent to the integration or API caller. *
      * * string source = 3; @@ -1926,7 +1977,8 @@ public com.google.protobuf.ByteString getSourceBytes() { * Optional. A custom field used to identify the webhook source. * Arbitrary strings are supported. * When provided, Dialogflow uses this field to populate - * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. + * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] + * sent to the integration or API caller. *
      * * string source = 3; @@ -1950,7 +2002,8 @@ public Builder setSource(java.lang.String value) { * Optional. A custom field used to identify the webhook source. * Arbitrary strings are supported. * When provided, Dialogflow uses this field to populate - * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. + * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] + * sent to the integration or API caller. *
      * * string source = 3; @@ -1970,7 +2023,8 @@ public Builder clearSource() { * Optional. A custom field used to identify the webhook source. * Arbitrary strings are supported. * When provided, Dialogflow uses this field to populate - * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. + * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] + * sent to the integration or API caller. *
      * * string source = 3; @@ -1999,11 +2053,11 @@ public Builder setSourceBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. This field can be used to pass custom data from your webhook to the
      -     * integration or API caller. Arbitrary JSON objects are supported.
      -     * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -     * This field is also used by the
      +     * Optional. This field can be used to pass custom data from your webhook to
      +     * the integration or API caller. Arbitrary JSON objects are supported. When
      +     * provided, Dialogflow uses this field to populate
      +     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +     * sent to the integration or API caller. This field is also used by the
            * [Google Assistant
            * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
            * for rich response messages.
      @@ -2022,11 +2076,11 @@ public boolean hasPayload() {
            *
            *
            * 
      -     * Optional. This field can be used to pass custom data from your webhook to the
      -     * integration or API caller. Arbitrary JSON objects are supported.
      -     * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -     * This field is also used by the
      +     * Optional. This field can be used to pass custom data from your webhook to
      +     * the integration or API caller. Arbitrary JSON objects are supported. When
      +     * provided, Dialogflow uses this field to populate
      +     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +     * sent to the integration or API caller. This field is also used by the
            * [Google Assistant
            * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
            * for rich response messages.
      @@ -2049,11 +2103,11 @@ public com.google.protobuf.Struct getPayload() {
            *
            *
            * 
      -     * Optional. This field can be used to pass custom data from your webhook to the
      -     * integration or API caller. Arbitrary JSON objects are supported.
      -     * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -     * This field is also used by the
      +     * Optional. This field can be used to pass custom data from your webhook to
      +     * the integration or API caller. Arbitrary JSON objects are supported. When
      +     * provided, Dialogflow uses this field to populate
      +     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +     * sent to the integration or API caller. This field is also used by the
            * [Google Assistant
            * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
            * for rich response messages.
      @@ -2080,11 +2134,11 @@ public Builder setPayload(com.google.protobuf.Struct value) {
            *
            *
            * 
      -     * Optional. This field can be used to pass custom data from your webhook to the
      -     * integration or API caller. Arbitrary JSON objects are supported.
      -     * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -     * This field is also used by the
      +     * Optional. This field can be used to pass custom data from your webhook to
      +     * the integration or API caller. Arbitrary JSON objects are supported. When
      +     * provided, Dialogflow uses this field to populate
      +     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +     * sent to the integration or API caller. This field is also used by the
            * [Google Assistant
            * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
            * for rich response messages.
      @@ -2108,11 +2162,11 @@ public Builder setPayload(com.google.protobuf.Struct.Builder builderForValue) {
            *
            *
            * 
      -     * Optional. This field can be used to pass custom data from your webhook to the
      -     * integration or API caller. Arbitrary JSON objects are supported.
      -     * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -     * This field is also used by the
      +     * Optional. This field can be used to pass custom data from your webhook to
      +     * the integration or API caller. Arbitrary JSON objects are supported. When
      +     * provided, Dialogflow uses this field to populate
      +     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +     * sent to the integration or API caller. This field is also used by the
            * [Google Assistant
            * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
            * for rich response messages.
      @@ -2142,11 +2196,11 @@ public Builder mergePayload(com.google.protobuf.Struct value) {
            *
            *
            * 
      -     * Optional. This field can be used to pass custom data from your webhook to the
      -     * integration or API caller. Arbitrary JSON objects are supported.
      -     * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -     * This field is also used by the
      +     * Optional. This field can be used to pass custom data from your webhook to
      +     * the integration or API caller. Arbitrary JSON objects are supported. When
      +     * provided, Dialogflow uses this field to populate
      +     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +     * sent to the integration or API caller. This field is also used by the
            * [Google Assistant
            * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
            * for rich response messages.
      @@ -2170,11 +2224,11 @@ public Builder clearPayload() {
            *
            *
            * 
      -     * Optional. This field can be used to pass custom data from your webhook to the
      -     * integration or API caller. Arbitrary JSON objects are supported.
      -     * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -     * This field is also used by the
      +     * Optional. This field can be used to pass custom data from your webhook to
      +     * the integration or API caller. Arbitrary JSON objects are supported. When
      +     * provided, Dialogflow uses this field to populate
      +     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +     * sent to the integration or API caller. This field is also used by the
            * [Google Assistant
            * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
            * for rich response messages.
      @@ -2193,11 +2247,11 @@ public com.google.protobuf.Struct.Builder getPayloadBuilder() {
            *
            *
            * 
      -     * Optional. This field can be used to pass custom data from your webhook to the
      -     * integration or API caller. Arbitrary JSON objects are supported.
      -     * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -     * This field is also used by the
      +     * Optional. This field can be used to pass custom data from your webhook to
      +     * the integration or API caller. Arbitrary JSON objects are supported. When
      +     * provided, Dialogflow uses this field to populate
      +     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +     * sent to the integration or API caller. This field is also used by the
            * [Google Assistant
            * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
            * for rich response messages.
      @@ -2218,11 +2272,11 @@ public com.google.protobuf.StructOrBuilder getPayloadOrBuilder() {
            *
            *
            * 
      -     * Optional. This field can be used to pass custom data from your webhook to the
      -     * integration or API caller. Arbitrary JSON objects are supported.
      -     * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -     * This field is also used by the
      +     * Optional. This field can be used to pass custom data from your webhook to
      +     * the integration or API caller. Arbitrary JSON objects are supported. When
      +     * provided, Dialogflow uses this field to populate
      +     * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +     * sent to the integration or API caller. This field is also used by the
            * [Google Assistant
            * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
            * for rich response messages.
      @@ -2273,7 +2327,8 @@ private void ensureOutputContextsIsMutable() {
            * Optional. The collection of output contexts that will overwrite currently
            * active contexts for the session and reset their lifespans.
            * When provided, Dialogflow uses this field to populate
      -     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      +     * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts]
      +     * sent to the integration or API caller.
            * 
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2292,7 +2347,8 @@ public java.util.List getOutputCont * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2311,7 +2367,8 @@ public int getOutputContextsCount() { * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2330,7 +2387,8 @@ public com.google.cloud.dialogflow.v2beta1.Context getOutputContexts(int index) * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2355,7 +2413,8 @@ public Builder setOutputContexts(int index, com.google.cloud.dialogflow.v2beta1. * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2378,7 +2437,8 @@ public Builder setOutputContexts( * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2403,7 +2463,8 @@ public Builder addOutputContexts(com.google.cloud.dialogflow.v2beta1.Context val * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2428,7 +2489,8 @@ public Builder addOutputContexts(int index, com.google.cloud.dialogflow.v2beta1. * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2451,7 +2513,8 @@ public Builder addOutputContexts( * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2474,7 +2537,8 @@ public Builder addOutputContexts( * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2497,7 +2561,8 @@ public Builder addAllOutputContexts( * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2519,7 +2584,8 @@ public Builder clearOutputContexts() { * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2541,7 +2607,8 @@ public Builder removeOutputContexts(int index) { * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2556,7 +2623,8 @@ public com.google.cloud.dialogflow.v2beta1.Context.Builder getOutputContextsBuil * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2576,7 +2644,8 @@ public com.google.cloud.dialogflow.v2beta1.ContextOrBuilder getOutputContextsOrB * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2596,7 +2665,8 @@ public com.google.cloud.dialogflow.v2beta1.ContextOrBuilder getOutputContextsOrB * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2612,7 +2682,8 @@ public com.google.cloud.dialogflow.v2beta1.Context.Builder addOutputContextsBuil * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -2628,7 +2699,8 @@ public com.google.cloud.dialogflow.v2beta1.Context.Builder addOutputContextsBuil * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -3009,7 +3081,9 @@ private void ensureSessionEntityTypesIsMutable() { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3031,7 +3105,9 @@ private void ensureSessionEntityTypesIsMutable() { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3052,7 +3128,9 @@ public int getSessionEntityTypesCount() { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3073,7 +3151,9 @@ public com.google.cloud.dialogflow.v2beta1.SessionEntityType getSessionEntityTyp * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3101,7 +3181,9 @@ public Builder setSessionEntityTypes( * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3126,7 +3208,9 @@ public Builder setSessionEntityTypes( * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3154,7 +3238,9 @@ public Builder addSessionEntityTypes( * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3182,7 +3268,9 @@ public Builder addSessionEntityTypes( * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3207,7 +3295,9 @@ public Builder addSessionEntityTypes( * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3232,7 +3322,9 @@ public Builder addSessionEntityTypes( * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3258,7 +3350,9 @@ public Builder addAllSessionEntityTypes( * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3282,7 +3376,9 @@ public Builder clearSessionEntityTypes() { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3306,7 +3402,9 @@ public Builder removeSessionEntityTypes(int index) { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3324,7 +3422,9 @@ public Builder removeSessionEntityTypes(int index) { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3346,7 +3446,9 @@ public Builder removeSessionEntityTypes(int index) { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3368,7 +3470,9 @@ public Builder removeSessionEntityTypes(int index) { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3387,7 +3491,9 @@ public Builder removeSessionEntityTypes(int index) { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -3407,7 +3513,9 @@ public Builder removeSessionEntityTypes(int index) { * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java index a87e6fc71051..1202043cb2a2 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/java/com/google/cloud/dialogflow/v2beta1/WebhookResponseOrBuilder.java @@ -30,7 +30,8 @@ public interface WebhookResponseOrBuilder * Optional. The text response message intended for the end-user. * It is recommended to use `fulfillment_messages.text.text[0]` instead. * When provided, Dialogflow uses this field to populate - * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller. + * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] + * sent to the integration or API caller. *
      * * string fulfillment_text = 1; @@ -45,7 +46,8 @@ public interface WebhookResponseOrBuilder * Optional. The text response message intended for the end-user. * It is recommended to use `fulfillment_messages.text.text[0]` instead. * When provided, Dialogflow uses this field to populate - * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller. + * [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] + * sent to the integration or API caller. *
      * * string fulfillment_text = 1; @@ -60,7 +62,8 @@ public interface WebhookResponseOrBuilder *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -72,7 +75,8 @@ public interface WebhookResponseOrBuilder *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -84,7 +88,8 @@ public interface WebhookResponseOrBuilder *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -96,7 +101,8 @@ public interface WebhookResponseOrBuilder *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -109,7 +115,8 @@ public interface WebhookResponseOrBuilder *
          * Optional. The rich response messages intended for the end-user.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
      +   * [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2; @@ -124,7 +131,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * Optional. A custom field used to identify the webhook source. * Arbitrary strings are supported. * When provided, Dialogflow uses this field to populate - * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. + * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] + * sent to the integration or API caller. *
      * * string source = 3; @@ -139,7 +147,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * Optional. A custom field used to identify the webhook source. * Arbitrary strings are supported. * When provided, Dialogflow uses this field to populate - * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller. + * [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] + * sent to the integration or API caller. *
      * * string source = 3; @@ -152,11 +161,11 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * * *
      -   * Optional. This field can be used to pass custom data from your webhook to the
      -   * integration or API caller. Arbitrary JSON objects are supported.
      -   * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -   * This field is also used by the
      +   * Optional. This field can be used to pass custom data from your webhook to
      +   * the integration or API caller. Arbitrary JSON objects are supported. When
      +   * provided, Dialogflow uses this field to populate
      +   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +   * sent to the integration or API caller. This field is also used by the
          * [Google Assistant
          * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
          * for rich response messages.
      @@ -173,11 +182,11 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag
          *
          *
          * 
      -   * Optional. This field can be used to pass custom data from your webhook to the
      -   * integration or API caller. Arbitrary JSON objects are supported.
      -   * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -   * This field is also used by the
      +   * Optional. This field can be used to pass custom data from your webhook to
      +   * the integration or API caller. Arbitrary JSON objects are supported. When
      +   * provided, Dialogflow uses this field to populate
      +   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +   * sent to the integration or API caller. This field is also used by the
          * [Google Assistant
          * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
          * for rich response messages.
      @@ -194,11 +203,11 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag
          *
          *
          * 
      -   * Optional. This field can be used to pass custom data from your webhook to the
      -   * integration or API caller. Arbitrary JSON objects are supported.
      -   * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller.
      -   * This field is also used by the
      +   * Optional. This field can be used to pass custom data from your webhook to
      +   * the integration or API caller. Arbitrary JSON objects are supported. When
      +   * provided, Dialogflow uses this field to populate
      +   * [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload]
      +   * sent to the integration or API caller. This field is also used by the
          * [Google Assistant
          * integration](https://cloud.google.com/dialogflow/docs/integrations/aog)
          * for rich response messages.
      @@ -217,7 +226,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag
          * Optional. The collection of output contexts that will overwrite currently
          * active contexts for the session and reset their lifespans.
          * When provided, Dialogflow uses this field to populate
      -   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
      +   * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts]
      +   * sent to the integration or API caller.
          * 
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -230,7 +240,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -243,7 +254,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -256,7 +268,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -270,7 +283,8 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * Optional. The collection of output contexts that will overwrite currently * active contexts for the session and reset their lifespans. * When provided, Dialogflow uses this field to populate - * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller. + * [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] + * sent to the integration or API caller. *
      * * repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5; @@ -357,7 +371,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -372,7 +388,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -387,7 +405,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -402,7 +422,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; @@ -418,7 +440,9 @@ com.google.cloud.dialogflow.v2beta1.Intent.MessageOrBuilder getFulfillmentMessag * entity types with. The entity synonyms apply to all languages and persist * for the session. Setting this data from a webhook overwrites * the session entity types that have been set using `detectIntent`, - * `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods. + * `streamingDetectIntent` or + * [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] + * management methods. *
      * * repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/agent.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/agent.proto index 95b3933a6d47..67ebcfc008bb 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/agent.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/agent.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "AgentProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; @@ -133,7 +133,8 @@ service Agents { // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - // - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] + // - `response`: + // [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] rpc ExportAgent(ExportAgentRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*}/agent:export" @@ -154,11 +155,13 @@ service Agents { // // Uploads new intents and entity types without deleting the existing ones. // Intents and entity types with the same name are replaced with the new - // versions from [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. After the import, the imported draft - // agent will be trained automatically (unless disabled in agent settings). - // However, once the import is done, training may not be completed yet. Please - // call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train - // explicitly. + // versions from + // [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. + // After the import, the imported draft agent will be trained automatically + // (unless disabled in agent settings). However, once the import is done, + // training may not be completed yet. Please call + // [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + // for the operation it returns in order to train explicitly. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). @@ -196,8 +199,9 @@ service Agents { // entity types in the older version are deleted. After the restore, the // restored draft agent will be trained automatically (unless disabled in // agent settings). However, once the restore is done, training may not be - // completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it - // returns in order to train explicitly. + // completed yet. Please call + // [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait + // for the operation it returns in order to train explicitly. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). @@ -231,7 +235,8 @@ service Agents { // Gets agent validation result. Agent validation is performed during // training time and is updated automatically when training is completed. - rpc GetValidationResult(GetValidationResultRequest) returns (ValidationResult) { + rpc GetValidationResult(GetValidationResultRequest) + returns (ValidationResult) { option (google.api.http) = { get: "/v2beta1/{parent=projects/*}/agent/validationResult" additional_bindings { @@ -368,7 +373,8 @@ message Agent { Tier tier = 15; } -// The request message for [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent]. +// The request message for +// [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent]. message GetAgentRequest { // Required. The project that the agent to fetch is associated with. // Format: `projects/` or @@ -381,7 +387,8 @@ message GetAgentRequest { ]; } -// The request message for [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent]. +// The request message for +// [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent]. message SetAgentRequest { // Required. The agent to update. Agent agent = 1 [(google.api.field_behavior) = REQUIRED]; @@ -390,7 +397,8 @@ message SetAgentRequest { google.protobuf.FieldMask update_mask = 2; } -// The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent]. +// The request message for +// [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent]. message DeleteAgentRequest { // Required. The project that the agent to delete is associated with. // Format: `projects/` or @@ -416,7 +424,8 @@ message SubAgent { string environment = 2; } -// The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents]. +// The request message for +// [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents]. message SearchAgentsRequest { // Required. The project to list agents from. // Format: `projects/` or @@ -436,7 +445,8 @@ message SearchAgentsRequest { string page_token = 3; } -// The response message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents]. +// The response message for +// [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents]. message SearchAgentsResponse { // The list of agents. There will be a maximum number of items returned based // on the page_size field in the request. @@ -447,7 +457,8 @@ message SearchAgentsResponse { string next_page_token = 2; } -// The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent]. +// The request message for +// [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent]. message TrainAgentRequest { // Required. The project that the agent to train is associated with. // Format: `projects/` or @@ -460,7 +471,8 @@ message TrainAgentRequest { ]; } -// The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent]. +// The request message for +// [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent]. message ExportAgentRequest { // Required. The project that the agent to export is associated with. // Format: `projects/` or @@ -486,7 +498,8 @@ message ExportAgentRequest { string agent_uri = 2; } -// The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent]. +// The response message for +// [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent]. message ExportAgentResponse { // The exported agent. oneof agent { @@ -499,7 +512,8 @@ message ExportAgentResponse { } } -// The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent]. +// The request message for +// [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent]. message ImportAgentRequest { // Required. The project that the agent to import is associated with. // Format: `projects/` or @@ -528,7 +542,8 @@ message ImportAgentRequest { } } -// The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent]. +// The request message for +// [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent]. message RestoreAgentRequest { // Required. The project that the agent to restore is associated with. // Format: `projects/` or @@ -557,7 +572,8 @@ message RestoreAgentRequest { } } -// The request message for [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult]. +// The request message for +// [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult]. message GetValidationResultRequest { // Required. The project that the agent is associated with. // Format: `projects/` or diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/answer_record.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/answer_record.proto index 1193f90c6172..28aabf7fd953 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/answer_record.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/answer_record.proto @@ -26,13 +26,14 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "AnswerRecordsProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; option objc_class_prefix = "DF"; -// Service for managing [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord]. +// Service for managing +// [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord]. service AnswerRecords { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -53,7 +54,8 @@ service AnswerRecords { // Returns the list of all answer records in the specified project in reverse // chronological order. - rpc ListAnswerRecords(ListAnswerRecordsRequest) returns (ListAnswerRecordsResponse) { + rpc ListAnswerRecords(ListAnswerRecordsRequest) + returns (ListAnswerRecordsResponse) { option (google.api.http) = { get: "/v2beta1/{parent=projects/*}/answerRecords" additional_bindings { @@ -98,9 +100,12 @@ service AnswerRecords { // A typical workflow for customers provide feedback to an answer is: // // 1. For human agent assistant, customers get suggestion via ListSuggestions -// API. Together with the answers, [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are returned to the -// customers. -// 2. The customer uses the [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to call the +// API. Together with the answers, +// [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are +// returned to the customers. +// 2. The customer uses the +// [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to +// call the // [UpdateAnswerRecord][] method to send feedback about a specific answer // that they believe is wrong. message AnswerRecord { @@ -111,14 +116,15 @@ message AnswerRecord { }; // The unique identifier of this answer record. - // Required for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] method. - // Format: `projects//locations//locations//answerRecords/`. string name = 1; // Optional. The AnswerFeedback for this record. You can set this with - // [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] in order to give us feedback about - // this answer. + // [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] + // in order to give us feedback about this answer. AnswerFeedback answer_feedback = 3; // Output only. The record for this answer. @@ -133,7 +139,8 @@ message AgentAssistantRecord { // Output only. The agent assistant answer. oneof answer { // Output only. The article suggestion answer. - ArticleAnswer article_suggestion_answer = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + ArticleAnswer article_suggestion_answer = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The FAQ answer. FaqAnswer faq_answer = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -255,7 +262,9 @@ message AgentAssistantFeedback { // Optional. Whether or not the suggested document is efficient. For example, // if the document is poorly written, hard to understand, hard to use or - // too long to find useful information, [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] is + // too long to find useful information, + // [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] + // is // [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT]. DocumentEfficiency document_efficiency = 3; @@ -263,7 +272,8 @@ message AgentAssistantFeedback { SummarizationFeedback summarization_feedback = 4; } -// Request message for [AnswerRecords.GetAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord]. +// Request message for +// [AnswerRecords.GetAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord]. message GetAnswerRecordRequest { // Required. The name of the answer record to retrieve. // Format: `projects//locations//locations/`. string parent = 1 [(google.api.resource_reference) = { - child_type: "dialogflow.googleapis.com/AnswerRecord" - }]; + child_type: "dialogflow.googleapis.com/AnswerRecord" + }]; // Optional. Filters to restrict results to specific answer records. // // For more information about filtering, see // [API Filtering](https://aip.dev/160). - string filter = 2 [ - deprecated = true, - (google.api.field_behavior) = OPTIONAL - ]; + string filter = 2 [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of records to return in a single page. // The server may return fewer records than this. If unspecified, we use 10. @@ -301,7 +309,8 @@ message ListAnswerRecordsRequest { string page_token = 4; } -// Response message for [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords]. +// Response message for +// [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords]. message ListAnswerRecordsResponse { // The list of answer records. repeated AnswerRecord answer_records = 1; @@ -315,7 +324,8 @@ message ListAnswerRecordsResponse { string next_page_token = 2; } -// Request message for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]. +// Request message for +// [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]. message UpdateAnswerRecordRequest { // Required. Answer record to update. AnswerRecord answer_record = 1 [(google.api.field_behavior) = REQUIRED]; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/audio_config.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/audio_config.proto index b9e83b20bef3..d7f497220954 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/audio_config.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/audio_config.proto @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "AudioConfigProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; @@ -31,6 +31,10 @@ option (google.api.resource_definition) = { type: "automl.googleapis.com/Model" pattern: "projects/{project}/locations/{location}/models/{model}" }; +option (google.api.resource_definition) = { + type: "speech.googleapis.com/PhraseSet" + pattern: "projects/{project}/locations/{location}/phraseSets/{phrase_set}" +}; // Audio encoding of the audio content sent in the conversational query request. // Refer to the diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/context.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/context.proto index a8e8c21f91f3..6582563e466d 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/context.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/context.proto @@ -26,7 +26,7 @@ import "google/protobuf/struct.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "ContextProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; @@ -136,7 +136,8 @@ service Contexts { } // Deletes all active contexts in the specified session. - rpc DeleteAllContexts(DeleteAllContextsRequest) returns (google.protobuf.Empty) { + rpc DeleteAllContexts(DeleteAllContextsRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2beta1/{parent=projects/*/agent/sessions/*}/contexts" additional_bindings { @@ -227,7 +228,8 @@ message Context { google.protobuf.Struct parameters = 3; } -// The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts]. +// The request message for +// [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts]. message ListContextsRequest { // Required. The session to list all contexts from. Supported formats: // - `projects//agent/sessions/, @@ -257,7 +259,8 @@ message ListContextsRequest { string page_token = 3; } -// The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts]. +// The response message for +// [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts]. message ListContextsResponse { // The list of contexts. There will be a maximum number of items // returned based on the page_size field in the request. @@ -268,7 +271,8 @@ message ListContextsResponse { string next_page_token = 2; } -// The request message for [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext]. +// The request message for +// [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext]. message GetContextRequest { // Required. The name of the context. Supported formats: // - `projects//agent/sessions//contexts//agent/sessions/, @@ -318,16 +323,19 @@ message CreateContextRequest { Context context = 2 [(google.api.field_behavior) = REQUIRED]; } -// The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext]. +// The request message for +// [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext]. message UpdateContextRequest { // Required. The context to update. Context context = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. The mask to control which fields get updated. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; } -// The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext]. +// The request message for +// [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext]. message DeleteContextRequest { // Required. The name of the context to delete. Supported formats: // - `projects//agent/sessions//contexts//agent/sessions/, // - `projects//locations//agent/sessions/`, diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation.proto index 432d8c08024c..6b511a570c46 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation.proto @@ -25,13 +25,14 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "ConversationProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; option objc_class_prefix = "DF"; -// Service for managing [Conversations][google.cloud.dialogflow.v2beta1.Conversation]. +// Service for managing +// [Conversations][google.cloud.dialogflow.v2beta1.Conversation]. service Conversations { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -51,11 +52,14 @@ service Conversations { // For Assist Stage, there's no dialogflow agent responding to user queries. // But we will provide suggestions which are generated from conversation. // - // If [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] is configured for a dialogflow - // agent, conversation will start from `Automated Agent Stage`, otherwise, it - // will start from `Assist Stage`. And during `Automated Agent Stage`, once an - // [Intent][google.cloud.dialogflow.v2beta1.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] is triggered, conversation - // will transfer to Assist Stage. + // If + // [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] + // is configured for a dialogflow agent, conversation will start from + // `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And + // during `Automated Agent Stage`, once an + // [Intent][google.cloud.dialogflow.v2beta1.Intent] with + // [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] + // is triggered, conversation will transfer to Assist Stage. rpc CreateConversation(CreateConversationRequest) returns (Conversation) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*}/conversations" @@ -69,7 +73,8 @@ service Conversations { } // Returns the list of all conversations in the specified project. - rpc ListConversations(ListConversationsRequest) returns (ListConversationsResponse) { + rpc ListConversations(ListConversationsRequest) + returns (ListConversationsResponse) { option (google.api.http) = { get: "/v2beta1/{parent=projects/*}/conversations" additional_bindings { @@ -106,7 +111,8 @@ service Conversations { // Batch ingests messages to conversation. Customers can use this RPC to // ingest historical messages to conversation. - rpc BatchCreateMessages(BatchCreateMessagesRequest) returns (BatchCreateMessagesResponse) { + rpc BatchCreateMessages(BatchCreateMessagesRequest) + returns (BatchCreateMessagesResponse) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*/conversations/*}/messages:batchCreate" body: "*" @@ -136,7 +142,8 @@ service Conversations { // Suggest summary for a conversation based on specific historical messages. // The range of the messages to be used for summary can be specified in the // request. - rpc SuggestConversationSummary(SuggestConversationSummaryRequest) returns (SuggestConversationSummaryResponse) { + rpc SuggestConversationSummary(SuggestConversationSummaryRequest) + returns (SuggestConversationSummaryResponse) { option (google.api.http) = { post: "/v2beta1/{conversation=projects/*/conversations/*}/suggestions:suggestConversationSummary" body: "*" @@ -195,7 +202,8 @@ message Conversation { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of the Conversation. - LifecycleState lifecycle_state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + LifecycleState lifecycle_state = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The Conversation Profile to be used to configure this // Conversation. This field cannot be updated. @@ -210,28 +218,34 @@ message Conversation { // Output only. Required if the conversation is to be connected over // telephony. - ConversationPhoneNumber phone_number = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + ConversationPhoneNumber phone_number = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The stage of a conversation. It indicates whether the virtual agent or a // human agent is handling the conversation. // // If the conversation is created with the conversation profile that has // Dialogflow config set, defaults to - // [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; Otherwise, defaults to + // [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; + // Otherwise, defaults to // [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. // // If the conversation is created with the conversation profile that has // Dialogflow config set but explicitly sets conversation_stage to - // [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], it skips - // [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] stage and directly goes to + // [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], + // it skips + // [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] + // stage and directly goes to // [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. ConversationStage conversation_stage = 7; // Output only. The time the conversation was started. - google.protobuf.Timestamp start_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the conversation was finished. - google.protobuf.Timestamp end_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Represents a phone number for telephony integration. It allows for connecting @@ -241,7 +255,8 @@ message ConversationPhoneNumber { string phone_number = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// The request message for [Conversations.CreateConversation][google.cloud.dialogflow.v2beta1.Conversations.CreateConversation]. +// The request message for +// [Conversations.CreateConversation][google.cloud.dialogflow.v2beta1.Conversations.CreateConversation]. message CreateConversationRequest { // Required. Resource identifier of the project creating the conversation. // Format: `projects//locations/`. @@ -255,8 +270,8 @@ message CreateConversationRequest { // Required. The conversation to create. Conversation conversation = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Identifier of the conversation. Generally it's auto generated by Google. - // Only set it if you cannot wait for the response to return a + // Optional. Identifier of the conversation. Generally it's auto generated by + // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. // // The conversation ID must be compliant with the regression fomula @@ -268,7 +283,8 @@ message CreateConversationRequest { string conversation_id = 3 [(google.api.field_behavior) = OPTIONAL]; } -// The request message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations]. +// The request message for +// [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations]. message ListConversationsRequest { // Required. The project from which to list all conversation. // Format: `projects//locations/`. @@ -306,7 +322,8 @@ message ListConversationsRequest { string filter = 4; } -// The response message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations]. +// The response message for +// [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations]. message ListConversationsResponse { // The list of conversations. There will be a maximum number of items // returned based on the page_size field in the request. @@ -317,7 +334,8 @@ message ListConversationsResponse { string next_page_token = 2; } -// The request message for [Conversations.GetConversation][google.cloud.dialogflow.v2beta1.Conversations.GetConversation]. +// The request message for +// [Conversations.GetConversation][google.cloud.dialogflow.v2beta1.Conversations.GetConversation]. message GetConversationRequest { // Required. The name of the conversation. Format: // `projects//locations//conversations//locations//locations//locations//locations//conversations//messages/`. string latest_message = 3 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Message" - }]; + type: "dialogflow.googleapis.com/Message" + }]; // Max number of messages prior to and including // [latest_message] to use as context when compiling the @@ -455,7 +480,8 @@ message SuggestConversationSummaryRequest { int32 context_size = 4; } -// The response message for [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary]. +// The response message for +// [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary]. message SuggestConversationSummaryResponse { // Generated summary for a conversation. message Summary { @@ -470,8 +496,8 @@ message SuggestConversationSummaryResponse { // The name of the answer record. Format: // "projects//answerRecords/" string answer_record = 3 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/AnswerRecord" - }]; + type: "dialogflow.googleapis.com/AnswerRecord" + }]; } // Generated summary. @@ -483,8 +509,8 @@ message SuggestConversationSummaryResponse { // Format: `projects//locations//conversations//messages/`. string latest_message = 2 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Message" - }]; + type: "dialogflow.googleapis.com/Message" + }]; // Number of messages prior to and including // [last_conversation_message][] used to compile the suggestion. It may be diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation_event.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation_event.proto index 7f47dcee08af..8299612ce728 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation_event.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation_event.proto @@ -21,7 +21,7 @@ import "google/rpc/status.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "ConversationEventProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation_profile.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation_profile.proto index 0c1f5529620f..371a31898ea2 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation_profile.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/conversation_profile.proto @@ -29,7 +29,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "ConversationProfileProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; @@ -43,7 +43,8 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}/conversationModels/{conversation_model}" }; -// Service for managing [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile]. +// Service for managing +// [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile]. service ConversationProfiles { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -51,7 +52,8 @@ service ConversationProfiles { "https://www.googleapis.com/auth/dialogflow"; // Returns the list of all conversation profiles in the specified project. - rpc ListConversationProfiles(ListConversationProfilesRequest) returns (ListConversationProfilesResponse) { + rpc ListConversationProfiles(ListConversationProfilesRequest) + returns (ListConversationProfilesResponse) { option (google.api.http) = { get: "/v2beta1/{parent=projects/*}/conversationProfiles" additional_bindings { @@ -62,7 +64,8 @@ service ConversationProfiles { } // Retrieves the specified conversation profile. - rpc GetConversationProfile(GetConversationProfileRequest) returns (ConversationProfile) { + rpc GetConversationProfile(GetConversationProfileRequest) + returns (ConversationProfile) { option (google.api.http) = { get: "/v2beta1/{name=projects/*/conversationProfiles/*}" additional_bindings { @@ -76,8 +79,10 @@ service ConversationProfiles { // // [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] // aren't populated in the response. You can retrieve them via - // [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. - rpc CreateConversationProfile(CreateConversationProfileRequest) returns (ConversationProfile) { + // [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + // API. + rpc CreateConversationProfile(CreateConversationProfileRequest) + returns (ConversationProfile) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*}/conversationProfiles" body: "conversation_profile" @@ -93,8 +98,10 @@ service ConversationProfiles { // // [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] // aren't populated in the response. You can retrieve them via - // [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API. - rpc UpdateConversationProfile(UpdateConversationProfileRequest) returns (ConversationProfile) { + // [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] + // API. + rpc UpdateConversationProfile(UpdateConversationProfileRequest) + returns (ConversationProfile) { option (google.api.http) = { patch: "/v2beta1/{conversation_profile.name=projects/*/conversationProfiles/*}" body: "conversation_profile" @@ -107,7 +114,8 @@ service ConversationProfiles { } // Deletes the specified conversation profile. - rpc DeleteConversationProfile(DeleteConversationProfileRequest) returns (google.protobuf.Empty) { + rpc DeleteConversationProfile(DeleteConversationProfileRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2beta1/{name=projects/*/conversationProfiles/*}" additional_bindings { @@ -126,14 +134,17 @@ service ConversationProfiles { // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // - // - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] - // - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + // - `metadata`: + // [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] + // - `response`: + // [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion // feature type exists, please cancel the existing long running operation // before sending such request, otherwise the request will be rejected. - rpc SetSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest) returns (google.longrunning.Operation) { + rpc SetSuggestionFeatureConfig(SetSuggestionFeatureConfigRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{conversation_profile=projects/*/conversationProfiles/*}:setSuggestionFeatureConfig" body: "*" @@ -156,9 +167,12 @@ service ConversationProfiles { // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // - // - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] - // - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] - rpc ClearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest) returns (google.longrunning.Operation) { + // - `metadata`: + // [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] + // - `response`: + // [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] + rpc ClearSuggestionFeatureConfig(ClearSuggestionFeatureConfigRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{conversation_profile=projects/*/conversationProfiles/*}:clearSuggestionFeatureConfig" body: "*" @@ -192,10 +206,12 @@ message ConversationProfile { string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Output only. Create time of the conversation profile. - google.protobuf.Timestamp create_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Update time of the conversation profile. - google.protobuf.Timestamp update_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Configuration for an automated agent to use with this profile. AutomatedAgentConfig automated_agent_config = 3; @@ -216,7 +232,8 @@ message ConversationProfile { LoggingConfig logging_config = 7; // Configuration for publishing new message events. Event will be sent in - // format of [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] + // format of + // [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] NotificationConfig new_message_event_notification_config = 8; // Settings for speech transcription. @@ -238,8 +255,8 @@ message ConversationProfile { // Format: `projects//locations//securitySettings/`. string security_settings = 13 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/CXSecuritySettings" - }]; + type: "dialogflow.googleapis.com/CXSecuritySettings" + }]; } // Defines the Automated Agent to connect to a conversation. @@ -365,8 +382,8 @@ message HumanAgentAssistantConfig { // // Supported feature: DIALOGFLOW_ASSIST. message DialogflowQuerySource { - // Required. The name of a dialogflow virtual agent used for end user side intent - // detection and suggestion. Format: `projects//locations//agent`. When multiple agents are allowed in // the same Dialogflow project. string agent = 1 [ @@ -443,8 +460,8 @@ message HumanAgentAssistantConfig { // Conversation model resource name. Format: `projects//conversationModels/`. string model = 1 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/ConversationModel" - }]; + type: "dialogflow.googleapis.com/ConversationModel" + }]; } // Config to process conversation. @@ -470,11 +487,17 @@ message HumanAgentAssistantConfig { // and identifies the prevailing subjective opinion, especially to determine // a user's attitude as positive, negative, or neutral: // https://cloud.google.com/natural-language/docs/basics#sentiment_analysis - // For [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method, result will be in + // For + // [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] + // method, result will be in // [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message]. - // For [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] method, result will be in + // For + // [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] + // method, result will be in // [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message] - // For [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] method, result will be in + // For + // [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] + // method, result will be in // [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages] // If Pub/Sub notification is configured, result will be in // [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload]. @@ -554,8 +577,10 @@ message NotificationConfig { // Name of the Pub/Sub topic to publish conversation // events like - // [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] as - // serialized [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos. + // [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] + // as serialized + // [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] + // protos. // // For telephony integration to receive notification, make sure either this // topic is in the same project as the conversation or you grant @@ -576,13 +601,15 @@ message NotificationConfig { // Defines logging behavior for conversation lifecycle events. message LoggingConfig { // Whether to log conversation events like - // [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] to - // Stackdriver in the conversation project as JSON format - // [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] protos. + // [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] + // to Stackdriver in the conversation project as JSON format + // [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] + // protos. bool enable_stackdriver_logging = 3; } -// The request message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles]. +// The request message for +// [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles]. message ListConversationProfilesRequest { // Required. The project to list all conversation profiles from. // Format: `projects//locations/`. @@ -601,7 +628,8 @@ message ListConversationProfilesRequest { string page_token = 3; } -// The response message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles]. +// The response message for +// [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles]. message ListConversationProfilesResponse { // The list of project conversation profiles. There is a maximum number // of items returned based on the page_size field in the request. @@ -612,7 +640,8 @@ message ListConversationProfilesResponse { string next_page_token = 2; } -// The request message for [ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]. +// The request message for +// [ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]. message GetConversationProfileRequest { // Required. The resource name of the conversation profile. // Format: `projects//locations//locations/`. @@ -637,19 +667,24 @@ message CreateConversationProfileRequest { ]; // Required. The conversation profile to create. - ConversationProfile conversation_profile = 2 [(google.api.field_behavior) = REQUIRED]; + ConversationProfile conversation_profile = 2 + [(google.api.field_behavior) = REQUIRED]; } -// The request message for [ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile]. +// The request message for +// [ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile]. message UpdateConversationProfileRequest { // Required. The conversation profile to update. - ConversationProfile conversation_profile = 1 [(google.api.field_behavior) = REQUIRED]; + ConversationProfile conversation_profile = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The mask to control which fields to update. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } -// The request message for [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile]. +// The request message for +// [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile]. // // This operation fails if the conversation profile is still referenced from // a phone number. @@ -675,10 +710,12 @@ message SetSuggestionFeatureConfigRequest { // Required. The participant role to add or update the suggestion feature // config. Only HUMAN_AGENT or END_USER can be used. - Participant.Role participant_role = 2 [(google.api.field_behavior) = REQUIRED]; + Participant.Role participant_role = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. The suggestion feature config to add or update. - HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = 3 [(google.api.field_behavior) = REQUIRED]; + HumanAgentAssistantConfig.SuggestionFeatureConfig suggestion_feature_config = + 3 [(google.api.field_behavior) = REQUIRED]; } // The request message for [ConversationProfiles.ClearFeature][]. @@ -690,10 +727,12 @@ message ClearSuggestionFeatureConfigRequest { // Required. The participant role to remove the suggestion feature // config. Only HUMAN_AGENT or END_USER can be used. - Participant.Role participant_role = 2 [(google.api.field_behavior) = REQUIRED]; + Participant.Role participant_role = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. The type of the suggestion feature to remove. - SuggestionFeature.Type suggestion_feature_type = 3 [(google.api.field_behavior) = REQUIRED]; + SuggestionFeature.Type suggestion_feature_type = 3 + [(google.api.field_behavior) = REQUIRED]; } // Metadata for a [ConversationProfile.SetSuggestionFeatureConfig][] @@ -706,10 +745,12 @@ message SetSuggestionFeatureConfigOperationMetadata { // Required. The participant role to add or update the suggestion feature // config. Only HUMAN_AGENT or END_USER can be used. - Participant.Role participant_role = 2 [(google.api.field_behavior) = REQUIRED]; + Participant.Role participant_role = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. The type of the suggestion feature to add or update. - SuggestionFeature.Type suggestion_feature_type = 3 [(google.api.field_behavior) = REQUIRED]; + SuggestionFeature.Type suggestion_feature_type = 3 + [(google.api.field_behavior) = REQUIRED]; // Timestamp whe the request was created. The time is measured on server side. google.protobuf.Timestamp create_time = 4; @@ -725,10 +766,12 @@ message ClearSuggestionFeatureConfigOperationMetadata { // Required. The participant role to remove the suggestion feature // config. Only HUMAN_AGENT or END_USER can be used. - Participant.Role participant_role = 2 [(google.api.field_behavior) = REQUIRED]; + Participant.Role participant_role = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. The type of the suggestion feature to remove. - SuggestionFeature.Type suggestion_feature_type = 3 [(google.api.field_behavior) = REQUIRED]; + SuggestionFeature.Type suggestion_feature_type = 3 + [(google.api.field_behavior) = REQUIRED]; // Timestamp whe the request was created. The time is measured on server side. google.protobuf.Timestamp create_time = 4; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/document.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/document.proto index 9ecdb5fb54cc..8e30bb5ad7cb 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/document.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/document.proto @@ -28,13 +28,14 @@ import "google/rpc/status.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; option objc_class_prefix = "DF"; -// Service for managing knowledge [Documents][google.cloud.dialogflow.v2beta1.Document]. +// Service for managing knowledge +// [Documents][google.cloud.dialogflow.v2beta1.Document]. service Documents { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -81,12 +82,14 @@ service Documents { // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // - // - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + // - `metadata`: + // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. - rpc CreateDocument(CreateDocumentRequest) returns (google.longrunning.Operation) { + rpc CreateDocument(CreateDocumentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*/knowledgeBases/*}/documents" body: "document" @@ -114,9 +117,12 @@ service Documents { // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // - // - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - // - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] - rpc ImportDocuments(ImportDocumentsRequest) returns (google.longrunning.Operation) { + // - `metadata`: + // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + // - `response`: + // [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] + rpc ImportDocuments(ImportDocumentsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*/knowledgeBases/*}/documents:import" body: "*" @@ -137,13 +143,15 @@ service Documents { // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // - // - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + // - `metadata`: + // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. - rpc DeleteDocument(DeleteDocumentRequest) returns (google.longrunning.Operation) { + rpc DeleteDocument(DeleteDocumentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}" additional_bindings { @@ -166,12 +174,14 @@ service Documents { // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // - // - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + // - `metadata`: + // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. - rpc UpdateDocument(UpdateDocumentRequest) returns (google.longrunning.Operation) { + rpc UpdateDocument(UpdateDocumentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2beta1/{document.name=projects/*/knowledgeBases/*/documents/*}" body: "document" @@ -204,12 +214,14 @@ service Documents { // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // - // - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] + // - `metadata`: + // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. - rpc ReloadDocument(ReloadDocumentRequest) returns (google.longrunning.Operation) { + rpc ReloadDocument(ReloadDocumentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{name=projects/*/knowledgeBases/*/documents/*}:reload" body: "*" @@ -230,7 +242,8 @@ service Documents { } } -// A knowledge document to be used by a [KnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBase]. +// A knowledge document to be used by a +// [KnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBase]. // // For more information, see the [knowledge base // guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases). @@ -321,7 +334,8 @@ message Document { string mime_type = 3 [(google.api.field_behavior) = REQUIRED]; // Required. The knowledge type of document content. - repeated KnowledgeType knowledge_types = 4 [(google.api.field_behavior) = REQUIRED]; + repeated KnowledgeType knowledge_types = 4 + [(google.api.field_behavior) = REQUIRED]; // The source of this document. oneof source { @@ -368,7 +382,8 @@ message Document { // Output only. The time and status of the latest reload. // This reload may have been triggered automatically or manually // and may not have succeeded. - ReloadStatus latest_reload_status = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + ReloadStatus latest_reload_status = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Metadata for the document. The metadata supports arbitrary // key-value pairs. Suggested use cases include storing a document's title, @@ -380,7 +395,8 @@ message Document { State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// Request message for [Documents.GetDocument][google.cloud.dialogflow.v2beta1.Documents.GetDocument]. +// Request message for +// [Documents.GetDocument][google.cloud.dialogflow.v2beta1.Documents.GetDocument]. message GetDocumentRequest { // Required. The name of the document to retrieve. // Format `projects//locations//locations//locations//locations/ metadata = 3; } -// Response message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments]. +// Response message for +// [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments]. message ImportDocumentsResponse { // Includes details about skipped documents or any other warnings. repeated google.rpc.Status warnings = 1; } -// Request message for [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument]. +// Request message for +// [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument]. message DeleteDocumentRequest { // Required. The name of the document to delete. // Format: `projects//locations//locations//agent/entityTypes/` // - `projects//locations//agent/entityTypes/` @@ -362,7 +374,8 @@ message EntityType { // Optional. Indicates whether the entity type can be automatically // expanded. - AutoExpansionMode auto_expansion_mode = 4 [(google.api.field_behavior) = OPTIONAL]; + AutoExpansionMode auto_expansion_mode = 4 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The collection of entity entries associated with the entity type. repeated Entity entities = 6 [(google.api.field_behavior) = OPTIONAL]; @@ -371,7 +384,8 @@ message EntityType { bool enable_fuzzy_extraction = 7 [(google.api.field_behavior) = OPTIONAL]; } -// The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes]. +// The request message for +// [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes]. message ListEntityTypesRequest { // Required. The agent to list all entity types from. // Supported formats: @@ -399,7 +413,8 @@ message ListEntityTypesRequest { string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; } -// The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes]. +// The response message for +// [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes]. message ListEntityTypesResponse { // The list of agent entity types. There will be a maximum number of items // returned based on the page_size field in the request. @@ -410,7 +425,8 @@ message ListEntityTypesResponse { string next_page_token = 2; } -// The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType]. +// The request message for +// [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType]. message GetEntityTypeRequest { // Required. The name of the entity type. // Supported formats: @@ -432,7 +448,8 @@ message GetEntityTypeRequest { string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; } -// The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType]. +// The request message for +// [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType]. message CreateEntityTypeRequest { // Required. The agent to create a entity type for. // Supported formats: @@ -456,7 +473,8 @@ message CreateEntityTypeRequest { string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; } -// The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]. +// The request message for +// [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType]. message UpdateEntityTypeRequest { // Required. The entity type to update. EntityType entity_type = 1 [(google.api.field_behavior) = REQUIRED]; @@ -469,10 +487,12 @@ message UpdateEntityTypeRequest { string language_code = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = OPTIONAL]; } -// The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType]. +// The request message for +// [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType]. message DeleteEntityTypeRequest { // Required. The name of the entity type to delete. // Supported formats: @@ -487,7 +507,8 @@ message DeleteEntityTypeRequest { ]; } -// The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]. +// The request message for +// [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]. message BatchUpdateEntityTypesRequest { // Required. The name of the agent to update or create entity types in. // Supported formats: @@ -525,16 +546,19 @@ message BatchUpdateEntityTypesRequest { string language_code = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The mask to control which fields get updated. - google.protobuf.FieldMask update_mask = 5 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 5 + [(google.api.field_behavior) = OPTIONAL]; } -// The response message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]. +// The response message for +// [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes]. message BatchUpdateEntityTypesResponse { // The collection of updated or created entity types. repeated EntityType entity_types = 1; } -// The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes]. +// The request message for +// [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes]. message BatchDeleteEntityTypesRequest { // Required. The name of the agent to delete all entities types for. // Supported formats: @@ -549,10 +573,12 @@ message BatchDeleteEntityTypesRequest { // Required. The names entity types to delete. All names must point to the // same agent as `parent`. - repeated string entity_type_names = 2 [(google.api.field_behavior) = REQUIRED]; + repeated string entity_type_names = 2 + [(google.api.field_behavior) = REQUIRED]; } -// The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities]. +// The request message for +// [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities]. message BatchCreateEntitiesRequest { // Required. The name of the entity type to create entities in. // Supported formats: @@ -567,7 +593,8 @@ message BatchCreateEntitiesRequest { ]; // Required. The entities to create. - repeated EntityType.Entity entities = 2 [(google.api.field_behavior) = REQUIRED]; + repeated EntityType.Entity entities = 2 + [(google.api.field_behavior) = REQUIRED]; // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. @@ -577,7 +604,8 @@ message BatchCreateEntitiesRequest { string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; } -// The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities]. +// The request message for +// [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities]. message BatchUpdateEntitiesRequest { // Required. The name of the entity type to update or create entities in. // Supported formats: @@ -592,7 +620,8 @@ message BatchUpdateEntitiesRequest { ]; // Required. The entities to update or create. - repeated EntityType.Entity entities = 2 [(google.api.field_behavior) = REQUIRED]; + repeated EntityType.Entity entities = 2 + [(google.api.field_behavior) = REQUIRED]; // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. @@ -605,7 +634,8 @@ message BatchUpdateEntitiesRequest { google.protobuf.FieldMask update_mask = 4; } -// The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities]. +// The request message for +// [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities]. message BatchDeleteEntitiesRequest { // Required. The name of the entity type to delete entries for. // Supported formats: diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/environment.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/environment.proto index dd95cab9af3a..dbe45f9293af 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/environment.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/environment.proto @@ -28,13 +28,14 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "EnvironmentProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; option objc_class_prefix = "DF"; -// Service for managing [Environments][google.cloud.dialogflow.v2beta1.Environment]. +// Service for managing +// [Environments][google.cloud.dialogflow.v2beta1.Environment]. service Environments { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -42,7 +43,8 @@ service Environments { "https://www.googleapis.com/auth/dialogflow"; // Returns the list of all non-draft environments of the specified agent. - rpc ListEnvironments(ListEnvironmentsRequest) returns (ListEnvironmentsResponse) { + rpc ListEnvironments(ListEnvironmentsRequest) + returns (ListEnvironmentsResponse) { option (google.api.http) = { get: "/v2beta1/{parent=projects/*/agent}/environments" additional_bindings { @@ -98,7 +100,8 @@ service Environments { } // Deletes the specified agent environment. - rpc DeleteEnvironment(DeleteEnvironmentRequest) returns (google.protobuf.Empty) { + rpc DeleteEnvironment(DeleteEnvironmentRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2beta1/{name=projects/*/agent/environments/*}" additional_bindings { @@ -108,7 +111,8 @@ service Environments { } // Gets the history of the specified environment. - rpc GetEnvironmentHistory(GetEnvironmentHistoryRequest) returns (EnvironmentHistory) { + rpc GetEnvironmentHistory(GetEnvironmentHistoryRequest) + returns (EnvironmentHistory) { option (google.api.http) = { get: "/v2beta1/{parent=projects/*/agent/environments/*}/history" additional_bindings { @@ -185,16 +189,18 @@ message Environment { } ]; - // Output only. The state of this environment. This field is read-only, i.e., it cannot be - // set by create and update methods. + // Output only. The state of this environment. This field is read-only, i.e., + // it cannot be set by create and update methods. State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The last update time of this environment. This field is read-only, i.e., it - // cannot be set by create and update methods. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The last update time of this environment. This field is + // read-only, i.e., it cannot be set by create and update methods. + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Text to speech settings for this environment. - TextToSpeechSettings text_to_speech_settings = 7 [(google.api.field_behavior) = OPTIONAL]; + TextToSpeechSettings text_to_speech_settings = 7 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The fulfillment settings to use for this environment. Fulfillment fulfillment = 8 [(google.api.field_behavior) = OPTIONAL]; @@ -202,27 +208,30 @@ message Environment { // Instructs the speech synthesizer on how to generate the output audio content. message TextToSpeechSettings { - // Optional. Indicates whether text to speech is enabled. Even when this field is false, - // other settings in this proto are still retained. + // Optional. Indicates whether text to speech is enabled. Even when this field + // is false, other settings in this proto are still retained. bool enable_text_to_speech = 1 [(google.api.field_behavior) = OPTIONAL]; // Required. Audio encoding of the synthesized audio content. - OutputAudioEncoding output_audio_encoding = 2 [(google.api.field_behavior) = REQUIRED]; - - // Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then - // the synthesizer will use the default sample rate based on the audio - // encoding. If this is different from the voice's natural sample rate, then - // the synthesizer will honor this request by converting to the desired sample - // rate (which might result in worse audio quality). + OutputAudioEncoding output_audio_encoding = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. The synthesis sample rate (in hertz) for this audio. If not + // provided, then the synthesizer will use the default sample rate based on + // the audio encoding. If this is different from the voice's natural sample + // rate, then the synthesizer will honor this request by converting to the + // desired sample rate (which might result in worse audio quality). int32 sample_rate_hertz = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Configuration of how speech should be synthesized, mapping from language - // (https://cloud.google.com/dialogflow/docs/reference/language) to + // Optional. Configuration of how speech should be synthesized, mapping from + // language (https://cloud.google.com/dialogflow/docs/reference/language) to // SynthesizeSpeechConfig. - map synthesize_speech_configs = 4 [(google.api.field_behavior) = OPTIONAL]; + map synthesize_speech_configs = 4 + [(google.api.field_behavior) = OPTIONAL]; } -// The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments]. +// The request message for +// [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments]. message ListEnvironmentsRequest { // Required. The agent to list all environments from. // Format: @@ -235,15 +244,16 @@ message ListEnvironmentsRequest { } ]; - // Optional. The maximum number of items to return in a single page. By default 100 and - // at most 1000. + // Optional. The maximum number of items to return in a single page. By + // default 100 and at most 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The next_page_token value returned from a previous list request. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } -// The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments]. +// The response message for +// [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments]. message ListEnvironmentsResponse { // The list of agent environments. There will be a maximum number of items // returned based on the page_size field in the request. @@ -254,7 +264,8 @@ message ListEnvironmentsResponse { string next_page_token = 2; } -// The request message for [Environments.GetEnvironment][google.cloud.dialogflow.v2beta1.Environments.GetEnvironment]. +// The request message for +// [Environments.GetEnvironment][google.cloud.dialogflow.v2beta1.Environments.GetEnvironment]. message GetEnvironmentRequest { // Required. The name of the environment. // Supported formats: @@ -269,7 +280,8 @@ message GetEnvironmentRequest { ]; } -// The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment]. +// The request message for +// [Environments.CreateEnvironment][google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment]. message CreateEnvironmentRequest { // Required. The agent to create an environment for. // Supported formats: @@ -289,22 +301,26 @@ message CreateEnvironmentRequest { string environment_id = 3 [(google.api.field_behavior) = REQUIRED]; } -// The request message for [Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment]. +// The request message for +// [Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment]. message UpdateEnvironmentRequest { // Required. The environment to update. Environment environment = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The mask to control which fields get updated. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; // Optional. This field is used to prevent accidental overwrite of the draft // environment, which is an operation that cannot be undone. To confirm that // the caller desires this overwrite, this field must be explicitly set to // true when updating the draft environment (environment ID = `-`). - bool allow_load_to_draft_and_discard_changes = 3 [(google.api.field_behavior) = OPTIONAL]; + bool allow_load_to_draft_and_discard_changes = 3 + [(google.api.field_behavior) = OPTIONAL]; } -// The request message for [Environments.DeleteEnvironment][google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment]. +// The request message for +// [Environments.DeleteEnvironment][google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment]. message DeleteEnvironmentRequest { // Required. The name of the environment to delete. // / Format: @@ -319,7 +335,8 @@ message DeleteEnvironmentRequest { ]; } -// The request message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory]. +// The request message for +// [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory]. message GetEnvironmentHistoryRequest { // Required. The name of the environment to retrieve history for. // Supported formats: @@ -333,15 +350,16 @@ message GetEnvironmentHistoryRequest { } ]; - // Optional. The maximum number of items to return in a single page. By default 100 and - // at most 1000. + // Optional. The maximum number of items to return in a single page. By + // default 100 and at most 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The next_page_token value returned from a previous list request. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } -// The response message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory]. +// The response message for +// [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory]. message EnvironmentHistory { // Represents an environment history entry. message Entry { @@ -362,11 +380,11 @@ message EnvironmentHistory { // ID>/agent/environments/` string parent = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The list of agent environments. There will be a maximum number of items - // returned based on the page_size field in the request. + // Output only. The list of agent environments. There will be a maximum number + // of items returned based on the page_size field in the request. repeated Entry entries = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Token to retrieve the next page of results, or empty if there are no - // more results in the list. + // Output only. Token to retrieve the next page of results, or empty if there + // are no more results in the list. string next_page_token = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/fulfillment.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/fulfillment.proto index 8efe32af2f0c..fd8d55893764 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/fulfillment.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/fulfillment.proto @@ -24,13 +24,14 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "FulfillmentProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; option objc_class_prefix = "DF"; -// Service for managing [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment]. +// Service for managing +// [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment]. service Fulfillments { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -101,15 +102,13 @@ message Fulfillment { // The HTTP request headers to send together with fulfillment requests. map request_headers = 4; - // Optional. Indicates if generic web service is created through Cloud Functions - // integration. Defaults to false. + // Optional. Indicates if generic web service is created through Cloud + // Functions integration. Defaults to false. // // is_cloud_function is deprecated. Cloud functions can be configured by // its uri as a regular web service now. - bool is_cloud_function = 5 [ - deprecated = true, - (google.api.field_behavior) = OPTIONAL - ]; + bool is_cloud_function = 5 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; } // Whether fulfillment is enabled for the specific feature. @@ -154,7 +153,8 @@ message Fulfillment { repeated Feature features = 5; } -// The request message for [Fulfillments.GetFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment]. +// The request message for +// [Fulfillments.GetFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment]. message GetFulfillmentRequest { // Required. The name of the fulfillment. // Supported formats: @@ -169,12 +169,14 @@ message GetFulfillmentRequest { ]; } -// The request message for [Fulfillments.UpdateFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment]. +// The request message for +// [Fulfillments.UpdateFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment]. message UpdateFulfillmentRequest { // Required. The fulfillment to update. Fulfillment fulfillment = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The mask to control which fields get updated. If the mask is not // present, all fields will be updated. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/gcs.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/gcs.proto index debb5786c060..73cd686d3b08 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/gcs.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/gcs.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "GcsProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/human_agent_assistant_event.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/human_agent_assistant_event.proto index 9716f74e5b05..af050a007acd 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/human_agent_assistant_event.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/human_agent_assistant_event.proto @@ -20,7 +20,7 @@ import "google/cloud/dialogflow/v2beta1/participant.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "HumanAgentAssistantEventProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; @@ -34,12 +34,13 @@ message HumanAgentAssistantEvent { string conversation = 1; // The participant that the suggestion is compiled for. And This field is used - // to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format: - // `projects//conversations//conversations//participants/`. // It will not be set in legacy workflow. - // [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more - // information. + // [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] + // for more information. string participant = 3; // The suggestion results payload that this notification refers to. It will diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/intent.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/intent.proto index 99e9cafd7624..c982e1fdbf44 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/intent.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/intent.proto @@ -28,7 +28,7 @@ import "google/protobuf/struct.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "IntentProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; @@ -132,12 +132,14 @@ service Intents { // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - // - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] + // - `response`: + // [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). - rpc BatchUpdateIntents(BatchUpdateIntentsRequest) returns (google.longrunning.Operation) { + rpc BatchUpdateIntents(BatchUpdateIntentsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*/agent}/intents:batchUpdate" body: "*" @@ -168,7 +170,8 @@ service Intents { // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). - rpc BatchDeleteIntents(BatchDeleteIntentsRequest) returns (google.longrunning.Operation) { + rpc BatchDeleteIntents(BatchDeleteIntentsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*/agent}/intents:batchDelete" body: "*" @@ -271,7 +274,9 @@ message Intent { // so the training phrase is well formatted when the parts are concatenated. // // If the training phrase does not need to be annotated with parameters, - // you just need a single part with only the [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] field set. + // you just need a single part with only the + // [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] + // field set. // // If you want to annotate the training phrase, you must create multiple // parts, where the fields of each part are populated in one of two ways: @@ -620,7 +625,9 @@ message Intent { // with media and suggestions. // // If you want to show a single card with more control over the layout, - // please use [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] instead. + // please use + // [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] + // instead. message RbmCarouselCard { // The width of the cards in the carousel. enum CardWidth { @@ -647,8 +654,9 @@ message Intent { // Rich cards allow you to respond to users with more vivid content, e.g. // with media and suggestions. // - // You can group multiple rich cards into one using [RbmCarouselCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] but - // carousel cards will give you less control over the card layout. + // You can group multiple rich cards into one using + // [RbmCarouselCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] + // but carousel cards will give you less control over the card layout. message RbmStandaloneCard { // Orientation of the card. enum CardOrientation { @@ -811,9 +819,7 @@ message Intent { // Opens the device's location chooser so the user can pick a location // to send back to the agent. - message RbmSuggestedActionShareLocation { - - } + message RbmSuggestedActionShareLocation {} // Text to display alongside the action. string text = 1; @@ -980,7 +986,8 @@ message Intent { repeated BasicCard.Button buttons = 6; } - // Column properties for [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard]. + // Column properties for + // [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard]. message ColumnProperties { // Text alignments within a cell. enum HorizontalAlignment { @@ -1004,7 +1011,8 @@ message Intent { HorizontalAlignment horizontal_alignment = 2; } - // Row of [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard]. + // Row of + // [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard]. message TableCardRow { // Optional. List of cells that make up this row. repeated TableCardCell cells = 1; @@ -1013,7 +1021,8 @@ message Intent { bool divider_after = 2; } - // Cell of [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow]. + // Cell of + // [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow]. message TableCardCell { // Required. Text in this cell. string text = 1; @@ -1101,7 +1110,10 @@ message Intent { } // Optional. The unique identifier of this intent. - // Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] + // Required for + // [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] + // and + // [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] // methods. // Supported formats: // @@ -1140,10 +1152,8 @@ message Intent { // ml_enabled = false / ml_disabled = true. // - After April 15th, 2018 the default is: // ml_enabled = true / ml_disabled = false. - bool ml_enabled = 5 [ - deprecated = true, - (google.api.field_behavior) = OPTIONAL - ]; + bool ml_enabled = 5 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Optional. Indicates whether Machine Learning is disabled for the intent. // Note: If `ml_disabled` setting is set to true, then this intent is not @@ -1169,7 +1179,8 @@ message Intent { // - `projects//agent/sessions/-/contexts/` // - `projects//locations//agent/sessions/-/contexts/` - repeated string input_context_names = 7 [(google.api.field_behavior) = OPTIONAL]; + repeated string input_context_names = 7 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The collection of event names that trigger the intent. // If the collection of input contexts is not empty, all of the contexts must @@ -1179,7 +1190,8 @@ message Intent { // Optional. The collection of examples that the agent is // trained on. - repeated TrainingPhrase training_phrases = 9 [(google.api.field_behavior) = OPTIONAL]; + repeated TrainingPhrase training_phrases = 9 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The name of the action associated with the intent. // Note: The action name must not contain whitespaces. @@ -1190,7 +1202,8 @@ message Intent { // parameters field. Setting the `lifespan_count` to 0 will reset the context // when the intent is matched. // Format: `projects//agent/sessions/-/contexts/`. - repeated Context output_contexts = 11 [(google.api.field_behavior) = OPTIONAL]; + repeated Context output_contexts = 11 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Indicates whether to delete all contexts in the current // session when this intent is matched. @@ -1205,31 +1218,37 @@ message Intent { // Optional. The list of platforms for which the first responses will be // copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). - repeated Message.Platform default_response_platforms = 15 [(google.api.field_behavior) = OPTIONAL]; + repeated Message.Platform default_response_platforms = 15 + [(google.api.field_behavior) = OPTIONAL]; // Output only. The unique identifier of the root intent in the chain of // followup intents. It identifies the correct followup intents chain for // this intent. // // Format: `projects//agent/intents/`. - string root_followup_intent_name = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + string root_followup_intent_name = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. The unique identifier of the parent intent in the // chain of followup intents. You can set this field when creating an intent, - // for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or - // [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this - // intent a followup intent. + // for example with + // [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or + // [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], + // in order to make this intent a followup intent. // // It identifies the parent followup intent. // Format: `projects//agent/intents/`. - string parent_followup_intent_name = 17 [(google.api.field_behavior) = OPTIONAL]; + string parent_followup_intent_name = 17 + [(google.api.field_behavior) = OPTIONAL]; - // Output only. Information about all followup intents that have this intent as - // a direct or indirect parent. We populate this field only in the output. - repeated FollowupIntentInfo followup_intent_info = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Information about all followup intents that have this intent + // as a direct or indirect parent. We populate this field only in the output. + repeated FollowupIntentInfo followup_intent_info = 18 + [(google.api.field_behavior) = OUTPUT_ONLY]; } -// The request message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents]. +// The request message for +// [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents]. message ListIntentsRequest { // Required. The agent to list all intents from. // Format: `projects//agent` or `projects//locations/`. @@ -211,7 +215,8 @@ message ListKnowledgeBasesRequest { string filter = 4; } -// Response message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases]. +// Response message for +// [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases]. message ListKnowledgeBasesResponse { // The list of knowledge bases. repeated KnowledgeBase knowledge_bases = 1; @@ -221,7 +226,8 @@ message ListKnowledgeBasesResponse { string next_page_token = 2; } -// Request message for [KnowledgeBases.GetKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase]. +// Request message for +// [KnowledgeBases.GetKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase]. message GetKnowledgeBaseRequest { // Required. The name of the knowledge base to retrieve. // Format `projects//locations//locations/`. @@ -249,7 +256,8 @@ message CreateKnowledgeBaseRequest { KnowledgeBase knowledge_base = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase]. +// Request message for +// [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase]. message DeleteKnowledgeBaseRequest { // Required. The name of the knowledge base to delete. // Format: `projects//locations/ [first item's create_time of previous // request]` and empty page_token. - rpc ListSuggestions(ListSuggestionsRequest) returns (ListSuggestionsResponse) { + rpc ListSuggestions(ListSuggestionsRequest) + returns (ListSuggestionsResponse) { option deprecated = true; option (google.api.http) = { get: "/v2beta1/{parent=projects/*/conversations/*/participants/*}/suggestions" }; } - // Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead. + // Deprecated. use + // [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] + // and + // [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] + // instead. // // Gets suggestions for a participant based on specific historical // messages. // - // Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated - // suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion - // based on the provided conversation context in the real time. - rpc CompileSuggestion(CompileSuggestionRequest) returns (CompileSuggestionResponse) { + // Note that + // [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] + // will only list the auto-generated suggestions, while + // [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] + // will try to compile suggestion based on the provided conversation context + // in the real time. + rpc CompileSuggestion(CompileSuggestionRequest) + returns (CompileSuggestionResponse) { option deprecated = true; option (google.api.http) = { post: "/v2beta1/{parent=projects/*/conversations/*/participants/*}/suggestions:compile" @@ -247,23 +264,27 @@ message Participant { // ID>/conversations//participants/`. string name = 1 [(google.api.field_behavior) = OPTIONAL]; - // Immutable. The role this participant plays in the conversation. This field must be set - // during participant creation and is then immutable. + // Immutable. The role this participant plays in the conversation. This field + // must be set during participant creation and is then immutable. Role role = 2 [(google.api.field_behavior) = IMMUTABLE]; - // Optional. Obfuscated user id that should be associated with the created participant. + // Optional. Obfuscated user id that should be associated with the created + // participant. // // You can specify a user id as follows: // // 1. If you set this field in - // [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] or + // [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] + // or // [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant], // Dialogflow adds the obfuscated user id with the participant. // // 2. If you set this field in - // [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] or + // [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] + // or // [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id], - // Dialogflow will update [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id]. + // Dialogflow will update + // [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id]. // // Dialogflow uses this user id for following purposes: // 1) Billing and measurement. If user with the same @@ -279,14 +300,16 @@ message Participant { // * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a // hash function like SHA-512. // * The length of the user id must be <= 256 characters. - string obfuscated_external_user_id = 7 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Key-value filters on the metadata of documents returned by article - // suggestion. If specified, article suggestion only returns suggested - // documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple - // values for a metadata key should be concatenated by comma. For example, - // filters to match all documents that have 'US' or 'CA' in their market - // metadata values and 'agent' in their user metadata values will be + string obfuscated_external_user_id = 7 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Key-value filters on the metadata of documents returned by + // article suggestion. If specified, article suggestion only returns suggested + // documents that match all filters in their + // [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. + // Multiple values for a metadata key should be concatenated by comma. For + // example, filters to match all documents that have 'US' or 'CA' in their + // market metadata values and 'agent' in their user metadata values will be // ``` // documents_metadata_filters { // key: "market" @@ -297,7 +320,8 @@ message Participant { // value: "agent" // } // ``` - map documents_metadata_filters = 8 [(google.api.field_behavior) = OPTIONAL]; + map documents_metadata_filters = 8 + [(google.api.field_behavior) = OPTIONAL]; } // Represents a message posted into a conversation. @@ -325,22 +349,28 @@ message Message { string participant = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The role of the participant. - Participant.Role participant_role = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + Participant.Role participant_role = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the message was created in Contact Center AI. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. The time when the message was sent. - google.protobuf.Timestamp send_time = 9 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp send_time = 9 + [(google.api.field_behavior) = OPTIONAL]; // Output only. The annotation for the message. - MessageAnnotation message_annotation = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + MessageAnnotation message_annotation = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The sentiment analysis result for the message. - SentimentAnalysisResult sentiment_analysis = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + SentimentAnalysisResult sentiment_analysis = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; } -// The request message for [Participants.CreateParticipant][google.cloud.dialogflow.v2beta1.Participants.CreateParticipant]. +// The request message for +// [Participants.CreateParticipant][google.cloud.dialogflow.v2beta1.Participants.CreateParticipant]. message CreateParticipantRequest { // Required. Resource identifier of the conversation adding the participant. // Format: `projects//locations//locations//conversations//locations//locations/ // /agents//intents/`. string intent = 4 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Intent" - }]; + type: "dialogflow.googleapis.com/Intent" + }]; // Event name if an event is triggered for the query. string event = 5; @@ -531,10 +568,11 @@ message SuggestionFeature { message AssistQueryParameters { // Key-value filters on the metadata of documents returned by article // suggestion. If specified, article suggestion only returns suggested - // documents that match all filters in their [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. Multiple - // values for a metadata key should be concatenated by comma. For example, - // filters to match all documents that have 'US' or 'CA' in their market - // metadata values and 'agent' in their user metadata values will be + // documents that match all filters in their + // [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. + // Multiple values for a metadata key should be concatenated by comma. For + // example, filters to match all documents that have 'US' or 'CA' in their + // market metadata values and 'agent' in their user metadata values will be // ``` // documents_metadata_filters { // key: "market" @@ -548,7 +586,8 @@ message AssistQueryParameters { map documents_metadata_filters = 1; } -// The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]. +// The request message for +// [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]. message AnalyzeContentRequest { // Required. The name of the participant this text comes from. // Format: `projects//locations//locations//answerRecords/" string answer_record = 3 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/AnswerRecord" - }]; + type: "dialogflow.googleapis.com/AnswerRecord" + }]; } // One response of different type of suggestion response which is used in -// the response of [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and -// [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent], as well as [HumanAgentAssistantEvent][google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent]. +// the response of +// [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] +// and +// [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent], +// as well as +// [HumanAgentAssistantEvent][google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent]. message SuggestionResult { // Different type of suggestion response. oneof suggestion_response { @@ -1009,7 +1070,8 @@ message SuggestionResult { } } -// The request message for [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles]. +// The request message for +// [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles]. message SuggestArticlesRequest { // Required. The name of the participant to fetch suggestion for. // Format: `projects//locations//locations//locations//locations//conversations//messages/`. string latest_message = 2 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Message" - }]; + type: "dialogflow.googleapis.com/Message" + }]; // Optional. Max number of messages prior to and including // [latest_message] to use as context when compiling the @@ -1147,7 +1218,8 @@ message SuggestSmartRepliesRequest { int32 context_size = 3; } -// The response message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies]. +// The response message for +// [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies]. message SuggestSmartRepliesResponse { // Output only. Multiple reply options provided by smart reply service. The // order is based on the rank of the model prediction. @@ -1160,14 +1232,15 @@ message SuggestSmartRepliesResponse { // Format: `projects//locations//conversations//messages/`. string latest_message = 2 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Message" - }]; + type: "dialogflow.googleapis.com/Message" + }]; // Number of messages prior to and including - // [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message] to compile the - // suggestion. It may be smaller than the - // [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] field in the request if there - // aren't that many messages in the conversation. + // [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message] + // to compile the suggestion. It may be smaller than the + // [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] + // field in the request if there aren't that many messages in the + // conversation. int32 context_size = 3; } @@ -1247,7 +1320,8 @@ message Suggestion { string latest_message = 7; } -// The request message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]. +// The request message for +// [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]. message ListSuggestionsRequest { option deprecated = true; @@ -1274,7 +1348,8 @@ message ListSuggestionsRequest { string filter = 4; } -// The response message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]. +// The response message for +// [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions]. message ListSuggestionsResponse { option deprecated = true; @@ -1288,7 +1363,8 @@ message ListSuggestionsResponse { string next_page_token = 2; } -// The request message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]. +// The request message for +// [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]. message CompileSuggestionRequest { option deprecated = true; @@ -1310,7 +1386,8 @@ message CompileSuggestionRequest { int32 context_size = 3; } -// The response message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]. +// The response message for +// [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion]. message CompileSuggestionResponse { option deprecated = true; @@ -1327,8 +1404,9 @@ message CompileSuggestionResponse { // Number of messages prior to and including // [latest_message][google.cloud.dialogflow.v2beta1.CompileSuggestionResponse.latest_message] // to compile the suggestion. It may be smaller than the - // [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] field in the request if - // there aren't that many messages in the conversation. + // [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] + // field in the request if there aren't that many messages in the + // conversation. int32 context_size = 3; } @@ -1358,9 +1436,7 @@ message ResponseMessage { } // Indicates that interaction with the Dialogflow agent has ended. - message EndInteraction { - - } + message EndInteraction {} // Represents an audio message that is composed of both segments // synthesized from the Dialogflow agent prompts and ones hosted externally diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session.proto index 4f45bce45bbe..a34f80f95961 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session.proto @@ -33,7 +33,7 @@ import "google/type/latlng.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "SessionProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; @@ -105,8 +105,8 @@ service Sessions { // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). - rpc StreamingDetectIntent(stream StreamingDetectIntentRequest) returns (stream StreamingDetectIntentResponse) { - } + rpc StreamingDetectIntent(stream StreamingDetectIntentRequest) + returns (stream StreamingDetectIntentResponse) {} } // The request to detect user's intent. @@ -159,12 +159,14 @@ message DetectIntentRequest { // configured, no output audio is generated. OutputAudioConfig output_audio_config = 4; - // Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this - // request-level config should override speech synthesizer settings defined at - // agent-level. + // Mask for + // [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] + // indicating which settings in this request-level config should override + // speech synthesizer settings defined at agent-level. // - // If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level - // config in its entirety. + // If unspecified or empty, + // [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] + // replaces the agent-level config in its entirety. google.protobuf.FieldMask output_audio_config_mask = 7; // The natural language speech audio to be processed. This field @@ -438,8 +440,8 @@ message KnowledgeAnswers { // Format: `projects//knowledgeBases//documents/`. string source = 1 [(google.api.resource_reference) = { - type: "dialogflow.googleapis.com/Document" - }]; + type: "dialogflow.googleapis.com/Document" + }]; // The corresponding FAQ question if the answer was extracted from a FAQ // Document, empty otherwise. @@ -473,25 +475,29 @@ message KnowledgeAnswers { } // The top-level message sent by the client to the -// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent] method. +// [Sessions.StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent] +// method. // // Multiple request messages should be sent in order: // // 1. The first message must contain // [session][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.session], -// [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] plus optionally -// [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. If the client -// wants to receive an audio response, it should also contain +// [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] +// plus optionally +// [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. +// If the client wants to receive an audio response, it should also contain // [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]. // The message must not contain // [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio]. -// 2. If [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] was set to -// [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], all subsequent -// messages must contain -// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] to continue with -// Speech recognition. -// If you decide to rather detect an intent from text input after you -// already started Speech recognition, please send a message with +// 2. If +// [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] +// was set to +// [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], +// all subsequent messages must contain +// [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] +// to continue with Speech recognition. If you decide to rather detect an +// intent from text input after you already started Speech recognition, +// please send a message with // [query_input.text][google.cloud.dialogflow.v2beta1.QueryInput.text]. // // However, note that: @@ -547,15 +553,15 @@ message StreamingDetectIntentRequest { // 3. an event that specifies which intent to trigger. QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED]; - // DEPRECATED. Please use [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] instead. - // If `false` (default), recognition does not cease until the - // client closes the stream. - // If `true`, the recognizer will detect a single spoken utterance in input - // audio. Recognition ceases when it detects the audio's voice has - // stopped or paused. In this case, once a detected intent is received, the - // client should close the stream and start a new request with a new stream as - // needed. - // This setting is ignored when `query_input` is a piece of text or an event. + // DEPRECATED. Please use + // [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] + // instead. If `false` (default), recognition does not cease until the client + // closes the stream. If `true`, the recognizer will detect a single spoken + // utterance in input audio. Recognition ceases when it detects the audio's + // voice has stopped or paused. In this case, once a detected intent is + // received, the client should close the stream and start a new request with a + // new stream as needed. This setting is ignored when `query_input` is a piece + // of text or an event. bool single_utterance = 4 [deprecated = true]; // Instructs the speech synthesizer how to generate the output @@ -563,12 +569,14 @@ message StreamingDetectIntentRequest { // configured, no output audio is generated. OutputAudioConfig output_audio_config = 5; - // Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] indicating which settings in this - // request-level config should override speech synthesizer settings defined at - // agent-level. + // Mask for + // [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] + // indicating which settings in this request-level config should override + // speech synthesizer settings defined at agent-level. // - // If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] replaces the agent-level - // config in its entirety. + // If unspecified or empty, + // [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] + // replaces the agent-level config in its entirety. google.protobuf.FieldMask output_audio_config_mask = 7; // The input audio content to be recognized. Must be sent if @@ -585,8 +593,9 @@ message StreamingDetectIntentRequest { // 1. If the `StreamingDetectIntentRequest.input_audio` field was // set, the `recognition_result` field is populated for one // or more messages. -// See the [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] message for details -// about the result message sequence. +// See the +// [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] +// message for details about the result message sequence. // // 2. The next message contains `response_id`, `query_result`, // `alternative_query_results` and optionally `webhook_status` if a WebHook @@ -736,7 +745,8 @@ message StreamingRecognitionResult { float stability = 6; // Word-specific information for the words recognized by Speech in - // [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and + // [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. + // Populated if and only if `message_type` = `TRANSCRIPT` and // [InputAudioConfig.enable_word_info] is set. repeated SpeechWordInfo speech_word_info = 7; @@ -797,8 +807,8 @@ message EventInput { // the same session do not necessarily need to specify the same language. // // This field is ignored when used in the context of a - // [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] field, - // because the language was already defined in the originating detect + // [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] + // field, because the language was already defined in the originating detect // intent request. string language_code = 3; } @@ -815,11 +825,14 @@ message SentimentAnalysisRequestConfig { // and identifies the prevailing subjective opinion, especially to determine a // user's attitude as positive, negative, or neutral. // For [Participants.DetectIntent][], it needs to be configured in -// [DetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. For -// [Participants.StreamingDetectIntent][], it needs to be configured in +// [DetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. +// For [Participants.StreamingDetectIntent][], it needs to be configured in // [StreamingDetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. -// And for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and -// [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], it needs to be configured in +// And for +// [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] +// and +// [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], +// it needs to be configured in // [ConversationProfile.human_agent_assistant_config][google.cloud.dialogflow.v2beta1.ConversationProfile.human_agent_assistant_config] message SentimentAnalysisResult { // The sentiment analysis result for `query_text`. diff --git a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session_entity_type.proto b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session_entity_type.proto index 4b1c5873d266..8291c2429a02 100644 --- a/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session_entity_type.proto +++ b/java-dialogflow/proto-google-cloud-dialogflow-v2beta1/src/main/proto/google/cloud/dialogflow/v2beta1/session_entity_type.proto @@ -26,13 +26,14 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Dialogflow.V2beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1;dialogflow"; +option go_package = "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb"; option java_multiple_files = true; option java_outer_classname = "SessionEntityTypeProto"; option java_package = "com.google.cloud.dialogflow.v2beta1"; option objc_class_prefix = "DF"; -// Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType]. +// Service for managing +// [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType]. service SessionEntityTypes { option (google.api.default_host) = "dialogflow.googleapis.com"; option (google.api.oauth_scopes) = @@ -44,7 +45,8 @@ service SessionEntityTypes { // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. - rpc ListSessionEntityTypes(ListSessionEntityTypesRequest) returns (ListSessionEntityTypesResponse) { + rpc ListSessionEntityTypes(ListSessionEntityTypesRequest) + returns (ListSessionEntityTypesResponse) { option (google.api.http) = { get: "/v2beta1/{parent=projects/*/agent/sessions/*}/entityTypes" additional_bindings { @@ -65,7 +67,8 @@ service SessionEntityTypes { // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. - rpc GetSessionEntityType(GetSessionEntityTypeRequest) returns (SessionEntityType) { + rpc GetSessionEntityType(GetSessionEntityTypeRequest) + returns (SessionEntityType) { option (google.api.http) = { get: "/v2beta1/{name=projects/*/agent/sessions/*/entityTypes/*}" additional_bindings { @@ -89,7 +92,8 @@ service SessionEntityTypes { // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. - rpc CreateSessionEntityType(CreateSessionEntityTypeRequest) returns (SessionEntityType) { + rpc CreateSessionEntityType(CreateSessionEntityTypeRequest) + returns (SessionEntityType) { option (google.api.http) = { post: "/v2beta1/{parent=projects/*/agent/sessions/*}/entityTypes" body: "session_entity_type" @@ -114,7 +118,8 @@ service SessionEntityTypes { // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. - rpc UpdateSessionEntityType(UpdateSessionEntityTypeRequest) returns (SessionEntityType) { + rpc UpdateSessionEntityType(UpdateSessionEntityTypeRequest) + returns (SessionEntityType) { option (google.api.http) = { patch: "/v2beta1/{session_entity_type.name=projects/*/agent/sessions/*/entityTypes/*}" body: "session_entity_type" @@ -140,7 +145,8 @@ service SessionEntityTypes { // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. - rpc DeleteSessionEntityType(DeleteSessionEntityTypeRequest) returns (google.protobuf.Empty) { + rpc DeleteSessionEntityType(DeleteSessionEntityTypeRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2beta1/{name=projects/*/agent/sessions/*/entityTypes/*}" additional_bindings { @@ -190,8 +196,9 @@ message SessionEntityType { // `GetSessionEntityType`, `CreateSessionEntityType` and // `UpdateSessionEntityType` only return the additional entities added in // this session entity type. If you want to get the supplemented list, - // please call [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType] on the custom entity type - // and merge. + // please call + // [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType] + // on the custom entity type and merge. ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2; } @@ -223,7 +230,8 @@ message SessionEntityType { repeated EntityType.Entity entities = 3; } -// The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes]. +// The request message for +// [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes]. message ListSessionEntityTypesRequest { // Required. The session to list all session entity types from. // Supported formats: @@ -254,7 +262,8 @@ message ListSessionEntityTypesRequest { string page_token = 3; } -// The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes]. +// The response message for +// [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes]. message ListSessionEntityTypesResponse { // The list of session entity types. There will be a maximum number of items // returned based on the page_size field in the request. @@ -265,7 +274,8 @@ message ListSessionEntityTypesResponse { string next_page_token = 2; } -// The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType]. +// The request message for +// [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType]. message GetSessionEntityTypeRequest { // Required. The name of the session entity type. Supported formats: // - `projects//agent/sessions//entityTypes/ com.google.cloud google-cloud-discoveryengine - 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-discoveryengine:0.4.0' +implementation 'com.google.cloud:google-cloud-discoveryengine:0.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.5.0" ``` ## Authentication diff --git a/java-discoveryengine/google-cloud-discoveryengine-bom/pom.xml b/java-discoveryengine/google-cloud-discoveryengine-bom/pom.xml index f83e91781ac4..a9606bc1b67b 100644 --- a/java-discoveryengine/google-cloud-discoveryengine-bom/pom.xml +++ b/java-discoveryengine/google-cloud-discoveryengine-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-discoveryengine-bom - 0.5.0 + 0.6.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-discoveryengine - 0.5.0 + 0.6.0 com.google.api.grpc grpc-google-cloud-discoveryengine-v1beta - 0.5.0 + 0.6.0 com.google.api.grpc proto-google-cloud-discoveryengine-v1beta - 0.5.0 + 0.6.0 diff --git a/java-discoveryengine/google-cloud-discoveryengine/pom.xml b/java-discoveryengine/google-cloud-discoveryengine/pom.xml index 6e3743c25965..6eb82db7342c 100644 --- a/java-discoveryengine/google-cloud-discoveryengine/pom.xml +++ b/java-discoveryengine/google-cloud-discoveryengine/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-discoveryengine - 0.5.0 + 0.6.0 jar Google Discovery Engine API Discovery Engine API A Cloud API that offers search and recommendation discoverability for documents from different industry verticals (e.g. media, retail, etc.). com.google.cloud google-cloud-discoveryengine-parent - 0.5.0 + 0.6.0 google-cloud-discoveryengine diff --git a/java-discoveryengine/grpc-google-cloud-discoveryengine-v1beta/pom.xml b/java-discoveryengine/grpc-google-cloud-discoveryengine-v1beta/pom.xml index 39ade74c370d..0f2ded31d7b0 100644 --- a/java-discoveryengine/grpc-google-cloud-discoveryengine-v1beta/pom.xml +++ b/java-discoveryengine/grpc-google-cloud-discoveryengine-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-discoveryengine-v1beta - 0.5.0 + 0.6.0 grpc-google-cloud-discoveryengine-v1beta GRPC library for google-cloud-discoveryengine com.google.cloud google-cloud-discoveryengine-parent - 0.5.0 + 0.6.0 diff --git a/java-discoveryengine/pom.xml b/java-discoveryengine/pom.xml index 9f6cb0f9e74f..d673dbf018d4 100644 --- a/java-discoveryengine/pom.xml +++ b/java-discoveryengine/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-discoveryengine-parent pom - 0.5.0 + 0.6.0 Google Discovery Engine API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-discoveryengine - 0.5.0 + 0.6.0 com.google.api.grpc grpc-google-cloud-discoveryengine-v1beta - 0.5.0 + 0.6.0 com.google.api.grpc proto-google-cloud-discoveryengine-v1beta - 0.5.0 + 0.6.0 diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/pom.xml b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/pom.xml index 7c50ecb3b1df..ba49e2742c0b 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/pom.xml +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-discoveryengine-v1beta - 0.5.0 + 0.6.0 proto-google-cloud-discoveryengine-v1beta Proto library for google-cloud-discoveryengine com.google.cloud google-cloud-discoveryengine-parent - 0.5.0 + 0.6.0 diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/CommonProto.java b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/CommonProto.java index fbd3a3b7144a..945c3cd94402 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/CommonProto.java +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/CommonProto.java @@ -49,24 +49,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".v1beta\032\031google/api/resource.proto\"0\n\017Cu" + "stomAttribute\022\014\n\004text\030\001 \003(\t\022\017\n\007numbers\030\002" + " \003(\001\"/\n\010UserInfo\022\017\n\007user_id\030\001 \001(\t\022\022\n\nuse" - + "r_agent\030\002 \001(\tB\221\005\n\'com.google.cloud.disco" - + "veryengine.v1betaB\013CommonProtoP\001ZRgoogle" - + ".golang.org/genproto/googleapis/cloud/di" - + "scoveryengine/v1beta;discoveryengine\242\002\017D" - + "ISCOVERYENGINE\252\002#Google.Cloud.DiscoveryE" - + "ngine.V1Beta\312\002#Google\\Cloud\\DiscoveryEng" - + "ine\\V1beta\352\002&Google::Cloud::DiscoveryEng" - + "ine::V1beta\352Az\n%discoveryengine.googleap" - + "is.com/Branch\022Qprojects/{project}/locati" - + "ons/{location}/dataStores/{data_store}/b" - + "ranches/{branch}\352Ak\n(discoveryengine.goo" - + "gleapis.com/DataStore\022?projects/{project" - + "}/locations/{location}/dataStores/{data_" - + "store}\352A\217\001\n,discoveryengine.googleapis.c" - + "om/ServingConfig\022_projects/{project}/loc" - + "ations/{location}/dataStores/{data_store" - + "}/servingConfigs/{serving_config}b\006proto" - + "3" + + "r_agent\030\002 \001(\tB\220\005\n\'com.google.cloud.disco" + + "veryengine.v1betaB\013CommonProtoP\001ZQcloud." + + "google.com/go/discoveryengine/apiv1beta/" + + "discoveryenginepb;discoveryenginepb\242\002\017DI" + + "SCOVERYENGINE\252\002#Google.Cloud.DiscoveryEn" + + "gine.V1Beta\312\002#Google\\Cloud\\DiscoveryEngi" + + "ne\\V1beta\352\002&Google::Cloud::DiscoveryEngi" + + "ne::V1beta\352Az\n%discoveryengine.googleapi" + + "s.com/Branch\022Qprojects/{project}/locatio" + + "ns/{location}/dataStores/{data_store}/br" + + "anches/{branch}\352Ak\n(discoveryengine.goog" + + "leapis.com/DataStore\022?projects/{project}" + + "/locations/{location}/dataStores/{data_s" + + "tore}\352A\217\001\n,discoveryengine.googleapis.co" + + "m/ServingConfig\022_projects/{project}/loca" + + "tions/{location}/dataStores/{data_store}" + + "/servingConfigs/{serving_config}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentProto.java b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentProto.java index 985917fb8a77..8913be274d66 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentProto.java +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentProto.java @@ -52,14 +52,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "scoveryengine.googleapis.com/Document\022fp" + "rojects/{project}/locations/{location}/d" + "ataStores/{data_store}/branches/{branch}" - + "/documents/{document}B\006\n\004dataB\225\002\n\'com.go" + + "/documents/{document}B\006\n\004dataB\224\002\n\'com.go" + "ogle.cloud.discoveryengine.v1betaB\rDocum" - + "entProtoP\001ZRgoogle.golang.org/genproto/g" - + "oogleapis/cloud/discoveryengine/v1beta;d" - + "iscoveryengine\242\002\017DISCOVERYENGINE\252\002#Googl" - + "e.Cloud.DiscoveryEngine.V1Beta\312\002#Google\\" - + "Cloud\\DiscoveryEngine\\V1beta\352\002&Google::C" - + "loud::DiscoveryEngine::V1betab\006proto3" + + "entProtoP\001ZQcloud.google.com/go/discover" + + "yengine/apiv1beta/discoveryenginepb;disc" + + "overyenginepb\242\002\017DISCOVERYENGINE\252\002#Google" + + ".Cloud.DiscoveryEngine.V1Beta\312\002#Google\\C" + + "loud\\DiscoveryEngine\\V1beta\352\002&Google::Cl" + + "oud::DiscoveryEngine::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentServiceProto.java b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentServiceProto.java index b6786a93e110..4eaea4886ec9 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentServiceProto.java +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/DocumentServiceProto.java @@ -126,14 +126,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "iscoveryengine.v1beta.ImportDocumentsMet" + "adata\032R\312A\036discoveryengine.googleapis.com" + "\322A.https://www.googleapis.com/auth/cloud" - + "-platformB\234\002\n\'com.google.cloud.discovery" - + "engine.v1betaB\024DocumentServiceProtoP\001ZRg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/discoveryengine/v1beta;discoveryengin" - + "e\242\002\017DISCOVERYENGINE\252\002#Google.Cloud.Disco" - + "veryEngine.V1Beta\312\002#Google\\Cloud\\Discove" - + "ryEngine\\V1beta\352\002&Google::Cloud::Discove" - + "ryEngine::V1betab\006proto3" + + "-platformB\233\002\n\'com.google.cloud.discovery" + + "engine.v1betaB\024DocumentServiceProtoP\001ZQc" + + "loud.google.com/go/discoveryengine/apiv1" + + "beta/discoveryenginepb;discoveryenginepb" + + "\242\002\017DISCOVERYENGINE\252\002#Google.Cloud.Discov" + + "eryEngine.V1Beta\312\002#Google\\Cloud\\Discover" + + "yEngine\\V1beta\352\002&Google::Cloud::Discover" + + "yEngine::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/ImportConfigProto.java b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/ImportConfigProto.java index d4f7f3711c9f..905809c01dbf 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/ImportConfigProto.java +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/ImportConfigProto.java @@ -145,14 +145,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ")\n\rerror_samples\030\001 \003(\0132\022.google.rpc.Stat" + "us\022L\n\014error_config\030\002 \001(\01326.google.cloud." + "discoveryengine.v1beta.ImportErrorConfig" - + "B\231\002\n\'com.google.cloud.discoveryengine.v1" - + "betaB\021ImportConfigProtoP\001ZRgoogle.golang" - + ".org/genproto/googleapis/cloud/discovery" - + "engine/v1beta;discoveryengine\242\002\017DISCOVER" - + "YENGINE\252\002#Google.Cloud.DiscoveryEngine.V" - + "1Beta\312\002#Google\\Cloud\\DiscoveryEngine\\V1b" - + "eta\352\002&Google::Cloud::DiscoveryEngine::V1" - + "betab\006proto3" + + "B\230\002\n\'com.google.cloud.discoveryengine.v1" + + "betaB\021ImportConfigProtoP\001ZQcloud.google." + + "com/go/discoveryengine/apiv1beta/discove" + + "ryenginepb;discoveryenginepb\242\002\017DISCOVERY" + + "ENGINE\252\002#Google.Cloud.DiscoveryEngine.V1" + + "Beta\312\002#Google\\Cloud\\DiscoveryEngine\\V1be" + + "ta\352\002&Google::Cloud::DiscoveryEngine::V1b" + + "etab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/RecommendationServiceProto.java b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/RecommendationServiceProto.java index ae7cc877553a..9fbdbe1230e5 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/RecommendationServiceProto.java +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/RecommendationServiceProto.java @@ -102,14 +102,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "dataStores/*/servingConfigs/*}:recommend" + ":\001*\032R\312A\036discoveryengine.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\242\002\n\'com.google.cloud.discoveryen" + + "latformB\241\002\n\'com.google.cloud.discoveryen" + "gine.v1betaB\032RecommendationServiceProtoP" - + "\001ZRgoogle.golang.org/genproto/googleapis" - + "/cloud/discoveryengine/v1beta;discoverye" - + "ngine\242\002\017DISCOVERYENGINE\252\002#Google.Cloud.D" - + "iscoveryEngine.V1Beta\312\002#Google\\Cloud\\Dis" - + "coveryEngine\\V1beta\352\002&Google::Cloud::Dis" - + "coveryEngine::V1betab\006proto3" + + "\001ZQcloud.google.com/go/discoveryengine/a" + + "piv1beta/discoveryenginepb;discoveryengi" + + "nepb\242\002\017DISCOVERYENGINE\252\002#Google.Cloud.Di" + + "scoveryEngine.V1Beta\312\002#Google\\Cloud\\Disc" + + "overyEngine\\V1beta\352\002&Google::Cloud::Disc" + + "overyEngine::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventProto.java b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventProto.java index 5f862e37f32f..2d36fcdddb3f 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventProto.java +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventProto.java @@ -126,15 +126,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_total_panels\"\215\001\n\tMediaInfo\022:\n\027media_pro" + "gress_duration\030\001 \001(\0132\031.google.protobuf.D" + "uration\022&\n\031media_progress_percentage\030\002 \001" - + "(\002H\000\210\001\001B\034\n\032_media_progress_percentageB\226\002" + + "(\002H\000\210\001\001B\034\n\032_media_progress_percentageB\225\002" + "\n\'com.google.cloud.discoveryengine.v1bet" - + "aB\016UserEventProtoP\001ZRgoogle.golang.org/g" - + "enproto/googleapis/cloud/discoveryengine" - + "/v1beta;discoveryengine\242\002\017DISCOVERYENGIN" - + "E\252\002#Google.Cloud.DiscoveryEngine.V1Beta\312" - + "\002#Google\\Cloud\\DiscoveryEngine\\V1beta\352\002&" - + "Google::Cloud::DiscoveryEngine::V1betab\006" - + "proto3" + + "aB\016UserEventProtoP\001ZQcloud.google.com/go" + + "/discoveryengine/apiv1beta/discoveryengi" + + "nepb;discoveryenginepb\242\002\017DISCOVERYENGINE" + + "\252\002#Google.Cloud.DiscoveryEngine.V1Beta\312\002" + + "#Google\\Cloud\\DiscoveryEngine\\V1beta\352\002&G" + + "oogle::Cloud::DiscoveryEngine::V1betab\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventServiceProto.java b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventServiceProto.java index 3cb33f22a3e1..00f4a11caaeb 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventServiceProto.java +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/java/com/google/cloud/discoveryengine/v1beta/UserEventServiceProto.java @@ -83,14 +83,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.cloud.discoveryengine.v1beta.ImportUse" + "rEventsMetadata\032R\312A\036discoveryengine.goog" + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\235\002\n\'com.google.cloud" + + "auth/cloud-platformB\234\002\n\'com.google.cloud" + ".discoveryengine.v1betaB\025UserEventServic" - + "eProtoP\001ZRgoogle.golang.org/genproto/goo" - + "gleapis/cloud/discoveryengine/v1beta;dis" - + "coveryengine\242\002\017DISCOVERYENGINE\252\002#Google." - + "Cloud.DiscoveryEngine.V1Beta\312\002#Google\\Cl" - + "oud\\DiscoveryEngine\\V1beta\352\002&Google::Clo" - + "ud::DiscoveryEngine::V1betab\006proto3" + + "eProtoP\001ZQcloud.google.com/go/discoverye" + + "ngine/apiv1beta/discoveryenginepb;discov" + + "eryenginepb\242\002\017DISCOVERYENGINE\252\002#Google.C" + + "loud.DiscoveryEngine.V1Beta\312\002#Google\\Clo" + + "ud\\DiscoveryEngine\\V1beta\352\002&Google::Clou" + + "d::DiscoveryEngine::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/common.proto b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/common.proto index 0d5e187b17d3..f956540fca69 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/common.proto +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/common.proto @@ -19,7 +19,7 @@ package google.cloud.discoveryengine.v1beta; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/discoveryengine/v1beta;discoveryengine"; +option go_package = "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.cloud.discoveryengine.v1beta"; diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/document.proto b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/document.proto index 38c000233bd2..e62044ddb47e 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/document.proto +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/document.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/discoveryengine/v1beta;discoveryengine"; +option go_package = "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.cloud.discoveryengine.v1beta"; diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/document_service.proto b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/document_service.proto index 78080294189e..138af1c42ecf 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/document_service.proto +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/document_service.proto @@ -26,7 +26,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/discoveryengine/v1beta;discoveryengine"; +option go_package = "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb"; option java_multiple_files = true; option java_outer_classname = "DocumentServiceProto"; option java_package = "com.google.cloud.discoveryengine.v1beta"; diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/import_config.proto b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/import_config.proto index a2b2cf8ffca6..dfd34eb45a16 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/import_config.proto +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/import_config.proto @@ -25,7 +25,7 @@ import "google/rpc/status.proto"; import "google/type/date.proto"; option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/discoveryengine/v1beta;discoveryengine"; +option go_package = "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb"; option java_multiple_files = true; option java_outer_classname = "ImportConfigProto"; option java_package = "com.google.cloud.discoveryengine.v1beta"; diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/recommendation_service.proto b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/recommendation_service.proto index 14304006ad33..7479a0d06c07 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/recommendation_service.proto +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/recommendation_service.proto @@ -25,7 +25,7 @@ import "google/cloud/discoveryengine/v1beta/user_event.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/discoveryengine/v1beta;discoveryengine"; +option go_package = "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb"; option java_multiple_files = true; option java_outer_classname = "RecommendationServiceProto"; option java_package = "com.google.cloud.discoveryengine.v1beta"; diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/user_event.proto b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/user_event.proto index 0e2af5afcb85..93a5268e0585 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/user_event.proto +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/user_event.proto @@ -23,7 +23,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/discoveryengine/v1beta;discoveryengine"; +option go_package = "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb"; option java_multiple_files = true; option java_outer_classname = "UserEventProto"; option java_package = "com.google.cloud.discoveryengine.v1beta"; diff --git a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/user_event_service.proto b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/user_event_service.proto index 21900556475d..f9773e2093a2 100644 --- a/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/user_event_service.proto +++ b/java-discoveryengine/proto-google-cloud-discoveryengine-v1beta/src/main/proto/google/cloud/discoveryengine/v1beta/user_event_service.proto @@ -26,7 +26,7 @@ import "google/cloud/discoveryengine/v1beta/user_event.proto"; import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/discoveryengine/v1beta;discoveryengine"; +option go_package = "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb"; option java_multiple_files = true; option java_outer_classname = "UserEventServiceProto"; option java_package = "com.google.cloud.discoveryengine.v1beta"; diff --git a/java-distributedcloudedge/README.md b/java-distributedcloudedge/README.md index 17e379ede310..6b9ef55a60de 100644 --- a/java-distributedcloudedge/README.md +++ b/java-distributedcloudedge/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-distributedcloudedge - 0.5.0 + 0.6.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.5.0' +implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.6.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.6.0" ``` ## Authentication diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge-bom/pom.xml b/java-distributedcloudedge/google-cloud-distributedcloudedge-bom/pom.xml index 14594f731cc6..2e145ec38a9a 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge-bom/pom.xml +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-distributedcloudedge-bom - 0.6.0 + 0.7.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-distributedcloudedge - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-distributedcloudedge-v1 - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-distributedcloudedge-v1 - 0.6.0 + 0.7.0 diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/pom.xml b/java-distributedcloudedge/google-cloud-distributedcloudedge/pom.xml index 0e3afad0ddaf..1b444105b24f 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/pom.xml +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-distributedcloudedge - 0.6.0 + 0.7.0 jar Google Google Distributed Cloud Edge Google Distributed Cloud Edge Google Distributed Cloud Edge allows you to run Kubernetes clusters on dedicated hardware provided and maintained by Google that is separate from the Google Cloud data center. com.google.cloud google-cloud-distributedcloudedge-parent - 0.6.0 + 0.7.0 google-cloud-distributedcloudedge diff --git a/java-distributedcloudedge/grpc-google-cloud-distributedcloudedge-v1/pom.xml b/java-distributedcloudedge/grpc-google-cloud-distributedcloudedge-v1/pom.xml index 041b917b7365..228190998a5b 100644 --- a/java-distributedcloudedge/grpc-google-cloud-distributedcloudedge-v1/pom.xml +++ b/java-distributedcloudedge/grpc-google-cloud-distributedcloudedge-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-distributedcloudedge-v1 - 0.6.0 + 0.7.0 grpc-google-cloud-distributedcloudedge-v1 GRPC library for google-cloud-distributedcloudedge com.google.cloud google-cloud-distributedcloudedge-parent - 0.6.0 + 0.7.0 diff --git a/java-distributedcloudedge/pom.xml b/java-distributedcloudedge/pom.xml index dfc0c4876e9b..7db0bdd835f3 100644 --- a/java-distributedcloudedge/pom.xml +++ b/java-distributedcloudedge/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-distributedcloudedge-parent pom - 0.6.0 + 0.7.0 Google Google Distributed Cloud Edge Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-distributedcloudedge - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-distributedcloudedge-v1 - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-distributedcloudedge-v1 - 0.6.0 + 0.7.0 diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/pom.xml b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/pom.xml index 6c95aeffedc3..bae5716a237d 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/pom.xml +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-distributedcloudedge-v1 - 0.6.0 + 0.7.0 proto-google-cloud-distributedcloudedge-v1 Proto library for google-cloud-distributedcloudedge com.google.cloud google-cloud-distributedcloudedge-parent - 0.6.0 + 0.7.0 diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ResourcesProto.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ResourcesProto.java index 52148e1012ab..425ba7ea857e 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ResourcesProto.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ResourcesProto.java @@ -256,18 +256,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "me\030\002 \001(\0132\032.google.protobuf.Timestamp*p\n\013" + "KmsKeyState\022\035\n\031KMS_KEY_STATE_UNSPECIFIED" + "\020\000\022\037\n\033KMS_KEY_STATE_KEY_AVAILABLE\020\001\022!\n\035K" - + "MS_KEY_STATE_KEY_UNAVAILABLE\020\002B\246\003\n!com.g" + + "MS_KEY_STATE_KEY_UNAVAILABLE\020\002B\243\003\n!com.g" + "oogle.cloud.edgecontainer.v1B\016ResourcesP" - + "rotoP\001ZJgoogle.golang.org/genproto/googl" - + "eapis/cloud/edgecontainer/v1;edgecontain" - + "er\352Ax\n!cloudkms.googleapis.com/CryptoKey" - + "\022Sprojects/{project}/locations/{location" - + "}/keyRings/{key_ring}/cryptoKeys/{crypto" - + "_key}\352A\246\001\n(cloudkms.googleapis.com/Crypt" - + "oKeyVersion\022zprojects/{project}/location" - + "s/{location}/keyRings/{key_ring}/cryptoK" - + "eys/{crypto_key}/cryptoKeyVersions/{cryp" - + "to_key_version}b\006proto3" + + "rotoP\001ZGcloud.google.com/go/edgecontaine" + + "r/apiv1/edgecontainerpb;edgecontainerpb\352" + + "Ax\n!cloudkms.googleapis.com/CryptoKey\022Sp" + + "rojects/{project}/locations/{location}/k" + + "eyRings/{key_ring}/cryptoKeys/{crypto_ke" + + "y}\352A\246\001\n(cloudkms.googleapis.com/CryptoKe" + + "yVersion\022zprojects/{project}/locations/{" + + "location}/keyRings/{key_ring}/cryptoKeys" + + "/{crypto_key}/cryptoKeyVersions/{crypto_" + + "key_version}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServiceProto.java b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServiceProto.java index 08c8e5638c18..8d0a6d6cf4e0 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServiceProto.java +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/java/com/google/cloud/edgecontainer/v1/ServiceProto.java @@ -308,11 +308,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "vpnConnections/*}\332A\004name\312A*\n\025google.prot" + "obuf.Empty\022\021OperationMetadata\032P\312A\034edgeco" + "ntainer.googleapis.com\322A.https://www.goo" - + "gleapis.com/auth/cloud-platformB\177\n!com.g" + + "gleapis.com/auth/cloud-platformB|\n!com.g" + "oogle.cloud.edgecontainer.v1B\014ServicePro" - + "toP\001ZJgoogle.golang.org/genproto/googlea" - + "pis/cloud/edgecontainer/v1;edgecontainer" - + "b\006proto3" + + "toP\001ZGcloud.google.com/go/edgecontainer/" + + "apiv1/edgecontainerpb;edgecontainerpbb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/resources.proto b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/resources.proto index 093e55bc58c8..35fb43d40af0 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/resources.proto +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/resources.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/edgecontainer/v1;edgecontainer"; +option go_package = "cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb;edgecontainerpb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.edgecontainer.v1"; diff --git a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/service.proto b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/service.proto index 947ec4b54489..5ff6020a19a1 100644 --- a/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/service.proto +++ b/java-distributedcloudedge/proto-google-cloud-distributedcloudedge-v1/src/main/proto/google/cloud/edgecontainer/v1/service.proto @@ -25,7 +25,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/edgecontainer/v1;edgecontainer"; +option go_package = "cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb;edgecontainerpb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.edgecontainer.v1"; diff --git a/java-dlp/google-cloud-dlp-bom/pom.xml b/java-dlp/google-cloud-dlp-bom/pom.xml index 2638aeefdb00..b7e3c323071a 100644 --- a/java-dlp/google-cloud-dlp-bom/pom.xml +++ b/java-dlp/google-cloud-dlp-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-dlp-bom - 3.13.0 + 3.14.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-dlp - 3.13.0 + 3.14.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 3.13.0 + 3.14.0 com.google.api.grpc proto-google-cloud-dlp-v2 - 3.13.0 + 3.14.0 diff --git a/java-dlp/google-cloud-dlp/pom.xml b/java-dlp/google-cloud-dlp/pom.xml index 20e3098b723c..9bd7bfa5050a 100644 --- a/java-dlp/google-cloud-dlp/pom.xml +++ b/java-dlp/google-cloud-dlp/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-dlp - 3.13.0 + 3.14.0 jar Google Cloud DLP Java idiomatic client for Google Cloud DLP com.google.cloud google-cloud-dlp-parent - 3.13.0 + 3.14.0 google-cloud-dlp diff --git a/java-dlp/grpc-google-cloud-dlp-v2/pom.xml b/java-dlp/grpc-google-cloud-dlp-v2/pom.xml index 713b3e3b900d..7f4f38626314 100644 --- a/java-dlp/grpc-google-cloud-dlp-v2/pom.xml +++ b/java-dlp/grpc-google-cloud-dlp-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 3.13.0 + 3.14.0 grpc-google-cloud-dlp-v2 GRPC library for grpc-google-cloud-dlp-v2 com.google.cloud google-cloud-dlp-parent - 3.13.0 + 3.14.0 diff --git a/java-dlp/pom.xml b/java-dlp/pom.xml index 50c0954be48c..bc0c6f1fb5a5 100644 --- a/java-dlp/pom.xml +++ b/java-dlp/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dlp-parent pom - 3.13.0 + 3.14.0 Google Cloud DLP Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-dlp-v2 - 3.13.0 + 3.14.0 com.google.api.grpc grpc-google-cloud-dlp-v2 - 3.13.0 + 3.14.0 com.google.cloud google-cloud-dlp - 3.13.0 + 3.14.0 diff --git a/java-dlp/proto-google-cloud-dlp-v2/pom.xml b/java-dlp/proto-google-cloud-dlp-v2/pom.xml index 36c2c74e4170..ff20d6cd08cf 100644 --- a/java-dlp/proto-google-cloud-dlp-v2/pom.xml +++ b/java-dlp/proto-google-cloud-dlp-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dlp-v2 - 3.13.0 + 3.14.0 proto-google-cloud-dlp-v2 PROTO library for proto-google-cloud-dlp-v2 com.google.cloud google-cloud-dlp-parent - 3.13.0 + 3.14.0 diff --git a/java-dms/README.md b/java-dms/README.md index 213a691e823f..f8ab5c7157cc 100644 --- a/java-dms/README.md +++ b/java-dms/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-dms - 2.7.0 + 2.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dms:2.7.0' +implementation 'com.google.cloud:google-cloud-dms:2.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.8.0" ``` ## Authentication diff --git a/java-dms/google-cloud-dms-bom/pom.xml b/java-dms/google-cloud-dms-bom/pom.xml index fd79551c42f9..155b3176f0d5 100644 --- a/java-dms/google-cloud-dms-bom/pom.xml +++ b/java-dms/google-cloud-dms-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-dms-bom - 2.8.0 + 2.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-dms - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-dms-v1 - 2.8.0 + 2.9.0 com.google.api.grpc proto-google-cloud-dms-v1 - 2.8.0 + 2.9.0 diff --git a/java-dms/google-cloud-dms/pom.xml b/java-dms/google-cloud-dms/pom.xml index 224ce71fb132..2f0fde1bdfa6 100644 --- a/java-dms/google-cloud-dms/pom.xml +++ b/java-dms/google-cloud-dms/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-dms - 2.8.0 + 2.9.0 jar Google Database Migration Service Database Migration Service makes it easier for you to migrate your data to Google Cloud. This service helps you lift and shift your MySQL and PostgreSQL workloads into Cloud SQL. com.google.cloud google-cloud-dms-parent - 2.8.0 + 2.9.0 google-cloud-dms diff --git a/java-dms/grpc-google-cloud-dms-v1/pom.xml b/java-dms/grpc-google-cloud-dms-v1/pom.xml index 59246a257aba..408408ca1c8d 100644 --- a/java-dms/grpc-google-cloud-dms-v1/pom.xml +++ b/java-dms/grpc-google-cloud-dms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dms-v1 - 2.8.0 + 2.9.0 grpc-google-cloud-dms-v1 GRPC library for google-cloud-dms com.google.cloud google-cloud-dms-parent - 2.8.0 + 2.9.0 diff --git a/java-dms/pom.xml b/java-dms/pom.xml index bf5597ab7f7b..8a55873a3210 100644 --- a/java-dms/pom.xml +++ b/java-dms/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dms-parent pom - 2.8.0 + 2.9.0 Google Database Migration Service Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,18 +29,18 @@ com.google.cloud google-cloud-dms - 2.8.0 + 2.9.0 com.google.api.grpc proto-google-cloud-dms-v1 - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-dms-v1 - 2.8.0 + 2.9.0 diff --git a/java-dms/proto-google-cloud-dms-v1/pom.xml b/java-dms/proto-google-cloud-dms-v1/pom.xml index 91be956890ce..a679d43f8b15 100644 --- a/java-dms/proto-google-cloud-dms-v1/pom.xml +++ b/java-dms/proto-google-cloud-dms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dms-v1 - 2.8.0 + 2.9.0 proto-google-cloud-dms-v1 Proto library for google-cloud-dms com.google.cloud google-cloud-dms-parent - 2.8.0 + 2.9.0 diff --git a/java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ClouddmsProto.java b/java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ClouddmsProto.java index ba2584531e09..2b3f0f41c554 100644 --- a/java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ClouddmsProto.java +++ b/java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ClouddmsProto.java @@ -313,12 +313,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ionProfiles/*}\332A\004name\312A*\n\025google.protobu" + "f.Empty\022\021OperationMetadata\032P\312A\034datamigra" + "tion.googleapis.com\322A.https://www.google" - + "apis.com/auth/cloud-platformB\305\001\n\034com.goo" - + "gle.cloud.clouddms.v1B\rClouddmsProtoP\001Z@" - + "google.golang.org/genproto/googleapis/cl" - + "oud/clouddms/v1;clouddms\252\002\030Google.Cloud." - + "CloudDms.V1\312\002\030Google\\Cloud\\CloudDms\\V1\352\002" - + "\033Google::Cloud::CloudDMS::V1b\006proto3" + + "apis.com/auth/cloud-platformB\275\001\n\034com.goo" + + "gle.cloud.clouddms.v1B\rClouddmsProtoP\001Z8" + + "cloud.google.com/go/clouddms/apiv1/cloud" + + "dmspb;clouddmspb\252\002\030Google.Cloud.CloudDms" + + ".V1\312\002\030Google\\Cloud\\CloudDms\\V1\352\002\033Google:" + + ":Cloud::CloudDMS::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ClouddmsResourcesProto.java b/java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ClouddmsResourcesProto.java index fcb662916c9d..c205f8eee4c1 100644 --- a/java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ClouddmsResourcesProto.java +++ b/java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ClouddmsResourcesProto.java @@ -274,12 +274,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "GINE_UNSPECIFIED\020\000\022\t\n\005MYSQL\020\001\022\016\n\nPOSTGRE" + "SQL\020\002*L\n\020DatabaseProvider\022!\n\035DATABASE_PR" + "OVIDER_UNSPECIFIED\020\000\022\014\n\010CLOUDSQL\020\001\022\007\n\003RD" - + "S\020\002B\316\001\n\034com.google.cloud.clouddms.v1B\026Cl" - + "ouddmsResourcesProtoP\001Z@google.golang.or" - + "g/genproto/googleapis/cloud/clouddms/v1;" - + "clouddms\252\002\030Google.Cloud.CloudDms.V1\312\002\030Go" - + "ogle\\Cloud\\CloudDms\\V1\352\002\033Google::Cloud::" - + "CloudDMS::V1b\006proto3" + + "S\020\002B\306\001\n\034com.google.cloud.clouddms.v1B\026Cl" + + "ouddmsResourcesProtoP\001Z8cloud.google.com" + + "/go/clouddms/apiv1/clouddmspb;clouddmspb" + + "\252\002\030Google.Cloud.CloudDms.V1\312\002\030Google\\Clo" + + "ud\\CloudDms\\V1\352\002\033Google::Cloud::CloudDMS" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dms/proto-google-cloud-dms-v1/src/main/proto/google/cloud/clouddms/v1/clouddms.proto b/java-dms/proto-google-cloud-dms-v1/src/main/proto/google/cloud/clouddms/v1/clouddms.proto index a8e3e74c6e4d..0126c9c3a20b 100644 --- a/java-dms/proto-google-cloud-dms-v1/src/main/proto/google/cloud/clouddms/v1/clouddms.proto +++ b/java-dms/proto-google-cloud-dms-v1/src/main/proto/google/cloud/clouddms/v1/clouddms.proto @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.CloudDms.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/clouddms/v1;clouddms"; +option go_package = "cloud.google.com/go/clouddms/apiv1/clouddmspb;clouddmspb"; option java_multiple_files = true; option java_outer_classname = "ClouddmsProto"; option java_package = "com.google.cloud.clouddms.v1"; diff --git a/java-dms/proto-google-cloud-dms-v1/src/main/proto/google/cloud/clouddms/v1/clouddms_resources.proto b/java-dms/proto-google-cloud-dms-v1/src/main/proto/google/cloud/clouddms/v1/clouddms_resources.proto index dd7731a6e840..67a6356d2104 100644 --- a/java-dms/proto-google-cloud-dms-v1/src/main/proto/google/cloud/clouddms/v1/clouddms_resources.proto +++ b/java-dms/proto-google-cloud-dms-v1/src/main/proto/google/cloud/clouddms/v1/clouddms_resources.proto @@ -24,7 +24,7 @@ import "google/protobuf/wrappers.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.CloudDms.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/clouddms/v1;clouddms"; +option go_package = "cloud.google.com/go/clouddms/apiv1/clouddmspb;clouddmspb"; option java_multiple_files = true; option java_outer_classname = "ClouddmsResourcesProto"; option java_package = "com.google.cloud.clouddms.v1"; diff --git a/java-dns/pom.xml b/java-dns/pom.xml index 796ec93786d4..5f12448399e3 100644 --- a/java-dns/pom.xml +++ b/java-dns/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dns jar - 2.7.0 + 2.8.0 Google Cloud DNS Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml diff --git a/java-document-ai/README.md b/java-document-ai/README.md index 3af6e2a0a6f0..0b47998eb002 100644 --- a/java-document-ai/README.md +++ b/java-document-ai/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-document-ai - 2.12.0 + 2.13.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-document-ai:2.12.0' +implementation 'com.google.cloud:google-cloud-document-ai:2.13.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.12.0" +libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.13.0" ``` ## Authentication diff --git a/java-document-ai/google-cloud-document-ai-bom/pom.xml b/java-document-ai/google-cloud-document-ai-bom/pom.xml index a1ff3469b5ea..7719948fbf60 100644 --- a/java-document-ai/google-cloud-document-ai-bom/pom.xml +++ b/java-document-ai/google-cloud-document-ai-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-document-ai-bom - 2.13.0 + 2.14.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -21,47 +21,47 @@ com.google.cloud google-cloud-document-ai - 2.13.0 + 2.14.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.25.0 + 0.26.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.25.0 + 0.26.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.25.0 + 0.26.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.13.0 + 2.14.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.25.0 + 0.26.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.25.0 + 0.26.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.25.0 + 0.26.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.13.0 + 2.14.0 diff --git a/java-document-ai/google-cloud-document-ai/pom.xml b/java-document-ai/google-cloud-document-ai/pom.xml index a3bbfb1d1797..ae32a1d6c654 100644 --- a/java-document-ai/google-cloud-document-ai/pom.xml +++ b/java-document-ai/google-cloud-document-ai/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-document-ai - 2.13.0 + 2.14.0 jar Google Cloud Document AI Java idiomatic client for Google Cloud Document AI com.google.cloud google-cloud-document-ai-parent - 2.13.0 + 2.14.0 google-cloud-document-ai diff --git a/java-document-ai/grpc-google-cloud-document-ai-v1/pom.xml b/java-document-ai/grpc-google-cloud-document-ai-v1/pom.xml index 749f7cf6c6fd..65828c18fa14 100644 --- a/java-document-ai/grpc-google-cloud-document-ai-v1/pom.xml +++ b/java-document-ai/grpc-google-cloud-document-ai-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.13.0 + 2.14.0 grpc-google-cloud-document-ai-v1 GRPC library for google-cloud-document-ai com.google.cloud google-cloud-document-ai-parent - 2.13.0 + 2.14.0 diff --git a/java-document-ai/grpc-google-cloud-document-ai-v1beta1/pom.xml b/java-document-ai/grpc-google-cloud-document-ai-v1beta1/pom.xml index 7306fea3e494..ede8afb6a485 100644 --- a/java-document-ai/grpc-google-cloud-document-ai-v1beta1/pom.xml +++ b/java-document-ai/grpc-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.25.0 + 0.26.0 grpc-google-cloud-document-ai-v1beta1 GRPC library for grpc-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 2.13.0 + 2.14.0 diff --git a/java-document-ai/grpc-google-cloud-document-ai-v1beta2/pom.xml b/java-document-ai/grpc-google-cloud-document-ai-v1beta2/pom.xml index 551601d8e34e..40b5557878e1 100644 --- a/java-document-ai/grpc-google-cloud-document-ai-v1beta2/pom.xml +++ b/java-document-ai/grpc-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.25.0 + 0.26.0 grpc-google-cloud-document-ai-v1beta2 GRPC library for grpc-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 2.13.0 + 2.14.0 diff --git a/java-document-ai/grpc-google-cloud-document-ai-v1beta3/pom.xml b/java-document-ai/grpc-google-cloud-document-ai-v1beta3/pom.xml index 28913e0763f0..fdabafdbe56d 100644 --- a/java-document-ai/grpc-google-cloud-document-ai-v1beta3/pom.xml +++ b/java-document-ai/grpc-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.25.0 + 0.26.0 grpc-google-cloud-document-ai-v1beta3 GRPC library for grpc-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 2.13.0 + 2.14.0 diff --git a/java-document-ai/pom.xml b/java-document-ai/pom.xml index 689bbcc324ac..87fabca9f9f2 100644 --- a/java-document-ai/pom.xml +++ b/java-document-ai/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-document-ai-parent pom - 2.13.0 + 2.14.0 Google Cloud Document AI Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,47 +29,47 @@ com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.25.0 + 0.26.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.13.0 + 2.14.0 com.google.api.grpc grpc-google-cloud-document-ai-v1 - 2.13.0 + 2.14.0 com.google.cloud google-cloud-document-ai - 2.13.0 + 2.14.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.25.0 + 0.26.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.25.0 + 0.26.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.25.0 + 0.26.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.25.0 + 0.26.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.25.0 + 0.26.0 diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/pom.xml b/java-document-ai/proto-google-cloud-document-ai-v1/pom.xml index 553b9a033c64..8304b09e9f41 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/pom.xml +++ b/java-document-ai/proto-google-cloud-document-ai-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1 - 2.13.0 + 2.14.0 proto-google-cloud-document-ai-v1 Proto library for google-cloud-document-ai com.google.cloud google-cloud-document-ai-parent - 2.13.0 + 2.14.0 diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java index 9fcd7e6dc0ec..39b413c42fd0 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/BarcodeProto.java @@ -43,12 +43,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n(google/cloud/documentai/v1/barcode.pro" + "to\022\032google.cloud.documentai.v1\"B\n\007Barcod" + "e\022\016\n\006format\030\001 \001(\t\022\024\n\014value_format\030\002 \001(\t\022" - + "\021\n\traw_value\030\003 \001(\tB\320\001\n\036com.google.cloud." - + "documentai.v1B\014BarcodeProtoP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/docum" - + "entai/v1;documentai\252\002\032Google.Cloud.Docum" - + "entAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035" - + "Google::Cloud::DocumentAI::V1b\006proto3" + + "\021\n\traw_value\030\003 \001(\tB\312\001\n\036com.google.cloud." + + "documentai.v1B\014BarcodeProtoP\001Z>cloud.goo" + + "gle.com/go/documentai/apiv1/documentaipb" + + ";documentaipb\252\002\032Google.Cloud.DocumentAI." + + "V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035Google" + + "::Cloud::DocumentAI::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiDocumentSchema.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiDocumentSchema.java index 42e7216de3c3..26ea93d038c0 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiDocumentSchema.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiDocumentSchema.java @@ -81,13 +81,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\021document_splitter\030\001 \001(\010\022&\n\036document_al" + "low_multiple_labels\030\002 \001(\010\022%\n\035prefixed_na" + "ming_on_properties\030\006 \001(\010\022\036\n\026skip_naming_" - + "validation\030\007 \001(\010B\334\001\n\036com.google.cloud.do" + + "validation\030\007 \001(\010B\326\001\n\036com.google.cloud.do" + "cumentai.v1B\030DocumentAiDocumentSchemaP\001Z" - + "Dgoogle.golang.org/genproto/googleapis/c" - + "loud/documentai/v1;documentai\252\002\032Google.C" - + "loud.DocumentAI.V1\312\002\032Google\\Cloud\\Docume" - + "ntAI\\V1\352\002\035Google::Cloud::DocumentAI::V1b" - + "\006proto3" + + ">cloud.google.com/go/documentai/apiv1/do" + + "cumentaipb;documentaipb\252\002\032Google.Cloud.D" + + "ocumentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V" + + "1\352\002\035Google::Cloud::DocumentAI::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java index 0cdb7448b90e..b90d12b5f9d7 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessor.java @@ -88,13 +88,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ING\020\004\022\014\n\010CREATING\020\005\022\n\n\006FAILED\020\006\022\014\n\010DELET" + "ING\020\007:h\352Ae\n#documentai.googleapis.com/Pr" + "ocessor\022>projects/{project}/locations/{l" - + "ocation}/processors/{processor}B\327\001\n\036com." + + "ocation}/processors/{processor}B\321\001\n\036com." + "google.cloud.documentai.v1B\023DocumentAiPr" - + "ocessorP\001ZDgoogle.golang.org/genproto/go" - + "ogleapis/cloud/documentai/v1;documentai\252" - + "\002\032Google.Cloud.DocumentAI.V1\312\002\032Google\\Cl" - + "oud\\DocumentAI\\V1\352\002\035Google::Cloud::Docum" - + "entAI::V1b\006proto3" + + "ocessorP\001Z>cloud.google.com/go/documenta" + + "i/apiv1/documentaipb;documentaipb\252\002\032Goog" + + "le.Cloud.DocumentAI.V1\312\002\032Google\\Cloud\\Do" + + "cumentAI\\V1\352\002\035Google::Cloud::DocumentAI:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java index 280491d91b83..f32b4445dfc0 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java @@ -458,18 +458,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "viewDocumentResponse\022\037ReviewDocumentOper" + "ationMetadata\032M\312A\031documentai.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\260\003\n\036com.google.cloud.docume" - + "ntai.v1B\032DocumentAiProcessorServiceP\001ZDg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/documentai/v1;documentai\252\002\032Google.Clo" - + "ud.DocumentAI.V1\312\002\032Google\\Cloud\\Document" - + "AI\\V1\352\002\035Google::Cloud::DocumentAI::V1\352A\177" - + "\n+documentai.googleapis.com/HumanReviewC" - + "onfig\022Pprojects/{project}/locations/{loc" - + "ation}/processors/{processor}/humanRevie" - + "wConfig\352AM\n\"documentai.googleapis.com/Lo" - + "cation\022\'projects/{project}/locations/{lo" - + "cation}b\006proto3" + + "oud-platformB\252\003\n\036com.google.cloud.docume" + + "ntai.v1B\032DocumentAiProcessorServiceP\001Z>c" + + "loud.google.com/go/documentai/apiv1/docu" + + "mentaipb;documentaipb\252\002\032Google.Cloud.Doc" + + "umentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352" + + "\002\035Google::Cloud::DocumentAI::V1\352A\177\n+docu" + + "mentai.googleapis.com/HumanReviewConfig\022" + + "Pprojects/{project}/locations/{location}" + + "/processors/{processor}/humanReviewConfi" + + "g\352AM\n\"documentai.googleapis.com/Location" + + "\022\'projects/{project}/locations/{location" + + "}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java index 32ae9f117f9a..49b2d6d62cc0 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorType.java @@ -57,13 +57,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "o\022\023\n\013location_id\030\001 \001(\t:u\352Ar\n\'documentai." + "googleapis.com/ProcessorType\022Gprojects/{" + "project}/locations/{location}/processorT" - + "ypes/{processor_type}B\333\001\n\036com.google.clo" + + "ypes/{processor_type}B\325\001\n\036com.google.clo" + "ud.documentai.v1B\027DocumentAiProcessorTyp" - + "eP\001ZDgoogle.golang.org/genproto/googleap" - + "is/cloud/documentai/v1;documentai\252\002\032Goog" - + "le.Cloud.DocumentAI.V1\312\002\032Google\\Cloud\\Do" - + "cumentAI\\V1\352\002\035Google::Cloud::DocumentAI:" - + ":V1b\006proto3" + + "eP\001Z>cloud.google.com/go/documentai/apiv" + + "1/documentaipb;documentaipb\252\002\032Google.Clo" + + "ud.DocumentAI.V1\312\002\032Google\\Cloud\\Document" + + "AI\\V1\352\002\035Google::Cloud::DocumentAI::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java index 73fc4047b751..6c27f95d80fb 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentIoProto.java @@ -90,12 +90,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "utputConfig.GcsOutputConfig.ShardingConf" + "ig\032@\n\016ShardingConfig\022\027\n\017pages_per_shard\030" + "\001 \001(\005\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destinat" - + "ionB\323\001\n\036com.google.cloud.documentai.v1B\017" - + "DocumentIoProtoP\001ZDgoogle.golang.org/gen" - + "proto/googleapis/cloud/documentai/v1;doc" - + "umentai\252\002\032Google.Cloud.DocumentAI.V1\312\002\032G" - + "oogle\\Cloud\\DocumentAI\\V1\352\002\035Google::Clou" - + "d::DocumentAI::V1b\006proto3" + + "ionB\315\001\n\036com.google.cloud.documentai.v1B\017" + + "DocumentIoProtoP\001Z>cloud.google.com/go/d" + + "ocumentai/apiv1/documentaipb;documentaip" + + "b\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Google\\" + + "Cloud\\DocumentAI\\V1\352\002\035Google::Cloud::Doc" + + "umentAI::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java index 2dbba12220bf..3685a22e69f5 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentProto.java @@ -398,13 +398,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001(\0132/.google.cloud.documentai.v1.Documen" + "t.TextAnchor\022\024\n\014changed_text\030\002 \001(\t\022G\n\npr" + "ovenance\030\003 \003(\0132/.google.cloud.documentai" - + ".v1.Document.ProvenanceB\002\030\001B\010\n\006sourceB\321\001" + + ".v1.Document.ProvenanceB\002\030\001B\010\n\006sourceB\313\001" + "\n\036com.google.cloud.documentai.v1B\rDocume" - + "ntProtoP\001ZDgoogle.golang.org/genproto/go" - + "ogleapis/cloud/documentai/v1;documentai\252" - + "\002\032Google.Cloud.DocumentAI.V1\312\002\032Google\\Cl" - + "oud\\DocumentAI\\V1\352\002\035Google::Cloud::Docum" - + "entAI::V1b\006proto3" + + "ntProtoP\001Z>cloud.google.com/go/documenta" + + "i/apiv1/documentaipb;documentaipb\252\002\032Goog" + + "le.Cloud.DocumentAI.V1\312\002\032Google\\Cloud\\Do" + + "cumentAI\\V1\352\002\035Google::Cloud::DocumentAI:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java index 0bc43038d0a4..7299d75f2b8a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/GeometryProto.java @@ -55,12 +55,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ly\0224\n\010vertices\030\001 \003(\0132\".google.cloud.docu" + "mentai.v1.Vertex\022I\n\023normalized_vertices\030" + "\002 \003(\0132,.google.cloud.documentai.v1.Norma" - + "lizedVertexB\321\001\n\036com.google.cloud.documen" - + "tai.v1B\rGeometryProtoP\001ZDgoogle.golang.o" - + "rg/genproto/googleapis/cloud/documentai/" - + "v1;documentai\252\002\032Google.Cloud.DocumentAI." - + "V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002\035Google" - + "::Cloud::DocumentAI::V1b\006proto3" + + "lizedVertexB\313\001\n\036com.google.cloud.documen" + + "tai.v1B\rGeometryProtoP\001Z>cloud.google.co" + + "m/go/documentai/apiv1/documentaipb;docum" + + "entaipb\252\002\032Google.Cloud.DocumentAI.V1\312\002\032G" + + "oogle\\Cloud\\DocumentAI\\V1\352\002\035Google::Clou" + + "d::DocumentAI::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java index 8b6c56dfc7d7..43be7b841b22 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/OperationMetadataProto.java @@ -51,13 +51,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e\030\004 \001(\0132\032.google.protobuf.Timestamp\"e\n\005S" + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001" + "\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAILE" - + "D\020\004\022\r\n\tCANCELLED\020\005B\332\001\n\036com.google.cloud." + + "D\020\004\022\r\n\tCANCELLED\020\005B\324\001\n\036com.google.cloud." + "documentai.v1B\026OperationMetadataProtoP\001Z" - + "Dgoogle.golang.org/genproto/googleapis/c" - + "loud/documentai/v1;documentai\252\002\032Google.C" - + "loud.DocumentAI.V1\312\002\032Google\\Cloud\\Docume" - + "ntAI\\V1\352\002\035Google::Cloud::DocumentAI::V1b" - + "\006proto3" + + ">cloud.google.com/go/documentai/apiv1/do" + + "cumentaipb;documentaipb\252\002\032Google.Cloud.D" + + "ocumentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V" + + "1\352\002\035Google::Cloud::DocumentAI::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/barcode.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/barcode.proto index bb841771ade3..c131dcbed29f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/barcode.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/barcode.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.documentai.v1; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "BarcodeProto"; option java_package = "com.google.cloud.documentai.v1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto index 680cf88282f7..18620dbca060 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document.proto @@ -28,7 +28,7 @@ import "google/type/money.proto"; import "google/type/postal_address.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.cloud.documentai.v1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto index d56086336d2a..23768b7544ea 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_io.proto @@ -19,7 +19,7 @@ package google.cloud.documentai.v1; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentIoProto"; option java_package = "com.google.cloud.documentai.v1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto index 3e7cf51ee9af..814cc94cc1f3 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto @@ -32,7 +32,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiProcessorService"; option java_package = "com.google.cloud.documentai.v1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_schema.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_schema.proto index 679a6ee59e8d..3fffba9fadbd 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_schema.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_schema.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.documentai.v1; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiDocumentSchema"; option java_package = "com.google.cloud.documentai.v1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto index 7471ef012475..ce668ec8e7ad 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/geometry.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.documentai.v1; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.documentai.v1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto index 5698b0a4f3cc..b922bf4cc3ab 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/operation_metadata.proto @@ -19,7 +19,7 @@ package google.cloud.documentai.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "OperationMetadataProto"; option java_package = "com.google.cloud.documentai.v1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor.proto index ac599e987b65..4dabe48fe6f5 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor.proto @@ -22,7 +22,7 @@ import "google/cloud/documentai/v1/document_schema.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiProcessor"; option java_package = "com.google.cloud.documentai.v1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor_type.proto b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor_type.proto index a54274532cb8..e5f6eca0a89a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor_type.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/processor_type.proto @@ -20,7 +20,7 @@ import "google/api/launch_stage.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiProcessorType"; option java_package = "com.google.cloud.documentai.v1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/pom.xml b/java-document-ai/proto-google-cloud-document-ai-v1beta1/pom.xml index 431c3de2ef9c..af7baecc92e3 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/pom.xml +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.25.0 + 0.26.0 proto-google-cloud-document-ai-v1beta1 PROTO library for proto-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 2.13.0 + 2.14.0 diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentAiProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentAiProto.java index b79e4ed0e007..8357c22a69ab 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentAiProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentAiProto.java @@ -168,13 +168,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "requests\312A2\n\035BatchProcessDocumentsRespon" + "se\022\021OperationMetadata\032M\312A\031documentai.goo" + "gleapis.com\322A.https://www.googleapis.com" - + "/auth/cloud-platformB\354\001\n#com.google.clou" + + "/auth/cloud-platformB\346\001\n#com.google.clou" + "d.documentai.v1beta1B\017DocumentAiProtoP\001Z" - + "Igoogle.golang.org/genproto/googleapis/c" - + "loud/documentai/v1beta1;documentai\252\002\037Goo" - + "gle.Cloud.DocumentAI.V1Beta1\312\002\037Google\\Cl" - + "oud\\DocumentAI\\V1beta1\352\002\"Google::Cloud::" - + "DocumentAI::V1beta1b\006proto3" + + "Ccloud.google.com/go/documentai/apiv1bet" + + "a1/documentaipb;documentaipb\252\002\037Google.Cl" + + "oud.DocumentAI.V1Beta1\312\002\037Google\\Cloud\\Do" + + "cumentAI\\V1beta1\352\002\"Google::Cloud::Docume" + + "ntAI::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentProto.java index 5f9bc91bcb8b..a2d9c41da4bd 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/DocumentProto.java @@ -247,13 +247,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "text_segments\030\001 \003(\0132@.google.cloud.docum" + "entai.v1beta1.Document.TextAnchor.TextSe" + "gment\0325\n\013TextSegment\022\023\n\013start_index\030\001 \001(" - + "\003\022\021\n\tend_index\030\002 \001(\003B\010\n\006sourceB\352\001\n#com.g" + + "\003\022\021\n\tend_index\030\002 \001(\003B\010\n\006sourceB\344\001\n#com.g" + "oogle.cloud.documentai.v1beta1B\rDocument" - + "ProtoP\001ZIgoogle.golang.org/genproto/goog" - + "leapis/cloud/documentai/v1beta1;document" - + "ai\252\002\037Google.Cloud.DocumentAI.V1Beta1\312\002\037G" - + "oogle\\Cloud\\DocumentAI\\V1beta1\352\002\"Google:" - + ":Cloud::DocumentAI::V1beta1b\006proto3" + + "ProtoP\001ZCcloud.google.com/go/documentai/" + + "apiv1beta1/documentaipb;documentaipb\252\002\037G" + + "oogle.Cloud.DocumentAI.V1Beta1\312\002\037Google\\" + + "Cloud\\DocumentAI\\V1beta1\352\002\"Google::Cloud" + + "::DocumentAI::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GeometryProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GeometryProto.java index 8842ff2300d4..d2032e195c1e 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GeometryProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/GeometryProto.java @@ -55,13 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "BoundingPoly\0229\n\010vertices\030\001 \003(\0132\'.google." + "cloud.documentai.v1beta1.Vertex\022N\n\023norma" + "lized_vertices\030\002 \003(\01321.google.cloud.docu" - + "mentai.v1beta1.NormalizedVertexB\352\001\n#com." + + "mentai.v1beta1.NormalizedVertexB\344\001\n#com." + "google.cloud.documentai.v1beta1B\rGeometr" - + "yProtoP\001ZIgoogle.golang.org/genproto/goo" - + "gleapis/cloud/documentai/v1beta1;documen" - + "tai\252\002\037Google.Cloud.DocumentAI.V1Beta1\312\002\037" - + "Google\\Cloud\\DocumentAI\\V1beta1\352\002\"Google" - + "::Cloud::DocumentAI::V1beta1b\006proto3" + + "yProtoP\001ZCcloud.google.com/go/documentai" + + "/apiv1beta1/documentaipb;documentaipb\252\002\037" + + "Google.Cloud.DocumentAI.V1Beta1\312\002\037Google" + + "\\Cloud\\DocumentAI\\V1beta1\352\002\"Google::Clou" + + "d::DocumentAI::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document.proto index aa95ecc29950..1f5a4da99ec8 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document.proto @@ -23,7 +23,7 @@ import "google/rpc/status.proto"; import "google/type/color.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.cloud.documentai.v1beta1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document_understanding.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document_understanding.proto index eb17286d4d5e..62601d3f3ae2 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document_understanding.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/document_understanding.proto @@ -25,7 +25,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiProto"; option java_package = "com.google.cloud.documentai.v1beta1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/geometry.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/geometry.proto index 5772db745118..797154a59b72 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/geometry.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/proto/google/cloud/documentai/v1beta1/geometry.proto @@ -19,7 +19,7 @@ package google.cloud.documentai.v1beta1; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta1;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta1/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.documentai.v1beta1"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/pom.xml b/java-document-ai/proto-google-cloud-document-ai-v1beta2/pom.xml index a9b1ab82534f..f581dc93424a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/pom.xml +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.25.0 + 0.26.0 proto-google-cloud-document-ai-v1beta2 PROTO library for proto-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 2.13.0 + 2.14.0 diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentAiProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentAiProto.java index 97d40c62cb11..3af06e369220 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentAiProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentAiProto.java @@ -183,13 +183,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"./v1beta2/{parent=projects/*}/documents" + ":process:\001*\032M\312A\031documentai.googleapis.co" + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformB\354\001\n#com.google.cloud.document" - + "ai.v1beta2B\017DocumentAiProtoP\001ZIgoogle.go" - + "lang.org/genproto/googleapis/cloud/docum" - + "entai/v1beta2;documentai\252\002\037Google.Cloud." - + "DocumentAI.V1Beta2\312\002\037Google\\Cloud\\Docume" - + "ntAI\\V1beta2\352\002\"Google::Cloud::DocumentAI" - + "::V1beta2b\006proto3" + + "d-platformB\346\001\n#com.google.cloud.document" + + "ai.v1beta2B\017DocumentAiProtoP\001ZCcloud.goo" + + "gle.com/go/documentai/apiv1beta2/documen" + + "taipb;documentaipb\252\002\037Google.Cloud.Docume" + + "ntAI.V1Beta2\312\002\037Google\\Cloud\\DocumentAI\\V" + + "1beta2\352\002\"Google::Cloud::DocumentAI::V1be" + + "ta2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java index 5522d999c985..ab29ccd10ccd 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/DocumentProto.java @@ -278,13 +278,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tB\003\340A\001\"\207\001\n\nLayoutType\022\033\n\027LAYOUT_TYPE_UNS" + "PECIFIED\020\000\022\t\n\005BLOCK\020\001\022\r\n\tPARAGRAPH\020\002\022\010\n\004" + "LINE\020\003\022\t\n\005TOKEN\020\004\022\022\n\016VISUAL_ELEMENT\020\005\022\t\n" - + "\005TABLE\020\006\022\016\n\nFORM_FIELD\020\007B\010\n\006sourceB\352\001\n#c" + + "\005TABLE\020\006\022\016\n\nFORM_FIELD\020\007B\010\n\006sourceB\344\001\n#c" + "om.google.cloud.documentai.v1beta2B\rDocu" - + "mentProtoP\001ZIgoogle.golang.org/genproto/" - + "googleapis/cloud/documentai/v1beta2;docu" - + "mentai\252\002\037Google.Cloud.DocumentAI.V1Beta2" - + "\312\002\037Google\\Cloud\\DocumentAI\\V1beta2\352\002\"Goo" - + "gle::Cloud::DocumentAI::V1beta2b\006proto3" + + "mentProtoP\001ZCcloud.google.com/go/documen" + + "tai/apiv1beta2/documentaipb;documentaipb" + + "\252\002\037Google.Cloud.DocumentAI.V1Beta2\312\002\037Goo" + + "gle\\Cloud\\DocumentAI\\V1beta2\352\002\"Google::C" + + "loud::DocumentAI::V1beta2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GeometryProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GeometryProto.java index f621d144c51e..9c9ea89738ff 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GeometryProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/GeometryProto.java @@ -55,13 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "BoundingPoly\0229\n\010vertices\030\001 \003(\0132\'.google." + "cloud.documentai.v1beta2.Vertex\022N\n\023norma" + "lized_vertices\030\002 \003(\01321.google.cloud.docu" - + "mentai.v1beta2.NormalizedVertexB\352\001\n#com." + + "mentai.v1beta2.NormalizedVertexB\344\001\n#com." + "google.cloud.documentai.v1beta2B\rGeometr" - + "yProtoP\001ZIgoogle.golang.org/genproto/goo" - + "gleapis/cloud/documentai/v1beta2;documen" - + "tai\252\002\037Google.Cloud.DocumentAI.V1Beta2\312\002\037" - + "Google\\Cloud\\DocumentAI\\V1beta2\352\002\"Google" - + "::Cloud::DocumentAI::V1beta2b\006proto3" + + "yProtoP\001ZCcloud.google.com/go/documentai" + + "/apiv1beta2/documentaipb;documentaipb\252\002\037" + + "Google.Cloud.DocumentAI.V1Beta2\312\002\037Google" + + "\\Cloud\\DocumentAI\\V1beta2\352\002\"Google::Clou" + + "d::DocumentAI::V1beta2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto index a7255d7c1b92..bcf457112a02 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document.proto @@ -22,7 +22,7 @@ import "google/rpc/status.proto"; import "google/type/color.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta2;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta2/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.cloud.documentai.v1beta2"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document_understanding.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document_understanding.proto index 137ba5e3116f..19cb22da6a41 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document_understanding.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/document_understanding.proto @@ -25,7 +25,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta2;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta2/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiProto"; option java_package = "com.google.cloud.documentai.v1beta2"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/geometry.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/geometry.proto index 8c97cb995cf4..060e5105912f 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/geometry.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/proto/google/cloud/documentai/v1beta2/geometry.proto @@ -18,7 +18,7 @@ package google.cloud.documentai.v1beta2; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta2;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta2/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.documentai.v1beta2"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/pom.xml b/java-document-ai/proto-google-cloud-document-ai-v1beta3/pom.xml index e4a2b1346438..ad5856f3d330 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/pom.xml +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.25.0 + 0.26.0 proto-google-cloud-document-ai-v1beta3 PROTO library for proto-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 2.13.0 + 2.14.0 diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeProto.java index 0fd83ea0b7c1..a4ff280e7363 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BarcodeProto.java @@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n-google/cloud/documentai/v1beta3/barcod" + "e.proto\022\037google.cloud.documentai.v1beta3" + "\"B\n\007Barcode\022\016\n\006format\030\001 \001(\t\022\024\n\014value_for" - + "mat\030\002 \001(\t\022\021\n\traw_value\030\003 \001(\tB\351\001\n#com.goo" + + "mat\030\002 \001(\t\022\021\n\traw_value\030\003 \001(\tB\343\001\n#com.goo" + "gle.cloud.documentai.v1beta3B\014BarcodePro" - + "toP\001ZIgoogle.golang.org/genproto/googlea" - + "pis/cloud/documentai/v1beta3;documentai\252" - + "\002\037Google.Cloud.DocumentAI.V1Beta3\312\002\037Goog" - + "le\\Cloud\\DocumentAI\\V1beta3\352\002\"Google::Cl" - + "oud::DocumentAI::V1beta3b\006proto3" + + "toP\001ZCcloud.google.com/go/documentai/api" + + "v1beta3/documentaipb;documentaipb\252\002\037Goog" + + "le.Cloud.DocumentAI.V1Beta3\312\002\037Google\\Clo" + + "ud\\DocumentAI\\V1beta3\352\002\"Google::Cloud::D" + + "ocumentAI::V1beta3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java index d9489edda6a4..d58d9299d85e 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiDocumentSchema.java @@ -82,13 +82,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ument_splitter\030\001 \001(\010\022&\n\036document_allow_m" + "ultiple_labels\030\002 \001(\010\022%\n\035prefixed_naming_" + "on_properties\030\006 \001(\010\022\036\n\026skip_naming_valid" - + "ation\030\007 \001(\010B\365\001\n#com.google.cloud.documen" + + "ation\030\007 \001(\010B\357\001\n#com.google.cloud.documen" + "tai.v1beta3B\030DocumentAiDocumentSchemaP\001Z" - + "Igoogle.golang.org/genproto/googleapis/c" - + "loud/documentai/v1beta3;documentai\252\002\037Goo" - + "gle.Cloud.DocumentAI.V1Beta3\312\002\037Google\\Cl" - + "oud\\DocumentAI\\V1beta3\352\002\"Google::Cloud::" - + "DocumentAI::V1beta3b\006proto3" + + "Ccloud.google.com/go/documentai/apiv1bet" + + "a3/documentaipb;documentaipb\252\002\037Google.Cl" + + "oud.DocumentAI.V1Beta3\312\002\037Google\\Cloud\\Do" + + "cumentAI\\V1beta3\352\002\"Google::Cloud::Docume" + + "ntAI::V1beta3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiEvaluation.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiEvaluation.java index 91a1d135ef93..616b0d42d7a0 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiEvaluation.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiEvaluation.java @@ -108,14 +108,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogleapis.com/Evaluation\022}projects/{proj" + "ect}/locations/{location}/processors/{pr" + "ocessor}/processorVersions/{processor_ve" - + "rsion}/evaluations/{evaluation}B\361\001\n#com." + + "rsion}/evaluations/{evaluation}B\353\001\n#com." + "google.cloud.documentai.v1beta3B\024Documen" - + "tAiEvaluationP\001ZIgoogle.golang.org/genpr" - + "oto/googleapis/cloud/documentai/v1beta3;" - + "documentai\252\002\037Google.Cloud.DocumentAI.V1B" - + "eta3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3\352\002" - + "\"Google::Cloud::DocumentAI::V1beta3b\006pro" - + "to3" + + "tAiEvaluationP\001ZCcloud.google.com/go/doc" + + "umentai/apiv1beta3/documentaipb;document" + + "aipb\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002" + + "\037Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Googl" + + "e::Cloud::DocumentAI::V1beta3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java index adba887268b3..a19ab41d8d7b 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessor.java @@ -89,13 +89,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\014\n\010CREATING\020\005\022\n\n\006FAILED\020\006\022\014\n\010DELETING\020\007" + ":h\352Ae\n#documentai.googleapis.com/Process" + "or\022>projects/{project}/locations/{locati" - + "on}/processors/{processor}B\360\001\n#com.googl" + + "on}/processors/{processor}B\352\001\n#com.googl" + "e.cloud.documentai.v1beta3B\023DocumentAiPr" - + "ocessorP\001ZIgoogle.golang.org/genproto/go" - + "ogleapis/cloud/documentai/v1beta3;docume" - + "ntai\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002" - + "\037Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Googl" - + "e::Cloud::DocumentAI::V1beta3b\006proto3" + + "ocessorP\001ZCcloud.google.com/go/documenta" + + "i/apiv1beta3/documentaipb;documentaipb\252\002" + + "\037Google.Cloud.DocumentAI.V1Beta3\312\002\037Googl" + + "e\\Cloud\\DocumentAI\\V1beta3\352\002\"Google::Clo" + + "ud::DocumentAI::V1beta3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java index 4117918201f7..2acbe56e472a 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java @@ -626,19 +626,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "jects/*/locations/*/processors/*/process" + "orVersions/*}/evaluations\332A\006parent\032M\312A\031d" + "ocumentai.googleapis.com\322A.https://www.g" - + "oogleapis.com/auth/cloud-platformB\311\003\n#co" + + "oogleapis.com/auth/cloud-platformB\303\003\n#co" + "m.google.cloud.documentai.v1beta3B\032Docum" - + "entAiProcessorServiceP\001ZIgoogle.golang.o" - + "rg/genproto/googleapis/cloud/documentai/" - + "v1beta3;documentai\252\002\037Google.Cloud.Docume" - + "ntAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V" - + "1beta3\352\002\"Google::Cloud::DocumentAI::V1be" - + "ta3\352A\177\n+documentai.googleapis.com/HumanR" - + "eviewConfig\022Pprojects/{project}/location" - + "s/{location}/processors/{processor}/huma" - + "nReviewConfig\352AM\n\"documentai.googleapis." - + "com/Location\022\'projects/{project}/locatio" - + "ns/{location}b\006proto3" + + "entAiProcessorServiceP\001ZCcloud.google.co" + + "m/go/documentai/apiv1beta3/documentaipb;" + + "documentaipb\252\002\037Google.Cloud.DocumentAI.V" + + "1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3" + + "\352\002\"Google::Cloud::DocumentAI::V1beta3\352A\177" + + "\n+documentai.googleapis.com/HumanReviewC" + + "onfig\022Pprojects/{project}/locations/{loc" + + "ation}/processors/{processor}/humanRevie" + + "wConfig\352AM\n\"documentai.googleapis.com/Lo" + + "cation\022\'projects/{project}/locations/{lo" + + "cation}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java index 162476592eb6..1f26636efcd5 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorType.java @@ -57,14 +57,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032#\n\014LocationInfo\022\023\n\013location_id\030\001 \001(\t:u\352" + "Ar\n\'documentai.googleapis.com/ProcessorT" + "ype\022Gprojects/{project}/locations/{locat" - + "ion}/processorTypes/{processor_type}B\364\001\n" + + "ion}/processorTypes/{processor_type}B\356\001\n" + "#com.google.cloud.documentai.v1beta3B\027Do" - + "cumentAiProcessorTypeP\001ZIgoogle.golang.o" - + "rg/genproto/googleapis/cloud/documentai/" - + "v1beta3;documentai\252\002\037Google.Cloud.Docume" - + "ntAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V" - + "1beta3\352\002\"Google::Cloud::DocumentAI::V1be" - + "ta3b\006proto3" + + "cumentAiProcessorTypeP\001ZCcloud.google.co" + + "m/go/documentai/apiv1beta3/documentaipb;" + + "documentaipb\252\002\037Google.Cloud.DocumentAI.V" + + "1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3" + + "\352\002\"Google::Cloud::DocumentAI::V1beta3b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java index 7262e31e4f2d..293552797dd7 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentIoProto.java @@ -94,15 +94,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".cloud.documentai.v1beta3.DocumentOutput" + "Config.GcsOutputConfig.ShardingConfig\032@\n" + "\016ShardingConfig\022\027\n\017pages_per_shard\030\001 \001(\005" - + "\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destination\"." + + "\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destination\"L" + "\n\tOcrConfig\022!\n\031enable_native_pdf_parsing" - + "\030\003 \001(\010B\354\001\n#com.google.cloud.documentai.v" - + "1beta3B\017DocumentIoProtoP\001ZIgoogle.golang" - + ".org/genproto/googleapis/cloud/documenta" - + "i/v1beta3;documentai\252\002\037Google.Cloud.Docu" - + "mentAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI" - + "\\V1beta3\352\002\"Google::Cloud::DocumentAI::V1" - + "beta3b\006proto3" + + "\030\003 \001(\010\022\034\n\024advanced_ocr_options\030\005 \003(\tB\346\001\n" + + "#com.google.cloud.documentai.v1beta3B\017Do" + + "cumentIoProtoP\001ZCcloud.google.com/go/doc" + + "umentai/apiv1beta3/documentaipb;document" + + "aipb\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002" + + "\037Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Googl" + + "e::Cloud::DocumentAI::V1beta3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -184,7 +184,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor, new java.lang.String[] { - "EnableNativePdfParsing", + "EnableNativePdfParsing", "AdvancedOcrOptions", }); com.google.protobuf.FieldMaskProto.getDescriptor(); } diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java index 6604b52c97d1..0b8f04d77fab 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java @@ -408,14 +408,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.cloud.documentai.v1beta3.Document.Tex" + "tAnchor\022\024\n\014changed_text\030\002 \001(\t\022L\n\nprovena" + "nce\030\003 \003(\01324.google.cloud.documentai.v1be" - + "ta3.Document.ProvenanceB\002\030\001B\010\n\006sourceB\352\001" + + "ta3.Document.ProvenanceB\002\030\001B\010\n\006sourceB\344\001" + "\n#com.google.cloud.documentai.v1beta3B\rD" - + "ocumentProtoP\001ZIgoogle.golang.org/genpro" - + "to/googleapis/cloud/documentai/v1beta3;d" - + "ocumentai\252\002\037Google.Cloud.DocumentAI.V1Be" - + "ta3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3\352\002\"" - + "Google::Cloud::DocumentAI::V1beta3b\006prot" - + "o3" + + "ocumentProtoP\001ZCcloud.google.com/go/docu" + + "mentai/apiv1beta3/documentaipb;documenta" + + "ipb\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002\037" + + "Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Google" + + "::Cloud::DocumentAI::V1beta3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GeometryProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GeometryProto.java index bd6472ec9bf2..95c9642f8d91 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GeometryProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/GeometryProto.java @@ -55,13 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "BoundingPoly\0229\n\010vertices\030\001 \003(\0132\'.google." + "cloud.documentai.v1beta3.Vertex\022N\n\023norma" + "lized_vertices\030\002 \003(\01321.google.cloud.docu" - + "mentai.v1beta3.NormalizedVertexB\352\001\n#com." + + "mentai.v1beta3.NormalizedVertexB\344\001\n#com." + "google.cloud.documentai.v1beta3B\rGeometr" - + "yProtoP\001ZIgoogle.golang.org/genproto/goo" - + "gleapis/cloud/documentai/v1beta3;documen" - + "tai\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002\037" - + "Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Google" - + "::Cloud::DocumentAI::V1beta3b\006proto3" + + "yProtoP\001ZCcloud.google.com/go/documentai" + + "/apiv1beta3/documentaipb;documentaipb\252\002\037" + + "Google.Cloud.DocumentAI.V1Beta3\312\002\037Google" + + "\\Cloud\\DocumentAI\\V1beta3\352\002\"Google::Clou" + + "d::DocumentAI::V1beta3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfig.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfig.java index 1fa3b928c60b..eac5d8988d11 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfig.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfig.java @@ -37,7 +37,9 @@ private OcrConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OcrConfig() {} + private OcrConfig() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -84,6 +86,69 @@ public boolean getEnableNativePdfParsing() { return enableNativePdfParsing_; } + public static final int ADVANCED_OCR_OPTIONS_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringList advancedOcrOptions_; + /** + * + * + *
      +   * A list of advanced OCR options to further fine-tune OCR behavior.
      +   * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_; + } + /** + * + * + *
      +   * A list of advanced OCR options to further fine-tune OCR behavior.
      +   * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
      +   * A list of advanced OCR options to further fine-tune OCR behavior.
      +   * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
      +   * A list of advanced OCR options to further fine-tune OCR behavior.
      +   * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -101,6 +166,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableNativePdfParsing_ != false) { output.writeBool(3, enableNativePdfParsing_); } + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, advancedOcrOptions_.getRaw(i)); + } getUnknownFields().writeTo(output); } @@ -113,6 +181,14 @@ public int getSerializedSize() { if (enableNativePdfParsing_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, enableNativePdfParsing_); } + { + int dataSize = 0; + for (int i = 0; i < advancedOcrOptions_.size(); i++) { + dataSize += computeStringSizeNoTag(advancedOcrOptions_.getRaw(i)); + } + size += dataSize; + size += 1 * getAdvancedOcrOptionsList().size(); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -130,6 +206,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.documentai.v1beta3.OcrConfig) obj; if (getEnableNativePdfParsing() != other.getEnableNativePdfParsing()) return false; + if (!getAdvancedOcrOptionsList().equals(other.getAdvancedOcrOptionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -143,6 +220,10 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_NATIVE_PDF_PARSING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableNativePdfParsing()); + if (getAdvancedOcrOptionsCount() > 0) { + hash = (37 * hash) + ADVANCED_OCR_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getAdvancedOcrOptionsList().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -283,6 +364,8 @@ public Builder clear() { super.clear(); bitField0_ = 0; enableNativePdfParsing_ = false; + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -310,6 +393,7 @@ public com.google.cloud.documentai.v1beta3.OcrConfig build() { public com.google.cloud.documentai.v1beta3.OcrConfig buildPartial() { com.google.cloud.documentai.v1beta3.OcrConfig result = new com.google.cloud.documentai.v1beta3.OcrConfig(this); + buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -317,6 +401,14 @@ public com.google.cloud.documentai.v1beta3.OcrConfig buildPartial() { return result; } + private void buildPartialRepeatedFields(com.google.cloud.documentai.v1beta3.OcrConfig result) { + if (((bitField0_ & 0x00000002) != 0)) { + advancedOcrOptions_ = advancedOcrOptions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.advancedOcrOptions_ = advancedOcrOptions_; + } + private void buildPartial0(com.google.cloud.documentai.v1beta3.OcrConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -372,6 +464,16 @@ public Builder mergeFrom(com.google.cloud.documentai.v1beta3.OcrConfig other) { if (other.getEnableNativePdfParsing() != false) { setEnableNativePdfParsing(other.getEnableNativePdfParsing()); } + if (!other.advancedOcrOptions_.isEmpty()) { + if (advancedOcrOptions_.isEmpty()) { + advancedOcrOptions_ = other.advancedOcrOptions_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.addAll(other.advancedOcrOptions_); + } + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -404,6 +506,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 24 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(s); + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -479,6 +588,174 @@ public Builder clearEnableNativePdfParsing() { return this; } + private com.google.protobuf.LazyStringList advancedOcrOptions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAdvancedOcrOptionsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + advancedOcrOptions_ = new com.google.protobuf.LazyStringArrayList(advancedOcrOptions_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
      +     * A list of advanced OCR options to further fine-tune OCR behavior.
      +     * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @return A list containing the advancedOcrOptions. + */ + public com.google.protobuf.ProtocolStringList getAdvancedOcrOptionsList() { + return advancedOcrOptions_.getUnmodifiableView(); + } + /** + * + * + *
      +     * A list of advanced OCR options to further fine-tune OCR behavior.
      +     * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @return The count of advancedOcrOptions. + */ + public int getAdvancedOcrOptionsCount() { + return advancedOcrOptions_.size(); + } + /** + * + * + *
      +     * A list of advanced OCR options to further fine-tune OCR behavior.
      +     * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + public java.lang.String getAdvancedOcrOptions(int index) { + return advancedOcrOptions_.get(index); + } + /** + * + * + *
      +     * A list of advanced OCR options to further fine-tune OCR behavior.
      +     * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + public com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index) { + return advancedOcrOptions_.getByteString(index); + } + /** + * + * + *
      +     * A list of advanced OCR options to further fine-tune OCR behavior.
      +     * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param index The index to set the value at. + * @param value The advancedOcrOptions to set. + * @return This builder for chaining. + */ + public Builder setAdvancedOcrOptions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
      +     * A list of advanced OCR options to further fine-tune OCR behavior.
      +     * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param value The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
      +     * A list of advanced OCR options to further fine-tune OCR behavior.
      +     * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param values The advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAllAdvancedOcrOptions(java.lang.Iterable values) { + ensureAdvancedOcrOptionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, advancedOcrOptions_); + onChanged(); + return this; + } + /** + * + * + *
      +     * A list of advanced OCR options to further fine-tune OCR behavior.
      +     * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @return This builder for chaining. + */ + public Builder clearAdvancedOcrOptions() { + advancedOcrOptions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
      +     * A list of advanced OCR options to further fine-tune OCR behavior.
      +     * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param value The bytes of the advancedOcrOptions to add. + * @return This builder for chaining. + */ + public Builder addAdvancedOcrOptionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAdvancedOcrOptionsIsMutable(); + advancedOcrOptions_.add(value); + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfigOrBuilder.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfigOrBuilder.java index afd96e950340..7ef77f0e1c60 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfigOrBuilder.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OcrConfigOrBuilder.java @@ -36,4 +36,55 @@ public interface OcrConfigOrBuilder * @return The enableNativePdfParsing. */ boolean getEnableNativePdfParsing(); + + /** + * + * + *
      +   * A list of advanced OCR options to further fine-tune OCR behavior.
      +   * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @return A list containing the advancedOcrOptions. + */ + java.util.List getAdvancedOcrOptionsList(); + /** + * + * + *
      +   * A list of advanced OCR options to further fine-tune OCR behavior.
      +   * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @return The count of advancedOcrOptions. + */ + int getAdvancedOcrOptionsCount(); + /** + * + * + *
      +   * A list of advanced OCR options to further fine-tune OCR behavior.
      +   * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param index The index of the element to return. + * @return The advancedOcrOptions at the given index. + */ + java.lang.String getAdvancedOcrOptions(int index); + /** + * + * + *
      +   * A list of advanced OCR options to further fine-tune OCR behavior.
      +   * 
      + * + * repeated string advanced_ocr_options = 5; + * + * @param index The index of the value to return. + * @return The bytes of the advancedOcrOptions at the given index. + */ + com.google.protobuf.ByteString getAdvancedOcrOptionsBytes(int index); } diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OperationMetadataProto.java b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OperationMetadataProto.java index 24eeb64bfd7f..16beb8510fb4 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OperationMetadataProto.java +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/OperationMetadataProto.java @@ -51,14 +51,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" + ".Timestamp\"e\n\005State\022\025\n\021STATE_UNSPECIFIED" + "\020\000\022\013\n\007RUNNING\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCE" - + "EDED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELLED\020\005B\363\001\n#co" + + "EDED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELLED\020\005B\355\001\n#co" + "m.google.cloud.documentai.v1beta3B\026Opera" - + "tionMetadataProtoP\001ZIgoogle.golang.org/g" - + "enproto/googleapis/cloud/documentai/v1be" - + "ta3;documentai\252\002\037Google.Cloud.DocumentAI" - + ".V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V1bet" - + "a3\352\002\"Google::Cloud::DocumentAI::V1beta3b" - + "\006proto3" + + "tionMetadataProtoP\001ZCcloud.google.com/go" + + "/documentai/apiv1beta3/documentaipb;docu" + + "mentaipb\252\002\037Google.Cloud.DocumentAI.V1Bet" + + "a3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3\352\002\"G" + + "oogle::Cloud::DocumentAI::V1beta3b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/barcode.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/barcode.proto index 9b063faf287a..a5148172b7ba 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/barcode.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/barcode.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.documentai.v1beta3; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "BarcodeProto"; option java_package = "com.google.cloud.documentai.v1beta3"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto index 89f4d2e21610..caade71ebc00 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto @@ -28,7 +28,7 @@ import "google/type/money.proto"; import "google/type/postal_address.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.cloud.documentai.v1beta3"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_io.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_io.proto index d6a7fb1c4084..8c831c58d84d 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_io.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_io.proto @@ -19,7 +19,7 @@ package google.cloud.documentai.v1beta3; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentIoProto"; option java_package = "com.google.cloud.documentai.v1beta3"; @@ -107,4 +107,7 @@ message OcrConfig { // Enables special handling for PDFs with existing text information. Results // in better text extraction quality in such PDF inputs. bool enable_native_pdf_parsing = 3; + + // A list of advanced OCR options to further fine-tune OCR behavior. + repeated string advanced_ocr_options = 5; } diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto index b5fff18359e9..d9a2d21242d0 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto @@ -33,7 +33,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiProcessorService"; option java_package = "com.google.cloud.documentai.v1beta3"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_schema.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_schema.proto index 5a470dfa162f..b792319da4fe 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_schema.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_schema.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.documentai.v1beta3; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiDocumentSchema"; option java_package = "com.google.cloud.documentai.v1beta3"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/evaluation.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/evaluation.proto index c6aa30e7ab44..1601b86eb4f0 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/evaluation.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/evaluation.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiEvaluation"; option java_package = "com.google.cloud.documentai.v1beta3"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/geometry.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/geometry.proto index c42e0cb7a07d..05eeac9c4936 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/geometry.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/geometry.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.documentai.v1beta3; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.documentai.v1beta3"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/operation_metadata.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/operation_metadata.proto index cd573a823c47..e8f757a543ba 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/operation_metadata.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/operation_metadata.proto @@ -19,7 +19,7 @@ package google.cloud.documentai.v1beta3; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "OperationMetadataProto"; option java_package = "com.google.cloud.documentai.v1beta3"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor.proto index 970e2b979696..707ab54cbf96 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor.proto @@ -22,7 +22,7 @@ import "google/cloud/documentai/v1beta3/document_schema.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiProcessor"; option java_package = "com.google.cloud.documentai.v1beta3"; diff --git a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor_type.proto b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor_type.proto index 1d9f6fa3a7dc..0ff23ffafb3d 100644 --- a/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor_type.proto +++ b/java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/processor_type.proto @@ -20,7 +20,7 @@ import "google/api/launch_stage.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3;documentai"; +option go_package = "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb"; option java_multiple_files = true; option java_outer_classname = "DocumentAiProcessorType"; option java_package = "com.google.cloud.documentai.v1beta3"; diff --git a/java-domains/README.md b/java-domains/README.md index 212f6aac49e0..8461c8d6ca08 100644 --- a/java-domains/README.md +++ b/java-domains/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-domains - 1.5.0 + 1.6.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-domains:1.5.0' +implementation 'com.google.cloud:google-cloud-domains:1.6.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.6.0" ``` ## Authentication diff --git a/java-domains/google-cloud-domains-bom/pom.xml b/java-domains/google-cloud-domains-bom/pom.xml index 15062e4bc72d..2a84ccdbf80c 100644 --- a/java-domains/google-cloud-domains-bom/pom.xml +++ b/java-domains/google-cloud-domains-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-domains-bom - 1.6.0 + 1.7.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,37 +27,37 @@ com.google.cloud google-cloud-domains - 1.6.0 + 1.7.0 com.google.api.grpc grpc-google-cloud-domains-v1beta1 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-domains-v1alpha2 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-domains-v1 - 1.6.0 + 1.7.0 com.google.api.grpc proto-google-cloud-domains-v1beta1 - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-domains-v1alpha2 - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-domains-v1 - 1.6.0 + 1.7.0
      diff --git a/java-domains/google-cloud-domains/pom.xml b/java-domains/google-cloud-domains/pom.xml index d73f9c697cd5..5ea9d82279a9 100644 --- a/java-domains/google-cloud-domains/pom.xml +++ b/java-domains/google-cloud-domains/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-domains - 1.6.0 + 1.7.0 jar Google Cloud Domains allows you to register and manage domains by using Cloud Domains. com.google.cloud google-cloud-domains-parent - 1.6.0 + 1.7.0 google-cloud-domains diff --git a/java-domains/grpc-google-cloud-domains-v1/pom.xml b/java-domains/grpc-google-cloud-domains-v1/pom.xml index 582eb8f24456..c190b63d2999 100644 --- a/java-domains/grpc-google-cloud-domains-v1/pom.xml +++ b/java-domains/grpc-google-cloud-domains-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-domains-v1 - 1.6.0 + 1.7.0 grpc-google-cloud-domains-v1 GRPC library for google-cloud-domains com.google.cloud google-cloud-domains-parent - 1.6.0 + 1.7.0 diff --git a/java-domains/grpc-google-cloud-domains-v1alpha2/pom.xml b/java-domains/grpc-google-cloud-domains-v1alpha2/pom.xml index 98fa6995a6c3..545b948abe00 100644 --- a/java-domains/grpc-google-cloud-domains-v1alpha2/pom.xml +++ b/java-domains/grpc-google-cloud-domains-v1alpha2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-domains-v1alpha2 - 0.14.0 + 0.15.0 grpc-google-cloud-domains-v1alpha2 GRPC library for google-cloud-domains com.google.cloud google-cloud-domains-parent - 1.6.0 + 1.7.0 diff --git a/java-domains/grpc-google-cloud-domains-v1beta1/pom.xml b/java-domains/grpc-google-cloud-domains-v1beta1/pom.xml index 05f20e49b7f0..2bb7c6871c35 100644 --- a/java-domains/grpc-google-cloud-domains-v1beta1/pom.xml +++ b/java-domains/grpc-google-cloud-domains-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-domains-v1beta1 - 0.14.0 + 0.15.0 grpc-google-cloud-domains-v1beta1 GRPC library for google-cloud-domains com.google.cloud google-cloud-domains-parent - 1.6.0 + 1.7.0 diff --git a/java-domains/pom.xml b/java-domains/pom.xml index af8bc40e350c..48809f427b8c 100644 --- a/java-domains/pom.xml +++ b/java-domains/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-domains-parent pom - 1.6.0 + 1.7.0 Google Cloud Domains Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,37 +29,37 @@ com.google.cloud google-cloud-domains - 1.6.0 + 1.7.0 com.google.api.grpc proto-google-cloud-domains-v1 - 1.6.0 + 1.7.0 com.google.api.grpc grpc-google-cloud-domains-v1 - 1.6.0 + 1.7.0 com.google.api.grpc proto-google-cloud-domains-v1alpha2 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-domains-v1alpha2 - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-domains-v1beta1 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-domains-v1beta1 - 0.14.0 + 0.15.0 diff --git a/java-domains/proto-google-cloud-domains-v1/pom.xml b/java-domains/proto-google-cloud-domains-v1/pom.xml index e3b9c8d7bf42..1836448ce2ed 100644 --- a/java-domains/proto-google-cloud-domains-v1/pom.xml +++ b/java-domains/proto-google-cloud-domains-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-domains-v1 - 1.6.0 + 1.7.0 proto-google-cloud-domains-v1 Proto library for google-cloud-domains com.google.cloud google-cloud-domains-parent - 1.6.0 + 1.7.0 diff --git a/java-domains/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java b/java-domains/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java index 89d2c3e1d716..5bdb3eeca154 100644 --- a/java-domains/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java +++ b/java-domains/proto-google-cloud-domains-v1/src/main/java/com/google/cloud/domains/v1/DomainsProto.java @@ -457,10 +457,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "istrations/*}:resetAuthorizationCode:\001*\332" + "A\014registration\032J\312A\026domains.googleapis.co" + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformBm\n\033com.google.cloud.domains.v" - + "1B\014DomainsProtoP\001Z>google.golang.org/gen" - + "proto/googleapis/cloud/domains/v1;domain" - + "sb\006proto3" + + "d-platformBd\n\033com.google.cloud.domains.v" + + "1B\014DomainsProtoP\001Z5cloud.google.com/go/d" + + "omains/apiv1/domainspb;domainspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-domains/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto b/java-domains/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto index a9123616395b..5746e561b0f4 100644 --- a/java-domains/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto +++ b/java-domains/proto-google-cloud-domains-v1/src/main/proto/google/cloud/domains/v1/domains.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/money.proto"; import "google/type/postal_address.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/domains/v1;domains"; +option go_package = "cloud.google.com/go/domains/apiv1/domainspb;domainspb"; option java_multiple_files = true; option java_outer_classname = "DomainsProto"; option java_package = "com.google.cloud.domains.v1"; diff --git a/java-domains/proto-google-cloud-domains-v1alpha2/pom.xml b/java-domains/proto-google-cloud-domains-v1alpha2/pom.xml index 567b36a8523c..34a2c1c6bc07 100644 --- a/java-domains/proto-google-cloud-domains-v1alpha2/pom.xml +++ b/java-domains/proto-google-cloud-domains-v1alpha2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-domains-v1alpha2 - 0.14.0 + 0.15.0 proto-google-cloud-domains-v1alpha2 Proto library for google-cloud-domains com.google.cloud google-cloud-domains-parent - 1.6.0 + 1.7.0 diff --git a/java-domains/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java b/java-domains/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java index 951dc21b9ce8..b6ed20eed420 100644 --- a/java-domains/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java +++ b/java-domains/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java @@ -469,10 +469,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/*/registrations/*}:resetAuthorizationCo" + "de:\001*\332A\014registration\032J\312A\026domains.googlea" + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformBy\n!com.google.cloud.dom" - + "ains.v1alpha2B\014DomainsProtoP\001ZDgoogle.go" - + "lang.org/genproto/googleapis/cloud/domai" - + "ns/v1alpha2;domainsb\006proto3" + + "h/cloud-platformBp\n!com.google.cloud.dom" + + "ains.v1alpha2B\014DomainsProtoP\001Z;cloud.goo" + + "gle.com/go/domains/apiv1alpha2/domainspb" + + ";domainspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-domains/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto b/java-domains/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto index 8f4273c399d7..2c3822d417e7 100644 --- a/java-domains/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto +++ b/java-domains/proto-google-cloud-domains-v1alpha2/src/main/proto/google/cloud/domains/v1alpha2/domains.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/money.proto"; import "google/type/postal_address.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/domains/v1alpha2;domains"; +option go_package = "cloud.google.com/go/domains/apiv1alpha2/domainspb;domainspb"; option java_multiple_files = true; option java_outer_classname = "DomainsProto"; option java_package = "com.google.cloud.domains.v1alpha2"; diff --git a/java-domains/proto-google-cloud-domains-v1beta1/pom.xml b/java-domains/proto-google-cloud-domains-v1beta1/pom.xml index ec27f4770ea4..6f36c1c1828d 100644 --- a/java-domains/proto-google-cloud-domains-v1beta1/pom.xml +++ b/java-domains/proto-google-cloud-domains-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-domains-v1beta1 - 0.14.0 + 0.15.0 proto-google-cloud-domains-v1beta1 Proto library for google-cloud-domains com.google.cloud google-cloud-domains-parent - 1.6.0 + 1.7.0 diff --git a/java-domains/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java b/java-domains/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java index 3f33cecf2106..9c9ac5f56e39 100644 --- a/java-domains/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java +++ b/java-domains/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java @@ -467,10 +467,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*/registrations/*}:resetAuthorizationCod" + "e:\001*\332A\014registration\032J\312A\026domains.googleap" + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformBw\n com.google.cloud.doma" - + "ins.v1beta1B\014DomainsProtoP\001ZCgoogle.gola" - + "ng.org/genproto/googleapis/cloud/domains" - + "/v1beta1;domainsb\006proto3" + + "/cloud-platformBn\n com.google.cloud.doma" + + "ins.v1beta1B\014DomainsProtoP\001Z:cloud.googl" + + "e.com/go/domains/apiv1beta1/domainspb;do" + + "mainspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-domains/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto b/java-domains/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto index 062cdb067c17..b148e946aa8d 100644 --- a/java-domains/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto +++ b/java-domains/proto-google-cloud-domains-v1beta1/src/main/proto/google/cloud/domains/v1beta1/domains.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/money.proto"; import "google/type/postal_address.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/domains/v1beta1;domains"; +option go_package = "cloud.google.com/go/domains/apiv1beta1/domainspb;domainspb"; option java_multiple_files = true; option java_outer_classname = "DomainsProto"; option java_package = "com.google.cloud.domains.v1beta1"; diff --git a/java-enterpriseknowledgegraph/README.md b/java-enterpriseknowledgegraph/README.md index 35704ed0bc24..bd99d601faaf 100644 --- a/java-enterpriseknowledgegraph/README.md +++ b/java-enterpriseknowledgegraph/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-enterpriseknowledgegraph - 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-enterpriseknowledgegraph:0.4.0' +implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.5.0" ``` ## Authentication diff --git a/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph-bom/pom.xml b/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph-bom/pom.xml index bd8476b4b9e7..d92fb7f36b28 100644 --- a/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph-bom/pom.xml +++ b/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-enterpriseknowledgegraph-bom - 0.5.0 + 0.6.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-enterpriseknowledgegraph - 0.5.0 + 0.6.0 com.google.api.grpc grpc-google-cloud-enterpriseknowledgegraph-v1 - 0.5.0 + 0.6.0 com.google.api.grpc proto-google-cloud-enterpriseknowledgegraph-v1 - 0.5.0 + 0.6.0 diff --git a/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/pom.xml b/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/pom.xml index a4c1bb966ca0..29e4ea94c23e 100644 --- a/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/pom.xml +++ b/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-enterpriseknowledgegraph - 0.5.0 + 0.6.0 jar Google Enterprise Knowledge Graph Enterprise Knowledge Graph Enterprise Knowledge Graph organizes siloed information into organizational knowledge, which involves consolidating, standardizing, and reconciling data in an efficient and useful way. com.google.cloud google-cloud-enterpriseknowledgegraph-parent - 0.5.0 + 0.6.0 google-cloud-enterpriseknowledgegraph diff --git a/java-enterpriseknowledgegraph/grpc-google-cloud-enterpriseknowledgegraph-v1/pom.xml b/java-enterpriseknowledgegraph/grpc-google-cloud-enterpriseknowledgegraph-v1/pom.xml index cc91afa74fff..95dfc1b2a642 100644 --- a/java-enterpriseknowledgegraph/grpc-google-cloud-enterpriseknowledgegraph-v1/pom.xml +++ b/java-enterpriseknowledgegraph/grpc-google-cloud-enterpriseknowledgegraph-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-enterpriseknowledgegraph-v1 - 0.5.0 + 0.6.0 grpc-google-cloud-enterpriseknowledgegraph-v1 GRPC library for google-cloud-enterpriseknowledgegraph com.google.cloud google-cloud-enterpriseknowledgegraph-parent - 0.5.0 + 0.6.0 diff --git a/java-enterpriseknowledgegraph/pom.xml b/java-enterpriseknowledgegraph/pom.xml index 7f60ae8a9517..980b8180ba8e 100644 --- a/java-enterpriseknowledgegraph/pom.xml +++ b/java-enterpriseknowledgegraph/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-enterpriseknowledgegraph-parent pom - 0.5.0 + 0.6.0 Google Enterprise Knowledge Graph Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-enterpriseknowledgegraph - 0.5.0 + 0.6.0 com.google.api.grpc grpc-google-cloud-enterpriseknowledgegraph-v1 - 0.5.0 + 0.6.0 com.google.api.grpc proto-google-cloud-enterpriseknowledgegraph-v1 - 0.5.0 + 0.6.0 diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/pom.xml b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/pom.xml index 53a55e86c36e..83417fad40f2 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/pom.xml +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-enterpriseknowledgegraph-v1 - 0.5.0 + 0.6.0 proto-google-cloud-enterpriseknowledgegraph-v1 Proto library for google-cloud-enterpriseknowledgegraph com.google.cloud google-cloud-enterpriseknowledgegraph-parent - 0.5.0 + 0.6.0 diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java index 8c987819336b..a90c9faa4ab2 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/JobStateProto.java @@ -44,15 +44,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_STATE_CANCELLED\020\004\022\"\n\036JOB_STATE_KNOWLEDG" + "E_EXTRACTION\020\005\022!\n\035JOB_STATE_RECON_PREPRO" + "CESSING\020\006\022\030\n\024JOB_STATE_CLUSTERING\020\007\022 \n\034J" - + "OB_STATE_EXPORTING_CLUSTERS\020\010B\245\002\n,com.go" + + "OB_STATE_EXPORTING_CLUSTERS\020\010B\255\002\n,com.go" + "ogle.cloud.enterpriseknowledgegraph.v1B\r" - + "JobStateProtoP\001Z`google.golang.org/genpr" - + "oto/googleapis/cloud/enterpriseknowledge" - + "graph/v1;enterpriseknowledgegraph\252\002(Goog" - + "le.Cloud.EnterpriseKnowledgeGraph.V1\312\002(G" - + "oogle\\Cloud\\EnterpriseKnowledgeGraph\\V1\352" - + "\002+Google::Cloud::EnterpriseKnowledgeGrap" - + "h::V1b\006proto3" + + "JobStateProtoP\001Zhcloud.google.com/go/ent" + + "erpriseknowledgegraph/apiv1/enterprisekn" + + "owledgegraphpb;enterpriseknowledgegraphp" + + "b\252\002(Google.Cloud.EnterpriseKnowledgeGrap" + + "h.V1\312\002(Google\\Cloud\\EnterpriseKnowledgeG" + + "raph\\V1\352\002+Google::Cloud::EnterpriseKnowl" + + "edgeGraph::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java index a08e9bc12789..7ed3450656f0 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/OperationMetadataProto.java @@ -51,15 +51,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"r\n\005" + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020" + "\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAIL" - + "ED\020\004\022\r\n\tCANCELLED\020\005\022\013\n\007PENDING\020\006B\256\002\n,com" + + "ED\020\004\022\r\n\tCANCELLED\020\005\022\013\n\007PENDING\020\006B\266\002\n,com" + ".google.cloud.enterpriseknowledgegraph.v" - + "1B\026OperationMetadataProtoP\001Z`google.gola" - + "ng.org/genproto/googleapis/cloud/enterpr" - + "iseknowledgegraph/v1;enterpriseknowledge" - + "graph\252\002(Google.Cloud.EnterpriseKnowledge" - + "Graph.V1\312\002(Google\\Cloud\\EnterpriseKnowle" - + "dgeGraph\\V1\352\002+Google::Cloud::EnterpriseK" - + "nowledgeGraph::V1b\006proto3" + + "1B\026OperationMetadataProtoP\001Zhcloud.googl" + + "e.com/go/enterpriseknowledgegraph/apiv1/" + + "enterpriseknowledgegraphpb;enterprisekno" + + "wledgegraphpb\252\002(Google.Cloud.EnterpriseK" + + "nowledgeGraph.V1\312\002(Google\\Cloud\\Enterpri" + + "seKnowledgeGraph\\V1\352\002+Google::Cloud::Ent" + + "erpriseKnowledgeGraph::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java index c9cc3c1d3b62..79b7aa129ca0 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/ServiceProto.java @@ -313,27 +313,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "publicKnowledgeGraphEntities:Search\332A\014pa" + "rent,query\032[\312A\'enterpriseknowledgegraph." + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB\240\006\n,com.google.c" + + "com/auth/cloud-platformB\250\006\n,com.google.c" + "loud.enterpriseknowledgegraph.v1B\014Servic" - + "eProtoP\001Z`google.golang.org/genproto/goo" - + "gleapis/cloud/enterpriseknowledgegraph/v" - + "1;enterpriseknowledgegraph\252\002(Google.Clou" - + "d.EnterpriseKnowledgeGraph.V1\312\002(Google\\C" - + "loud\\EnterpriseKnowledgeGraph\\V1\352\002+Googl" - + "e::Cloud::EnterpriseKnowledgeGraph::V1\352A" - + "H\n\037bigquery.googleapis.com/Dataset\022%proj" - + "ects/{project}/datasets/{dataset}\352AU\n\035bi" - + "gquery.googleapis.com/Table\0224projects/{p" - + "roject}/datasets/{dataset}/tables/{table" - + "}\352A\247\001\nAenterpriseknowledgegraph.googleap" - + "is.com/CloudKnowledgeGraphEntity\022bprojec" - + "ts/{project}/locations/{location}/cloudK" - + "nowledgeGraphEntities/{cloud_knowledge_g" - + "raph_entity}\352A\252\001\nBenterpriseknowledgegra" - + "ph.googleapis.com/PublicKnowledgeGraphEn" - + "tity\022dprojects/{project}/locations/{loca" - + "tion}/publicKnowledgeGraphEntities/{publ" - + "ic_knowledge_graph_entity}b\006proto3" + + "eProtoP\001Zhcloud.google.com/go/enterprise" + + "knowledgegraph/apiv1/enterpriseknowledge" + + "graphpb;enterpriseknowledgegraphpb\252\002(Goo" + + "gle.Cloud.EnterpriseKnowledgeGraph.V1\312\002(" + + "Google\\Cloud\\EnterpriseKnowledgeGraph\\V1" + + "\352\002+Google::Cloud::EnterpriseKnowledgeGra" + + "ph::V1\352AH\n\037bigquery.googleapis.com/Datas" + + "et\022%projects/{project}/datasets/{dataset" + + "}\352AU\n\035bigquery.googleapis.com/Table\0224pro" + + "jects/{project}/datasets/{dataset}/table" + + "s/{table}\352A\247\001\nAenterpriseknowledgegraph." + + "googleapis.com/CloudKnowledgeGraphEntity" + + "\022bprojects/{project}/locations/{location" + + "}/cloudKnowledgeGraphEntities/{cloud_kno" + + "wledge_graph_entity}\352A\252\001\nBenterpriseknow" + + "ledgegraph.googleapis.com/PublicKnowledg" + + "eGraphEntity\022dprojects/{project}/locatio" + + "ns/{location}/publicKnowledgeGraphEntiti" + + "es/{public_knowledge_graph_entity}b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/job_state.proto b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/job_state.proto index 7893ecfe26bd..d36bac07849b 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/job_state.proto +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/job_state.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package google.cloud.enterpriseknowledgegraph.v1; -option go_package = "google.golang.org/genproto/googleapis/cloud/enterpriseknowledgegraph/v1;enterpriseknowledgegraph"; +option go_package = "cloud.google.com/go/enterpriseknowledgegraph/apiv1/enterpriseknowledgegraphpb;enterpriseknowledgegraphpb"; option java_multiple_files = true; option java_outer_classname = "JobStateProto"; option java_package = "com.google.cloud.enterpriseknowledgegraph.v1"; diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/operation_metadata.proto b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/operation_metadata.proto index 6e1230423f69..613483b3cd99 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/operation_metadata.proto +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/operation_metadata.proto @@ -18,7 +18,7 @@ package google.cloud.enterpriseknowledgegraph.v1; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/enterpriseknowledgegraph/v1;enterpriseknowledgegraph"; +option go_package = "cloud.google.com/go/enterpriseknowledgegraph/apiv1/enterpriseknowledgegraphpb;enterpriseknowledgegraphpb"; option java_multiple_files = true; option java_outer_classname = "OperationMetadataProto"; option java_package = "com.google.cloud.enterpriseknowledgegraph.v1"; diff --git a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/service.proto b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/service.proto index 74bb53e9cdee..9f724acb5958 100644 --- a/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/service.proto +++ b/java-enterpriseknowledgegraph/proto-google-cloud-enterpriseknowledgegraph-v1/src/main/proto/google/cloud/enterpriseknowledgegraph/v1/service.proto @@ -29,7 +29,7 @@ import "google/protobuf/wrappers.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.EnterpriseKnowledgeGraph.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/enterpriseknowledgegraph/v1;enterpriseknowledgegraph"; +option go_package = "cloud.google.com/go/enterpriseknowledgegraph/apiv1/enterpriseknowledgegraphpb;enterpriseknowledgegraphpb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.enterpriseknowledgegraph.v1"; diff --git a/java-errorreporting/google-cloud-errorreporting-bom/pom.xml b/java-errorreporting/google-cloud-errorreporting-bom/pom.xml index 28fce55dd6ef..22a4e2985d55 100644 --- a/java-errorreporting/google-cloud-errorreporting-bom/pom.xml +++ b/java-errorreporting/google-cloud-errorreporting-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-errorreporting-bom - 0.130.0-beta + 0.131.0-beta pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-errorreporting - 0.130.0-beta + 0.131.0-beta com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.96.0 + 0.97.0 diff --git a/java-errorreporting/google-cloud-errorreporting/pom.xml b/java-errorreporting/google-cloud-errorreporting/pom.xml index 8a008feb9cae..62879250e167 100644 --- a/java-errorreporting/google-cloud-errorreporting/pom.xml +++ b/java-errorreporting/google-cloud-errorreporting/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-errorreporting - 0.130.0-beta + 0.131.0-beta jar Google Cloud Error Reporting Java idiomatic client for Google Cloud Error Reporting com.google.cloud google-cloud-errorreporting-parent - 0.130.0-beta + 0.131.0-beta google-cloud-errorreporting diff --git a/java-errorreporting/grpc-google-cloud-error-reporting-v1beta1/pom.xml b/java-errorreporting/grpc-google-cloud-error-reporting-v1beta1/pom.xml index 381f810f2798..7b8ad804a232 100644 --- a/java-errorreporting/grpc-google-cloud-error-reporting-v1beta1/pom.xml +++ b/java-errorreporting/grpc-google-cloud-error-reporting-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.96.0 + 0.97.0 grpc-google-cloud-error-reporting-v1beta1 GRPC library for grpc-google-cloud-error-reporting-v1beta1 com.google.cloud google-cloud-errorreporting-parent - 0.130.0-beta + 0.131.0-beta diff --git a/java-errorreporting/pom.xml b/java-errorreporting/pom.xml index 958ac9817796..894851fb279e 100644 --- a/java-errorreporting/pom.xml +++ b/java-errorreporting/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-errorreporting-parent pom - 0.130.0-beta + 0.131.0-beta Google Cloud Error Reporting Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,18 +29,18 @@ com.google.cloud google-cloud-errorreporting - 0.130.0-beta + 0.131.0-beta com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-error-reporting-v1beta1 - 0.96.0 + 0.97.0 diff --git a/java-errorreporting/proto-google-cloud-error-reporting-v1beta1/pom.xml b/java-errorreporting/proto-google-cloud-error-reporting-v1beta1/pom.xml index 9831ef6e5b5a..1c6050108afc 100644 --- a/java-errorreporting/proto-google-cloud-error-reporting-v1beta1/pom.xml +++ b/java-errorreporting/proto-google-cloud-error-reporting-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-error-reporting-v1beta1 - 0.96.0 + 0.97.0 proto-google-cloud-error-reporting-v1beta1 PROTO library for proto-google-cloud-error-reporting-v1beta1 com.google.cloud google-cloud-errorreporting-parent - 0.130.0-beta + 0.131.0-beta diff --git a/java-essential-contacts/README.md b/java-essential-contacts/README.md index a44a1fa1f1d2..40240b3207c4 100644 --- a/java-essential-contacts/README.md +++ b/java-essential-contacts/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-essential-contacts - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-essential-contacts:2.8.0' +implementation 'com.google.cloud:google-cloud-essential-contacts:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.9.0" ``` ## Authentication diff --git a/java-essential-contacts/google-cloud-essential-contacts-bom/pom.xml b/java-essential-contacts/google-cloud-essential-contacts-bom/pom.xml index 695bf9f6c728..bb96db0f9448 100644 --- a/java-essential-contacts/google-cloud-essential-contacts-bom/pom.xml +++ b/java-essential-contacts/google-cloud-essential-contacts-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-essential-contacts-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-essential-contacts - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-essential-contacts-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-essential-contacts-v1 - 2.9.0 + 2.10.0 diff --git a/java-essential-contacts/google-cloud-essential-contacts/pom.xml b/java-essential-contacts/google-cloud-essential-contacts/pom.xml index 93f06c74f947..a87348a76a9e 100644 --- a/java-essential-contacts/google-cloud-essential-contacts/pom.xml +++ b/java-essential-contacts/google-cloud-essential-contacts/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-essential-contacts - 2.9.0 + 2.10.0 jar Google Essential Contacts API Essential Contacts API helps you customize who receives notifications by providing your own list of contacts in many Google Cloud services. com.google.cloud google-cloud-essential-contacts-parent - 2.9.0 + 2.10.0 google-cloud-essential-contacts diff --git a/java-essential-contacts/grpc-google-cloud-essential-contacts-v1/pom.xml b/java-essential-contacts/grpc-google-cloud-essential-contacts-v1/pom.xml index 14223e9512c6..e2d46dc077d5 100644 --- a/java-essential-contacts/grpc-google-cloud-essential-contacts-v1/pom.xml +++ b/java-essential-contacts/grpc-google-cloud-essential-contacts-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-essential-contacts-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-essential-contacts-v1 GRPC library for google-cloud-essential-contacts com.google.cloud google-cloud-essential-contacts-parent - 2.9.0 + 2.10.0 diff --git a/java-essential-contacts/pom.xml b/java-essential-contacts/pom.xml index 18c2e5c2c7e5..347d11ac3e14 100644 --- a/java-essential-contacts/pom.xml +++ b/java-essential-contacts/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-essential-contacts-parent pom - 2.9.0 + 2.10.0 Google Essential Contacts API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-essential-contacts - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-essential-contacts-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-essential-contacts-v1 - 2.9.0 + 2.10.0 diff --git a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/pom.xml b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/pom.xml index 31b56f1105e2..1be3372c118b 100644 --- a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/pom.xml +++ b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-essential-contacts-v1 - 2.9.0 + 2.10.0 proto-google-cloud-essential-contacts-v1 Proto library for google-cloud-essential-contacts com.google.cloud google-cloud-essential-contacts-parent - 2.9.0 + 2.10.0 diff --git a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/EnumsProto.java b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/EnumsProto.java index b6e5f8841674..360e8adfbe21 100644 --- a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/EnumsProto.java +++ b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/EnumsProto.java @@ -43,14 +43,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\013\n\007BILLING\020\007\022\t\n\005LEGAL\020\010\022\023\n\017PRODUCT_UPDA" + "TES\020\t\022\027\n\023TECHNICAL_INCIDENTS\020\n*K\n\017Valida" + "tionState\022 \n\034VALIDATION_STATE_UNSPECIFIE" - + "D\020\000\022\t\n\005VALID\020\001\022\013\n\007INVALID\020\002B\370\001\n%com.goog" + + "D\020\000\022\t\n\005VALID\020\001\022\013\n\007INVALID\020\002B\371\001\n%com.goog" + "le.cloud.essentialcontacts.v1B\nEnumsProt" - + "oP\001ZRgoogle.golang.org/genproto/googleap" - + "is/cloud/essentialcontacts/v1;essentialc" - + "ontacts\252\002!Google.Cloud.EssentialContacts" - + ".V1\312\002!Google\\Cloud\\EssentialContacts\\V1\352" - + "\002$Google::Cloud::EssentialContacts::V1b\006" - + "proto3" + + "oP\001ZScloud.google.com/go/essentialcontac" + + "ts/apiv1/essentialcontactspb;essentialco" + + "ntactspb\252\002!Google.Cloud.EssentialContact" + + "s.V1\312\002!Google\\Cloud\\EssentialContacts\\V1" + + "\352\002$Google::Cloud::EssentialContacts::V1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/Service.java b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/Service.java index 17ab0cce83c5..0192a6380dd7 100644 --- a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/Service.java +++ b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/java/com/google/cloud/essentialcontacts/v1/Service.java @@ -179,13 +179,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "urce=organizations/*}/contacts:sendTestM" + "essage:\001*\032T\312A essentialcontacts.googleap" + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\354\001\n%com.google.cloud.ess" - + "entialcontacts.v1P\001ZRgoogle.golang.org/g" - + "enproto/googleapis/cloud/essentialcontac" - + "ts/v1;essentialcontacts\252\002!Google.Cloud.E" - + "ssentialContacts.V1\312\002!Google\\Cloud\\Essen" - + "tialContacts\\V1\352\002$Google::Cloud::Essenti" - + "alContacts::V1b\006proto3" + + "/cloud-platformB\355\001\n%com.google.cloud.ess" + + "entialcontacts.v1P\001ZScloud.google.com/go" + + "/essentialcontacts/apiv1/essentialcontac" + + "tspb;essentialcontactspb\252\002!Google.Cloud." + + "EssentialContacts.V1\312\002!Google\\Cloud\\Esse" + + "ntialContacts\\V1\352\002$Google::Cloud::Essent" + + "ialContacts::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/enums.proto b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/enums.proto index 6fcdeb3735cb..ec0ecd9f9c75 100644 --- a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/enums.proto +++ b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/enums.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package google.cloud.essentialcontacts.v1; -option go_package = "google.golang.org/genproto/googleapis/cloud/essentialcontacts/v1;essentialcontacts"; +option go_package = "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb"; option java_multiple_files = true; option java_outer_classname = "EnumsProto"; option java_package = "com.google.cloud.essentialcontacts.v1"; diff --git a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/service.proto b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/service.proto index 2bd0f1a61631..edee4105248c 100644 --- a/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/service.proto +++ b/java-essential-contacts/proto-google-cloud-essential-contacts-v1/src/main/proto/google/cloud/essentialcontacts/v1/service.proto @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/essentialcontacts/v1;essentialcontacts"; +option go_package = "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb"; option java_multiple_files = true; option java_package = "com.google.cloud.essentialcontacts.v1"; option csharp_namespace = "Google.Cloud.EssentialContacts.V1"; diff --git a/java-eventarc-publishing/README.md b/java-eventarc-publishing/README.md index c455831c3f0e..28d058d40873 100644 --- a/java-eventarc-publishing/README.md +++ b/java-eventarc-publishing/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-eventarc-publishing - 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-eventarc-publishing:0.8.0' +implementation 'com.google.cloud:google-cloud-eventarc-publishing:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "0.9.0" ``` ## Authentication diff --git a/java-eventarc-publishing/google-cloud-eventarc-publishing-bom/pom.xml b/java-eventarc-publishing/google-cloud-eventarc-publishing-bom/pom.xml index 128f08c8c206..856e3b88985b 100644 --- a/java-eventarc-publishing/google-cloud-eventarc-publishing-bom/pom.xml +++ b/java-eventarc-publishing/google-cloud-eventarc-publishing-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-eventarc-publishing-bom - 0.9.0 + 0.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-eventarc-publishing - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-eventarc-publishing-v1 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-eventarc-publishing-v1 - 0.9.0 + 0.10.0 diff --git a/java-eventarc-publishing/google-cloud-eventarc-publishing/pom.xml b/java-eventarc-publishing/google-cloud-eventarc-publishing/pom.xml index c567eab82601..753604704c6a 100644 --- a/java-eventarc-publishing/google-cloud-eventarc-publishing/pom.xml +++ b/java-eventarc-publishing/google-cloud-eventarc-publishing/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-eventarc-publishing - 0.9.0 + 0.10.0 jar Google Eventarc Publishing Eventarc Publishing lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. com.google.cloud google-cloud-eventarc-publishing-parent - 0.9.0 + 0.10.0 google-cloud-eventarc-publishing diff --git a/java-eventarc-publishing/grpc-google-cloud-eventarc-publishing-v1/pom.xml b/java-eventarc-publishing/grpc-google-cloud-eventarc-publishing-v1/pom.xml index efeb2af2b54c..f75bbc9984ba 100644 --- a/java-eventarc-publishing/grpc-google-cloud-eventarc-publishing-v1/pom.xml +++ b/java-eventarc-publishing/grpc-google-cloud-eventarc-publishing-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-eventarc-publishing-v1 - 0.9.0 + 0.10.0 grpc-google-cloud-eventarc-publishing-v1 GRPC library for google-cloud-eventarc-publishing com.google.cloud google-cloud-eventarc-publishing-parent - 0.9.0 + 0.10.0 diff --git a/java-eventarc-publishing/pom.xml b/java-eventarc-publishing/pom.xml index d77db5c10083..0c724481c4c5 100644 --- a/java-eventarc-publishing/pom.xml +++ b/java-eventarc-publishing/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-eventarc-publishing-parent pom - 0.9.0 + 0.10.0 Google Eventarc Publishing Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-eventarc-publishing - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-eventarc-publishing-v1 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-eventarc-publishing-v1 - 0.9.0 + 0.10.0 diff --git a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/pom.xml b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/pom.xml index d805b8a7e7ad..6dd26c58f4fa 100644 --- a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/pom.xml +++ b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-eventarc-publishing-v1 - 0.9.0 + 0.10.0 proto-google-cloud-eventarc-publishing-v1 Proto library for google-cloud-eventarc-publishing com.google.cloud google-cloud-eventarc-publishing-parent - 0.9.0 + 0.10.0 diff --git a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/PublisherProto.java b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/PublisherProto.java index b9df53b75946..f3c121697a89 100644 --- a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/PublisherProto.java +++ b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/java/com/google/cloud/eventarc/publishing/v1/PublisherProto.java @@ -78,14 +78,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nel=projects/*/locations/*/channels/*}:p" + "ublishEvents:\001*\032U\312A!eventarcpublishing.g" + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformB\377\001\n\'com.google.cl" + + "om/auth/cloud-platformB\372\001\n\'com.google.cl" + "oud.eventarc.publishing.v1B\016PublisherPro" - + "toP\001ZLgoogle.golang.org/genproto/googlea" - + "pis/cloud/eventarc/publishing/v1;publish" - + "er\252\002#Google.Cloud.Eventarc.Publishing.V1" - + "\312\002#Google\\Cloud\\Eventarc\\Publishing\\V1\352\002" - + "\'Google::Cloud::Eventarc::Publishing::V1" - + "b\006proto3" + + "toP\001ZGcloud.google.com/go/eventarc/publi" + + "shing/apiv1/publishingpb;publishingpb\252\002#" + + "Google.Cloud.Eventarc.Publishing.V1\312\002#Go" + + "ogle\\Cloud\\Eventarc\\Publishing\\V1\352\002\'Goog" + + "le::Cloud::Eventarc::Publishing::V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/proto/google/cloud/eventarc/publishing/v1/publisher.proto b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/proto/google/cloud/eventarc/publishing/v1/publisher.proto index b68f1ece8470..53ca8f438eb1 100644 --- a/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/proto/google/cloud/eventarc/publishing/v1/publisher.proto +++ b/java-eventarc-publishing/proto-google-cloud-eventarc-publishing-v1/src/main/proto/google/cloud/eventarc/publishing/v1/publisher.proto @@ -20,7 +20,7 @@ import "google/api/client.proto"; import "google/protobuf/any.proto"; option csharp_namespace = "Google.Cloud.Eventarc.Publishing.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/eventarc/publishing/v1;publisher"; +option go_package = "cloud.google.com/go/eventarc/publishing/apiv1/publishingpb;publishingpb"; option java_multiple_files = true; option java_outer_classname = "PublisherProto"; option java_package = "com.google.cloud.eventarc.publishing.v1"; diff --git a/java-eventarc/README.md b/java-eventarc/README.md index b78dfdf45d10..79f1f2c3a5d9 100644 --- a/java-eventarc/README.md +++ b/java-eventarc/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-eventarc - 1.8.0 + 1.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-eventarc:1.8.0' +implementation 'com.google.cloud:google-cloud-eventarc:1.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "1.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "1.9.0" ``` ## Authentication diff --git a/java-eventarc/google-cloud-eventarc-bom/pom.xml b/java-eventarc/google-cloud-eventarc-bom/pom.xml index 5b7c45364542..216b4dcce35f 100644 --- a/java-eventarc/google-cloud-eventarc-bom/pom.xml +++ b/java-eventarc/google-cloud-eventarc-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-eventarc-bom - 1.9.0 + 1.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-eventarc - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-eventarc-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-eventarc-v1 - 1.9.0 + 1.10.0 diff --git a/java-eventarc/google-cloud-eventarc/pom.xml b/java-eventarc/google-cloud-eventarc/pom.xml index da01674b8000..826e8766953f 100644 --- a/java-eventarc/google-cloud-eventarc/pom.xml +++ b/java-eventarc/google-cloud-eventarc/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-eventarc - 1.9.0 + 1.10.0 jar Google Eventarc Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. com.google.cloud google-cloud-eventarc-parent - 1.9.0 + 1.10.0 google-cloud-eventarc diff --git a/java-eventarc/grpc-google-cloud-eventarc-v1/pom.xml b/java-eventarc/grpc-google-cloud-eventarc-v1/pom.xml index 9c3fc421f3a3..9e4c2d6a4759 100644 --- a/java-eventarc/grpc-google-cloud-eventarc-v1/pom.xml +++ b/java-eventarc/grpc-google-cloud-eventarc-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-eventarc-v1 - 1.9.0 + 1.10.0 grpc-google-cloud-eventarc-v1 GRPC library for google-cloud-eventarc com.google.cloud google-cloud-eventarc-parent - 1.9.0 + 1.10.0 diff --git a/java-eventarc/pom.xml b/java-eventarc/pom.xml index f3d856b5a047..cbd2c38c6e34 100644 --- a/java-eventarc/pom.xml +++ b/java-eventarc/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-eventarc-parent pom - 1.9.0 + 1.10.0 Google Eventarc Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-eventarc - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-eventarc-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-eventarc-v1 - 1.9.0 + 1.10.0 diff --git a/java-eventarc/proto-google-cloud-eventarc-v1/pom.xml b/java-eventarc/proto-google-cloud-eventarc-v1/pom.xml index f039ffcfc6e2..5992978c84d4 100644 --- a/java-eventarc/proto-google-cloud-eventarc-v1/pom.xml +++ b/java-eventarc/proto-google-cloud-eventarc-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-eventarc-v1 - 1.9.0 + 1.10.0 proto-google-cloud-eventarc-v1 Proto library for google-cloud-eventarc com.google.cloud google-cloud-eventarc-parent - 1.9.0 + 1.10.0 diff --git a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/ChannelConnectionProto.java b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/ChannelConnectionProto.java index d0f7280e6b56..7745755e097f 100644 --- a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/ChannelConnectionProto.java +++ b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/ChannelConnectionProto.java @@ -54,13 +54,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "arc.googleapis.com/ChannelConnection\022Opr" + "ojects/{project}/locations/{location}/ch" + "annelConnections/{channel_connection}*\022c" - + "hannelConnections2\021channelConnectionB\316\001\n" + + "hannelConnections2\021channelConnectionB\306\001\n" + "\034com.google.cloud.eventarc.v1B\026ChannelCo" - + "nnectionProtoP\001Z@google.golang.org/genpr" - + "oto/googleapis/cloud/eventarc/v1;eventar" - + "c\252\002\030Google.Cloud.Eventarc.V1\312\002\030Google\\Cl" - + "oud\\Eventarc\\V1\352\002\033Google::Cloud::Eventar" - + "c::V1b\006proto3" + + "nnectionProtoP\001Z8cloud.google.com/go/eve" + + "ntarc/apiv1/eventarcpb;eventarcpb\252\002\030Goog" + + "le.Cloud.Eventarc.V1\312\002\030Google\\Cloud\\Even" + + "tarc\\V1\352\002\033Google::Cloud::Eventarc::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/ChannelProto.java b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/ChannelProto.java index 0ef41cd84d78..4639a95d2749 100644 --- a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/ChannelProto.java +++ b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/ChannelProto.java @@ -58,12 +58,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\037eventarc.googleapis.com/Channel\022:projec" + "ts/{project}/locations/{location}/channe" + "ls/{channel}*\010channels2\007channelB\013\n\ttrans" - + "portB\304\001\n\034com.google.cloud.eventarc.v1B\014C" - + "hannelProtoP\001Z@google.golang.org/genprot" - + "o/googleapis/cloud/eventarc/v1;eventarc\252" - + "\002\030Google.Cloud.Eventarc.V1\312\002\030Google\\Clou" - + "d\\Eventarc\\V1\352\002\033Google::Cloud::Eventarc:" - + ":V1b\006proto3" + + "portB\274\001\n\034com.google.cloud.eventarc.v1B\014C" + + "hannelProtoP\001Z8cloud.google.com/go/event" + + "arc/apiv1/eventarcpb;eventarcpb\252\002\030Google" + + ".Cloud.Eventarc.V1\312\002\030Google\\Cloud\\Eventa" + + "rc\\V1\352\002\033Google::Cloud::Eventarc::V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/DiscoveryProto.java b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/DiscoveryProto.java index 88db7970fdb1..2b4db66340dd 100644 --- a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/DiscoveryProto.java +++ b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/DiscoveryProto.java @@ -64,10 +64,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "t_schema_uri\030\004 \001(\tB\003\340A\003\"\202\001\n\022FilteringAtt" + "ribute\022\026\n\tattribute\030\001 \001(\tB\003\340A\003\022\030\n\013descri" + "ption\030\002 \001(\tB\003\340A\003\022\025\n\010required\030\003 \001(\010B\003\340A\003\022" - + "#\n\026path_pattern_supported\030\004 \001(\010B\003\340A\003Br\n\034" + + "#\n\026path_pattern_supported\030\004 \001(\010B\003\340A\003Bj\n\034" + "com.google.cloud.eventarc.v1B\016DiscoveryP" - + "rotoP\001Z@google.golang.org/genproto/googl" - + "eapis/cloud/eventarc/v1;eventarcb\006proto3" + + "rotoP\001Z8cloud.google.com/go/eventarc/api" + + "v1/eventarcpb;eventarcpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/EventarcProto.java b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/EventarcProto.java index bdd9b88dd361..743c05619524 100644 --- a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/EventarcProto.java +++ b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/EventarcProto.java @@ -316,13 +316,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*/googleChannelConfig}:\025google_channel_c" + "onfig\332A!google_channel_config,update_mas" + "k\032K\312A\027eventarc.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB\305" + + "www.googleapis.com/auth/cloud-platformB\275" + "\001\n\034com.google.cloud.eventarc.v1B\rEventar" - + "cProtoP\001Z@google.golang.org/genproto/goo" - + "gleapis/cloud/eventarc/v1;eventarc\252\002\030Goo" - + "gle.Cloud.Eventarc.V1\312\002\030Google\\Cloud\\Eve" - + "ntarc\\V1\352\002\033Google::Cloud::Eventarc::V1b\006" - + "proto3" + + "cProtoP\001Z8cloud.google.com/go/eventarc/a" + + "piv1/eventarcpb;eventarcpb\252\002\030Google.Clou" + + "d.Eventarc.V1\312\002\030Google\\Cloud\\Eventarc\\V1" + + "\352\002\033Google::Cloud::Eventarc::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/GoogleChannelConfigProto.java b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/GoogleChannelConfigProto.java index 60528967f07c..9aa3d1c7a2d2 100644 --- a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/GoogleChannelConfigProto.java +++ b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/GoogleChannelConfigProto.java @@ -51,16 +51,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "apis.com/CryptoKey:\202\001\352A\177\n+eventarc.googl" + "eapis.com/GoogleChannelConfig\022;projects/" + "{project}/locations/{location}/googleCha" - + "nnelConfig2\023googleChannelConfigB\313\002\n\034com." + + "nnelConfig2\023googleChannelConfigB\303\002\n\034com." + "google.cloud.eventarc.v1B\030GoogleChannelC" - + "onfigProtoP\001Z@google.golang.org/genproto" - + "/googleapis/cloud/eventarc/v1;eventarc\252\002" - + "\030Google.Cloud.Eventarc.V1\312\002\030Google\\Cloud" - + "\\Eventarc\\V1\352\002\033Google::Cloud::Eventarc::" - + "V1\352Ax\n!cloudkms.googleapis.com/CryptoKey" - + "\022Sprojects/{project}/locations/{location" - + "}/keyRings/{key_ring}/cryptoKeys/{crypto" - + "_key}b\006proto3" + + "onfigProtoP\001Z8cloud.google.com/go/eventa" + + "rc/apiv1/eventarcpb;eventarcpb\252\002\030Google." + + "Cloud.Eventarc.V1\312\002\030Google\\Cloud\\Eventar" + + "c\\V1\352\002\033Google::Cloud::Eventarc::V1\352Ax\n!c" + + "loudkms.googleapis.com/CryptoKey\022Sprojec" + + "ts/{project}/locations/{location}/keyRin" + + "gs/{key_ring}/cryptoKeys/{crypto_key}b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/TriggerProto.java b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/TriggerProto.java index 5e0e15dff700..e4c3c4718e3e 100644 --- a/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/TriggerProto.java +++ b/java-eventarc/proto-google-cloud-eventarc-v1/src/main/java/com/google/cloud/eventarc/v1/TriggerProto.java @@ -121,19 +121,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\010location\030\002 \001(\tB\003\340A\002\022\026\n\tnamespace\030\003 \001(\t" + "B\003\340A\002\022\024\n\007service\030\004 \001(\tB\003\340A\002\022\021\n\004path\030\005 \001(" + "\tB\003\340A\001\"7\n\006Pubsub\022\022\n\005topic\030\001 \001(\tB\003\340A\001\022\031\n\014" - + "subscription\030\002 \001(\tB\003\340A\003B\300\003\n\034com.google.c" - + "loud.eventarc.v1B\014TriggerProtoP\001Z@google" - + ".golang.org/genproto/googleapis/cloud/ev" - + "entarc/v1;eventarc\352Ak\n+cloudfunctions.go" - + "ogleapis.com/CloudFunction\022 com.google.cloud google-cloud-filestore - 1.9.0 + 1.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-filestore:1.9.0' +implementation 'com.google.cloud:google-cloud-filestore:1.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "1.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "1.10.0" ``` ## Authentication diff --git a/java-filestore/google-cloud-filestore-bom/pom.xml b/java-filestore/google-cloud-filestore-bom/pom.xml index 2947bd5b5f78..ed7248ee8537 100644 --- a/java-filestore/google-cloud-filestore-bom/pom.xml +++ b/java-filestore/google-cloud-filestore-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-filestore-bom - 1.10.0 + 1.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-filestore - 1.10.0 + 1.11.0 com.google.api.grpc grpc-google-cloud-filestore-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-filestore-v1 - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-cloud-filestore-v1 - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-cloud-filestore-v1beta1 - 0.12.0 + 0.13.0 diff --git a/java-filestore/google-cloud-filestore/pom.xml b/java-filestore/google-cloud-filestore/pom.xml index 59437e57725f..9c2fd799e73d 100644 --- a/java-filestore/google-cloud-filestore/pom.xml +++ b/java-filestore/google-cloud-filestore/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-filestore - 1.10.0 + 1.11.0 jar Google Cloud Filestore API Cloud Filestore API instances are fully managed NFS file servers on Google Cloud for use with applications running on Compute Engine virtual machines (VMs) instances or Google Kubernetes Engine clusters. com.google.cloud google-cloud-filestore-parent - 1.10.0 + 1.11.0 google-cloud-filestore diff --git a/java-filestore/grpc-google-cloud-filestore-v1/pom.xml b/java-filestore/grpc-google-cloud-filestore-v1/pom.xml index 3544dbeb5030..ff35656125cb 100644 --- a/java-filestore/grpc-google-cloud-filestore-v1/pom.xml +++ b/java-filestore/grpc-google-cloud-filestore-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-filestore-v1 - 1.10.0 + 1.11.0 grpc-google-cloud-filestore-v1 GRPC library for google-cloud-filestore com.google.cloud google-cloud-filestore-parent - 1.10.0 + 1.11.0 diff --git a/java-filestore/grpc-google-cloud-filestore-v1beta1/pom.xml b/java-filestore/grpc-google-cloud-filestore-v1beta1/pom.xml index 1a05614db20b..dbdf9d751e09 100644 --- a/java-filestore/grpc-google-cloud-filestore-v1beta1/pom.xml +++ b/java-filestore/grpc-google-cloud-filestore-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-filestore-v1beta1 - 0.12.0 + 0.13.0 grpc-google-cloud-filestore-v1beta1 GRPC library for google-cloud-filestore com.google.cloud google-cloud-filestore-parent - 1.10.0 + 1.11.0 diff --git a/java-filestore/pom.xml b/java-filestore/pom.xml index 2965b402815b..c3defac6f552 100644 --- a/java-filestore/pom.xml +++ b/java-filestore/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-filestore-parent pom - 1.10.0 + 1.11.0 Google Cloud Filestore API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-filestore - 1.10.0 + 1.11.0 com.google.api.grpc grpc-google-cloud-filestore-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-filestore-v1 - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-cloud-filestore-v1 - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-cloud-filestore-v1beta1 - 0.12.0 + 0.13.0 diff --git a/java-filestore/proto-google-cloud-filestore-v1/pom.xml b/java-filestore/proto-google-cloud-filestore-v1/pom.xml index beec1cf922e1..7ccd390b23e2 100644 --- a/java-filestore/proto-google-cloud-filestore-v1/pom.xml +++ b/java-filestore/proto-google-cloud-filestore-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-filestore-v1 - 1.10.0 + 1.11.0 proto-google-cloud-filestore-v1 Proto library for google-cloud-filestore com.google.cloud google-cloud-filestore-parent - 1.10.0 + 1.11.0 diff --git a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreServiceProto.java b/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreServiceProto.java index 108e446f3604..6d506b843b1d 100644 --- a/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreServiceProto.java +++ b/java-filestore/proto-google-cloud-filestore-v1/src/main/java/com/google/cloud/filestore/v1/CloudFilestoreServiceProto.java @@ -287,11 +287,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "A/\n\006Backup\022%google.cloud.common.Operatio" + "nMetadata\032G\312A\023file.googleapis.com\322A.http" + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\271\001\n\035com.google.cloud.filestore.v1B\032Cl" - + "oudFilestoreServiceProtoP\001ZBgoogle.golan" - + "g.org/genproto/googleapis/cloud/filestor" - + "e/v1;filestore\252\002\031Google.Cloud.Filestore." - + "V1\312\002\031Google\\Cloud\\Filestore\\V1b\006proto3" + + "rmB\262\001\n\035com.google.cloud.filestore.v1B\032Cl" + + "oudFilestoreServiceProtoP\001Z;cloud.google" + + ".com/go/filestore/apiv1/filestorepb;file" + + "storepb\252\002\031Google.Cloud.Filestore.V1\312\002\031Go" + + "ogle\\Cloud\\Filestore\\V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-filestore/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto b/java-filestore/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto index 676fa0b2fc53..6086772551c1 100644 --- a/java-filestore/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto +++ b/java-filestore/proto-google-cloud-filestore-v1/src/main/proto/google/cloud/filestore/v1/cloud_filestore_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.Filestore.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/filestore/v1;filestore"; +option go_package = "cloud.google.com/go/filestore/apiv1/filestorepb;filestorepb"; option java_multiple_files = true; option java_outer_classname = "CloudFilestoreServiceProto"; option java_package = "com.google.cloud.filestore.v1"; diff --git a/java-filestore/proto-google-cloud-filestore-v1beta1/pom.xml b/java-filestore/proto-google-cloud-filestore-v1beta1/pom.xml index 4d8133c64cc1..1abb749f89f3 100644 --- a/java-filestore/proto-google-cloud-filestore-v1beta1/pom.xml +++ b/java-filestore/proto-google-cloud-filestore-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-filestore-v1beta1 - 0.12.0 + 0.13.0 proto-google-cloud-filestore-v1beta1 Proto library for google-cloud-filestore com.google.cloud google-cloud-filestore-parent - 1.10.0 + 1.11.0 diff --git a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/CloudFilestoreServiceProto.java b/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/CloudFilestoreServiceProto.java index b1e955c7dee7..f344e675dcd8 100644 --- a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/CloudFilestoreServiceProto.java +++ b/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/java/com/google/cloud/filestore/v1beta1/CloudFilestoreServiceProto.java @@ -507,13 +507,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "}:\005share\332A\021share,update_mask\312A.\n\005Share\022%" + "google.cloud.common.OperationMetadata\032G\312" + "A\023file.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\315\001\n\"com.g" + + "leapis.com/auth/cloud-platformB\306\001\n\"com.g" + "oogle.cloud.filestore.v1beta1B\032CloudFile" - + "storeServiceProtoP\001ZGgoogle.golang.org/g" - + "enproto/googleapis/cloud/filestore/v1bet" - + "a1;filestore\252\002\036Google.Cloud.Filestore.V1" - + "Beta1\312\002\036Google\\Cloud\\Filestore\\V1beta1b\006" - + "proto3" + + "storeServiceProtoP\001Z@cloud.google.com/go" + + "/filestore/apiv1beta1/filestorepb;filest" + + "orepb\252\002\036Google.Cloud.Filestore.V1Beta1\312\002" + + "\036Google\\Cloud\\Filestore\\V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/proto/google/cloud/filestore/v1beta1/cloud_filestore_service.proto b/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/proto/google/cloud/filestore/v1beta1/cloud_filestore_service.proto index bf600312e2d4..81f284220709 100644 --- a/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/proto/google/cloud/filestore/v1beta1/cloud_filestore_service.proto +++ b/java-filestore/proto-google-cloud-filestore-v1beta1/src/main/proto/google/cloud/filestore/v1beta1/cloud_filestore_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.Filestore.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/filestore/v1beta1;filestore"; +option go_package = "cloud.google.com/go/filestore/apiv1beta1/filestorepb;filestorepb"; option java_multiple_files = true; option java_outer_classname = "CloudFilestoreServiceProto"; option java_package = "com.google.cloud.filestore.v1beta1"; diff --git a/java-functions/README.md b/java-functions/README.md index 0e696562f211..f173178d429a 100644 --- a/java-functions/README.md +++ b/java-functions/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-functions - 2.10.0 + 2.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-functions:2.10.0' +implementation 'com.google.cloud:google-cloud-functions:2.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.11.0" ``` ## Authentication diff --git a/java-functions/google-cloud-functions-bom/pom.xml b/java-functions/google-cloud-functions-bom/pom.xml index 4f0d6d8c5d97..7486905aca89 100644 --- a/java-functions/google-cloud-functions-bom/pom.xml +++ b/java-functions/google-cloud-functions-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-functions-bom - 2.11.0 + 2.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,47 +27,47 @@ com.google.cloud google-cloud-functions - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-functions-v2beta - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-functions-v2alpha - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-functions-v2 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-functions-v1 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-functions-v2beta - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-functions-v2alpha - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-functions-v2 - 2.11.0 + 2.12.0 diff --git a/java-functions/google-cloud-functions/pom.xml b/java-functions/google-cloud-functions/pom.xml index a3c56880298e..dc5b43011030 100644 --- a/java-functions/google-cloud-functions/pom.xml +++ b/java-functions/google-cloud-functions/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-functions - 2.11.0 + 2.12.0 jar Google Cloud Functions is a scalable pay as you go Functions-as-a-Service (FaaS) to run your code with zero server management. com.google.cloud google-cloud-functions-parent - 2.11.0 + 2.12.0 google-cloud-functions diff --git a/java-functions/grpc-google-cloud-functions-v1/pom.xml b/java-functions/grpc-google-cloud-functions-v1/pom.xml index 0c21f2367e67..833b5b2ef33c 100644 --- a/java-functions/grpc-google-cloud-functions-v1/pom.xml +++ b/java-functions/grpc-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.11.0 + 2.12.0 grpc-google-cloud-functions-v1 GRPC library for grpc-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 2.11.0 + 2.12.0 diff --git a/java-functions/grpc-google-cloud-functions-v2/pom.xml b/java-functions/grpc-google-cloud-functions-v2/pom.xml index 6721b7c54c28..77a9ce789430 100644 --- a/java-functions/grpc-google-cloud-functions-v2/pom.xml +++ b/java-functions/grpc-google-cloud-functions-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v2 - 2.11.0 + 2.12.0 grpc-google-cloud-functions-v2 GRPC library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.11.0 + 2.12.0 diff --git a/java-functions/grpc-google-cloud-functions-v2alpha/pom.xml b/java-functions/grpc-google-cloud-functions-v2alpha/pom.xml index cc967cfb3f8d..9d1e1c819c10 100644 --- a/java-functions/grpc-google-cloud-functions-v2alpha/pom.xml +++ b/java-functions/grpc-google-cloud-functions-v2alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v2alpha - 2.11.0 + 2.12.0 grpc-google-cloud-functions-v2alpha GRPC library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.11.0 + 2.12.0 diff --git a/java-functions/grpc-google-cloud-functions-v2beta/pom.xml b/java-functions/grpc-google-cloud-functions-v2beta/pom.xml index 840715374b02..38afaa8c3be4 100644 --- a/java-functions/grpc-google-cloud-functions-v2beta/pom.xml +++ b/java-functions/grpc-google-cloud-functions-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-functions-v2beta - 2.11.0 + 2.12.0 grpc-google-cloud-functions-v2beta GRPC library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.11.0 + 2.12.0 diff --git a/java-functions/pom.xml b/java-functions/pom.xml index bfbd5868dace..5aff5913580a 100644 --- a/java-functions/pom.xml +++ b/java-functions/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-functions-parent pom - 2.11.0 + 2.12.0 Google Cloud Functions Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,47 +29,47 @@ com.google.cloud google-cloud-functions - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-functions-v2 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-functions-v2 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-functions-v2alpha - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-functions-v2beta - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-functions-v2alpha - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-functions-v2beta - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-functions-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-functions-v1 - 2.11.0 + 2.12.0 diff --git a/java-functions/proto-google-cloud-functions-v1/pom.xml b/java-functions/proto-google-cloud-functions-v1/pom.xml index def3747e8795..1d554225fff1 100644 --- a/java-functions/proto-google-cloud-functions-v1/pom.xml +++ b/java-functions/proto-google-cloud-functions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v1 - 2.11.0 + 2.12.0 proto-google-cloud-functions-v1 PROTO library for proto-google-cloud-functions-v1 com.google.cloud google-cloud-functions-parent - 2.11.0 + 2.12.0 diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsOperationsProto.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsOperationsProto.java index 4606d134fadf..5128e00dac8a 100644 --- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsOperationsProto.java +++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsOperationsProto.java @@ -52,10 +52,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rce_token\030\007 \001(\t\022\022\n\nbuild_name\030\010 \001(\t*i\n\rO" + "perationType\022\031\n\025OPERATION_UNSPECIFIED\020\000\022" + "\023\n\017CREATE_FUNCTION\020\001\022\023\n\017UPDATE_FUNCTION\020" - + "\002\022\023\n\017DELETE_FUNCTION\020\003B\177\n\035com.google.clo" + + "\002\022\023\n\017DELETE_FUNCTION\020\003Bx\n\035com.google.clo" + "ud.functions.v1B\030FunctionsOperationsProt" - + "oP\001ZBgoogle.golang.org/genproto/googleap" - + "is/cloud/functions/v1;functionsb\006proto3" + + "oP\001Z;cloud.google.com/go/functions/apiv1" + + "/functionspb;functionspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsProto.java b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsProto.java index e299f42c885d..ec38879ea40e 100644 --- a/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsProto.java +++ b/java-functions/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/FunctionsProto.java @@ -306,16 +306,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cts/*/locations/*/functions/*}:testIamPe" + "rmissions:\001*\032Q\312A\035cloudfunctions.googleap" + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\350\002\n\035com.google.cloud.fun" - + "ctions.v1B\016FunctionsProtoP\001ZBgoogle.gola" - + "ng.org/genproto/googleapis/cloud/functio" - + "ns/v1;functions\242\002\003GCF\352Ao\n*artifactregist" - + "ry.googleapis.com/Repository\022Aprojects/{" - + "project}/locations/{location}/repositori" - + "es/{repository}\352Ax\n!cloudkms.googleapis." - + "com/CryptoKey\022Sprojects/{project}/locati" - + "ons/{location}/keyRings/{key_ring}/crypt" - + "oKeys/{crypto_key}b\006proto3" + + "/cloud-platformB\341\002\n\035com.google.cloud.fun" + + "ctions.v1B\016FunctionsProtoP\001Z;cloud.googl" + + "e.com/go/functions/apiv1/functionspb;fun" + + "ctionspb\242\002\003GCF\352Ao\n*artifactregistry.goog" + + "leapis.com/Repository\022Aprojects/{project" + + "}/locations/{location}/repositories/{rep" + + "ository}\352Ax\n!cloudkms.googleapis.com/Cry" + + "ptoKey\022Sprojects/{project}/locations/{lo" + + "cation}/keyRings/{key_ring}/cryptoKeys/{" + + "crypto_key}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto b/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto index 7592f3bed902..4b01c5b4f6ba 100644 --- a/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto +++ b/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/functions.proto @@ -27,7 +27,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/functions/v1;functions"; +option go_package = "cloud.google.com/go/functions/apiv1/functionspb;functionspb"; option java_multiple_files = true; option java_outer_classname = "FunctionsProto"; option java_package = "com.google.cloud.functions.v1"; diff --git a/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto b/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto index 9d634e782f76..880774c96c0d 100644 --- a/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto +++ b/java-functions/proto-google-cloud-functions-v1/src/main/proto/google/cloud/functions/v1/operations.proto @@ -19,7 +19,7 @@ package google.cloud.functions.v1; import "google/protobuf/any.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/functions/v1;functions"; +option go_package = "cloud.google.com/go/functions/apiv1/functionspb;functionspb"; option java_multiple_files = true; option java_outer_classname = "FunctionsOperationsProto"; option java_package = "com.google.cloud.functions.v1"; diff --git a/java-functions/proto-google-cloud-functions-v2/pom.xml b/java-functions/proto-google-cloud-functions-v2/pom.xml index 7c6f06a95446..78b5252eb416 100644 --- a/java-functions/proto-google-cloud-functions-v2/pom.xml +++ b/java-functions/proto-google-cloud-functions-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v2 - 2.11.0 + 2.12.0 proto-google-cloud-functions-v2 Proto library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.11.0 + 2.12.0 diff --git a/java-functions/proto-google-cloud-functions-v2/src/main/java/com/google/cloud/functions/v2/FunctionsProto.java b/java-functions/proto-google-cloud-functions-v2/src/main/java/com/google/cloud/functions/v2/FunctionsProto.java index d518186de7eb..2c0c1253b1a9 100644 --- a/java-functions/proto-google-cloud-functions-v2/src/main/java/com/google/cloud/functions/v2/FunctionsProto.java +++ b/java-functions/proto-google-cloud-functions-v2/src/main/java/com/google/cloud/functions/v2/FunctionsProto.java @@ -377,33 +377,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\223\002.\022,/v2/{parent=projects/*/locations/*}" + "/runtimes\332A\006parent\032Q\312A\035cloudfunctions.go" + "ogleapis.com\322A.https://www.googleapis.co" - + "m/auth/cloud-platformB\365\007\n\035com.google.clo" - + "ud.functions.v2B\016FunctionsProtoP\001ZBgoogl" - + "e.golang.org/genproto/googleapis/cloud/f" - + "unctions/v2;functions\242\002\003GCF\352Ao\n*artifact" - + "registry.googleapis.com/Repository\022Aproj" - + "ects/{project}/locations/{location}/repo" - + "sitories/{repository}\352AY\n\037cloudbuild.goo" - + "gleapis.com/Build\0226projects/{project}/lo" - + "cations/{location}/builds/{build}\352Ai\n$cl" - + "oudbuild.googleapis.com/WorkerPool\022Aproj" - + "ects/{project}/locations/{location}/work" - + "erPools/{worker_pool}\352AX\n\032run.googleapis" - + ".com/Service\022:projects/{project}/locatio" - + "ns/{location}/services/{service}\352Ad\n\"vpc" - + "access.googleapis.com/Connector\022>project" - + "s/{project}/locations/{location}/connect" - + "ors/{connector}\352A]\n\037eventarc.googleapis." - + "com/Trigger\022:projects/{project}/location" - + "s/{location}/triggers/{trigger}\352A]\n\037even" - + "tarc.googleapis.com/Channel\022:projects/{p" - + "roject}/locations/{location}/channels/{c" - + "hannel}\352A@\n\033pubsub.googleapis.com/Topic\022" - + "!projects/{project}/topics/{topic}\352Ax\n!c" - + "loudkms.googleapis.com/CryptoKey\022Sprojec" - + "ts/{project}/locations/{location}/keyRin" - + "gs/{key_ring}/cryptoKeys/{crypto_key}b\006p" - + "roto3" + + "m/auth/cloud-platformB\356\007\n\035com.google.clo" + + "ud.functions.v2B\016FunctionsProtoP\001Z;cloud" + + ".google.com/go/functions/apiv2/functions" + + "pb;functionspb\242\002\003GCF\352Ao\n*artifactregistr" + + "y.googleapis.com/Repository\022Aprojects/{p" + + "roject}/locations/{location}/repositorie" + + "s/{repository}\352AY\n\037cloudbuild.googleapis" + + ".com/Build\0226projects/{project}/locations" + + "/{location}/builds/{build}\352Ai\n$cloudbuil" + + "d.googleapis.com/WorkerPool\022Aprojects/{p" + + "roject}/locations/{location}/workerPools" + + "/{worker_pool}\352AX\n\032run.googleapis.com/Se" + + "rvice\022:projects/{project}/locations/{loc" + + "ation}/services/{service}\352Ad\n\"vpcaccess." + + "googleapis.com/Connector\022>projects/{proj" + + "ect}/locations/{location}/connectors/{co" + + "nnector}\352A]\n\037eventarc.googleapis.com/Tri" + + "gger\022:projects/{project}/locations/{loca" + + "tion}/triggers/{trigger}\352A]\n\037eventarc.go" + + "ogleapis.com/Channel\022:projects/{project}" + + "/locations/{location}/channels/{channel}" + + "\352A@\n\033pubsub.googleapis.com/Topic\022!projec" + + "ts/{project}/topics/{topic}\352Ax\n!cloudkms" + + ".googleapis.com/CryptoKey\022Sprojects/{pro" + + "ject}/locations/{location}/keyRings/{key" + + "_ring}/cryptoKeys/{crypto_key}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-functions/proto-google-cloud-functions-v2/src/main/proto/google/cloud/functions/v2/functions.proto b/java-functions/proto-google-cloud-functions-v2/src/main/proto/google/cloud/functions/v2/functions.proto index 6af26ee880de..a22047aa01ae 100644 --- a/java-functions/proto-google-cloud-functions-v2/src/main/proto/google/cloud/functions/v2/functions.proto +++ b/java-functions/proto-google-cloud-functions-v2/src/main/proto/google/cloud/functions/v2/functions.proto @@ -25,7 +25,7 @@ import "google/protobuf/any.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/functions/v2;functions"; +option go_package = "cloud.google.com/go/functions/apiv2/functionspb;functionspb"; option java_multiple_files = true; option java_outer_classname = "FunctionsProto"; option java_package = "com.google.cloud.functions.v2"; diff --git a/java-functions/proto-google-cloud-functions-v2alpha/pom.xml b/java-functions/proto-google-cloud-functions-v2alpha/pom.xml index e4020772462a..dd68d4852aaf 100644 --- a/java-functions/proto-google-cloud-functions-v2alpha/pom.xml +++ b/java-functions/proto-google-cloud-functions-v2alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v2alpha - 2.11.0 + 2.12.0 proto-google-cloud-functions-v2alpha Proto library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.11.0 + 2.12.0 diff --git a/java-functions/proto-google-cloud-functions-v2alpha/src/main/java/com/google/cloud/functions/v2alpha/FunctionsProto.java b/java-functions/proto-google-cloud-functions-v2alpha/src/main/java/com/google/cloud/functions/v2alpha/FunctionsProto.java index 0cb12249ee85..2b77c46d19bd 100644 --- a/java-functions/proto-google-cloud-functions-v2alpha/src/main/java/com/google/cloud/functions/v2alpha/FunctionsProto.java +++ b/java-functions/proto-google-cloud-functions-v2alpha/src/main/java/com/google/cloud/functions/v2alpha/FunctionsProto.java @@ -385,30 +385,29 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "{parent=projects/*/locations/*}/runtimes" + "\332A\006parent\032Q\312A\035cloudfunctions.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\204\007\n\"com.google.cloud.functi" - + "ons.v2alphaB\016FunctionsProtoP\001ZGgoogle.go" - + "lang.org/genproto/googleapis/cloud/funct" - + "ions/v2alpha;functions\242\002\003GCF\352Ao\n*artifac" - + "tregistry.googleapis.com/Repository\022Apro" - + "jects/{project}/locations/{location}/rep" - + "ositories/{repository}\352AY\n\037cloudbuild.go" - + "ogleapis.com/Build\0226projects/{project}/l" - + "ocations/{location}/builds/{build}\352Ai\n$c" - + "loudbuild.googleapis.com/WorkerPool\022Apro" - + "jects/{project}/locations/{location}/wor" - + "kerPools/{worker_pool}\352AX\n\032run.googleapi" - + "s.com/Service\022:projects/{project}/locati" - + "ons/{location}/services/{service}\352Ad\n\"vp" - + "caccess.googleapis.com/Connector\022>projec" - + "ts/{project}/locations/{location}/connec" - + "tors/{connector}\352A]\n\037eventarc.googleapis" - + ".com/Trigger\022:projects/{project}/locatio" - + "ns/{location}/triggers/{trigger}\352A]\n\037eve" - + "ntarc.googleapis.com/Channel\022:projects/{" - + "project}/locations/{location}/channels/{" - + "channel}\352A@\n\033pubsub.googleapis.com/Topic" - + "\022!projects/{project}/topics/{topic}b\006pro" - + "to3" + + "oud-platformB\375\006\n\"com.google.cloud.functi" + + "ons.v2alphaB\016FunctionsProtoP\001Z@cloud.goo" + + "gle.com/go/functions/apiv2alpha/function" + + "spb;functionspb\242\002\003GCF\352Ao\n*artifactregist" + + "ry.googleapis.com/Repository\022Aprojects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}\352AY\n\037cloudbuild.googleapi" + + "s.com/Build\0226projects/{project}/location" + + "s/{location}/builds/{build}\352Ai\n$cloudbui" + + "ld.googleapis.com/WorkerPool\022Aprojects/{" + + "project}/locations/{location}/workerPool" + + "s/{worker_pool}\352AX\n\032run.googleapis.com/S" + + "ervice\022:projects/{project}/locations/{lo" + + "cation}/services/{service}\352Ad\n\"vpcaccess" + + ".googleapis.com/Connector\022>projects/{pro" + + "ject}/locations/{location}/connectors/{c" + + "onnector}\352A]\n\037eventarc.googleapis.com/Tr" + + "igger\022:projects/{project}/locations/{loc" + + "ation}/triggers/{trigger}\352A]\n\037eventarc.g" + + "oogleapis.com/Channel\022:projects/{project" + + "}/locations/{location}/channels/{channel" + + "}\352A@\n\033pubsub.googleapis.com/Topic\022!proje" + + "cts/{project}/topics/{topic}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-functions/proto-google-cloud-functions-v2alpha/src/main/proto/google/cloud/functions/v2alpha/functions.proto b/java-functions/proto-google-cloud-functions-v2alpha/src/main/proto/google/cloud/functions/v2alpha/functions.proto index 6bc9de6832ce..0861c4b668ff 100644 --- a/java-functions/proto-google-cloud-functions-v2alpha/src/main/proto/google/cloud/functions/v2alpha/functions.proto +++ b/java-functions/proto-google-cloud-functions-v2alpha/src/main/proto/google/cloud/functions/v2alpha/functions.proto @@ -25,7 +25,7 @@ import "google/protobuf/any.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/functions/v2alpha;functions"; +option go_package = "cloud.google.com/go/functions/apiv2alpha/functionspb;functionspb"; option java_multiple_files = true; option java_outer_classname = "FunctionsProto"; option java_package = "com.google.cloud.functions.v2alpha"; diff --git a/java-functions/proto-google-cloud-functions-v2beta/pom.xml b/java-functions/proto-google-cloud-functions-v2beta/pom.xml index a036993655c5..aa5f018391c6 100644 --- a/java-functions/proto-google-cloud-functions-v2beta/pom.xml +++ b/java-functions/proto-google-cloud-functions-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-functions-v2beta - 2.11.0 + 2.12.0 proto-google-cloud-functions-v2beta Proto library for google-cloud-functions com.google.cloud google-cloud-functions-parent - 2.11.0 + 2.12.0 diff --git a/java-functions/proto-google-cloud-functions-v2beta/src/main/java/com/google/cloud/functions/v2beta/FunctionsProto.java b/java-functions/proto-google-cloud-functions-v2beta/src/main/java/com/google/cloud/functions/v2beta/FunctionsProto.java index c6097d913b17..2ba69452a2bd 100644 --- a/java-functions/proto-google-cloud-functions-v2beta/src/main/java/com/google/cloud/functions/v2beta/FunctionsProto.java +++ b/java-functions/proto-google-cloud-functions-v2beta/src/main/java/com/google/cloud/functions/v2beta/FunctionsProto.java @@ -383,30 +383,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"A\202\323\344\223\0022\0220/v2beta/{parent=projects/*/loc" + "ations/*}/runtimes\332A\006parent\032Q\312A\035cloudfun" + "ctions.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\202\007\n!com.g" + + "leapis.com/auth/cloud-platformB\373\006\n!com.g" + "oogle.cloud.functions.v2betaB\016FunctionsP" - + "rotoP\001ZFgoogle.golang.org/genproto/googl" - + "eapis/cloud/functions/v2beta;functions\242\002" - + "\003GCF\352Ao\n*artifactregistry.googleapis.com" - + "/Repository\022Aprojects/{project}/location" - + "s/{location}/repositories/{repository}\352A" - + "Y\n\037cloudbuild.googleapis.com/Build\0226proj" - + "ects/{project}/locations/{location}/buil" - + "ds/{build}\352Ai\n$cloudbuild.googleapis.com" - + "/WorkerPool\022Aprojects/{project}/location" - + "s/{location}/workerPools/{worker_pool}\352A" - + "X\n\032run.googleapis.com/Service\022:projects/" - + "{project}/locations/{location}/services/" - + "{service}\352Ad\n\"vpcaccess.googleapis.com/C" - + "onnector\022>projects/{project}/locations/{" - + "location}/connectors/{connector}\352A]\n\037eve" - + "ntarc.googleapis.com/Trigger\022:projects/{" - + "project}/locations/{location}/triggers/{" - + "trigger}\352A]\n\037eventarc.googleapis.com/Cha" - + "nnel\022:projects/{project}/locations/{loca" - + "tion}/channels/{channel}\352A@\n\033pubsub.goog" - + "leapis.com/Topic\022!projects/{project}/top" - + "ics/{topic}b\006proto3" + + "rotoP\001Z?cloud.google.com/go/functions/ap" + + "iv2beta/functionspb;functionspb\242\002\003GCF\352Ao" + + "\n*artifactregistry.googleapis.com/Reposi" + + "tory\022Aprojects/{project}/locations/{loca" + + "tion}/repositories/{repository}\352AY\n\037clou" + + "dbuild.googleapis.com/Build\0226projects/{p" + + "roject}/locations/{location}/builds/{bui" + + "ld}\352Ai\n$cloudbuild.googleapis.com/Worker" + + "Pool\022Aprojects/{project}/locations/{loca" + + "tion}/workerPools/{worker_pool}\352AX\n\032run." + + "googleapis.com/Service\022:projects/{projec" + + "t}/locations/{location}/services/{servic" + + "e}\352Ad\n\"vpcaccess.googleapis.com/Connecto" + + "r\022>projects/{project}/locations/{locatio" + + "n}/connectors/{connector}\352A]\n\037eventarc.g" + + "oogleapis.com/Trigger\022:projects/{project" + + "}/locations/{location}/triggers/{trigger" + + "}\352A]\n\037eventarc.googleapis.com/Channel\022:p" + + "rojects/{project}/locations/{location}/c" + + "hannels/{channel}\352A@\n\033pubsub.googleapis." + + "com/Topic\022!projects/{project}/topics/{to" + + "pic}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-functions/proto-google-cloud-functions-v2beta/src/main/proto/google/cloud/functions/v2beta/functions.proto b/java-functions/proto-google-cloud-functions-v2beta/src/main/proto/google/cloud/functions/v2beta/functions.proto index 4d8ee95f3432..4d2284f31de8 100644 --- a/java-functions/proto-google-cloud-functions-v2beta/src/main/proto/google/cloud/functions/v2beta/functions.proto +++ b/java-functions/proto-google-cloud-functions-v2beta/src/main/proto/google/cloud/functions/v2beta/functions.proto @@ -25,7 +25,7 @@ import "google/protobuf/any.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/functions/v2beta;functions"; +option go_package = "cloud.google.com/go/functions/apiv2beta/functionspb;functionspb"; option java_multiple_files = true; option java_outer_classname = "FunctionsProto"; option java_package = "com.google.cloud.functions.v2beta"; diff --git a/java-game-servers/README.md b/java-game-servers/README.md index 33e820b7c899..53c0cfc36369 100644 --- a/java-game-servers/README.md +++ b/java-game-servers/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-game-servers - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-game-servers:2.8.0' +implementation 'com.google.cloud:google-cloud-game-servers:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-game-servers" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-game-servers" % "2.9.0" ``` ## Authentication diff --git a/java-game-servers/google-cloud-game-servers-bom/pom.xml b/java-game-servers/google-cloud-game-servers-bom/pom.xml index bbbd24dcf0de..be6e88b335fc 100644 --- a/java-game-servers/google-cloud-game-servers-bom/pom.xml +++ b/java-game-servers/google-cloud-game-servers-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-game-servers-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-game-servers - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-game-servers-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-game-servers-v1beta - 0.34.0 + 0.35.0 com.google.api.grpc proto-google-cloud-game-servers-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-game-servers-v1beta - 0.34.0 + 0.35.0 diff --git a/java-game-servers/google-cloud-game-servers/pom.xml b/java-game-servers/google-cloud-game-servers/pom.xml index b693a2e2c66a..5a959072bc9a 100644 --- a/java-game-servers/google-cloud-game-servers/pom.xml +++ b/java-game-servers/google-cloud-game-servers/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-game-servers - 2.9.0 + 2.10.0 jar Google Cloud Game Services Java idiomatic client for Google Cloud Game Services com.google.cloud google-cloud-game-servers-parent - 2.9.0 + 2.10.0 google-cloud-game-servers diff --git a/java-game-servers/grpc-google-cloud-game-servers-v1/pom.xml b/java-game-servers/grpc-google-cloud-game-servers-v1/pom.xml index 12661b9abff4..627446369711 100644 --- a/java-game-servers/grpc-google-cloud-game-servers-v1/pom.xml +++ b/java-game-servers/grpc-google-cloud-game-servers-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-game-servers-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-game-servers-v1 GRPC library for grpc-google-cloud-game-servers-v1 com.google.cloud google-cloud-game-servers-parent - 2.9.0 + 2.10.0 diff --git a/java-game-servers/grpc-google-cloud-game-servers-v1beta/pom.xml b/java-game-servers/grpc-google-cloud-game-servers-v1beta/pom.xml index ca785aa25e3c..88edb183613e 100644 --- a/java-game-servers/grpc-google-cloud-game-servers-v1beta/pom.xml +++ b/java-game-servers/grpc-google-cloud-game-servers-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-game-servers-v1beta - 0.34.0 + 0.35.0 grpc-google-cloud-game-servers-v1beta GRPC library for grpc-google-cloud-game-servers-v1beta com.google.cloud google-cloud-game-servers-parent - 2.9.0 + 2.10.0 diff --git a/java-game-servers/pom.xml b/java-game-servers/pom.xml index 657da21b2eea..9a38f37fcc86 100644 --- a/java-game-servers/pom.xml +++ b/java-game-servers/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-game-servers-parent pom - 2.9.0 + 2.10.0 Google Cloud Game Services Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-game-servers-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-game-servers-v1beta - 0.34.0 + 0.35.0 com.google.api.grpc grpc-google-cloud-game-servers-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-game-servers-v1beta - 0.34.0 + 0.35.0 com.google.cloud google-cloud-game-servers - 2.9.0 + 2.10.0 diff --git a/java-game-servers/proto-google-cloud-game-servers-v1/pom.xml b/java-game-servers/proto-google-cloud-game-servers-v1/pom.xml index 5d00b74688ee..9dff536cfb48 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1/pom.xml +++ b/java-game-servers/proto-google-cloud-game-servers-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-game-servers-v1 - 2.9.0 + 2.10.0 proto-google-cloud-game-servers-v1 PROTO library for proto-google-cloud-game-servers-v1 com.google.cloud google-cloud-game-servers-parent - 2.9.0 + 2.10.0 diff --git a/java-game-servers/proto-google-cloud-game-servers-v1/src/main/java/com/google/cloud/gaming/v1/Common.java b/java-game-servers/proto-google-cloud-game-servers-v1/src/main/java/com/google/cloud/gaming/v1/Common.java index c18a12baa9a1..57a56709f3c1 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1/src/main/java/com/google/cloud/gaming/v1/Common.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1/src/main/java/com/google/cloud/gaming/v1/Common.java @@ -168,10 +168,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "as\030\004 \001(\003\032\205\001\n\027DeployedFleetAutoscaler\022\022\n\n" + "autoscaler\030\001 \001(\t\0227\n\013spec_source\030\004 \001(\0132\"." + "google.cloud.gaming.v1.SpecSource\022\035\n\025fle" - + "et_autoscaler_spec\030\003 \001(\tB\\\n\032com.google.c" - + "loud.gaming.v1P\001Z4.0.0 com.google.api.grpc proto-google-cloud-game-servers-v1beta - 0.34.0 + 0.35.0 proto-google-cloud-game-servers-v1beta PROTO library for proto-google-cloud-game-servers-v1beta com.google.cloud google-cloud-game-servers-parent - 2.9.0 + 2.10.0 diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/Common.java b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/Common.java index 0995ae07a7f2..e58e1680ed1e 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/Common.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/Common.java @@ -170,10 +170,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "loyedFleetAutoscaler\022\022\n\nautoscaler\030\001 \001(\t" + "\022;\n\013spec_source\030\004 \001(\0132&.google.cloud.gam" + "ing.v1beta.SpecSource\022\035\n\025fleet_autoscale" - + "r_spec\030\003 \001(\tBd\n\036com.google.cloud.gaming." - + "v1betaP\001Z@google.golang.org/genproto/goo" - + "gleapis/cloud/gaming/v1beta;gamingb\006prot" - + "o3" + + "r_spec\030\003 \001(\tBZ\n\036com.google.cloud.gaming." + + "v1betaP\001Z6cloud.google.com/go/gaming/api" + + "v1beta/gamingpb;gamingpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerClusters.java b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerClusters.java index 88f2839efac8..5a31b43be5f2 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerClusters.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerClusters.java @@ -174,10 +174,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\204\001\n-gameservices.googleapis.com/GameServ" + "erCluster\022Sprojects/{project}/locations/" + "{location}/realms/{realm}/gameServerClus" - + "ters/{cluster}B\201\001\n\036com.google.cloud.gami" - + "ng.v1betaP\001Z@google.golang.org/genproto/" - + "googleapis/cloud/gaming/v1beta;gaming\312\002\032" - + "Google\\Cloud\\Gaming\\V1betab\006proto3" + + "ters/{cluster}Bw\n\036com.google.cloud.gamin" + + "g.v1betaP\001Z6cloud.google.com/go/gaming/a" + + "piv1beta/gamingpb;gamingpb\312\002\032Google\\Clou" + + "d\\Gaming\\V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceOuterClass.java b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceOuterClass.java index 15504c576218..1d181cd461e8 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceOuterClass.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerClustersServiceOuterClass.java @@ -97,11 +97,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ons/*/realms/*/gameServerClusters/*}:pre" + "viewUpdate:\023game_server_cluster\032O\312A\033game" + "services.googleapis.com\322A.https://www.go" - + "ogleapis.com/auth/cloud-platformB\201\001\n\036com" - + ".google.cloud.gaming.v1betaP\001Z@google.go" - + "lang.org/genproto/googleapis/cloud/gamin" - + "g/v1beta;gaming\312\002\032Google\\Cloud\\Gaming\\V1" - + "betab\006proto3" + + "ogleapis.com/auth/cloud-platformBw\n\036com." + + "google.cloud.gaming.v1betaP\001Z6cloud.goog" + + "le.com/go/gaming/apiv1beta/gamingpb;gami" + + "ngpb\312\002\032Google\\Cloud\\Gaming\\V1betab\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigs.java b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigs.java index 54383edf0c6e..bed1c4e30695 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigs.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigs.java @@ -116,10 +116,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gameservices.googleapis.com/GameServerCo" + "nfig\022[projects/{project}/locations/{loca" + "tion}/gameServerDeployments/{deployment}" - + "/configs/{config}B\201\001\n\036com.google.cloud.g" - + "aming.v1betaP\001Z@google.golang.org/genpro" - + "to/googleapis/cloud/gaming/v1beta;gaming" - + "\312\002\032Google\\Cloud\\Gaming\\V1betab\006proto3" + + "/configs/{config}Bw\n\036com.google.cloud.ga" + + "ming.v1betaP\001Z6cloud.google.com/go/gamin" + + "g/apiv1beta/gamingpb;gamingpb\312\002\032Google\\C" + + "loud\\Gaming\\V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigsServiceOuterClass.java b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigsServiceOuterClass.java index 6005e1499636..d58e9a78ba53 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigsServiceOuterClass.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerConfigsServiceOuterClass.java @@ -68,10 +68,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\312A*\n\025google.protobuf.Empty\022\021Operati" + "onMetadata\032O\312A\033gameservices.googleapis.c" + "om\322A.https://www.googleapis.com/auth/clo" - + "ud-platformB\201\001\n\036com.google.cloud.gaming." - + "v1betaP\001Z@google.golang.org/genproto/goo" - + "gleapis/cloud/gaming/v1beta;gaming\312\002\032Goo" - + "gle\\Cloud\\Gaming\\V1betab\006proto3" + + "ud-platformBw\n\036com.google.cloud.gaming.v" + + "1betaP\001Z6cloud.google.com/go/gaming/apiv" + + "1beta/gamingpb;gamingpb\312\002\032Google\\Cloud\\G" + + "aming\\V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerDeployments.java b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerDeployments.java index c96bcbb02dc4..183dc010e1ef 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerDeployments.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerDeployments.java @@ -185,11 +185,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001\"\216\001\n*PreviewGameServerDeploymentRollout" + "Response\022\023\n\013unavailable\030\002 \003(\t\022\014\n\004etag\030\003 " + "\001(\t\022=\n\014target_state\030\004 \001(\0132\'.google.cloud" - + ".gaming.v1beta.TargetStateB\201\001\n\036com.googl" - + "e.cloud.gaming.v1betaP\001Z@google.golang.o" - + "rg/genproto/googleapis/cloud/gaming/v1be" - + "ta;gaming\312\002\032Google\\Cloud\\Gaming\\V1betab\006" - + "proto3" + + ".gaming.v1beta.TargetStateBw\n\036com.google" + + ".cloud.gaming.v1betaP\001Z6cloud.google.com" + + "/go/gaming/apiv1beta/gamingpb;gamingpb\312\002" + + "\032Google\\Cloud\\Gaming\\V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerDeploymentsServiceOuterClass.java b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerDeploymentsServiceOuterClass.java index 10fef2ed0372..792c6b19b7da 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerDeploymentsServiceOuterClass.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/GameServerDeploymentsServiceOuterClass.java @@ -103,11 +103,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cts/*/locations/*/gameServerDeployments/" + "*}:fetchDeploymentState:\001*\032O\312A\033gameservi" + "ces.googleapis.com\322A.https://www.googlea" - + "pis.com/auth/cloud-platformB\201\001\n\036com.goog" - + "le.cloud.gaming.v1betaP\001Z@google.golang." - + "org/genproto/googleapis/cloud/gaming/v1b" - + "eta;gaming\312\002\032Google\\Cloud\\Gaming\\V1betab" - + "\006proto3" + + "pis.com/auth/cloud-platformBw\n\036com.googl" + + "e.cloud.gaming.v1betaP\001Z6cloud.google.co" + + "m/go/gaming/apiv1beta/gamingpb;gamingpb\312" + + "\002\032Google\\Cloud\\Gaming\\V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/Realms.java b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/Realms.java index a71eba394a19..4e2aa0637561 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/Realms.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/Realms.java @@ -117,11 +117,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "iption\030\010 \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t" + "\022\r\n\005value\030\002 \001(\t:\0028\001:^\352A[\n!gameservices.g" + "oogleapis.com/Realm\0226projects/{project}/" - + "locations/{location}/realms/{realm}B\201\001\n\036" - + "com.google.cloud.gaming.v1betaP\001Z@google" - + ".golang.org/genproto/googleapis/cloud/ga" - + "ming/v1beta;gaming\312\002\032Google\\Cloud\\Gaming" - + "\\V1betab\006proto3" + + "locations/{location}/realms/{realm}Bw\n\036c" + + "om.google.cloud.gaming.v1betaP\001Z6cloud.g" + + "oogle.com/go/gaming/apiv1beta/gamingpb;g" + + "amingpb\312\002\032Google\\Cloud\\Gaming\\V1betab\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/RealmsServiceOuterClass.java b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/RealmsServiceOuterClass.java index 6d28ab07ab2c..b757d8779b37 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/RealmsServiceOuterClass.java +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/java/com/google/cloud/gaming/v1beta/RealmsServiceOuterClass.java @@ -72,10 +72,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/locations/*/realms/*}:previewUpdate:\005re" + "alm\032O\312A\033gameservices.googleapis.com\322A.ht" + "tps://www.googleapis.com/auth/cloud-plat" - + "formB\201\001\n\036com.google.cloud.gaming.v1betaP" - + "\001Z@google.golang.org/genproto/googleapis" - + "/cloud/gaming/v1beta;gaming\312\002\032Google\\Clo" - + "ud\\Gaming\\V1betab\006proto3" + + "formBw\n\036com.google.cloud.gaming.v1betaP\001" + + "Z6cloud.google.com/go/gaming/apiv1beta/g" + + "amingpb;gamingpb\312\002\032Google\\Cloud\\Gaming\\V" + + "1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/common.proto b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/common.proto index 4059404fcc2e..c11de6590cd2 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/common.proto +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/common.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming"; +option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gaming.v1beta"; diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_clusters.proto b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_clusters.proto index 0a91a635d803..c65b1dd47456 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_clusters.proto +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_clusters.proto @@ -22,7 +22,7 @@ import "google/cloud/gaming/v1beta/common.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming"; +option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gaming.v1beta"; diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_clusters_service.proto b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_clusters_service.proto index 18b374b694d6..1ad7d7678938 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_clusters_service.proto +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_clusters_service.proto @@ -21,7 +21,7 @@ import "google/api/client.proto"; import "google/cloud/gaming/v1beta/game_server_clusters.proto"; import "google/longrunning/operations.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming"; +option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gaming.v1beta"; diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_configs.proto b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_configs.proto index 1ffc0c816ef1..4a87e0f95d96 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_configs.proto +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_configs.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/cloud/gaming/v1beta/common.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming"; +option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gaming.v1beta"; diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_configs_service.proto b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_configs_service.proto index 20a2c888eeca..ba82bc109ae7 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_configs_service.proto +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_configs_service.proto @@ -21,7 +21,7 @@ import "google/api/client.proto"; import "google/cloud/gaming/v1beta/game_server_configs.proto"; import "google/longrunning/operations.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming"; +option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gaming.v1beta"; diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_deployments.proto b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_deployments.proto index 01e8fef934a6..73691a2ca648 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_deployments.proto +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_deployments.proto @@ -22,7 +22,7 @@ import "google/cloud/gaming/v1beta/common.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming"; +option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gaming.v1beta"; diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_deployments_service.proto b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_deployments_service.proto index 0b3503f46caf..8260f0487321 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_deployments_service.proto +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/game_server_deployments_service.proto @@ -21,7 +21,7 @@ import "google/api/client.proto"; import "google/cloud/gaming/v1beta/game_server_deployments.proto"; import "google/longrunning/operations.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming"; +option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gaming.v1beta"; diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/realms.proto b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/realms.proto index e80bae0a9f42..dcba0cd7d1e1 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/realms.proto +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/realms.proto @@ -22,7 +22,7 @@ import "google/cloud/gaming/v1beta/common.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming"; +option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gaming.v1beta"; diff --git a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/realms_service.proto b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/realms_service.proto index eb6cca9312f4..bb9cbe9d59f1 100644 --- a/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/realms_service.proto +++ b/java-game-servers/proto-google-cloud-game-servers-v1beta/src/main/proto/google/cloud/gaming/v1beta/realms_service.proto @@ -21,7 +21,7 @@ import "google/api/client.proto"; import "google/cloud/gaming/v1beta/realms.proto"; import "google/longrunning/operations.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming"; +option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gaming.v1beta"; diff --git a/java-gke-backup/README.md b/java-gke-backup/README.md index 9694b76bea5f..0ca0b860331f 100644 --- a/java-gke-backup/README.md +++ b/java-gke-backup/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-gke-backup - 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-gke-backup:0.7.0' +implementation 'com.google.cloud:google-cloud-gke-backup:0.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.8.0" ``` ## Authentication diff --git a/java-gke-backup/google-cloud-gke-backup-bom/pom.xml b/java-gke-backup/google-cloud-gke-backup-bom/pom.xml index 93413550cc7d..86edffd029bc 100644 --- a/java-gke-backup/google-cloud-gke-backup-bom/pom.xml +++ b/java-gke-backup/google-cloud-gke-backup-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-gke-backup-bom - 0.8.0 + 0.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-gke-backup - 0.8.0 + 0.9.0 com.google.api.grpc grpc-google-cloud-gke-backup-v1 - 0.8.0 + 0.9.0 com.google.api.grpc proto-google-cloud-gke-backup-v1 - 0.8.0 + 0.9.0 diff --git a/java-gke-backup/google-cloud-gke-backup/pom.xml b/java-gke-backup/google-cloud-gke-backup/pom.xml index dd7c31dcf874..2aa573f07941 100644 --- a/java-gke-backup/google-cloud-gke-backup/pom.xml +++ b/java-gke-backup/google-cloud-gke-backup/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-gke-backup - 0.8.0 + 0.9.0 jar Google Backup for GKE Backup for GKE is a service for backing up and restoring workloads in GKE. com.google.cloud google-cloud-gke-backup-parent - 0.8.0 + 0.9.0 google-cloud-gke-backup diff --git a/java-gke-backup/grpc-google-cloud-gke-backup-v1/pom.xml b/java-gke-backup/grpc-google-cloud-gke-backup-v1/pom.xml index d505f838bcc1..c0f105d76f5d 100644 --- a/java-gke-backup/grpc-google-cloud-gke-backup-v1/pom.xml +++ b/java-gke-backup/grpc-google-cloud-gke-backup-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-gke-backup-v1 - 0.8.0 + 0.9.0 grpc-google-cloud-gke-backup-v1 GRPC library for google-cloud-gke-backup com.google.cloud google-cloud-gke-backup-parent - 0.8.0 + 0.9.0 diff --git a/java-gke-backup/pom.xml b/java-gke-backup/pom.xml index b34abf96944a..e23dfd9043bb 100644 --- a/java-gke-backup/pom.xml +++ b/java-gke-backup/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-gke-backup-parent pom - 0.8.0 + 0.9.0 Google Backup for GKE Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-gke-backup - 0.8.0 + 0.9.0 com.google.api.grpc grpc-google-cloud-gke-backup-v1 - 0.8.0 + 0.9.0 com.google.api.grpc proto-google-cloud-gke-backup-v1 - 0.8.0 + 0.9.0 diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/pom.xml b/java-gke-backup/proto-google-cloud-gke-backup-v1/pom.xml index c529b76c07e0..afd597f92c7c 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/pom.xml +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-gke-backup-v1 - 0.8.0 + 0.9.0 proto-google-cloud-gke-backup-v1 Proto library for google-cloud-gke-backup com.google.cloud google-cloud-gke-backup-parent - 0.8.0 + 0.9.0 diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/BackupPlanProto.java b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/BackupPlanProto.java index d09f52578fdd..1bbd9ebb19e2 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/BackupPlanProto.java +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/BackupPlanProto.java @@ -92,12 +92,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\r\n\005value\030\002 \001(\t:\0028\001:k\352Ah\n#gkebackup.googl" + "eapis.com/BackupPlan\022Aprojects/{project}" + "/locations/{location}/backupPlans/{backu" - + "p_plan}B\315\001\n\035com.google.cloud.gkebackup.v" - + "1B\017BackupPlanProtoP\001ZBgoogle.golang.org/" - + "genproto/googleapis/cloud/gkebackup/v1;g" - + "kebackup\252\002\031Google.Cloud.GkeBackup.V1\312\002\031G" - + "oogle\\Cloud\\GkeBackup\\V1\352\002\034Google::Cloud" - + "::GkeBackup::V1b\006proto3" + + "p_plan}B\306\001\n\035com.google.cloud.gkebackup.v" + + "1B\017BackupPlanProtoP\001Z;cloud.google.com/g" + + "o/gkebackup/apiv1/gkebackuppb;gkebackupp" + + "b\252\002\031Google.Cloud.GkeBackup.V1\312\002\031Google\\C" + + "loud\\GkeBackup\\V1\352\002\034Google::Cloud::GkeBa" + + "ckup::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/BackupProto.java b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/BackupProto.java index 10a9bcd616c6..8958cfe393d8 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/BackupProto.java +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/BackupProto.java @@ -100,12 +100,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ckup.googleapis.com/Backup\022Rprojects/{pr" + "oject}/locations/{location}/backupPlans/" + "{backup_plan}/backups/{backup}B\016\n\014backup" - + "_scopeB\311\001\n\035com.google.cloud.gkebackup.v1" - + "B\013BackupProtoP\001ZBgoogle.golang.org/genpr" - + "oto/googleapis/cloud/gkebackup/v1;gkebac" - + "kup\252\002\031Google.Cloud.GkeBackup.V1\312\002\031Google" - + "\\Cloud\\GkeBackup\\V1\352\002\034Google::Cloud::Gke" - + "Backup::V1b\006proto3" + + "_scopeB\302\001\n\035com.google.cloud.gkebackup.v1" + + "B\013BackupProtoP\001Z;cloud.google.com/go/gke" + + "backup/apiv1/gkebackuppb;gkebackuppb\252\002\031G" + + "oogle.Cloud.GkeBackup.V1\312\002\031Google\\Cloud\\" + + "GkeBackup\\V1\352\002\034Google::Cloud::GkeBackup:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/CommonProto.java b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/CommonProto.java index 4a1790b5d0d9..7761327309d9 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/CommonProto.java +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/CommonProto.java @@ -60,13 +60,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\020namespaced_names\030\001 \003(\0132).google.cloud." + "gkebackup.v1.NamespacedName\"W\n\rEncryptio" + "nKey\022F\n\026gcp_kms_encryption_key\030\001 \001(\tB&\372A" - + "#\n!cloudkms.googleapis.com/CryptoKeyB\311\001\n" + + "#\n!cloudkms.googleapis.com/CryptoKeyB\302\001\n" + "\035com.google.cloud.gkebackup.v1B\013CommonPr" - + "otoP\001ZBgoogle.golang.org/genproto/google" - + "apis/cloud/gkebackup/v1;gkebackup\252\002\031Goog" - + "le.Cloud.GkeBackup.V1\312\002\031Google\\Cloud\\Gke" - + "Backup\\V1\352\002\034Google::Cloud::GkeBackup::V1" - + "b\006proto3" + + "otoP\001Z;cloud.google.com/go/gkebackup/api" + + "v1/gkebackuppb;gkebackuppb\252\002\031Google.Clou" + + "d.GkeBackup.V1\312\002\031Google\\Cloud\\GkeBackup\\" + + "V1\352\002\034Google::Cloud::GkeBackup::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/GKEBackupProto.java b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/GKEBackupProto.java index 1200c4f5a0d7..75f18697a03f 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/GKEBackupProto.java +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/GKEBackupProto.java @@ -405,18 +405,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/*/restorePlans/*/restores/*/volumeRest" + "ores/*}\332A\004name\032L\312A\030gkebackup.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\250\003\n\035com.google.cloud.gkebac" - + "kup.v1B\016GKEBackupProtoP\001ZBgoogle.golang." - + "org/genproto/googleapis/cloud/gkebackup/" - + "v1;gkebackup\252\002\031Google.Cloud.GkeBackup.V1" - + "\312\002\031Google\\Cloud\\GkeBackup\\V1\352\002\034Google::C" - + "loud::GkeBackup::V1\352A^\n container.google" - + "apis.com/Cluster\022:projects/{project}/loc" - + "ations/{location}/clusters/{cluster}\352Ax\n" - + "!cloudkms.googleapis.com/CryptoKey\022Sproj" - + "ects/{project}/locations/{location}/keyR" - + "ings/{key_ring}/cryptoKeys/{crypto_key}b" - + "\006proto3" + + "oud-platformB\241\003\n\035com.google.cloud.gkebac" + + "kup.v1B\016GKEBackupProtoP\001Z;cloud.google.c" + + "om/go/gkebackup/apiv1/gkebackuppb;gkebac" + + "kuppb\252\002\031Google.Cloud.GkeBackup.V1\312\002\031Goog" + + "le\\Cloud\\GkeBackup\\V1\352\002\034Google::Cloud::G" + + "keBackup::V1\352A^\n container.googleapis.co" + + "m/Cluster\022:projects/{project}/locations/" + + "{location}/clusters/{cluster}\352Ax\n!cloudk" + + "ms.googleapis.com/CryptoKey\022Sprojects/{p" + + "roject}/locations/{location}/keyRings/{k" + + "ey_ring}/cryptoKeys/{crypto_key}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/RestorePlanProto.java b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/RestorePlanProto.java index 6729005c61ba..801a0cffb581 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/RestorePlanProto.java +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/RestorePlanProto.java @@ -64,13 +64,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + "\t:\0028\001:n\352Ak\n$gkebackup.googleapis.com/Res" + "torePlan\022Cprojects/{project}/locations/{" - + "location}/restorePlans/{restore_plan}B\316\001" + + "location}/restorePlans/{restore_plan}B\307\001" + "\n\035com.google.cloud.gkebackup.v1B\020Restore" - + "PlanProtoP\001ZBgoogle.golang.org/genproto/" - + "googleapis/cloud/gkebackup/v1;gkebackup\252" - + "\002\031Google.Cloud.GkeBackup.V1\312\002\031Google\\Clo" - + "ud\\GkeBackup\\V1\352\002\034Google::Cloud::GkeBack" - + "up::V1b\006proto3" + + "PlanProtoP\001Z;cloud.google.com/go/gkeback" + + "up/apiv1/gkebackuppb;gkebackuppb\252\002\031Googl" + + "e.Cloud.GkeBackup.V1\312\002\031Google\\Cloud\\GkeB" + + "ackup\\V1\352\002\034Google::Cloud::GkeBackup::V1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/RestoreProto.java b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/RestoreProto.java index 167ba1220bd7..bd94d181fb17 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/RestoreProto.java +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/RestoreProto.java @@ -130,12 +130,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIE" + "D\020\000\022\026\n\022DELETE_AND_RESTORE\020\001\022\024\n\020FAIL_ON_C" + "ONFLICT\020\002B#\n!namespaced_resource_restore" - + "_scopeB\312\001\n\035com.google.cloud.gkebackup.v1" - + "B\014RestoreProtoP\001ZBgoogle.golang.org/genp" - + "roto/googleapis/cloud/gkebackup/v1;gkeba" - + "ckup\252\002\031Google.Cloud.GkeBackup.V1\312\002\031Googl" - + "e\\Cloud\\GkeBackup\\V1\352\002\034Google::Cloud::Gk" - + "eBackup::V1b\006proto3" + + "_scopeB\303\001\n\035com.google.cloud.gkebackup.v1" + + "B\014RestoreProtoP\001Z;cloud.google.com/go/gk" + + "ebackup/apiv1/gkebackuppb;gkebackuppb\252\002\031" + + "Google.Cloud.GkeBackup.V1\312\002\031Google\\Cloud" + + "\\GkeBackup\\V1\352\002\034Google::Cloud::GkeBackup" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/VolumeProto.java b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/VolumeProto.java index 61b3504d3f15..99edff9bee62 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/VolumeProto.java +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/java/com/google/cloud/gkebackup/v1/VolumeProto.java @@ -94,12 +94,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "VolumeRestore\022vprojects/{project}/locati" + "ons/{location}/restorePlans/{restore_pla" + "n}/restores/{restore}/volumeRestores/{vo" - + "lume_restore}B\311\001\n\035com.google.cloud.gkeba" - + "ckup.v1B\013VolumeProtoP\001ZBgoogle.golang.or" - + "g/genproto/googleapis/cloud/gkebackup/v1" - + ";gkebackup\252\002\031Google.Cloud.GkeBackup.V1\312\002" - + "\031Google\\Cloud\\GkeBackup\\V1\352\002\034Google::Clo" - + "ud::GkeBackup::V1b\006proto3" + + "lume_restore}B\302\001\n\035com.google.cloud.gkeba" + + "ckup.v1B\013VolumeProtoP\001Z;cloud.google.com" + + "/go/gkebackup/apiv1/gkebackuppb;gkebacku" + + "ppb\252\002\031Google.Cloud.GkeBackup.V1\312\002\031Google" + + "\\Cloud\\GkeBackup\\V1\352\002\034Google::Cloud::Gke" + + "Backup::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/backup.proto b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/backup.proto index 5e8193b75eae..635689d76343 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/backup.proto +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/backup.proto @@ -22,7 +22,7 @@ import "google/cloud/gkebackup/v1/common.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeBackup.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkebackup/v1;gkebackup"; +option go_package = "cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb"; option java_multiple_files = true; option java_outer_classname = "BackupProto"; option java_package = "com.google.cloud.gkebackup.v1"; diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/backup_plan.proto b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/backup_plan.proto index ae823f18a330..f9579e27d07c 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/backup_plan.proto +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/backup_plan.proto @@ -22,7 +22,7 @@ import "google/cloud/gkebackup/v1/common.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeBackup.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkebackup/v1;gkebackup"; +option go_package = "cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb"; option java_multiple_files = true; option java_outer_classname = "BackupPlanProto"; option java_package = "com.google.cloud.gkebackup.v1"; diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/common.proto b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/common.proto index f86e95eae4e5..0656bd281011 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/common.proto +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/common.proto @@ -19,7 +19,7 @@ package google.cloud.gkebackup.v1; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.GkeBackup.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkebackup/v1;gkebackup"; +option go_package = "cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.cloud.gkebackup.v1"; diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/gkebackup.proto b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/gkebackup.proto index 84da52d465f0..795fa2cd9064 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/gkebackup.proto +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/gkebackup.proto @@ -30,7 +30,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeBackup.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkebackup/v1;gkebackup"; +option go_package = "cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb"; option java_multiple_files = true; option java_outer_classname = "GKEBackupProto"; option java_package = "com.google.cloud.gkebackup.v1"; diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/restore.proto b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/restore.proto index b2eb017a5218..7f97e56c7318 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/restore.proto +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/restore.proto @@ -22,7 +22,7 @@ import "google/cloud/gkebackup/v1/common.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeBackup.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkebackup/v1;gkebackup"; +option go_package = "cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb"; option java_multiple_files = true; option java_outer_classname = "RestoreProto"; option java_package = "com.google.cloud.gkebackup.v1"; diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/restore_plan.proto b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/restore_plan.proto index 5811332b05e0..32bc31b62d84 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/restore_plan.proto +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/restore_plan.proto @@ -22,7 +22,7 @@ import "google/cloud/gkebackup/v1/restore.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeBackup.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkebackup/v1;gkebackup"; +option go_package = "cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb"; option java_multiple_files = true; option java_outer_classname = "RestorePlanProto"; option java_package = "com.google.cloud.gkebackup.v1"; diff --git a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/volume.proto b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/volume.proto index 87b633ce19c4..a7914291c361 100644 --- a/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/volume.proto +++ b/java-gke-backup/proto-google-cloud-gke-backup-v1/src/main/proto/google/cloud/gkebackup/v1/volume.proto @@ -22,7 +22,7 @@ import "google/cloud/gkebackup/v1/common.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeBackup.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkebackup/v1;gkebackup"; +option go_package = "cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb"; option java_multiple_files = true; option java_outer_classname = "VolumeProto"; option java_package = "com.google.cloud.gkebackup.v1"; diff --git a/java-gke-connect-gateway/README.md b/java-gke-connect-gateway/README.md index 02a0b6b8a9e2..6c8c359ac417 100644 --- a/java-gke-connect-gateway/README.md +++ b/java-gke-connect-gateway/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-gke-connect-gateway - 0.8.0 + 0.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-connect-gateway:0.8.0' +implementation 'com.google.cloud:google-cloud-gke-connect-gateway:0.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.10.0" ``` ## Authentication diff --git a/java-gke-connect-gateway/google-cloud-gke-connect-gateway-bom/pom.xml b/java-gke-connect-gateway/google-cloud-gke-connect-gateway-bom/pom.xml index ee425863b233..2970abd78aa7 100644 --- a/java-gke-connect-gateway/google-cloud-gke-connect-gateway-bom/pom.xml +++ b/java-gke-connect-gateway/google-cloud-gke-connect-gateway-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-gke-connect-gateway-bom - 0.10.0 + 0.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-gke-connect-gateway - 0.10.0 + 0.11.0 com.google.api.grpc grpc-google-cloud-gke-connect-gateway-v1beta1 - 0.10.0 + 0.11.0 com.google.api.grpc proto-google-cloud-gke-connect-gateway-v1beta1 - 0.10.0 + 0.11.0 diff --git a/java-gke-connect-gateway/google-cloud-gke-connect-gateway/pom.xml b/java-gke-connect-gateway/google-cloud-gke-connect-gateway/pom.xml index 00214b85a09b..50d635dd18ed 100644 --- a/java-gke-connect-gateway/google-cloud-gke-connect-gateway/pom.xml +++ b/java-gke-connect-gateway/google-cloud-gke-connect-gateway/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-gke-connect-gateway - 0.10.0 + 0.11.0 jar Google Connect Gateway API Connect Gateway API builds on the power of fleets to let Anthos users connect to and run commands against registered Anthos clusters in a simple, consistent, and secured way, whether the clusters are on Google Cloud, other public clouds, or on premises, and makes it easier to automate DevOps processes across all your clusters. com.google.cloud google-cloud-gke-connect-gateway-parent - 0.10.0 + 0.11.0 google-cloud-gke-connect-gateway diff --git a/java-gke-connect-gateway/grpc-google-cloud-gke-connect-gateway-v1beta1/pom.xml b/java-gke-connect-gateway/grpc-google-cloud-gke-connect-gateway-v1beta1/pom.xml index a8139099c52e..f542234e1015 100644 --- a/java-gke-connect-gateway/grpc-google-cloud-gke-connect-gateway-v1beta1/pom.xml +++ b/java-gke-connect-gateway/grpc-google-cloud-gke-connect-gateway-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-gke-connect-gateway-v1beta1 - 0.10.0 + 0.11.0 grpc-google-cloud-gke-connect-gateway-v1beta1 GRPC library for google-cloud-gke-connect-gateway com.google.cloud google-cloud-gke-connect-gateway-parent - 0.10.0 + 0.11.0 diff --git a/java-gke-connect-gateway/pom.xml b/java-gke-connect-gateway/pom.xml index c6b15be58cc3..3b126543a004 100644 --- a/java-gke-connect-gateway/pom.xml +++ b/java-gke-connect-gateway/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-gke-connect-gateway-parent pom - 0.10.0 + 0.11.0 Google Connect Gateway API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-gke-connect-gateway - 0.10.0 + 0.11.0 com.google.api.grpc grpc-google-cloud-gke-connect-gateway-v1beta1 - 0.10.0 + 0.11.0 com.google.api.grpc proto-google-cloud-gke-connect-gateway-v1beta1 - 0.10.0 + 0.11.0 diff --git a/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/pom.xml b/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/pom.xml index c9e971d0c34f..026b460b47e2 100644 --- a/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/pom.xml +++ b/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-gke-connect-gateway-v1beta1 - 0.10.0 + 0.11.0 proto-google-cloud-gke-connect-gateway-v1beta1 Proto library for google-cloud-gke-connect-gateway com.google.cloud google-cloud-gke-connect-gateway-parent - 0.10.0 + 0.11.0 diff --git a/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/GatewayProto.java b/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/GatewayProto.java index 1c2506a8cd86..279f8672086d 100644 --- a/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/GatewayProto.java +++ b/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/GatewayProto.java @@ -52,14 +52,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032\024.google.api.HttpBody\"\023\202\323\344\223\002\r2\013/v1beta1" + "/**\032Q\312A\035connectgateway.googleapis.com\322A." + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\217\002\n+com.google.cloud.gkeconnect.g" - + "ateway.v1beta1B\014GatewayProtoP\001ZNgoogle.g" - + "olang.org/genproto/googleapis/cloud/gkec" - + "onnect/gateway/v1beta1;gateway\252\002\'Google." - + "Cloud.GkeConnect.Gateway.V1Beta1\312\002\'Googl" - + "e\\Cloud\\GkeConnect\\Gateway\\V1beta1\352\002+Goo" - + "gle::Cloud::GkeConnect::Gateway::V1beta1" - + "b\006proto3" + + "atformB\206\002\n+com.google.cloud.gkeconnect.g" + + "ateway.v1beta1B\014GatewayProtoP\001ZEcloud.go" + + "ogle.com/go/gkeconnect/gateway/apiv1beta" + + "1/gatewaypb;gatewaypb\252\002\'Google.Cloud.Gke" + + "Connect.Gateway.V1Beta1\312\002\'Google\\Cloud\\G" + + "keConnect\\Gateway\\V1beta1\352\002+Google::Clou" + + "d::GkeConnect::Gateway::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/src/main/proto/google/cloud/gkeconnect/gateway/v1beta1/gateway.proto b/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/src/main/proto/google/cloud/gkeconnect/gateway/v1beta1/gateway.proto index 6e13893ca7a1..5dc600c1c01c 100644 --- a/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/src/main/proto/google/cloud/gkeconnect/gateway/v1beta1/gateway.proto +++ b/java-gke-connect-gateway/proto-google-cloud-gke-connect-gateway-v1beta1/src/main/proto/google/cloud/gkeconnect/gateway/v1beta1/gateway.proto @@ -21,7 +21,7 @@ import "google/api/client.proto"; import "google/api/httpbody.proto"; option csharp_namespace = "Google.Cloud.GkeConnect.Gateway.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1beta1;gateway"; +option go_package = "cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb;gatewaypb"; option java_multiple_files = true; option java_outer_classname = "GatewayProto"; option java_package = "com.google.cloud.gkeconnect.gateway.v1beta1"; diff --git a/java-gke-multi-cloud/README.md b/java-gke-multi-cloud/README.md index 09c85015019e..f1cb75373fad 100644 --- a/java-gke-multi-cloud/README.md +++ b/java-gke-multi-cloud/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-gke-multi-cloud - 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-gke-multi-cloud:0.7.0' +implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.8.0" ``` ## Authentication diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud-bom/pom.xml b/java-gke-multi-cloud/google-cloud-gke-multi-cloud-bom/pom.xml index 10ed42154fd6..0a673b5acacf 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud-bom/pom.xml +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-gke-multi-cloud-bom - 0.8.0 + 0.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-gke-multi-cloud - 0.8.0 + 0.9.0 com.google.api.grpc grpc-google-cloud-gke-multi-cloud-v1 - 0.8.0 + 0.9.0 com.google.api.grpc proto-google-cloud-gke-multi-cloud-v1 - 0.8.0 + 0.9.0 diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/pom.xml b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/pom.xml index c7351cf6048e..4009c6ab71bc 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/pom.xml +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-gke-multi-cloud - 0.8.0 + 0.9.0 jar Google Anthos Multicloud Anthos Multicloud enables you to provision and manage GKE clusters running on AWS and Azure infrastructure through a centralized Google Cloud backed control plane. com.google.cloud google-cloud-gke-multi-cloud-parent - 0.8.0 + 0.9.0 google-cloud-gke-multi-cloud diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java index ea0effb9805b..3bed2ee3df59 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersClient.java @@ -212,7 +212,7 @@ public final OperationsClient getHttpJsonOperationsClient() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a - * given GCP project and region. + * given Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -266,7 +266,7 @@ public final OperationFuture createAttachedC // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a - * given GCP project and region. + * given Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -320,7 +320,7 @@ public final OperationFuture createAttachedC // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a - * given GCP project and region. + * given Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -357,7 +357,7 @@ public final OperationFuture createAttachedC // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a - * given GCP project and region. + * given Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -394,7 +394,7 @@ public final OperationFuture createAttachedC // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a - * given GCP project and region. + * given Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -800,7 +800,7 @@ public final OperationFuture importAttachedC *

      `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AttachedCluster getAttachedCluster(AttachedClusterName name) { @@ -835,7 +835,7 @@ public final AttachedCluster getAttachedCluster(AttachedClusterName name) { *

      `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AttachedCluster getAttachedCluster(String name) { @@ -931,7 +931,7 @@ public final AttachedCluster getAttachedCluster(GetAttachedClusterRequest reques * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAttachedClustersPagedResponse listAttachedClusters(LocationName parent) { @@ -968,7 +968,7 @@ public final ListAttachedClustersPagedResponse listAttachedClusters(LocationName * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAttachedClustersPagedResponse listAttachedClusters(String parent) { @@ -1115,7 +1115,7 @@ public final ListAttachedClustersPagedResponse listAttachedClusters( *

      `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteAttachedClusterAsync( @@ -1155,7 +1155,7 @@ public final OperationFuture deleteAttachedClusterAsyn *

      `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteAttachedClusterAsync(String name) { @@ -1432,15 +1432,15 @@ public final AttachedServerConfig getAttachedServerConfig( *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more * details on Google Cloud resource names. - * @param attachedClusterId Required. A client provided ID the resource. Must be unique within the - * parent resource. + * @param attachedClusterId Required. A client provided ID of the resource. Must be unique within + * the parent resource. *

      The provided ID will be part of the * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource name formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. *

      Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters. *

      When generating an install manifest for importing an existing Membership resource, the * attached_cluster_id field must be the Membership id. - *

      Membership names are formatted as `resource name formatted as + *

      Membership names are formatted as * `projects/<project-id>/locations/<region>/memberships/<membership-id>`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1479,15 +1479,15 @@ public final AttachedServerConfig getAttachedServerConfig( *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more * details on Google Cloud resource names. - * @param attachedClusterId Required. A client provided ID the resource. Must be unique within the - * parent resource. + * @param attachedClusterId Required. A client provided ID of the resource. Must be unique within + * the parent resource. *

      The provided ID will be part of the * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource name formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. *

      Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters. *

      When generating an install manifest for importing an existing Membership resource, the * attached_cluster_id field must be the Membership id. - *

      Membership names are formatted as `resource name formatted as + *

      Membership names are formatted as * `projects/<project-id>/locations/<region>/memberships/<membership-id>`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java index 0e20fca91efc..ef37fc3022b2 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersClient.java @@ -204,8 +204,8 @@ public final OperationsClient getHttpJsonOperationsClient() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP - * project and region. + * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google + * Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -256,8 +256,8 @@ public final OperationFuture createAwsClusterAsyn // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP - * project and region. + * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google + * Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -308,8 +308,8 @@ public final OperationFuture createAwsClusterAsyn // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP - * project and region. + * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google + * Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -345,8 +345,8 @@ public final OperationFuture createAwsClusterAsyn // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP - * project and region. + * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google + * Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -382,8 +382,8 @@ public final OperationFuture createAwsClusterAsyn // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP - * project and region. + * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given Google + * Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -579,7 +579,7 @@ public final UnaryCallable updateAwsClusterC *

      `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AwsCluster getAwsCluster(AwsClusterName name) { @@ -611,7 +611,7 @@ public final AwsCluster getAwsCluster(AwsClusterName name) { *

      `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AwsCluster getAwsCluster(String name) { @@ -699,7 +699,7 @@ public final UnaryCallable getAwsClusterCallab * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAwsClustersPagedResponse listAwsClusters(LocationName parent) { @@ -735,7 +735,7 @@ public final ListAwsClustersPagedResponse listAwsClusters(LocationName parent) { * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAwsClustersPagedResponse listAwsClusters(String parent) { @@ -881,7 +881,7 @@ public final ListAwsClustersPagedResponse listAwsClusters(ListAwsClustersRequest *

      `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteAwsClusterAsync( @@ -921,7 +921,7 @@ public final OperationFuture deleteAwsClusterAsync( *

      `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteAwsClusterAsync(String name) { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java index 3dfe49733b2c..fcc7877ec60f 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersClient.java @@ -577,7 +577,7 @@ public final UnaryCallable getAzureClientCal * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAzureClientsPagedResponse listAzureClients(LocationName parent) { @@ -613,7 +613,7 @@ public final ListAzureClientsPagedResponse listAzureClients(LocationName parent) * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAzureClientsPagedResponse listAzureClients(String parent) { @@ -926,7 +926,7 @@ public final UnaryCallable deleteAzureClien // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given - * GCP project and region. + * Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -978,7 +978,7 @@ public final OperationFuture createAzureCluster // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given - * GCP project and region. + * Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -1030,7 +1030,7 @@ public final OperationFuture createAzureCluster // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given - * GCP project and region. + * Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -1067,7 +1067,7 @@ public final OperationFuture createAzureCluster // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given - * GCP project and region. + * Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -1104,7 +1104,7 @@ public final OperationFuture createAzureCluster // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given - * GCP project and region. + * Google Cloud Platform project and region. * *

      If successful, the response contains a newly created * [Operation][google.longrunning.Operation] resource that can be described to track the status of @@ -1164,7 +1164,9 @@ public final UnaryCallable createAzureClus * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]: *

      * `description`. * `azureClient`. * `control_plane.version`. * * `control_plane.vm_size`. * `annotations`. * `authorization.admin_users`. * - * `control_plane.root_volume.size_gib`. * `control_plane.proxy_config`. * + * `control_plane.root_volume.size_gib`. * `azure_services_authentication`. * + * `azure_services_authentication.tenant_id`. * + * `azure_services_authentication.application_id`. * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. * `control_plane.ssh_config.authorized_key`. * * `logging_config.component_config.enable_components` * @@ -1296,7 +1298,7 @@ public final UnaryCallable updateAzureClus *

      `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AzureCluster getAzureCluster(AzureClusterName name) { @@ -1328,7 +1330,7 @@ public final AzureCluster getAzureCluster(AzureClusterName name) { *

      `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AzureCluster getAzureCluster(String name) { @@ -1417,7 +1419,7 @@ public final UnaryCallable getAzureCluster * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAzureClustersPagedResponse listAzureClusters(LocationName parent) { @@ -1453,7 +1455,7 @@ public final ListAzureClustersPagedResponse listAzureClusters(LocationName paren * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. *

      Location names are formatted as `projects/<project-id>/locations/<region>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListAzureClustersPagedResponse listAzureClusters(String parent) { @@ -1600,7 +1602,7 @@ public final ListAzureClustersPagedResponse listAzureClusters(ListAzureClustersR *

      `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteAzureClusterAsync( @@ -1642,7 +1644,7 @@ public final OperationFuture deleteAzureClusterAsync( *

      `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. *

      See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more - * details on GCP resource names. + * details on Google Cloud Platform resource names. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteAzureClusterAsync(String name) { diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java index cf98c5ee19a6..e5dc5277715b 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientHttpJsonTest.java @@ -92,10 +92,12 @@ public void createAzureClientTest() throws Exception { .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) .setTenantId("tenantId-1306693787") .setApplicationId("applicationId-1011352949") + .setReconciling(true) .putAllAnnotations(new HashMap()) .setPemCertificate("pemCertificate153491807") .setUid("uid115792") .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -152,10 +154,12 @@ public void createAzureClientTest2() throws Exception { .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) .setTenantId("tenantId-1306693787") .setApplicationId("applicationId-1011352949") + .setReconciling(true) .putAllAnnotations(new HashMap()) .setPemCertificate("pemCertificate153491807") .setUid("uid115792") .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -212,10 +216,12 @@ public void getAzureClientTest() throws Exception { .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) .setTenantId("tenantId-1306693787") .setApplicationId("applicationId-1011352949") + .setReconciling(true) .putAllAnnotations(new HashMap()) .setPemCertificate("pemCertificate153491807") .setUid("uid115792") .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -262,10 +268,12 @@ public void getAzureClientTest2() throws Exception { .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) .setTenantId("tenantId-1306693787") .setApplicationId("applicationId-1011352949") + .setReconciling(true) .putAllAnnotations(new HashMap()) .setPemCertificate("pemCertificate153491807") .setUid("uid115792") .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -507,6 +515,7 @@ public void createAzureClusterTest() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -582,6 +591,7 @@ public void createAzureClusterTest2() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -657,6 +667,7 @@ public void updateAzureClusterTest() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -690,6 +701,7 @@ public void updateAzureClusterTest() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -743,6 +755,7 @@ public void updateAzureClusterExceptionTest() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -777,6 +790,7 @@ public void getAzureClusterTest() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -842,6 +856,7 @@ public void getAzureClusterTest2() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java index 3fff116cffee..2961775e4bc8 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/test/java/com/google/cloud/gkemulticloud/v1/AzureClustersClientTest.java @@ -96,10 +96,12 @@ public void createAzureClientTest() throws Exception { .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) .setTenantId("tenantId-1306693787") .setApplicationId("applicationId-1011352949") + .setReconciling(true) .putAllAnnotations(new HashMap()) .setPemCertificate("pemCertificate153491807") .setUid("uid115792") .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -155,10 +157,12 @@ public void createAzureClientTest2() throws Exception { .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) .setTenantId("tenantId-1306693787") .setApplicationId("applicationId-1011352949") + .setReconciling(true) .putAllAnnotations(new HashMap()) .setPemCertificate("pemCertificate153491807") .setUid("uid115792") .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) .build(); Operation resultOperation = Operation.newBuilder() @@ -214,10 +218,12 @@ public void getAzureClientTest() throws Exception { .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) .setTenantId("tenantId-1306693787") .setApplicationId("applicationId-1011352949") + .setReconciling(true) .putAllAnnotations(new HashMap()) .setPemCertificate("pemCertificate153491807") .setUid("uid115792") .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) .build(); mockAzureClusters.addResponse(expectedResponse); @@ -258,10 +264,12 @@ public void getAzureClientTest2() throws Exception { .setName(AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]").toString()) .setTenantId("tenantId-1306693787") .setApplicationId("applicationId-1011352949") + .setReconciling(true) .putAllAnnotations(new HashMap()) .setPemCertificate("pemCertificate153491807") .setUid("uid115792") .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) .build(); mockAzureClusters.addResponse(expectedResponse); @@ -479,6 +487,7 @@ public void createAzureClusterTest() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -553,6 +562,7 @@ public void createAzureClusterTest2() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -627,6 +637,7 @@ public void updateAzureClusterTest() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -697,6 +708,7 @@ public void getAzureClusterTest() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) @@ -756,6 +768,7 @@ public void getAzureClusterTest2() throws Exception { .setNetworking(AzureClusterNetworking.newBuilder().build()) .setControlPlane(AzureControlPlane.newBuilder().build()) .setAuthorization(AzureAuthorization.newBuilder().build()) + .setAzureServicesAuthentication(AzureServicesAuthentication.newBuilder().build()) .setEndpoint("endpoint1741102485") .setUid("uid115792") .setReconciling(true) diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/pom.xml b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/pom.xml index ee99236dd4b9..25e51829836f 100644 --- a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/pom.xml +++ b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-gke-multi-cloud-v1 - 0.8.0 + 0.9.0 grpc-google-cloud-gke-multi-cloud-v1 GRPC library for google-cloud-gke-multi-cloud com.google.cloud google-cloud-gke-multi-cloud-parent - 0.8.0 + 0.9.0 diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java index 73cd75ab7608..30d12f0c9141 100644 --- a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java +++ b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClustersGrpc.java @@ -500,7 +500,7 @@ public abstract static class AttachedClustersImplBase implements io.grpc.Bindabl *

            * Creates a new
            * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      -     * on a given GCP project and region.
      +     * on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      @@ -718,7 +718,7 @@ protected AttachedClustersStub build(io.grpc.Channel channel, io.grpc.CallOption
            * 
            * Creates a new
            * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      -     * on a given GCP project and region.
      +     * on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      @@ -893,7 +893,7 @@ protected AttachedClustersBlockingStub build(
            * 
            * Creates a new
            * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      -     * on a given GCP project and region.
      +     * on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      @@ -1044,7 +1044,7 @@ protected AttachedClustersFutureStub build(
            * 
            * Creates a new
            * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      -     * on a given GCP project and region.
      +     * on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java
      index 228b583cf4f4..a35f1fd7f7b8 100644
      --- a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java
      +++ b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClustersGrpc.java
      @@ -649,7 +649,7 @@ public abstract static class AwsClustersImplBase implements io.grpc.BindableServ
            *
            * 
            * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      -     * resource on a given GCP project and region.
      +     * resource on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      @@ -953,7 +953,7 @@ protected AwsClustersStub build(io.grpc.Channel channel, io.grpc.CallOptions cal
            *
            * 
            * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      -     * resource on a given GCP project and region.
      +     * resource on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      @@ -1198,7 +1198,7 @@ protected AwsClustersBlockingStub build(
            *
            * 
            * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      -     * resource on a given GCP project and region.
      +     * resource on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      @@ -1400,7 +1400,7 @@ protected AwsClustersFutureStub build(
            *
            * 
            * Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
      -     * resource on a given GCP project and region.
      +     * resource on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      diff --git a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java
      index f9382140b9b6..0fefe7c2e649 100644
      --- a/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java
      +++ b/java-gke-multi-cloud/grpc-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClustersGrpc.java
      @@ -918,7 +918,7 @@ public void deleteAzureClient(
            *
            * 
            * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resource on a given GCP project and region.
      +     * resource on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      @@ -1330,7 +1330,7 @@ public void deleteAzureClient(
            *
            * 
            * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resource on a given GCP project and region.
      +     * resource on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      @@ -1643,7 +1643,7 @@ public com.google.longrunning.Operation deleteAzureClient(
            *
            * 
            * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resource on a given GCP project and region.
      +     * resource on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      @@ -1916,7 +1916,7 @@ protected AzureClustersFutureStub build(
            *
            * 
            * Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resource on a given GCP project and region.
      +     * resource on a given Google Cloud Platform project and region.
            * If successful, the response contains a newly created
            * [Operation][google.longrunning.Operation] resource that can be
            * described to track the status of the operation.
      diff --git a/java-gke-multi-cloud/pom.xml b/java-gke-multi-cloud/pom.xml
      index 9709d3f64e3f..1ff562f9d57e 100644
      --- a/java-gke-multi-cloud/pom.xml
      +++ b/java-gke-multi-cloud/pom.xml
      @@ -4,7 +4,7 @@
         com.google.cloud
         google-cloud-gke-multi-cloud-parent
         pom
      -  0.8.0
      +  0.9.0
         Google Anthos Multicloud Parent
         
           Java idiomatic client for Google Cloud Platform services.
      @@ -13,7 +13,7 @@
         
           com.google.cloud
           google-cloud-jar-parent
      -    1.3.0
      +    1.4.0
           ../google-cloud-jar-parent/pom.xml
         
       
      @@ -29,17 +29,17 @@
             
               com.google.cloud
               google-cloud-gke-multi-cloud
      -        0.8.0
      +        0.9.0
             
             
               com.google.api.grpc
               grpc-google-cloud-gke-multi-cloud-v1
      -        0.8.0
      +        0.9.0
             
             
               com.google.api.grpc
               proto-google-cloud-gke-multi-cloud-v1
      -        0.8.0
      +        0.9.0
             
           
         
      diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/pom.xml b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/pom.xml
      index 7c46c90dc9fe..36030ef37bb5 100644
      --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/pom.xml
      +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/pom.xml
      @@ -4,13 +4,13 @@
         4.0.0
         com.google.api.grpc
         proto-google-cloud-gke-multi-cloud-v1
      -  0.8.0
      +  0.9.0
         proto-google-cloud-gke-multi-cloud-v1
         Proto library for google-cloud-gke-multi-cloud
         
           com.google.cloud
           google-cloud-gke-multi-cloud-parent
      -    0.8.0
      +    0.9.0
         
         
           
      diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java
      index d9a927b687d5..604d9679dd5c 100644
      --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java
      +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedCluster.java
      @@ -354,7 +354,7 @@ private State(int value) {
          * Cluster names are formatted as
          * `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`.
          * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      -   * for more details on GCP resource names.
      +   * for more details on Google Cloud Platform resource names.
          * 
      * * string name = 1; @@ -381,7 +381,7 @@ public java.lang.String getName() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2435,7 +2435,7 @@ public Builder mergeFrom( * Cluster names are formatted as * `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2461,7 +2461,7 @@ public java.lang.String getName() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2487,7 +2487,7 @@ public com.google.protobuf.ByteString getNameBytes() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2512,7 +2512,7 @@ public Builder setName(java.lang.String value) { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2533,7 +2533,7 @@ public Builder clearName() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java index 99cfc9352e3b..7441db78a70b 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedClusterOrBuilder.java @@ -31,7 +31,7 @@ public interface AttachedClusterOrBuilder * Cluster names are formatted as * `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -47,7 +47,7 @@ public interface AttachedClusterOrBuilder * Cluster names are formatted as * `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java index e1394b3afb34..a61bcd3eb92f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedOidcConfig.java @@ -24,9 +24,9 @@ *
        * OIDC discovery information of the target cluster.
        * Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster
      - * API server. This fields indicates how GCP services
      + * API server. This fields indicates how Google Cloud Platform services
        * validate KSA tokens in order to allow system workloads (such as GKE Connect
      - * and telemetry agents) to authenticate back to GCP.
      + * and telemetry agents) to authenticate back to Google Cloud Platform.
        * Both clusters with public and private issuer URLs are supported.
        * Clusters with public issuers only need to specify the `issuer_url` field
        * while clusters with private issuers need to provide both
      @@ -324,9 +324,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
          * 
          * OIDC discovery information of the target cluster.
          * Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster
      -   * API server. This fields indicates how GCP services
      +   * API server. This fields indicates how Google Cloud Platform services
          * validate KSA tokens in order to allow system workloads (such as GKE Connect
      -   * and telemetry agents) to authenticate back to GCP.
      +   * and telemetry agents) to authenticate back to Google Cloud Platform.
          * Both clusters with public and private issuer URLs are supported.
          * Clusters with public issuers only need to specify the `issuer_url` field
          * while clusters with private issuers need to provide both
      diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java
      index 6ba37f39de45..9c55ceb51c3b 100644
      --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java
      +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedResourcesProto.java
      @@ -121,13 +121,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
                 + "/{project}/locations/{location}/attached"
                 + "ServerConfig\".\n\033AttachedPlatformVersionI"
                 + "nfo\022\017\n\007version\030\001 \001(\t\"\'\n\024AttachedClusterE"
      -          + "rror\022\017\n\007message\030\001 \001(\tB\354\001\n!com.google.clo"
      +          + "rror\022\017\n\007message\030\001 \001(\tB\351\001\n!com.google.clo"
                 + "ud.gkemulticloud.v1B\026AttachedResourcesPr"
      -          + "otoP\001ZJgoogle.golang.org/genproto/google"
      -          + "apis/cloud/gkemulticloud/v1;gkemulticlou"
      -          + "d\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035Goog"
      -          + "le\\Cloud\\GkeMultiCloud\\V1\352\002 Google::Clou"
      -          + "d::GkeMultiCloud::V1b\006proto3"
      +          + "otoP\001ZGcloud.google.com/go/gkemulticloud"
      +          + "/apiv1/gkemulticloudpb;gkemulticloudpb\252\002"
      +          + "\035Google.Cloud.GkeMultiCloud.V1\312\002\035Google\\"
      +          + "Cloud\\GkeMultiCloud\\V1\352\002 Google::Cloud::"
      +          + "GkeMultiCloud::V1b\006proto3"
           };
           descriptor =
               com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
      diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java
      index 45d1ada8d2a7..d446cfb26fbe 100644
      --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java
      +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AttachedServiceProto.java
      @@ -175,13 +175,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
                 + "generateAttachedClusterInstallManifest\332A"
                 + "\032parent,attached_cluster_id\032P\312A\034gkemulti"
                 + "cloud.googleapis.com\322A.https://www.googl"
      -          + "eapis.com/auth/cloud-platformB\352\001\n!com.go"
      +          + "eapis.com/auth/cloud-platformB\347\001\n!com.go"
                 + "ogle.cloud.gkemulticloud.v1B\024AttachedSer"
      -          + "viceProtoP\001ZJgoogle.golang.org/genproto/"
      -          + "googleapis/cloud/gkemulticloud/v1;gkemul"
      -          + "ticloud\252\002\035Google.Cloud.GkeMultiCloud.V1\312"
      -          + "\002\035Google\\Cloud\\GkeMultiCloud\\V1\352\002 Google"
      -          + "::Cloud::GkeMultiCloud::V1b\006proto3"
      +          + "viceProtoP\001ZGcloud.google.com/go/gkemult"
      +          + "icloud/apiv1/gkemulticloudpb;gkemulticlo"
      +          + "udpb\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035G"
      +          + "oogle\\Cloud\\GkeMultiCloud\\V1\352\002 Google::C"
      +          + "loud::GkeMultiCloud::V1b\006proto3"
           };
           descriptor =
               com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
      diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java
      index 02cdff2d76ba..993d12262eba 100644
      --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java
      +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsCluster.java
      @@ -351,7 +351,7 @@ private State(int value) {
          * Cluster names are formatted as
          * `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`.
          * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
      -   * for more details on GCP resource names.
      +   * for more details on Google Cloud Platform resource names.
          * 
      * * string name = 1; @@ -378,7 +378,7 @@ public java.lang.String getName() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2440,7 +2440,7 @@ public Builder mergeFrom( * Cluster names are formatted as * `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2466,7 +2466,7 @@ public java.lang.String getName() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2492,7 +2492,7 @@ public com.google.protobuf.ByteString getNameBytes() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2517,7 +2517,7 @@ public Builder setName(java.lang.String value) { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2538,7 +2538,7 @@ public Builder clearName() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java index 7011f485a185..598ef9ecb7fd 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsClusterOrBuilder.java @@ -31,7 +31,7 @@ public interface AwsClusterOrBuilder * Cluster names are formatted as * `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -47,7 +47,7 @@ public interface AwsClusterOrBuilder * Cluster names are formatted as * `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java index c7f03d070e9b..b30f65038c05 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsResourcesProto.java @@ -285,13 +285,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "alingGroupMetricsCollection\022\030\n\013granulari" + "ty\030\001 \001(\tB\003\340A\002\022\024\n\007metrics\030\002 \003(\tB\003\340A\001\"\"\n\017A" + "wsClusterError\022\017\n\007message\030\001 \001(\t\"#\n\020AwsNo" - + "dePoolError\022\017\n\007message\030\001 \001(\tB\347\001\n!com.goo" + + "dePoolError\022\017\n\007message\030\001 \001(\tB\344\001\n!com.goo" + "gle.cloud.gkemulticloud.v1B\021AwsResources" - + "ProtoP\001ZJgoogle.golang.org/genproto/goog" - + "leapis/cloud/gkemulticloud/v1;gkemulticl" - + "oud\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035Go" - + "ogle\\Cloud\\GkeMultiCloud\\V1\352\002 Google::Cl" - + "oud::GkeMultiCloud::V1b\006proto3" + + "ProtoP\001ZGcloud.google.com/go/gkemulticlo" + + "ud/apiv1/gkemulticloudpb;gkemulticloudpb" + + "\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035Googl" + + "e\\Cloud\\GkeMultiCloud\\V1\352\002 Google::Cloud" + + "::GkeMultiCloud::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java index 41e5639fd321..3a0ea094b765 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AwsServiceProto.java @@ -227,13 +227,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/{name=projects/*/locations/*/awsServerC" + "onfig}\332A\004name\032P\312A\034gkemulticloud.googleap" + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\345\001\n!com.google.cloud.gke" - + "multicloud.v1B\017AwsServiceProtoP\001ZJgoogle" - + ".golang.org/genproto/googleapis/cloud/gk" - + "emulticloud/v1;gkemulticloud\252\002\035Google.Cl" - + "oud.GkeMultiCloud.V1\312\002\035Google\\Cloud\\GkeM" - + "ultiCloud\\V1\352\002 Google::Cloud::GkeMultiCl" - + "oud::V1b\006proto3" + + "/cloud-platformB\342\001\n!com.google.cloud.gke" + + "multicloud.v1B\017AwsServiceProtoP\001ZGcloud." + + "google.com/go/gkemulticloud/apiv1/gkemul" + + "ticloudpb;gkemulticloudpb\252\002\035Google.Cloud" + + ".GkeMultiCloud.V1\312\002\035Google\\Cloud\\GkeMult" + + "iCloud\\V1\352\002 Google::Cloud::GkeMultiCloud" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java index d702e579a052..d5ec28b5121e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClient.java @@ -251,6 +251,24 @@ public com.google.protobuf.ByteString getApplicationIdBytes() { } } + public static final int RECONCILING_FIELD_NUMBER = 9; + private boolean reconciling_ = false; + /** + * + * + *
      +   * Output only. If set, there are currently pending changes to the client.
      +   * 
      + * + * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The reconciling. + */ + @java.lang.Override + public boolean getReconciling() { + return reconciling_; + } + public static final int ANNOTATIONS_FIELD_NUMBER = 8; private static final class AnnotationsDefaultEntryHolder { @@ -537,6 +555,55 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } + public static final int UPDATE_TIME_FIELD_NUMBER = 10; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
      +   * Output only. The time at which this client was last updated.
      +   * 
      + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
      +   * Output only. The time at which this client was last updated.
      +   * 
      + * + * .google.protobuf.Timestamp update_time = 10 [(.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. The time at which this client was last updated.
      +   * 
      + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -571,6 +638,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 8); + if (reconciling_ != false) { + output.writeBool(9, reconciling_); + } + if (updateTime_ != null) { + output.writeMessage(10, getUpdateTime()); + } getUnknownFields().writeTo(output); } @@ -608,6 +681,12 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, annotations__); } + if (reconciling_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, reconciling_); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpdateTime()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -627,6 +706,7 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getTenantId().equals(other.getTenantId())) return false; if (!getApplicationId().equals(other.getApplicationId())) return false; + if (getReconciling() != other.getReconciling()) return false; if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; if (!getPemCertificate().equals(other.getPemCertificate())) return false; if (!getUid().equals(other.getUid())) return false; @@ -634,6 +714,10 @@ public boolean equals(final java.lang.Object obj) { 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -651,6 +735,8 @@ public int hashCode() { hash = (53 * hash) + getTenantId().hashCode(); hash = (37 * hash) + APPLICATION_ID_FIELD_NUMBER; hash = (53 * hash) + getApplicationId().hashCode(); + hash = (37 * hash) + RECONCILING_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); if (!internalGetAnnotations().getMap().isEmpty()) { hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; hash = (53 * hash) + internalGetAnnotations().hashCode(); @@ -663,6 +749,10 @@ public int hashCode() { 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(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -833,6 +923,7 @@ public Builder clear() { name_ = ""; tenantId_ = ""; applicationId_ = ""; + reconciling_ = false; internalGetMutableAnnotations().clear(); pemCertificate_ = ""; uid_ = ""; @@ -841,6 +932,11 @@ public Builder clear() { createTimeBuilder_.dispose(); createTimeBuilder_ = null; } + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } return this; } @@ -887,18 +983,24 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureClient result) result.applicationId_ = applicationId_; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.reconciling_ = reconciling_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { result.annotations_ = internalGetAnnotations(); result.annotations_.makeImmutable(); } - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000020) != 0)) { result.pemCertificate_ = pemCertificate_; } - if (((from_bitField0_ & 0x00000020) != 0)) { + if (((from_bitField0_ & 0x00000040) != 0)) { result.uid_ = uid_; } - if (((from_bitField0_ & 0x00000040) != 0)) { + if (((from_bitField0_ & 0x00000080) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + } } @java.lang.Override @@ -961,21 +1063,27 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureClient other) { bitField0_ |= 0x00000004; onChanged(); } + if (other.getReconciling() != false) { + setReconciling(other.getReconciling()); + } internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; if (!other.getPemCertificate().isEmpty()) { pemCertificate_ = other.pemCertificate_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } if (!other.getUid().isEmpty()) { uid_ = other.uid_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); } if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1023,19 +1131,19 @@ public Builder mergeFrom( case 42: { uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 42 case 50: { input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 50 case 58: { pemCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 58 case 66: @@ -1047,9 +1155,21 @@ public Builder mergeFrom( internalGetMutableAnnotations() .getMutableMap() .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 66 + case 72: + { + reconciling_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 72 + case 82: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 82 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1407,6 +1527,59 @@ public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) { return this; } + private boolean reconciling_; + /** + * + * + *
      +     * Output only. If set, there are currently pending changes to the client.
      +     * 
      + * + * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The reconciling. + */ + @java.lang.Override + public boolean getReconciling() { + return reconciling_; + } + /** + * + * + *
      +     * Output only. If set, there are currently pending changes to the client.
      +     * 
      + * + * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The reconciling to set. + * @return This builder for chaining. + */ + public Builder setReconciling(boolean value) { + + reconciling_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
      +     * Output only. If set, there are currently pending changes to the client.
      +     * 
      + * + * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearReconciling() { + bitField0_ = (bitField0_ & ~0x00000008); + reconciling_ = false; + onChanged(); + return this; + } + private com.google.protobuf.MapField annotations_; private com.google.protobuf.MapField @@ -1427,7 +1600,7 @@ public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) { if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return annotations_; } @@ -1544,7 +1717,7 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); internalGetMutableAnnotations().getMutableMap().clear(); return this; } @@ -1575,7 +1748,7 @@ public Builder removeAnnotations(java.lang.String key) { /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAnnotations() { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; return internalGetMutableAnnotations().getMutableMap(); } /** @@ -1603,7 +1776,7 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) { throw new NullPointerException("map value"); } internalGetMutableAnnotations().getMutableMap().put(key, value); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; return this; } /** @@ -1625,7 +1798,7 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) { */ public Builder putAllAnnotations(java.util.Map values) { internalGetMutableAnnotations().getMutableMap().putAll(values); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; return this; } @@ -1691,7 +1864,7 @@ public Builder setPemCertificate(java.lang.String value) { throw new NullPointerException(); } pemCertificate_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1708,7 +1881,7 @@ public Builder setPemCertificate(java.lang.String value) { */ public Builder clearPemCertificate() { pemCertificate_ = getDefaultInstance().getPemCertificate(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -1730,7 +1903,7 @@ public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); pemCertificate_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1797,7 +1970,7 @@ public Builder setUid(java.lang.String value) { throw new NullPointerException(); } uid_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1814,7 +1987,7 @@ public Builder setUid(java.lang.String value) { */ public Builder clearUid() { uid_ = getDefaultInstance().getUid(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -1836,7 +2009,7 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); uid_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1861,7 +2034,7 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { * @return Whether the createTime field is set. */ public boolean hasCreateTime() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -1905,7 +2078,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -1926,7 +2099,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal } else { createTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -1943,7 +2116,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) + if (((bitField0_ & 0x00000080) != 0) && createTime_ != null && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); @@ -1953,7 +2126,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -1969,7 +2142,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { *
      */ public Builder clearCreateTime() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); @@ -1990,7 +2163,7 @@ public Builder clearCreateTime() { *
      */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } @@ -2042,6 +2215,207 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTimeBuilder_; } + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
      +     * Output only. The time at which this client was last updated.
      +     * 
      + * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
      +     * Output only. The time at which this client was last updated.
      +     * 
      + * + * + * .google.protobuf.Timestamp update_time = 10 [(.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. The time at which this client was last updated.
      +     * 
      + * + * + * .google.protobuf.Timestamp update_time = 10 [(.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_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
      +     * Output only. The time at which this client was last updated.
      +     * 
      + * + * + * .google.protobuf.Timestamp update_time = 10 [(.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_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
      +     * Output only. The time at which this client was last updated.
      +     * 
      + * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
      +     * Output only. The time at which this client was last updated.
      +     * 
      + * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00000100); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
      +     * Output only. The time at which this client was last updated.
      +     * 
      + * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
      +     * Output only. The time at which this client was last updated.
      +     * 
      + * + * + * .google.protobuf.Timestamp update_time = 10 [(.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. The time at which this client was last updated.
      +     * 
      + * + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java index c33e58ebf2ad..8f3519aea35e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClientOrBuilder.java @@ -106,6 +106,19 @@ public interface AzureClientOrBuilder */ com.google.protobuf.ByteString getApplicationIdBytes(); + /** + * + * + *
      +   * Output only. If set, there are currently pending changes to the client.
      +   * 
      + * + * bool reconciling = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The reconciling. + */ + boolean getReconciling(); + /** * * @@ -291,4 +304,42 @@ java.lang.String getAnnotationsOrDefault( * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
      +   * Output only. The time at which this client was last updated.
      +   * 
      + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
      +   * Output only. The time at which this client was last updated.
      +   * 
      + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
      +   * Output only. The time at which this client was last updated.
      +   * 
      + * + * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java index baef224acafa..0237d1adfda8 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureCluster.java @@ -353,7 +353,7 @@ private State(int value) { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -380,7 +380,7 @@ public java.lang.String getName() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -575,19 +575,19 @@ public com.google.protobuf.ByteString getResourceGroupIdBytes() { * * *
      -   * Required. Name of the
      +   * Optional. Name of the
          * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
          * authentication configuration for how the Anthos Multi-Cloud API connects to
          * Azure APIs.
      -   * The `AzureClient` resource must reside on the same GCP project and region
      -   * as the `AzureCluster`.
      +   * The `AzureClient` resource must reside on the same Google Cloud Platform
      +   * project and region as the `AzureCluster`.
          * `AzureClient` names are formatted as
          * `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
          * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
          * for more details on Google Cloud resource names.
          * 
      * - * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The azureClient. */ @@ -607,19 +607,19 @@ public java.lang.String getAzureClient() { * * *
      -   * Required. Name of the
      +   * Optional. Name of the
          * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
          * authentication configuration for how the Anthos Multi-Cloud API connects to
          * Azure APIs.
      -   * The `AzureClient` resource must reside on the same GCP project and region
      -   * as the `AzureCluster`.
      +   * The `AzureClient` resource must reside on the same Google Cloud Platform
      +   * project and region as the `AzureCluster`.
          * `AzureClient` names are formatted as
          * `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
          * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
          * for more details on Google Cloud resource names.
          * 
      * - * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for azureClient. */ @@ -805,6 +805,65 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthoriz : authorization_; } + public static final int AZURE_SERVICES_AUTHENTICATION_FIELD_NUMBER = 22; + private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + azureServicesAuthentication_; + /** + * + * + *
      +   * Optional. Authentication configuration for management of Azure resources.
      +   * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the azureServicesAuthentication field is set. + */ + @java.lang.Override + public boolean hasAzureServicesAuthentication() { + return azureServicesAuthentication_ != null; + } + /** + * + * + *
      +   * Optional. Authentication configuration for management of Azure resources.
      +   * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The azureServicesAuthentication. + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + getAzureServicesAuthentication() { + return azureServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() + : azureServicesAuthentication_; + } + /** + * + * + *
      +   * Optional. Authentication configuration for management of Azure resources.
      +   * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder + getAzureServicesAuthenticationOrBuilder() { + return azureServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() + : azureServicesAuthentication_; + } + public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** @@ -1742,6 +1801,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (managedResources_ != null) { output.writeMessage(21, getManagedResources()); } + if (azureServicesAuthentication_ != null) { + output.writeMessage(22, getAzureServicesAuthentication()); + } if (loggingConfig_ != null) { output.writeMessage(23, getLoggingConfig()); } @@ -1829,6 +1891,11 @@ public int getSerializedSize() { if (managedResources_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getManagedResources()); } + if (azureServicesAuthentication_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, getAzureServicesAuthentication()); + } if (loggingConfig_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getLoggingConfig()); } @@ -1871,6 +1938,11 @@ public boolean equals(final java.lang.Object obj) { if (hasAuthorization()) { if (!getAuthorization().equals(other.getAuthorization())) return false; } + if (hasAzureServicesAuthentication() != other.hasAzureServicesAuthentication()) return false; + if (hasAzureServicesAuthentication()) { + if (!getAzureServicesAuthentication().equals(other.getAzureServicesAuthentication())) + return false; + } if (state_ != other.state_) return false; if (!getEndpoint().equals(other.getEndpoint())) return false; if (!getUid().equals(other.getUid())) return false; @@ -1940,6 +2012,10 @@ public int hashCode() { hash = (37 * hash) + AUTHORIZATION_FIELD_NUMBER; hash = (53 * hash) + getAuthorization().hashCode(); } + if (hasAzureServicesAuthentication()) { + hash = (37 * hash) + AZURE_SERVICES_AUTHENTICATION_FIELD_NUMBER; + hash = (53 * hash) + getAzureServicesAuthentication().hashCode(); + } hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (37 * hash) + ENDPOINT_FIELD_NUMBER; @@ -2167,6 +2243,11 @@ public Builder clear() { authorizationBuilder_.dispose(); authorizationBuilder_ = null; } + azureServicesAuthentication_ = null; + if (azureServicesAuthenticationBuilder_ != null) { + azureServicesAuthenticationBuilder_.dispose(); + azureServicesAuthenticationBuilder_ = null; + } state_ = 0; endpoint_ = ""; uid_ = ""; @@ -2210,7 +2291,7 @@ public Builder clear() { errors_ = null; errorsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); monitoringConfig_ = null; if (monitoringConfigBuilder_ != null) { monitoringConfigBuilder_.dispose(); @@ -2253,9 +2334,9 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster buildPartial() { private void buildPartialRepeatedFields(com.google.cloud.gkemulticloud.v1.AzureCluster result) { if (errorsBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0)) { + if (((bitField0_ & 0x00400000) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); } result.errors_ = errors_; } else { @@ -2292,51 +2373,57 @@ private void buildPartial0(com.google.cloud.gkemulticloud.v1.AzureCluster result authorizationBuilder_ == null ? authorization_ : authorizationBuilder_.build(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.state_ = state_; + result.azureServicesAuthentication_ = + azureServicesAuthenticationBuilder_ == null + ? azureServicesAuthentication_ + : azureServicesAuthenticationBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.endpoint_ = endpoint_; + result.state_ = state_; } if (((from_bitField0_ & 0x00000400) != 0)) { - result.uid_ = uid_; + result.endpoint_ = endpoint_; } if (((from_bitField0_ & 0x00000800) != 0)) { - result.reconciling_ = reconciling_; + result.uid_ = uid_; } if (((from_bitField0_ & 0x00001000) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.etag_ = etag_; + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { + result.etag_ = etag_; + } + if (((from_bitField0_ & 0x00010000) != 0)) { result.annotations_ = internalGetAnnotations(); result.annotations_.makeImmutable(); } - if (((from_bitField0_ & 0x00010000) != 0)) { + if (((from_bitField0_ & 0x00020000) != 0)) { result.workloadIdentityConfig_ = workloadIdentityConfigBuilder_ == null ? workloadIdentityConfig_ : workloadIdentityConfigBuilder_.build(); } - if (((from_bitField0_ & 0x00020000) != 0)) { + if (((from_bitField0_ & 0x00040000) != 0)) { result.clusterCaCertificate_ = clusterCaCertificate_; } - if (((from_bitField0_ & 0x00040000) != 0)) { + if (((from_bitField0_ & 0x00080000) != 0)) { result.fleet_ = fleetBuilder_ == null ? fleet_ : fleetBuilder_.build(); } - if (((from_bitField0_ & 0x00080000) != 0)) { + if (((from_bitField0_ & 0x00100000) != 0)) { result.managedResources_ = managedResourcesBuilder_ == null ? managedResources_ : managedResourcesBuilder_.build(); } - if (((from_bitField0_ & 0x00100000) != 0)) { + if (((from_bitField0_ & 0x00200000) != 0)) { result.loggingConfig_ = loggingConfigBuilder_ == null ? loggingConfig_ : loggingConfigBuilder_.build(); } - if (((from_bitField0_ & 0x00400000) != 0)) { + if (((from_bitField0_ & 0x00800000) != 0)) { result.monitoringConfig_ = monitoringConfigBuilder_ == null ? monitoringConfig_ : monitoringConfigBuilder_.build(); } @@ -2421,17 +2508,20 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { if (other.hasAuthorization()) { mergeAuthorization(other.getAuthorization()); } + if (other.hasAzureServicesAuthentication()) { + mergeAzureServicesAuthentication(other.getAzureServicesAuthentication()); + } if (other.state_ != 0) { setStateValue(other.getStateValue()); } if (!other.getEndpoint().isEmpty()) { endpoint_ = other.endpoint_; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); } if (!other.getUid().isEmpty()) { uid_ = other.uid_; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); } if (other.getReconciling() != false) { @@ -2445,17 +2535,17 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { } if (!other.getEtag().isEmpty()) { etag_ = other.etag_; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); } internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; if (other.hasWorkloadIdentityConfig()) { mergeWorkloadIdentityConfig(other.getWorkloadIdentityConfig()); } if (!other.getClusterCaCertificate().isEmpty()) { clusterCaCertificate_ = other.clusterCaCertificate_; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); } if (other.hasFleet()) { @@ -2471,7 +2561,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { if (!other.errors_.isEmpty()) { if (errors_.isEmpty()) { errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); } else { ensureErrorsIsMutable(); errors_.addAll(other.errors_); @@ -2484,7 +2574,7 @@ public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureCluster other) { errorsBuilder_.dispose(); errorsBuilder_ = null; errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); errorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getErrorsFieldBuilder() @@ -2562,43 +2652,43 @@ public Builder mergeFrom( case 56: { state_ = input.readEnum(); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 56 case 66: { endpoint_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; break; } // case 66 case 74: { uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; break; } // case 74 case 80: { reconciling_ = input.readBool(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; break; } // case 80 case 90: { input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; break; } // case 90 case 98: { input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; break; } // case 98 case 106: { etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; break; } // case 106 case 114: @@ -2610,7 +2700,7 @@ public Builder mergeFrom( internalGetMutableAnnotations() .getMutableMap() .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; break; } // case 114 case 130: @@ -2629,32 +2719,39 @@ public Builder mergeFrom( { input.readMessage( getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; break; } // case 146 case 154: { clusterCaCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; break; } // case 154 case 162: { input.readMessage(getFleetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; break; } // case 162 case 170: { input.readMessage( getManagedResourcesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; break; } // case 170 + case 178: + { + input.readMessage( + getAzureServicesAuthenticationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 178 case 186: { input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; break; } // case 186 case 194: @@ -2675,7 +2772,7 @@ public Builder mergeFrom( { input.readMessage( getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; break; } // case 202 default: @@ -2706,7 +2803,7 @@ public Builder mergeFrom( * Cluster names are formatted as * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2732,7 +2829,7 @@ public java.lang.String getName() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2758,7 +2855,7 @@ public com.google.protobuf.ByteString getNameBytes() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2783,7 +2880,7 @@ public Builder setName(java.lang.String value) { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -2804,7 +2901,7 @@ public Builder clearName() { * Cluster names are formatted as * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -3181,19 +3278,19 @@ public Builder setResourceGroupIdBytes(com.google.protobuf.ByteString value) { * * *
      -     * Required. Name of the
      +     * Optional. Name of the
            * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
            * authentication configuration for how the Anthos Multi-Cloud API connects to
            * Azure APIs.
      -     * The `AzureClient` resource must reside on the same GCP project and region
      -     * as the `AzureCluster`.
      +     * The `AzureClient` resource must reside on the same Google Cloud Platform
      +     * project and region as the `AzureCluster`.
            * `AzureClient` names are formatted as
            * `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
            * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
            * for more details on Google Cloud resource names.
            * 
      * - * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The azureClient. */ @@ -3212,19 +3309,19 @@ public java.lang.String getAzureClient() { * * *
      -     * Required. Name of the
      +     * Optional. Name of the
            * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
            * authentication configuration for how the Anthos Multi-Cloud API connects to
            * Azure APIs.
      -     * The `AzureClient` resource must reside on the same GCP project and region
      -     * as the `AzureCluster`.
      +     * The `AzureClient` resource must reside on the same Google Cloud Platform
      +     * project and region as the `AzureCluster`.
            * `AzureClient` names are formatted as
            * `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
            * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
            * for more details on Google Cloud resource names.
            * 
      * - * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for azureClient. */ @@ -3243,19 +3340,19 @@ public com.google.protobuf.ByteString getAzureClientBytes() { * * *
      -     * Required. Name of the
      +     * Optional. Name of the
            * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
            * authentication configuration for how the Anthos Multi-Cloud API connects to
            * Azure APIs.
      -     * The `AzureClient` resource must reside on the same GCP project and region
      -     * as the `AzureCluster`.
      +     * The `AzureClient` resource must reside on the same Google Cloud Platform
      +     * project and region as the `AzureCluster`.
            * `AzureClient` names are formatted as
            * `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
            * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
            * for more details on Google Cloud resource names.
            * 
      * - * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The azureClient to set. * @return This builder for chaining. @@ -3273,19 +3370,19 @@ public Builder setAzureClient(java.lang.String value) { * * *
      -     * Required. Name of the
      +     * Optional. Name of the
            * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
            * authentication configuration for how the Anthos Multi-Cloud API connects to
            * Azure APIs.
      -     * The `AzureClient` resource must reside on the same GCP project and region
      -     * as the `AzureCluster`.
      +     * The `AzureClient` resource must reside on the same Google Cloud Platform
      +     * project and region as the `AzureCluster`.
            * `AzureClient` names are formatted as
            * `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
            * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
            * for more details on Google Cloud resource names.
            * 
      * - * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -3299,19 +3396,19 @@ public Builder clearAzureClient() { * * *
      -     * Required. Name of the
      +     * Optional. Name of the
            * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
            * authentication configuration for how the Anthos Multi-Cloud API connects to
            * Azure APIs.
      -     * The `AzureClient` resource must reside on the same GCP project and region
      -     * as the `AzureCluster`.
      +     * The `AzureClient` resource must reside on the same Google Cloud Platform
      +     * project and region as the `AzureCluster`.
            * `AzureClient` names are formatted as
            * `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
            * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
            * for more details on Google Cloud resource names.
            * 
      * - * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for azureClient to set. * @return This builder for chaining. @@ -3938,6 +4035,216 @@ public com.google.cloud.gkemulticloud.v1.AzureAuthorization.Builder getAuthoriza return authorizationBuilder_; } + private com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + azureServicesAuthentication_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> + azureServicesAuthenticationBuilder_; + /** + * + * + *
      +     * Optional. Authentication configuration for management of Azure resources.
      +     * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the azureServicesAuthentication field is set. + */ + public boolean hasAzureServicesAuthentication() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
      +     * Optional. Authentication configuration for management of Azure resources.
      +     * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The azureServicesAuthentication. + */ + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + getAzureServicesAuthentication() { + if (azureServicesAuthenticationBuilder_ == null) { + return azureServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() + : azureServicesAuthentication_; + } else { + return azureServicesAuthenticationBuilder_.getMessage(); + } + } + /** + * + * + *
      +     * Optional. Authentication configuration for management of Azure resources.
      +     * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setAzureServicesAuthentication( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { + if (azureServicesAuthenticationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + azureServicesAuthentication_ = value; + } else { + azureServicesAuthenticationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
      +     * Optional. Authentication configuration for management of Azure resources.
      +     * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setAzureServicesAuthentication( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder builderForValue) { + if (azureServicesAuthenticationBuilder_ == null) { + azureServicesAuthentication_ = builderForValue.build(); + } else { + azureServicesAuthenticationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
      +     * Optional. Authentication configuration for management of Azure resources.
      +     * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeAzureServicesAuthentication( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication value) { + if (azureServicesAuthenticationBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) + && azureServicesAuthentication_ != null + && azureServicesAuthentication_ + != com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + .getDefaultInstance()) { + getAzureServicesAuthenticationBuilder().mergeFrom(value); + } else { + azureServicesAuthentication_ = value; + } + } else { + azureServicesAuthenticationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * + * + *
      +     * Optional. Authentication configuration for management of Azure resources.
      +     * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearAzureServicesAuthentication() { + bitField0_ = (bitField0_ & ~0x00000100); + azureServicesAuthentication_ = null; + if (azureServicesAuthenticationBuilder_ != null) { + azureServicesAuthenticationBuilder_.dispose(); + azureServicesAuthenticationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * + * + *
      +     * Optional. Authentication configuration for management of Azure resources.
      +     * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder + getAzureServicesAuthenticationBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getAzureServicesAuthenticationFieldBuilder().getBuilder(); + } + /** + * + * + *
      +     * Optional. Authentication configuration for management of Azure resources.
      +     * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder + getAzureServicesAuthenticationOrBuilder() { + if (azureServicesAuthenticationBuilder_ != null) { + return azureServicesAuthenticationBuilder_.getMessageOrBuilder(); + } else { + return azureServicesAuthentication_ == null + ? com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance() + : azureServicesAuthentication_; + } + } + /** + * + * + *
      +     * Optional. Authentication configuration for management of Azure resources.
      +     * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder> + getAzureServicesAuthenticationFieldBuilder() { + if (azureServicesAuthenticationBuilder_ == null) { + azureServicesAuthenticationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder>( + getAzureServicesAuthentication(), getParentForChildren(), isClean()); + azureServicesAuthentication_ = null; + } + return azureServicesAuthenticationBuilder_; + } + private int state_ = 0; /** * @@ -3972,7 +4279,7 @@ public int getStateValue() { */ public Builder setStateValue(int value) { state_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -4015,7 +4322,7 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureCluster.State val if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; state_ = value.getNumber(); onChanged(); return this; @@ -4034,7 +4341,7 @@ public Builder setState(com.google.cloud.gkemulticloud.v1.AzureCluster.State val * @return This builder for chaining. */ public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); state_ = 0; onChanged(); return this; @@ -4102,7 +4409,7 @@ public Builder setEndpoint(java.lang.String value) { throw new NullPointerException(); } endpoint_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -4119,7 +4426,7 @@ public Builder setEndpoint(java.lang.String value) { */ public Builder clearEndpoint() { endpoint_ = getDefaultInstance().getEndpoint(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -4141,7 +4448,7 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); endpoint_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -4208,7 +4515,7 @@ public Builder setUid(java.lang.String value) { throw new NullPointerException(); } uid_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4225,7 +4532,7 @@ public Builder setUid(java.lang.String value) { */ public Builder clearUid() { uid_ = getDefaultInstance().getUid(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } @@ -4247,7 +4554,7 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); uid_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4283,7 +4590,7 @@ public boolean getReconciling() { public Builder setReconciling(boolean value) { reconciling_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -4299,7 +4606,7 @@ public Builder setReconciling(boolean value) { * @return This builder for chaining. */ public Builder clearReconciling() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); reconciling_ = false; onChanged(); return this; @@ -4325,7 +4632,7 @@ public Builder clearReconciling() { * @return Whether the createTime field is set. */ public boolean hasCreateTime() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -4369,7 +4676,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -4390,7 +4697,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal } else { createTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -4407,7 +4714,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) + if (((bitField0_ & 0x00002000) != 0) && createTime_ != null && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); @@ -4417,7 +4724,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -4433,7 +4740,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * */ public Builder clearCreateTime() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); @@ -4454,7 +4761,7 @@ public Builder clearCreateTime() { * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } @@ -4526,7 +4833,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -4570,7 +4877,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { } else { updateTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -4591,7 +4898,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal } else { updateTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -4608,7 +4915,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) + if (((bitField0_ & 0x00004000) != 0) && updateTime_ != null && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); @@ -4618,7 +4925,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { } else { updateTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -4634,7 +4941,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { * */ public Builder clearUpdateTime() { - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); updateTime_ = null; if (updateTimeBuilder_ != null) { updateTimeBuilder_.dispose(); @@ -4655,7 +4962,7 @@ public Builder clearUpdateTime() { * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } @@ -4778,7 +5085,7 @@ public Builder setEtag(java.lang.String value) { throw new NullPointerException(); } etag_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -4798,7 +5105,7 @@ public Builder setEtag(java.lang.String value) { */ public Builder clearEtag() { etag_ = getDefaultInstance().getEtag(); - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -4823,7 +5130,7 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); etag_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -4848,7 +5155,7 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); } - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return annotations_; } @@ -4965,7 +5272,7 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00010000); internalGetMutableAnnotations().getMutableMap().clear(); return this; } @@ -4996,7 +5303,7 @@ public Builder removeAnnotations(java.lang.String key) { /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableAnnotations() { - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; return internalGetMutableAnnotations().getMutableMap(); } /** @@ -5024,7 +5331,7 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) { throw new NullPointerException("map value"); } internalGetMutableAnnotations().getMutableMap().put(key, value); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; return this; } /** @@ -5046,7 +5353,7 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) { */ public Builder putAllAnnotations(java.util.Map values) { internalGetMutableAnnotations().getMutableMap().putAll(values); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; return this; } @@ -5070,7 +5377,7 @@ public Builder putAllAnnotations(java.util.Map */ public Builder clearWorkloadIdentityConfig() { - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); workloadIdentityConfig_ = null; if (workloadIdentityConfigBuilder_ != null) { workloadIdentityConfigBuilder_.dispose(); @@ -5204,7 +5511,7 @@ public Builder clearWorkloadIdentityConfig() { */ public com.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() { - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return getWorkloadIdentityConfigFieldBuilder().getBuilder(); } @@ -5319,7 +5626,7 @@ public Builder setClusterCaCertificate(java.lang.String value) { throw new NullPointerException(); } clusterCaCertificate_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -5336,7 +5643,7 @@ public Builder setClusterCaCertificate(java.lang.String value) { */ public Builder clearClusterCaCertificate() { clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate(); - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } @@ -5358,7 +5665,7 @@ public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value } checkByteStringIsUtf8(value); clusterCaCertificate_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -5383,7 +5690,7 @@ public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value * @return Whether the fleet field is set. */ public boolean hasFleet() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** * @@ -5427,7 +5734,7 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { } else { fleetBuilder_.setMessage(value); } - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -5448,7 +5755,7 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderF } else { fleetBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -5465,7 +5772,7 @@ public Builder setFleet(com.google.cloud.gkemulticloud.v1.Fleet.Builder builderF */ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { if (fleetBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) + if (((bitField0_ & 0x00080000) != 0) && fleet_ != null && fleet_ != com.google.cloud.gkemulticloud.v1.Fleet.getDefaultInstance()) { getFleetBuilder().mergeFrom(value); @@ -5475,7 +5782,7 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { } else { fleetBuilder_.mergeFrom(value); } - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -5491,7 +5798,7 @@ public Builder mergeFleet(com.google.cloud.gkemulticloud.v1.Fleet value) { * */ public Builder clearFleet() { - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00080000); fleet_ = null; if (fleetBuilder_ != null) { fleetBuilder_.dispose(); @@ -5512,7 +5819,7 @@ public Builder clearFleet() { * */ public com.google.cloud.gkemulticloud.v1.Fleet.Builder getFleetBuilder() { - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; onChanged(); return getFleetFieldBuilder().getBuilder(); } @@ -5584,7 +5891,7 @@ public com.google.cloud.gkemulticloud.v1.FleetOrBuilder getFleetOrBuilder() { * @return Whether the managedResources field is set. */ public boolean hasManagedResources() { - return ((bitField0_ & 0x00080000) != 0); + return ((bitField0_ & 0x00100000) != 0); } /** * @@ -5629,7 +5936,7 @@ public Builder setManagedResources( } else { managedResourcesBuilder_.setMessage(value); } - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -5651,7 +5958,7 @@ public Builder setManagedResources( } else { managedResourcesBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -5669,7 +5976,7 @@ public Builder setManagedResources( public Builder mergeManagedResources( com.google.cloud.gkemulticloud.v1.AzureClusterResources value) { if (managedResourcesBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) + if (((bitField0_ & 0x00100000) != 0) && managedResources_ != null && managedResources_ != com.google.cloud.gkemulticloud.v1.AzureClusterResources.getDefaultInstance()) { @@ -5680,7 +5987,7 @@ public Builder mergeManagedResources( } else { managedResourcesBuilder_.mergeFrom(value); } - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -5696,7 +6003,7 @@ public Builder mergeManagedResources( * */ public Builder clearManagedResources() { - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); managedResources_ = null; if (managedResourcesBuilder_ != null) { managedResourcesBuilder_.dispose(); @@ -5718,7 +6025,7 @@ public Builder clearManagedResources() { */ public com.google.cloud.gkemulticloud.v1.AzureClusterResources.Builder getManagedResourcesBuilder() { - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; onChanged(); return getManagedResourcesFieldBuilder().getBuilder(); } @@ -5791,7 +6098,7 @@ public Builder clearManagedResources() { * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { - return ((bitField0_ & 0x00100000) != 0); + return ((bitField0_ & 0x00200000) != 0); } /** * @@ -5835,7 +6142,7 @@ public Builder setLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig } else { loggingConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -5857,7 +6164,7 @@ public Builder setLoggingConfig( } else { loggingConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -5874,7 +6181,7 @@ public Builder setLoggingConfig( */ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) + if (((bitField0_ & 0x00200000) != 0) && loggingConfig_ != null && loggingConfig_ != com.google.cloud.gkemulticloud.v1.LoggingConfig.getDefaultInstance()) { @@ -5885,7 +6192,7 @@ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfi } else { loggingConfigBuilder_.mergeFrom(value); } - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -5901,7 +6208,7 @@ public Builder mergeLoggingConfig(com.google.cloud.gkemulticloud.v1.LoggingConfi * */ public Builder clearLoggingConfig() { - bitField0_ = (bitField0_ & ~0x00100000); + bitField0_ = (bitField0_ & ~0x00200000); loggingConfig_ = null; if (loggingConfigBuilder_ != null) { loggingConfigBuilder_.dispose(); @@ -5922,7 +6229,7 @@ public Builder clearLoggingConfig() { * */ public com.google.cloud.gkemulticloud.v1.LoggingConfig.Builder getLoggingConfigBuilder() { - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } @@ -5978,10 +6285,10 @@ public com.google.cloud.gkemulticloud.v1.LoggingConfigOrBuilder getLoggingConfig java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { - if (!((bitField0_ & 0x00200000) != 0)) { + if (!((bitField0_ & 0x00400000) != 0)) { errors_ = new java.util.ArrayList(errors_); - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; } } @@ -6219,7 +6526,7 @@ public Builder addAllErrors( public Builder clearErrors() { if (errorsBuilder_ == null) { errors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); onChanged(); } else { errorsBuilder_.clear(); @@ -6357,7 +6664,7 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuil com.google.cloud.gkemulticloud.v1.AzureClusterError, com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder, com.google.cloud.gkemulticloud.v1.AzureClusterErrorOrBuilder>( - errors_, ((bitField0_ & 0x00200000) != 0), getParentForChildren(), isClean()); + errors_, ((bitField0_ & 0x00400000) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; @@ -6383,7 +6690,7 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterError.Builder addErrorsBuil * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { - return ((bitField0_ & 0x00400000) != 0); + return ((bitField0_ & 0x00800000) != 0); } /** * @@ -6427,7 +6734,7 @@ public Builder setMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringC } else { monitoringConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -6449,7 +6756,7 @@ public Builder setMonitoringConfig( } else { monitoringConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -6466,7 +6773,7 @@ public Builder setMonitoringConfig( */ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.MonitoringConfig value) { if (monitoringConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) + if (((bitField0_ & 0x00800000) != 0) && monitoringConfig_ != null && monitoringConfig_ != com.google.cloud.gkemulticloud.v1.MonitoringConfig.getDefaultInstance()) { @@ -6477,7 +6784,7 @@ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.Monitorin } else { monitoringConfigBuilder_.mergeFrom(value); } - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -6493,7 +6800,7 @@ public Builder mergeMonitoringConfig(com.google.cloud.gkemulticloud.v1.Monitorin * */ public Builder clearMonitoringConfig() { - bitField0_ = (bitField0_ & ~0x00400000); + bitField0_ = (bitField0_ & ~0x00800000); monitoringConfig_ = null; if (monitoringConfigBuilder_ != null) { monitoringConfigBuilder_.dispose(); @@ -6514,7 +6821,7 @@ public Builder clearMonitoringConfig() { * */ public com.google.cloud.gkemulticloud.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() { - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; onChanged(); return getMonitoringConfigFieldBuilder().getBuilder(); } diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java index 14da2d039e27..0139cbd6b2e0 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureClusterOrBuilder.java @@ -31,7 +31,7 @@ public interface AzureClusterOrBuilder * Cluster names are formatted as * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -47,7 +47,7 @@ public interface AzureClusterOrBuilder * Cluster names are formatted as * `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -149,19 +149,19 @@ public interface AzureClusterOrBuilder * * *
      -   * Required. Name of the
      +   * Optional. Name of the
          * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
          * authentication configuration for how the Anthos Multi-Cloud API connects to
          * Azure APIs.
      -   * The `AzureClient` resource must reside on the same GCP project and region
      -   * as the `AzureCluster`.
      +   * The `AzureClient` resource must reside on the same Google Cloud Platform
      +   * project and region as the `AzureCluster`.
          * `AzureClient` names are formatted as
          * `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
          * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
          * for more details on Google Cloud resource names.
          * 
      * - * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The azureClient. */ @@ -170,19 +170,19 @@ public interface AzureClusterOrBuilder * * *
      -   * Required. Name of the
      +   * Optional. Name of the
          * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
          * authentication configuration for how the Anthos Multi-Cloud API connects to
          * Azure APIs.
      -   * The `AzureClient` resource must reside on the same GCP project and region
      -   * as the `AzureCluster`.
      +   * The `AzureClient` resource must reside on the same Google Cloud Platform
      +   * project and region as the `AzureCluster`.
          * `AzureClient` names are formatted as
          * `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
          * See [Resource Names](https://cloud.google.com/apis/design/resource_names)
          * for more details on Google Cloud resource names.
          * 
      * - * string azure_client = 16 [(.google.api.field_behavior) = REQUIRED]; + * string azure_client = 16 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for azureClient. */ @@ -311,6 +311,48 @@ public interface AzureClusterOrBuilder */ com.google.cloud.gkemulticloud.v1.AzureAuthorizationOrBuilder getAuthorizationOrBuilder(); + /** + * + * + *
      +   * Optional. Authentication configuration for management of Azure resources.
      +   * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the azureServicesAuthentication field is set. + */ + boolean hasAzureServicesAuthentication(); + /** + * + * + *
      +   * Optional. Authentication configuration for management of Azure resources.
      +   * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The azureServicesAuthentication. + */ + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getAzureServicesAuthentication(); + /** + * + * + *
      +   * Optional. Authentication configuration for management of Azure resources.
      +   * 
      + * + * + * .google.cloud.gkemulticloud.v1.AzureServicesAuthentication azure_services_authentication = 22 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder + getAzureServicesAuthenticationOrBuilder(); + /** * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java index 94ee3a15f6da..28d7198a1828 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureResourcesProto.java @@ -79,6 +79,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_gkemulticloud_v1_AzureAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -145,158 +149,165 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "d.v1\032\037google/api/field_behavior.proto\032\031g" + "oogle/api/resource.proto\0324google/cloud/g" + "kemulticloud/v1/common_resources.proto\032\037" - + "google/protobuf/timestamp.proto\"\355\013\n\014Azur" + + "google/protobuf/timestamp.proto\"\325\014\n\014Azur" + "eCluster\022\014\n\004name\030\001 \001(\t\022\030\n\013description\030\002 " + "\001(\tB\003\340A\001\022\031\n\014azure_region\030\003 \001(\tB\003\340A\002\022\036\n\021r" + "esource_group_id\030\021 \001(\tB\003\340A\002\022\031\n\014azure_cli" - + "ent\030\020 \001(\tB\003\340A\002\022N\n\nnetworking\030\004 \001(\01325.goo" + + "ent\030\020 \001(\tB\003\340A\001\022N\n\nnetworking\030\004 \001(\01325.goo" + "gle.cloud.gkemulticloud.v1.AzureClusterN" + "etworkingB\003\340A\002\022L\n\rcontrol_plane\030\005 \001(\01320." + "google.cloud.gkemulticloud.v1.AzureContr" + "olPlaneB\003\340A\002\022M\n\rauthorization\030\006 \001(\01321.go" + "ogle.cloud.gkemulticloud.v1.AzureAuthori" - + "zationB\003\340A\002\022E\n\005state\030\007 \001(\01621.google.clou" - + "d.gkemulticloud.v1.AzureCluster.StateB\003\340" - + "A\003\022\025\n\010endpoint\030\010 \001(\tB\003\340A\003\022\020\n\003uid\030\t \001(\tB\003" - + "\340A\003\022\030\n\013reconciling\030\n \001(\010B\003\340A\003\0224\n\013create_" - + "time\030\013 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\0224\n\013update_time\030\014 \001(\0132\032.google.protob" - + "uf.TimestampB\003\340A\003\022\014\n\004etag\030\r \001(\t\022V\n\013annot" - + "ations\030\016 \003(\0132<.google.cloud.gkemulticlou" - + "d.v1.AzureCluster.AnnotationsEntryB\003\340A\001\022" - + "\\\n\030workload_identity_config\030\022 \001(\01325.goog" - + "le.cloud.gkemulticloud.v1.WorkloadIdenti" - + "tyConfigB\003\340A\003\022#\n\026cluster_ca_certificate\030" - + "\023 \001(\tB\003\340A\003\0228\n\005fleet\030\024 \001(\0132$.google.cloud" - + ".gkemulticloud.v1.FleetB\003\340A\002\022T\n\021managed_" - + "resources\030\025 \001(\01324.google.cloud.gkemultic" - + "loud.v1.AzureClusterResourcesB\003\340A\003\022I\n\016lo" - + "gging_config\030\027 \001(\0132,.google.cloud.gkemul" - + "ticloud.v1.LoggingConfigB\003\340A\001\022E\n\006errors\030" - + "\030 \003(\01320.google.cloud.gkemulticloud.v1.Az" - + "ureClusterErrorB\003\340A\003\022O\n\021monitoring_confi" - + "g\030\031 \001(\0132/.google.cloud.gkemulticloud.v1." - + "MonitoringConfigB\003\340A\001\0322\n\020AnnotationsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005Sta" - + "te\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PROVISIONIN" - + "G\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STO" - + "PPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:u\352Ar\n)g" - + "kemulticloud.googleapis.com/AzureCluster" - + "\022Eprojects/{project}/locations/{location" - + "}/azureClusters/{azure_cluster}\"\267\001\n\026Azur" - + "eClusterNetworking\022\037\n\022virtual_network_id" - + "\030\001 \001(\tB\003\340A\002\022$\n\027pod_address_cidr_blocks\030\002" - + " \003(\tB\003\340A\002\022(\n\033service_address_cidr_blocks" - + "\030\003 \003(\tB\003\340A\002\022,\n\037service_load_balancer_sub" - + "net_id\030\005 \001(\tB\003\340A\001\"\242\006\n\021AzureControlPlane\022" - + "\024\n\007version\030\001 \001(\tB\003\340A\002\022\026\n\tsubnet_id\030\002 \001(\t" - + "B\003\340A\001\022\024\n\007vm_size\030\003 \001(\tB\003\340A\001\022F\n\nssh_confi" - + "g\030\013 \001(\0132-.google.cloud.gkemulticloud.v1." - + "AzureSshConfigB\003\340A\002\022J\n\013root_volume\030\004 \001(\013" - + "20.google.cloud.gkemulticloud.v1.AzureDi" - + "skTemplateB\003\340A\001\022J\n\013main_volume\030\005 \001(\01320.g" - + "oogle.cloud.gkemulticloud.v1.AzureDiskTe" - + "mplateB\003\340A\001\022X\n\023database_encryption\030\n \001(\013" - + "26.google.cloud.gkemulticloud.v1.AzureDa" - + "tabaseEncryptionB\003\340A\001\022J\n\014proxy_config\030\014 " - + "\001(\0132/.google.cloud.gkemulticloud.v1.Azur" - + "eProxyConfigB\003\340A\001\022T\n\021config_encryption\030\016" - + " \001(\01324.google.cloud.gkemulticloud.v1.Azu" - + "reConfigEncryptionB\003\340A\001\022M\n\004tags\030\007 \003(\0132:." - + "google.cloud.gkemulticloud.v1.AzureContr" - + "olPlane.TagsEntryB\003\340A\001\022P\n\022replica_placem" - + "ents\030\r \003(\0132/.google.cloud.gkemulticloud." - + "v1.ReplicaPlacementB\003\340A\001\022\037\n\022endpoint_sub" - + "net_id\030\017 \001(\tB\003\340A\001\032+\n\tTagsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"P\n\020ReplicaPlaceme" - + "nt\022\026\n\tsubnet_id\030\001 \001(\tB\003\340A\002\022$\n\027azure_avai" - + "lability_zone\030\002 \001(\tB\003\340A\002\"@\n\020AzureProxyCo" - + "nfig\022\031\n\021resource_group_id\030\001 \001(\t\022\021\n\tsecre" - + "t_id\030\002 \001(\t\".\n\027AzureDatabaseEncryption\022\023\n" - + "\006key_id\030\003 \001(\tB\003\340A\002\"E\n\025AzureConfigEncrypt" - + "ion\022\023\n\006key_id\030\002 \001(\tB\003\340A\002\022\027\n\npublic_key\030\003" - + " \001(\tB\003\340A\001\"*\n\021AzureDiskTemplate\022\025\n\010size_g" - + "ib\030\001 \001(\005B\003\340A\001\"\265\003\n\013AzureClient\022\014\n\004name\030\001 " - + "\001(\t\022\026\n\ttenant_id\030\002 \001(\tB\003\340A\002\022\033\n\016applicati" - + "on_id\030\003 \001(\tB\003\340A\002\022U\n\013annotations\030\010 \003(\0132;." - + "google.cloud.gkemulticloud.v1.AzureClien" - + "t.AnnotationsEntryB\003\340A\001\022\034\n\017pem_certifica" - + "te\030\007 \001(\tB\003\340A\003\022\020\n\003uid\030\005 \001(\tB\003\340A\003\0224\n\013creat" - + "e_time\030\006 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001:r\352Ao\n(gkemulticloud.go" - + "ogleapis.com/AzureClient\022Cprojects/{proj" - + "ect}/locations/{location}/azureClients/{" - + "azure_client}\"_\n\022AzureAuthorization\022I\n\013a" - + "dmin_users\030\001 \003(\0132/.google.cloud.gkemulti" - + "cloud.v1.AzureClusterUserB\003\340A\002\")\n\020AzureC" - + "lusterUser\022\025\n\010username\030\001 \001(\tB\003\340A\002\"\262\010\n\rAz" - + "ureNodePool\022\014\n\004name\030\001 \001(\t\022\024\n\007version\030\002 \001" - + "(\tB\003\340A\002\022C\n\006config\030\026 \001(\0132..google.cloud.g" - + "kemulticloud.v1.AzureNodeConfigB\003\340A\002\022\026\n\t" - + "subnet_id\030\003 \001(\tB\003\340A\002\022Q\n\013autoscaling\030\004 \001(" - + "\01327.google.cloud.gkemulticloud.v1.AzureN" - + "odePoolAutoscalingB\003\340A\002\022F\n\005state\030\006 \001(\01622" - + ".google.cloud.gkemulticloud.v1.AzureNode" - + "Pool.StateB\003\340A\003\022\020\n\003uid\030\010 \001(\tB\003\340A\003\022\030\n\013rec" - + "onciling\030\t \001(\010B\003\340A\003\0224\n\013create_time\030\n \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upd" - + "ate_time\030\013 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\022\014\n\004etag\030\014 \001(\t\022W\n\013annotations\030\r \003" - + "(\0132=.google.cloud.gkemulticloud.v1.Azure" - + "NodePool.AnnotationsEntryB\003\340A\001\022R\n\023max_po" - + "ds_constraint\030\025 \001(\01320.google.cloud.gkemu" - + "lticloud.v1.MaxPodsConstraintB\003\340A\002\022$\n\027az" - + "ure_availability_zone\030\027 \001(\tB\003\340A\001\022F\n\006erro" - + "rs\030\035 \003(\01321.google.cloud.gkemulticloud.v1" - + ".AzureNodePoolErrorB\003\340A\003\0322\n\020AnnotationsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005" - + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014PROVISIO" - + "NING\020\001\022\013\n\007RUNNING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010" - + "STOPPING\020\004\022\t\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:\230\001\352A" - + "\224\001\n*gkemulticloud.googleapis.com/AzureNo" - + "dePool\022fprojects/{project}/locations/{lo" - + "cation}/azureClusters/{azure_cluster}/az" - + "ureNodePools/{azure_node_pool}\"\257\005\n\017Azure" - + "NodeConfig\022\024\n\007vm_size\030\001 \001(\tB\003\340A\001\022J\n\013root" - + "_volume\030\002 \001(\01320.google.cloud.gkemulticlo" - + "ud.v1.AzureDiskTemplateB\003\340A\001\022K\n\004tags\030\003 \003" - + "(\01328.google.cloud.gkemulticloud.v1.Azure" - + "NodeConfig.TagsEntryB\003\340A\001\022\027\n\nimage_type\030" - + "\010 \001(\tB\003\340A\001\022F\n\nssh_config\030\007 \001(\0132-.google." - + "cloud.gkemulticloud.v1.AzureSshConfigB\003\340" - + "A\002\022J\n\014proxy_config\030\t \001(\0132/.google.cloud." - + "gkemulticloud.v1.AzureProxyConfigB\003\340A\001\022T" - + "\n\021config_encryption\030\014 \001(\01324.google.cloud" - + ".gkemulticloud.v1.AzureConfigEncryptionB" - + "\003\340A\001\022=\n\006taints\030\n \003(\0132(.google.cloud.gkem" - + "ulticloud.v1.NodeTaintB\003\340A\001\022O\n\006labels\030\013 " - + "\003(\0132:.google.cloud.gkemulticloud.v1.Azur" - + "eNodeConfig.LabelsEntryB\003\340A\001\032+\n\tTagsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013Lab" - + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "\"T\n\030AzureNodePoolAutoscaling\022\033\n\016min_node" - + "_count\030\001 \001(\005B\003\340A\002\022\033\n\016max_node_count\030\002 \001(" - + "\005B\003\340A\002\"\376\001\n\021AzureServerConfig\022\014\n\004name\030\001 \001" - + "(\t\022J\n\016valid_versions\030\002 \003(\01322.google.clou" - + "d.gkemulticloud.v1.AzureK8sVersionInfo\022\037" - + "\n\027supported_azure_regions\030\003 \003(\t:n\352Ak\n.gk" - + "emulticloud.googleapis.com/AzureServerCo" - + "nfig\0229projects/{project}/locations/{loca" - + "tion}/azureServerConfig\"&\n\023AzureK8sVersi" - + "onInfo\022\017\n\007version\030\001 \001(\t\"-\n\016AzureSshConfi" - + "g\022\033\n\016authorized_key\030\001 \001(\tB\003\340A\002\"y\n\025AzureC" - + "lusterResources\022&\n\031network_security_grou" - + "p_id\030\001 \001(\tB\003\340A\003\0228\n+control_plane_applica" - + "tion_security_group_id\030\002 \001(\tB\003\340A\003\"$\n\021Azu" - + "reClusterError\022\017\n\007message\030\001 \001(\t\"%\n\022Azure" - + "NodePoolError\022\017\n\007message\030\001 \001(\tB\351\001\n!com.g" - + "oogle.cloud.gkemulticloud.v1B\023AzureResou" - + "rcesProtoP\001ZJgoogle.golang.org/genproto/" - + "googleapis/cloud/gkemulticloud/v1;gkemul" - + "ticloud\252\002\035Google.Cloud.GkeMultiCloud.V1\312" - + "\002\035Google\\Cloud\\GkeMultiCloud\\V1\352\002 Google" - + "::Cloud::GkeMultiCloud::V1b\006proto3" + + "zationB\003\340A\002\022f\n\035azure_services_authentica" + + "tion\030\026 \001(\0132:.google.cloud.gkemulticloud." + + "v1.AzureServicesAuthenticationB\003\340A\001\022E\n\005s" + + "tate\030\007 \001(\01621.google.cloud.gkemulticloud." + + "v1.AzureCluster.StateB\003\340A\003\022\025\n\010endpoint\030\010" + + " \001(\tB\003\340A\003\022\020\n\003uid\030\t \001(\tB\003\340A\003\022\030\n\013reconcili" + + "ng\030\n \001(\010B\003\340A\003\0224\n\013create_time\030\013 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\0224\n\013update_ti" + + "me\030\014 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022\014\n\004etag\030\r \001(\t\022V\n\013annotations\030\016 \003(\0132<.g" + + "oogle.cloud.gkemulticloud.v1.AzureCluste" + + "r.AnnotationsEntryB\003\340A\001\022\\\n\030workload_iden" + + "tity_config\030\022 \001(\01325.google.cloud.gkemult" + + "icloud.v1.WorkloadIdentityConfigB\003\340A\003\022#\n" + + "\026cluster_ca_certificate\030\023 \001(\tB\003\340A\003\0228\n\005fl" + + "eet\030\024 \001(\0132$.google.cloud.gkemulticloud.v" + + "1.FleetB\003\340A\002\022T\n\021managed_resources\030\025 \001(\0132" + + "4.google.cloud.gkemulticloud.v1.AzureClu" + + "sterResourcesB\003\340A\003\022I\n\016logging_config\030\027 \001" + + "(\0132,.google.cloud.gkemulticloud.v1.Loggi" + + "ngConfigB\003\340A\001\022E\n\006errors\030\030 \003(\01320.google.c" + + "loud.gkemulticloud.v1.AzureClusterErrorB" + + "\003\340A\003\022O\n\021monitoring_config\030\031 \001(\0132/.google" + + ".cloud.gkemulticloud.v1.MonitoringConfig" + + "B\003\340A\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNING\020\002" + + "\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ERROR" + + "\020\005\022\014\n\010DEGRADED\020\006:u\352Ar\n)gkemulticloud.goo" + + "gleapis.com/AzureCluster\022Eprojects/{proj" + + "ect}/locations/{location}/azureClusters/" + + "{azure_cluster}\"\267\001\n\026AzureClusterNetworki" + + "ng\022\037\n\022virtual_network_id\030\001 \001(\tB\003\340A\002\022$\n\027p" + + "od_address_cidr_blocks\030\002 \003(\tB\003\340A\002\022(\n\033ser" + + "vice_address_cidr_blocks\030\003 \003(\tB\003\340A\002\022,\n\037s" + + "ervice_load_balancer_subnet_id\030\005 \001(\tB\003\340A" + + "\001\"\242\006\n\021AzureControlPlane\022\024\n\007version\030\001 \001(\t" + + "B\003\340A\002\022\026\n\tsubnet_id\030\002 \001(\tB\003\340A\001\022\024\n\007vm_size" + + "\030\003 \001(\tB\003\340A\001\022F\n\nssh_config\030\013 \001(\0132-.google" + + ".cloud.gkemulticloud.v1.AzureSshConfigB\003" + + "\340A\002\022J\n\013root_volume\030\004 \001(\01320.google.cloud." + + "gkemulticloud.v1.AzureDiskTemplateB\003\340A\001\022" + + "J\n\013main_volume\030\005 \001(\01320.google.cloud.gkem" + + "ulticloud.v1.AzureDiskTemplateB\003\340A\001\022X\n\023d" + + "atabase_encryption\030\n \001(\01326.google.cloud." + + "gkemulticloud.v1.AzureDatabaseEncryption" + + "B\003\340A\001\022J\n\014proxy_config\030\014 \001(\0132/.google.clo" + + "ud.gkemulticloud.v1.AzureProxyConfigB\003\340A" + + "\001\022T\n\021config_encryption\030\016 \001(\01324.google.cl" + + "oud.gkemulticloud.v1.AzureConfigEncrypti" + + "onB\003\340A\001\022M\n\004tags\030\007 \003(\0132:.google.cloud.gke" + + "multicloud.v1.AzureControlPlane.TagsEntr" + + "yB\003\340A\001\022P\n\022replica_placements\030\r \003(\0132/.goo" + + "gle.cloud.gkemulticloud.v1.ReplicaPlacem" + + "entB\003\340A\001\022\037\n\022endpoint_subnet_id\030\017 \001(\tB\003\340A" + + "\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"P\n\020ReplicaPlacement\022\026\n\tsubnet_id\030" + + "\001 \001(\tB\003\340A\002\022$\n\027azure_availability_zone\030\002 " + + "\001(\tB\003\340A\002\"@\n\020AzureProxyConfig\022\031\n\021resource" + + "_group_id\030\001 \001(\t\022\021\n\tsecret_id\030\002 \001(\t\".\n\027Az" + + "ureDatabaseEncryption\022\023\n\006key_id\030\003 \001(\tB\003\340" + + "A\002\"E\n\025AzureConfigEncryption\022\023\n\006key_id\030\002 " + + "\001(\tB\003\340A\002\022\027\n\npublic_key\030\003 \001(\tB\003\340A\001\"*\n\021Azu" + + "reDiskTemplate\022\025\n\010size_gib\030\001 \001(\005B\003\340A\001\"\205\004" + + "\n\013AzureClient\022\014\n\004name\030\001 \001(\t\022\026\n\ttenant_id" + + "\030\002 \001(\tB\003\340A\002\022\033\n\016application_id\030\003 \001(\tB\003\340A\002" + + "\022\030\n\013reconciling\030\t \001(\010B\003\340A\003\022U\n\013annotation" + + "s\030\010 \003(\0132;.google.cloud.gkemulticloud.v1." + + "AzureClient.AnnotationsEntryB\003\340A\001\022\034\n\017pem" + + "_certificate\030\007 \001(\tB\003\340A\003\022\020\n\003uid\030\005 \001(\tB\003\340A" + + "\003\0224\n\013create_time\030\006 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0224\n\013update_time\030\n \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\0322\n\020Annotat" + + "ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001:r\352Ao\n(gkemulticloud.googleapis.com/Azu" + + "reClient\022Cprojects/{project}/locations/{" + + "location}/azureClients/{azure_client}\"_\n" + + "\022AzureAuthorization\022I\n\013admin_users\030\001 \003(\013" + + "2/.google.cloud.gkemulticloud.v1.AzureCl" + + "usterUserB\003\340A\002\"R\n\033AzureServicesAuthentic" + + "ation\022\026\n\ttenant_id\030\001 \001(\tB\003\340A\002\022\033\n\016applica" + + "tion_id\030\002 \001(\tB\003\340A\002\")\n\020AzureClusterUser\022\025" + + "\n\010username\030\001 \001(\tB\003\340A\002\"\262\010\n\rAzureNodePool\022" + + "\014\n\004name\030\001 \001(\t\022\024\n\007version\030\002 \001(\tB\003\340A\002\022C\n\006c" + + "onfig\030\026 \001(\0132..google.cloud.gkemulticloud" + + ".v1.AzureNodeConfigB\003\340A\002\022\026\n\tsubnet_id\030\003 " + + "\001(\tB\003\340A\002\022Q\n\013autoscaling\030\004 \001(\01327.google.c" + + "loud.gkemulticloud.v1.AzureNodePoolAutos" + + "calingB\003\340A\002\022F\n\005state\030\006 \001(\01622.google.clou" + + "d.gkemulticloud.v1.AzureNodePool.StateB\003" + + "\340A\003\022\020\n\003uid\030\010 \001(\tB\003\340A\003\022\030\n\013reconciling\030\t \001" + + "(\010B\003\340A\003\0224\n\013create_time\030\n \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\013 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022\014\n\004e" + + "tag\030\014 \001(\t\022W\n\013annotations\030\r \003(\0132=.google." + + "cloud.gkemulticloud.v1.AzureNodePool.Ann" + + "otationsEntryB\003\340A\001\022R\n\023max_pods_constrain" + + "t\030\025 \001(\01320.google.cloud.gkemulticloud.v1." + + "MaxPodsConstraintB\003\340A\002\022$\n\027azure_availabi" + + "lity_zone\030\027 \001(\tB\003\340A\001\022F\n\006errors\030\035 \003(\01321.g" + + "oogle.cloud.gkemulticloud.v1.AzureNodePo" + + "olErrorB\003\340A\003\0322\n\020AnnotationsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\005State\022\025\n\021STA" + + "TE_UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RU" + + "NNING\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t" + + "\n\005ERROR\020\005\022\014\n\010DEGRADED\020\006:\230\001\352A\224\001\n*gkemulti" + + "cloud.googleapis.com/AzureNodePool\022fproj" + + "ects/{project}/locations/{location}/azur" + + "eClusters/{azure_cluster}/azureNodePools" + + "/{azure_node_pool}\"\257\005\n\017AzureNodeConfig\022\024" + + "\n\007vm_size\030\001 \001(\tB\003\340A\001\022J\n\013root_volume\030\002 \001(" + + "\01320.google.cloud.gkemulticloud.v1.AzureD" + + "iskTemplateB\003\340A\001\022K\n\004tags\030\003 \003(\01328.google." + + "cloud.gkemulticloud.v1.AzureNodeConfig.T" + + "agsEntryB\003\340A\001\022\027\n\nimage_type\030\010 \001(\tB\003\340A\001\022F" + + "\n\nssh_config\030\007 \001(\0132-.google.cloud.gkemul" + + "ticloud.v1.AzureSshConfigB\003\340A\002\022J\n\014proxy_" + + "config\030\t \001(\0132/.google.cloud.gkemulticlou" + + "d.v1.AzureProxyConfigB\003\340A\001\022T\n\021config_enc" + + "ryption\030\014 \001(\01324.google.cloud.gkemulticlo" + + "ud.v1.AzureConfigEncryptionB\003\340A\001\022=\n\006tain" + + "ts\030\n \003(\0132(.google.cloud.gkemulticloud.v1" + + ".NodeTaintB\003\340A\001\022O\n\006labels\030\013 \003(\0132:.google" + + ".cloud.gkemulticloud.v1.AzureNodeConfig." + + "LabelsEntryB\003\340A\001\032+\n\tTagsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\030AzureNod" + + "ePoolAutoscaling\022\033\n\016min_node_count\030\001 \001(\005" + + "B\003\340A\002\022\033\n\016max_node_count\030\002 \001(\005B\003\340A\002\"\376\001\n\021A" + + "zureServerConfig\022\014\n\004name\030\001 \001(\t\022J\n\016valid_" + + "versions\030\002 \003(\01322.google.cloud.gkemulticl" + + "oud.v1.AzureK8sVersionInfo\022\037\n\027supported_" + + "azure_regions\030\003 \003(\t:n\352Ak\n.gkemulticloud." + + "googleapis.com/AzureServerConfig\0229projec" + + "ts/{project}/locations/{location}/azureS" + + "erverConfig\"&\n\023AzureK8sVersionInfo\022\017\n\007ve" + + "rsion\030\001 \001(\t\"-\n\016AzureSshConfig\022\033\n\016authori" + + "zed_key\030\001 \001(\tB\003\340A\002\"y\n\025AzureClusterResour" + + "ces\022&\n\031network_security_group_id\030\001 \001(\tB\003" + + "\340A\003\0228\n+control_plane_application_securit" + + "y_group_id\030\002 \001(\tB\003\340A\003\"$\n\021AzureClusterErr" + + "or\022\017\n\007message\030\001 \001(\t\"%\n\022AzureNodePoolErro" + + "r\022\017\n\007message\030\001 \001(\tB\346\001\n!com.google.cloud." + + "gkemulticloud.v1B\023AzureResourcesProtoP\001Z" + + "Gcloud.google.com/go/gkemulticloud/apiv1" + + "/gkemulticloudpb;gkemulticloudpb\252\002\035Googl" + + "e.Cloud.GkeMultiCloud.V1\312\002\035Google\\Cloud\\" + + "GkeMultiCloud\\V1\352\002 Google::Cloud::GkeMul" + + "tiCloud::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -321,6 +332,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Networking", "ControlPlane", "Authorization", + "AzureServicesAuthentication", "State", "Endpoint", "Uid", @@ -436,10 +448,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "TenantId", "ApplicationId", + "Reconciling", "Annotations", "PemCertificate", "Uid", "CreateTime", + "UpdateTime", }); internal_static_google_cloud_gkemulticloud_v1_AzureClient_AnnotationsEntry_descriptor = internal_static_google_cloud_gkemulticloud_v1_AzureClient_descriptor @@ -459,8 +473,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "AdminUsers", }); - internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor = + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor = getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor, + new java.lang.String[] { + "TenantId", "ApplicationId", + }); + internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor = + getDescriptor().getMessageTypes().get(11); internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureClusterUser_descriptor, @@ -468,7 +490,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Username", }); internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureNodePool_descriptor, @@ -500,7 +522,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureNodeConfig_descriptor, @@ -536,7 +558,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolAutoscaling_descriptor, @@ -544,7 +566,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MinNodeCount", "MaxNodeCount", }); internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureServerConfig_descriptor, @@ -552,7 +574,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "ValidVersions", "SupportedAzureRegions", }); internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureK8sVersionInfo_descriptor, @@ -560,7 +582,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Version", }); internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureSshConfig_descriptor, @@ -568,7 +590,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AuthorizedKey", }); internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureClusterResources_descriptor, @@ -576,7 +598,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkSecurityGroupId", "ControlPlaneApplicationSecurityGroupId", }); internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(19); internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureClusterError_descriptor, @@ -584,7 +606,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Message", }); internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(20); internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_gkemulticloud_v1_AzureNodePoolError_descriptor, diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java index a7c77abef78d..e158f04b6e45 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfig.java @@ -82,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `AzureServerConfig` names are formatted as * `projects/<project-number>/locations/<region>/azureServerConfig`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -109,7 +109,7 @@ public java.lang.String getName() { * `AzureServerConfig` names are formatted as * `projects/<project-number>/locations/<region>/azureServerConfig`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -731,7 +731,7 @@ public Builder mergeFrom( * `AzureServerConfig` names are formatted as * `projects/<project-number>/locations/<region>/azureServerConfig`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -757,7 +757,7 @@ public java.lang.String getName() { * `AzureServerConfig` names are formatted as * `projects/<project-number>/locations/<region>/azureServerConfig`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -783,7 +783,7 @@ public com.google.protobuf.ByteString getNameBytes() { * `AzureServerConfig` names are formatted as * `projects/<project-number>/locations/<region>/azureServerConfig`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -808,7 +808,7 @@ public Builder setName(java.lang.String value) { * `AzureServerConfig` names are formatted as * `projects/<project-number>/locations/<region>/azureServerConfig`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -829,7 +829,7 @@ public Builder clearName() { * `AzureServerConfig` names are formatted as * `projects/<project-number>/locations/<region>/azureServerConfig`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java index 23ee9417aa68..cf054960a149 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServerConfigOrBuilder.java @@ -31,7 +31,7 @@ public interface AzureServerConfigOrBuilder * `AzureServerConfig` names are formatted as * `projects/<project-number>/locations/<region>/azureServerConfig`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; @@ -47,7 +47,7 @@ public interface AzureServerConfigOrBuilder * `AzureServerConfig` names are formatted as * `projects/<project-number>/locations/<region>/azureServerConfig`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * string name = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java index 93b6745e4840..0386b4fda011 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServiceProto.java @@ -291,13 +291,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"B\202\323\344\223\0025\0223/v1/{name=projects/*/locations" + "/*/azureServerConfig}\332A\004name\032P\312A\034gkemult" + "icloud.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\347\001\n!com.g" + + "leapis.com/auth/cloud-platformB\344\001\n!com.g" + "oogle.cloud.gkemulticloud.v1B\021AzureServi" - + "ceProtoP\001ZJgoogle.golang.org/genproto/go" - + "ogleapis/cloud/gkemulticloud/v1;gkemulti" - + "cloud\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035" - + "Google\\Cloud\\GkeMultiCloud\\V1\352\002 Google::" - + "Cloud::GkeMultiCloud::V1b\006proto3" + + "ceProtoP\001ZGcloud.google.com/go/gkemultic" + + "loud/apiv1/gkemulticloudpb;gkemulticloud" + + "pb\252\002\035Google.Cloud.GkeMultiCloud.V1\312\002\035Goo" + + "gle\\Cloud\\GkeMultiCloud\\V1\352\002 Google::Clo" + + "ud::GkeMultiCloud::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java new file mode 100644 index 000000000000..6b832450e657 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthentication.java @@ -0,0 +1,816 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +/** + * + * + *
      + * Authentication configuration for the management of Azure resources.
      + * 
      + * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServicesAuthentication} + */ +public final class AzureServicesAuthentication extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) + AzureServicesAuthenticationOrBuilder { + private static final long serialVersionUID = 0L; + // Use AzureServicesAuthentication.newBuilder() to construct. + private AzureServicesAuthentication(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AzureServicesAuthentication() { + tenantId_ = ""; + applicationId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AzureServicesAuthentication(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); + } + + public static final int TENANT_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object tenantId_ = ""; + /** + * + * + *
      +   * Required. The Azure Active Directory Tenant ID.
      +   * 
      + * + * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tenantId. + */ + @java.lang.Override + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + 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(); + tenantId_ = s; + return s; + } + } + /** + * + * + *
      +   * Required. The Azure Active Directory Tenant ID.
      +   * 
      + * + * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tenantId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int APPLICATION_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object applicationId_ = ""; + /** + * + * + *
      +   * Required. The Azure Active Directory Application ID.
      +   * 
      + * + * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The applicationId. + */ + @java.lang.Override + public java.lang.String getApplicationId() { + java.lang.Object ref = applicationId_; + 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(); + applicationId_ = s; + return s; + } + } + /** + * + * + *
      +   * Required. The Azure Active Directory Application ID.
      +   * 
      + * + * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for applicationId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getApplicationIdBytes() { + java.lang.Object ref = applicationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + applicationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenantId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tenantId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applicationId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, applicationId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenantId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tenantId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(applicationId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, applicationId_); + } + 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.gkemulticloud.v1.AzureServicesAuthentication)) { + return super.equals(obj); + } + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication other = + (com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) obj; + + if (!getTenantId().equals(other.getTenantId())) return false; + if (!getApplicationId().equals(other.getApplicationId())) 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) + TENANT_ID_FIELD_NUMBER; + hash = (53 * hash) + getTenantId().hashCode(); + hash = (37 * hash) + APPLICATION_ID_FIELD_NUMBER; + hash = (53 * hash) + getApplicationId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication 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.gkemulticloud.v1.AzureServicesAuthentication parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication 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.gkemulticloud.v1.AzureServicesAuthentication parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
      +   * Authentication configuration for the management of Azure resources.
      +   * 
      + * + * Protobuf type {@code google.cloud.gkemulticloud.v1.AzureServicesAuthentication} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) + com.google.cloud.gkemulticloud.v1.AzureServicesAuthenticationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.class, + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.Builder.class); + } + + // Construct using com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + tenantId_ = ""; + applicationId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gkemulticloud.v1.AzureResourcesProto + .internal_static_google_cloud_gkemulticloud_v1_AzureServicesAuthentication_descriptor; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + getDefaultInstanceForType() { + return com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication build() { + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication buildPartial() { + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result = + new com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.tenantId_ = tenantId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.applicationId_ = applicationId_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) { + return mergeFrom((com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication other) { + if (other + == com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication.getDefaultInstance()) + return this; + if (!other.getTenantId().isEmpty()) { + tenantId_ = other.tenantId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getApplicationId().isEmpty()) { + applicationId_ = other.applicationId_; + 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: + { + tenantId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + applicationId_ = 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 tenantId_ = ""; + /** + * + * + *
      +     * Required. The Azure Active Directory Tenant ID.
      +     * 
      + * + * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tenantId. + */ + public java.lang.String getTenantId() { + java.lang.Object ref = tenantId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tenantId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
      +     * Required. The Azure Active Directory Tenant ID.
      +     * 
      + * + * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tenantId. + */ + public com.google.protobuf.ByteString getTenantIdBytes() { + java.lang.Object ref = tenantId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + tenantId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
      +     * Required. The Azure Active Directory Tenant ID.
      +     * 
      + * + * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + tenantId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
      +     * Required. The Azure Active Directory Tenant ID.
      +     * 
      + * + * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearTenantId() { + tenantId_ = getDefaultInstance().getTenantId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
      +     * Required. The Azure Active Directory Tenant ID.
      +     * 
      + * + * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for tenantId to set. + * @return This builder for chaining. + */ + public Builder setTenantIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenantId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object applicationId_ = ""; + /** + * + * + *
      +     * Required. The Azure Active Directory Application ID.
      +     * 
      + * + * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The applicationId. + */ + public java.lang.String getApplicationId() { + java.lang.Object ref = applicationId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + applicationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
      +     * Required. The Azure Active Directory Application ID.
      +     * 
      + * + * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for applicationId. + */ + public com.google.protobuf.ByteString getApplicationIdBytes() { + java.lang.Object ref = applicationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + applicationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
      +     * Required. The Azure Active Directory Application ID.
      +     * 
      + * + * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The applicationId to set. + * @return This builder for chaining. + */ + public Builder setApplicationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + applicationId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
      +     * Required. The Azure Active Directory Application ID.
      +     * 
      + * + * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearApplicationId() { + applicationId_ = getDefaultInstance().getApplicationId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
      +     * Required. The Azure Active Directory Application ID.
      +     * 
      + * + * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for applicationId to set. + * @return This builder for chaining. + */ + public Builder setApplicationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + applicationId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) + } + + // @@protoc_insertion_point(class_scope:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) + private static final com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication(); + } + + public static com.google.cloud.gkemulticloud.v1.AzureServicesAuthentication getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AzureServicesAuthentication 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.gkemulticloud.v1.AzureServicesAuthentication getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java new file mode 100644 index 000000000000..33da7245e2d3 --- /dev/null +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/AzureServicesAuthenticationOrBuilder.java @@ -0,0 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gkemulticloud/v1/azure_resources.proto + +package com.google.cloud.gkemulticloud.v1; + +public interface AzureServicesAuthenticationOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gkemulticloud.v1.AzureServicesAuthentication) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
      +   * Required. The Azure Active Directory Tenant ID.
      +   * 
      + * + * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The tenantId. + */ + java.lang.String getTenantId(); + /** + * + * + *
      +   * Required. The Azure Active Directory Tenant ID.
      +   * 
      + * + * string tenant_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for tenantId. + */ + com.google.protobuf.ByteString getTenantIdBytes(); + + /** + * + * + *
      +   * Required. The Azure Active Directory Application ID.
      +   * 
      + * + * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The applicationId. + */ + java.lang.String getApplicationId(); + /** + * + * + *
      +   * Required. The Azure Active Directory Application ID.
      +   * 
      + * + * string application_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for applicationId. + */ + com.google.protobuf.ByteString getApplicationIdBytes(); +} diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java index 85585c3ff3ee..665a79772e5f 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/CommonResourcesProto.java @@ -103,14 +103,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "S\020\002\"m\n\020MonitoringConfig\022Y\n\031managed_prome" + "theus_config\030\002 \001(\01326.google.cloud.gkemul" + "ticloud.v1.ManagedPrometheusConfig\"*\n\027Ma" - + "nagedPrometheusConfig\022\017\n\007enabled\030\001 \001(\010B\352" + + "nagedPrometheusConfig\022\017\n\007enabled\030\001 \001(\010B\347" + "\001\n!com.google.cloud.gkemulticloud.v1B\024Co" - + "mmonResourcesProtoP\001ZJgoogle.golang.org/" - + "genproto/googleapis/cloud/gkemulticloud/" - + "v1;gkemulticloud\252\002\035Google.Cloud.GkeMulti" - + "Cloud.V1\312\002\035Google\\Cloud\\GkeMultiCloud\\V1" - + "\352\002 Google::Cloud::GkeMultiCloud::V1b\006pro" - + "to3" + + "mmonResourcesProtoP\001ZGcloud.google.com/g" + + "o/gkemulticloud/apiv1/gkemulticloudpb;gk" + + "emulticloudpb\252\002\035Google.Cloud.GkeMultiClo" + + "ud.V1\312\002\035Google\\Cloud\\GkeMultiCloud\\V1\352\002 " + + "Google::Cloud::GkeMultiCloud::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java index c7a4722fa08c..4216759347ac 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequest.java @@ -81,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * @@ -111,7 +111,7 @@ public java.lang.String getName() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * @@ -700,7 +700,7 @@ public Builder mergeFrom( * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * @@ -729,7 +729,7 @@ public java.lang.String getName() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * @@ -758,7 +758,7 @@ public com.google.protobuf.ByteString getNameBytes() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * @@ -786,7 +786,7 @@ public Builder setName(java.lang.String value) { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * @@ -810,7 +810,7 @@ public Builder clearName() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java index c11c8a507002..6da72373e571 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAttachedClusterRequestOrBuilder.java @@ -32,7 +32,7 @@ public interface DeleteAttachedClusterRequestOrBuilder * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. *
      * * @@ -51,7 +51,7 @@ public interface DeleteAttachedClusterRequestOrBuilder * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java index 81544dc78c45..e0d969b3f1b5 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequest.java @@ -81,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -111,7 +111,7 @@ public java.lang.String getName() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -653,7 +653,7 @@ public Builder mergeFrom( * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -682,7 +682,7 @@ public java.lang.String getName() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -711,7 +711,7 @@ public com.google.protobuf.ByteString getNameBytes() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -739,7 +739,7 @@ public Builder setName(java.lang.String value) { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -763,7 +763,7 @@ public Builder clearName() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java index b00c7382acee..c02b48d39572 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAwsClusterRequestOrBuilder.java @@ -32,7 +32,7 @@ public interface DeleteAwsClusterRequestOrBuilder * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -51,7 +51,7 @@ public interface DeleteAwsClusterRequestOrBuilder * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java index da3bbe4ebd6a..705e8d5a78a9 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequest.java @@ -81,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -111,7 +111,7 @@ public java.lang.String getName() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -653,7 +653,7 @@ public Builder mergeFrom( * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -682,7 +682,7 @@ public java.lang.String getName() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -711,7 +711,7 @@ public com.google.protobuf.ByteString getNameBytes() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -739,7 +739,7 @@ public Builder setName(java.lang.String value) { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -763,7 +763,7 @@ public Builder clearName() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java index d18972df20c1..d214ad03b1c3 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/DeleteAzureClusterRequestOrBuilder.java @@ -32,7 +32,7 @@ public interface DeleteAzureClusterRequestOrBuilder * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -51,7 +51,7 @@ public interface DeleteAzureClusterRequestOrBuilder * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java index a82bf7600b4f..45e53a97d1bc 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequest.java @@ -146,7 +146,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
      -   * Required. A client provided ID the resource. Must be unique within the
      +   * Required. A client provided ID of the resource. Must be unique within the
          * parent resource.
          * The provided ID will be part of the
          * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      @@ -155,7 +155,7 @@ public com.google.protobuf.ByteString getParentBytes() {
          * Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
          * When generating an install manifest for importing an existing Membership
          * resource, the attached_cluster_id field must be the Membership id.
      -   * Membership names are formatted as `resource name formatted as
      +   * Membership names are formatted as
          * `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
          * 
      * @@ -179,7 +179,7 @@ public java.lang.String getAttachedClusterId() { * * *
      -   * Required. A client provided ID the resource. Must be unique within the
      +   * Required. A client provided ID of the resource. Must be unique within the
          * parent resource.
          * The provided ID will be part of the
          * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      @@ -188,7 +188,7 @@ public java.lang.String getAttachedClusterId() {
          * Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
          * When generating an install manifest for importing an existing Membership
          * resource, the attached_cluster_id field must be the Membership id.
      -   * Membership names are formatted as `resource name formatted as
      +   * Membership names are formatted as
          * `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
          * 
      * @@ -826,7 +826,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
      -     * Required. A client provided ID the resource. Must be unique within the
      +     * Required. A client provided ID of the resource. Must be unique within the
            * parent resource.
            * The provided ID will be part of the
            * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      @@ -835,7 +835,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
            * Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
            * When generating an install manifest for importing an existing Membership
            * resource, the attached_cluster_id field must be the Membership id.
      -     * Membership names are formatted as `resource name formatted as
      +     * Membership names are formatted as
            * `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
            * 
      * @@ -858,7 +858,7 @@ public java.lang.String getAttachedClusterId() { * * *
      -     * Required. A client provided ID the resource. Must be unique within the
      +     * Required. A client provided ID of the resource. Must be unique within the
            * parent resource.
            * The provided ID will be part of the
            * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      @@ -867,7 +867,7 @@ public java.lang.String getAttachedClusterId() {
            * Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
            * When generating an install manifest for importing an existing Membership
            * resource, the attached_cluster_id field must be the Membership id.
      -     * Membership names are formatted as `resource name formatted as
      +     * Membership names are formatted as
            * `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
            * 
      * @@ -890,7 +890,7 @@ public com.google.protobuf.ByteString getAttachedClusterIdBytes() { * * *
      -     * Required. A client provided ID the resource. Must be unique within the
      +     * Required. A client provided ID of the resource. Must be unique within the
            * parent resource.
            * The provided ID will be part of the
            * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      @@ -899,7 +899,7 @@ public com.google.protobuf.ByteString getAttachedClusterIdBytes() {
            * Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
            * When generating an install manifest for importing an existing Membership
            * resource, the attached_cluster_id field must be the Membership id.
      -     * Membership names are formatted as `resource name formatted as
      +     * Membership names are formatted as
            * `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
            * 
      * @@ -921,7 +921,7 @@ public Builder setAttachedClusterId(java.lang.String value) { * * *
      -     * Required. A client provided ID the resource. Must be unique within the
      +     * Required. A client provided ID of the resource. Must be unique within the
            * parent resource.
            * The provided ID will be part of the
            * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      @@ -930,7 +930,7 @@ public Builder setAttachedClusterId(java.lang.String value) {
            * Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
            * When generating an install manifest for importing an existing Membership
            * resource, the attached_cluster_id field must be the Membership id.
      -     * Membership names are formatted as `resource name formatted as
      +     * Membership names are formatted as
            * `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
            * 
      * @@ -948,7 +948,7 @@ public Builder clearAttachedClusterId() { * * *
      -     * Required. A client provided ID the resource. Must be unique within the
      +     * Required. A client provided ID of the resource. Must be unique within the
            * parent resource.
            * The provided ID will be part of the
            * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      @@ -957,7 +957,7 @@ public Builder clearAttachedClusterId() {
            * Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
            * When generating an install manifest for importing an existing Membership
            * resource, the attached_cluster_id field must be the Membership id.
      -     * Membership names are formatted as `resource name formatted as
      +     * Membership names are formatted as
            * `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
            * 
      * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java index f922e90cb125..fbaa224cba00 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GenerateAttachedClusterInstallManifestRequestOrBuilder.java @@ -66,7 +66,7 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder * * *
      -   * Required. A client provided ID the resource. Must be unique within the
      +   * Required. A client provided ID of the resource. Must be unique within the
          * parent resource.
          * The provided ID will be part of the
          * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      @@ -75,7 +75,7 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder
          * Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
          * When generating an install manifest for importing an existing Membership
          * resource, the attached_cluster_id field must be the Membership id.
      -   * Membership names are formatted as `resource name formatted as
      +   * Membership names are formatted as
          * `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
          * 
      * @@ -88,7 +88,7 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder * * *
      -   * Required. A client provided ID the resource. Must be unique within the
      +   * Required. A client provided ID of the resource. Must be unique within the
          * parent resource.
          * The provided ID will be part of the
          * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
      @@ -97,7 +97,7 @@ public interface GenerateAttachedClusterInstallManifestRequestOrBuilder
          * Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
          * When generating an install manifest for importing an existing Membership
          * resource, the attached_cluster_id field must be the Membership id.
      -   * Membership names are formatted as `resource name formatted as
      +   * Membership names are formatted as
          * `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
          * 
      * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java index 443fed8d56cf..f73b6b9ae614 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequest.java @@ -81,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -112,7 +112,7 @@ public java.lang.String getName() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -488,7 +488,7 @@ public Builder mergeFrom( * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -518,7 +518,7 @@ public java.lang.String getName() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -548,7 +548,7 @@ public com.google.protobuf.ByteString getNameBytes() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -577,7 +577,7 @@ public Builder setName(java.lang.String value) { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -602,7 +602,7 @@ public Builder clearName() { * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java index d4d4a35b6b19..3e201491d918 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAttachedClusterRequestOrBuilder.java @@ -33,7 +33,7 @@ public interface GetAttachedClusterRequestOrBuilder * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -53,7 +53,7 @@ public interface GetAttachedClusterRequestOrBuilder * `AttachedCluster` names are formatted as * `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java index 9e6083185961..711a20e09677 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequest.java @@ -81,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -112,7 +112,7 @@ public java.lang.String getName() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -488,7 +488,7 @@ public Builder mergeFrom( * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -518,7 +518,7 @@ public java.lang.String getName() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -548,7 +548,7 @@ public com.google.protobuf.ByteString getNameBytes() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -577,7 +577,7 @@ public Builder setName(java.lang.String value) { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -602,7 +602,7 @@ public Builder clearName() { * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java index c6bc4604e14e..a971a98210eb 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAwsClusterRequestOrBuilder.java @@ -33,7 +33,7 @@ public interface GetAwsClusterRequestOrBuilder * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -53,7 +53,7 @@ public interface GetAwsClusterRequestOrBuilder * `AwsCluster` names are formatted as * `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java index a19512d339d4..66cff8abac11 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequest.java @@ -81,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -112,7 +112,7 @@ public java.lang.String getName() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -488,7 +488,7 @@ public Builder mergeFrom( * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -518,7 +518,7 @@ public java.lang.String getName() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -548,7 +548,7 @@ public com.google.protobuf.ByteString getNameBytes() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -577,7 +577,7 @@ public Builder setName(java.lang.String value) { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -602,7 +602,7 @@ public Builder clearName() { * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java index 83720e4bbb12..53f644c1b7f4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/GetAzureClusterRequestOrBuilder.java @@ -33,7 +33,7 @@ public interface GetAzureClusterRequestOrBuilder * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -53,7 +53,7 @@ public interface GetAzureClusterRequestOrBuilder * `AzureCluster` names are formatted as * `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java index 0902b2779225..638a9e93ca35 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequest.java @@ -80,7 +80,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -109,7 +109,7 @@ public java.lang.String getParent() { * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -610,7 +610,7 @@ public Builder mergeFrom( * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -638,7 +638,7 @@ public java.lang.String getParent() { * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -666,7 +666,7 @@ public com.google.protobuf.ByteString getParentBytes() { * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -693,7 +693,7 @@ public Builder setParent(java.lang.String value) { * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -716,7 +716,7 @@ public Builder clearParent() { * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java index d5f3c614f08a..dc4871d191c4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersRequestOrBuilder.java @@ -31,7 +31,7 @@ public interface ListAttachedClustersRequestOrBuilder * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -49,7 +49,7 @@ public interface ListAttachedClustersRequestOrBuilder * [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java index f4816051f336..a9932942deb1 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponse.java @@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -92,7 +92,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -107,7 +107,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -121,7 +121,7 @@ public int getAttachedClustersCount() { * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -135,7 +135,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedClusters(int * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -641,7 +641,7 @@ private void ensureAttachedClustersIsMutable() { * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -659,7 +659,7 @@ private void ensureAttachedClustersIsMutable() { * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -676,7 +676,7 @@ public int getAttachedClustersCount() { * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -693,7 +693,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster getAttachedClusters(int * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -717,7 +717,7 @@ public Builder setAttachedClusters( * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -738,7 +738,7 @@ public Builder setAttachedClusters( * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -761,7 +761,7 @@ public Builder addAttachedClusters(com.google.cloud.gkemulticloud.v1.AttachedClu * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -785,7 +785,7 @@ public Builder addAttachedClusters( * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -806,7 +806,7 @@ public Builder addAttachedClusters( * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -827,7 +827,7 @@ public Builder addAttachedClusters( * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -848,7 +848,7 @@ public Builder addAllAttachedClusters( * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -868,7 +868,7 @@ public Builder clearAttachedClusters() { * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -888,7 +888,7 @@ public Builder removeAttachedClusters(int index) { * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -902,7 +902,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder getAttachedClus * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -920,7 +920,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -938,7 +938,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedClusterOrBuilder getAttachedClu * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -952,7 +952,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClus * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -968,7 +968,7 @@ public com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder addAttachedClus * *
            * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java index 4c306cdf484b..7a8275811a58 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAttachedClustersResponseOrBuilder.java @@ -28,7 +28,7 @@ public interface ListAttachedClustersResponseOrBuilder * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -39,7 +39,7 @@ public interface ListAttachedClustersResponseOrBuilder * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -50,7 +50,7 @@ public interface ListAttachedClustersResponseOrBuilder * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -61,7 +61,7 @@ public interface ListAttachedClustersResponseOrBuilder * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; @@ -73,7 +73,7 @@ public interface ListAttachedClustersResponseOrBuilder * *
          * A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AttachedCluster attached_clusters = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java index ec062c8318f6..e0ef318ef879 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequest.java @@ -80,7 +80,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -109,7 +109,7 @@ public java.lang.String getParent() { * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -607,7 +607,7 @@ public Builder mergeFrom( * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -635,7 +635,7 @@ public java.lang.String getParent() { * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -663,7 +663,7 @@ public com.google.protobuf.ByteString getParentBytes() { * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -690,7 +690,7 @@ public Builder setParent(java.lang.String value) { * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -713,7 +713,7 @@ public Builder clearParent() { * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java index 8ca5e0f347f5..a310adfdd274 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersRequestOrBuilder.java @@ -31,7 +31,7 @@ public interface ListAwsClustersRequestOrBuilder * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -49,7 +49,7 @@ public interface ListAwsClustersRequestOrBuilder * [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java index 59467baa18df..4f34522059b7 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponse.java @@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -91,7 +91,7 @@ public java.util.List getAwsCluste * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -106,7 +106,7 @@ public java.util.List getAwsCluste * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -120,7 +120,7 @@ public int getAwsClustersCount() { * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -134,7 +134,7 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) { * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -634,7 +634,7 @@ private void ensureAwsClustersIsMutable() { * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -651,7 +651,7 @@ public java.util.List getAwsCluste * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -668,7 +668,7 @@ public int getAwsClustersCount() { * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -685,7 +685,7 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster getAwsClusters(int index) { * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -708,7 +708,7 @@ public Builder setAwsClusters(int index, com.google.cloud.gkemulticloud.v1.AwsCl * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -729,7 +729,7 @@ public Builder setAwsClusters( * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -752,7 +752,7 @@ public Builder addAwsClusters(com.google.cloud.gkemulticloud.v1.AwsCluster value * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -775,7 +775,7 @@ public Builder addAwsClusters(int index, com.google.cloud.gkemulticloud.v1.AwsCl * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -796,7 +796,7 @@ public Builder addAwsClusters( * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -817,7 +817,7 @@ public Builder addAwsClusters( * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -838,7 +838,7 @@ public Builder addAllAwsClusters( * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -858,7 +858,7 @@ public Builder clearAwsClusters() { * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -878,7 +878,7 @@ public Builder removeAwsClusters(int index) { * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -891,7 +891,7 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder getAwsClustersBuilde * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -909,7 +909,7 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -927,7 +927,7 @@ public com.google.cloud.gkemulticloud.v1.AwsClusterOrBuilder getAwsClustersOrBui * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -941,7 +941,7 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilde * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -955,7 +955,7 @@ public com.google.cloud.gkemulticloud.v1.AwsCluster.Builder addAwsClustersBuilde * *
            * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -     * in the specified GCP project and region region.
      +     * in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java index 1554083a278e..e83bdca75676 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAwsClustersResponseOrBuilder.java @@ -28,7 +28,7 @@ public interface ListAwsClustersResponseOrBuilder * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -39,7 +39,7 @@ public interface ListAwsClustersResponseOrBuilder * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -50,7 +50,7 @@ public interface ListAwsClustersResponseOrBuilder * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -61,7 +61,7 @@ public interface ListAwsClustersResponseOrBuilder * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; @@ -73,7 +73,7 @@ public interface ListAwsClustersResponseOrBuilder * *
          * A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources
      -   * in the specified GCP project and region region.
      +   * in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AwsCluster aws_clusters = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java index 9c39f849cb0e..2e45d6610db1 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequest.java @@ -80,7 +80,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -109,7 +109,7 @@ public java.lang.String getParent() { * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -607,7 +607,7 @@ public Builder mergeFrom( * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -635,7 +635,7 @@ public java.lang.String getParent() { * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -663,7 +663,7 @@ public com.google.protobuf.ByteString getParentBytes() { * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -690,7 +690,7 @@ public Builder setParent(java.lang.String value) { * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -713,7 +713,7 @@ public Builder clearParent() { * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java index 21a491a27410..c7d5a2f203ba 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClientsRequestOrBuilder.java @@ -31,7 +31,7 @@ public interface ListAzureClientsRequestOrBuilder * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -49,7 +49,7 @@ public interface ListAzureClientsRequestOrBuilder * [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java index 643ab320e623..38ed263948dd 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequest.java @@ -80,7 +80,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -109,7 +109,7 @@ public java.lang.String getParent() { * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -607,7 +607,7 @@ public Builder mergeFrom( * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -635,7 +635,7 @@ public java.lang.String getParent() { * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -663,7 +663,7 @@ public com.google.protobuf.ByteString getParentBytes() { * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -690,7 +690,7 @@ public Builder setParent(java.lang.String value) { * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -713,7 +713,7 @@ public Builder clearParent() { * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java index 4d5cb6a6161d..e29bb5a42d93 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersRequestOrBuilder.java @@ -31,7 +31,7 @@ public interface ListAzureClustersRequestOrBuilder * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * @@ -49,7 +49,7 @@ public interface ListAzureClustersRequestOrBuilder * [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. * Location names are formatted as `projects/<project-id>/locations/<region>`. * See [Resource Names](https://cloud.google.com/apis/design/resource_names) - * for more details on GCP resource names. + * for more details on Google Cloud Platform resource names. * * * diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java index 75d272fae9a0..b68bfdb07608 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponse.java @@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -91,7 +91,7 @@ public java.util.List getAzureCl * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -106,7 +106,7 @@ public java.util.List getAzureCl * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -120,7 +120,7 @@ public int getAzureClustersCount() { * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -134,7 +134,7 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -635,7 +635,7 @@ private void ensureAzureClustersIsMutable() { * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -652,7 +652,7 @@ public java.util.List getAzureCl * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -669,7 +669,7 @@ public int getAzureClustersCount() { * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -686,7 +686,7 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster getAzureClusters(int index * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -710,7 +710,7 @@ public Builder setAzureClusters( * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -731,7 +731,7 @@ public Builder setAzureClusters( * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -754,7 +754,7 @@ public Builder addAzureClusters(com.google.cloud.gkemulticloud.v1.AzureCluster v * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -778,7 +778,7 @@ public Builder addAzureClusters( * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -799,7 +799,7 @@ public Builder addAzureClusters( * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -820,7 +820,7 @@ public Builder addAzureClusters( * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -841,7 +841,7 @@ public Builder addAllAzureClusters( * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -861,7 +861,7 @@ public Builder clearAzureClusters() { * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -881,7 +881,7 @@ public Builder removeAzureClusters(int index) { * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -895,7 +895,7 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder getAzureClustersBu * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -913,7 +913,7 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -931,7 +931,7 @@ public com.google.cloud.gkemulticloud.v1.AzureClusterOrBuilder getAzureClustersO * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -945,7 +945,7 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBu * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -960,7 +960,7 @@ public com.google.cloud.gkemulticloud.v1.AzureCluster.Builder addAzureClustersBu * *
            * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -     * resources in the specified GCP project and region region.
      +     * resources in the specified Google Cloud Platform project and region region.
            * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java index dc08f9b5b11a..2f77af3dff0e 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/ListAzureClustersResponseOrBuilder.java @@ -28,7 +28,7 @@ public interface ListAzureClustersResponseOrBuilder * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -39,7 +39,7 @@ public interface ListAzureClustersResponseOrBuilder * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -50,7 +50,7 @@ public interface ListAzureClustersResponseOrBuilder * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -61,7 +61,7 @@ public interface ListAzureClustersResponseOrBuilder * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; @@ -73,7 +73,7 @@ public interface ListAzureClustersResponseOrBuilder * *
          * A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
      -   * resources in the specified GCP project and region region.
      +   * resources in the specified Google Cloud Platform project and region region.
          * 
      * * repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1; diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java index 9e7164a1633a..1e84db635666 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequest.java @@ -158,6 +158,9 @@ public boolean getValidateOnly() { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -189,6 +192,9 @@ public boolean hasUpdateMask() { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -220,6 +226,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -925,6 +934,9 @@ public Builder clearValidateOnly() { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -955,6 +967,9 @@ public boolean hasUpdateMask() { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -991,6 +1006,9 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -1029,6 +1047,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -1064,6 +1085,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -1105,6 +1129,9 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -1140,6 +1167,9 @@ public Builder clearUpdateMask() { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -1170,6 +1200,9 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -1204,6 +1237,9 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java index d1c6e94c5446..9c7966bbbce4 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/java/com/google/cloud/gkemulticloud/v1/UpdateAzureClusterRequestOrBuilder.java @@ -94,6 +94,9 @@ public interface UpdateAzureClusterRequestOrBuilder * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -122,6 +125,9 @@ public interface UpdateAzureClusterRequestOrBuilder * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. @@ -150,6 +156,9 @@ public interface UpdateAzureClusterRequestOrBuilder * * `annotations`. * * `authorization.admin_users`. * * `control_plane.root_volume.size_gib`. + * * `azure_services_authentication`. + * * `azure_services_authentication.tenant_id`. + * * `azure_services_authentication.application_id`. * * `control_plane.proxy_config`. * * `control_plane.proxy_config.resource_group_id`. * * `control_plane.proxy_config.secret_id`. diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto index 4c8f6ab475e7..adca2ee90273 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_resources.proto @@ -22,7 +22,7 @@ import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkemulticloud/v1;gkemulticloud"; +option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; option java_multiple_files = true; option java_outer_classname = "AttachedResourcesProto"; option java_package = "com.google.cloud.gkemulticloud.v1"; @@ -70,7 +70,7 @@ message AttachedCluster { // `projects//locations//attachedClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1; // Optional. A human readable description of this cluster. @@ -180,9 +180,9 @@ message AttachedClusterUser { // OIDC discovery information of the target cluster. // // Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster -// API server. This fields indicates how GCP services +// API server. This fields indicates how Google Cloud Platform services // validate KSA tokens in order to allow system workloads (such as GKE Connect -// and telemetry agents) to authenticate back to GCP. +// and telemetry agents) to authenticate back to Google Cloud Platform. // // Both clusters with public and private issuer URLs are supported. // Clusters with public issuers only need to specify the `issuer_url` field diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto index e72d3f1ab29f..175be6d4e441 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/attached_service.proto @@ -25,7 +25,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkemulticloud/v1;gkemulticloud"; +option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; option java_multiple_files = true; option java_outer_classname = "AttachedServiceProto"; option java_package = "com.google.cloud.gkemulticloud.v1"; @@ -42,7 +42,7 @@ service AttachedClusters { // Creates a new // [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource - // on a given GCP project and region. + // on a given Google Cloud Platform project and region. // // If successful, the response contains a newly created // [Operation][google.longrunning.Operation] resource that can be @@ -175,7 +175,7 @@ message GenerateAttachedClusterInstallManifestRequest { } ]; - // Required. A client provided ID the resource. Must be unique within the + // Required. A client provided ID of the resource. Must be unique within the // parent resource. // // The provided ID will be part of the @@ -188,7 +188,7 @@ message GenerateAttachedClusterInstallManifestRequest { // When generating an install manifest for importing an existing Membership // resource, the attached_cluster_id field must be the Membership id. // - // Membership names are formatted as `resource name formatted as + // Membership names are formatted as // `projects//locations//memberships/`. string attached_cluster_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -315,7 +315,7 @@ message GetAttachedClusterRequest { // `projects//locations//attachedClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -332,7 +332,7 @@ message ListAttachedClustersRequest { // Location names are formatted as `projects//locations/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -358,7 +358,7 @@ message ListAttachedClustersRequest { // Response message for `AttachedClusters.ListAttachedClusters` method. message ListAttachedClustersResponse { // A list of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] - // resources in the specified GCP project and region region. + // resources in the specified Google Cloud Platform project and region region. repeated AttachedCluster attached_clusters = 1; // Token to retrieve the next page of results, or empty if there are no more @@ -375,7 +375,7 @@ message DeleteAttachedClusterRequest { // `projects//locations//attachedClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto index dc7e918209e2..8989cd8643df 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_resources.proto @@ -22,7 +22,7 @@ import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkemulticloud/v1;gkemulticloud"; +option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; option java_multiple_files = true; option java_outer_classname = "AwsResourcesProto"; option java_package = "com.google.cloud.gkemulticloud.v1"; @@ -70,7 +70,7 @@ message AwsCluster { // `projects//locations//awsClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1; // Optional. A human readable description of this cluster. diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto index cb1f3a41db30..874f4df58e15 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/aws_service.proto @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkemulticloud/v1;gkemulticloud"; +option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; option java_multiple_files = true; option java_outer_classname = "AwsServiceProto"; option java_package = "com.google.cloud.gkemulticloud.v1"; @@ -41,7 +41,7 @@ service AwsClusters { "https://www.googleapis.com/auth/cloud-platform"; // Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] - // resource on a given GCP project and region. + // resource on a given Google Cloud Platform project and region. // // If successful, the response contains a newly created // [Operation][google.longrunning.Operation] resource that can be @@ -290,7 +290,7 @@ message GetAwsClusterRequest { // `projects//locations//awsClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -307,7 +307,7 @@ message ListAwsClustersRequest { // Location names are formatted as `projects//locations/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -333,7 +333,7 @@ message ListAwsClustersRequest { // Response message for `AwsClusters.ListAwsClusters` method. message ListAwsClustersResponse { // A list of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources - // in the specified GCP project and region region. + // in the specified Google Cloud Platform project and region region. repeated AwsCluster aws_clusters = 1; // Token to retrieve the next page of results, or empty if there are no more @@ -350,7 +350,7 @@ message DeleteAwsClusterRequest { // `projects//locations//awsClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto index b6750d764235..d7b6fc19e2d6 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_resources.proto @@ -22,7 +22,7 @@ import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkemulticloud/v1;gkemulticloud"; +option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; option java_multiple_files = true; option java_outer_classname = "AzureResourcesProto"; option java_package = "com.google.cloud.gkemulticloud.v1"; @@ -70,7 +70,7 @@ message AzureCluster { // `projects//locations//azureClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1; // Optional. A human readable description of this cluster. @@ -90,20 +90,20 @@ message AzureCluster { // `/subscriptions//resourceGroups/` string resource_group_id = 17 [(google.api.field_behavior) = REQUIRED]; - // Required. Name of the + // Optional. Name of the // [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains // authentication configuration for how the Anthos Multi-Cloud API connects to // Azure APIs. // - // The `AzureClient` resource must reside on the same GCP project and region - // as the `AzureCluster`. + // The `AzureClient` resource must reside on the same Google Cloud Platform + // project and region as the `AzureCluster`. // // `AzureClient` names are formatted as // `projects//locations//azureClients/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) // for more details on Google Cloud resource names. - string azure_client = 16 [(google.api.field_behavior) = REQUIRED]; + string azure_client = 16 [(google.api.field_behavior) = OPTIONAL]; // Required. Cluster-wide networking configuration. AzureClusterNetworking networking = 4 @@ -115,6 +115,10 @@ message AzureCluster { // Required. Configuration related to the cluster RBAC settings. AzureAuthorization authorization = 6 [(google.api.field_behavior) = REQUIRED]; + // Optional. Authentication configuration for management of Azure resources. + AzureServicesAuthentication azure_services_authentication = 22 + [(google.api.field_behavior) = OPTIONAL]; + // Output only. The current state of the cluster. State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -410,6 +414,9 @@ message AzureClient { // Required. The Azure Active Directory Application ID. string application_id = 3 [(google.api.field_behavior) = REQUIRED]; + // Output only. If set, there are currently pending changes to the client. + bool reconciling = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. Annotations on the resource. // // This field has the same restrictions as Kubernetes annotations. @@ -430,6 +437,10 @@ message AzureClient { // Output only. The time at which this resource was created. google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time at which this client was last updated. + google.protobuf.Timestamp update_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Configuration related to the cluster RBAC settings. @@ -444,6 +455,15 @@ message AzureAuthorization { [(google.api.field_behavior) = REQUIRED]; } +// Authentication configuration for the management of Azure resources. +message AzureServicesAuthentication { + // Required. The Azure Active Directory Tenant ID. + string tenant_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The Azure Active Directory Application ID. + string application_id = 2 [(google.api.field_behavior) = REQUIRED]; +} + // Identities of a user-type subject for Azure clusters. message AzureClusterUser { // Required. The name of the user, e.g. `my-gcp-id@gmail.com`. @@ -638,7 +658,7 @@ message AzureServerConfig { // `projects//locations//azureServerConfig`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1; // List of valid Kubernetes versions. diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto index 2593468ad42e..d39e9dd63b55 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/azure_service.proto @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkemulticloud/v1;gkemulticloud"; +option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; option java_multiple_files = true; option java_outer_classname = "AzureServiceProto"; option java_package = "com.google.cloud.gkemulticloud.v1"; @@ -105,7 +105,7 @@ service AzureClusters { } // Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] - // resource on a given GCP project and region. + // resource on a given Google Cloud Platform project and region. // // If successful, the response contains a newly created // [Operation][google.longrunning.Operation] resource that can be @@ -327,6 +327,9 @@ message UpdateAzureClusterRequest { // * `annotations`. // * `authorization.admin_users`. // * `control_plane.root_volume.size_gib`. + // * `azure_services_authentication`. + // * `azure_services_authentication.tenant_id`. + // * `azure_services_authentication.application_id`. // * `control_plane.proxy_config`. // * `control_plane.proxy_config.resource_group_id`. // * `control_plane.proxy_config.secret_id`. @@ -347,7 +350,7 @@ message GetAzureClusterRequest { // `projects//locations//azureClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -364,7 +367,7 @@ message ListAzureClustersRequest { // Location names are formatted as `projects//locations/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -390,7 +393,7 @@ message ListAzureClustersRequest { // Response message for `AzureClusters.ListAzureClusters` method. message ListAzureClustersResponse { // A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] - // resources in the specified GCP project and region region. + // resources in the specified Google Cloud Platform project and region region. repeated AzureCluster azure_clusters = 1; // Token to retrieve the next page of results, or empty if there are no more @@ -407,7 +410,7 @@ message DeleteAzureClusterRequest { // `projects//locations//azureClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -679,7 +682,7 @@ message ListAzureClientsRequest { // Location names are formatted as `projects//locations/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) - // for more details on GCP resource names. + // for more details on Google Cloud Platform resource names. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto index ba34f50b4c5b..a39cb813e21a 100644 --- a/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto +++ b/java-gke-multi-cloud/proto-google-cloud-gke-multi-cloud-v1/src/main/proto/google/cloud/gkemulticloud/v1/common_resources.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkemulticloud/v1;gkemulticloud"; +option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; option java_multiple_files = true; option java_outer_classname = "CommonResourcesProto"; option java_package = "com.google.cloud.gkemulticloud.v1"; diff --git a/java-gkehub/README.md b/java-gkehub/README.md index ca005d82e7bd..61aefb4fc7c5 100644 --- a/java-gkehub/README.md +++ b/java-gkehub/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-gkehub - 1.8.0 + 1.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gkehub:1.8.0' +implementation 'com.google.cloud:google-cloud-gkehub:1.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "1.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "1.9.0" ``` ## Authentication diff --git a/java-gkehub/google-cloud-gkehub-bom/pom.xml b/java-gkehub/google-cloud-gkehub-bom/pom.xml index 0aa1f2dc9177..b9520711fee0 100644 --- a/java-gkehub/google-cloud-gkehub-bom/pom.xml +++ b/java-gkehub/google-cloud-gkehub-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-gkehub-bom - 1.9.0 + 1.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,57 +27,57 @@ com.google.cloud google-cloud-gkehub - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-gkehub-v1beta1 - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-gkehub-v1 - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-gkehub-v1alpha - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-gkehub-v1beta - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-gkehub-v1alpha2 - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-gkehub-v1beta1 - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-gkehub-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-gkehub-v1alpha - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-gkehub-v1alpha2 - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-gkehub-v1beta - 0.15.0 + 0.16.0 diff --git a/java-gkehub/google-cloud-gkehub/pom.xml b/java-gkehub/google-cloud-gkehub/pom.xml index 0fc5ac34e118..2fb0b0c44595 100644 --- a/java-gkehub/google-cloud-gkehub/pom.xml +++ b/java-gkehub/google-cloud-gkehub/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-gkehub - 1.9.0 + 1.10.0 jar Google GKE Hub API provides a unified way to work with Kubernetes clusters as part of Anthos, extending GKE to work in multiple environments. You have consistent, unified, and secure infrastructure, cluster, and container management, whether you're using Anthos on Google Cloud (with traditional GKE), hybrid cloud, or multiple public clouds. com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 google-cloud-gkehub diff --git a/java-gkehub/grpc-google-cloud-gkehub-v1/pom.xml b/java-gkehub/grpc-google-cloud-gkehub-v1/pom.xml index f1b13a3dae05..a36387223652 100644 --- a/java-gkehub/grpc-google-cloud-gkehub-v1/pom.xml +++ b/java-gkehub/grpc-google-cloud-gkehub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-gkehub-v1 - 1.9.0 + 1.10.0 grpc-google-cloud-gkehub-v1 GRPC library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/grpc-google-cloud-gkehub-v1alpha/pom.xml b/java-gkehub/grpc-google-cloud-gkehub-v1alpha/pom.xml index 027b8e79768f..8cf8343e4ec5 100644 --- a/java-gkehub/grpc-google-cloud-gkehub-v1alpha/pom.xml +++ b/java-gkehub/grpc-google-cloud-gkehub-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-gkehub-v1alpha - 0.15.0 + 0.16.0 grpc-google-cloud-gkehub-v1alpha GRPC library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/grpc-google-cloud-gkehub-v1alpha2/pom.xml b/java-gkehub/grpc-google-cloud-gkehub-v1alpha2/pom.xml index 52e3febcc64f..8da9f996f80e 100644 --- a/java-gkehub/grpc-google-cloud-gkehub-v1alpha2/pom.xml +++ b/java-gkehub/grpc-google-cloud-gkehub-v1alpha2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-gkehub-v1alpha2 - 0.15.0 + 0.16.0 grpc-google-cloud-gkehub-v1alpha2 GRPC library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/grpc-google-cloud-gkehub-v1beta/pom.xml b/java-gkehub/grpc-google-cloud-gkehub-v1beta/pom.xml index 4714cd8c1445..ab5718c503d2 100644 --- a/java-gkehub/grpc-google-cloud-gkehub-v1beta/pom.xml +++ b/java-gkehub/grpc-google-cloud-gkehub-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-gkehub-v1beta - 0.15.0 + 0.16.0 grpc-google-cloud-gkehub-v1beta GRPC library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/grpc-google-cloud-gkehub-v1beta1/pom.xml b/java-gkehub/grpc-google-cloud-gkehub-v1beta1/pom.xml index 2e55c52048ac..b2d17d244859 100644 --- a/java-gkehub/grpc-google-cloud-gkehub-v1beta1/pom.xml +++ b/java-gkehub/grpc-google-cloud-gkehub-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-gkehub-v1beta1 - 0.15.0 + 0.16.0 grpc-google-cloud-gkehub-v1beta1 GRPC library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/pom.xml b/java-gkehub/pom.xml index bc7f203ab57f..d0ba469638ef 100644 --- a/java-gkehub/pom.xml +++ b/java-gkehub/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-gkehub-parent pom - 1.9.0 + 1.10.0 Google GKE Hub API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,57 +29,57 @@ com.google.cloud google-cloud-gkehub - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-gkehub-v1beta - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-gkehub-v1alpha2 - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-gkehub-v1alpha - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-gkehub-v1 - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-gkehub-v1alpha2 - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-gkehub-v1beta - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-gkehub-v1alpha - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-gkehub-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-gkehub-v1beta1 - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-gkehub-v1beta1 - 0.15.0 + 0.16.0 diff --git a/java-gkehub/proto-google-cloud-gkehub-v1/pom.xml b/java-gkehub/proto-google-cloud-gkehub-v1/pom.xml index cd2432aec876..840aace72626 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1/pom.xml +++ b/java-gkehub/proto-google-cloud-gkehub-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-gkehub-v1 - 1.9.0 + 1.10.0 proto-google-cloud-gkehub-v1 Proto library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/configmanagement/v1/ConfigManagementProto.java b/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/configmanagement/v1/ConfigManagementProto.java index 1aa832a1664a..79f00d57c979 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/configmanagement/v1/ConfigManagementProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/configmanagement/v1/ConfigManagementProto.java @@ -236,9 +236,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "PECIFIED\020\000\022\021\n\rNOT_INSTALLED\020\001\022\r\n\tINSTALL" + "ED\020\002\022\t\n\005ERROR\020\003B\241\002\n+com.google.cloud.gke" + "hub.configmanagement.v1B\025ConfigManagemen" - + "tProtoP\001ZWgoogle.golang.org/genproto/goo" - + "gleapis/cloud/gkehub/configmanagement/v1" - + ";configmanagement\252\002\'Google.Cloud.GkeHub." + + "tProtoP\001ZWcloud.google.com/go/gkehub/con" + + "figmanagement/apiv1/configmanagementpb;c" + + "onfigmanagementpb\252\002\'Google.Cloud.GkeHub." + "ConfigManagement.V1\312\002\'Google\\Cloud\\GkeHu" + "b\\ConfigManagement\\V1\352\002+Google::Cloud::G" + "keHub::ConfigManagement::V1b\006proto3" diff --git a/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1/MultiClusterIngressProto.java b/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1/MultiClusterIngressProto.java index 1cb7bac20522..0a5ac8716127 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1/MultiClusterIngressProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1/MultiClusterIngressProto.java @@ -43,15 +43,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nDgoogle/cloud/gkehub/v1/multiclustering" + "ress/multiclusteringress.proto\022*google.c" + "loud.gkehub.multiclusteringress.v1\"(\n\013Fe" - + "atureSpec\022\031\n\021config_membership\030\001 \001(\tB\266\002\n" + + "atureSpec\022\031\n\021config_membership\030\001 \001(\tB\271\002\n" + ".com.google.cloud.gkehub.multiclustering" - + "ress.v1B\030MultiClusterIngressProtoP\001Z]goo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/gkehub/multiclusteringress/v1;multiclus" - + "teringress\252\002*Google.Cloud.GkeHub.MultiCl" - + "usterIngress.V1\312\002*Google\\Cloud\\GkeHub\\Mu" - + "ltiClusterIngress\\V1\352\002.Google::Cloud::Gk" - + "eHub::MultiClusterIngress::V1b\006proto3" + + "ress.v1B\030MultiClusterIngressProtoP\001Z`clo" + + "ud.google.com/go/gkehub/multiclusteringr" + + "ess/apiv1/multiclusteringresspb;multiclu" + + "steringresspb\252\002*Google.Cloud.GkeHub.Mult" + + "iClusterIngress.V1\312\002*Google\\Cloud\\GkeHub" + + "\\MultiClusterIngress\\V1\352\002.Google::Cloud:" + + ":GkeHub::MultiClusterIngress::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/v1/FeatureProto.java b/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/v1/FeatureProto.java index 5221a45826f4..36ce1fd2a472 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/v1/FeatureProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/v1/FeatureProto.java @@ -130,12 +130,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "igmanagement\030j \001(\01328.google.cloud.gkehub" + ".configmanagement.v1.MembershipStateH\000\0223" + "\n\005state\030\001 \001(\0132$.google.cloud.gkehub.v1.F" - + "eatureStateB\017\n\rfeature_stateB\270\001\n\032com.goo" - + "gle.cloud.gkehub.v1B\014FeatureProtoP\001Z4.0.0 com.google.api.grpc proto-google-cloud-gkehub-v1alpha - 0.15.0 + 0.16.0 proto-google-cloud-gkehub-v1alpha Proto library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/cloudauditlogging/v1alpha/CloudAuditLoggingProto.java b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/cloudauditlogging/v1alpha/CloudAuditLoggingProto.java index dbb410bf502c..da97af4c47bd 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/cloudauditlogging/v1alpha/CloudAuditLoggingProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/cloudauditlogging/v1alpha/CloudAuditLoggingProto.java @@ -44,15 +44,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "logging/cloudauditlogging.proto\022-google." + "cloud.gkehub.cloudauditlogging.v1alpha\"3" + "\n\013FeatureSpec\022$\n\034allowlisted_service_acc" - + "ounts\030\001 \003(\tB\301\002\n1com.google.cloud.gkehub." + + "ounts\030\001 \003(\tB\302\002\n1com.google.cloud.gkehub." + "cloudauditlogging.v1alphaB\026CloudAuditLog" - + "gingProtoP\001Z^google.golang.org/genproto/" - + "googleapis/cloud/gkehub/cloudauditloggin" - + "g/v1alpha;cloudauditlogging\252\002-Google.Clo" - + "ud.GkeHub.CloudAuditLogging.V1Alpha\312\002-Go" - + "ogle\\Cloud\\GkeHub\\CloudAuditLogging\\V1al" - + "pha\352\0021Google::Cloud::GkeHub::CloudAuditL" - + "ogging::V1alphab\006proto3" + + "gingProtoP\001Z_cloud.google.com/go/gkehub/" + + "cloudauditlogging/apiv1alpha/cloudauditl" + + "oggingpb;cloudauditloggingpb\252\002-Google.Cl" + + "oud.GkeHub.CloudAuditLogging.V1Alpha\312\002-G" + + "oogle\\Cloud\\GkeHub\\CloudAuditLogging\\V1a" + + "lpha\352\0021Google::Cloud::GkeHub::CloudAudit" + + "Logging::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/configmanagement/v1alpha/ConfigManagementProto.java b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/configmanagement/v1alpha/ConfigManagementProto.java index 087a8d0ff681..826ee39a0d26 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/configmanagement/v1alpha/ConfigManagementProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/configmanagement/v1alpha/ConfigManagementProto.java @@ -266,9 +266,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\021\n\rNOT_INSTALLED\020\001\022\r\n\tINSTALLED\020\002\022\t\n\005ER" + "ROR\020\003B\272\002\n0com.google.cloud.gkehub.config" + "management.v1alphaB\025ConfigManagementProt" - + "oP\001Z\\google.golang.org/genproto/googleap" - + "is/cloud/gkehub/configmanagement/v1alpha" - + ";configmanagement\252\002,Google.Cloud.GkeHub." + + "oP\001Z\\cloud.google.com/go/gkehub/configma" + + "nagement/apiv1alpha/configmanagementpb;c" + + "onfigmanagementpb\252\002,Google.Cloud.GkeHub." + "ConfigManagement.V1Alpha\312\002,Google\\Cloud\\" + "GkeHub\\ConfigManagement\\V1alpha\352\0020Google" + "::Cloud::GkeHub::ConfigManagement::V1alp" diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/metering/v1alpha/MeteringProto.java b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/metering/v1alpha/MeteringProto.java index 70347bcdc168..f58cd6ad1da7 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/metering/v1alpha/MeteringProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/metering/v1alpha/MeteringProto.java @@ -46,14 +46,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "roto\"\201\001\n\017MembershipState\0229\n\025last_measure" + "ment_time\030\001 \001(\0132\032.google.protobuf.Timest" + "amp\0223\n+precise_last_measured_cluster_vcp" - + "u_capacity\030\003 \001(\002B\202\002\n(com.google.cloud.gk" - + "ehub.metering.v1alphaB\rMeteringProtoP\001ZL" - + "google.golang.org/genproto/googleapis/cl" - + "oud/gkehub/metering/v1alpha;metering\252\002$G" - + "oogle.Cloud.GkeHub.Metering.V1Alpha\312\002$Go" - + "ogle\\Cloud\\GkeHub\\Metering\\V1alpha\352\002(Goo" - + "gle::Cloud::GkeHub::Metering::V1alphab\006p" - + "roto3" + + "u_capacity\030\003 \001(\002B\372\001\n(com.google.cloud.gk" + + "ehub.metering.v1alphaB\rMeteringProtoP\001ZD" + + "cloud.google.com/go/gkehub/metering/apiv" + + "1alpha/meteringpb;meteringpb\252\002$Google.Cl" + + "oud.GkeHub.Metering.V1Alpha\312\002$Google\\Clo" + + "ud\\GkeHub\\Metering\\V1alpha\352\002(Google::Clo" + + "ud::GkeHub::Metering::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1alpha/MultiClusterIngressProto.java b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1alpha/MultiClusterIngressProto.java index b35b82729c28..9f197067c748 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1alpha/MultiClusterIngressProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1alpha/MultiClusterIngressProto.java @@ -47,16 +47,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\001 \001(\t\022I\n\007billing\030\002 \001(\01628.google.cloud.g" + "kehub.multiclusteringress.v1alpha.Billin" + "g*I\n\007Billing\022\027\n\023BILLING_UNSPECIFIED\020\000\022\021\n" - + "\rPAY_AS_YOU_GO\020\001\022\022\n\016ANTHOS_LICENSE\020\002B\317\002\n" + + "\rPAY_AS_YOU_GO\020\001\022\022\n\016ANTHOS_LICENSE\020\002B\322\002\n" + "3com.google.cloud.gkehub.multiclustering" + "ress.v1alphaB\030MultiClusterIngressProtoP\001" - + "Zbgoogle.golang.org/genproto/googleapis/" - + "cloud/gkehub/multiclusteringress/v1alpha" - + ";multiclusteringress\252\002/Google.Cloud.GkeH" - + "ub.MultiClusterIngress.V1Alpha\312\002/Google\\" - + "Cloud\\GkeHub\\MultiClusterIngress\\V1alpha" - + "\352\0023Google::Cloud::GkeHub::MultiClusterIn" - + "gress::V1alphab\006proto3" + + "Zecloud.google.com/go/gkehub/multicluste" + + "ringress/apiv1alpha/multiclusteringressp" + + "b;multiclusteringresspb\252\002/Google.Cloud.G" + + "keHub.MultiClusterIngress.V1Alpha\312\002/Goog" + + "le\\Cloud\\GkeHub\\MultiClusterIngress\\V1al" + + "pha\352\0023Google::Cloud::GkeHub::MultiCluste" + + "rIngress::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/servicemesh/v1alpha/ServiceMeshProto.java b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/servicemesh/v1alpha/ServiceMeshProto.java index 0fe3f1dcbdd7..7f4ddff4665e 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/servicemesh/v1alpha/ServiceMeshProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/servicemesh/v1alpha/ServiceMeshProto.java @@ -78,14 +78,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".gkehub.servicemesh.v1alpha.AnalysisMess" + "ageBase\022\023\n\013description\030\002 \001(\t\022\026\n\016resource" + "_paths\030\003 \003(\t\022%\n\004args\030\004 \001(\0132\027.google.prot" - + "obuf.StructB\227\002\n+com.google.cloud.gkehub." + + "obuf.StructB\222\002\n+com.google.cloud.gkehub." + "servicemesh.v1alphaB\020ServiceMeshProtoP\001Z" - + "Rgoogle.golang.org/genproto/googleapis/c" - + "loud/gkehub/servicemesh/v1alpha;servicem" - + "esh\252\002\'Google.Cloud.GkeHub.ServiceMesh.V1" - + "Alpha\312\002\'Google\\Cloud\\GkeHub\\ServiceMesh\\" - + "V1alpha\352\002+Google::Cloud::GkeHub::Service" - + "Mesh::V1alphab\006proto3" + + "Mcloud.google.com/go/gkehub/servicemesh/" + + "apiv1alpha/servicemeshpb;servicemeshpb\252\002" + + "\'Google.Cloud.GkeHub.ServiceMesh.V1Alpha" + + "\312\002\'Google\\Cloud\\GkeHub\\ServiceMesh\\V1alp" + + "ha\352\002+Google::Cloud::GkeHub::ServiceMesh:" + + ":V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/v1alpha/FeatureProto.java b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/v1alpha/FeatureProto.java index 9d2af86938e1..43ed072c176e 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/v1alpha/FeatureProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/v1alpha/FeatureProto.java @@ -146,12 +146,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "loud.gkehub.configmanagement.v1alpha.Mem" + "bershipStateH\000\0228\n\005state\030\001 \001(\0132).google.c" + "loud.gkehub.v1alpha.FeatureStateB\017\n\rfeat" - + "ure_stateB\321\001\n\037com.google.cloud.gkehub.v1" - + "alphaB\014FeatureProtoP\001ZAgoogle.golang.org" - + "/genproto/googleapis/cloud/gkehub/v1alph" - + "a;gkehub\252\002\033Google.Cloud.GkeHub.V1Alpha\312\002" - + "\033Google\\Cloud\\GkeHub\\V1alpha\352\002\036Google::C" - + "loud::GkeHub::V1alphab\006proto3" + + "ure_stateB\307\001\n\037com.google.cloud.gkehub.v1" + + "alphaB\014FeatureProtoP\001Z7cloud.google.com/" + + "go/gkehub/apiv1alpha/gkehubpb;gkehubpb\252\002" + + "\033Google.Cloud.GkeHub.V1Alpha\312\002\033Google\\Cl" + + "oud\\GkeHub\\V1alpha\352\002\036Google::Cloud::GkeH" + + "ub::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/v1alpha/ServiceProto.java b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/v1alpha/ServiceProto.java index 7aea24b3b665..2651b1b572bb 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/v1alpha/ServiceProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/v1alpha/ServiceProto.java @@ -121,13 +121,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/*}:\010resource\332A\031name,resource,update_ma" + "sk\312A\034\n\007Feature\022\021OperationMetadata\032I\312A\025gk" + "ehub.googleapis.com\322A.https://www.google" - + "apis.com/auth/cloud-platformB\321\001\n\037com.goo" + + "apis.com/auth/cloud-platformB\307\001\n\037com.goo" + "gle.cloud.gkehub.v1alphaB\014ServiceProtoP\001" - + "ZAgoogle.golang.org/genproto/googleapis/" - + "cloud/gkehub/v1alpha;gkehub\252\002\033Google.Clo" - + "ud.GkeHub.V1Alpha\312\002\033Google\\Cloud\\GkeHub\\" - + "V1alpha\352\002\036Google::Cloud::GkeHub::V1alpha" - + "b\006proto3" + + "Z7cloud.google.com/go/gkehub/apiv1alpha/" + + "gkehubpb;gkehubpb\252\002\033Google.Cloud.GkeHub." + + "V1Alpha\312\002\033Google\\Cloud\\GkeHub\\V1alpha\352\002\036" + + "Google::Cloud::GkeHub::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/proto/google/cloud/gkehub/v1alpha/feature.proto b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/proto/google/cloud/gkehub/v1alpha/feature.proto index 7ebbd5eabb9e..e8557d90ab74 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/proto/google/cloud/gkehub/v1alpha/feature.proto +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/proto/google/cloud/gkehub/v1alpha/feature.proto @@ -26,7 +26,7 @@ import "google/cloud/gkehub/v1alpha/servicemesh/servicemesh.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeHub.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha;gkehub"; +option go_package = "cloud.google.com/go/gkehub/apiv1alpha/gkehubpb;gkehubpb"; option java_multiple_files = true; option java_outer_classname = "FeatureProto"; option java_package = "com.google.cloud.gkehub.v1alpha"; diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/proto/google/cloud/gkehub/v1alpha/service.proto b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/proto/google/cloud/gkehub/v1alpha/service.proto index 7bbf9c76819c..f90a53a51294 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/proto/google/cloud/gkehub/v1alpha/service.proto +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/proto/google/cloud/gkehub/v1alpha/service.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeHub.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha;gkehub"; +option go_package = "cloud.google.com/go/gkehub/apiv1alpha/gkehubpb;gkehubpb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.gkehub.v1alpha"; diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha2/pom.xml b/java-gkehub/proto-google-cloud-gkehub-v1alpha2/pom.xml index 681daadf6560..6be9e1397e61 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha2/pom.xml +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-gkehub-v1alpha2 - 0.15.0 + 0.16.0 proto-google-cloud-gkehub-v1alpha2 Proto library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha2/src/main/java/com/google/cloud/gkehub/v1alpha2/MembershipProto.java b/java-gkehub/proto-google-cloud-gkehub-v1alpha2/src/main/java/com/google/cloud/gkehub/v1alpha2/MembershipProto.java index ede417e6cf1a..2ee60b1557a0 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha2/src/main/java/com/google/cloud/gkehub/v1alpha2/MembershipProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha2/src/main/java/com/google/cloud/gkehub/v1alpha2/MembershipProto.java @@ -292,12 +292,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*/locations/global/memberships}:initiali" + "zeHub:\001*\032I\312A\025gkehub.googleapis.com\322A.htt" + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\331\001\n com.google.cloud.gkehub.v1alpha2" - + "B\017MembershipProtoP\001ZBgoogle.golang.org/g" - + "enproto/googleapis/cloud/gkehub/v1alpha2" - + ";gkehub\252\002\034Google.Cloud.GkeHub.V1Alpha2\312\002" - + "\034Google\\Cloud\\GkeHub\\V1alpha2\352\002\037Google::" - + "Cloud::GkeHub::V1alpha2b\006proto3" + + "ormB\317\001\n com.google.cloud.gkehub.v1alpha2" + + "B\017MembershipProtoP\001Z8cloud.google.com/go" + + "/gkehub/apiv1alpha2/gkehubpb;gkehubpb\252\002\034" + + "Google.Cloud.GkeHub.V1Alpha2\312\002\034Google\\Cl" + + "oud\\GkeHub\\V1alpha2\352\002\037Google::Cloud::Gke" + + "Hub::V1alpha2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1alpha2/src/main/proto/google/cloud/gkehub/v1alpha2/membership.proto b/java-gkehub/proto-google-cloud-gkehub-v1alpha2/src/main/proto/google/cloud/gkehub/v1alpha2/membership.proto index bea0dff75740..1256ae45e8f0 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1alpha2/src/main/proto/google/cloud/gkehub/v1alpha2/membership.proto +++ b/java-gkehub/proto-google-cloud-gkehub-v1alpha2/src/main/proto/google/cloud/gkehub/v1alpha2/membership.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeHub.V1Alpha2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha2;gkehub"; +option go_package = "cloud.google.com/go/gkehub/apiv1alpha2/gkehubpb;gkehubpb"; option java_multiple_files = true; option java_outer_classname = "MembershipProto"; option java_package = "com.google.cloud.gkehub.v1alpha2"; diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta/pom.xml b/java-gkehub/proto-google-cloud-gkehub-v1beta/pom.xml index 5274a1070f9a..eb3330707b99 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta/pom.xml +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-gkehub-v1beta - 0.15.0 + 0.16.0 proto-google-cloud-gkehub-v1beta Proto library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/configmanagement/v1beta/ConfigManagementProto.java b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/configmanagement/v1beta/ConfigManagementProto.java index 56941a5742c7..c59040326c69 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/configmanagement/v1beta/ConfigManagementProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/configmanagement/v1beta/ConfigManagementProto.java @@ -262,9 +262,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ED\020\000\022\021\n\rNOT_INSTALLED\020\001\022\r\n\tINSTALLED\020\002\022\t" + "\n\005ERROR\020\003B\265\002\n/com.google.cloud.gkehub.co" + "nfigmanagement.v1betaB\025ConfigManagementP" - + "rotoP\001Z[google.golang.org/genproto/googl" - + "eapis/cloud/gkehub/configmanagement/v1be" - + "ta;configmanagement\252\002+Google.Cloud.GkeHu" + + "rotoP\001Z[cloud.google.com/go/gkehub/confi" + + "gmanagement/apiv1beta/configmanagementpb" + + ";configmanagementpb\252\002+Google.Cloud.GkeHu" + "b.ConfigManagement.V1Beta\312\002+Google\\Cloud" + "\\GkeHub\\ConfigManagement\\V1beta\352\002/Google" + "::Cloud::GkeHub::ConfigManagement::V1bet" diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/metering/v1beta/MeteringProto.java b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/metering/v1beta/MeteringProto.java index 37cd30fc739b..a87adea215a9 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/metering/v1beta/MeteringProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/metering/v1beta/MeteringProto.java @@ -46,13 +46,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "to\"\201\001\n\017MembershipState\0229\n\025last_measureme" + "nt_time\030\001 \001(\0132\032.google.protobuf.Timestam" + "p\0223\n+precise_last_measured_cluster_vcpu_" - + "capacity\030\003 \001(\002B\375\001\n\'com.google.cloud.gkeh" - + "ub.metering.v1betaB\rMeteringProtoP\001ZKgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/gkehub/metering/v1beta;metering\252\002#Googl" - + "e.Cloud.GkeHub.Metering.V1Beta\312\002#Google\\" - + "Cloud\\GkeHub\\Metering\\V1beta\352\002\'Google::C" - + "loud::GkeHub::Metering::V1betab\006proto3" + + "capacity\030\003 \001(\002B\365\001\n\'com.google.cloud.gkeh" + + "ub.metering.v1betaB\rMeteringProtoP\001ZCclo" + + "ud.google.com/go/gkehub/metering/apiv1be" + + "ta/meteringpb;meteringpb\252\002#Google.Cloud." + + "GkeHub.Metering.V1Beta\312\002#Google\\Cloud\\Gk" + + "eHub\\Metering\\V1beta\352\002\'Google::Cloud::Gk" + + "eHub::Metering::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1beta/MultiClusterIngressProto.java b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1beta/MultiClusterIngressProto.java index 765718c054bb..4ad2a4869d4a 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1beta/MultiClusterIngressProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/multiclusteringress/v1beta/MultiClusterIngressProto.java @@ -47,16 +47,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\t\022H\n\007billing\030\002 \001(\01627.google.cloud.gke" + "hub.multiclusteringress.v1beta.Billing*I" + "\n\007Billing\022\027\n\023BILLING_UNSPECIFIED\020\000\022\021\n\rPA" - + "Y_AS_YOU_GO\020\001\022\022\n\016ANTHOS_LICENSE\020\002B\312\002\n2co" + + "Y_AS_YOU_GO\020\001\022\022\n\016ANTHOS_LICENSE\020\002B\315\002\n2co" + "m.google.cloud.gkehub.multiclusteringres" - + "s.v1betaB\030MultiClusterIngressProtoP\001Zago" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/gkehub/multiclusteringress/v1beta;mult" - + "iclusteringress\252\002.Google.Cloud.GkeHub.Mu" - + "ltiClusterIngress.V1Beta\312\002.Google\\Cloud\\" - + "GkeHub\\MultiClusterIngress\\V1beta\352\0022Goog" - + "le::Cloud::GkeHub::MultiClusterIngress::" - + "V1betab\006proto3" + + "s.v1betaB\030MultiClusterIngressProtoP\001Zdcl" + + "oud.google.com/go/gkehub/multiclustering" + + "ress/apiv1beta/multiclusteringresspb;mul" + + "ticlusteringresspb\252\002.Google.Cloud.GkeHub" + + ".MultiClusterIngress.V1Beta\312\002.Google\\Clo" + + "ud\\GkeHub\\MultiClusterIngress\\V1beta\352\0022G" + + "oogle::Cloud::GkeHub::MultiClusterIngres" + + "s::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/v1beta/FeatureProto.java b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/v1beta/FeatureProto.java index 44cf42b79aee..8c8a38568e71 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/v1beta/FeatureProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/v1beta/FeatureProto.java @@ -135,13 +135,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "agement\030j \001(\0132<.google.cloud.gkehub.conf" + "igmanagement.v1beta.MembershipStateH\000\0227\n" + "\005state\030\001 \001(\0132(.google.cloud.gkehub.v1bet" - + "a.FeatureStateB\017\n\rfeature_stateB\314\001\n\036com." + + "a.FeatureStateB\017\n\rfeature_stateB\302\001\n\036com." + "google.cloud.gkehub.v1betaB\014FeatureProto" - + "P\001Z@google.golang.org/genproto/googleapi" - + "s/cloud/gkehub/v1beta;gkehub\252\002\032Google.Cl" - + "oud.GkeHub.V1Beta\312\002\032Google\\Cloud\\GkeHub\\" - + "V1beta\352\002\035Google::Cloud::GkeHub::V1betab\006" - + "proto3" + + "P\001Z6cloud.google.com/go/gkehub/apiv1beta" + + "/gkehubpb;gkehubpb\252\002\032Google.Cloud.GkeHub" + + ".V1Beta\312\002\032Google\\Cloud\\GkeHub\\V1beta\352\002\035G" + + "oogle::Cloud::GkeHub::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/v1beta/ServiceProto.java b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/v1beta/ServiceProto.java index 2402654e1b75..a61ae5c1ecbc 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/v1beta/ServiceProto.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/v1beta/ServiceProto.java @@ -121,12 +121,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ame,resource,update_mask\312A\034\n\007Feature\022\021Op" + "erationMetadata\032I\312A\025gkehub.googleapis.co" + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformB\314\001\n\036com.google.cloud.gkehub.v" - + "1betaB\014ServiceProtoP\001Z@google.golang.org" - + "/genproto/googleapis/cloud/gkehub/v1beta" - + ";gkehub\252\002\032Google.Cloud.GkeHub.V1Beta\312\002\032G" - + "oogle\\Cloud\\GkeHub\\V1beta\352\002\035Google::Clou" - + "d::GkeHub::V1betab\006proto3" + + "d-platformB\302\001\n\036com.google.cloud.gkehub.v" + + "1betaB\014ServiceProtoP\001Z6cloud.google.com/" + + "go/gkehub/apiv1beta/gkehubpb;gkehubpb\252\002\032" + + "Google.Cloud.GkeHub.V1Beta\312\002\032Google\\Clou" + + "d\\GkeHub\\V1beta\352\002\035Google::Cloud::GkeHub:" + + ":V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/proto/google/cloud/gkehub/v1beta/feature.proto b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/proto/google/cloud/gkehub/v1beta/feature.proto index b847f9920d1a..3655644e6e53 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/proto/google/cloud/gkehub/v1beta/feature.proto +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/proto/google/cloud/gkehub/v1beta/feature.proto @@ -24,7 +24,7 @@ import "google/cloud/gkehub/v1beta/multiclusteringress/multiclusteringress.proto import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeHub.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta;gkehub"; +option go_package = "cloud.google.com/go/gkehub/apiv1beta/gkehubpb;gkehubpb"; option java_multiple_files = true; option java_outer_classname = "FeatureProto"; option java_package = "com.google.cloud.gkehub.v1beta"; diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/proto/google/cloud/gkehub/v1beta/service.proto b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/proto/google/cloud/gkehub/v1beta/service.proto index 57b6a72dab25..27640473a6e6 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/proto/google/cloud/gkehub/v1beta/service.proto +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/proto/google/cloud/gkehub/v1beta/service.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.GkeHub.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta;gkehub"; +option go_package = "cloud.google.com/go/gkehub/apiv1beta/gkehubpb;gkehubpb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.gkehub.v1beta"; diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta1/pom.xml b/java-gkehub/proto-google-cloud-gkehub-v1beta1/pom.xml index dd5e6d837044..32bc9a5ae757 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta1/pom.xml +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-gkehub-v1beta1 - 0.15.0 + 0.16.0 proto-google-cloud-gkehub-v1beta1 Proto library for google-cloud-gkehub com.google.cloud google-cloud-gkehub-parent - 1.9.0 + 1.10.0 diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta1/src/main/java/com/google/cloud/gkehub/v1beta1/MembershipOuterClass.java b/java-gkehub/proto-google-cloud-gkehub-v1beta1/src/main/java/com/google/cloud/gkehub/v1beta1/MembershipOuterClass.java index d2f5d13f4219..ce6f05f9dac6 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta1/src/main/java/com/google/cloud/gkehub/v1beta1/MembershipOuterClass.java +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta1/src/main/java/com/google/cloud/gkehub/v1beta1/MembershipOuterClass.java @@ -345,12 +345,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/{name=projects/*/locations/*/membership" + "s/*}:generateExclusivityManifest\032I\312A\025gke" + "hub.googleapis.com\322A.https://www.googlea" - + "pis.com/auth/cloud-platformB\303\001\n\037com.goog" - + "le.cloud.gkehub.v1beta1P\001ZAgoogle.golang" - + ".org/genproto/googleapis/cloud/gkehub/v1" - + "beta1;gkehub\252\002\033Google.Cloud.GkeHub.V1Bet" - + "a1\312\002\033Google\\Cloud\\GkeHub\\V1beta1\352\002\036Googl" - + "e::Cloud::GkeHub::V1beta1b\006proto3" + + "pis.com/auth/cloud-platformB\271\001\n\037com.goog" + + "le.cloud.gkehub.v1beta1P\001Z7cloud.google." + + "com/go/gkehub/apiv1beta1/gkehubpb;gkehub" + + "pb\252\002\033Google.Cloud.GkeHub.V1Beta1\312\002\033Googl" + + "e\\Cloud\\GkeHub\\V1beta1\352\002\036Google::Cloud::" + + "GkeHub::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gkehub/proto-google-cloud-gkehub-v1beta1/src/main/proto/google/cloud/gkehub/v1beta1/membership.proto b/java-gkehub/proto-google-cloud-gkehub-v1beta1/src/main/proto/google/cloud/gkehub/v1beta1/membership.proto index a8567263c2a6..fadedf5b2d50 100644 --- a/java-gkehub/proto-google-cloud-gkehub-v1beta1/src/main/proto/google/cloud/gkehub/v1beta1/membership.proto +++ b/java-gkehub/proto-google-cloud-gkehub-v1beta1/src/main/proto/google/cloud/gkehub/v1beta1/membership.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.GkeHub.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta1;gkehub"; +option go_package = "cloud.google.com/go/gkehub/apiv1beta1/gkehubpb;gkehubpb"; option java_multiple_files = true; option java_package = "com.google.cloud.gkehub.v1beta1"; option php_namespace = "Google\\Cloud\\GkeHub\\V1beta1"; diff --git a/java-grafeas/pom.xml b/java-grafeas/pom.xml index b88cfb96fc4b..96080c31f48a 100644 --- a/java-grafeas/pom.xml +++ b/java-grafeas/pom.xml @@ -5,7 +5,7 @@ 4.0.0 io.grafeas grafeas - 2.10.0 + 2.11.0 jar Grafeas Client @@ -15,7 +15,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml diff --git a/java-gsuite-addons/README.md b/java-gsuite-addons/README.md index 219790ba98d5..0eb3bca81239 100644 --- a/java-gsuite-addons/README.md +++ b/java-gsuite-addons/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-gsuite-addons - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gsuite-addons:2.8.0' +implementation 'com.google.cloud:google-cloud-gsuite-addons:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.9.0" ``` ## Authentication diff --git a/java-gsuite-addons/google-cloud-gsuite-addons-bom/pom.xml b/java-gsuite-addons/google-cloud-gsuite-addons-bom/pom.xml index 194f833ed5b1..6262082f4887 100644 --- a/java-gsuite-addons/google-cloud-gsuite-addons-bom/pom.xml +++ b/java-gsuite-addons/google-cloud-gsuite-addons-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-gsuite-addons-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,22 +27,22 @@ com.google.cloud google-cloud-gsuite-addons - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-gsuite-addons-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-gsuite-addons-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-apps-script-type-protos - 2.9.0 + 2.10.0 diff --git a/java-gsuite-addons/google-cloud-gsuite-addons/pom.xml b/java-gsuite-addons/google-cloud-gsuite-addons/pom.xml index 2657684d33f7..f314a83812e9 100644 --- a/java-gsuite-addons/google-cloud-gsuite-addons/pom.xml +++ b/java-gsuite-addons/google-cloud-gsuite-addons/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-gsuite-addons - 2.9.0 + 2.10.0 jar Google Google Workspace Add-ons API Google Workspace Add-ons API are customized applications that integrate with Google Workspace productivity applications. com.google.cloud google-cloud-gsuite-addons-parent - 2.9.0 + 2.10.0 google-cloud-gsuite-addons diff --git a/java-gsuite-addons/grpc-google-cloud-gsuite-addons-v1/pom.xml b/java-gsuite-addons/grpc-google-cloud-gsuite-addons-v1/pom.xml index e4a60f6a82cc..671afb9d0fe4 100644 --- a/java-gsuite-addons/grpc-google-cloud-gsuite-addons-v1/pom.xml +++ b/java-gsuite-addons/grpc-google-cloud-gsuite-addons-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-gsuite-addons-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-gsuite-addons-v1 GRPC library for google-cloud-gsuite-addons com.google.cloud google-cloud-gsuite-addons-parent - 2.9.0 + 2.10.0 diff --git a/java-gsuite-addons/pom.xml b/java-gsuite-addons/pom.xml index 4ca82c680c2a..6085c1cbb496 100644 --- a/java-gsuite-addons/pom.xml +++ b/java-gsuite-addons/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-gsuite-addons-parent pom - 2.9.0 + 2.10.0 Google Google Workspace Add-ons API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,22 +29,22 @@ com.google.cloud google-cloud-gsuite-addons - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-apps-script-type-protos - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-gsuite-addons-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-gsuite-addons-v1 - 2.9.0 + 2.10.0 diff --git a/java-gsuite-addons/proto-google-apps-script-type-protos/pom.xml b/java-gsuite-addons/proto-google-apps-script-type-protos/pom.xml index ef522fd66276..9ddf86f6f600 100644 --- a/java-gsuite-addons/proto-google-apps-script-type-protos/pom.xml +++ b/java-gsuite-addons/proto-google-apps-script-type-protos/pom.xml @@ -5,13 +5,13 @@ com.google.cloud google-cloud-gsuite-addons-parent - 2.9.0 + 2.10.0 4.0.0 com.google.api.grpc proto-google-apps-script-type-protos proto-google-apps-script-type-protos - 2.9.0 + 2.10.0 diff --git a/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/pom.xml b/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/pom.xml index 89e597aa5854..06107cec121f 100644 --- a/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/pom.xml +++ b/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-gsuite-addons-v1 - 2.9.0 + 2.10.0 proto-google-cloud-gsuite-addons-v1 Proto library for google-cloud-gsuite-addons com.google.cloud google-cloud-gsuite-addons-parent - 2.9.0 + 2.10.0 diff --git a/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java b/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java index 8b90acf41317..bf182f4fa392 100644 --- a/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java +++ b/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java @@ -206,12 +206,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/*/deployments/*/installStatus}\332A\004name\032" + "O\312A\033gsuiteaddons.googleapis.com\322A.https:" + "//www.googleapis.com/auth/cloud-platform" - + "B\341\001\n com.google.cloud.gsuiteaddons.v1B\021G" - + "SuiteAddOnsProtoP\001ZHgoogle.golang.org/ge" - + "nproto/googleapis/cloud/gsuiteaddons/v1;" - + "gsuiteaddons\252\002\034Google.Cloud.GSuiteAddOns" - + ".V1\312\002\034Google\\Cloud\\GSuiteAddOns\\V1\352\002\037Goo" - + "gle::Cloud::GSuiteAddOns::V1b\006proto3" + + "B\335\001\n com.google.cloud.gsuiteaddons.v1B\021G" + + "SuiteAddOnsProtoP\001ZDcloud.google.com/go/" + + "gsuiteaddons/apiv1/gsuiteaddonspb;gsuite" + + "addonspb\252\002\034Google.Cloud.GSuiteAddOns.V1\312" + + "\002\034Google\\Cloud\\GSuiteAddOns\\V1\352\002\037Google:" + + ":Cloud::GSuiteAddOns::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto b/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto index 11461a81c92e..8d557ca5f8ae 100644 --- a/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto +++ b/java-gsuite-addons/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto @@ -31,7 +31,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.GSuiteAddOns.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/gsuiteaddons/v1;gsuiteaddons"; +option go_package = "cloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb;gsuiteaddonspb"; option java_multiple_files = true; option java_outer_classname = "GSuiteAddOnsProto"; option java_package = "com.google.cloud.gsuiteaddons.v1"; diff --git a/java-iam-admin/google-iam-admin-bom/pom.xml b/java-iam-admin/google-iam-admin-bom/pom.xml index afdaf702b052..c185e693776e 100644 --- a/java-iam-admin/google-iam-admin-bom/pom.xml +++ b/java-iam-admin/google-iam-admin-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-iam-admin-bom - 3.4.0 + 3.5.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-iam-admin - 3.4.0 + 3.5.0 com.google.api.grpc grpc-google-iam-admin-v1 - 3.4.0 + 3.5.0 com.google.api.grpc proto-google-iam-admin-v1 - 3.4.0 + 3.5.0 diff --git a/java-iam-admin/google-iam-admin/pom.xml b/java-iam-admin/google-iam-admin/pom.xml index 988df7d200a2..c355f3ac11a0 100644 --- a/java-iam-admin/google-iam-admin/pom.xml +++ b/java-iam-admin/google-iam-admin/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-iam-admin - 3.4.0 + 3.5.0 jar Google IAM Admin API IAM Admin API you to manage your Service Accounts and IAM bindings. com.google.cloud google-iam-admin-parent - 3.4.0 + 3.5.0 google-iam-admin diff --git a/java-iam-admin/grpc-google-iam-admin-v1/pom.xml b/java-iam-admin/grpc-google-iam-admin-v1/pom.xml index 1b07a60c63c4..6c51399e5d7b 100644 --- a/java-iam-admin/grpc-google-iam-admin-v1/pom.xml +++ b/java-iam-admin/grpc-google-iam-admin-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-iam-admin-v1 - 3.4.0 + 3.5.0 grpc-google-iam-admin-v1 GRPC library for google-iam-admin com.google.cloud google-iam-admin-parent - 3.4.0 + 3.5.0 diff --git a/java-iam-admin/pom.xml b/java-iam-admin/pom.xml index 064551c9f05b..f14e7c0f732c 100644 --- a/java-iam-admin/pom.xml +++ b/java-iam-admin/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-admin-parent pom - 3.4.0 + 3.5.0 Google IAM Admin API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-iam-admin - 3.4.0 + 3.5.0 com.google.api.grpc grpc-google-iam-admin-v1 - 3.4.0 + 3.5.0 com.google.api.grpc proto-google-iam-admin-v1 - 3.4.0 + 3.5.0 diff --git a/java-iam-admin/proto-google-iam-admin-v1/pom.xml b/java-iam-admin/proto-google-iam-admin-v1/pom.xml index 0b49d6cfed59..bf72093c3748 100644 --- a/java-iam-admin/proto-google-iam-admin-v1/pom.xml +++ b/java-iam-admin/proto-google-iam-admin-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-admin-v1 - 3.4.0 + 3.5.0 proto-google-iam-admin-v1 Proto library for google-iam-admin com.google.cloud google-iam-admin-parent - 3.4.0 + 3.5.0 diff --git a/java-iam/.OwlBot.yaml b/java-iam/.OwlBot.yaml new file mode 100644 index 000000000000..5ec827e307bb --- /dev/null +++ b/java-iam/.OwlBot.yaml @@ -0,0 +1,30 @@ +# Copyright 2021 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 +# +# http://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. + + +deep-remove-regex: + - "/java-iam/grpc-google-.*/src" + - "/java-iam/proto-google-.*/src" + +deep-preserve-regex: + - "/java-iam/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" + - "/java-iam/samples/snippets/generated" + +deep-copy-regex: + - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src" + dest: "/owl-bot-staging/java-iam/v2beta/google-iam-policy/src" + - source: "/google/iam/v2/google-cloud-iam-v2-java/gapic-google-cloud-iam-v2-java/src" + dest: "/owl-bot-staging/java-iam/v2/google-iam-policy/src" + +api-name: iam diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json new file mode 100644 index 000000000000..3b4b6df1faf0 --- /dev/null +++ b/java-iam/.repo-metadata.json @@ -0,0 +1,17 @@ +{ + "api_shortname": "iam", + "name_pretty": "IAM", + "product_documentation": "n/a", + "api_description": "n/a", + "client_documentation": "https://cloud.google.com/java/docs/reference/proto-google-iam-v1/latest/history", + "release_level": "stable", + "transport": "grpc", + "requires_billing": true, + "language": "java", + "repo": "googleapis/java-iam", + "repo_short": "java-iam", + "library_type": "OTHER", + "distribution_name": "com.google.cloud:google-iam-policy", + "excluded_poms": "proto-google-iam-v1-bom,google-iam-policy,proto-google-iam-v1", + "excluded_dependencies": "google-iam-policy" +} diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md new file mode 100644 index 000000000000..d8d4838f4495 --- /dev/null +++ b/java-iam/CHANGELOG.md @@ -0,0 +1,718 @@ +# Changelog + +## [1.7.0](https://github.com/googleapis/java-iam/compare/v1.6.23...v1.7.0) (2023-01-10) + + +### Features + +* Removing migrated grpc- and proto- modules from repository ([#592](https://github.com/googleapis/java-iam/issues/592)) ([9c4b9aa](https://github.com/googleapis/java-iam/commit/9c4b9aace04fc72868f4dcaf289eb0a8f35d4e1f)) + + +### Bug Fixes + +* Remove 'unstable API' message from README.md ([#570](https://github.com/googleapis/java-iam/issues/570)) ([8da89f5](https://github.com/googleapis/java-iam/commit/8da89f59cbe323b2cc5eb2b483485e424622b027)) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.23 ([#578](https://github.com/googleapis/java-iam/issues/578)) ([aa49b5e](https://github.com/googleapis/java-iam/commit/aa49b5efaf53fcafc0bbd7662e8b016fcfc2ff61)) + +## [1.6.23](https://github.com/googleapis/java-iam/compare/v1.6.22...v1.6.23) (2022-12-20) + + +### Dependencies + +* Update dependency com.google.api:api-common to v2.3.1 ([#567](https://github.com/googleapis/java-iam/issues/567)) ([17e62e8](https://github.com/googleapis/java-iam/commit/17e62e80f0ea8c2d4edfe6bb16ef5ee7acbc22f3)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.14.0 ([#571](https://github.com/googleapis/java-iam/issues/571)) ([9c48311](https://github.com/googleapis/java-iam/commit/9c48311fbac25f9c9545f3404a42cdadf8ebb243)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 ([#565](https://github.com/googleapis/java-iam/issues/565)) ([32be2fb](https://github.com/googleapis/java-iam/commit/32be2fb0cfafa3681489c18e367cf12f22c567d3)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.22 ([#560](https://github.com/googleapis/java-iam/issues/560)) ([de39d89](https://github.com/googleapis/java-iam/commit/de39d89c08c9e45bc977ea393570a8d01cf48af2)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#563](https://github.com/googleapis/java-iam/issues/563)) ([607e260](https://github.com/googleapis/java-iam/commit/607e2601b71ff1fb51406e6c97dd79208296f404)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.12 ([#564](https://github.com/googleapis/java-iam/issues/564)) ([4b2b26b](https://github.com/googleapis/java-iam/commit/4b2b26bd29d88ccb602a71225d6e2decb49b9649)) +* Update dependency io.grpc:grpc-protobuf to v1.51.1 ([#573](https://github.com/googleapis/java-iam/issues/573)) ([2143ec8](https://github.com/googleapis/java-iam/commit/2143ec8a90dbcdb128dffea9777fa9d183c3068e)) +* Update dependency io.grpc:grpc-stub to v1.51.1 ([#574](https://github.com/googleapis/java-iam/issues/574)) ([488496a](https://github.com/googleapis/java-iam/commit/488496aa09c9d976bf0c450fb8584f07e7c74c03)) + +## [1.6.22](https://github.com/googleapis/java-iam/compare/v1.6.21...v1.6.22) (2022-11-28) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.21 ([#557](https://github.com/googleapis/java-iam/issues/557)) ([c108c89](https://github.com/googleapis/java-iam/commit/c108c89e97a9b5f11541a9c704d9da582868cf32)) + +## [1.6.21](https://github.com/googleapis/java-iam/compare/v1.6.20...v1.6.21) (2022-11-23) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.20 ([#554](https://github.com/googleapis/java-iam/issues/554)) ([940af38](https://github.com/googleapis/java-iam/commit/940af38f2b1e4ea7846d5fe2b174b5c6f8962a67)) + +## [1.6.20](https://github.com/googleapis/java-iam/compare/v1.6.19...v1.6.20) (2022-11-22) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.19 ([#551](https://github.com/googleapis/java-iam/issues/551)) ([cd4a411](https://github.com/googleapis/java-iam/commit/cd4a411647e67ebe88c690d6ca4532d4011b4029)) + +## [1.6.19](https://github.com/googleapis/java-iam/compare/v1.6.18...v1.6.19) (2022-11-22) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.18 ([#548](https://github.com/googleapis/java-iam/issues/548)) ([34ed3ea](https://github.com/googleapis/java-iam/commit/34ed3ea40572a3598d372e9c9d6d5a4077de86d6)) + +## [1.6.18](https://github.com/googleapis/java-iam/compare/v1.6.17...v1.6.18) (2022-11-22) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.17 ([#545](https://github.com/googleapis/java-iam/issues/545)) ([0bcbf61](https://github.com/googleapis/java-iam/commit/0bcbf6163950bbc3d282a7ae199fc8f5e32f195b)) + +## [1.6.17](https://github.com/googleapis/java-iam/compare/v1.6.16...v1.6.17) (2022-11-21) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.16 ([#542](https://github.com/googleapis/java-iam/issues/542)) ([deca3f1](https://github.com/googleapis/java-iam/commit/deca3f14b9ead487536cb7c94a20dc4c26800a2b)) + +## [1.6.16](https://github.com/googleapis/java-iam/compare/v1.6.15...v1.6.16) (2022-11-20) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.15 ([#539](https://github.com/googleapis/java-iam/issues/539)) ([adafd85](https://github.com/googleapis/java-iam/commit/adafd8543da0fc1552fea7c965c1d1a2ecfda449)) + +## [1.6.15](https://github.com/googleapis/java-iam/compare/v1.6.14...v1.6.15) (2022-11-18) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.14 ([#536](https://github.com/googleapis/java-iam/issues/536)) ([4e15368](https://github.com/googleapis/java-iam/commit/4e15368f6924253fe9e54d08ba7bd1b38b23b944)) + +## [1.6.14](https://github.com/googleapis/java-iam/compare/v1.6.13...v1.6.14) (2022-11-18) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.13 ([#532](https://github.com/googleapis/java-iam/issues/532)) ([66c5b64](https://github.com/googleapis/java-iam/commit/66c5b64e8ad0457b5c9289ac75e581a6b25ca643)) + +## [1.6.13](https://github.com/googleapis/java-iam/compare/v1.6.12...v1.6.13) (2022-11-17) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.12 ([#526](https://github.com/googleapis/java-iam/issues/526)) ([1379eee](https://github.com/googleapis/java-iam/commit/1379eee913abdf9fbf047a869331506df3fce78a)) +* Update dependency io.grpc:grpc-protobuf to v1.51.0 ([#527](https://github.com/googleapis/java-iam/issues/527)) ([3d93f1d](https://github.com/googleapis/java-iam/commit/3d93f1d50e814122b39400ff385226c5b47f67f4)) +* Update dependency io.grpc:grpc-stub to v1.51.0 ([#528](https://github.com/googleapis/java-iam/issues/528)) ([7e42c24](https://github.com/googleapis/java-iam/commit/7e42c24069fe81ec2430b3a03777a1aad8275b66)) + +## [1.6.12](https://github.com/googleapis/java-iam/compare/v1.6.11...v1.6.12) (2022-11-16) + + +### Dependencies + +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.13.0 ([#522](https://github.com/googleapis/java-iam/issues/522)) ([37e4984](https://github.com/googleapis/java-iam/commit/37e4984d96e78117225ccccaf807386f6b699e04)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.11 ([#521](https://github.com/googleapis/java-iam/issues/521)) ([dd07607](https://github.com/googleapis/java-iam/commit/dd07607d4de0dfb6b1f0852fcaf18c9c035c5467)) + +## [1.6.11](https://github.com/googleapis/java-iam/compare/v1.6.10...v1.6.11) (2022-11-15) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.10 ([#518](https://github.com/googleapis/java-iam/issues/518)) ([93a1e60](https://github.com/googleapis/java-iam/commit/93a1e60f4feb89a1ff1104aa890df01764d99944)) + +## [1.6.10](https://github.com/googleapis/java-iam/compare/v1.6.9...v1.6.10) (2022-11-14) + + +### Dependencies + +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221108-2.0.0 ([#514](https://github.com/googleapis/java-iam/issues/514)) ([c754e5a](https://github.com/googleapis/java-iam/commit/c754e5af64a4e67c9fd8b3db8019e208f39da3ba)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.9 ([#513](https://github.com/googleapis/java-iam/issues/513)) ([e7e1836](https://github.com/googleapis/java-iam/commit/e7e18368d573f333057faead618bc24ad2199e6c)) + +## [1.6.9](https://github.com/googleapis/java-iam/compare/v1.6.8...v1.6.9) (2022-11-09) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.8 ([#509](https://github.com/googleapis/java-iam/issues/509)) ([706621d](https://github.com/googleapis/java-iam/commit/706621d7a70ddc29a69230416dc723508629eac1)) + +## [1.6.8](https://github.com/googleapis/java-iam/compare/v1.6.7...v1.6.8) (2022-11-08) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 ([#506](https://github.com/googleapis/java-iam/issues/506)) ([cc4c8aa](https://github.com/googleapis/java-iam/commit/cc4c8aa4dccb6ae97e95a9d176a9ffea5a16dc38)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.7 ([#502](https://github.com/googleapis/java-iam/issues/502)) ([b31c868](https://github.com/googleapis/java-iam/commit/b31c8686ab53b82589bc080e19aa2187457c92ee)) + +## [1.6.7](https://github.com/googleapis/java-iam/compare/v1.6.6...v1.6.7) (2022-10-31) + + +### Dependencies + +* Update dependency com.google.api:api-common to v2.2.2 ([#497](https://github.com/googleapis/java-iam/issues/497)) ([bfcb37f](https://github.com/googleapis/java-iam/commit/bfcb37f9d46553a13a51bc8c437b6af046cb3c6c)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.6 ([#492](https://github.com/googleapis/java-iam/issues/492)) ([cb7b782](https://github.com/googleapis/java-iam/commit/cb7b782017eb0ecf4914e4a1de252706bec70d6f)) +* Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.3 ([#498](https://github.com/googleapis/java-iam/issues/498)) ([002b226](https://github.com/googleapis/java-iam/commit/002b2266fd9db19bade62e219970e7050d2bbbc0)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#495](https://github.com/googleapis/java-iam/issues/495)) ([ef4f95b](https://github.com/googleapis/java-iam/commit/ef4f95b393a02b96f41743b3bcd8349dda0f9822)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#493](https://github.com/googleapis/java-iam/issues/493)) ([fb776ce](https://github.com/googleapis/java-iam/commit/fb776ce04129a55ea9ff0b964df624b64b5865a4)) + +## [1.6.6](https://github.com/googleapis/java-iam/compare/v1.6.5...v1.6.6) (2022-10-25) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.5 ([#489](https://github.com/googleapis/java-iam/issues/489)) ([ab8be40](https://github.com/googleapis/java-iam/commit/ab8be4088259b25799aa5df0e7cfe944a7da7956)) + +## [1.6.5](https://github.com/googleapis/java-iam/compare/v1.6.4...v1.6.5) (2022-10-24) + + +### Dependencies + +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221016-2.0.0 ([#479](https://github.com/googleapis/java-iam/issues/479)) ([728084c](https://github.com/googleapis/java-iam/commit/728084cba18609a511dd04d67a59a8b0a4c2a63d)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.12.1 ([#478](https://github.com/googleapis/java-iam/issues/478)) ([94e2ca1](https://github.com/googleapis/java-iam/commit/94e2ca1930ec67bf1d837e044c8a72d64b6eae45)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#486](https://github.com/googleapis/java-iam/issues/486)) ([292042e](https://github.com/googleapis/java-iam/commit/292042ea315d3bff5b07e86b73d82fa290364a8a)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.4 ([#475](https://github.com/googleapis/java-iam/issues/475)) ([b86f46c](https://github.com/googleapis/java-iam/commit/b86f46cd9115b5d07d867766e37d402d054768a2)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#481](https://github.com/googleapis/java-iam/issues/481)) ([cb74130](https://github.com/googleapis/java-iam/commit/cb741301c1add6eb5e790de44caa7961e2ea055d)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#482](https://github.com/googleapis/java-iam/issues/482)) ([176de6c](https://github.com/googleapis/java-iam/commit/176de6cb499db8fde987f69df35038d9872fad25)) +* Update dependency io.grpc:grpc-protobuf to v1.50.0 ([#476](https://github.com/googleapis/java-iam/issues/476)) ([358383f](https://github.com/googleapis/java-iam/commit/358383fef13874226454c05464a615651ec5b0fb)) +* Update dependency io.grpc:grpc-protobuf to v1.50.2 ([#483](https://github.com/googleapis/java-iam/issues/483)) ([3c9999b](https://github.com/googleapis/java-iam/commit/3c9999b9b4daca5aa343005ca89055f7172ba2dc)) +* Update dependency io.grpc:grpc-stub to v1.50.2 ([#477](https://github.com/googleapis/java-iam/issues/477)) ([e2255ec](https://github.com/googleapis/java-iam/commit/e2255ecfe43a7aef250802cd1829771d4b3691d8)) + +## [1.6.4](https://github.com/googleapis/java-iam/compare/v1.6.3...v1.6.4) (2022-10-10) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.3 ([#472](https://github.com/googleapis/java-iam/issues/472)) ([8f911be](https://github.com/googleapis/java-iam/commit/8f911bef57b66ab9dd092ed7912702c038e8565e)) + +## [1.6.3](https://github.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) (2022-10-07) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#468](https://github.com/googleapis/java-iam/issues/468)) ([f6be604](https://github.com/googleapis/java-iam/commit/f6be6047506561a7b6f1dc5b5ea925207075d3ac)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.2 ([#467](https://github.com/googleapis/java-iam/issues/467)) ([0af193b](https://github.com/googleapis/java-iam/commit/0af193bbcedcfa7e7e9b53eaeb509fba5df974b3)) + +## [1.6.2](https://github.com/googleapis/java-iam/compare/v1.6.1...v1.6.2) (2022-10-02) + + +### Documentation + +* **samples:** Update package names to match v2 ([#424](https://github.com/googleapis/java-iam/issues/424)) ([7fda749](https://github.com/googleapis/java-iam/commit/7fda74962365073996bf1f0a6229bbf8984d1d09)) + + +### Dependencies + +* Update dependency cachetools to v5 ([#459](https://github.com/googleapis/java-iam/issues/459)) ([3984974](https://github.com/googleapis/java-iam/commit/3984974630ccd0921f12d276dbc22eb6798e74a9)) +* Update dependency certifi to v2022.9.24 ([#440](https://github.com/googleapis/java-iam/issues/440)) ([e0ebd9e](https://github.com/googleapis/java-iam/commit/e0ebd9e20a25e6edf7b913dea0943909ec28effb)) +* Update dependency charset-normalizer to v2.1.1 ([#444](https://github.com/googleapis/java-iam/issues/444)) ([4bac18b](https://github.com/googleapis/java-iam/commit/4bac18bd92702502730b878f10dcb12b39dfa1cf)) +* Update dependency click to v8.1.3 ([#445](https://github.com/googleapis/java-iam/issues/445)) ([e21bea2](https://github.com/googleapis/java-iam/commit/e21bea21af318e34220a649e9ec4bd9214f11feb)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 ([#435](https://github.com/googleapis/java-iam/issues/435)) ([63a136b](https://github.com/googleapis/java-iam/commit/63a136b56dff577ac1e630293c80bd10539c1930)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 ([#439](https://github.com/googleapis/java-iam/issues/439)) ([85b1d0f](https://github.com/googleapis/java-iam/commit/85b1d0f68950095c3ffd1ecda7eedc82ac5a92b1)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.1 ([#434](https://github.com/googleapis/java-iam/issues/434)) ([b468d86](https://github.com/googleapis/java-iam/commit/b468d86fdeb55b3f463a5c03c61f37f467bfeef6)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#463](https://github.com/googleapis/java-iam/issues/463)) ([a58810f](https://github.com/googleapis/java-iam/commit/a58810f3f6fc641b74cb92d358f71f9461ad9664)) +* Update dependency gcp-releasetool to v1.8.8 ([#441](https://github.com/googleapis/java-iam/issues/441)) ([89469a8](https://github.com/googleapis/java-iam/commit/89469a845e62479ab0f34a219486020d398aaf70)) +* Update dependency google-api-core to v2.10.1 ([#446](https://github.com/googleapis/java-iam/issues/446)) ([69dbd0d](https://github.com/googleapis/java-iam/commit/69dbd0d656656943851a9f5b159b4de0f7665a5d)) +* Update dependency google-auth to v2.12.0 ([#447](https://github.com/googleapis/java-iam/issues/447)) ([10fed85](https://github.com/googleapis/java-iam/commit/10fed85610182533b695fe741fe8e158e7b3799a)) +* Update dependency google-cloud-core to v2.3.2 ([#442](https://github.com/googleapis/java-iam/issues/442)) ([709e0b4](https://github.com/googleapis/java-iam/commit/709e0b407610ee5fec6bb38b695504c245f5d003)) +* Update dependency google-cloud-storage to v2.5.0 ([#448](https://github.com/googleapis/java-iam/issues/448)) ([4ef1f8e](https://github.com/googleapis/java-iam/commit/4ef1f8e6f5317ba339b94613a120d540acd90f57)) +* Update dependency google-crc32c to v1.5.0 ([#449](https://github.com/googleapis/java-iam/issues/449)) ([e54b847](https://github.com/googleapis/java-iam/commit/e54b8479589cb2350356c78c2f2a44a841e8f904)) +* Update dependency googleapis-common-protos to v1.56.4 ([#443](https://github.com/googleapis/java-iam/issues/443)) ([d060a5b](https://github.com/googleapis/java-iam/commit/d060a5b90ba189f1118b4ad899c7a0e9ad39bf44)) +* Update dependency importlib-metadata to v4.12.0 ([#450](https://github.com/googleapis/java-iam/issues/450)) ([248b90a](https://github.com/googleapis/java-iam/commit/248b90a6f715d881856a50e55df45b19a695ff32)) +* Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#464](https://github.com/googleapis/java-iam/issues/464)) ([406e890](https://github.com/googleapis/java-iam/commit/406e89048c62e264dcf93ef5c940734e7367a00f)) +* Update dependency io.grpc:grpc-stub to v1.49.2 ([#465](https://github.com/googleapis/java-iam/issues/465)) ([8735303](https://github.com/googleapis/java-iam/commit/8735303fc9eb7b1198ce2a2019e33ad5f63ec1cf)) +* Update dependency jeepney to v0.8.0 ([#451](https://github.com/googleapis/java-iam/issues/451)) ([0721ab8](https://github.com/googleapis/java-iam/commit/0721ab835c3a0588632916e70b2d92ff51824de6)) +* Update dependency jinja2 to v3.1.2 ([#452](https://github.com/googleapis/java-iam/issues/452)) ([514f80c](https://github.com/googleapis/java-iam/commit/514f80c8f051a8bb2f2fbf19d0e130c12b70ee9a)) +* Update dependency markupsafe to v2.1.1 ([#454](https://github.com/googleapis/java-iam/issues/454)) ([d6123a7](https://github.com/googleapis/java-iam/commit/d6123a709b01e1c40ce8423ebd70ed5a6c4ae4a0)) +* Update dependency protobuf to v3.20.2 ([#455](https://github.com/googleapis/java-iam/issues/455)) ([c9a631a](https://github.com/googleapis/java-iam/commit/c9a631ac0ba852fee31ddd458bb40bd78a081b75)) +* Update dependency protobuf to v4 ([#460](https://github.com/googleapis/java-iam/issues/460)) ([7738293](https://github.com/googleapis/java-iam/commit/773829323697e3c5785eb9b7bf7000fd296921b7)) +* Update dependency pyjwt to v2.5.0 ([#461](https://github.com/googleapis/java-iam/issues/461)) ([5f1659f](https://github.com/googleapis/java-iam/commit/5f1659f2cb1a20d9a034e1f6214ec793d2ef908c)) +* Update dependency requests to v2.28.1 ([#456](https://github.com/googleapis/java-iam/issues/456)) ([c390fee](https://github.com/googleapis/java-iam/commit/c390fee02a5545c567d45cc4375a5eb549d9765f)) +* Update dependency typing-extensions to v4.3.0 ([#457](https://github.com/googleapis/java-iam/issues/457)) ([913effd](https://github.com/googleapis/java-iam/commit/913effd62b170e96ebd74456b02692f462cedc40)) +* Update dependency zipp to v3.8.1 ([#458](https://github.com/googleapis/java-iam/issues/458)) ([5afe18a](https://github.com/googleapis/java-iam/commit/5afe18a7c6c0ef89b603455cea5569be71b27173)) + +## [1.6.1](https://github.com/googleapis/java-iam/compare/v1.6.0...v1.6.1) (2022-09-21) + + +### Dependencies + +* Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#425](https://github.com/googleapis/java-iam/issues/425)) ([61cbdf4](https://github.com/googleapis/java-iam/commit/61cbdf4c4ad3c559670cc39c864dfd03f8303667)) + +## [1.6.0](https://github.com/googleapis/java-iam/compare/v1.5.2...v1.6.0) (2022-09-20) + + +### Features + +* Add v2 client ([#423](https://github.com/googleapis/java-iam/issues/423)) ([6b6c24f](https://github.com/googleapis/java-iam/commit/6b6c24f11093d2ccc5e5005337576db7c9626ec0)) +* Update the public IAM Deny v2beta API ([5894873](https://github.com/googleapis/java-iam/commit/58948731feee6462ae75f6fe11c31e36e9ec6fce)) + + +### Documentation + +* **samples:** Update param values ([#401](https://github.com/googleapis/java-iam/issues/401)) ([8879c28](https://github.com/googleapis/java-iam/commit/8879c28cac3543c441be636da626bcc3c10509da)) + + +### Dependencies + +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-1.32.1 ([#383](https://github.com/googleapis/java-iam/issues/383)) ([0670b46](https://github.com/googleapis/java-iam/commit/0670b461db649b2be307735aa128e8273d42d38f)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-2.0.0 ([#396](https://github.com/googleapis/java-iam/issues/396)) ([ec96383](https://github.com/googleapis/java-iam/commit/ec96383900c271ddf96a58772ff459c6879c106f)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220731-2.0.0 ([#402](https://github.com/googleapis/java-iam/issues/402)) ([39605e5](https://github.com/googleapis/java-iam/commit/39605e5b1cb4ee9fea068e36a6452e02710ae03d)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220807-2.0.0 ([#407](https://github.com/googleapis/java-iam/issues/407)) ([475fa93](https://github.com/googleapis/java-iam/commit/475fa93c1b5affb19eec36856e719041d5bf56af)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220828-2.0.0 ([#417](https://github.com/googleapis/java-iam/issues/417)) ([f3b365d](https://github.com/googleapis/java-iam/commit/f3b365df695b61515871c24dd2d14cde015ad599)) +* Update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-1.32.1 ([#390](https://github.com/googleapis/java-iam/issues/390)) ([9bef280](https://github.com/googleapis/java-iam/commit/9bef280b9c871ad9333daa8f027b8679f91ccbb1)) +* Update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-2.0.0 ([#403](https://github.com/googleapis/java-iam/issues/403)) ([7a8270b](https://github.com/googleapis/java-iam/commit/7a8270b691b5c749c90185659bd3a51480c3e1c4)) +* Update dependency com.google.apis:google-api-services-iamcredentials to v1-rev20211203-2.0.0 ([#404](https://github.com/googleapis/java-iam/issues/404)) ([ee3537d](https://github.com/googleapis/java-iam/commit/ee3537d763c389d25d887fb1b2cfc61ff4101d65)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.10.0 ([#406](https://github.com/googleapis/java-iam/issues/406)) ([56284df](https://github.com/googleapis/java-iam/commit/56284df32ee657a5055e6dea3bd7b25772c218ea)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.11.0 ([#419](https://github.com/googleapis/java-iam/issues/419)) ([3375ba3](https://github.com/googleapis/java-iam/commit/3375ba3a5b44d97370233238a63e1a310b5b605a)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.1 ([#385](https://github.com/googleapis/java-iam/issues/385)) ([e6199b3](https://github.com/googleapis/java-iam/commit/e6199b3c094f606359c8e469a853a283cd82c836)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.9.0 ([#400](https://github.com/googleapis/java-iam/issues/400)) ([aa4e5b6](https://github.com/googleapis/java-iam/commit/aa4e5b6ec5af98925c4353c9393e33c423c67a60)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#395](https://github.com/googleapis/java-iam/issues/395)) ([a88edd6](https://github.com/googleapis/java-iam/commit/a88edd61e1a66c5f48185dd5e8a2a61e5e9a002e)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.1 ([#399](https://github.com/googleapis/java-iam/issues/399)) ([bf814a9](https://github.com/googleapis/java-iam/commit/bf814a9faf878195676937cfe793b4a20fff6f06)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#420](https://github.com/googleapis/java-iam/issues/420)) ([e358921](https://github.com/googleapis/java-iam/commit/e358921e5ade85359a97b6a19af7a8397227c428)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#426](https://github.com/googleapis/java-iam/issues/426)) ([6da2bd2](https://github.com/googleapis/java-iam/commit/6da2bd228c5e3b9f6d9d35e95b955c7fbd65807d)) +* Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.2 ([#386](https://github.com/googleapis/java-iam/issues/386)) ([de1b271](https://github.com/googleapis/java-iam/commit/de1b27180bf93a5c9b5a9a274f9d5a2c2ff5afc1)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.3 ([#391](https://github.com/googleapis/java-iam/issues/391)) ([02a3c56](https://github.com/googleapis/java-iam/commit/02a3c56b1143d497b98e2f437d9b36ea468e36ea)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.4 ([#393](https://github.com/googleapis/java-iam/issues/393)) ([f4c649b](https://github.com/googleapis/java-iam/commit/f4c649b67c0a8fa950487b3e3b2f10ab85136165)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.5 ([#405](https://github.com/googleapis/java-iam/issues/405)) ([66b27cb](https://github.com/googleapis/java-iam/commit/66b27cb9722cac68af7844447524f149fb08b3b0)) +* Update dependency io.grpc:grpc-protobuf to v1.48.0 ([#388](https://github.com/googleapis/java-iam/issues/388)) ([d7beea4](https://github.com/googleapis/java-iam/commit/d7beea4de4aff35f998b017c6d6136c76ec1e36b)) +* Update dependency io.grpc:grpc-protobuf to v1.48.1 ([#397](https://github.com/googleapis/java-iam/issues/397)) ([512a655](https://github.com/googleapis/java-iam/commit/512a6554067bbbe9ac400f833a0a8cd4bfaef785)) +* Update dependency io.grpc:grpc-protobuf to v1.49.0 ([#413](https://github.com/googleapis/java-iam/issues/413)) ([93ac43d](https://github.com/googleapis/java-iam/commit/93ac43deb5a663bd22b5d14f8ba7a4bdff6928cd)) +* Update dependency io.grpc:grpc-protobuf to v1.49.1 ([#427](https://github.com/googleapis/java-iam/issues/427)) ([c7b26dd](https://github.com/googleapis/java-iam/commit/c7b26dd62e4b22634f15e4eb19d96c3dfc919d11)) +* Update dependency io.grpc:grpc-stub to v1.48.0 ([#389](https://github.com/googleapis/java-iam/issues/389)) ([c76beb0](https://github.com/googleapis/java-iam/commit/c76beb01ba7a59cdfe60fc498f33881faadafe89)) +* Update dependency io.grpc:grpc-stub to v1.48.1 ([#398](https://github.com/googleapis/java-iam/issues/398)) ([4917a59](https://github.com/googleapis/java-iam/commit/4917a59ae856825e6e96a5b3ca0d766b8a931de6)) +* Update dependency io.grpc:grpc-stub to v1.49.0 ([#414](https://github.com/googleapis/java-iam/issues/414)) ([1d98460](https://github.com/googleapis/java-iam/commit/1d9846000bf41f20907dfcbc11574e88f91cc8f8)) +* Update dependency io.grpc:grpc-stub to v1.49.1 ([#428](https://github.com/googleapis/java-iam/issues/428)) ([ad6f449](https://github.com/googleapis/java-iam/commit/ad6f449c6fdfbf91a89561359ef2f124e9d8dfa2)) + +## [1.5.2](https://github.com/googleapis/java-iam/compare/v1.5.1...v1.5.2) (2022-07-13) + + +### Bug Fixes + +* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-iam/issues/1485)) ([#381](https://github.com/googleapis/java-iam/issues/381)) ([436496a](https://github.com/googleapis/java-iam/commit/436496a0c8d710bca7df3bf3d1dd96ce2d8099a8)) + +## [1.5.1](https://github.com/googleapis/java-iam/compare/v1.5.0...v1.5.1) (2022-07-12) + + +### Documentation + +* **samples:** add iam deny samples and test ([#371](https://github.com/googleapis/java-iam/issues/371)) ([c503444](https://github.com/googleapis/java-iam/commit/c50344450dcaaeed31ea33c494edf507c9b6ff6b)) + + +### Dependencies + +* update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220619-1.32.1 ([#375](https://github.com/googleapis/java-iam/issues/375)) ([9102337](https://github.com/googleapis/java-iam/commit/91023372c5ba198e428e0a5f87f657334f65d5da)) +* update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.0 ([#377](https://github.com/googleapis/java-iam/issues/377)) ([2687617](https://github.com/googleapis/java-iam/commit/268761726c8b70010d243b7f0c58db45a6590ef4)) +* update dependency com.google.http-client:google-http-client-jackson2 to v1.42.1 ([#378](https://github.com/googleapis/java-iam/issues/378)) ([7ea1243](https://github.com/googleapis/java-iam/commit/7ea1243a734745d04edba01c75e996737f97eee5)) + +## [1.5.0](https://github.com/googleapis/java-iam/compare/v1.4.1...v1.5.0) (2022-06-30) + + +### Features + +* add v2beta client ([#364](https://github.com/googleapis/java-iam/issues/364)) ([0904baa](https://github.com/googleapis/java-iam/commit/0904baa7be7dda2b0c8ec9e68ade548d173761fd)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#367](https://github.com/googleapis/java-iam/issues/367)) ([ece5f7d](https://github.com/googleapis/java-iam/commit/ece5f7dda5fcba488f1416593114ba6ab8ab31ef)) +* update dependency com.google.protobuf:protobuf-java to v3.21.2 ([#368](https://github.com/googleapis/java-iam/issues/368)) ([64b6349](https://github.com/googleapis/java-iam/commit/64b6349880792f3a534aa879ca1f0044d25603be)) + +## [1.4.1](https://github.com/googleapis/java-iam/compare/v1.4.0...v1.4.1) (2022-06-13) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.2.1 ([#358](https://github.com/googleapis/java-iam/issues/358)) ([e70e79f](https://github.com/googleapis/java-iam/commit/e70e79f3a8e6f3e2deac17d57489a5d6266e3e44)) +* update dependency com.google.protobuf:protobuf-java to v3.21.0 ([#354](https://github.com/googleapis/java-iam/issues/354)) ([0856c38](https://github.com/googleapis/java-iam/commit/0856c38dbc50cbe785e4f92a2f8ae55683a09613)) +* update dependency com.google.protobuf:protobuf-java to v3.21.1 ([#355](https://github.com/googleapis/java-iam/issues/355)) ([91c7aa3](https://github.com/googleapis/java-iam/commit/91c7aa3b03c30dbea09baf0eb674e92f5605b14d)) +* update dependency io.grpc:grpc-protobuf to v1.47.0 ([#356](https://github.com/googleapis/java-iam/issues/356)) ([560c161](https://github.com/googleapis/java-iam/commit/560c1614ca01e56479a4a8a732f3575f243076ef)) +* update dependency io.grpc:grpc-stub to v1.47.0 ([#357](https://github.com/googleapis/java-iam/issues/357)) ([37b9061](https://github.com/googleapis/java-iam/commit/37b906144fee70a5050c8e67e820435b2d42f781)) + +## [1.4.0](https://github.com/googleapis/java-iam/compare/v1.3.4...v1.4.0) (2022-05-19) + + +### Features + +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-iam/issues/1440)) ([#350](https://github.com/googleapis/java-iam/issues/350)) ([e83f148](https://github.com/googleapis/java-iam/commit/e83f148350c6e208f0290bf100f5b35461024073)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.2.0 ([#348](https://github.com/googleapis/java-iam/issues/348)) ([2013a52](https://github.com/googleapis/java-iam/commit/2013a526838de4d21694d59d256f48bf5976b109)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#349](https://github.com/googleapis/java-iam/issues/349)) ([e458fbe](https://github.com/googleapis/java-iam/commit/e458fbe851f27fd2a3c0ea487f71ddccc88173f7)) + +### [1.3.4](https://github.com/googleapis/java-iam/compare/v1.3.3...v1.3.4) (2022-05-10) + + +### Dependencies + +* update dependency io.grpc:grpc-protobuf to v1.46.0 ([#340](https://github.com/googleapis/java-iam/issues/340)) ([8ed87ef](https://github.com/googleapis/java-iam/commit/8ed87ef24ba184a1b1b386554aca94ae1fbbf9e6)) +* update dependency io.grpc:grpc-stub to v1.46.0 ([#341](https://github.com/googleapis/java-iam/issues/341)) ([92c7276](https://github.com/googleapis/java-iam/commit/92c72768d6ea7715da121c5504b95e598de770a0)) + +### [1.3.3](https://github.com/googleapis/java-iam/compare/v1.3.2...v1.3.3) (2022-04-22) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-java to v3.20.1 ([#337](https://github.com/googleapis/java-iam/issues/337)) ([83302e1](https://github.com/googleapis/java-iam/commit/83302e12860ca82234bd3f74234c373164e27ffb)) + +### [1.3.2](https://github.com/googleapis/java-iam/compare/v1.3.1...v1.3.2) (2022-04-15) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#332](https://github.com/googleapis/java-iam/issues/332)) ([78e6341](https://github.com/googleapis/java-iam/commit/78e6341388c63e6eabeb5fbb3ab21bbdc965ddef)) + +### [1.3.1](https://github.com/googleapis/java-iam/compare/v1.3.0...v1.3.1) (2022-04-11) + + +### Dependencies + +* revert dependency com.google.protobuf:protobuf-java to v3.19.4 ([#329](https://github.com/googleapis/java-iam/issues/329)) ([0e679c5](https://github.com/googleapis/java-iam/commit/0e679c5b63ac438f3f3f53b5a920c876450e0a94)) + +## [1.3.0](https://github.com/googleapis/java-iam/compare/v1.2.12...v1.3.0) (2022-04-05) + + +### Features + +* AuditConfig for IAM v1 ([#325](https://github.com/googleapis/java-iam/issues/325)) ([6798520](https://github.com/googleapis/java-iam/commit/6798520ca2b4b98f16492d4bb16be38e9eef3e36)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-java to v3.20.0 ([#324](https://github.com/googleapis/java-iam/issues/324)) ([c6209ac](https://github.com/googleapis/java-iam/commit/c6209ac7e33059d5169c65e86145bc25731e40e4)) +* update dependency io.grpc:grpc-protobuf to v1.45.1 ([#321](https://github.com/googleapis/java-iam/issues/321)) ([9dc32a4](https://github.com/googleapis/java-iam/commit/9dc32a4ba44803bdd8aed85d44ee4aebddc3f972)) +* update dependency io.grpc:grpc-stub to v1.45.1 ([#322](https://github.com/googleapis/java-iam/issues/322)) ([b114670](https://github.com/googleapis/java-iam/commit/b11467055d678e7474bb4ed4bb6d74184029ed5d)) + +### [1.2.12](https://github.com/googleapis/java-iam/compare/v1.2.11...v1.2.12) (2022-03-29) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 ([#318](https://github.com/googleapis/java-iam/issues/318)) ([9c856cb](https://github.com/googleapis/java-iam/commit/9c856cb07e8bea3fb50d627afb6dc054cc8859b2)) + +### [1.2.11](https://github.com/googleapis/java-iam/compare/v1.2.10...v1.2.11) (2022-03-25) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.5 ([#313](https://github.com/googleapis/java-iam/issues/313)) ([b52eee2](https://github.com/googleapis/java-iam/commit/b52eee23a3b6c2b51bbc19929f58f9c5215fb3f4)) + +### [1.2.10](https://github.com/googleapis/java-iam/compare/v1.2.9...v1.2.10) (2022-03-10) + + +### Dependencies + +* update dependency io.grpc:grpc-protobuf to v1.45.0 ([#310](https://github.com/googleapis/java-iam/issues/310)) ([2abec16](https://github.com/googleapis/java-iam/commit/2abec16ca95bffd6c3bdcaf4c98c53f8cb118a59)) + +### [1.2.9](https://github.com/googleapis/java-iam/compare/v1.2.8...v1.2.9) (2022-03-09) + + +### Dependencies + +* update dependency io.grpc:grpc-stub to v1.45.0 ([#307](https://github.com/googleapis/java-iam/issues/307)) ([756e6b0](https://github.com/googleapis/java-iam/commit/756e6b0399cfd29006a1c3f8e5bca9e6ef9892bc)) + +### [1.2.8](https://github.com/googleapis/java-iam/compare/v1.2.7...v1.2.8) (2022-03-08) + + +### Dependencies + +* update actions/checkout action to v3 ([#297](https://github.com/googleapis/java-iam/issues/297)) ([868362a](https://github.com/googleapis/java-iam/commit/868362ad7b801e79409e2415e51aee858055334c)) + +### [1.2.7](https://github.com/googleapis/java-iam/compare/v1.2.6...v1.2.7) (2022-03-02) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 ([#299](https://github.com/googleapis/java-iam/issues/299)) ([6cf3f84](https://github.com/googleapis/java-iam/commit/6cf3f841fff069816b02e40e98b4dc22ebfd06e5)) + +### [1.2.6](https://github.com/googleapis/java-iam/compare/v1.2.5...v1.2.6) (2022-03-01) + + +### Dependencies + +* update dependency io.grpc:grpc-protobuf to v1.44.1 ([#290](https://github.com/googleapis/java-iam/issues/290)) ([47cd461](https://github.com/googleapis/java-iam/commit/47cd461fd06a1529f6dc928a9e76893ebb489a39)) +* update dependency io.grpc:grpc-stub to v1.44.1 ([#291](https://github.com/googleapis/java-iam/issues/291)) ([83a2206](https://github.com/googleapis/java-iam/commit/83a2206864380ac1e4ed94af364a5809e32d358c)) + +### [1.2.5](https://github.com/googleapis/java-iam/compare/v1.2.4...v1.2.5) (2022-02-17) + + +### Dependencies + +* update actions/github-script action to v6 ([#287](https://github.com/googleapis/java-iam/issues/287)) ([eb96321](https://github.com/googleapis/java-iam/commit/eb96321d998fa6acf7285c878c4c044535a54af5)) + +### [1.2.4](https://github.com/googleapis/java-iam/compare/v1.2.3...v1.2.4) (2022-02-11) + + +### Dependencies + +* update actions/github-script action to v6 ([#284](https://github.com/googleapis/java-iam/issues/284)) ([4ab2967](https://github.com/googleapis/java-iam/commit/4ab2967034373c322df5f6a37ab5e66d3d38ae2b)) + +### [1.2.3](https://github.com/googleapis/java-iam/compare/v1.2.2...v1.2.3) (2022-02-08) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.4 ([#280](https://github.com/googleapis/java-iam/issues/280)) ([cabdb90](https://github.com/googleapis/java-iam/commit/cabdb90c8dca2a27a25318c07c03de2a6c45af1e)) + +### [1.2.2](https://github.com/googleapis/java-iam/compare/v1.2.1...v1.2.2) (2022-02-03) + + +### Dependencies + +* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-iam/issues/1339)) ([#267](https://github.com/googleapis/java-iam/issues/267)) ([afbdd89](https://github.com/googleapis/java-iam/commit/afbdd893410c9d64c6c6d0f1b74c309000eff36c)) +* update dependency com.google.api:api-common to v2.1.3 ([#271](https://github.com/googleapis/java-iam/issues/271)) ([6668de8](https://github.com/googleapis/java-iam/commit/6668de8094446a57285f32c41487ab69be771d31)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#273](https://github.com/googleapis/java-iam/issues/273)) ([97081c0](https://github.com/googleapis/java-iam/commit/97081c0facc1a32cc0bc705f1f7a7d4cddb8a558)) +* update dependency com.google.protobuf:protobuf-java to v3.19.3 ([#262](https://github.com/googleapis/java-iam/issues/262)) ([38187e9](https://github.com/googleapis/java-iam/commit/38187e92462656ba6cdb4f85e87b3fe577f0f212)) +* update dependency com.google.protobuf:protobuf-java to v3.19.4 ([#272](https://github.com/googleapis/java-iam/issues/272)) ([b82ca63](https://github.com/googleapis/java-iam/commit/b82ca6382332c37813916e379f3849c1b6ef7385)) +* update dependency io.grpc:grpc-protobuf to v1.44.0 ([#269](https://github.com/googleapis/java-iam/issues/269)) ([fb94161](https://github.com/googleapis/java-iam/commit/fb941613e346fc6ae5fd46beff0e899061d78653)) +* update dependency io.grpc:grpc-stub to v1.44.0 ([#270](https://github.com/googleapis/java-iam/issues/270)) ([e586dd2](https://github.com/googleapis/java-iam/commit/e586dd27aca076d42c7ff956d66ce025d41f7973)) + +### [1.2.1](https://www.github.com/googleapis/java-iam/compare/v1.2.0...v1.2.1) (2022-01-07) + + +### Bug Fixes + +* **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-iam/issues/1301)) ([#251](https://www.github.com/googleapis/java-iam/issues/251)) ([011932e](https://www.github.com/googleapis/java-iam/commit/011932e2c0a1c9d1444cef5e25420616c604b91e)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.2 ([#256](https://www.github.com/googleapis/java-iam/issues/256)) ([29c0f8d](https://www.github.com/googleapis/java-iam/commit/29c0f8dad438424400fbeaffd54d00326ce0954d)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 ([#257](https://www.github.com/googleapis/java-iam/issues/257)) ([8d41821](https://www.github.com/googleapis/java-iam/commit/8d4182108e826f9f0a236ece2fb19f96c1c65e88)) +* update dependency com.google.protobuf:protobuf-java to v3.19.2 ([#254](https://www.github.com/googleapis/java-iam/issues/254)) ([38dd15b](https://www.github.com/googleapis/java-iam/commit/38dd15b8afb5d3f0238e4f0d1323003b04425ff2)) +* update dependency io.grpc:grpc-protobuf to v1.43.2 ([#246](https://www.github.com/googleapis/java-iam/issues/246)) ([5f752dd](https://www.github.com/googleapis/java-iam/commit/5f752ddd31d3c3ac314aa792a8ed4eca35b53f81)) +* update dependency io.grpc:grpc-stub to v1.43.2 ([#247](https://www.github.com/googleapis/java-iam/issues/247)) ([1c60bb5](https://www.github.com/googleapis/java-iam/commit/1c60bb5f559fba678e6c20e52bd6f412a4032435)) + +## [1.2.0](https://www.github.com/googleapis/java-iam/compare/v1.1.7...v1.2.0) (2021-12-06) + + +### Features + +* Introduce Native Image testing build script changes ([#219](https://www.github.com/googleapis/java-iam/issues/219)) ([58c9a81](https://www.github.com/googleapis/java-iam/commit/58c9a81c55274b64c5e6877c9f909466a672c385)) + + +### Bug Fixes + +* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-iam/issues/1299)) ([#244](https://www.github.com/googleapis/java-iam/issues/244)) ([1a32e01](https://www.github.com/googleapis/java-iam/commit/1a32e01dc223e8ff11ff6483f1f7ae49f43b8de1)) +* **java:** java 17 dependency arguments ([#228](https://www.github.com/googleapis/java-iam/issues/228)) ([e609515](https://www.github.com/googleapis/java-iam/commit/e6095159733fb75e0fcc0620c7e6c93ef9586489)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.0 ([#225](https://www.github.com/googleapis/java-iam/issues/225)) ([ec4debe](https://www.github.com/googleapis/java-iam/commit/ec4debeb779d3561d6ce10d2bc7f871a1f84ae8c)) +* update dependency com.google.api:api-common to v2.1.1 ([#239](https://www.github.com/googleapis/java-iam/issues/239)) ([40da45b](https://www.github.com/googleapis/java-iam/commit/40da45bffe1ab87036e9d90121e9e9ed302d86a3)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#237](https://www.github.com/googleapis/java-iam/issues/237)) ([8dd21a9](https://www.github.com/googleapis/java-iam/commit/8dd21a9bf054701abdded0e6dd231e08452c13af)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 ([#243](https://www.github.com/googleapis/java-iam/issues/243)) ([fb72c8c](https://www.github.com/googleapis/java-iam/commit/fb72c8c4c19a580be8f17ee1ec5562c3200f37fb)) +* update dependency com.google.protobuf:protobuf-java to v3.19.1 ([#223](https://www.github.com/googleapis/java-iam/issues/223)) ([744abaf](https://www.github.com/googleapis/java-iam/commit/744abaf723ee59e5749bde76be6520f2e9e843e9)) +* update dependency io.grpc:grpc-protobuf to v1.42.0 ([#230](https://www.github.com/googleapis/java-iam/issues/230)) ([36a09e7](https://www.github.com/googleapis/java-iam/commit/36a09e753f1439d1975c5b388d460d84646f9190)) +* update dependency io.grpc:grpc-protobuf to v1.42.1 ([#235](https://www.github.com/googleapis/java-iam/issues/235)) ([1a3b49c](https://www.github.com/googleapis/java-iam/commit/1a3b49c3841709a4be09c342bc756c2824eba27c)) +* update dependency io.grpc:grpc-stub to v1.42.0 ([#231](https://www.github.com/googleapis/java-iam/issues/231)) ([d1903a9](https://www.github.com/googleapis/java-iam/commit/d1903a91193b22a1ec9ceac79770bf6ae6ea24d5)) +* update dependency io.grpc:grpc-stub to v1.42.1 ([#236](https://www.github.com/googleapis/java-iam/issues/236)) ([efa953f](https://www.github.com/googleapis/java-iam/commit/efa953f548cbf563fa88ee70ed538f898797c0f4)) + +### [1.1.7](https://www.github.com/googleapis/java-iam/compare/v1.1.6...v1.1.7) (2021-10-19) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 ([#220](https://www.github.com/googleapis/java-iam/issues/220)) ([dece964](https://www.github.com/googleapis/java-iam/commit/dece9643c9500a9f9c76e8fddee700447b4f6ab8)) + +### [1.1.6](https://www.github.com/googleapis/java-iam/compare/v1.1.5...v1.1.6) (2021-10-08) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.5 ([#214](https://www.github.com/googleapis/java-iam/issues/214)) ([f8b8caf](https://www.github.com/googleapis/java-iam/commit/f8b8cafd4e8c7617cac3a2ef4aaa855e4a1dbd8a)) + +### [1.1.5](https://www.github.com/googleapis/java-iam/compare/v1.1.4...v1.1.5) (2021-10-06) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.4 ([#210](https://www.github.com/googleapis/java-iam/issues/210)) ([8986cea](https://www.github.com/googleapis/java-iam/commit/8986cea79bb26b4a19014f81a557ed39711ac0d1)) + +### [1.1.4](https://www.github.com/googleapis/java-iam/compare/v1.1.3...v1.1.4) (2021-10-06) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-java to v3.18.1 ([#207](https://www.github.com/googleapis/java-iam/issues/207)) ([8dc9164](https://www.github.com/googleapis/java-iam/commit/8dc91645300940d9a20ff174e15c30bf34edda5e)) + +### [1.1.3](https://www.github.com/googleapis/java-iam/compare/v1.1.2...v1.1.3) (2021-09-24) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.3.0 ([#197](https://www.github.com/googleapis/java-iam/issues/197)) ([8594f40](https://www.github.com/googleapis/java-iam/commit/8594f4074be618506a553ba4436a6fc4fd9993ff)) +* update dependency io.grpc:grpc-protobuf to v1.41.0 ([#198](https://www.github.com/googleapis/java-iam/issues/198)) ([7862c1d](https://www.github.com/googleapis/java-iam/commit/7862c1de5798ed933279521e19cb2b4c6181871b)) +* update dependency io.grpc:grpc-stub to v1.41.0 ([#199](https://www.github.com/googleapis/java-iam/issues/199)) ([bf30e86](https://www.github.com/googleapis/java-iam/commit/bf30e86f21729716838e38a6527c16b2b09bc600)) + +### [1.1.2](https://www.github.com/googleapis/java-iam/compare/v1.1.1...v1.1.2) (2021-09-15) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-java to v3.18.0 ([#192](https://www.github.com/googleapis/java-iam/issues/192)) ([5f8f8f7](https://www.github.com/googleapis/java-iam/commit/5f8f8f7e69de53530425ab416c3b1dd21a2ce783)) + +### [1.1.1](https://www.github.com/googleapis/java-iam/compare/v1.1.0...v1.1.1) (2021-09-14) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.6 ([#178](https://www.github.com/googleapis/java-iam/issues/178)) ([05754fa](https://www.github.com/googleapis/java-iam/commit/05754fa01b0cb71e7c0e8be5c5947abd8301e55f)) +* update dependency com.google.api:api-common to v2 ([#182](https://www.github.com/googleapis/java-iam/issues/182)) ([87b589f](https://www.github.com/googleapis/java-iam/commit/87b589f978d94d465ab4d067584305d834f8be0e)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 ([#183](https://www.github.com/googleapis/java-iam/issues/183)) ([049d5bf](https://www.github.com/googleapis/java-iam/commit/049d5bf50d690765e8eef20e9eb098c13068b559)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.1 ([#189](https://www.github.com/googleapis/java-iam/issues/189)) ([c450ac3](https://www.github.com/googleapis/java-iam/commit/c450ac3e3e409f51e60015a501843f8de3d8eb8e)) +* update dependency io.grpc:grpc-protobuf to v1.40.1 ([#180](https://www.github.com/googleapis/java-iam/issues/180)) ([c1eeb9c](https://www.github.com/googleapis/java-iam/commit/c1eeb9cbf5dbaa21a3e9524d5f97807e5b0fb909)) +* update dependency io.grpc:grpc-stub to v1.40.1 ([#181](https://www.github.com/googleapis/java-iam/issues/181)) ([a5dbb9e](https://www.github.com/googleapis/java-iam/commit/a5dbb9e395e769f1604ab87c844ab5fe67a8a850)) + +## [1.1.0](https://www.github.com/googleapis/java-iam/compare/v1.0.14...v1.1.0) (2021-08-23) + + +### Features + +* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#148](https://www.github.com/googleapis/java-iam/issues/148)) ([05ef13b](https://www.github.com/googleapis/java-iam/commit/05ef13bfcf31bc8ef7d99bead3f3d9d4d4ffa8f9)) + + +### Bug Fixes + +* Add `shopt -s nullglob` to dependencies script ([#157](https://www.github.com/googleapis/java-iam/issues/157)) ([dcdffb7](https://www.github.com/googleapis/java-iam/commit/dcdffb70f9bba71121061a7def1b9d39525a9514)) +* Update dependencies.sh to not break on mac ([#155](https://www.github.com/googleapis/java-iam/issues/155)) ([f3993d8](https://www.github.com/googleapis/java-iam/commit/f3993d83efceda7f06e9da2624f418f6c69984e8)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.2.0 ([#147](https://www.github.com/googleapis/java-iam/issues/147)) ([ac861d0](https://www.github.com/googleapis/java-iam/commit/ac861d07dea6348cc1f8dc4cac991044f6f0702c)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.3.0 ([#154](https://www.github.com/googleapis/java-iam/issues/154)) ([6ba854f](https://www.github.com/googleapis/java-iam/commit/6ba854faefc1d4592062dbbeda0c3226bcb1412c)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 ([#158](https://www.github.com/googleapis/java-iam/issues/158)) ([67c523d](https://www.github.com/googleapis/java-iam/commit/67c523dc179802fcbec5a16893b955a4b3b7e4aa)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2 ([#168](https://www.github.com/googleapis/java-iam/issues/168)) ([86c46ff](https://www.github.com/googleapis/java-iam/commit/86c46ffc3f5348771b854f0996cc625f8889b012)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.1.0 ([#173](https://www.github.com/googleapis/java-iam/issues/173)) ([4788fec](https://www.github.com/googleapis/java-iam/commit/4788fecaf84b9772b1a7d866825dd97fa09ac42b)) + +### [1.0.14](https://www.github.com/googleapis/java-iam/compare/v1.0.13...v1.0.14) (2021-05-11) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#142](https://www.github.com/googleapis/java-iam/issues/142)) ([109ec5e](https://www.github.com/googleapis/java-iam/commit/109ec5ee3d5882fa840d4af6ad49d1a2c237bd28)) + +### [1.0.13](https://www.github.com/googleapis/java-iam/compare/v1.0.12...v1.0.13) (2021-04-23) + + +### Bug Fixes + +* release scripts from issuing overlapping phases ([#132](https://www.github.com/googleapis/java-iam/issues/132)) ([9af3e17](https://www.github.com/googleapis/java-iam/commit/9af3e17ae469bd1b654942e1539a364dac08ac75)) +* typo ([#129](https://www.github.com/googleapis/java-iam/issues/129)) ([42c037a](https://www.github.com/googleapis/java-iam/commit/42c037a09184dd1a03a28b23a1dc8c4eca10cfd0)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.1 ([#133](https://www.github.com/googleapis/java-iam/issues/133)) ([fb23683](https://www.github.com/googleapis/java-iam/commit/fb236830857bbbe17eaa71a1dd9f0ec424e238a3)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1 ([#136](https://www.github.com/googleapis/java-iam/issues/136)) ([be35bdf](https://www.github.com/googleapis/java-iam/commit/be35bdf2b8b8c271e8aba4a493994512bce24e95)) + +### [1.0.12](https://www.github.com/googleapis/java-iam/compare/v1.0.11...v1.0.12) (2021-04-09) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#125](https://www.github.com/googleapis/java-iam/issues/125)) ([f06c16c](https://www.github.com/googleapis/java-iam/commit/f06c16cd0cc443cfdc115b299e223147f98f7bfc)) + +### [1.0.11](https://www.github.com/googleapis/java-iam/compare/v1.0.10...v1.0.11) (2021-03-11) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#118](https://www.github.com/googleapis/java-iam/issues/118)) ([0268594](https://www.github.com/googleapis/java-iam/commit/02685944cef7c500a2ae28674a2873e40e840504)) + +### [1.0.10](https://www.github.com/googleapis/java-iam/compare/v1.0.9...v1.0.10) (2021-02-25) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 ([#112](https://www.github.com/googleapis/java-iam/issues/112)) ([83b637d](https://www.github.com/googleapis/java-iam/commit/83b637d88dba6c456d99b5bf547a765a83a91994)) + +### [1.0.9](https://www.github.com/googleapis/java-iam/compare/v1.0.8...v1.0.9) (2021-02-19) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#108](https://www.github.com/googleapis/java-iam/issues/108)) ([73c3243](https://www.github.com/googleapis/java-iam/commit/73c32437092c05d8c17f46544c77d39102167a02)) + +### [1.0.8](https://www.github.com/googleapis/java-iam/compare/v1.0.7...v1.0.8) (2021-01-14) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 ([#87](https://www.github.com/googleapis/java-iam/issues/87)) ([1d2dda2](https://www.github.com/googleapis/java-iam/commit/1d2dda295cb73db94f79c8dc6957c682dbf87182)) + +### [1.0.7](https://www.github.com/googleapis/java-iam/compare/v1.0.6...v1.0.7) (2021-01-13) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.1 ([#85](https://www.github.com/googleapis/java-iam/issues/85)) ([6e80faa](https://www.github.com/googleapis/java-iam/commit/6e80faa75433d1333344b66d632b48ab8e710b08)) + +### [1.0.6](https://www.github.com/googleapis/java-iam/compare/v1.0.5...v1.0.6) (2020-12-15) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.0 ([#80](https://www.github.com/googleapis/java-iam/issues/80)) ([a43419f](https://www.github.com/googleapis/java-iam/commit/a43419f88458f6ea904acea8814164f0d9755b5b)) + +### [1.0.5](https://www.github.com/googleapis/java-iam/compare/v1.0.4...v1.0.5) (2020-12-14) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.1 ([5f7cf81](https://www.github.com/googleapis/java-iam/commit/5f7cf81b8b82447155db8a23b16477a9c5e29a57)) + +### [1.0.4](https://www.github.com/googleapis/java-iam/compare/v1.0.3...v1.0.4) (2020-12-02) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 ([#68](https://www.github.com/googleapis/java-iam/issues/68)) ([c8cd19f](https://www.github.com/googleapis/java-iam/commit/c8cd19fa85ebd148b681d354b4807d042ba5308e)) + +### [1.0.3](https://www.github.com/googleapis/java-iam/compare/v1.0.2...v1.0.3) (2020-11-02) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 ([#61](https://www.github.com/googleapis/java-iam/issues/61)) ([6050071](https://www.github.com/googleapis/java-iam/commit/605007103cd0a18dc30e3b5c5b39118391723d61)) + +### [1.0.2](https://www.github.com/googleapis/java-iam/compare/v1.0.1...v1.0.2) (2020-10-22) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 ([#53](https://www.github.com/googleapis/java-iam/issues/53)) ([9aeabf1](https://www.github.com/googleapis/java-iam/commit/9aeabf1e63d4b020345a35df75c38151b217775f)) + +### [1.0.1](https://www.github.com/googleapis/java-iam/compare/v1.0.0...v1.0.1) (2020-09-21) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 ([#30](https://www.github.com/googleapis/java-iam/issues/30)) ([16c878b](https://www.github.com/googleapis/java-iam/commit/16c878bb9b704a97b78393a54dfa59ab06f1327a)) + +## [1.0.0](https://www.github.com/googleapis/java-iam/compare/v0.14.0...v1.0.0) (2020-08-12) + + +### Features + +* promote to 1.0.0 ([#16](https://www.github.com/googleapis/java-iam/issues/16)) ([84ff001](https://www.github.com/googleapis/java-iam/commit/84ff001e68e55145104095bc9193872f5e5623e4)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.6 ([#20](https://www.github.com/googleapis/java-iam/issues/20)) ([2613432](https://www.github.com/googleapis/java-iam/commit/2613432f698b6a857946ab5277d9ee55e6579f77)) + +## [0.14.0](https://www.github.com/googleapis/java-iam/compare/v0.13.0...v0.14.0) (2020-08-11) + + +### Features + +* **deps:** adopt flatten plugin and google-cloud-shared-dependencies ([#14](https://www.github.com/googleapis/java-iam/issues/14)) ([82c4bf5](https://www.github.com/googleapis/java-iam/commit/82c4bf50f419b7f57f9a0d15a554b7e8509b99db)) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 ([#2](https://www.github.com/googleapis/java-iam/issues/2)) ([81a7470](https://www.github.com/googleapis/java-iam/commit/81a7470ee9633ff052ccb679cbe37b0079ee51ef)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 ([#18](https://www.github.com/googleapis/java-iam/issues/18)) ([13767ef](https://www.github.com/googleapis/java-iam/commit/13767ef1890b5c81cab43baee28a1b535e5b7211)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.0 ([#6](https://www.github.com/googleapis/java-iam/issues/6)) ([73b7a4a](https://www.github.com/googleapis/java-iam/commit/73b7a4a03411326f88e49c2efbd1e34d2170dc1b)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.2 ([#8](https://www.github.com/googleapis/java-iam/issues/8)) ([5f005b4](https://www.github.com/googleapis/java-iam/commit/5f005b45498dc87aeb8cab35d72fbaae04386c24)) +* update dependency io.grpc:grpc-bom to v1.30.0 ([#10](https://www.github.com/googleapis/java-iam/issues/10)) ([f69ac15](https://www.github.com/googleapis/java-iam/commit/f69ac15807aafc345f980091feadd4eb3996976c)) diff --git a/java-iam/README.md b/java-iam/README.md new file mode 100644 index 000000000000..4074f1f0951c --- /dev/null +++ b/java-iam/README.md @@ -0,0 +1,65 @@ +# Google IAM Policy Protos + +Java protobuf classes for IAM Policy. + +[![Maven][maven-version-image]][maven-version-link] +![Stability][stability-image] + +- [Client Library Documentation][javadocs] + +## Java Versions + +Java 7 or above is required for using this client. + +## Versioning + +This library follows [Semantic Versioning](http://semver.org/). + +## Contributing + +Contributions to this library are always welcome and highly encouraged. + +See [CONTRIBUTING][contributing] for more information how to get started. + +Please note that this project is released with a Contributor Code of Conduct. By participating in +this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more +information. + +## License + +Apache 2.0 - See [LICENSE][license] for more information. + +## CI Status + +| Java Version | Status | +| -------------- | --------------------------------------------------------- | +| Java 7 | [![Kokoro CI][kokoro-badge-image-1]][kokoro-badge-link-1] | +| Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2] | +| Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3] | +| Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4] | +| Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] | + +[javadocs]: https://googleapis.dev/java/google-iam/latest/index.html +[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java7.svg +[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java7.html +[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8.svg +[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8.html +[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8-osx.svg +[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8-osx.html +[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8-win.svg +[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8-win.html +[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java11.svg +[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java11.html +[stability-image]: https://img.shields.io/badge/stability-ga-green +[maven-version-image]: https://img.shields.io/maven-central/v/com.google.api.grpc/proto-google-iam-v1.svg +[maven-version-link]: https://search.maven.org/search?q=g:com.google.api.grpc%20AND%20a:proto-google-iam-v1&core=gav +[authentication]: https://github.com/googleapis/google-cloud-java#authentication +[developer-console]: https://console.developers.google.com/ +[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects +[cloud-sdk]: https://cloud.google.com/sdk/ +[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting +[contributing]: https://github.com/googleapis/java-iam/blob/main/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-iam/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct +[license]: https://github.com/googleapis/java-iam/blob/main/LICENSE +[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing +[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM diff --git a/java-iam/google-iam-policy-bom/pom.xml b/java-iam/google-iam-policy-bom/pom.xml new file mode 100644 index 000000000000..a870cf5e54be --- /dev/null +++ b/java-iam/google-iam-policy-bom/pom.xml @@ -0,0 +1,34 @@ + + + 4.0.0 + com.google.cloud + google-iam-policy-bom + 1.8.0 + pom + + + com.google.cloud + google-cloud-pom-parent + 1.4.0 + ../../google-cloud-pom-parent/pom.xml + + + Google IAM Policy BOM + + BOM for Google IAM Policy + + + + true + + + + + + com.google.cloud + google-iam-policy + 1.8.0 + + + + diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml new file mode 100644 index 000000000000..4e761eb10fee --- /dev/null +++ b/java-iam/google-iam-policy/pom.xml @@ -0,0 +1,110 @@ + + + 4.0.0 + com.google.cloud + google-iam-policy + 1.8.0 + jar + Google IAM Policy + Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. + + com.google.cloud + google-iam-policy-parent + 1.8.0 + + + google-iam-policy + + + + io.grpc + grpc-api + + + io.grpc + grpc-stub + + + io.grpc + grpc-protobuf + + + com.google.api + api-common + + + com.google.protobuf + protobuf-java + + + com.google.api.grpc + proto-google-common-protos + + + + com.google.api.grpc + proto-google-iam-v2beta + + + com.google.api.grpc + proto-google-iam-v2 + + + com.google.guava + guava + + + com.google.api + gax + + + com.google.api + gax-grpc + + + com.google.api + gax-httpjson + + + org.threeten + threetenbp + + + + + junit + junit + test + + + + com.google.api.grpc + grpc-google-iam-v2beta + test + + + com.google.api.grpc + grpc-google-iam-v2 + test + + + + com.google.api + gax + testlib + test + + + com.google.api + gax-grpc + testlib + test + + + com.google.api + gax-httpjson + testlib + test + + + diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java new file mode 100644 index 000000000000..3e57043ffcb0 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java @@ -0,0 +1,883 @@ +/* + * Copyright 2022 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.iam.v2; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.iam.v2.stub.PoliciesStub; +import com.google.iam.v2.stub.PoliciesStubSettings; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: An interface for managing Identity and Access Management (IAM) policies. + * + *

      This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

      {@code
      + * // This snippet has been automatically generated and should be regarded as a code template only.
      + * // It will require modifications to work:
      + * // - It may require correct/in-range values for request initialization.
      + * // - It may require specifying regional endpoints when creating the service client as shown in
      + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      + * try (PoliciesClient policiesClient = PoliciesClient.create()) {
      + *   String name = "name3373707";
      + *   Policy response = policiesClient.getPolicy(name);
      + * }
      + * }
      + * + *

      Note: close() needs to be called on the PoliciesClient object to clean up resources such as + * threads. In the example above, try-with-resources is used, which automatically calls close(). + * + *

      The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

        + *
      1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
      2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
      3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
      + * + *

      See the individual methods for example code. + * + *

      Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

      This class can be customized by passing in a custom instance of PoliciesSettings to create(). + * For example: + * + *

      To customize credentials: + * + *

      {@code
      + * // This snippet has been automatically generated and should be regarded as a code template only.
      + * // It will require modifications to work:
      + * // - It may require correct/in-range values for request initialization.
      + * // - It may require specifying regional endpoints when creating the service client as shown in
      + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      + * PoliciesSettings policiesSettings =
      + *     PoliciesSettings.newBuilder()
      + *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
      + *         .build();
      + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
      + * }
      + * + *

      To customize the endpoint: + * + *

      {@code
      + * // This snippet has been automatically generated and should be regarded as a code template only.
      + * // It will require modifications to work:
      + * // - It may require correct/in-range values for request initialization.
      + * // - It may require specifying regional endpoints when creating the service client as shown in
      + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      + * PoliciesSettings policiesSettings =
      + *     PoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
      + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
      + * }
      + * + *

      To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

      {@code
      + * // This snippet has been automatically generated and should be regarded as a code template only.
      + * // It will require modifications to work:
      + * // - It may require correct/in-range values for request initialization.
      + * // - It may require specifying regional endpoints when creating the service client as shown in
      + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      + * PoliciesSettings policiesSettings = PoliciesSettings.newHttpJsonBuilder().build();
      + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
      + * }
      + * + *

      Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class PoliciesClient implements BackgroundResource { + private final PoliciesSettings settings; + private final PoliciesStub stub; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; + + /** Constructs an instance of PoliciesClient with default settings. */ + public static final PoliciesClient create() throws IOException { + return create(PoliciesSettings.newBuilder().build()); + } + + /** + * Constructs an instance of PoliciesClient, using the given settings. The channels are created + * based on the settings passed in, or defaults for any settings that are not set. + */ + public static final PoliciesClient create(PoliciesSettings settings) throws IOException { + return new PoliciesClient(settings); + } + + /** + * Constructs an instance of PoliciesClient, using the given stub for making calls. This is for + * advanced usage - prefer using create(PoliciesSettings). + */ + public static final PoliciesClient create(PoliciesStub stub) { + return new PoliciesClient(stub); + } + + /** + * Constructs an instance of PoliciesClient, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected PoliciesClient(PoliciesSettings settings) throws IOException { + this.settings = settings; + this.stub = ((PoliciesStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); + } + + protected PoliciesClient(PoliciesStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); + } + + public final PoliciesSettings getSettings() { + return settings; + } + + public PoliciesStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final com.google.longrunning.OperationsClient getOperationsClient() { + return operationsClient; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + @BetaApi + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

      The response lists only policy metadata. In particular, policy rules are omitted. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   String parent = "parent-995424086";
      +   *   for (Policy element : policiesClient.listPolicies(parent).iterateAll()) {
      +   *     // doThingsWith(element);
      +   *   }
      +   * }
      +   * }
      + * + * @param parent Required. The resource that the policy is attached to, along with the kind of + * policy to list. Format: `policies/{attachment_point}/denypolicies` + *

      The attachment point is identified by its URL-encoded full resource name, which means + * that the forward-slash character, `/`, must be written as `%2F`. For example, + * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + *

      For organizations and folders, use the numeric ID in the full resource name. For + * projects, you can use the alphanumeric or the numeric ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPoliciesPagedResponse listPolicies(String parent) { + ListPoliciesRequest request = ListPoliciesRequest.newBuilder().setParent(parent).build(); + return listPolicies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

      The response lists only policy metadata. In particular, policy rules are omitted. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   ListPoliciesRequest request =
      +   *       ListPoliciesRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPageSize(883849137)
      +   *           .setPageToken("pageToken873572522")
      +   *           .build();
      +   *   for (Policy element : policiesClient.listPolicies(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 ListPoliciesPagedResponse listPolicies(ListPoliciesRequest request) { + return listPoliciesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

      The response lists only policy metadata. In particular, policy rules are omitted. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   ListPoliciesRequest request =
      +   *       ListPoliciesRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPageSize(883849137)
      +   *           .setPageToken("pageToken873572522")
      +   *           .build();
      +   *   ApiFuture future = policiesClient.listPoliciesPagedCallable().futureCall(request);
      +   *   // Do something.
      +   *   for (Policy element : future.get().iterateAll()) {
      +   *     // doThingsWith(element);
      +   *   }
      +   * }
      +   * }
      + */ + public final UnaryCallable + listPoliciesPagedCallable() { + return stub.listPoliciesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

      The response lists only policy metadata. In particular, policy rules are omitted. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   ListPoliciesRequest request =
      +   *       ListPoliciesRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPageSize(883849137)
      +   *           .setPageToken("pageToken873572522")
      +   *           .build();
      +   *   while (true) {
      +   *     ListPoliciesResponse response = policiesClient.listPoliciesCallable().call(request);
      +   *     for (Policy element : response.getPoliciesList()) {
      +   *       // doThingsWith(element);
      +   *     }
      +   *     String nextPageToken = response.getNextPageToken();
      +   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
      +   *       request = request.toBuilder().setPageToken(nextPageToken).build();
      +   *     } else {
      +   *       break;
      +   *     }
      +   *   }
      +   * }
      +   * }
      + */ + public final UnaryCallable listPoliciesCallable() { + return stub.listPoliciesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   String name = "name3373707";
      +   *   Policy response = policiesClient.getPolicy(name);
      +   * }
      +   * }
      + * + * @param name Required. The resource name of the policy to retrieve. Format: + * `policies/{attachment_point}/denypolicies/{policy_id}` + *

      Use the URL-encoded full resource name, which means that the forward-slash character, + * `/`, must be written as `%2F`. For example, + * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`. + *

      For organizations and folders, use the numeric ID in the full resource name. For + * projects, you can use the alphanumeric or the numeric ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getPolicy(String name) { + GetPolicyRequest request = GetPolicyRequest.newBuilder().setName(name).build(); + return getPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
      +   *   Policy response = policiesClient.getPolicy(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 getPolicy(GetPolicyRequest request) { + return getPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
      +   *   ApiFuture future = policiesClient.getPolicyCallable().futureCall(request);
      +   *   // Do something.
      +   *   Policy response = future.get();
      +   * }
      +   * }
      + */ + public final UnaryCallable getPolicyCallable() { + return stub.getPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   String parent = "parent-995424086";
      +   *   Policy policy = Policy.newBuilder().build();
      +   *   String policyId = "policyId546908653";
      +   *   Policy response = policiesClient.createPolicyAsync(parent, policy, policyId).get();
      +   * }
      +   * }
      + * + * @param parent Required. The resource that the policy is attached to, along with the kind of + * policy to create. Format: `policies/{attachment_point}/denypolicies` + *

      The attachment point is identified by its URL-encoded full resource name, which means + * that the forward-slash character, `/`, must be written as `%2F`. For example, + * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + *

      For organizations and folders, use the numeric ID in the full resource name. For + * projects, you can use the alphanumeric or the numeric ID. + * @param policy Required. The policy to create. + * @param policyId The ID to use for this policy, which will become the final component of the + * policy's resource name. The ID must contain 3 to 63 characters. It can contain lowercase + * letters and numbers, as well as dashes (`-`) and periods (`.`). The first character must be + * a lowercase letter. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createPolicyAsync( + String parent, Policy policy, String policyId) { + CreatePolicyRequest request = + CreatePolicyRequest.newBuilder() + .setParent(parent) + .setPolicy(policy) + .setPolicyId(policyId) + .build(); + return createPolicyAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   CreatePolicyRequest request =
      +   *       CreatePolicyRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPolicy(Policy.newBuilder().build())
      +   *           .setPolicyId("policyId546908653")
      +   *           .build();
      +   *   Policy response = policiesClient.createPolicyAsync(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 createPolicyAsync( + CreatePolicyRequest request) { + return createPolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   CreatePolicyRequest request =
      +   *       CreatePolicyRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPolicy(Policy.newBuilder().build())
      +   *           .setPolicyId("policyId546908653")
      +   *           .build();
      +   *   OperationFuture future =
      +   *       policiesClient.createPolicyOperationCallable().futureCall(request);
      +   *   // Do something.
      +   *   Policy response = future.get();
      +   * }
      +   * }
      + */ + public final OperationCallable + createPolicyOperationCallable() { + return stub.createPolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   CreatePolicyRequest request =
      +   *       CreatePolicyRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPolicy(Policy.newBuilder().build())
      +   *           .setPolicyId("policyId546908653")
      +   *           .build();
      +   *   ApiFuture future = policiesClient.createPolicyCallable().futureCall(request);
      +   *   // Do something.
      +   *   Operation response = future.get();
      +   * }
      +   * }
      + */ + public final UnaryCallable createPolicyCallable() { + return stub.createPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

      You can update only the rules and the display name for the policy. + * + *

      To update a policy, you should use a read-modify-write loop: + * + *

      1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

      This pattern helps prevent conflicts between concurrent updates. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   UpdatePolicyRequest request =
      +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
      +   *   Policy response = policiesClient.updatePolicyAsync(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 updatePolicyAsync( + UpdatePolicyRequest request) { + return updatePolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

      You can update only the rules and the display name for the policy. + * + *

      To update a policy, you should use a read-modify-write loop: + * + *

      1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

      This pattern helps prevent conflicts between concurrent updates. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   UpdatePolicyRequest request =
      +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
      +   *   OperationFuture future =
      +   *       policiesClient.updatePolicyOperationCallable().futureCall(request);
      +   *   // Do something.
      +   *   Policy response = future.get();
      +   * }
      +   * }
      + */ + public final OperationCallable + updatePolicyOperationCallable() { + return stub.updatePolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

      You can update only the rules and the display name for the policy. + * + *

      To update a policy, you should use a read-modify-write loop: + * + *

      1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

      This pattern helps prevent conflicts between concurrent updates. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   UpdatePolicyRequest request =
      +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
      +   *   ApiFuture future = policiesClient.updatePolicyCallable().futureCall(request);
      +   *   // Do something.
      +   *   Operation response = future.get();
      +   * }
      +   * }
      + */ + public final UnaryCallable updatePolicyCallable() { + return stub.updatePolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   String name = "name3373707";
      +   *   Policy response = policiesClient.deletePolicyAsync(name).get();
      +   * }
      +   * }
      + * + * @param name Required. The resource name of the policy to delete. Format: + * `policies/{attachment_point}/denypolicies/{policy_id}` + *

      Use the URL-encoded full resource name, which means that the forward-slash character, + * `/`, must be written as `%2F`. For example, + * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`. + *

      For organizations and folders, use the numeric ID in the full resource name. For + * projects, you can use the alphanumeric or the numeric ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deletePolicyAsync(String name) { + DeletePolicyRequest request = DeletePolicyRequest.newBuilder().setName(name).build(); + return deletePolicyAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   DeletePolicyRequest request =
      +   *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
      +   *   Policy response = policiesClient.deletePolicyAsync(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 deletePolicyAsync( + DeletePolicyRequest request) { + return deletePolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   DeletePolicyRequest request =
      +   *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
      +   *   OperationFuture future =
      +   *       policiesClient.deletePolicyOperationCallable().futureCall(request);
      +   *   // Do something.
      +   *   Policy response = future.get();
      +   * }
      +   * }
      + */ + public final OperationCallable + deletePolicyOperationCallable() { + return stub.deletePolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   DeletePolicyRequest request =
      +   *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
      +   *   ApiFuture future = policiesClient.deletePolicyCallable().futureCall(request);
      +   *   // Do something.
      +   *   Operation response = future.get();
      +   * }
      +   * }
      + */ + public final UnaryCallable deletePolicyCallable() { + return stub.deletePolicyCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListPoliciesPagedResponse + extends AbstractPagedListResponse< + ListPoliciesRequest, + ListPoliciesResponse, + Policy, + ListPoliciesPage, + ListPoliciesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListPoliciesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListPoliciesPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListPoliciesPagedResponse(ListPoliciesPage page) { + super(page, ListPoliciesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListPoliciesPage + extends AbstractPage { + + private ListPoliciesPage( + PageContext context, + ListPoliciesResponse response) { + super(context, response); + } + + private static ListPoliciesPage createEmptyPage() { + return new ListPoliciesPage(null, null); + } + + @Override + protected ListPoliciesPage createPage( + PageContext context, + ListPoliciesResponse response) { + return new ListPoliciesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListPoliciesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListPoliciesRequest, + ListPoliciesResponse, + Policy, + ListPoliciesPage, + ListPoliciesFixedSizeCollection> { + + private ListPoliciesFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListPoliciesFixedSizeCollection createEmptyCollection() { + return new ListPoliciesFixedSizeCollection(null, 0); + } + + @Override + protected ListPoliciesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListPoliciesFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java new file mode 100644 index 000000000000..06ec905be736 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java @@ -0,0 +1,284 @@ +/* + * Copyright 2022 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.iam.v2; + +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.iam.v2.stub.PoliciesStubSettings; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link PoliciesClient}. + * + *

      The default instance has everything set to sensible defaults: + * + *

        + *
      • The default service address (iam.googleapis.com) and default port (443) are used. + *
      • Credentials are acquired automatically through Application Default Credentials. + *
      • Retries are configured for idempotent methods but not for non-idempotent methods. + *
      + * + *

      The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

      For example, to set the total timeout of getPolicy to 30 seconds: + * + *

      {@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
      + * PoliciesSettings.Builder policiesSettingsBuilder = PoliciesSettings.newBuilder();
      + * policiesSettingsBuilder
      + *     .getPolicySettings()
      + *     .setRetrySettings(
      + *         policiesSettingsBuilder.getPolicySettings().getRetrySettings().toBuilder()
      + *             .setTotalTimeout(Duration.ofSeconds(30))
      + *             .build());
      + * PoliciesSettings policiesSettings = policiesSettingsBuilder.build();
      + * }
      + */ +@Generated("by gapic-generator-java") +public class PoliciesSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to listPolicies. */ + public PagedCallSettings + listPoliciesSettings() { + return ((PoliciesStubSettings) getStubSettings()).listPoliciesSettings(); + } + + /** Returns the object with the settings used for calls to getPolicy. */ + public UnaryCallSettings getPolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).getPolicySettings(); + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public UnaryCallSettings createPolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).createPolicySettings(); + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public OperationCallSettings + createPolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).createPolicyOperationSettings(); + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public UnaryCallSettings updatePolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).updatePolicySettings(); + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public OperationCallSettings + updatePolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).updatePolicyOperationSettings(); + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public UnaryCallSettings deletePolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).deletePolicySettings(); + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public OperationCallSettings + deletePolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).deletePolicyOperationSettings(); + } + + public static final PoliciesSettings create(PoliciesStubSettings stub) throws IOException { + return new PoliciesSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return PoliciesStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return PoliciesStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return PoliciesStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return PoliciesStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return PoliciesStubSettings.defaultGrpcTransportProviderBuilder(); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return PoliciesStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return PoliciesStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return PoliciesStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected PoliciesSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for PoliciesSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(PoliciesStubSettings.newBuilder(clientContext)); + } + + protected Builder(PoliciesSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(PoliciesStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(PoliciesStubSettings.newBuilder()); + } + + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(PoliciesStubSettings.newHttpJsonBuilder()); + } + + public PoliciesStubSettings.Builder getStubSettingsBuilder() { + return ((PoliciesStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

      Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to listPolicies. */ + public PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings() { + return getStubSettingsBuilder().listPoliciesSettings(); + } + + /** Returns the builder for the settings used for calls to getPolicy. */ + public UnaryCallSettings.Builder getPolicySettings() { + return getStubSettingsBuilder().getPolicySettings(); + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public UnaryCallSettings.Builder createPolicySettings() { + return getStubSettingsBuilder().createPolicySettings(); + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public OperationCallSettings.Builder + createPolicyOperationSettings() { + return getStubSettingsBuilder().createPolicyOperationSettings(); + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public UnaryCallSettings.Builder updatePolicySettings() { + return getStubSettingsBuilder().updatePolicySettings(); + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public OperationCallSettings.Builder + updatePolicyOperationSettings() { + return getStubSettingsBuilder().updatePolicyOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public UnaryCallSettings.Builder deletePolicySettings() { + return getStubSettingsBuilder().deletePolicySettings(); + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public OperationCallSettings.Builder + deletePolicyOperationSettings() { + return getStubSettingsBuilder().deletePolicyOperationSettings(); + } + + @Override + public PoliciesSettings build() throws IOException { + return new PoliciesSettings(this); + } + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json new file mode 100644 index 000000000000..4277cbfcc4ab --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json @@ -0,0 +1,33 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.iam.v2", + "libraryPackage": "com.google.iam.v2", + "services": { + "Policies": { + "clients": { + "grpc": { + "libraryClient": "PoliciesClient", + "rpcs": { + "CreatePolicy": { + "methods": ["createPolicyAsync", "createPolicyAsync", "createPolicyOperationCallable", "createPolicyCallable"] + }, + "DeletePolicy": { + "methods": ["deletePolicyAsync", "deletePolicyAsync", "deletePolicyOperationCallable", "deletePolicyCallable"] + }, + "GetPolicy": { + "methods": ["getPolicy", "getPolicy", "getPolicyCallable"] + }, + "ListPolicies": { + "methods": ["listPolicies", "listPolicies", "listPoliciesPagedCallable", "listPoliciesCallable"] + }, + "UpdatePolicy": { + "methods": ["updatePolicyAsync", "updatePolicyOperationCallable", "updatePolicyCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/package-info.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/package-info.java new file mode 100644 index 000000000000..1994b92c0cd1 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/package-info.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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. + */ + +/** + * A client to Identity and Access Management (IAM) API + * + *

      The interfaces provided are listed below, along with usage samples. + * + *

      ======================= PoliciesClient ======================= + * + *

      Service Description: An interface for managing Identity and Access Management (IAM) policies. + * + *

      Sample for PoliciesClient: + * + *

      {@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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      + *   String name = "name3373707";
      + *   Policy response = policiesClient.getPolicy(name);
      + * }
      + * }
      + */ +@Generated("by gapic-generator-java") +package com.google.iam.v2; + +import javax.annotation.Generated; diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/GrpcPolicyBasedRoutingServiceCallableFactory.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesCallableFactory.java similarity index 95% rename from java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/GrpcPolicyBasedRoutingServiceCallableFactory.java rename to java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesCallableFactory.java index 30603bafc32f..a09e64777e3f 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/GrpcPolicyBasedRoutingServiceCallableFactory.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesCallableFactory.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1.stub; +package com.google.iam.v2.stub; import com.google.api.gax.grpc.GrpcCallSettings; import com.google.api.gax.grpc.GrpcCallableFactory; @@ -37,12 +37,12 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * gRPC callable factory implementation for the PolicyBasedRoutingService service API. + * gRPC callable factory implementation for the Policies service API. * *

      This class is for advanced usage. */ @Generated("by gapic-generator-java") -public class GrpcPolicyBasedRoutingServiceCallableFactory implements GrpcStubCallableFactory { +public class GrpcPoliciesCallableFactory implements GrpcStubCallableFactory { @Override public UnaryCallable createUnaryCallable( diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java new file mode 100644 index 000000000000..61258f90181e --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java @@ -0,0 +1,330 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableMap; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.ListPoliciesRequest; +import com.google.iam.v2.ListPoliciesResponse; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyOperationMetadata; +import com.google.iam.v2.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the Policies service API. + * + *

      This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcPoliciesStub extends PoliciesStub { + private static final MethodDescriptor + listPoliciesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/ListPolicies") + .setRequestMarshaller(ProtoUtils.marshaller(ListPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListPoliciesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/GetPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/CreatePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(CreatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updatePolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/UpdatePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(UpdatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deletePolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/DeletePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(DeletePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private final UnaryCallable listPoliciesCallable; + private final UnaryCallable + listPoliciesPagedCallable; + private final UnaryCallable getPolicyCallable; + private final UnaryCallable createPolicyCallable; + private final OperationCallable + createPolicyOperationCallable; + private final UnaryCallable updatePolicyCallable; + private final OperationCallable + updatePolicyOperationCallable; + private final UnaryCallable deletePolicyCallable; + private final OperationCallable + deletePolicyOperationCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcPoliciesStub create(PoliciesStubSettings settings) throws IOException { + return new GrpcPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final GrpcPoliciesStub create(ClientContext clientContext) throws IOException { + return new GrpcPoliciesStub(PoliciesStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcPoliciesStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcPoliciesStub( + PoliciesStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcPoliciesStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcPoliciesStub(PoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcPoliciesCallableFactory()); + } + + /** + * Constructs an instance of GrpcPoliciesStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcPoliciesStub( + PoliciesStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings listPoliciesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listPoliciesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings createPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings updatePolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updatePolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("policy.name", String.valueOf(request.getPolicy().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deletePolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deletePolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + + this.listPoliciesCallable = + callableFactory.createUnaryCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.listPoliciesPagedCallable = + callableFactory.createPagedCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.getPolicyCallable = + callableFactory.createUnaryCallable( + getPolicyTransportSettings, settings.getPolicySettings(), clientContext); + this.createPolicyCallable = + callableFactory.createUnaryCallable( + createPolicyTransportSettings, settings.createPolicySettings(), clientContext); + this.createPolicyOperationCallable = + callableFactory.createOperationCallable( + createPolicyTransportSettings, + settings.createPolicyOperationSettings(), + clientContext, + operationsStub); + this.updatePolicyCallable = + callableFactory.createUnaryCallable( + updatePolicyTransportSettings, settings.updatePolicySettings(), clientContext); + this.updatePolicyOperationCallable = + callableFactory.createOperationCallable( + updatePolicyTransportSettings, + settings.updatePolicyOperationSettings(), + clientContext, + operationsStub); + this.deletePolicyCallable = + callableFactory.createUnaryCallable( + deletePolicyTransportSettings, settings.deletePolicySettings(), clientContext); + this.deletePolicyOperationCallable = + callableFactory.createOperationCallable( + deletePolicyTransportSettings, + settings.deletePolicyOperationSettings(), + clientContext, + operationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable listPoliciesCallable() { + return listPoliciesCallable; + } + + @Override + public UnaryCallable listPoliciesPagedCallable() { + return listPoliciesPagedCallable; + } + + @Override + public UnaryCallable getPolicyCallable() { + return getPolicyCallable; + } + + @Override + public UnaryCallable createPolicyCallable() { + return createPolicyCallable; + } + + @Override + public OperationCallable + createPolicyOperationCallable() { + return createPolicyOperationCallable; + } + + @Override + public UnaryCallable updatePolicyCallable() { + return updatePolicyCallable; + } + + @Override + public OperationCallable + updatePolicyOperationCallable() { + return updatePolicyOperationCallable; + } + + @Override + public UnaryCallable deletePolicyCallable() { + return deletePolicyCallable; + } + + @Override + public OperationCallable + deletePolicyOperationCallable() { + return deletePolicyOperationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/HttpJsonTetherCallableFactory.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesCallableFactory.java similarity index 96% rename from java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/HttpJsonTetherCallableFactory.java rename to java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesCallableFactory.java index 915ddf53a75e..27bd9b725e7f 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/HttpJsonTetherCallableFactory.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesCallableFactory.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud.apigeeconnect.v1.stub; +package com.google.iam.v2.stub; import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.HttpJsonCallSettings; @@ -36,13 +36,13 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * REST callable factory implementation for the Tether service API. + * REST callable factory implementation for the Policies service API. * *

      This class is for advanced usage. */ @Generated("by gapic-generator-java") @BetaApi -public class HttpJsonTetherCallableFactory +public class HttpJsonPoliciesCallableFactory implements HttpJsonStubCallableFactory { @Override diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java new file mode 100644 index 000000000000..a0fbb9339af8 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java @@ -0,0 +1,481 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.ListPoliciesRequest; +import com.google.iam.v2.ListPoliciesResponse; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyOperationMetadata; +import com.google.iam.v2.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the Policies service API. + * + *

      This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonPoliciesStub extends PoliciesStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(PolicyOperationMetadata.getDescriptor()) + .add(Policy.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + listPoliciesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/ListPolicies") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{parent=policies/*/*}", + 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(ListPoliciesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/GetPolicy") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=policies/*/*/*}", + 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(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/CreatePolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{parent=policies/*/*}", + 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, "policyId", request.getPolicyId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("policy", request.getPolicy(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreatePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updatePolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/UpdatePolicy") + .setHttpMethod("PUT") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{policy.name=policies/*/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "policy.name", request.getPolicy().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("policy", request.getPolicy(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdatePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + deletePolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/DeletePolicy") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=policies/*/*/*}", + 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, "etag", request.getEtag()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeletePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable listPoliciesCallable; + private final UnaryCallable + listPoliciesPagedCallable; + private final UnaryCallable getPolicyCallable; + private final UnaryCallable createPolicyCallable; + private final OperationCallable + createPolicyOperationCallable; + private final UnaryCallable updatePolicyCallable; + private final OperationCallable + updatePolicyOperationCallable; + private final UnaryCallable deletePolicyCallable; + private final OperationCallable + deletePolicyOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonPoliciesStub create(PoliciesStubSettings settings) + throws IOException { + return new HttpJsonPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonPoliciesStub create(ClientContext clientContext) throws IOException { + return new HttpJsonPoliciesStub( + PoliciesStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonPoliciesStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonPoliciesStub( + PoliciesStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonPoliciesStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonPoliciesStub(PoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonPoliciesCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonPoliciesStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonPoliciesStub( + PoliciesStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings listPoliciesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listPoliciesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updatePolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updatePolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deletePolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deletePolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listPoliciesCallable = + callableFactory.createUnaryCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.listPoliciesPagedCallable = + callableFactory.createPagedCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.getPolicyCallable = + callableFactory.createUnaryCallable( + getPolicyTransportSettings, settings.getPolicySettings(), clientContext); + this.createPolicyCallable = + callableFactory.createUnaryCallable( + createPolicyTransportSettings, settings.createPolicySettings(), clientContext); + this.createPolicyOperationCallable = + callableFactory.createOperationCallable( + createPolicyTransportSettings, + settings.createPolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updatePolicyCallable = + callableFactory.createUnaryCallable( + updatePolicyTransportSettings, settings.updatePolicySettings(), clientContext); + this.updatePolicyOperationCallable = + callableFactory.createOperationCallable( + updatePolicyTransportSettings, + settings.updatePolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.deletePolicyCallable = + callableFactory.createUnaryCallable( + deletePolicyTransportSettings, settings.deletePolicySettings(), clientContext); + this.deletePolicyOperationCallable = + callableFactory.createOperationCallable( + deletePolicyTransportSettings, + settings.deletePolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listPoliciesMethodDescriptor); + methodDescriptors.add(getPolicyMethodDescriptor); + methodDescriptors.add(createPolicyMethodDescriptor); + methodDescriptors.add(updatePolicyMethodDescriptor); + methodDescriptors.add(deletePolicyMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable listPoliciesCallable() { + return listPoliciesCallable; + } + + @Override + public UnaryCallable listPoliciesPagedCallable() { + return listPoliciesPagedCallable; + } + + @Override + public UnaryCallable getPolicyCallable() { + return getPolicyCallable; + } + + @Override + public UnaryCallable createPolicyCallable() { + return createPolicyCallable; + } + + @Override + public OperationCallable + createPolicyOperationCallable() { + return createPolicyOperationCallable; + } + + @Override + public UnaryCallable updatePolicyCallable() { + return updatePolicyCallable; + } + + @Override + public OperationCallable + updatePolicyOperationCallable() { + return updatePolicyOperationCallable; + } + + @Override + public UnaryCallable deletePolicyCallable() { + return deletePolicyCallable; + } + + @Override + public OperationCallable + deletePolicyOperationCallable() { + return deletePolicyOperationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java new file mode 100644 index 000000000000..90d52e011f07 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java @@ -0,0 +1,94 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.ListPoliciesRequest; +import com.google.iam.v2.ListPoliciesResponse; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyOperationMetadata; +import com.google.iam.v2.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the Policies service API. + * + *

      This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class PoliciesStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; + } + + public UnaryCallable listPoliciesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listPoliciesPagedCallable()"); + } + + public UnaryCallable listPoliciesCallable() { + throw new UnsupportedOperationException("Not implemented: listPoliciesCallable()"); + } + + public UnaryCallable getPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getPolicyCallable()"); + } + + public OperationCallable + createPolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createPolicyOperationCallable()"); + } + + public UnaryCallable createPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: createPolicyCallable()"); + } + + public OperationCallable + updatePolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updatePolicyOperationCallable()"); + } + + public UnaryCallable updatePolicyCallable() { + throw new UnsupportedOperationException("Not implemented: updatePolicyCallable()"); + } + + public OperationCallable + deletePolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: deletePolicyOperationCallable()"); + } + + public UnaryCallable deletePolicyCallable() { + throw new UnsupportedOperationException("Not implemented: deletePolicyCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java new file mode 100644 index 000000000000..2a9434e11fb0 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java @@ -0,0 +1,627 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.ListPoliciesRequest; +import com.google.iam.v2.ListPoliciesResponse; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyOperationMetadata; +import com.google.iam.v2.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link PoliciesStub}. + * + *

      The default instance has everything set to sensible defaults: + * + *

        + *
      • The default service address (iam.googleapis.com) and default port (443) are used. + *
      • Credentials are acquired automatically through Application Default Credentials. + *
      • Retries are configured for idempotent methods but not for non-idempotent methods. + *
      + * + *

      The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

      For example, to set the total timeout of getPolicy to 30 seconds: + * + *

      {@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
      + * PoliciesStubSettings.Builder policiesSettingsBuilder = PoliciesStubSettings.newBuilder();
      + * policiesSettingsBuilder
      + *     .getPolicySettings()
      + *     .setRetrySettings(
      + *         policiesSettingsBuilder.getPolicySettings().getRetrySettings().toBuilder()
      + *             .setTotalTimeout(Duration.ofSeconds(30))
      + *             .build());
      + * PoliciesStubSettings policiesSettings = policiesSettingsBuilder.build();
      + * }
      + */ +@Generated("by gapic-generator-java") +public class PoliciesStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); + + private final PagedCallSettings< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings; + private final UnaryCallSettings getPolicySettings; + private final UnaryCallSettings createPolicySettings; + private final OperationCallSettings + createPolicyOperationSettings; + private final UnaryCallSettings updatePolicySettings; + private final OperationCallSettings + updatePolicyOperationSettings; + private final UnaryCallSettings deletePolicySettings; + private final OperationCallSettings + deletePolicyOperationSettings; + + private static final PagedListDescriptor + LIST_POLICIES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListPoliciesRequest injectToken(ListPoliciesRequest payload, String token) { + return ListPoliciesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListPoliciesRequest injectPageSize(ListPoliciesRequest payload, int pageSize) { + return ListPoliciesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListPoliciesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListPoliciesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListPoliciesResponse payload) { + return payload.getPoliciesList() == null + ? ImmutableList.of() + : payload.getPoliciesList(); + } + }; + + private static final PagedListResponseFactory< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + LIST_POLICIES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListPoliciesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_POLICIES_PAGE_STR_DESC, request, context); + return ListPoliciesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to listPolicies. */ + public PagedCallSettings + listPoliciesSettings() { + return listPoliciesSettings; + } + + /** Returns the object with the settings used for calls to getPolicy. */ + public UnaryCallSettings getPolicySettings() { + return getPolicySettings; + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public UnaryCallSettings createPolicySettings() { + return createPolicySettings; + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public OperationCallSettings + createPolicyOperationSettings() { + return createPolicyOperationSettings; + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public UnaryCallSettings updatePolicySettings() { + return updatePolicySettings; + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public OperationCallSettings + updatePolicyOperationSettings() { + return updatePolicyOperationSettings; + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public UnaryCallSettings deletePolicySettings() { + return deletePolicySettings; + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public OperationCallSettings + deletePolicyOperationSettings() { + return deletePolicyOperationSettings; + } + + public PoliciesStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcPoliciesStub.create(this); + } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonPoliciesStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "iam.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "iam.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PoliciesStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PoliciesStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return PoliciesStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected PoliciesStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + listPoliciesSettings = settingsBuilder.listPoliciesSettings().build(); + getPolicySettings = settingsBuilder.getPolicySettings().build(); + createPolicySettings = settingsBuilder.createPolicySettings().build(); + createPolicyOperationSettings = settingsBuilder.createPolicyOperationSettings().build(); + updatePolicySettings = settingsBuilder.updatePolicySettings().build(); + updatePolicyOperationSettings = settingsBuilder.updatePolicyOperationSettings().build(); + deletePolicySettings = settingsBuilder.deletePolicySettings().build(); + deletePolicyOperationSettings = settingsBuilder.deletePolicyOperationSettings().build(); + } + + /** Builder for PoliciesStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings; + private final UnaryCallSettings.Builder getPolicySettings; + private final UnaryCallSettings.Builder createPolicySettings; + private final OperationCallSettings.Builder< + CreatePolicyRequest, Policy, PolicyOperationMetadata> + createPolicyOperationSettings; + private final UnaryCallSettings.Builder updatePolicySettings; + private final OperationCallSettings.Builder< + UpdatePolicyRequest, Policy, PolicyOperationMetadata> + updatePolicyOperationSettings; + private final UnaryCallSettings.Builder deletePolicySettings; + private final OperationCallSettings.Builder< + DeletePolicyRequest, Policy, PolicyOperationMetadata> + deletePolicyOperationSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(10000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + listPoliciesSettings = PagedCallSettings.newBuilder(LIST_POLICIES_PAGE_STR_FACT); + getPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createPolicyOperationSettings = OperationCallSettings.newBuilder(); + updatePolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updatePolicyOperationSettings = OperationCallSettings.newBuilder(); + deletePolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deletePolicyOperationSettings = OperationCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listPoliciesSettings, + getPolicySettings, + createPolicySettings, + updatePolicySettings, + deletePolicySettings); + initDefaults(this); + } + + protected Builder(PoliciesStubSettings settings) { + super(settings); + + listPoliciesSettings = settings.listPoliciesSettings.toBuilder(); + getPolicySettings = settings.getPolicySettings.toBuilder(); + createPolicySettings = settings.createPolicySettings.toBuilder(); + createPolicyOperationSettings = settings.createPolicyOperationSettings.toBuilder(); + updatePolicySettings = settings.updatePolicySettings.toBuilder(); + updatePolicyOperationSettings = settings.updatePolicyOperationSettings.toBuilder(); + deletePolicySettings = settings.deletePolicySettings.toBuilder(); + deletePolicyOperationSettings = settings.deletePolicyOperationSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listPoliciesSettings, + getPolicySettings, + createPolicySettings, + updatePolicySettings, + deletePolicySettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .listPoliciesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .createPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .updatePolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .deletePolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .createPolicyOperationSettings() + .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(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .updatePolicyOperationSettings() + .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(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .deletePolicyOperationSettings() + .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(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

      Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to listPolicies. */ + public PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings() { + return listPoliciesSettings; + } + + /** Returns the builder for the settings used for calls to getPolicy. */ + public UnaryCallSettings.Builder getPolicySettings() { + return getPolicySettings; + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public UnaryCallSettings.Builder createPolicySettings() { + return createPolicySettings; + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createPolicyOperationSettings() { + return createPolicyOperationSettings; + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public UnaryCallSettings.Builder updatePolicySettings() { + return updatePolicySettings; + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + updatePolicyOperationSettings() { + return updatePolicyOperationSettings; + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public UnaryCallSettings.Builder deletePolicySettings() { + return deletePolicySettings; + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + deletePolicyOperationSettings() { + return deletePolicyOperationSettings; + } + + @Override + public PoliciesStubSettings build() throws IOException { + return new PoliciesStubSettings(this); + } + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java new file mode 100644 index 000000000000..b74080f7997e --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java @@ -0,0 +1,884 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.iam.v2beta.stub.PoliciesStub; +import com.google.iam.v2beta.stub.PoliciesStubSettings; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: An interface for managing Identity and Access Management (IAM) policies. + * + *

      This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

      {@code
      + * // This snippet has been automatically generated and should be regarded as a code template only.
      + * // It will require modifications to work:
      + * // - It may require correct/in-range values for request initialization.
      + * // - It may require specifying regional endpoints when creating the service client as shown in
      + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      + * try (PoliciesClient policiesClient = PoliciesClient.create()) {
      + *   String name = "name3373707";
      + *   Policy response = policiesClient.getPolicy(name);
      + * }
      + * }
      + * + *

      Note: close() needs to be called on the PoliciesClient object to clean up resources such as + * threads. In the example above, try-with-resources is used, which automatically calls close(). + * + *

      The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

        + *
      1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
      2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
      3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
      + * + *

      See the individual methods for example code. + * + *

      Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

      This class can be customized by passing in a custom instance of PoliciesSettings to create(). + * For example: + * + *

      To customize credentials: + * + *

      {@code
      + * // This snippet has been automatically generated and should be regarded as a code template only.
      + * // It will require modifications to work:
      + * // - It may require correct/in-range values for request initialization.
      + * // - It may require specifying regional endpoints when creating the service client as shown in
      + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      + * PoliciesSettings policiesSettings =
      + *     PoliciesSettings.newBuilder()
      + *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
      + *         .build();
      + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
      + * }
      + * + *

      To customize the endpoint: + * + *

      {@code
      + * // This snippet has been automatically generated and should be regarded as a code template only.
      + * // It will require modifications to work:
      + * // - It may require correct/in-range values for request initialization.
      + * // - It may require specifying regional endpoints when creating the service client as shown in
      + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      + * PoliciesSettings policiesSettings =
      + *     PoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
      + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
      + * }
      + * + *

      To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

      {@code
      + * // This snippet has been automatically generated and should be regarded as a code template only.
      + * // It will require modifications to work:
      + * // - It may require correct/in-range values for request initialization.
      + * // - It may require specifying regional endpoints when creating the service client as shown in
      + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      + * PoliciesSettings policiesSettings = PoliciesSettings.newHttpJsonBuilder().build();
      + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
      + * }
      + * + *

      Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class PoliciesClient implements BackgroundResource { + private final PoliciesSettings settings; + private final PoliciesStub stub; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; + + /** Constructs an instance of PoliciesClient with default settings. */ + public static final PoliciesClient create() throws IOException { + return create(PoliciesSettings.newBuilder().build()); + } + + /** + * Constructs an instance of PoliciesClient, using the given settings. The channels are created + * based on the settings passed in, or defaults for any settings that are not set. + */ + public static final PoliciesClient create(PoliciesSettings settings) throws IOException { + return new PoliciesClient(settings); + } + + /** + * Constructs an instance of PoliciesClient, using the given stub for making calls. This is for + * advanced usage - prefer using create(PoliciesSettings). + */ + public static final PoliciesClient create(PoliciesStub stub) { + return new PoliciesClient(stub); + } + + /** + * Constructs an instance of PoliciesClient, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected PoliciesClient(PoliciesSettings settings) throws IOException { + this.settings = settings; + this.stub = ((PoliciesStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); + } + + protected PoliciesClient(PoliciesStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); + } + + public final PoliciesSettings getSettings() { + return settings; + } + + public PoliciesStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final com.google.longrunning.OperationsClient getOperationsClient() { + return operationsClient; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + @BetaApi + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

      The response lists only policy metadata. In particular, policy rules are omitted. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   String parent = "parent-995424086";
      +   *   for (Policy element : policiesClient.listPolicies(parent).iterateAll()) {
      +   *     // doThingsWith(element);
      +   *   }
      +   * }
      +   * }
      + * + * @param parent Required. The resource that the policy is attached to, along with the kind of + * policy to list. Format: `policies/{attachment_point}/denypolicies` + *

      The attachment point is identified by its URL-encoded full resource name, which means + * that the forward-slash character, `/`, must be written as `%2F`. For example, + * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + *

      For organizations and folders, use the numeric ID in the full resource name. For + * projects, you can use the alphanumeric or the numeric ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPoliciesPagedResponse listPolicies(String parent) { + ListPoliciesRequest request = ListPoliciesRequest.newBuilder().setParent(parent).build(); + return listPolicies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

      The response lists only policy metadata. In particular, policy rules are omitted. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   ListPoliciesRequest request =
      +   *       ListPoliciesRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPageSize(883849137)
      +   *           .setPageToken("pageToken873572522")
      +   *           .build();
      +   *   for (Policy element : policiesClient.listPolicies(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 ListPoliciesPagedResponse listPolicies(ListPoliciesRequest request) { + return listPoliciesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

      The response lists only policy metadata. In particular, policy rules are omitted. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   ListPoliciesRequest request =
      +   *       ListPoliciesRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPageSize(883849137)
      +   *           .setPageToken("pageToken873572522")
      +   *           .build();
      +   *   ApiFuture future = policiesClient.listPoliciesPagedCallable().futureCall(request);
      +   *   // Do something.
      +   *   for (Policy element : future.get().iterateAll()) {
      +   *     // doThingsWith(element);
      +   *   }
      +   * }
      +   * }
      + */ + public final UnaryCallable + listPoliciesPagedCallable() { + return stub.listPoliciesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

      The response lists only policy metadata. In particular, policy rules are omitted. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   ListPoliciesRequest request =
      +   *       ListPoliciesRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPageSize(883849137)
      +   *           .setPageToken("pageToken873572522")
      +   *           .build();
      +   *   while (true) {
      +   *     ListPoliciesResponse response = policiesClient.listPoliciesCallable().call(request);
      +   *     for (Policy element : response.getPoliciesList()) {
      +   *       // doThingsWith(element);
      +   *     }
      +   *     String nextPageToken = response.getNextPageToken();
      +   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
      +   *       request = request.toBuilder().setPageToken(nextPageToken).build();
      +   *     } else {
      +   *       break;
      +   *     }
      +   *   }
      +   * }
      +   * }
      + */ + public final UnaryCallable listPoliciesCallable() { + return stub.listPoliciesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   String name = "name3373707";
      +   *   Policy response = policiesClient.getPolicy(name);
      +   * }
      +   * }
      + * + * @param name Required. The resource name of the policy to retrieve. Format: + * `policies/{attachment_point}/denypolicies/{policy_id}` + *

      Use the URL-encoded full resource name, which means that the forward-slash character, + * `/`, must be written as `%2F`. For example, + * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`. + *

      For organizations and folders, use the numeric ID in the full resource name. For + * projects, you can use the alphanumeric or the numeric ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getPolicy(String name) { + GetPolicyRequest request = GetPolicyRequest.newBuilder().setName(name).build(); + return getPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
      +   *   Policy response = policiesClient.getPolicy(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 getPolicy(GetPolicyRequest request) { + return getPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
      +   *   ApiFuture future = policiesClient.getPolicyCallable().futureCall(request);
      +   *   // Do something.
      +   *   Policy response = future.get();
      +   * }
      +   * }
      + */ + public final UnaryCallable getPolicyCallable() { + return stub.getPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   String parent = "parent-995424086";
      +   *   Policy policy = Policy.newBuilder().build();
      +   *   String policyId = "policyId546908653";
      +   *   Policy response = policiesClient.createPolicyAsync(parent, policy, policyId).get();
      +   * }
      +   * }
      + * + * @param parent Required. The resource that the policy is attached to, along with the kind of + * policy to create. Format: `policies/{attachment_point}/denypolicies` + *

      The attachment point is identified by its URL-encoded full resource name, which means + * that the forward-slash character, `/`, must be written as `%2F`. For example, + * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies`. + *

      For organizations and folders, use the numeric ID in the full resource name. For + * projects, you can use the alphanumeric or the numeric ID. + * @param policy Required. The policy to create. + * @param policyId The ID to use for this policy, which will become the final component of the + * policy's resource name. The ID must contain 3 to 63 characters. It can contain lowercase + * letters and numbers, as well as dashes (`-`) and periods (`.`). The first character must be + * a lowercase letter. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createPolicyAsync( + String parent, Policy policy, String policyId) { + CreatePolicyRequest request = + CreatePolicyRequest.newBuilder() + .setParent(parent) + .setPolicy(policy) + .setPolicyId(policyId) + .build(); + return createPolicyAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   CreatePolicyRequest request =
      +   *       CreatePolicyRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPolicy(Policy.newBuilder().build())
      +   *           .setPolicyId("policyId546908653")
      +   *           .build();
      +   *   Policy response = policiesClient.createPolicyAsync(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 createPolicyAsync( + CreatePolicyRequest request) { + return createPolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   CreatePolicyRequest request =
      +   *       CreatePolicyRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPolicy(Policy.newBuilder().build())
      +   *           .setPolicyId("policyId546908653")
      +   *           .build();
      +   *   OperationFuture future =
      +   *       policiesClient.createPolicyOperationCallable().futureCall(request);
      +   *   // Do something.
      +   *   Policy response = future.get();
      +   * }
      +   * }
      + */ + public final OperationCallable + createPolicyOperationCallable() { + return stub.createPolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   CreatePolicyRequest request =
      +   *       CreatePolicyRequest.newBuilder()
      +   *           .setParent("parent-995424086")
      +   *           .setPolicy(Policy.newBuilder().build())
      +   *           .setPolicyId("policyId546908653")
      +   *           .build();
      +   *   ApiFuture future = policiesClient.createPolicyCallable().futureCall(request);
      +   *   // Do something.
      +   *   Operation response = future.get();
      +   * }
      +   * }
      + */ + public final UnaryCallable createPolicyCallable() { + return stub.createPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

      You can update only the rules and the display name for the policy. + * + *

      To update a policy, you should use a read-modify-write loop: + * + *

      1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

      This pattern helps prevent conflicts between concurrent updates. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   UpdatePolicyRequest request =
      +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
      +   *   Policy response = policiesClient.updatePolicyAsync(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 updatePolicyAsync( + UpdatePolicyRequest request) { + return updatePolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

      You can update only the rules and the display name for the policy. + * + *

      To update a policy, you should use a read-modify-write loop: + * + *

      1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

      This pattern helps prevent conflicts between concurrent updates. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   UpdatePolicyRequest request =
      +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
      +   *   OperationFuture future =
      +   *       policiesClient.updatePolicyOperationCallable().futureCall(request);
      +   *   // Do something.
      +   *   Policy response = future.get();
      +   * }
      +   * }
      + */ + public final OperationCallable + updatePolicyOperationCallable() { + return stub.updatePolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

      You can update only the rules and the display name for the policy. + * + *

      To update a policy, you should use a read-modify-write loop: + * + *

      1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

      This pattern helps prevent conflicts between concurrent updates. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   UpdatePolicyRequest request =
      +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
      +   *   ApiFuture future = policiesClient.updatePolicyCallable().futureCall(request);
      +   *   // Do something.
      +   *   Operation response = future.get();
      +   * }
      +   * }
      + */ + public final UnaryCallable updatePolicyCallable() { + return stub.updatePolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   String name = "name3373707";
      +   *   Policy response = policiesClient.deletePolicyAsync(name).get();
      +   * }
      +   * }
      + * + * @param name Required. The resource name of the policy to delete. Format: + * `policies/{attachment_point}/denypolicies/{policy_id}` + *

      Use the URL-encoded full resource name, which means that the forward-slash character, + * `/`, must be written as `%2F`. For example, + * `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-policy`. + *

      For organizations and folders, use the numeric ID in the full resource name. For + * projects, you can use the alphanumeric or the numeric ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deletePolicyAsync(String name) { + DeletePolicyRequest request = DeletePolicyRequest.newBuilder().setName(name).build(); + return deletePolicyAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   DeletePolicyRequest request =
      +   *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
      +   *   Policy response = policiesClient.deletePolicyAsync(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 deletePolicyAsync( + DeletePolicyRequest request) { + return deletePolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   DeletePolicyRequest request =
      +   *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
      +   *   OperationFuture future =
      +   *       policiesClient.deletePolicyOperationCallable().futureCall(request);
      +   *   // Do something.
      +   *   Policy response = future.get();
      +   * }
      +   * }
      + */ + public final OperationCallable + deletePolicyOperationCallable() { + return stub.deletePolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

      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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      +   *   DeletePolicyRequest request =
      +   *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
      +   *   ApiFuture future = policiesClient.deletePolicyCallable().futureCall(request);
      +   *   // Do something.
      +   *   Operation response = future.get();
      +   * }
      +   * }
      + */ + public final UnaryCallable deletePolicyCallable() { + return stub.deletePolicyCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListPoliciesPagedResponse + extends AbstractPagedListResponse< + ListPoliciesRequest, + ListPoliciesResponse, + Policy, + ListPoliciesPage, + ListPoliciesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListPoliciesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListPoliciesPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListPoliciesPagedResponse(ListPoliciesPage page) { + super(page, ListPoliciesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListPoliciesPage + extends AbstractPage { + + private ListPoliciesPage( + PageContext context, + ListPoliciesResponse response) { + super(context, response); + } + + private static ListPoliciesPage createEmptyPage() { + return new ListPoliciesPage(null, null); + } + + @Override + protected ListPoliciesPage createPage( + PageContext context, + ListPoliciesResponse response) { + return new ListPoliciesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListPoliciesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListPoliciesRequest, + ListPoliciesResponse, + Policy, + ListPoliciesPage, + ListPoliciesFixedSizeCollection> { + + private ListPoliciesFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListPoliciesFixedSizeCollection createEmptyCollection() { + return new ListPoliciesFixedSizeCollection(null, 0); + } + + @Override + protected ListPoliciesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListPoliciesFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java new file mode 100644 index 000000000000..de80d3ce6603 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java @@ -0,0 +1,285 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.iam.v2beta.stub.PoliciesStubSettings; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link PoliciesClient}. + * + *

      The default instance has everything set to sensible defaults: + * + *

        + *
      • The default service address (iam.googleapis.com) and default port (443) are used. + *
      • Credentials are acquired automatically through Application Default Credentials. + *
      • Retries are configured for idempotent methods but not for non-idempotent methods. + *
      + * + *

      The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

      For example, to set the total timeout of getPolicy to 30 seconds: + * + *

      {@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
      + * PoliciesSettings.Builder policiesSettingsBuilder = PoliciesSettings.newBuilder();
      + * policiesSettingsBuilder
      + *     .getPolicySettings()
      + *     .setRetrySettings(
      + *         policiesSettingsBuilder.getPolicySettings().getRetrySettings().toBuilder()
      + *             .setTotalTimeout(Duration.ofSeconds(30))
      + *             .build());
      + * PoliciesSettings policiesSettings = policiesSettingsBuilder.build();
      + * }
      + */ +@BetaApi +@Generated("by gapic-generator-java") +public class PoliciesSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to listPolicies. */ + public PagedCallSettings + listPoliciesSettings() { + return ((PoliciesStubSettings) getStubSettings()).listPoliciesSettings(); + } + + /** Returns the object with the settings used for calls to getPolicy. */ + public UnaryCallSettings getPolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).getPolicySettings(); + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public UnaryCallSettings createPolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).createPolicySettings(); + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public OperationCallSettings + createPolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).createPolicyOperationSettings(); + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public UnaryCallSettings updatePolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).updatePolicySettings(); + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public OperationCallSettings + updatePolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).updatePolicyOperationSettings(); + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public UnaryCallSettings deletePolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).deletePolicySettings(); + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public OperationCallSettings + deletePolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).deletePolicyOperationSettings(); + } + + public static final PoliciesSettings create(PoliciesStubSettings stub) throws IOException { + return new PoliciesSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return PoliciesStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return PoliciesStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return PoliciesStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return PoliciesStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return PoliciesStubSettings.defaultGrpcTransportProviderBuilder(); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return PoliciesStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return PoliciesStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return PoliciesStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected PoliciesSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for PoliciesSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(PoliciesStubSettings.newBuilder(clientContext)); + } + + protected Builder(PoliciesSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(PoliciesStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(PoliciesStubSettings.newBuilder()); + } + + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(PoliciesStubSettings.newHttpJsonBuilder()); + } + + public PoliciesStubSettings.Builder getStubSettingsBuilder() { + return ((PoliciesStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

      Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to listPolicies. */ + public PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings() { + return getStubSettingsBuilder().listPoliciesSettings(); + } + + /** Returns the builder for the settings used for calls to getPolicy. */ + public UnaryCallSettings.Builder getPolicySettings() { + return getStubSettingsBuilder().getPolicySettings(); + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public UnaryCallSettings.Builder createPolicySettings() { + return getStubSettingsBuilder().createPolicySettings(); + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public OperationCallSettings.Builder + createPolicyOperationSettings() { + return getStubSettingsBuilder().createPolicyOperationSettings(); + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public UnaryCallSettings.Builder updatePolicySettings() { + return getStubSettingsBuilder().updatePolicySettings(); + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public OperationCallSettings.Builder + updatePolicyOperationSettings() { + return getStubSettingsBuilder().updatePolicyOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public UnaryCallSettings.Builder deletePolicySettings() { + return getStubSettingsBuilder().deletePolicySettings(); + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public OperationCallSettings.Builder + deletePolicyOperationSettings() { + return getStubSettingsBuilder().deletePolicyOperationSettings(); + } + + @Override + public PoliciesSettings build() throws IOException { + return new PoliciesSettings(this); + } + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json new file mode 100644 index 000000000000..54136f109a7b --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json @@ -0,0 +1,33 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.iam.v2beta", + "libraryPackage": "com.google.iam.v2beta", + "services": { + "Policies": { + "clients": { + "grpc": { + "libraryClient": "PoliciesClient", + "rpcs": { + "CreatePolicy": { + "methods": ["createPolicyAsync", "createPolicyAsync", "createPolicyOperationCallable", "createPolicyCallable"] + }, + "DeletePolicy": { + "methods": ["deletePolicyAsync", "deletePolicyAsync", "deletePolicyOperationCallable", "deletePolicyCallable"] + }, + "GetPolicy": { + "methods": ["getPolicy", "getPolicy", "getPolicyCallable"] + }, + "ListPolicies": { + "methods": ["listPolicies", "listPolicies", "listPoliciesPagedCallable", "listPoliciesCallable"] + }, + "UpdatePolicy": { + "methods": ["updatePolicyAsync", "updatePolicyOperationCallable", "updatePolicyCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java new file mode 100644 index 000000000000..e5ed70548cda --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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. + */ + +/** + * A client to Identity and Access Management (IAM) API + * + *

      The interfaces provided are listed below, along with usage samples. + * + *

      ======================= PoliciesClient ======================= + * + *

      Service Description: An interface for managing Identity and Access Management (IAM) policies. + * + *

      Sample for PoliciesClient: + * + *

      {@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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      + *   String name = "name3373707";
      + *   Policy response = policiesClient.getPolicy(name);
      + * }
      + * }
      + */ +@Generated("by gapic-generator-java") +package com.google.iam.v2beta; + +import javax.annotation.Generated; diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesCallableFactory.java similarity index 52% rename from java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java rename to java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesCallableFactory.java index b20333714434..d2ee2059c5fa 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceCallableFactory.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesCallableFactory.java @@ -14,92 +14,102 @@ * limitations under the License. */ -package com.google.cloud.videointelligence.v1p3beta1.stub; +package com.google.iam.v2beta.stub; import com.google.api.core.BetaApi; -import com.google.api.gax.httpjson.HttpJsonCallSettings; -import com.google.api.gax.httpjson.HttpJsonCallableFactory; -import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; -import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; -import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.PagedCallSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.api.gax.rpc.UnaryCallable; import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; import javax.annotation.Generated; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * REST callable factory implementation for the StreamingVideoIntelligenceService service API. + * gRPC callable factory implementation for the Policies service API. * *

      This class is for advanced usage. */ @BetaApi @Generated("by gapic-generator-java") -public class HttpJsonStreamingVideoIntelligenceServiceCallableFactory - implements HttpJsonStubCallableFactory { +public class GrpcPoliciesCallableFactory implements GrpcStubCallableFactory { @Override public UnaryCallable createUnaryCallable( - HttpJsonCallSettings httpJsonCallSettings, + GrpcCallSettings grpcCallSettings, UnaryCallSettings callSettings, ClientContext clientContext) { - return HttpJsonCallableFactory.createUnaryCallable( - httpJsonCallSettings, callSettings, clientContext); + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); } @Override public UnaryCallable createPagedCallable( - HttpJsonCallSettings httpJsonCallSettings, + GrpcCallSettings grpcCallSettings, PagedCallSettings callSettings, ClientContext clientContext) { - return HttpJsonCallableFactory.createPagedCallable( - httpJsonCallSettings, callSettings, clientContext); + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); } @Override public UnaryCallable createBatchingCallable( - HttpJsonCallSettings httpJsonCallSettings, + GrpcCallSettings grpcCallSettings, BatchingCallSettings callSettings, ClientContext clientContext) { - return HttpJsonCallableFactory.createBatchingCallable( - httpJsonCallSettings, callSettings, clientContext); + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); } - @BetaApi( - "The surface for long-running operations is not stable yet and may change in the future.") @Override public OperationCallable createOperationCallable( - HttpJsonCallSettings httpJsonCallSettings, + GrpcCallSettings grpcCallSettings, OperationCallSettings callSettings, ClientContext clientContext, OperationsStub operationsStub) { - UnaryCallable innerCallable = - HttpJsonCallableFactory.createBaseUnaryCallable( - httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); - HttpJsonOperationSnapshotCallable initialCallable = - new HttpJsonOperationSnapshotCallable( - innerCallable, - httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); - return HttpJsonCallableFactory.createOperationCallable( - callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); } @Override public ServerStreamingCallable createServerStreamingCallable( - HttpJsonCallSettings httpJsonCallSettings, + GrpcCallSettings grpcCallSettings, ServerStreamingCallSettings callSettings, ClientContext clientContext) { - return HttpJsonCallableFactory.createServerStreamingCallable( - httpJsonCallSettings, callSettings, clientContext); + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); } } diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesStub.java new file mode 100644 index 000000000000..0e1396311ee3 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesStub.java @@ -0,0 +1,332 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableMap; +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.ListPoliciesRequest; +import com.google.iam.v2beta.ListPoliciesResponse; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyOperationMetadata; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the Policies service API. + * + *

      This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class GrpcPoliciesStub extends PoliciesStub { + private static final MethodDescriptor + listPoliciesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/ListPolicies") + .setRequestMarshaller(ProtoUtils.marshaller(ListPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListPoliciesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/GetPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/CreatePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(CreatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updatePolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/UpdatePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(UpdatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deletePolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/DeletePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(DeletePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private final UnaryCallable listPoliciesCallable; + private final UnaryCallable + listPoliciesPagedCallable; + private final UnaryCallable getPolicyCallable; + private final UnaryCallable createPolicyCallable; + private final OperationCallable + createPolicyOperationCallable; + private final UnaryCallable updatePolicyCallable; + private final OperationCallable + updatePolicyOperationCallable; + private final UnaryCallable deletePolicyCallable; + private final OperationCallable + deletePolicyOperationCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcPoliciesStub create(PoliciesStubSettings settings) throws IOException { + return new GrpcPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final GrpcPoliciesStub create(ClientContext clientContext) throws IOException { + return new GrpcPoliciesStub(PoliciesStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcPoliciesStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcPoliciesStub( + PoliciesStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcPoliciesStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcPoliciesStub(PoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcPoliciesCallableFactory()); + } + + /** + * Constructs an instance of GrpcPoliciesStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcPoliciesStub( + PoliciesStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings listPoliciesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listPoliciesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings createPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings updatePolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updatePolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("policy.name", String.valueOf(request.getPolicy().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deletePolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deletePolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + + this.listPoliciesCallable = + callableFactory.createUnaryCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.listPoliciesPagedCallable = + callableFactory.createPagedCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.getPolicyCallable = + callableFactory.createUnaryCallable( + getPolicyTransportSettings, settings.getPolicySettings(), clientContext); + this.createPolicyCallable = + callableFactory.createUnaryCallable( + createPolicyTransportSettings, settings.createPolicySettings(), clientContext); + this.createPolicyOperationCallable = + callableFactory.createOperationCallable( + createPolicyTransportSettings, + settings.createPolicyOperationSettings(), + clientContext, + operationsStub); + this.updatePolicyCallable = + callableFactory.createUnaryCallable( + updatePolicyTransportSettings, settings.updatePolicySettings(), clientContext); + this.updatePolicyOperationCallable = + callableFactory.createOperationCallable( + updatePolicyTransportSettings, + settings.updatePolicyOperationSettings(), + clientContext, + operationsStub); + this.deletePolicyCallable = + callableFactory.createUnaryCallable( + deletePolicyTransportSettings, settings.deletePolicySettings(), clientContext); + this.deletePolicyOperationCallable = + callableFactory.createOperationCallable( + deletePolicyTransportSettings, + settings.deletePolicyOperationSettings(), + clientContext, + operationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable listPoliciesCallable() { + return listPoliciesCallable; + } + + @Override + public UnaryCallable listPoliciesPagedCallable() { + return listPoliciesPagedCallable; + } + + @Override + public UnaryCallable getPolicyCallable() { + return getPolicyCallable; + } + + @Override + public UnaryCallable createPolicyCallable() { + return createPolicyCallable; + } + + @Override + public OperationCallable + createPolicyOperationCallable() { + return createPolicyOperationCallable; + } + + @Override + public UnaryCallable updatePolicyCallable() { + return updatePolicyCallable; + } + + @Override + public OperationCallable + updatePolicyOperationCallable() { + return updatePolicyOperationCallable; + } + + @Override + public UnaryCallable deletePolicyCallable() { + return deletePolicyCallable; + } + + @Override + public OperationCallable + deletePolicyOperationCallable() { + return deletePolicyOperationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/HttpJsonSpeechTranslationServiceCallableFactory.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesCallableFactory.java similarity index 95% rename from java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/HttpJsonSpeechTranslationServiceCallableFactory.java rename to java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesCallableFactory.java index 4f21361d795f..bc1cb4da7324 100644 --- a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/HttpJsonSpeechTranslationServiceCallableFactory.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesCallableFactory.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud.mediatranslation.v1beta1.stub; +package com.google.iam.v2beta.stub; import com.google.api.core.BetaApi; import com.google.api.gax.httpjson.HttpJsonCallSettings; @@ -36,13 +36,13 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * REST callable factory implementation for the SpeechTranslationService service API. + * REST callable factory implementation for the Policies service API. * *

      This class is for advanced usage. */ @BetaApi @Generated("by gapic-generator-java") -public class HttpJsonSpeechTranslationServiceCallableFactory +public class HttpJsonPoliciesCallableFactory implements HttpJsonStubCallableFactory { @Override diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java new file mode 100644 index 000000000000..ece66dcf8634 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java @@ -0,0 +1,481 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.ListPoliciesRequest; +import com.google.iam.v2beta.ListPoliciesResponse; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyOperationMetadata; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the Policies service API. + * + *

      This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonPoliciesStub extends PoliciesStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(Policy.getDescriptor()) + .add(PolicyOperationMetadata.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + listPoliciesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/ListPolicies") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{parent=policies/*/*}", + 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(ListPoliciesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/GetPolicy") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{name=policies/*/*/*}", + 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(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/CreatePolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{parent=policies/*/*}", + 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, "policyId", request.getPolicyId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("policy", request.getPolicy(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreatePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updatePolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/UpdatePolicy") + .setHttpMethod("PUT") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{policy.name=policies/*/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "policy.name", request.getPolicy().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("policy", request.getPolicy(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdatePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + deletePolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/DeletePolicy") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{name=policies/*/*/*}", + 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, "etag", request.getEtag()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeletePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable listPoliciesCallable; + private final UnaryCallable + listPoliciesPagedCallable; + private final UnaryCallable getPolicyCallable; + private final UnaryCallable createPolicyCallable; + private final OperationCallable + createPolicyOperationCallable; + private final UnaryCallable updatePolicyCallable; + private final OperationCallable + updatePolicyOperationCallable; + private final UnaryCallable deletePolicyCallable; + private final OperationCallable + deletePolicyOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonPoliciesStub create(PoliciesStubSettings settings) + throws IOException { + return new HttpJsonPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonPoliciesStub create(ClientContext clientContext) throws IOException { + return new HttpJsonPoliciesStub( + PoliciesStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonPoliciesStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonPoliciesStub( + PoliciesStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonPoliciesStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonPoliciesStub(PoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonPoliciesCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonPoliciesStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonPoliciesStub( + PoliciesStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings listPoliciesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listPoliciesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updatePolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updatePolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deletePolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deletePolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listPoliciesCallable = + callableFactory.createUnaryCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.listPoliciesPagedCallable = + callableFactory.createPagedCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.getPolicyCallable = + callableFactory.createUnaryCallable( + getPolicyTransportSettings, settings.getPolicySettings(), clientContext); + this.createPolicyCallable = + callableFactory.createUnaryCallable( + createPolicyTransportSettings, settings.createPolicySettings(), clientContext); + this.createPolicyOperationCallable = + callableFactory.createOperationCallable( + createPolicyTransportSettings, + settings.createPolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updatePolicyCallable = + callableFactory.createUnaryCallable( + updatePolicyTransportSettings, settings.updatePolicySettings(), clientContext); + this.updatePolicyOperationCallable = + callableFactory.createOperationCallable( + updatePolicyTransportSettings, + settings.updatePolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.deletePolicyCallable = + callableFactory.createUnaryCallable( + deletePolicyTransportSettings, settings.deletePolicySettings(), clientContext); + this.deletePolicyOperationCallable = + callableFactory.createOperationCallable( + deletePolicyTransportSettings, + settings.deletePolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listPoliciesMethodDescriptor); + methodDescriptors.add(getPolicyMethodDescriptor); + methodDescriptors.add(createPolicyMethodDescriptor); + methodDescriptors.add(updatePolicyMethodDescriptor); + methodDescriptors.add(deletePolicyMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable listPoliciesCallable() { + return listPoliciesCallable; + } + + @Override + public UnaryCallable listPoliciesPagedCallable() { + return listPoliciesPagedCallable; + } + + @Override + public UnaryCallable getPolicyCallable() { + return getPolicyCallable; + } + + @Override + public UnaryCallable createPolicyCallable() { + return createPolicyCallable; + } + + @Override + public OperationCallable + createPolicyOperationCallable() { + return createPolicyOperationCallable; + } + + @Override + public UnaryCallable updatePolicyCallable() { + return updatePolicyCallable; + } + + @Override + public OperationCallable + updatePolicyOperationCallable() { + return updatePolicyOperationCallable; + } + + @Override + public UnaryCallable deletePolicyCallable() { + return deletePolicyCallable; + } + + @Override + public OperationCallable + deletePolicyOperationCallable() { + return deletePolicyOperationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java new file mode 100644 index 000000000000..540fa89d6a7f --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java @@ -0,0 +1,96 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.ListPoliciesRequest; +import com.google.iam.v2beta.ListPoliciesResponse; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyOperationMetadata; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the Policies service API. + * + *

      This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public abstract class PoliciesStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; + } + + public UnaryCallable listPoliciesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listPoliciesPagedCallable()"); + } + + public UnaryCallable listPoliciesCallable() { + throw new UnsupportedOperationException("Not implemented: listPoliciesCallable()"); + } + + public UnaryCallable getPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getPolicyCallable()"); + } + + public OperationCallable + createPolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createPolicyOperationCallable()"); + } + + public UnaryCallable createPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: createPolicyCallable()"); + } + + public OperationCallable + updatePolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updatePolicyOperationCallable()"); + } + + public UnaryCallable updatePolicyCallable() { + throw new UnsupportedOperationException("Not implemented: updatePolicyCallable()"); + } + + public OperationCallable + deletePolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: deletePolicyOperationCallable()"); + } + + public UnaryCallable deletePolicyCallable() { + throw new UnsupportedOperationException("Not implemented: deletePolicyCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java new file mode 100644 index 000000000000..7bfcfdf50cf6 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java @@ -0,0 +1,628 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.ListPoliciesRequest; +import com.google.iam.v2beta.ListPoliciesResponse; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyOperationMetadata; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link PoliciesStub}. + * + *

      The default instance has everything set to sensible defaults: + * + *

        + *
      • The default service address (iam.googleapis.com) and default port (443) are used. + *
      • Credentials are acquired automatically through Application Default Credentials. + *
      • Retries are configured for idempotent methods but not for non-idempotent methods. + *
      + * + *

      The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

      For example, to set the total timeout of getPolicy to 30 seconds: + * + *

      {@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
      + * PoliciesStubSettings.Builder policiesSettingsBuilder = PoliciesStubSettings.newBuilder();
      + * policiesSettingsBuilder
      + *     .getPolicySettings()
      + *     .setRetrySettings(
      + *         policiesSettingsBuilder.getPolicySettings().getRetrySettings().toBuilder()
      + *             .setTotalTimeout(Duration.ofSeconds(30))
      + *             .build());
      + * PoliciesStubSettings policiesSettings = policiesSettingsBuilder.build();
      + * }
      + */ +@BetaApi +@Generated("by gapic-generator-java") +public class PoliciesStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); + + private final PagedCallSettings< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings; + private final UnaryCallSettings getPolicySettings; + private final UnaryCallSettings createPolicySettings; + private final OperationCallSettings + createPolicyOperationSettings; + private final UnaryCallSettings updatePolicySettings; + private final OperationCallSettings + updatePolicyOperationSettings; + private final UnaryCallSettings deletePolicySettings; + private final OperationCallSettings + deletePolicyOperationSettings; + + private static final PagedListDescriptor + LIST_POLICIES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListPoliciesRequest injectToken(ListPoliciesRequest payload, String token) { + return ListPoliciesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListPoliciesRequest injectPageSize(ListPoliciesRequest payload, int pageSize) { + return ListPoliciesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListPoliciesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListPoliciesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListPoliciesResponse payload) { + return payload.getPoliciesList() == null + ? ImmutableList.of() + : payload.getPoliciesList(); + } + }; + + private static final PagedListResponseFactory< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + LIST_POLICIES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListPoliciesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_POLICIES_PAGE_STR_DESC, request, context); + return ListPoliciesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to listPolicies. */ + public PagedCallSettings + listPoliciesSettings() { + return listPoliciesSettings; + } + + /** Returns the object with the settings used for calls to getPolicy. */ + public UnaryCallSettings getPolicySettings() { + return getPolicySettings; + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public UnaryCallSettings createPolicySettings() { + return createPolicySettings; + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public OperationCallSettings + createPolicyOperationSettings() { + return createPolicyOperationSettings; + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public UnaryCallSettings updatePolicySettings() { + return updatePolicySettings; + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public OperationCallSettings + updatePolicyOperationSettings() { + return updatePolicyOperationSettings; + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public UnaryCallSettings deletePolicySettings() { + return deletePolicySettings; + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public OperationCallSettings + deletePolicyOperationSettings() { + return deletePolicyOperationSettings; + } + + public PoliciesStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcPoliciesStub.create(this); + } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonPoliciesStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "iam.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "iam.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PoliciesStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PoliciesStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return PoliciesStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected PoliciesStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + listPoliciesSettings = settingsBuilder.listPoliciesSettings().build(); + getPolicySettings = settingsBuilder.getPolicySettings().build(); + createPolicySettings = settingsBuilder.createPolicySettings().build(); + createPolicyOperationSettings = settingsBuilder.createPolicyOperationSettings().build(); + updatePolicySettings = settingsBuilder.updatePolicySettings().build(); + updatePolicyOperationSettings = settingsBuilder.updatePolicyOperationSettings().build(); + deletePolicySettings = settingsBuilder.deletePolicySettings().build(); + deletePolicyOperationSettings = settingsBuilder.deletePolicyOperationSettings().build(); + } + + /** Builder for PoliciesStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings; + private final UnaryCallSettings.Builder getPolicySettings; + private final UnaryCallSettings.Builder createPolicySettings; + private final OperationCallSettings.Builder< + CreatePolicyRequest, Policy, PolicyOperationMetadata> + createPolicyOperationSettings; + private final UnaryCallSettings.Builder updatePolicySettings; + private final OperationCallSettings.Builder< + UpdatePolicyRequest, Policy, PolicyOperationMetadata> + updatePolicyOperationSettings; + private final UnaryCallSettings.Builder deletePolicySettings; + private final OperationCallSettings.Builder< + DeletePolicyRequest, Policy, PolicyOperationMetadata> + deletePolicyOperationSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(10000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + listPoliciesSettings = PagedCallSettings.newBuilder(LIST_POLICIES_PAGE_STR_FACT); + getPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createPolicyOperationSettings = OperationCallSettings.newBuilder(); + updatePolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updatePolicyOperationSettings = OperationCallSettings.newBuilder(); + deletePolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deletePolicyOperationSettings = OperationCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listPoliciesSettings, + getPolicySettings, + createPolicySettings, + updatePolicySettings, + deletePolicySettings); + initDefaults(this); + } + + protected Builder(PoliciesStubSettings settings) { + super(settings); + + listPoliciesSettings = settings.listPoliciesSettings.toBuilder(); + getPolicySettings = settings.getPolicySettings.toBuilder(); + createPolicySettings = settings.createPolicySettings.toBuilder(); + createPolicyOperationSettings = settings.createPolicyOperationSettings.toBuilder(); + updatePolicySettings = settings.updatePolicySettings.toBuilder(); + updatePolicyOperationSettings = settings.updatePolicyOperationSettings.toBuilder(); + deletePolicySettings = settings.deletePolicySettings.toBuilder(); + deletePolicyOperationSettings = settings.deletePolicyOperationSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listPoliciesSettings, + getPolicySettings, + createPolicySettings, + updatePolicySettings, + deletePolicySettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .listPoliciesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .createPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .updatePolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .deletePolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .createPolicyOperationSettings() + .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(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .updatePolicyOperationSettings() + .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(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .deletePolicyOperationSettings() + .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(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

      Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to listPolicies. */ + public PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings() { + return listPoliciesSettings; + } + + /** Returns the builder for the settings used for calls to getPolicy. */ + public UnaryCallSettings.Builder getPolicySettings() { + return getPolicySettings; + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public UnaryCallSettings.Builder createPolicySettings() { + return createPolicySettings; + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createPolicyOperationSettings() { + return createPolicyOperationSettings; + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public UnaryCallSettings.Builder updatePolicySettings() { + return updatePolicySettings; + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + updatePolicyOperationSettings() { + return updatePolicyOperationSettings; + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public UnaryCallSettings.Builder deletePolicySettings() { + return deletePolicySettings; + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + deletePolicyOperationSettings() { + return deletePolicyOperationSettings; + } + + @Override + public PoliciesStubSettings build() throws IOException { + return new PoliciesStubSettings(this); + } + } +} diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/test/java/com/google/cloud/networkconnectivity/v1/MockPolicyBasedRoutingService.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPolicies.java similarity index 82% rename from java-networkconnectivity/google-cloud-networkconnectivity/src/test/java/com/google/cloud/networkconnectivity/v1/MockPolicyBasedRoutingService.java rename to java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPolicies.java index 14c65288159c..52054775d531 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/test/java/com/google/cloud/networkconnectivity/v1/MockPolicyBasedRoutingService.java +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPolicies.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1; +package com.google.iam.v2; import com.google.api.core.BetaApi; import com.google.api.gax.grpc.testing.MockGrpcService; @@ -25,11 +25,11 @@ @BetaApi @Generated("by gapic-generator-java") -public class MockPolicyBasedRoutingService implements MockGrpcService { - private final MockPolicyBasedRoutingServiceImpl serviceImpl; +public class MockPolicies implements MockGrpcService { + private final MockPoliciesImpl serviceImpl; - public MockPolicyBasedRoutingService() { - serviceImpl = new MockPolicyBasedRoutingServiceImpl(); + public MockPolicies() { + serviceImpl = new MockPoliciesImpl(); } @Override diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/test/java/com/google/cloud/networkconnectivity/v1/MockPolicyBasedRoutingServiceImpl.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java similarity index 68% rename from java-networkconnectivity/google-cloud-networkconnectivity/src/test/java/com/google/cloud/networkconnectivity/v1/MockPolicyBasedRoutingServiceImpl.java rename to java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java index a57877e4d35a..a77354b79a58 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/test/java/com/google/cloud/networkconnectivity/v1/MockPolicyBasedRoutingServiceImpl.java +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package com.google.cloud.networkconnectivity.v1; +package com.google.iam.v2; import com.google.api.core.BetaApi; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceImplBase; +import com.google.iam.v2.PoliciesGrpc.PoliciesImplBase; import com.google.longrunning.Operation; import com.google.protobuf.AbstractMessage; import io.grpc.stub.StreamObserver; @@ -29,11 +29,11 @@ @BetaApi @Generated("by gapic-generator-java") -public class MockPolicyBasedRoutingServiceImpl extends PolicyBasedRoutingServiceImplBase { +public class MockPoliciesImpl extends PoliciesImplBase { private List requests; private Queue responses; - public MockPolicyBasedRoutingServiceImpl() { + public MockPoliciesImpl() { requests = new ArrayList<>(); responses = new LinkedList<>(); } @@ -60,13 +60,12 @@ public void reset() { } @Override - public void listPolicyBasedRoutes( - ListPolicyBasedRoutesRequest request, - StreamObserver responseObserver) { + public void listPolicies( + ListPoliciesRequest request, StreamObserver responseObserver) { Object response = responses.poll(); - if (response instanceof ListPolicyBasedRoutesResponse) { + if (response instanceof ListPoliciesResponse) { requests.add(request); - responseObserver.onNext(((ListPolicyBasedRoutesResponse) response)); + responseObserver.onNext(((ListPoliciesResponse) response)); responseObserver.onCompleted(); } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); @@ -74,20 +73,19 @@ public void listPolicyBasedRoutes( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method ListPolicyBasedRoutes, expected %s or %s", + "Unrecognized response type %s for method ListPolicies, expected %s or %s", response == null ? "null" : response.getClass().getName(), - ListPolicyBasedRoutesResponse.class.getName(), + ListPoliciesResponse.class.getName(), Exception.class.getName()))); } } @Override - public void getPolicyBasedRoute( - GetPolicyBasedRouteRequest request, StreamObserver responseObserver) { + public void getPolicy(GetPolicyRequest request, StreamObserver responseObserver) { Object response = responses.poll(); - if (response instanceof PolicyBasedRoute) { + if (response instanceof Policy) { requests.add(request); - responseObserver.onNext(((PolicyBasedRoute) response)); + responseObserver.onNext(((Policy) response)); responseObserver.onCompleted(); } else if (response instanceof Exception) { responseObserver.onError(((Exception) response)); @@ -95,16 +93,16 @@ public void getPolicyBasedRoute( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method GetPolicyBasedRoute, expected %s or %s", + "Unrecognized response type %s for method GetPolicy, expected %s or %s", response == null ? "null" : response.getClass().getName(), - PolicyBasedRoute.class.getName(), + Policy.class.getName(), Exception.class.getName()))); } } @Override - public void createPolicyBasedRoute( - CreatePolicyBasedRouteRequest request, StreamObserver responseObserver) { + public void createPolicy( + CreatePolicyRequest request, StreamObserver responseObserver) { Object response = responses.poll(); if (response instanceof Operation) { requests.add(request); @@ -116,7 +114,7 @@ public void createPolicyBasedRoute( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method CreatePolicyBasedRoute, expected %s or %s", + "Unrecognized response type %s for method CreatePolicy, expected %s or %s", response == null ? "null" : response.getClass().getName(), Operation.class.getName(), Exception.class.getName()))); @@ -124,8 +122,8 @@ public void createPolicyBasedRoute( } @Override - public void deletePolicyBasedRoute( - DeletePolicyBasedRouteRequest request, StreamObserver responseObserver) { + public void updatePolicy( + UpdatePolicyRequest request, StreamObserver responseObserver) { Object response = responses.poll(); if (response instanceof Operation) { requests.add(request); @@ -137,7 +135,28 @@ public void deletePolicyBasedRoute( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method DeletePolicyBasedRoute, expected %s or %s", + "Unrecognized response type %s for method UpdatePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deletePolicy( + DeletePolicyRequest 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 DeletePolicy, expected %s or %s", response == null ? "null" : response.getClass().getName(), Operation.class.getName(), Exception.class.getName()))); diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java new file mode 100644 index 000000000000..91228b7801e4 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java @@ -0,0 +1,399 @@ +/* + * Copyright 2022 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.iam.v2; + +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.common.collect.Lists; +import com.google.iam.v2.stub.HttpJsonPoliciesStub; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class PoliciesClientHttpJsonTest { + private static MockHttpService mockService; + private static PoliciesClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonPoliciesStub.getMethodDescriptors(), PoliciesSettings.getDefaultEndpoint()); + PoliciesSettings settings = + PoliciesSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + PoliciesSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = PoliciesClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listPoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListPoliciesResponse expectedResponse = + ListPoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "policies/policie-1456/policie-1456"; + + ListPoliciesPagedResponse pagedListResponse = client.listPolicies(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().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 listPoliciesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "policies/policie-1456/policie-1456"; + client.listPolicies(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + mockService.addResponse(expectedResponse); + + String name = "policies/policie-3260/policie-3260/policie-3260"; + + Policy actualResponse = client.getPolicy(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 getPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "policies/policie-3260/policie-3260/policie-3260"; + client.getPolicy(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createPolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "policies/policie-1456/policie-1456"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + + Policy actualResponse = client.createPolicyAsync(parent, policy, policyId).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 createPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "policies/policie-1456/policie-1456"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + client.createPolicyAsync(parent, policy, policyId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updatePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updatePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder() + .setPolicy( + Policy.newBuilder() + .setName("policies/policie-3260/policie-3260/policie-3260") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build()) + .build(); + + Policy actualResponse = client.updatePolicyAsync(request).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 updatePolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder() + .setPolicy( + Policy.newBuilder() + .setName("policies/policie-3260/policie-3260/policie-3260") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build()) + .build(); + client.updatePolicyAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deletePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "policies/policie-3260/policie-3260/policie-3260"; + + Policy actualResponse = client.deletePolicyAsync(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 deletePolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "policies/policie-3260/policie-3260/policie-3260"; + client.deletePolicyAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java new file mode 100644 index 000000000000..81c53a73ed9d --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java @@ -0,0 +1,355 @@ +/* + * Copyright 2022 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.iam.v2; + +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class PoliciesClientTest { + private static MockPolicies mockPolicies; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private PoliciesClient client; + + @BeforeClass + public static void startStaticServer() { + mockPolicies = new MockPolicies(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockPolicies)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + PoliciesSettings settings = + PoliciesSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = PoliciesClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listPoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListPoliciesResponse expectedResponse = + ListPoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockPolicies.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListPoliciesPagedResponse pagedListResponse = client.listPolicies(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListPoliciesRequest actualRequest = ((ListPoliciesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listPoliciesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String parent = "parent-995424086"; + client.listPolicies(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + mockPolicies.addResponse(expectedResponse); + + String name = "name3373707"; + + Policy actualResponse = client.getPolicy(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetPolicyRequest actualRequest = ((GetPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String name = "name3373707"; + client.getPolicy(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createPolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + String parent = "parent-995424086"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + + Policy actualResponse = client.createPolicyAsync(parent, policy, policyId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreatePolicyRequest actualRequest = ((CreatePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertEquals(policyId, actualRequest.getPolicyId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String parent = "parent-995424086"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + client.createPolicyAsync(parent, policy, policyId).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 updatePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updatePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build(); + + Policy actualResponse = client.updatePolicyAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdatePolicyRequest actualRequest = ((UpdatePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getPolicy(), actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updatePolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build(); + client.updatePolicyAsync(request).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 deletePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + String name = "name3373707"; + + Policy actualResponse = client.deletePolicyAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeletePolicyRequest actualRequest = ((DeletePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deletePolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String name = "name3373707"; + client.deletePolicyAsync(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()); + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPolicies.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPolicies.java new file mode 100644 index 000000000000..d68e492149f8 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPolicies.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockPolicies implements MockGrpcService { + private final MockPoliciesImpl serviceImpl; + + public MockPolicies() { + serviceImpl = new MockPoliciesImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPoliciesImpl.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPoliciesImpl.java new file mode 100644 index 000000000000..645a7a8642c8 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPoliciesImpl.java @@ -0,0 +1,165 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import com.google.api.core.BetaApi; +import com.google.iam.v2beta.PoliciesGrpc.PoliciesImplBase; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockPoliciesImpl extends PoliciesImplBase { + private List requests; + private Queue responses; + + public MockPoliciesImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listPolicies( + ListPoliciesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListPoliciesResponse) { + requests.add(request); + responseObserver.onNext(((ListPoliciesResponse) 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 ListPolicies, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListPoliciesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getPolicy(GetPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) 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 GetPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createPolicy( + CreatePolicyRequest 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 CreatePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updatePolicy( + UpdatePolicyRequest 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 UpdatePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deletePolicy( + DeletePolicyRequest 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 DeletePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientHttpJsonTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientHttpJsonTest.java new file mode 100644 index 000000000000..0c1623809983 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientHttpJsonTest.java @@ -0,0 +1,393 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.common.collect.Lists; +import com.google.iam.v2beta.stub.HttpJsonPoliciesStub; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class PoliciesClientHttpJsonTest { + private static MockHttpService mockService; + private static PoliciesClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonPoliciesStub.getMethodDescriptors(), PoliciesSettings.getDefaultEndpoint()); + PoliciesSettings settings = + PoliciesSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + PoliciesSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = PoliciesClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listPoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListPoliciesResponse expectedResponse = + ListPoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "policies/policie-1456/policie-1456"; + + ListPoliciesPagedResponse pagedListResponse = client.listPolicies(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().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 listPoliciesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "policies/policie-1456/policie-1456"; + client.listPolicies(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "policies/policie-3260/policie-3260/policie-3260"; + + Policy actualResponse = client.getPolicy(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 getPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "policies/policie-3260/policie-3260/policie-3260"; + client.getPolicy(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createPolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "policies/policie-1456/policie-1456"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + + Policy actualResponse = client.createPolicyAsync(parent, policy, policyId).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 createPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "policies/policie-1456/policie-1456"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + client.createPolicyAsync(parent, policy, policyId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updatePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updatePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder() + .setPolicy( + Policy.newBuilder() + .setName("policies/policie-3260/policie-3260/policie-3260") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build()) + .build(); + + Policy actualResponse = client.updatePolicyAsync(request).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 updatePolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder() + .setPolicy( + Policy.newBuilder() + .setName("policies/policie-3260/policie-3260/policie-3260") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build()) + .build(); + client.updatePolicyAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deletePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "policies/policie-3260/policie-3260/policie-3260"; + + Policy actualResponse = client.deletePolicyAsync(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 deletePolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "policies/policie-3260/policie-3260/policie-3260"; + client.deletePolicyAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java new file mode 100644 index 000000000000..ba966bb1b1f2 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java @@ -0,0 +1,351 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class PoliciesClientTest { + private static MockPolicies mockPolicies; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private PoliciesClient client; + + @BeforeClass + public static void startStaticServer() { + mockPolicies = new MockPolicies(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockPolicies)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + PoliciesSettings settings = + PoliciesSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = PoliciesClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listPoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListPoliciesResponse expectedResponse = + ListPoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockPolicies.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListPoliciesPagedResponse pagedListResponse = client.listPolicies(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListPoliciesRequest actualRequest = ((ListPoliciesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listPoliciesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String parent = "parent-995424086"; + client.listPolicies(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + mockPolicies.addResponse(expectedResponse); + + String name = "name3373707"; + + Policy actualResponse = client.getPolicy(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetPolicyRequest actualRequest = ((GetPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String name = "name3373707"; + client.getPolicy(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createPolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + String parent = "parent-995424086"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + + Policy actualResponse = client.createPolicyAsync(parent, policy, policyId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreatePolicyRequest actualRequest = ((CreatePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertEquals(policyId, actualRequest.getPolicyId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String parent = "parent-995424086"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + client.createPolicyAsync(parent, policy, policyId).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 updatePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updatePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build(); + + Policy actualResponse = client.updatePolicyAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdatePolicyRequest actualRequest = ((UpdatePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getPolicy(), actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updatePolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build(); + client.updatePolicyAsync(request).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 deletePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + String name = "name3373707"; + + Policy actualResponse = client.deletePolicyAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeletePolicyRequest actualRequest = ((DeletePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deletePolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String name = "name3373707"; + client.deletePolicyAsync(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()); + } + } +} diff --git a/java-iam/owlbot.py b/java-iam/owlbot.py new file mode 100644 index 000000000000..3f53f0819f14 --- /dev/null +++ b/java-iam/owlbot.py @@ -0,0 +1,37 @@ +# Copyright 2020 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 +# +# http://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. + +"""This script is used to synthesize generated parts of this library.""" + +import synthtool as s +from synthtool.languages import java + +for library in s.get_staging_dirs(): + # put any special-case replacements here + s.move(library) + +s.remove_staging_dirs() +java.common_templates(monorepo=True, excludes=[ + ".github/*", + ".kokoro/*", + "samples/*", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "SECURITY.md", + "java.header", + "license-checks.xml", + "renovate.json", + ".gitignore" +]) diff --git a/java-iam/pom.xml b/java-iam/pom.xml new file mode 100644 index 000000000000..51cf49584a75 --- /dev/null +++ b/java-iam/pom.xml @@ -0,0 +1,32 @@ + + + 4.0.0 + com.google.cloud + google-iam-policy-parent + pom + 1.8.0 + Google IAM Policy Parent + + Java idiomatic client for Google Cloud Platform services. + + + + com.google.cloud + google-cloud-jar-parent + 1.4.0 + ../google-cloud-jar-parent/pom.xml + + + + UTF-8 + UTF-8 + github + google-iam-parent + + + + google-iam-policy + google-iam-policy-bom + + + diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata new file mode 100644 index 000000000000..884257a9aa5d --- /dev/null +++ b/java-iam/synth.metadata @@ -0,0 +1,125 @@ +{ + "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-iam.git", + "sha": "0bde6b4db52bf09a4f1f0fbbb7519b82a4e7eb39" + } + }, + { + "git": { + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "2921f9fb3bfbd16f6b2da0104373e2b47a80a65e", + "internalRef": "408420890" + } + }, + { + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "7a7c48f96e90d1cdc3ab0cc8293279fdcb10fd36" + } + } + ], + "generatedFiles": [ + ".github/CODEOWNERS", + ".github/ISSUE_TEMPLATE/bug_report.md", + ".github/ISSUE_TEMPLATE/feature_request.md", + ".github/ISSUE_TEMPLATE/support_request.md", + ".github/PULL_REQUEST_TEMPLATE.md", + ".github/blunderbuss.yml", + ".github/generated-files-bot.yml", + ".github/release-please.yml", + ".github/release-trigger.yml", + ".github/snippet-bot.yml", + ".github/sync-repo-settings.yaml", + ".github/trusted-contribution.yml", + ".github/workflows/approve-readme.yaml", + ".github/workflows/auto-release.yaml", + ".github/workflows/ci.yaml", + ".kokoro/build.bat", + ".kokoro/build.sh", + ".kokoro/coerce_logs.sh", + ".kokoro/common.cfg", + ".kokoro/common.sh", + ".kokoro/continuous/common.cfg", + ".kokoro/continuous/java8.cfg", + ".kokoro/dependencies.sh", + ".kokoro/nightly/common.cfg", + ".kokoro/nightly/integration.cfg", + ".kokoro/nightly/java11.cfg", + ".kokoro/nightly/java7.cfg", + ".kokoro/nightly/java8-osx.cfg", + ".kokoro/nightly/java8-win.cfg", + ".kokoro/nightly/java8.cfg", + ".kokoro/nightly/samples.cfg", + ".kokoro/populate-secrets.sh", + ".kokoro/presubmit/clirr.cfg", + ".kokoro/presubmit/common.cfg", + ".kokoro/presubmit/dependencies.cfg", + ".kokoro/presubmit/graalvm-native.cfg", + ".kokoro/presubmit/integration.cfg", + ".kokoro/presubmit/java11.cfg", + ".kokoro/presubmit/java7.cfg", + ".kokoro/presubmit/java8-osx.cfg", + ".kokoro/presubmit/java8-win.cfg", + ".kokoro/presubmit/java8.cfg", + ".kokoro/presubmit/linkage-monitor.cfg", + ".kokoro/presubmit/lint.cfg", + ".kokoro/presubmit/samples.cfg", + ".kokoro/readme.sh", + ".kokoro/release/bump_snapshot.cfg", + ".kokoro/release/common.cfg", + ".kokoro/release/common.sh", + ".kokoro/release/drop.cfg", + ".kokoro/release/drop.sh", + ".kokoro/release/promote.cfg", + ".kokoro/release/promote.sh", + ".kokoro/release/publish_javadoc.cfg", + ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/publish_javadoc11.cfg", + ".kokoro/release/publish_javadoc11.sh", + ".kokoro/release/snapshot.cfg", + ".kokoro/release/snapshot.sh", + ".kokoro/release/stage.cfg", + ".kokoro/release/stage.sh", + ".kokoro/trampoline.sh", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "SECURITY.md", + "codecov.yaml", + "grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java", + "java.header", + "license-checks.xml", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java", + "renovate.json" + ] +} \ No newline at end of file diff --git a/java-iamcredentials/google-cloud-iamcredentials-bom/pom.xml b/java-iamcredentials/google-cloud-iamcredentials-bom/pom.xml index 45b8d477112b..81612d8ea765 100644 --- a/java-iamcredentials/google-cloud-iamcredentials-bom/pom.xml +++ b/java-iamcredentials/google-cloud-iamcredentials-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-iamcredentials-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-iamcredentials - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 2.9.0 + 2.10.0 diff --git a/java-iamcredentials/google-cloud-iamcredentials/pom.xml b/java-iamcredentials/google-cloud-iamcredentials/pom.xml index c2f0b61036f5..3e3fd6fabb75 100644 --- a/java-iamcredentials/google-cloud-iamcredentials/pom.xml +++ b/java-iamcredentials/google-cloud-iamcredentials/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-iamcredentials - 2.9.0 + 2.10.0 jar Google Cloud IAM Service Account Credentials Java idiomatic client for Google Cloud IAM Service Account Credentials com.google.cloud google-cloud-iamcredentials-parent - 2.9.0 + 2.10.0 google-cloud-iamcredentials diff --git a/java-iamcredentials/grpc-google-cloud-iamcredentials-v1/pom.xml b/java-iamcredentials/grpc-google-cloud-iamcredentials-v1/pom.xml index f668a021b580..0925a3011eb2 100644 --- a/java-iamcredentials/grpc-google-cloud-iamcredentials-v1/pom.xml +++ b/java-iamcredentials/grpc-google-cloud-iamcredentials-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-iamcredentials-v1 GRPC library for grpc-google-cloud-iamcredentials-v1 com.google.cloud google-cloud-iamcredentials-parent - 2.9.0 + 2.10.0 diff --git a/java-iamcredentials/pom.xml b/java-iamcredentials/pom.xml index 79fffe997f5a..95d08053a950 100644 --- a/java-iamcredentials/pom.xml +++ b/java-iamcredentials/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-iamcredentials-parent pom - 2.9.0 + 2.10.0 Google Cloud IAM Service Account Credentials Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-iamcredentials-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-iamcredentials - 2.9.0 + 2.10.0 diff --git a/java-iamcredentials/proto-google-cloud-iamcredentials-v1/pom.xml b/java-iamcredentials/proto-google-cloud-iamcredentials-v1/pom.xml index f6f1d04c9c09..0cd762177c18 100644 --- a/java-iamcredentials/proto-google-cloud-iamcredentials-v1/pom.xml +++ b/java-iamcredentials/proto-google-cloud-iamcredentials-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-iamcredentials-v1 - 2.9.0 + 2.10.0 proto-google-cloud-iamcredentials-v1 PROTO library for proto-google-cloud-iamcredentials-v1 com.google.cloud google-cloud-iamcredentials-parent - 2.9.0 + 2.10.0 diff --git a/java-ids/README.md b/java-ids/README.md index 9737293fe189..a92ae25d1ae3 100644 --- a/java-ids/README.md +++ b/java-ids/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-ids - 1.7.0 + 1.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-ids:1.7.0' +implementation 'com.google.cloud:google-cloud-ids:1.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.8.0" ``` ## Authentication diff --git a/java-ids/google-cloud-ids-bom/pom.xml b/java-ids/google-cloud-ids-bom/pom.xml index 68fb17aefe88..3fe55c02c09c 100644 --- a/java-ids/google-cloud-ids-bom/pom.xml +++ b/java-ids/google-cloud-ids-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-ids-bom - 1.8.0 + 1.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-ids - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-ids-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-ids-v1 - 1.8.0 + 1.9.0 diff --git a/java-ids/google-cloud-ids/pom.xml b/java-ids/google-cloud-ids/pom.xml index 0057c250b8c3..cccb5c21e45b 100644 --- a/java-ids/google-cloud-ids/pom.xml +++ b/java-ids/google-cloud-ids/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-ids - 1.8.0 + 1.9.0 jar Google Intrusion Detection System Intrusion Detection System monitors your networks, and it alerts you when it detects malicious activity. Cloud IDS is powered by Palo Alto Networks. com.google.cloud google-cloud-ids-parent - 1.8.0 + 1.9.0 google-cloud-ids diff --git a/java-ids/grpc-google-cloud-ids-v1/pom.xml b/java-ids/grpc-google-cloud-ids-v1/pom.xml index ebf3a749a1af..b0c69e32d7bd 100644 --- a/java-ids/grpc-google-cloud-ids-v1/pom.xml +++ b/java-ids/grpc-google-cloud-ids-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-ids-v1 - 1.8.0 + 1.9.0 grpc-google-cloud-ids-v1 GRPC library for google-cloud-ids com.google.cloud google-cloud-ids-parent - 1.8.0 + 1.9.0 diff --git a/java-ids/pom.xml b/java-ids/pom.xml index b5fa4bd786e0..486fcd1a3387 100644 --- a/java-ids/pom.xml +++ b/java-ids/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-ids-parent pom - 1.8.0 + 1.9.0 Google Intrusion Detection System Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-ids - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-ids-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-ids-v1 - 1.8.0 + 1.9.0 diff --git a/java-ids/proto-google-cloud-ids-v1/pom.xml b/java-ids/proto-google-cloud-ids-v1/pom.xml index 9ee936f81de5..a19c763f56c3 100644 --- a/java-ids/proto-google-cloud-ids-v1/pom.xml +++ b/java-ids/proto-google-cloud-ids-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-ids-v1 - 1.8.0 + 1.9.0 proto-google-cloud-ids-v1 Proto library for google-cloud-ids com.google.cloud google-cloud-ids-parent - 1.8.0 + 1.9.0 diff --git a/java-ids/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/IdsProto.java b/java-ids/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/IdsProto.java index eb7d34553f42..4193cc9bdaf7 100644 --- a/java-ids/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/IdsProto.java +++ b/java-ids/proto-google-cloud-ids-v1/src/main/java/com/google/cloud/ids/v1/IdsProto.java @@ -136,10 +136,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\312A*\n\025google.protobuf.Empty\022\021Operati" + "onMetadata\032F\312A\022ids.googleapis.com\322A.http" + "s://www.googleapis.com/auth/cloud-platfo" - + "rmBv\n\027com.google.cloud.ids.v1B\010IdsProtoP" - + "\001Z6google.golang.org/genproto/googleapis" - + "/cloud/ids/v1;ids\352\002\026Google::Cloud::IDS::" - + "V1b\006proto3" + + "rmBi\n\027com.google.cloud.ids.v1B\010IdsProtoP" + + "\001Z)cloud.google.com/go/ids/apiv1/idspb;i" + + "dspb\352\002\026Google::Cloud::IDS::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-ids/proto-google-cloud-ids-v1/src/main/proto/google/cloud/ids/v1/ids.proto b/java-ids/proto-google-cloud-ids-v1/src/main/proto/google/cloud/ids/v1/ids.proto index d5202a5445dd..bad61be32e0d 100644 --- a/java-ids/proto-google-cloud-ids-v1/src/main/proto/google/cloud/ids/v1/ids.proto +++ b/java-ids/proto-google-cloud-ids-v1/src/main/proto/google/cloud/ids/v1/ids.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/ids/v1;ids"; +option go_package = "cloud.google.com/go/ids/apiv1/idspb;idspb"; option java_multiple_files = true; option java_outer_classname = "IdsProto"; option java_package = "com.google.cloud.ids.v1"; diff --git a/java-iot/README.md b/java-iot/README.md index c8b50537ba05..e1715bb48027 100644 --- a/java-iot/README.md +++ b/java-iot/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-iot - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iot:2.8.0' +implementation 'com.google.cloud:google-cloud-iot:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.9.0" ``` ## Authentication diff --git a/java-iot/google-cloud-iot-bom/pom.xml b/java-iot/google-cloud-iot-bom/pom.xml index 990963e7bc91..df1dc68e236e 100644 --- a/java-iot/google-cloud-iot-bom/pom.xml +++ b/java-iot/google-cloud-iot-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-iot-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-iot - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-iot-v1 - 2.9.0 + 2.10.0 diff --git a/java-iot/google-cloud-iot/pom.xml b/java-iot/google-cloud-iot/pom.xml index 129c4847c664..aeeec57aad17 100644 --- a/java-iot/google-cloud-iot/pom.xml +++ b/java-iot/google-cloud-iot/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-iot - 2.9.0 + 2.10.0 jar Google Cloud IoT Core Java idiomatic client for Google Cloud IoT Core com.google.cloud google-cloud-iot-parent - 2.9.0 + 2.10.0 google-cloud-iot diff --git a/java-iot/grpc-google-cloud-iot-v1/pom.xml b/java-iot/grpc-google-cloud-iot-v1/pom.xml index 46d83155a182..429546c08ace 100644 --- a/java-iot/grpc-google-cloud-iot-v1/pom.xml +++ b/java-iot/grpc-google-cloud-iot-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-iot-v1 GRPC library for grpc-google-cloud-iot-v1 com.google.cloud google-cloud-iot-parent - 2.9.0 + 2.10.0 diff --git a/java-iot/pom.xml b/java-iot/pom.xml index 8e07cbc04235..b663d3f2a644 100644 --- a/java-iot/pom.xml +++ b/java-iot/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-iot-parent pom - 2.9.0 + 2.10.0 Google Cloud IoT Core Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-iot-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-iot-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-iot - 2.9.0 + 2.10.0 diff --git a/java-iot/proto-google-cloud-iot-v1/pom.xml b/java-iot/proto-google-cloud-iot-v1/pom.xml index a75fe71e01c5..e27d52f63db5 100644 --- a/java-iot/proto-google-cloud-iot-v1/pom.xml +++ b/java-iot/proto-google-cloud-iot-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-iot-v1 - 2.9.0 + 2.10.0 proto-google-cloud-iot-v1 PROTO library for proto-google-cloud-iot-v1 com.google.cloud google-cloud-iot-parent - 2.9.0 + 2.10.0 diff --git a/java-iot/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceManagerProto.java b/java-iot/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceManagerProto.java index 2a170d40496c..08f0b89b6ac6 100644 --- a/java-iot/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceManagerProto.java +++ b/java-iot/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/DeviceManagerProto.java @@ -332,10 +332,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "y_id,device_id\032t\312A\027cloudiot.googleapis.c" + "om\322AWhttps://www.googleapis.com/auth/clo" + "ud-platform,https://www.googleapis.com/a" - + "uth/cloudiotBj\n\027com.google.cloud.iot.v1B" - + "\022DeviceManagerProtoP\001Z6google.golang.org" - + "/genproto/googleapis/cloud/iot/v1;iot\370\001\001" - + "b\006proto3" + + "uth/cloudiotB]\n\027com.google.cloud.iot.v1B" + + "\022DeviceManagerProtoP\001Z)cloud.google.com/" + + "go/iot/apiv1/iotpb;iotpb\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-iot/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ResourcesProto.java b/java-iot/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ResourcesProto.java index b86631449430..8240aa5efcc8 100644 --- a/java-iot/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ResourcesProto.java +++ b/java-iot/proto-google-cloud-iot-v1/src/main/java/com/google/cloud/iot/v1/ResourcesProto.java @@ -191,10 +191,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "9_CERTIFICATE_PEM\020\001*v\n\017PublicKeyFormat\022!" + "\n\035UNSPECIFIED_PUBLIC_KEY_FORMAT\020\000\022\013\n\007RSA" + "_PEM\020\003\022\020\n\014RSA_X509_PEM\020\001\022\r\n\tES256_PEM\020\002\022" - + "\022\n\016ES256_X509_PEM\020\004Bf\n\027com.google.cloud." - + "iot.v1B\016ResourcesProtoP\001Z6google.golang." - + "org/genproto/googleapis/cloud/iot/v1;iot" - + "\370\001\001b\006proto3" + + "\022\n\016ES256_X509_PEM\020\004BY\n\027com.google.cloud." + + "iot.v1B\016ResourcesProtoP\001Z)cloud.google.c" + + "om/go/iot/apiv1/iotpb;iotpb\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-iot/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/device_manager.proto b/java-iot/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/device_manager.proto index b28140ce7b52..121bcdeefca1 100644 --- a/java-iot/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/device_manager.proto +++ b/java-iot/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/device_manager.proto @@ -27,7 +27,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/iot/v1;iot"; +option go_package = "cloud.google.com/go/iot/apiv1/iotpb;iotpb"; option java_multiple_files = true; option java_outer_classname = "DeviceManagerProto"; option java_package = "com.google.cloud.iot.v1"; diff --git a/java-iot/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/resources.proto b/java-iot/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/resources.proto index a14fc027ef47..d08d268b0243 100644 --- a/java-iot/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/resources.proto +++ b/java-iot/proto-google-cloud-iot-v1/src/main/proto/google/cloud/iot/v1/resources.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/iot/v1;iot"; +option go_package = "cloud.google.com/go/iot/apiv1/iotpb;iotpb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.iot.v1"; diff --git a/java-kms/README.md b/java-kms/README.md index ead7d3673105..3e05face0a43 100644 --- a/java-kms/README.md +++ b/java-kms/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-kms - 2.11.0 + 2.12.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-kms:2.11.0' +implementation 'com.google.cloud:google-cloud-kms:2.12.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.11.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.12.0" ``` ## Authentication diff --git a/java-kms/google-cloud-kms-bom/pom.xml b/java-kms/google-cloud-kms-bom/pom.xml index ea0583dea663..ba0f7dd88f6e 100644 --- a/java-kms/google-cloud-kms-bom/pom.xml +++ b/java-kms/google-cloud-kms-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-kms-bom - 2.12.0 + 2.13.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-kms - 2.12.0 + 2.13.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.103.0 + 0.104.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.103.0 + 0.104.0 diff --git a/java-kms/google-cloud-kms/pom.xml b/java-kms/google-cloud-kms/pom.xml index 53e7c5f9c3ee..a6794a9d8480 100644 --- a/java-kms/google-cloud-kms/pom.xml +++ b/java-kms/google-cloud-kms/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-kms - 2.12.0 + 2.13.0 jar Google Cloud KMS Java idiomatic client for Google Cloud KMS com.google.cloud google-cloud-kms-parent - 2.12.0 + 2.13.0 google-cloud-kms diff --git a/java-kms/grpc-google-cloud-kms-v1/pom.xml b/java-kms/grpc-google-cloud-kms-v1/pom.xml index 69c1d3d11225..654bd264d1bf 100644 --- a/java-kms/grpc-google-cloud-kms-v1/pom.xml +++ b/java-kms/grpc-google-cloud-kms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.103.0 + 0.104.0 grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.cloud google-cloud-kms-parent - 2.12.0 + 2.13.0 diff --git a/java-kms/pom.xml b/java-kms/pom.xml index d491d2890fd4..f38607e3e3cb 100644 --- a/java-kms/pom.xml +++ b/java-kms/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-kms-parent pom - 2.12.0 + 2.13.0 Google Cloud KMS Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,22 +29,22 @@ com.google.api.grpc proto-google-cloud-kms-v1 - 0.103.0 + 0.104.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.103.0 + 0.104.0 com.google.cloud google-cloud-kms - 2.12.0 + 2.13.0 com.google.cloud google-cloud-kms-bom - 2.12.0 + 2.13.0 diff --git a/java-kms/proto-google-cloud-kms-v1/pom.xml b/java-kms/proto-google-cloud-kms-v1/pom.xml index f527fb480433..9723aea60836 100644 --- a/java-kms/proto-google-cloud-kms-v1/pom.xml +++ b/java-kms/proto-google-cloud-kms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.103.0 + 0.104.0 proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.cloud google-cloud-kms-parent - 2.12.0 + 2.13.0 diff --git a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceProto.java b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceProto.java index 874b7dd507cc..9d5bf3cc43b1 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceProto.java +++ b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EkmServiceProto.java @@ -137,14 +137,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\332A\032ekm_connection,update_mask\032t\312A\027cloudk" + "ms.googleapis.com\322AWhttps://www.googleap" + "is.com/auth/cloud-platform,https://www.g" - + "oogleapis.com/auth/cloudkmsB\222\002\n\027com.goog" - + "le.cloud.kms.v1B\017EkmServiceProtoP\001Z6goog" - + "le.golang.org/genproto/googleapis/cloud/" - + "kms/v1;kms\370\001\001\252\002\023Google.Cloud.Kms.V1\312\002\023Go" - + "ogle\\Cloud\\Kms\\V1\352A|\n\'servicedirectory.g" - + "oogleapis.com/Service\022Qprojects/{project" - + "}/locations/{location}/namespaces/{names" - + "pace}/services/{service}b\006proto3" + + "oogleapis.com/auth/cloudkmsB\205\002\n\027com.goog" + + "le.cloud.kms.v1B\017EkmServiceProtoP\001Z)clou" + + "d.google.com/go/kms/apiv1/kmspb;kmspb\370\001\001" + + "\252\002\023Google.Cloud.Kms.V1\312\002\023Google\\Cloud\\Km" + + "s\\V1\352A|\n\'servicedirectory.googleapis.com" + + "/Service\022Qprojects/{project}/locations/{" + + "location}/namespaces/{namespace}/service" + + "s/{service}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsProto.java b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsProto.java index ef44546d3294..b54551a144df 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsProto.java +++ b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsProto.java @@ -500,10 +500,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ion_level\032t\312A\027cloudkms.googleapis.com\322AW" + "https://www.googleapis.com/auth/cloud-pl" + "atform,https://www.googleapis.com/auth/c" - + "loudkmsB\214\001\n\027com.google.cloud.kms.v1B\010Kms" - + "ProtoP\001Z6google.golang.org/genproto/goog" - + "leapis/cloud/kms/v1;kms\370\001\001\252\002\023Google.Clou" - + "d.Kms.V1\312\002\023Google\\Cloud\\Kms\\V1b\006proto3" + + "loudkmsB\177\n\027com.google.cloud.kms.v1B\010KmsP" + + "rotoP\001Z)cloud.google.com/go/kms/apiv1/km" + + "spb;kmspb\370\001\001\252\002\023Google.Cloud.Kms.V1\312\002\023Goo" + + "gle\\Cloud\\Kms\\V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java index 83ba650f8357..a9da98276584 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java +++ b/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java @@ -224,11 +224,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "al_key_uri\030\001 \001(\t\022\037\n\027ekm_connection_key_p" + "ath\030\002 \001(\t*j\n\017ProtectionLevel\022 \n\034PROTECTI" + "ON_LEVEL_UNSPECIFIED\020\000\022\014\n\010SOFTWARE\020\001\022\007\n\003" - + "HSM\020\002\022\014\n\010EXTERNAL\020\003\022\020\n\014EXTERNAL_VPC\020\004B\225\001" + + "HSM\020\002\022\014\n\010EXTERNAL\020\003\022\020\n\014EXTERNAL_VPC\020\004B\210\001" + "\n\027com.google.cloud.kms.v1B\021KmsResourcesP" - + "rotoP\001Z6google.golang.org/genproto/googl" - + "eapis/cloud/kms/v1;kms\370\001\001\252\002\023Google.Cloud" - + ".Kms.V1\312\002\023Google\\Cloud\\Kms\\V1b\006proto3" + + "rotoP\001Z)cloud.google.com/go/kms/apiv1/km" + + "spb;kmspb\370\001\001\252\002\023Google.Cloud.Kms.V1\312\002\023Goo" + + "gle\\Cloud\\Kms\\V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/ekm_service.proto b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/ekm_service.proto index c179d4a6c35b..aea72d681704 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/ekm_service.proto +++ b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/ekm_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Kms.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/kms/v1;kms"; +option go_package = "cloud.google.com/go/kms/apiv1/kmspb;kmspb"; option java_multiple_files = true; option java_outer_classname = "EkmServiceProto"; option java_package = "com.google.cloud.kms.v1"; diff --git a/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto index fa89122c8a0e..23a787295fd3 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto +++ b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto @@ -24,7 +24,7 @@ import "google/protobuf/wrappers.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Kms.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/kms/v1;kms"; +option go_package = "cloud.google.com/go/kms/apiv1/kmspb;kmspb"; option java_multiple_files = true; option java_outer_classname = "KmsResourcesProto"; option java_package = "com.google.cloud.kms.v1"; diff --git a/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/service.proto b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/service.proto index 938f1e2550ec..86a020f4b73a 100644 --- a/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/service.proto +++ b/java-kms/proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/service.proto @@ -26,7 +26,7 @@ import "google/protobuf/wrappers.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Kms.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/kms/v1;kms"; +option go_package = "cloud.google.com/go/kms/apiv1/kmspb;kmspb"; option java_multiple_files = true; option java_outer_classname = "KmsProto"; option java_package = "com.google.cloud.kms.v1"; diff --git a/java-language/README.md b/java-language/README.md index 91bcd099474d..0d595b5255f3 100644 --- a/java-language/README.md +++ b/java-language/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-language - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-language:2.9.0' +implementation 'com.google.cloud:google-cloud-language:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.10.0" ``` ## Authentication diff --git a/java-language/google-cloud-language-bom/pom.xml b/java-language/google-cloud-language-bom/pom.xml index 172d71858032..975ae4dc8038 100644 --- a/java-language/google-cloud-language-bom/pom.xml +++ b/java-language/google-cloud-language-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-language-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-language - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-language-v1 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.97.0 + 0.98.0 com.google.api.grpc proto-google-cloud-language-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.97.0 + 0.98.0 diff --git a/java-language/google-cloud-language/pom.xml b/java-language/google-cloud-language/pom.xml index 98e7ef514369..3816159602ac 100644 --- a/java-language/google-cloud-language/pom.xml +++ b/java-language/google-cloud-language/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-language - 2.10.0 + 2.11.0 jar Google Cloud Natural Language Java idiomatic client for Google Clould Natural Language com.google.cloud google-cloud-language-parent - 2.10.0 + 2.11.0 google-cloud-language diff --git a/java-language/grpc-google-cloud-language-v1/pom.xml b/java-language/grpc-google-cloud-language-v1/pom.xml index 6d326f987b7f..ed3e9dbf447e 100644 --- a/java-language/grpc-google-cloud-language-v1/pom.xml +++ b/java-language/grpc-google-cloud-language-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-language-v1 - 2.10.0 + 2.11.0 grpc-google-cloud-language-v1 GRPC library for grpc-google-cloud-language-v1 com.google.cloud google-cloud-language-parent - 2.10.0 + 2.11.0 diff --git a/java-language/grpc-google-cloud-language-v1beta2/pom.xml b/java-language/grpc-google-cloud-language-v1beta2/pom.xml index fefa9f3535c3..4363dac6b701 100644 --- a/java-language/grpc-google-cloud-language-v1beta2/pom.xml +++ b/java-language/grpc-google-cloud-language-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.97.0 + 0.98.0 grpc-google-cloud-language-v1beta2 GRPC library for grpc-google-cloud-language-v1beta2 com.google.cloud google-cloud-language-parent - 2.10.0 + 2.11.0 diff --git a/java-language/pom.xml b/java-language/pom.xml index 7e62b9027177..db9624a82594 100644 --- a/java-language/pom.xml +++ b/java-language/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-language-parent pom - 2.10.0 + 2.11.0 Google Cloud Natural Language Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-language-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.97.0 + 0.98.0 com.google.api.grpc grpc-google-cloud-language-v1 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-language-v1beta2 - 0.97.0 + 0.98.0 com.google.cloud google-cloud-language - 2.10.0 + 2.11.0 diff --git a/java-language/proto-google-cloud-language-v1/pom.xml b/java-language/proto-google-cloud-language-v1/pom.xml index d71b82a265c4..457667d72415 100644 --- a/java-language/proto-google-cloud-language-v1/pom.xml +++ b/java-language/proto-google-cloud-language-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-language-v1 - 2.10.0 + 2.11.0 proto-google-cloud-language-v1 PROTO library for proto-google-cloud-language-v1 com.google.cloud google-cloud-language-parent - 2.10.0 + 2.11.0 diff --git a/java-language/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java b/java-language/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java index 17ab199abb88..3a09b0493935 100644 --- a/java-language/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java +++ b/java-language/proto-google-cloud-language-v1/src/main/java/com/google/cloud/language/v1/LanguageServiceProto.java @@ -362,11 +362,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ng_type\332A\021document,features\032z\312A\027language" + ".googleapis.com\322A]https://www.googleapis" + ".com/auth/cloud-language,https://www.goo" - + "gleapis.com/auth/cloud-platformBx\n\034com.g" + + "gleapis.com/auth/cloud-platformBp\n\034com.g" + "oogle.cloud.language.v1B\024LanguageService" - + "ProtoP\001Z@google.golang.org/genproto/goog" - + "leapis/cloud/language/v1;languageb\006proto" - + "3" + + "ProtoP\001Z8cloud.google.com/go/language/ap" + + "iv1/languagepb;languagepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-language/proto-google-cloud-language-v1/src/main/proto/google/cloud/language/v1/language_service.proto b/java-language/proto-google-cloud-language-v1/src/main/proto/google/cloud/language/v1/language_service.proto index 4dae89745bf4..991ccabb01e7 100644 --- a/java-language/proto-google-cloud-language-v1/src/main/proto/google/cloud/language/v1/language_service.proto +++ b/java-language/proto-google-cloud-language-v1/src/main/proto/google/cloud/language/v1/language_service.proto @@ -20,7 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/language/v1;language"; +option go_package = "cloud.google.com/go/language/apiv1/languagepb;languagepb"; option java_multiple_files = true; option java_outer_classname = "LanguageServiceProto"; option java_package = "com.google.cloud.language.v1"; diff --git a/java-language/proto-google-cloud-language-v1beta2/pom.xml b/java-language/proto-google-cloud-language-v1beta2/pom.xml index 59d703b5d342..5c664ec93839 100644 --- a/java-language/proto-google-cloud-language-v1beta2/pom.xml +++ b/java-language/proto-google-cloud-language-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-language-v1beta2 - 0.97.0 + 0.98.0 proto-google-cloud-language-v1beta2 PROTO library for proto-google-cloud-language-v1beta2 com.google.cloud google-cloud-language-parent - 2.10.0 + 2.11.0 diff --git a/java-language/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceProto.java b/java-language/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceProto.java index 4086c793ab24..609525ce9bfe 100644 --- a/java-language/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceProto.java +++ b/java-language/proto-google-cloud-language-v1beta2/src/main/java/com/google/cloud/language/v1beta2/LanguageServiceProto.java @@ -377,11 +377,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_type\332A\021document,features\032z\312A\027language.g" + "oogleapis.com\322A]https://www.googleapis.c" + "om/auth/cloud-language,https://www.googl" - + "eapis.com/auth/cloud-platformB\202\001\n!com.go" - + "ogle.cloud.language.v1beta2B\024LanguageSer" - + "viceProtoP\001ZEgoogle.golang.org/genproto/" - + "googleapis/cloud/language/v1beta2;langua" - + "geb\006proto3" + + "eapis.com/auth/cloud-platformBz\n!com.goo" + + "gle.cloud.language.v1beta2B\024LanguageServ" + + "iceProtoP\001Z=cloud.google.com/go/language" + + "/apiv1beta2/languagepb;languagepbb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-language/proto-google-cloud-language-v1beta2/src/main/proto/google/cloud/language/v1beta2/language_service.proto b/java-language/proto-google-cloud-language-v1beta2/src/main/proto/google/cloud/language/v1beta2/language_service.proto index 3e6a9f8290ec..49c6c0dd1e20 100644 --- a/java-language/proto-google-cloud-language-v1beta2/src/main/proto/google/cloud/language/v1beta2/language_service.proto +++ b/java-language/proto-google-cloud-language-v1beta2/src/main/proto/google/cloud/language/v1beta2/language_service.proto @@ -20,7 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/language/v1beta2;language"; +option go_package = "cloud.google.com/go/language/apiv1beta2/languagepb;languagepb"; option java_multiple_files = true; option java_outer_classname = "LanguageServiceProto"; option java_package = "com.google.cloud.language.v1beta2"; diff --git a/java-life-sciences/README.md b/java-life-sciences/README.md index 7934631da83d..7be52e51b652 100644 --- a/java-life-sciences/README.md +++ b/java-life-sciences/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-life-sciences - 0.10.0 + 0.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-life-sciences:0.10.0' +implementation 'com.google.cloud:google-cloud-life-sciences:0.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "0.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "0.11.0" ``` ## Authentication diff --git a/java-life-sciences/google-cloud-life-sciences-bom/pom.xml b/java-life-sciences/google-cloud-life-sciences-bom/pom.xml index 51308a31614d..507ea39f7ac1 100644 --- a/java-life-sciences/google-cloud-life-sciences-bom/pom.xml +++ b/java-life-sciences/google-cloud-life-sciences-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-life-sciences-bom - 0.11.0 + 0.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-life-sciences - 0.11.0 + 0.12.0 com.google.api.grpc grpc-google-cloud-life-sciences-v2beta - 0.11.0 + 0.12.0 com.google.api.grpc proto-google-cloud-life-sciences-v2beta - 0.11.0 + 0.12.0 diff --git a/java-life-sciences/google-cloud-life-sciences/pom.xml b/java-life-sciences/google-cloud-life-sciences/pom.xml index 0214c06516c3..ccfebe82a4f0 100644 --- a/java-life-sciences/google-cloud-life-sciences/pom.xml +++ b/java-life-sciences/google-cloud-life-sciences/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-life-sciences - 0.11.0 + 0.12.0 jar Google Cloud Life Sciences Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data. com.google.cloud google-cloud-life-sciences-parent - 0.11.0 + 0.12.0 google-cloud-life-sciences diff --git a/java-life-sciences/grpc-google-cloud-life-sciences-v2beta/pom.xml b/java-life-sciences/grpc-google-cloud-life-sciences-v2beta/pom.xml index 602604f79d24..64c10e6729d8 100644 --- a/java-life-sciences/grpc-google-cloud-life-sciences-v2beta/pom.xml +++ b/java-life-sciences/grpc-google-cloud-life-sciences-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-life-sciences-v2beta - 0.11.0 + 0.12.0 grpc-google-cloud-life-sciences-v2beta GRPC library for google-cloud-life-sciences com.google.cloud google-cloud-life-sciences-parent - 0.11.0 + 0.12.0 diff --git a/java-life-sciences/grpc-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaGrpc.java b/java-life-sciences/grpc-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaGrpc.java index 360aa560623d..77a88fbce9c5 100644 --- a/java-life-sciences/grpc-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaGrpc.java +++ b/java-life-sciences/grpc-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsServiceV2BetaGrpc.java @@ -138,11 +138,11 @@ public abstract static class WorkflowsServiceV2BetaImplBase implements io.grpc.B *
            * Runs a pipeline.  The returned Operation's [metadata]
            * [google.longrunning.Operation.metadata] field will contain a
      -     * [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] object describing the status
      -     * of the pipeline execution. The
      +     * [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata]
      +     * object describing the status of the pipeline execution. The
            * [response][google.longrunning.Operation.response] field will contain a
      -     * [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] object if the
      -     * pipeline completes successfully.
      +     * [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse]
      +     * object if the pipeline completes successfully.
            * **Note:** Before you can use this method, the *Life Sciences Service Agent*
            * must have access to your project. This is done automatically when the
            * Cloud Life Sciences API is first enabled, but if you delete this permission
      @@ -199,11 +199,11 @@ protected WorkflowsServiceV2BetaStub build(
            * 
            * Runs a pipeline.  The returned Operation's [metadata]
            * [google.longrunning.Operation.metadata] field will contain a
      -     * [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] object describing the status
      -     * of the pipeline execution. The
      +     * [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata]
      +     * object describing the status of the pipeline execution. The
            * [response][google.longrunning.Operation.response] field will contain a
      -     * [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] object if the
      -     * pipeline completes successfully.
      +     * [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse]
      +     * object if the pipeline completes successfully.
            * **Note:** Before you can use this method, the *Life Sciences Service Agent*
            * must have access to your project. This is done automatically when the
            * Cloud Life Sciences API is first enabled, but if you delete this permission
      @@ -251,11 +251,11 @@ protected WorkflowsServiceV2BetaBlockingStub build(
            * 
            * Runs a pipeline.  The returned Operation's [metadata]
            * [google.longrunning.Operation.metadata] field will contain a
      -     * [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] object describing the status
      -     * of the pipeline execution. The
      +     * [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata]
      +     * object describing the status of the pipeline execution. The
            * [response][google.longrunning.Operation.response] field will contain a
      -     * [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] object if the
      -     * pipeline completes successfully.
      +     * [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse]
      +     * object if the pipeline completes successfully.
            * **Note:** Before you can use this method, the *Life Sciences Service Agent*
            * must have access to your project. This is done automatically when the
            * Cloud Life Sciences API is first enabled, but if you delete this permission
      @@ -300,11 +300,11 @@ protected WorkflowsServiceV2BetaFutureStub build(
            * 
            * Runs a pipeline.  The returned Operation's [metadata]
            * [google.longrunning.Operation.metadata] field will contain a
      -     * [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] object describing the status
      -     * of the pipeline execution. The
      +     * [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata]
      +     * object describing the status of the pipeline execution. The
            * [response][google.longrunning.Operation.response] field will contain a
      -     * [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] object if the
      -     * pipeline completes successfully.
      +     * [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse]
      +     * object if the pipeline completes successfully.
            * **Note:** Before you can use this method, the *Life Sciences Service Agent*
            * must have access to your project. This is done automatically when the
            * Cloud Life Sciences API is first enabled, but if you delete this permission
      diff --git a/java-life-sciences/pom.xml b/java-life-sciences/pom.xml
      index 673dd00fcc2d..1fe9fd9ed1fe 100644
      --- a/java-life-sciences/pom.xml
      +++ b/java-life-sciences/pom.xml
      @@ -4,7 +4,7 @@
         com.google.cloud
         google-cloud-life-sciences-parent
         pom
      -  0.11.0
      +  0.12.0
         Google Cloud Life Sciences Parent
         
           Java idiomatic client for Google Cloud Platform services.
      @@ -13,7 +13,7 @@
         
           com.google.cloud
           google-cloud-jar-parent
      -    1.3.0
      +    1.4.0
           ../google-cloud-jar-parent/pom.xml
         
       
      @@ -29,17 +29,17 @@
             
               com.google.cloud
               google-cloud-life-sciences
      -        0.11.0
      +        0.12.0
             
             
               com.google.api.grpc
               grpc-google-cloud-life-sciences-v2beta
      -        0.11.0
      +        0.12.0
             
             
               com.google.api.grpc
               proto-google-cloud-life-sciences-v2beta
      -        0.11.0
      +        0.12.0
             
           
         
      diff --git a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/pom.xml b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/pom.xml
      index 04521ba9330c..4c0e65551dbf 100644
      --- a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/pom.xml
      +++ b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/pom.xml
      @@ -4,13 +4,13 @@
         4.0.0
         com.google.api.grpc
         proto-google-cloud-life-sciences-v2beta
      -  0.11.0
      +  0.12.0
         proto-google-cloud-life-sciences-v2beta
         Proto library for google-cloud-life-sciences
         
           com.google.cloud
           google-cloud-life-sciences-parent
      -    0.11.0
      +    0.12.0
         
         
           
      diff --git a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/Action.java b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/Action.java
      index 16772372e7c7..defd0c9c4371 100644
      --- a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/Action.java
      +++ b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/Action.java
      @@ -152,9 +152,9 @@ public com.google.protobuf.ByteString getContainerNameBytes() {
          *
          *
          * 
      -   * Required. The URI to pull the container image from. Note that all images referenced
      -   * by actions in the pipeline are pulled before the first action runs. If
      -   * multiple actions reference the same image, it is only pulled once,
      +   * Required. The URI to pull the container image from. Note that all images
      +   * referenced by actions in the pipeline are pulled before the first action
      +   * runs. If multiple actions reference the same image, it is only pulled once,
          * ensuring that the same image is used for all actions in a single pipeline.
          * The image URI can be either a complete host and image specification (e.g.,
          * quay.io/biocontainers/samtools), a library and image name (e.g.,
      @@ -163,7 +163,8 @@ public com.google.protobuf.ByteString getContainerNameBytes() {
          * If the specified image is not public, the service account specified for
          * the Virtual Machine must have access to pull the images from GCR, or
          * appropriate credentials must be specified in the
      -   * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field.
      +   * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials]
      +   * field.
          * 
      * * string image_uri = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -186,9 +187,9 @@ public java.lang.String getImageUri() { * * *
      -   * Required. The URI to pull the container image from. Note that all images referenced
      -   * by actions in the pipeline are pulled before the first action runs. If
      -   * multiple actions reference the same image, it is only pulled once,
      +   * Required. The URI to pull the container image from. Note that all images
      +   * referenced by actions in the pipeline are pulled before the first action
      +   * runs. If multiple actions reference the same image, it is only pulled once,
          * ensuring that the same image is used for all actions in a single pipeline.
          * The image URI can be either a complete host and image specification (e.g.,
          * quay.io/biocontainers/samtools), a library and image name (e.g.,
      @@ -197,7 +198,8 @@ public java.lang.String getImageUri() {
          * If the specified image is not public, the service account specified for
          * the Virtual Machine must have access to pull the images from GCR, or
          * appropriate credentials must be specified in the
      -   * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field.
      +   * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials]
      +   * field.
          * 
      * * string image_uri = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -375,7 +377,8 @@ public int getEnvironmentCount() { * *
          * The environment to pass into the container. This environment is merged
      -   * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * with values specified in the
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
          * message, overwriting any duplicate values.
          * In addition to the values passed here, a few other values are
          * automatically injected into the environment. These cannot be hidden or
      @@ -409,7 +412,8 @@ public java.util.Map getEnvironment() {
          *
          * 
          * The environment to pass into the container. This environment is merged
      -   * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * with values specified in the
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
          * message, overwriting any duplicate values.
          * In addition to the values passed here, a few other values are
          * automatically injected into the environment. These cannot be hidden or
      @@ -434,7 +438,8 @@ public java.util.Map getEnvironmentMap() {
          *
          * 
          * The environment to pass into the container. This environment is merged
      -   * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * with values specified in the
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
          * message, overwriting any duplicate values.
          * In addition to the values passed here, a few other values are
          * automatically injected into the environment. These cannot be hidden or
      @@ -466,7 +471,8 @@ public java.util.Map getEnvironmentMap() {
          *
          * 
          * The environment to pass into the container. This environment is merged
      -   * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * with values specified in the
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
          * message, overwriting any duplicate values.
          * In addition to the values passed here, a few other values are
          * automatically injected into the environment. These cannot be hidden or
      @@ -502,8 +508,8 @@ public java.lang.String getEnvironmentOrThrow(java.lang.String key) {
          * 
          * The encrypted environment to pass into the container. This environment is
          * merged with values specified in the
      -   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -   * duplicate values.
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * message, overwriting any duplicate values.
          * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
          * serve as environment variable names and their values. The decoded
          * environment variables can overwrite the values specified by the
      @@ -524,8 +530,8 @@ public boolean hasEncryptedEnvironment() {
          * 
          * The encrypted environment to pass into the container. This environment is
          * merged with values specified in the
      -   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -   * duplicate values.
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * message, overwriting any duplicate values.
          * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
          * serve as environment variable names and their values. The decoded
          * environment variables can overwrite the values specified by the
      @@ -548,8 +554,8 @@ public com.google.cloud.lifesciences.v2beta.Secret getEncryptedEnvironment() {
          * 
          * The encrypted environment to pass into the container. This environment is
          * merged with values specified in the
      -   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -   * duplicate values.
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * message, overwriting any duplicate values.
          * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
          * serve as environment variable names and their values. The decoded
          * environment variables can overwrite the values specified by the
      @@ -2333,9 +2339,9 @@ public Builder setContainerNameBytes(com.google.protobuf.ByteString value) {
            *
            *
            * 
      -     * Required. The URI to pull the container image from. Note that all images referenced
      -     * by actions in the pipeline are pulled before the first action runs. If
      -     * multiple actions reference the same image, it is only pulled once,
      +     * Required. The URI to pull the container image from. Note that all images
      +     * referenced by actions in the pipeline are pulled before the first action
      +     * runs. If multiple actions reference the same image, it is only pulled once,
            * ensuring that the same image is used for all actions in a single pipeline.
            * The image URI can be either a complete host and image specification (e.g.,
            * quay.io/biocontainers/samtools), a library and image name (e.g.,
      @@ -2344,7 +2350,8 @@ public Builder setContainerNameBytes(com.google.protobuf.ByteString value) {
            * If the specified image is not public, the service account specified for
            * the Virtual Machine must have access to pull the images from GCR, or
            * appropriate credentials must be specified in the
      -     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field.
      +     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials]
      +     * field.
            * 
      * * string image_uri = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2366,9 +2373,9 @@ public java.lang.String getImageUri() { * * *
      -     * Required. The URI to pull the container image from. Note that all images referenced
      -     * by actions in the pipeline are pulled before the first action runs. If
      -     * multiple actions reference the same image, it is only pulled once,
      +     * Required. The URI to pull the container image from. Note that all images
      +     * referenced by actions in the pipeline are pulled before the first action
      +     * runs. If multiple actions reference the same image, it is only pulled once,
            * ensuring that the same image is used for all actions in a single pipeline.
            * The image URI can be either a complete host and image specification (e.g.,
            * quay.io/biocontainers/samtools), a library and image name (e.g.,
      @@ -2377,7 +2384,8 @@ public java.lang.String getImageUri() {
            * If the specified image is not public, the service account specified for
            * the Virtual Machine must have access to pull the images from GCR, or
            * appropriate credentials must be specified in the
      -     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field.
      +     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials]
      +     * field.
            * 
      * * string image_uri = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2399,9 +2407,9 @@ public com.google.protobuf.ByteString getImageUriBytes() { * * *
      -     * Required. The URI to pull the container image from. Note that all images referenced
      -     * by actions in the pipeline are pulled before the first action runs. If
      -     * multiple actions reference the same image, it is only pulled once,
      +     * Required. The URI to pull the container image from. Note that all images
      +     * referenced by actions in the pipeline are pulled before the first action
      +     * runs. If multiple actions reference the same image, it is only pulled once,
            * ensuring that the same image is used for all actions in a single pipeline.
            * The image URI can be either a complete host and image specification (e.g.,
            * quay.io/biocontainers/samtools), a library and image name (e.g.,
      @@ -2410,7 +2418,8 @@ public com.google.protobuf.ByteString getImageUriBytes() {
            * If the specified image is not public, the service account specified for
            * the Virtual Machine must have access to pull the images from GCR, or
            * appropriate credentials must be specified in the
      -     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field.
      +     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials]
      +     * field.
            * 
      * * string image_uri = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2431,9 +2440,9 @@ public Builder setImageUri(java.lang.String value) { * * *
      -     * Required. The URI to pull the container image from. Note that all images referenced
      -     * by actions in the pipeline are pulled before the first action runs. If
      -     * multiple actions reference the same image, it is only pulled once,
      +     * Required. The URI to pull the container image from. Note that all images
      +     * referenced by actions in the pipeline are pulled before the first action
      +     * runs. If multiple actions reference the same image, it is only pulled once,
            * ensuring that the same image is used for all actions in a single pipeline.
            * The image URI can be either a complete host and image specification (e.g.,
            * quay.io/biocontainers/samtools), a library and image name (e.g.,
      @@ -2442,7 +2451,8 @@ public Builder setImageUri(java.lang.String value) {
            * If the specified image is not public, the service account specified for
            * the Virtual Machine must have access to pull the images from GCR, or
            * appropriate credentials must be specified in the
      -     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field.
      +     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials]
      +     * field.
            * 
      * * string image_uri = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2459,9 +2469,9 @@ public Builder clearImageUri() { * * *
      -     * Required. The URI to pull the container image from. Note that all images referenced
      -     * by actions in the pipeline are pulled before the first action runs. If
      -     * multiple actions reference the same image, it is only pulled once,
      +     * Required. The URI to pull the container image from. Note that all images
      +     * referenced by actions in the pipeline are pulled before the first action
      +     * runs. If multiple actions reference the same image, it is only pulled once,
            * ensuring that the same image is used for all actions in a single pipeline.
            * The image URI can be either a complete host and image specification (e.g.,
            * quay.io/biocontainers/samtools), a library and image name (e.g.,
      @@ -2470,7 +2480,8 @@ public Builder clearImageUri() {
            * If the specified image is not public, the service account specified for
            * the Virtual Machine must have access to pull the images from GCR, or
            * appropriate credentials must be specified in the
      -     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field.
      +     * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials]
      +     * field.
            * 
      * * string image_uri = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -2823,7 +2834,8 @@ public int getEnvironmentCount() { * *
            * The environment to pass into the container. This environment is merged
      -     * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * with values specified in the
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
            * message, overwriting any duplicate values.
            * In addition to the values passed here, a few other values are
            * automatically injected into the environment. These cannot be hidden or
      @@ -2857,7 +2869,8 @@ public java.util.Map getEnvironment() {
            *
            * 
            * The environment to pass into the container. This environment is merged
      -     * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * with values specified in the
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
            * message, overwriting any duplicate values.
            * In addition to the values passed here, a few other values are
            * automatically injected into the environment. These cannot be hidden or
      @@ -2882,7 +2895,8 @@ public java.util.Map getEnvironmentMap() {
            *
            * 
            * The environment to pass into the container. This environment is merged
      -     * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * with values specified in the
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
            * message, overwriting any duplicate values.
            * In addition to the values passed here, a few other values are
            * automatically injected into the environment. These cannot be hidden or
      @@ -2914,7 +2928,8 @@ public java.util.Map getEnvironmentMap() {
            *
            * 
            * The environment to pass into the container. This environment is merged
      -     * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * with values specified in the
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
            * message, overwriting any duplicate values.
            * In addition to the values passed here, a few other values are
            * automatically injected into the environment. These cannot be hidden or
      @@ -2952,7 +2967,8 @@ public Builder clearEnvironment() {
            *
            * 
            * The environment to pass into the container. This environment is merged
      -     * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * with values specified in the
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
            * message, overwriting any duplicate values.
            * In addition to the values passed here, a few other values are
            * automatically injected into the environment. These cannot be hidden or
      @@ -2986,7 +3002,8 @@ public java.util.Map getMutableEnvironment()
            *
            * 
            * The environment to pass into the container. This environment is merged
      -     * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * with values specified in the
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
            * message, overwriting any duplicate values.
            * In addition to the values passed here, a few other values are
            * automatically injected into the environment. These cannot be hidden or
      @@ -3018,7 +3035,8 @@ public Builder putEnvironment(java.lang.String key, java.lang.String value) {
            *
            * 
            * The environment to pass into the container. This environment is merged
      -     * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * with values specified in the
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
            * message, overwriting any duplicate values.
            * In addition to the values passed here, a few other values are
            * automatically injected into the environment. These cannot be hidden or
      @@ -3052,8 +3070,8 @@ public Builder putAllEnvironment(java.util.Map
            * The encrypted environment to pass into the container. This environment is
            * merged with values specified in the
      -     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -     * duplicate values.
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * message, overwriting any duplicate values.
            * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
            * serve as environment variable names and their values. The decoded
            * environment variables can overwrite the values specified by the
      @@ -3073,8 +3091,8 @@ public boolean hasEncryptedEnvironment() {
            * 
            * The encrypted environment to pass into the container. This environment is
            * merged with values specified in the
      -     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -     * duplicate values.
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * message, overwriting any duplicate values.
            * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
            * serve as environment variable names and their values. The decoded
            * environment variables can overwrite the values specified by the
      @@ -3100,8 +3118,8 @@ public com.google.cloud.lifesciences.v2beta.Secret getEncryptedEnvironment() {
            * 
            * The encrypted environment to pass into the container. This environment is
            * merged with values specified in the
      -     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -     * duplicate values.
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * message, overwriting any duplicate values.
            * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
            * serve as environment variable names and their values. The decoded
            * environment variables can overwrite the values specified by the
      @@ -3129,8 +3147,8 @@ public Builder setEncryptedEnvironment(com.google.cloud.lifesciences.v2beta.Secr
            * 
            * The encrypted environment to pass into the container. This environment is
            * merged with values specified in the
      -     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -     * duplicate values.
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * message, overwriting any duplicate values.
            * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
            * serve as environment variable names and their values. The decoded
            * environment variables can overwrite the values specified by the
      @@ -3156,8 +3174,8 @@ public Builder setEncryptedEnvironment(
            * 
            * The encrypted environment to pass into the container. This environment is
            * merged with values specified in the
      -     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -     * duplicate values.
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * message, overwriting any duplicate values.
            * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
            * serve as environment variable names and their values. The decoded
            * environment variables can overwrite the values specified by the
      @@ -3189,8 +3207,8 @@ public Builder mergeEncryptedEnvironment(com.google.cloud.lifesciences.v2beta.Se
            * 
            * The encrypted environment to pass into the container. This environment is
            * merged with values specified in the
      -     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -     * duplicate values.
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * message, overwriting any duplicate values.
            * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
            * serve as environment variable names and their values. The decoded
            * environment variables can overwrite the values specified by the
      @@ -3215,8 +3233,8 @@ public Builder clearEncryptedEnvironment() {
            * 
            * The encrypted environment to pass into the container. This environment is
            * merged with values specified in the
      -     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -     * duplicate values.
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * message, overwriting any duplicate values.
            * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
            * serve as environment variable names and their values. The decoded
            * environment variables can overwrite the values specified by the
      @@ -3236,8 +3254,8 @@ public com.google.cloud.lifesciences.v2beta.Secret.Builder getEncryptedEnvironme
            * 
            * The encrypted environment to pass into the container. This environment is
            * merged with values specified in the
      -     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -     * duplicate values.
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * message, overwriting any duplicate values.
            * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
            * serve as environment variable names and their values. The decoded
            * environment variables can overwrite the values specified by the
      @@ -3261,8 +3279,8 @@ public com.google.cloud.lifesciences.v2beta.SecretOrBuilder getEncryptedEnvironm
            * 
            * The encrypted environment to pass into the container. This environment is
            * merged with values specified in the
      -     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -     * duplicate values.
      +     * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +     * message, overwriting any duplicate values.
            * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
            * serve as environment variable names and their values. The decoded
            * environment variables can overwrite the values specified by the
      diff --git a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/ActionOrBuilder.java b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/ActionOrBuilder.java
      index 15c54b04263f..b5fd5f73bd5c 100644
      --- a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/ActionOrBuilder.java
      +++ b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/ActionOrBuilder.java
      @@ -58,9 +58,9 @@ public interface ActionOrBuilder
          *
          *
          * 
      -   * Required. The URI to pull the container image from. Note that all images referenced
      -   * by actions in the pipeline are pulled before the first action runs. If
      -   * multiple actions reference the same image, it is only pulled once,
      +   * Required. The URI to pull the container image from. Note that all images
      +   * referenced by actions in the pipeline are pulled before the first action
      +   * runs. If multiple actions reference the same image, it is only pulled once,
          * ensuring that the same image is used for all actions in a single pipeline.
          * The image URI can be either a complete host and image specification (e.g.,
          * quay.io/biocontainers/samtools), a library and image name (e.g.,
      @@ -69,7 +69,8 @@ public interface ActionOrBuilder
          * If the specified image is not public, the service account specified for
          * the Virtual Machine must have access to pull the images from GCR, or
          * appropriate credentials must be specified in the
      -   * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field.
      +   * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials]
      +   * field.
          * 
      * * string image_uri = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -81,9 +82,9 @@ public interface ActionOrBuilder * * *
      -   * Required. The URI to pull the container image from. Note that all images referenced
      -   * by actions in the pipeline are pulled before the first action runs. If
      -   * multiple actions reference the same image, it is only pulled once,
      +   * Required. The URI to pull the container image from. Note that all images
      +   * referenced by actions in the pipeline are pulled before the first action
      +   * runs. If multiple actions reference the same image, it is only pulled once,
          * ensuring that the same image is used for all actions in a single pipeline.
          * The image URI can be either a complete host and image specification (e.g.,
          * quay.io/biocontainers/samtools), a library and image name (e.g.,
      @@ -92,7 +93,8 @@ public interface ActionOrBuilder
          * If the specified image is not public, the service account specified for
          * the Virtual Machine must have access to pull the images from GCR, or
          * appropriate credentials must be specified in the
      -   * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field.
      +   * [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials]
      +   * field.
          * 
      * * string image_uri = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -194,7 +196,8 @@ public interface ActionOrBuilder * *
          * The environment to pass into the container. This environment is merged
      -   * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * with values specified in the
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
          * message, overwriting any duplicate values.
          * In addition to the values passed here, a few other values are
          * automatically injected into the environment. These cannot be hidden or
      @@ -216,7 +219,8 @@ public interface ActionOrBuilder
          *
          * 
          * The environment to pass into the container. This environment is merged
      -   * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * with values specified in the
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
          * message, overwriting any duplicate values.
          * In addition to the values passed here, a few other values are
          * automatically injected into the environment. These cannot be hidden or
      @@ -241,7 +245,8 @@ public interface ActionOrBuilder
          *
          * 
          * The environment to pass into the container. This environment is merged
      -   * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * with values specified in the
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
          * message, overwriting any duplicate values.
          * In addition to the values passed here, a few other values are
          * automatically injected into the environment. These cannot be hidden or
      @@ -263,7 +268,8 @@ public interface ActionOrBuilder
          *
          * 
          * The environment to pass into the container. This environment is merged
      -   * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * with values specified in the
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
          * message, overwriting any duplicate values.
          * In addition to the values passed here, a few other values are
          * automatically injected into the environment. These cannot be hidden or
      @@ -289,7 +295,8 @@ java.lang.String getEnvironmentOrDefault(
          *
          * 
          * The environment to pass into the container. This environment is merged
      -   * with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * with values specified in the
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
          * message, overwriting any duplicate values.
          * In addition to the values passed here, a few other values are
          * automatically injected into the environment. These cannot be hidden or
      @@ -313,8 +320,8 @@ java.lang.String getEnvironmentOrDefault(
          * 
          * The encrypted environment to pass into the container. This environment is
          * merged with values specified in the
      -   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -   * duplicate values.
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * message, overwriting any duplicate values.
          * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
          * serve as environment variable names and their values. The decoded
          * environment variables can overwrite the values specified by the
      @@ -332,8 +339,8 @@ java.lang.String getEnvironmentOrDefault(
          * 
          * The encrypted environment to pass into the container. This environment is
          * merged with values specified in the
      -   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -   * duplicate values.
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * message, overwriting any duplicate values.
          * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
          * serve as environment variable names and their values. The decoded
          * environment variables can overwrite the values specified by the
      @@ -351,8 +358,8 @@ java.lang.String getEnvironmentOrDefault(
          * 
          * The encrypted environment to pass into the container. This environment is
          * merged with values specified in the
      -   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any
      -   * duplicate values.
      +   * [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline]
      +   * message, overwriting any duplicate values.
          * The secret must decrypt to a JSON-encoded dictionary where key-value pairs
          * serve as environment variable names and their values. The decoded
          * environment variables can overwrite the values specified by the
      diff --git a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/Event.java b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/Event.java
      index 98ac650a094f..7ce6a74c28d4 100644
      --- a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/Event.java
      +++ b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/Event.java
      @@ -244,7 +244,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
          *
          *
          * 
      -   * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -259,7 +260,8 @@ public boolean hasDelayed() { * * *
      -   * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -277,7 +279,8 @@ public com.google.cloud.lifesciences.v2beta.DelayedEvent getDelayed() { * * *
      -   * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -295,7 +298,8 @@ public com.google.cloud.lifesciences.v2beta.DelayedEventOrBuilder getDelayedOrBu * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -310,7 +314,8 @@ public boolean hasWorkerAssigned() { * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -328,7 +333,8 @@ public com.google.cloud.lifesciences.v2beta.WorkerAssignedEvent getWorkerAssigne * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -347,7 +353,8 @@ public com.google.cloud.lifesciences.v2beta.WorkerAssignedEvent getWorkerAssigne * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -362,7 +369,8 @@ public boolean hasWorkerReleased() { * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -380,7 +388,8 @@ public com.google.cloud.lifesciences.v2beta.WorkerReleasedEvent getWorkerRelease * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -399,7 +408,8 @@ public com.google.cloud.lifesciences.v2beta.WorkerReleasedEvent getWorkerRelease * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -414,7 +424,8 @@ public boolean hasPullStarted() { * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -432,7 +443,8 @@ public com.google.cloud.lifesciences.v2beta.PullStartedEvent getPullStarted() { * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -450,7 +462,8 @@ public com.google.cloud.lifesciences.v2beta.PullStartedEventOrBuilder getPullSta * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -465,7 +478,8 @@ public boolean hasPullStopped() { * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -483,7 +497,8 @@ public com.google.cloud.lifesciences.v2beta.PullStoppedEvent getPullStopped() { * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -501,7 +516,8 @@ public com.google.cloud.lifesciences.v2beta.PullStoppedEventOrBuilder getPullSto * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -516,7 +532,8 @@ public boolean hasContainerStarted() { * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -534,7 +551,8 @@ public com.google.cloud.lifesciences.v2beta.ContainerStartedEvent getContainerSt * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -553,7 +571,8 @@ public com.google.cloud.lifesciences.v2beta.ContainerStartedEvent getContainerSt * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -568,7 +587,8 @@ public boolean hasContainerStopped() { * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -586,7 +606,8 @@ public com.google.cloud.lifesciences.v2beta.ContainerStoppedEvent getContainerSt * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -605,7 +626,8 @@ public com.google.cloud.lifesciences.v2beta.ContainerStoppedEvent getContainerSt * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -620,7 +642,8 @@ public boolean hasContainerKilled() { * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -638,7 +661,8 @@ public com.google.cloud.lifesciences.v2beta.ContainerKilledEvent getContainerKil * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -657,7 +681,8 @@ public com.google.cloud.lifesciences.v2beta.ContainerKilledEvent getContainerKil * * *
      -   * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25; @@ -673,7 +698,8 @@ public boolean hasUnexpectedExitStatus() { * * *
      -   * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25; @@ -692,7 +718,8 @@ public com.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent getUnexpec * * *
      -   * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25; @@ -712,7 +739,8 @@ public com.google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent getUnexpec * * *
      -   * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -727,7 +755,8 @@ public boolean hasFailed() { * * *
      -   * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -745,7 +774,8 @@ public com.google.cloud.lifesciences.v2beta.FailedEvent getFailed() { * * *
      -   * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -1797,7 +1827,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
      -     * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -1812,7 +1843,8 @@ public boolean hasDelayed() { * * *
      -     * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -1837,7 +1869,8 @@ public com.google.cloud.lifesciences.v2beta.DelayedEvent getDelayed() { * * *
      -     * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -1859,7 +1892,8 @@ public Builder setDelayed(com.google.cloud.lifesciences.v2beta.DelayedEvent valu * * *
      -     * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -1879,7 +1913,8 @@ public Builder setDelayed( * * *
      -     * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -1911,7 +1946,8 @@ public Builder mergeDelayed(com.google.cloud.lifesciences.v2beta.DelayedEvent va * * *
      -     * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -1936,7 +1972,8 @@ public Builder clearDelayed() { * * *
      -     * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -1948,7 +1985,8 @@ public com.google.cloud.lifesciences.v2beta.DelayedEvent.Builder getDelayedBuild * * *
      -     * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -1968,7 +2006,8 @@ public com.google.cloud.lifesciences.v2beta.DelayedEventOrBuilder getDelayedOrBu * * *
      -     * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -2006,7 +2045,8 @@ public com.google.cloud.lifesciences.v2beta.DelayedEventOrBuilder getDelayedOrBu * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -2021,7 +2061,8 @@ public boolean hasWorkerAssigned() { * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -2046,7 +2087,8 @@ public com.google.cloud.lifesciences.v2beta.WorkerAssignedEvent getWorkerAssigne * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -2069,7 +2111,8 @@ public Builder setWorkerAssigned( * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -2089,7 +2132,8 @@ public Builder setWorkerAssigned( * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -2123,7 +2167,8 @@ public Builder mergeWorkerAssigned( * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -2148,7 +2193,8 @@ public Builder clearWorkerAssigned() { * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -2161,7 +2207,8 @@ public Builder clearWorkerAssigned() { * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -2182,7 +2229,8 @@ public Builder clearWorkerAssigned() { * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -2220,7 +2268,8 @@ public Builder clearWorkerAssigned() { * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -2235,7 +2284,8 @@ public boolean hasWorkerReleased() { * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -2260,7 +2310,8 @@ public com.google.cloud.lifesciences.v2beta.WorkerReleasedEvent getWorkerRelease * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -2283,7 +2334,8 @@ public Builder setWorkerReleased( * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -2303,7 +2355,8 @@ public Builder setWorkerReleased( * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -2337,7 +2390,8 @@ public Builder mergeWorkerReleased( * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -2362,7 +2416,8 @@ public Builder clearWorkerReleased() { * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -2375,7 +2430,8 @@ public Builder clearWorkerReleased() { * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -2396,7 +2452,8 @@ public Builder clearWorkerReleased() { * * *
      -     * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -2434,7 +2491,8 @@ public Builder clearWorkerReleased() { * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -2449,7 +2507,8 @@ public boolean hasPullStarted() { * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -2474,7 +2533,8 @@ public com.google.cloud.lifesciences.v2beta.PullStartedEvent getPullStarted() { * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -2496,7 +2556,8 @@ public Builder setPullStarted(com.google.cloud.lifesciences.v2beta.PullStartedEv * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -2516,7 +2577,8 @@ public Builder setPullStarted( * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -2549,7 +2611,8 @@ public Builder mergePullStarted(com.google.cloud.lifesciences.v2beta.PullStarted * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -2574,7 +2637,8 @@ public Builder clearPullStarted() { * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -2586,7 +2650,8 @@ public com.google.cloud.lifesciences.v2beta.PullStartedEvent.Builder getPullStar * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -2607,7 +2672,8 @@ public com.google.cloud.lifesciences.v2beta.PullStartedEvent.Builder getPullStar * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -2645,7 +2711,8 @@ public com.google.cloud.lifesciences.v2beta.PullStartedEvent.Builder getPullStar * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -2660,7 +2727,8 @@ public boolean hasPullStopped() { * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -2685,7 +2753,8 @@ public com.google.cloud.lifesciences.v2beta.PullStoppedEvent getPullStopped() { * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -2707,7 +2776,8 @@ public Builder setPullStopped(com.google.cloud.lifesciences.v2beta.PullStoppedEv * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -2727,7 +2797,8 @@ public Builder setPullStopped( * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -2760,7 +2831,8 @@ public Builder mergePullStopped(com.google.cloud.lifesciences.v2beta.PullStopped * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -2785,7 +2857,8 @@ public Builder clearPullStopped() { * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -2797,7 +2870,8 @@ public com.google.cloud.lifesciences.v2beta.PullStoppedEvent.Builder getPullStop * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -2818,7 +2892,8 @@ public com.google.cloud.lifesciences.v2beta.PullStoppedEvent.Builder getPullStop * * *
      -     * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -2856,7 +2931,8 @@ public com.google.cloud.lifesciences.v2beta.PullStoppedEvent.Builder getPullStop * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -2871,7 +2947,8 @@ public boolean hasContainerStarted() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -2896,7 +2973,8 @@ public com.google.cloud.lifesciences.v2beta.ContainerStartedEvent getContainerSt * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -2919,7 +2997,8 @@ public Builder setContainerStarted( * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -2939,7 +3018,8 @@ public Builder setContainerStarted( * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -2974,7 +3054,8 @@ public Builder mergeContainerStarted( * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -2999,7 +3080,8 @@ public Builder clearContainerStarted() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -3012,7 +3094,8 @@ public Builder clearContainerStarted() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -3033,7 +3116,8 @@ public Builder clearContainerStarted() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -3072,7 +3156,8 @@ public Builder clearContainerStarted() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -3087,7 +3172,8 @@ public boolean hasContainerStopped() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -3112,7 +3198,8 @@ public com.google.cloud.lifesciences.v2beta.ContainerStoppedEvent getContainerSt * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -3135,7 +3222,8 @@ public Builder setContainerStopped( * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -3155,7 +3243,8 @@ public Builder setContainerStopped( * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -3190,7 +3279,8 @@ public Builder mergeContainerStopped( * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -3215,7 +3305,8 @@ public Builder clearContainerStopped() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -3228,7 +3319,8 @@ public Builder clearContainerStopped() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -3249,7 +3341,8 @@ public Builder clearContainerStopped() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -3288,7 +3381,8 @@ public Builder clearContainerStopped() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -3303,7 +3397,8 @@ public boolean hasContainerKilled() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -3328,7 +3423,8 @@ public com.google.cloud.lifesciences.v2beta.ContainerKilledEvent getContainerKil * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -3351,7 +3447,8 @@ public Builder setContainerKilled( * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -3371,7 +3468,8 @@ public Builder setContainerKilled( * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -3405,7 +3503,8 @@ public Builder mergeContainerKilled( * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -3430,7 +3529,8 @@ public Builder clearContainerKilled() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -3443,7 +3543,8 @@ public Builder clearContainerKilled() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -3464,7 +3565,8 @@ public Builder clearContainerKilled() { * * *
      -     * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -3502,7 +3604,8 @@ public Builder clearContainerKilled() { * * *
      -     * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
            * 
      * * @@ -3519,7 +3622,8 @@ public boolean hasUnexpectedExitStatus() { * * *
      -     * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
            * 
      * * @@ -3547,7 +3651,8 @@ public boolean hasUnexpectedExitStatus() { * * *
      -     * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
            * 
      * * @@ -3572,7 +3677,8 @@ public Builder setUnexpectedExitStatus( * * *
      -     * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
            * 
      * * @@ -3594,7 +3700,8 @@ public Builder setUnexpectedExitStatus( * * *
      -     * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
            * 
      * * @@ -3631,7 +3738,8 @@ public Builder mergeUnexpectedExitStatus( * * *
      -     * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
            * 
      * * @@ -3658,7 +3766,8 @@ public Builder clearUnexpectedExitStatus() { * * *
      -     * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
            * 
      * * @@ -3673,7 +3782,8 @@ public Builder clearUnexpectedExitStatus() { * * *
      -     * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
            * 
      * * @@ -3696,7 +3806,8 @@ public Builder clearUnexpectedExitStatus() { * * *
      -     * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
            * 
      * * @@ -3737,7 +3848,8 @@ public Builder clearUnexpectedExitStatus() { * * *
      -     * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -3752,7 +3864,8 @@ public boolean hasFailed() { * * *
      -     * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -3777,7 +3890,8 @@ public com.google.cloud.lifesciences.v2beta.FailedEvent getFailed() { * * *
      -     * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -3799,7 +3913,8 @@ public Builder setFailed(com.google.cloud.lifesciences.v2beta.FailedEvent value) * * *
      -     * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -3819,7 +3934,8 @@ public Builder setFailed( * * *
      -     * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -3851,7 +3967,8 @@ public Builder mergeFailed(com.google.cloud.lifesciences.v2beta.FailedEvent valu * * *
      -     * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -3876,7 +3993,8 @@ public Builder clearFailed() { * * *
      -     * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -3888,7 +4006,8 @@ public com.google.cloud.lifesciences.v2beta.FailedEvent.Builder getFailedBuilder * * *
      -     * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -3908,7 +4027,8 @@ public com.google.cloud.lifesciences.v2beta.FailedEventOrBuilder getFailedOrBuil * * *
      -     * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +     * See
      +     * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
            * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; diff --git a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/EventOrBuilder.java b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/EventOrBuilder.java index 06c977369f30..7b7975284efe 100644 --- a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/EventOrBuilder.java +++ b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/EventOrBuilder.java @@ -91,7 +91,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -103,7 +104,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -115,7 +117,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.DelayedEvent delayed = 17; @@ -126,7 +129,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -138,7 +142,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -150,7 +155,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerAssignedEvent worker_assigned = 18; @@ -161,7 +167,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -173,7 +180,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -185,7 +193,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.WorkerReleasedEvent worker_released = 19; @@ -196,7 +205,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -208,7 +218,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -220,7 +231,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStartedEvent pull_started = 20; @@ -231,7 +243,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -243,7 +256,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -255,7 +269,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.PullStoppedEvent pull_stopped = 21; @@ -266,7 +281,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -278,7 +294,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -290,7 +307,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStartedEvent container_started = 22; @@ -302,7 +320,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -314,7 +333,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -326,7 +346,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerStoppedEvent container_stopped = 23; @@ -338,7 +359,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -350,7 +372,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -362,7 +385,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.ContainerKilledEvent container_killed = 24; @@ -373,7 +397,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25; @@ -386,7 +411,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25; @@ -399,7 +425,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent unexpected_exit_status = 25; @@ -412,7 +439,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -424,7 +452,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; @@ -436,7 +465,8 @@ public interface EventOrBuilder * * *
      -   * See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
      +   * See
      +   * [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent].
          * 
      * * .google.cloud.lifesciences.v2beta.FailedEvent failed = 26; diff --git a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/VirtualMachine.java b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/VirtualMachine.java index c2e338e9d828..de4d4a6f297a 100644 --- a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/VirtualMachine.java +++ b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/VirtualMachine.java @@ -94,11 +94,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
      -   * Required. The machine type of the virtual machine to create. Must be the short name
      -   * of a standard machine type (such as "n1-standard-1") or a custom machine
      -   * type (such as "custom-1-4096", where "1" indicates the number of vCPUs and
      -   * "4096" indicates the memory in MB). See
      -   * [Creating an instance with a custom machine
      +   * Required. The machine type of the virtual machine to create. Must be the
      +   * short name of a standard machine type (such as "n1-standard-1") or a custom
      +   * machine type (such as "custom-1-4096", where "1" indicates the number of
      +   * vCPUs and "4096" indicates the memory in MB). See [Creating an instance
      +   * with a custom machine
          * type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
          * for more specifications on creating a custom machine type.
          * 
      @@ -123,11 +123,11 @@ public java.lang.String getMachineType() { * * *
      -   * Required. The machine type of the virtual machine to create. Must be the short name
      -   * of a standard machine type (such as "n1-standard-1") or a custom machine
      -   * type (such as "custom-1-4096", where "1" indicates the number of vCPUs and
      -   * "4096" indicates the memory in MB). See
      -   * [Creating an instance with a custom machine
      +   * Required. The machine type of the virtual machine to create. Must be the
      +   * short name of a standard machine type (such as "n1-standard-1") or a custom
      +   * machine type (such as "custom-1-4096", where "1" indicates the number of
      +   * vCPUs and "4096" indicates the memory in MB). See [Creating an instance
      +   * with a custom machine
          * type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
          * for more specifications on creating a custom machine type.
          * 
      @@ -712,7 +712,7 @@ public com.google.protobuf.ByteString getBootImageBytes() { * string nvidia_driver_version = 11 [deprecated = true]; * * @deprecated google.cloud.lifesciences.v2beta.VirtualMachine.nvidia_driver_version is - * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=410 + * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=411 * @return The nvidiaDriverVersion. */ @java.lang.Override @@ -741,7 +741,7 @@ public java.lang.String getNvidiaDriverVersion() { * string nvidia_driver_version = 11 [deprecated = true]; * * @deprecated google.cloud.lifesciences.v2beta.VirtualMachine.nvidia_driver_version is - * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=410 + * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=411 * @return The bytes for nvidiaDriverVersion. */ @java.lang.Override @@ -1876,11 +1876,11 @@ public Builder mergeFrom( * * *
      -     * Required. The machine type of the virtual machine to create. Must be the short name
      -     * of a standard machine type (such as "n1-standard-1") or a custom machine
      -     * type (such as "custom-1-4096", where "1" indicates the number of vCPUs and
      -     * "4096" indicates the memory in MB). See
      -     * [Creating an instance with a custom machine
      +     * Required. The machine type of the virtual machine to create. Must be the
      +     * short name of a standard machine type (such as "n1-standard-1") or a custom
      +     * machine type (such as "custom-1-4096", where "1" indicates the number of
      +     * vCPUs and "4096" indicates the memory in MB). See [Creating an instance
      +     * with a custom machine
            * type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
            * for more specifications on creating a custom machine type.
            * 
      @@ -1904,11 +1904,11 @@ public java.lang.String getMachineType() { * * *
      -     * Required. The machine type of the virtual machine to create. Must be the short name
      -     * of a standard machine type (such as "n1-standard-1") or a custom machine
      -     * type (such as "custom-1-4096", where "1" indicates the number of vCPUs and
      -     * "4096" indicates the memory in MB). See
      -     * [Creating an instance with a custom machine
      +     * Required. The machine type of the virtual machine to create. Must be the
      +     * short name of a standard machine type (such as "n1-standard-1") or a custom
      +     * machine type (such as "custom-1-4096", where "1" indicates the number of
      +     * vCPUs and "4096" indicates the memory in MB). See [Creating an instance
      +     * with a custom machine
            * type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
            * for more specifications on creating a custom machine type.
            * 
      @@ -1932,11 +1932,11 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { * * *
      -     * Required. The machine type of the virtual machine to create. Must be the short name
      -     * of a standard machine type (such as "n1-standard-1") or a custom machine
      -     * type (such as "custom-1-4096", where "1" indicates the number of vCPUs and
      -     * "4096" indicates the memory in MB). See
      -     * [Creating an instance with a custom machine
      +     * Required. The machine type of the virtual machine to create. Must be the
      +     * short name of a standard machine type (such as "n1-standard-1") or a custom
      +     * machine type (such as "custom-1-4096", where "1" indicates the number of
      +     * vCPUs and "4096" indicates the memory in MB). See [Creating an instance
      +     * with a custom machine
            * type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
            * for more specifications on creating a custom machine type.
            * 
      @@ -1959,11 +1959,11 @@ public Builder setMachineType(java.lang.String value) { * * *
      -     * Required. The machine type of the virtual machine to create. Must be the short name
      -     * of a standard machine type (such as "n1-standard-1") or a custom machine
      -     * type (such as "custom-1-4096", where "1" indicates the number of vCPUs and
      -     * "4096" indicates the memory in MB). See
      -     * [Creating an instance with a custom machine
      +     * Required. The machine type of the virtual machine to create. Must be the
      +     * short name of a standard machine type (such as "n1-standard-1") or a custom
      +     * machine type (such as "custom-1-4096", where "1" indicates the number of
      +     * vCPUs and "4096" indicates the memory in MB). See [Creating an instance
      +     * with a custom machine
            * type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
            * for more specifications on creating a custom machine type.
            * 
      @@ -1982,11 +1982,11 @@ public Builder clearMachineType() { * * *
      -     * Required. The machine type of the virtual machine to create. Must be the short name
      -     * of a standard machine type (such as "n1-standard-1") or a custom machine
      -     * type (such as "custom-1-4096", where "1" indicates the number of vCPUs and
      -     * "4096" indicates the memory in MB). See
      -     * [Creating an instance with a custom machine
      +     * Required. The machine type of the virtual machine to create. Must be the
      +     * short name of a standard machine type (such as "n1-standard-1") or a custom
      +     * machine type (such as "custom-1-4096", where "1" indicates the number of
      +     * vCPUs and "4096" indicates the memory in MB). See [Creating an instance
      +     * with a custom machine
            * type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
            * for more specifications on creating a custom machine type.
            * 
      @@ -3725,7 +3725,7 @@ public Builder setBootImageBytes(com.google.protobuf.ByteString value) { * string nvidia_driver_version = 11 [deprecated = true]; * * @deprecated google.cloud.lifesciences.v2beta.VirtualMachine.nvidia_driver_version is - * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=410 + * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=411 * @return The nvidiaDriverVersion. */ @java.lang.Deprecated @@ -3753,7 +3753,7 @@ public java.lang.String getNvidiaDriverVersion() { * string nvidia_driver_version = 11 [deprecated = true]; * * @deprecated google.cloud.lifesciences.v2beta.VirtualMachine.nvidia_driver_version is - * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=410 + * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=411 * @return The bytes for nvidiaDriverVersion. */ @java.lang.Deprecated @@ -3781,7 +3781,7 @@ public com.google.protobuf.ByteString getNvidiaDriverVersionBytes() { * string nvidia_driver_version = 11 [deprecated = true]; * * @deprecated google.cloud.lifesciences.v2beta.VirtualMachine.nvidia_driver_version is - * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=410 + * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=411 * @param value The nvidiaDriverVersion to set. * @return This builder for chaining. */ @@ -3808,7 +3808,7 @@ public Builder setNvidiaDriverVersion(java.lang.String value) { * string nvidia_driver_version = 11 [deprecated = true]; * * @deprecated google.cloud.lifesciences.v2beta.VirtualMachine.nvidia_driver_version is - * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=410 + * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=411 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3831,7 +3831,7 @@ public Builder clearNvidiaDriverVersion() { * string nvidia_driver_version = 11 [deprecated = true]; * * @deprecated google.cloud.lifesciences.v2beta.VirtualMachine.nvidia_driver_version is - * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=410 + * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=411 * @param value The bytes for nvidiaDriverVersion to set. * @return This builder for chaining. */ diff --git a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/VirtualMachineOrBuilder.java b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/VirtualMachineOrBuilder.java index 4742e71e029e..18fa35c07cf2 100644 --- a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/VirtualMachineOrBuilder.java +++ b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/VirtualMachineOrBuilder.java @@ -27,11 +27,11 @@ public interface VirtualMachineOrBuilder * * *
      -   * Required. The machine type of the virtual machine to create. Must be the short name
      -   * of a standard machine type (such as "n1-standard-1") or a custom machine
      -   * type (such as "custom-1-4096", where "1" indicates the number of vCPUs and
      -   * "4096" indicates the memory in MB). See
      -   * [Creating an instance with a custom machine
      +   * Required. The machine type of the virtual machine to create. Must be the
      +   * short name of a standard machine type (such as "n1-standard-1") or a custom
      +   * machine type (such as "custom-1-4096", where "1" indicates the number of
      +   * vCPUs and "4096" indicates the memory in MB). See [Creating an instance
      +   * with a custom machine
          * type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
          * for more specifications on creating a custom machine type.
          * 
      @@ -45,11 +45,11 @@ public interface VirtualMachineOrBuilder * * *
      -   * Required. The machine type of the virtual machine to create. Must be the short name
      -   * of a standard machine type (such as "n1-standard-1") or a custom machine
      -   * type (such as "custom-1-4096", where "1" indicates the number of vCPUs and
      -   * "4096" indicates the memory in MB). See
      -   * [Creating an instance with a custom machine
      +   * Required. The machine type of the virtual machine to create. Must be the
      +   * short name of a standard machine type (such as "n1-standard-1") or a custom
      +   * machine type (such as "custom-1-4096", where "1" indicates the number of
      +   * vCPUs and "4096" indicates the memory in MB). See [Creating an instance
      +   * with a custom machine
          * type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create)
          * for more specifications on creating a custom machine type.
          * 
      @@ -450,7 +450,7 @@ java.lang.String getLabelsOrDefault( * string nvidia_driver_version = 11 [deprecated = true]; * * @deprecated google.cloud.lifesciences.v2beta.VirtualMachine.nvidia_driver_version is - * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=410 + * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=411 * @return The nvidiaDriverVersion. */ @java.lang.Deprecated @@ -468,7 +468,7 @@ java.lang.String getLabelsOrDefault( * string nvidia_driver_version = 11 [deprecated = true]; * * @deprecated google.cloud.lifesciences.v2beta.VirtualMachine.nvidia_driver_version is - * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=410 + * deprecated. See google/cloud/lifesciences/v2beta/workflows.proto;l=411 * @return The bytes for nvidiaDriverVersion. */ @java.lang.Deprecated diff --git a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsProto.java b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsProto.java index fc5ea07e959c..7f6594a522bf 100644 --- a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsProto.java +++ b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/java/com/google/cloud/lifesciences/v2beta/WorkflowsProto.java @@ -325,14 +325,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "=projects/*/locations/*}/pipelines:run:\001" + "*\312A\037\n\023RunPipelineResponse\022\010Metadata\032O\312A\033" + "lifesciences.googleapis.com\322A.https://ww" - + "w.googleapis.com/auth/cloud-platformB\371\001\n" + + "w.googleapis.com/auth/cloud-platformB\365\001\n" + "$com.google.cloud.lifesciences.v2betaB\016W" - + "orkflowsProtoP\001ZLgoogle.golang.org/genpr" - + "oto/googleapis/cloud/lifesciences/v2beta" - + ";lifesciences\242\002\004CLSW\252\002 Google.Cloud.Life" - + "Sciences.V2Beta\312\002 Google\\Cloud\\LifeScien" - + "ces\\V2beta\352\002#Google::Cloud::LifeSciences" - + "::V2betab\006proto3" + + "orkflowsProtoP\001ZHcloud.google.com/go/lif" + + "esciences/apiv2beta/lifesciencespb;lifes" + + "ciencespb\242\002\004CLSW\252\002 Google.Cloud.LifeScie" + + "nces.V2Beta\312\002 Google\\Cloud\\LifeSciences\\" + + "V2beta\352\002#Google::Cloud::LifeSciences::V2" + + "betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/proto/google/cloud/lifesciences/v2beta/workflows.proto b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/proto/google/cloud/lifesciences/v2beta/workflows.proto index 2e9c576c63f5..d3a465e35693 100644 --- a/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/proto/google/cloud/lifesciences/v2beta/workflows.proto +++ b/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/proto/google/cloud/lifesciences/v2beta/workflows.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/code.proto"; option csharp_namespace = "Google.Cloud.LifeSciences.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/lifesciences/v2beta;lifesciences"; +option go_package = "cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb;lifesciencespb"; option java_multiple_files = true; option java_outer_classname = "WorkflowsProto"; option java_package = "com.google.cloud.lifesciences.v2beta"; @@ -37,15 +37,16 @@ option ruby_package = "Google::Cloud::LifeSciences::V2beta"; // containers. service WorkflowsServiceV2Beta { option (google.api.default_host) = "lifesciences.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Runs a pipeline. The returned Operation's [metadata] // [google.longrunning.Operation.metadata] field will contain a - // [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] object describing the status - // of the pipeline execution. The + // [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] + // object describing the status of the pipeline execution. The // [response][google.longrunning.Operation.response] field will contain a - // [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] object if the - // pipeline completes successfully. + // [google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse] + // object if the pipeline completes successfully. // // **Note:** Before you can use this method, the *Life Sciences Service Agent* // must have access to your project. This is done automatically when the @@ -95,9 +96,7 @@ message RunPipelineRequest { // The response to the RunPipeline method, returned in the operation's result // field on success. -message RunPipelineResponse { - -} +message RunPipelineResponse {} // Specifies a series of actions to execute, expressed as Docker containers. message Pipeline { @@ -138,9 +137,9 @@ message Action { // and cannot start with a hyphen. string container_name = 1; - // Required. The URI to pull the container image from. Note that all images referenced - // by actions in the pipeline are pulled before the first action runs. If - // multiple actions reference the same image, it is only pulled once, + // Required. The URI to pull the container image from. Note that all images + // referenced by actions in the pipeline are pulled before the first action + // runs. If multiple actions reference the same image, it is only pulled once, // ensuring that the same image is used for all actions in a single pipeline. // // The image URI can be either a complete host and image specification (e.g., @@ -151,7 +150,8 @@ message Action { // If the specified image is not public, the service account specified for // the Virtual Machine must have access to pull the images from GCR, or // appropriate credentials must be specified in the - // [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] field. + // [google.cloud.lifesciences.v2beta.Action.credentials][google.cloud.lifesciences.v2beta.Action.credentials] + // field. string image_uri = 2 [(google.api.field_behavior) = REQUIRED]; // If specified, overrides the `CMD` specified in the container. If the @@ -164,7 +164,8 @@ message Action { string entrypoint = 4; // The environment to pass into the container. This environment is merged - // with values specified in the [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] + // with values specified in the + // [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] // message, overwriting any duplicate values. // // In addition to the values passed here, a few other values are @@ -183,8 +184,8 @@ message Action { // The encrypted environment to pass into the container. This environment is // merged with values specified in the - // [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] message, overwriting any - // duplicate values. + // [google.cloud.lifesciences.v2beta.Pipeline][google.cloud.lifesciences.v2beta.Pipeline] + // message, overwriting any duplicate values. // // The secret must decrypt to a JSON-encoded dictionary where key-value pairs // serve as environment variable names and their values. The decoded @@ -335,11 +336,11 @@ message Resources { // Carries information about a Compute Engine VM resource. message VirtualMachine { - // Required. The machine type of the virtual machine to create. Must be the short name - // of a standard machine type (such as "n1-standard-1") or a custom machine - // type (such as "custom-1-4096", where "1" indicates the number of vCPUs and - // "4096" indicates the memory in MB). See - // [Creating an instance with a custom machine + // Required. The machine type of the virtual machine to create. Must be the + // short name of a standard machine type (such as "n1-standard-1") or a custom + // machine type (such as "custom-1-4096", where "1" indicates the number of + // vCPUs and "4096" indicates the memory in MB). See [Creating an instance + // with a custom machine // type](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) // for more specifications on creating a custom machine type. string machine_type = 1 [(google.api.field_behavior) = REQUIRED]; @@ -623,34 +624,44 @@ message Event { // Machine-readable details about the event. oneof details { - // See [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent]. + // See + // [google.cloud.lifesciences.v2beta.DelayedEvent][google.cloud.lifesciences.v2beta.DelayedEvent]. DelayedEvent delayed = 17; - // See [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent]. + // See + // [google.cloud.lifesciences.v2beta.WorkerAssignedEvent][google.cloud.lifesciences.v2beta.WorkerAssignedEvent]. WorkerAssignedEvent worker_assigned = 18; - // See [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent]. + // See + // [google.cloud.lifesciences.v2beta.WorkerReleasedEvent][google.cloud.lifesciences.v2beta.WorkerReleasedEvent]. WorkerReleasedEvent worker_released = 19; - // See [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent]. + // See + // [google.cloud.lifesciences.v2beta.PullStartedEvent][google.cloud.lifesciences.v2beta.PullStartedEvent]. PullStartedEvent pull_started = 20; - // See [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent]. + // See + // [google.cloud.lifesciences.v2beta.PullStoppedEvent][google.cloud.lifesciences.v2beta.PullStoppedEvent]. PullStoppedEvent pull_stopped = 21; - // See [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent]. + // See + // [google.cloud.lifesciences.v2beta.ContainerStartedEvent][google.cloud.lifesciences.v2beta.ContainerStartedEvent]. ContainerStartedEvent container_started = 22; - // See [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent]. + // See + // [google.cloud.lifesciences.v2beta.ContainerStoppedEvent][google.cloud.lifesciences.v2beta.ContainerStoppedEvent]. ContainerStoppedEvent container_stopped = 23; - // See [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent]. + // See + // [google.cloud.lifesciences.v2beta.ContainerKilledEvent][google.cloud.lifesciences.v2beta.ContainerKilledEvent]. ContainerKilledEvent container_killed = 24; - // See [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent]. + // See + // [google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent][google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent]. UnexpectedExitStatusEvent unexpected_exit_status = 25; - // See [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent]. + // See + // [google.cloud.lifesciences.v2beta.FailedEvent][google.cloud.lifesciences.v2beta.FailedEvent]. FailedEvent failed = 26; } } diff --git a/java-managed-identities/README.md b/java-managed-identities/README.md index cfcde120a1d2..1cb2ae8116f0 100644 --- a/java-managed-identities/README.md +++ b/java-managed-identities/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-managed-identities - 1.6.0 + 1.7.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-managed-identities:1.6.0' +implementation 'com.google.cloud:google-cloud-managed-identities:1.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.7.0" ``` ## Authentication diff --git a/java-managed-identities/google-cloud-managed-identities-bom/pom.xml b/java-managed-identities/google-cloud-managed-identities-bom/pom.xml index abbc5490f977..5ba100c14ae1 100644 --- a/java-managed-identities/google-cloud-managed-identities-bom/pom.xml +++ b/java-managed-identities/google-cloud-managed-identities-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-managed-identities-bom - 1.7.0 + 1.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-managed-identities - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-managed-identities-v1 - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-managed-identities-v1 - 1.7.0 + 1.8.0 diff --git a/java-managed-identities/google-cloud-managed-identities/pom.xml b/java-managed-identities/google-cloud-managed-identities/pom.xml index ae7f69442ee6..b92edca332ae 100644 --- a/java-managed-identities/google-cloud-managed-identities/pom.xml +++ b/java-managed-identities/google-cloud-managed-identities/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-managed-identities - 1.7.0 + 1.8.0 jar Google Managed Service for Microsoft Active Directory is a highly available, hardened Google Cloud service running actual Microsoft AD that enables you to manage authentication and authorization for your AD-dependent workloads, automate AD server maintenance and security configuration, and connect your on-premises AD domain to the cloud. com.google.cloud google-cloud-managed-identities-parent - 1.7.0 + 1.8.0 google-cloud-managed-identities diff --git a/java-managed-identities/grpc-google-cloud-managed-identities-v1/pom.xml b/java-managed-identities/grpc-google-cloud-managed-identities-v1/pom.xml index 66dea58f3a7f..9ed6be4012a2 100644 --- a/java-managed-identities/grpc-google-cloud-managed-identities-v1/pom.xml +++ b/java-managed-identities/grpc-google-cloud-managed-identities-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-managed-identities-v1 - 1.7.0 + 1.8.0 grpc-google-cloud-managed-identities-v1 GRPC library for google-cloud-managed-identities com.google.cloud google-cloud-managed-identities-parent - 1.7.0 + 1.8.0 diff --git a/java-managed-identities/pom.xml b/java-managed-identities/pom.xml index 736e6ee18012..05d795736c90 100644 --- a/java-managed-identities/pom.xml +++ b/java-managed-identities/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-managed-identities-parent pom - 1.7.0 + 1.8.0 Google Managed Service for Microsoft Active Directory Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-managed-identities - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-managed-identities-v1 - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-managed-identities-v1 - 1.7.0 + 1.8.0 diff --git a/java-managed-identities/proto-google-cloud-managed-identities-v1/pom.xml b/java-managed-identities/proto-google-cloud-managed-identities-v1/pom.xml index d47152706d3a..411f7a00d246 100644 --- a/java-managed-identities/proto-google-cloud-managed-identities-v1/pom.xml +++ b/java-managed-identities/proto-google-cloud-managed-identities-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-managed-identities-v1 - 1.7.0 + 1.8.0 proto-google-cloud-managed-identities-v1 Proto library for google-cloud-managed-identities com.google.cloud google-cloud-managed-identities-parent - 1.7.0 + 1.8.0 diff --git a/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/java/com/google/cloud/managedidentities/v1/ManagedIdentitiesServiceProto.java b/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/java/com/google/cloud/managedidentities/v1/ManagedIdentitiesServiceProto.java index 65c21fb1fa87..201ea67af429 100644 --- a/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/java/com/google/cloud/managedidentities/v1/ManagedIdentitiesServiceProto.java +++ b/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/java/com/google/cloud/managedidentities/v1/ManagedIdentitiesServiceProto.java @@ -199,14 +199,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "st:\001*\332A\nname,trust\312A\024\n\006Domain\022\nOpMetadat" + "a\032T\312A managedidentities.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\222\002\n%com.google.cloud.managediden" + + "latformB\223\002\n%com.google.cloud.managediden" + "tities.v1B\035ManagedIdentitiesServiceProto" - + "P\001ZRgoogle.golang.org/genproto/googleapi" - + "s/cloud/managedidentities/v1;managediden" - + "tities\242\002\004GCMI\252\002!Google.Cloud.ManagedIden" - + "tities.V1\312\002!Google\\Cloud\\ManagedIdentiti" - + "es\\V1\352\002$Google::Cloud::ManagedIdentities" - + "::V1b\006proto3" + + "P\001ZScloud.google.com/go/managedidentitie" + + "s/apiv1/managedidentitiespb;managedident" + + "itiespb\242\002\004GCMI\252\002!Google.Cloud.ManagedIde" + + "ntities.V1\312\002!Google\\Cloud\\ManagedIdentit" + + "ies\\V1\352\002$Google::Cloud::ManagedIdentitie" + + "s::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/java/com/google/cloud/managedidentities/v1/ResourceProto.java b/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/java/com/google/cloud/managedidentities/v1/ResourceProto.java index ebab77dbe6b1..a1f35949eee9 100644 --- a/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/java/com/google/cloud/managedidentities/v1/ResourceProto.java +++ b/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/java/com/google/cloud/managedidentities/v1/ResourceProto.java @@ -94,13 +94,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ED\020\000\022\n\n\006FOREST\020\001\022\014\n\010EXTERNAL\020\002\"_\n\016TrustD" + "irection\022\037\n\033TRUST_DIRECTION_UNSPECIFIED\020" + "\000\022\013\n\007INBOUND\020\001\022\014\n\010OUTBOUND\020\002\022\021\n\rBIDIRECT" - + "IONAL\020\003B\373\001\n%com.google.cloud.managediden" - + "tities.v1B\rResourceProtoP\001ZRgoogle.golan" - + "g.org/genproto/googleapis/cloud/managedi" - + "dentities/v1;managedidentities\252\002!Google." - + "Cloud.ManagedIdentities.V1\312\002!Google\\Clou" - + "d\\ManagedIdentities\\V1\352\002$Google::Cloud::" - + "ManagedIdentities::V1b\006proto3" + + "IONAL\020\003B\374\001\n%com.google.cloud.managediden" + + "tities.v1B\rResourceProtoP\001ZScloud.google" + + ".com/go/managedidentities/apiv1/managedi" + + "dentitiespb;managedidentitiespb\252\002!Google" + + ".Cloud.ManagedIdentities.V1\312\002!Google\\Clo" + + "ud\\ManagedIdentities\\V1\352\002$Google::Cloud:" + + ":ManagedIdentities::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/proto/google/cloud/managedidentities/v1/managed_identities_service.proto b/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/proto/google/cloud/managedidentities/v1/managed_identities_service.proto index 9112ac6e5e25..3a8d14ef1df4 100644 --- a/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/proto/google/cloud/managedidentities/v1/managed_identities_service.proto +++ b/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/proto/google/cloud/managedidentities/v1/managed_identities_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ManagedIdentities.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1;managedidentities"; +option go_package = "cloud.google.com/go/managedidentities/apiv1/managedidentitiespb;managedidentitiespb"; option java_multiple_files = true; option java_outer_classname = "ManagedIdentitiesServiceProto"; option java_package = "com.google.cloud.managedidentities.v1"; diff --git a/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/proto/google/cloud/managedidentities/v1/resource.proto b/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/proto/google/cloud/managedidentities/v1/resource.proto index abae9da6fab0..f03917ca0d16 100644 --- a/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/proto/google/cloud/managedidentities/v1/resource.proto +++ b/java-managed-identities/proto-google-cloud-managed-identities-v1/src/main/proto/google/cloud/managedidentities/v1/resource.proto @@ -22,7 +22,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ManagedIdentities.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1;managedidentities"; +option go_package = "cloud.google.com/go/managedidentities/apiv1/managedidentitiespb;managedidentitiespb"; option java_multiple_files = true; option java_outer_classname = "ResourceProto"; option java_package = "com.google.cloud.managedidentities.v1"; diff --git a/java-maps-addressvalidation/google-maps-addressvalidation-bom/pom.xml b/java-maps-addressvalidation/google-maps-addressvalidation-bom/pom.xml index 0d1977807237..a231f0b1f3e7 100644 --- a/java-maps-addressvalidation/google-maps-addressvalidation-bom/pom.xml +++ b/java-maps-addressvalidation/google-maps-addressvalidation-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.maps google-maps-addressvalidation-bom - 0.3.0 + 0.4.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.maps google-maps-addressvalidation - 0.3.0 + 0.4.0 com.google.api.grpc grpc-google-maps-addressvalidation-v1 - 0.3.0 + 0.4.0 com.google.api.grpc proto-google-maps-addressvalidation-v1 - 0.3.0 + 0.4.0 diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/pom.xml b/java-maps-addressvalidation/google-maps-addressvalidation/pom.xml index c0b20e9c3f6d..988e6832a6c0 100644 --- a/java-maps-addressvalidation/google-maps-addressvalidation/pom.xml +++ b/java-maps-addressvalidation/google-maps-addressvalidation/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.maps google-maps-addressvalidation - 0.3.0 + 0.4.0 jar Google Address Validation API Address Validation API The Address Validation API allows developers to verify the accuracy of addresses. Given an address, it returns information about the correctness of the components of the parsed address, a geocode, and a verdict on the deliverability of the parsed address. com.google.maps google-maps-addressvalidation-parent - 0.3.0 + 0.4.0 google-maps-addressvalidation diff --git a/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/pom.xml b/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/pom.xml index 5b33a4c87bd5..3f206bc16fcd 100644 --- a/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/pom.xml +++ b/java-maps-addressvalidation/grpc-google-maps-addressvalidation-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-maps-addressvalidation-v1 - 0.3.0 + 0.4.0 grpc-google-maps-addressvalidation-v1 GRPC library for google-maps-addressvalidation com.google.maps google-maps-addressvalidation-parent - 0.3.0 + 0.4.0 diff --git a/java-maps-addressvalidation/pom.xml b/java-maps-addressvalidation/pom.xml index 4374e6b3255e..d6a8a3ac44e2 100644 --- a/java-maps-addressvalidation/pom.xml +++ b/java-maps-addressvalidation/pom.xml @@ -4,7 +4,7 @@ com.google.maps google-maps-addressvalidation-parent pom - 0.3.0 + 0.4.0 Google Address Validation API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.maps google-maps-addressvalidation - 0.3.0 + 0.4.0 com.google.api.grpc grpc-google-maps-addressvalidation-v1 - 0.3.0 + 0.4.0 com.google.api.grpc proto-google-maps-addressvalidation-v1 - 0.3.0 + 0.4.0 diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/pom.xml b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/pom.xml index aa725b9361b4..747e1ac5bd7e 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/pom.xml +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-maps-addressvalidation-v1 - 0.3.0 + 0.4.0 proto-google-maps-addressvalidation-v1 Proto library for google-maps-addressvalidation com.google.maps google-maps-addressvalidation-parent - 0.3.0 + 0.4.0 diff --git a/java-maps-routing/google-maps-routing-bom/pom.xml b/java-maps-routing/google-maps-routing-bom/pom.xml index b4d362eda036..4203ecae5d78 100644 --- a/java-maps-routing/google-maps-routing-bom/pom.xml +++ b/java-maps-routing/google-maps-routing-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.maps google-maps-routing-bom - 0.3.0 + 0.4.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.maps google-maps-routing - 0.3.0 + 0.4.0 com.google.api.grpc grpc-google-maps-routing-v2 - 0.3.0 + 0.4.0 com.google.api.grpc proto-google-maps-routing-v2 - 0.3.0 + 0.4.0 diff --git a/java-maps-routing/google-maps-routing/pom.xml b/java-maps-routing/google-maps-routing/pom.xml index 21c0af665ed4..a3ba5676aedf 100644 --- a/java-maps-routing/google-maps-routing/pom.xml +++ b/java-maps-routing/google-maps-routing/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.maps google-maps-routing - 0.3.0 + 0.4.0 jar Google Routes API Routes API Routes API is the next generation, performance optimized version of the existing Directions API and Distance Matrix API. It helps you find the ideal route from A to Z, calculates ETAs and distances for matrices of origin and destination locations, and also offers new features. com.google.maps google-maps-routing-parent - 0.3.0 + 0.4.0 google-maps-routing diff --git a/java-maps-routing/grpc-google-maps-routing-v2/pom.xml b/java-maps-routing/grpc-google-maps-routing-v2/pom.xml index aec8dcacba4c..a9fb45fa9ce0 100644 --- a/java-maps-routing/grpc-google-maps-routing-v2/pom.xml +++ b/java-maps-routing/grpc-google-maps-routing-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-maps-routing-v2 - 0.3.0 + 0.4.0 grpc-google-maps-routing-v2 GRPC library for google-maps-routing com.google.maps google-maps-routing-parent - 0.3.0 + 0.4.0 diff --git a/java-maps-routing/pom.xml b/java-maps-routing/pom.xml index 4cd68963ff5e..faf9939b50ba 100644 --- a/java-maps-routing/pom.xml +++ b/java-maps-routing/pom.xml @@ -4,7 +4,7 @@ com.google.maps google-maps-routing-parent pom - 0.3.0 + 0.4.0 Google Routes API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.maps google-maps-routing - 0.3.0 + 0.4.0 com.google.api.grpc grpc-google-maps-routing-v2 - 0.3.0 + 0.4.0 com.google.api.grpc proto-google-maps-routing-v2 - 0.3.0 + 0.4.0 diff --git a/java-maps-routing/proto-google-maps-routing-v2/pom.xml b/java-maps-routing/proto-google-maps-routing-v2/pom.xml index 6c1a6c38a615..fa53b66a01d2 100644 --- a/java-maps-routing/proto-google-maps-routing-v2/pom.xml +++ b/java-maps-routing/proto-google-maps-routing-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-maps-routing-v2 - 0.3.0 + 0.4.0 proto-google-maps-routing-v2 Proto library for google-maps-routing com.google.maps google-maps-routing-parent - 0.3.0 + 0.4.0 diff --git a/java-mediatranslation/README.md b/java-mediatranslation/README.md index b1a06d5b799a..b39fdd922e41 100644 --- a/java-mediatranslation/README.md +++ b/java-mediatranslation/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-mediatranslation - 0.14.0 + 0.15.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-mediatranslation:0.14.0' +implementation 'com.google.cloud:google-cloud-mediatranslation:0.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.14.0" +libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.15.0" ``` ## Authentication diff --git a/java-mediatranslation/google-cloud-mediatranslation-bom/pom.xml b/java-mediatranslation/google-cloud-mediatranslation-bom/pom.xml index 91e664e7be57..dc5837fbcb3e 100644 --- a/java-mediatranslation/google-cloud-mediatranslation-bom/pom.xml +++ b/java-mediatranslation/google-cloud-mediatranslation-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-mediatranslation-bom - 0.15.0 + 0.16.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-mediatranslation - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-mediatranslation-v1beta1 - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-mediatranslation-v1beta1 - 0.15.0 + 0.16.0 diff --git a/java-mediatranslation/google-cloud-mediatranslation/pom.xml b/java-mediatranslation/google-cloud-mediatranslation/pom.xml index d5fbb3f204da..a09f8b93a2bf 100644 --- a/java-mediatranslation/google-cloud-mediatranslation/pom.xml +++ b/java-mediatranslation/google-cloud-mediatranslation/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-mediatranslation - 0.15.0 + 0.16.0 jar Google Media Translation API provides enterprise quality translation from/to various media types. com.google.cloud google-cloud-mediatranslation-parent - 0.15.0 + 0.16.0 google-cloud-mediatranslation diff --git a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceClient.java b/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceClient.java index 9ede6daba773..2471de98fa18 100644 --- a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceClient.java +++ b/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceClient.java @@ -108,21 +108,6 @@ * SpeechTranslationServiceClient.create(speechTranslationServiceSettings); * }
      * - *

      To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over - * the wire: - * - *

      {@code
      - * // This snippet has been automatically generated and should be regarded as a code template only.
      - * // It will require modifications to work:
      - * // - It may require correct/in-range values for request initialization.
      - * // - It may require specifying regional endpoints when creating the service client as shown in
      - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      - * SpeechTranslationServiceSettings speechTranslationServiceSettings =
      - *     SpeechTranslationServiceSettings.newHttpJsonBuilder().build();
      - * SpeechTranslationServiceClient speechTranslationServiceClient =
      - *     SpeechTranslationServiceClient.create(speechTranslationServiceSettings);
      - * }
      - * *

      Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi diff --git a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceSettings.java b/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceSettings.java index 6a5006980b95..917110e5bbae 100644 --- a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceSettings.java +++ b/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceSettings.java @@ -21,7 +21,6 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; @@ -114,13 +113,6 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi return SpeechTranslationServiceStubSettings.defaultGrpcTransportProviderBuilder(); } - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return SpeechTranslationServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); - } - public static TransportChannelProvider defaultTransportChannelProvider() { return SpeechTranslationServiceStubSettings.defaultTransportChannelProvider(); } @@ -135,12 +127,6 @@ public static Builder newBuilder() { return Builder.createDefault(); } - /** Returns a new REST builder for this class. */ - @BetaApi - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -179,11 +165,6 @@ private static Builder createDefault() { return new Builder(SpeechTranslationServiceStubSettings.newBuilder()); } - @BetaApi - private static Builder createHttpJsonDefault() { - return new Builder(SpeechTranslationServiceStubSettings.newHttpJsonBuilder()); - } - public SpeechTranslationServiceStubSettings.Builder getStubSettingsBuilder() { return ((SpeechTranslationServiceStubSettings.Builder) getStubSettings()); } diff --git a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/HttpJsonSpeechTranslationServiceStub.java b/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/HttpJsonSpeechTranslationServiceStub.java deleted file mode 100644 index a8de594e85ed..000000000000 --- a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/HttpJsonSpeechTranslationServiceStub.java +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright 2022 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.mediatranslation.v1beta1.stub; - -import com.google.api.core.BetaApi; -import com.google.api.core.InternalApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.httpjson.ApiMethodDescriptor; -import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; -import com.google.api.gax.rpc.BidiStreamingCallable; -import com.google.api.gax.rpc.ClientContext; -import com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechRequest; -import com.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResponse; -import com.google.protobuf.TypeRegistry; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * REST stub implementation for the SpeechTranslationService service API. - * - *

      This class is for advanced usage and reflects the underlying API directly. - */ -@BetaApi -@Generated("by gapic-generator-java") -public class HttpJsonSpeechTranslationServiceStub extends SpeechTranslationServiceStub { - private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); - - private final BackgroundResource backgroundResources; - private final HttpJsonStubCallableFactory callableFactory; - - public static final HttpJsonSpeechTranslationServiceStub create( - SpeechTranslationServiceStubSettings settings) throws IOException { - return new HttpJsonSpeechTranslationServiceStub(settings, ClientContext.create(settings)); - } - - public static final HttpJsonSpeechTranslationServiceStub create(ClientContext clientContext) - throws IOException { - return new HttpJsonSpeechTranslationServiceStub( - SpeechTranslationServiceStubSettings.newHttpJsonBuilder().build(), clientContext); - } - - public static final HttpJsonSpeechTranslationServiceStub create( - ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { - return new HttpJsonSpeechTranslationServiceStub( - SpeechTranslationServiceStubSettings.newHttpJsonBuilder().build(), - clientContext, - callableFactory); - } - - /** - * Constructs an instance of HttpJsonSpeechTranslationServiceStub, using the given settings. This - * is protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected HttpJsonSpeechTranslationServiceStub( - SpeechTranslationServiceStubSettings settings, ClientContext clientContext) - throws IOException { - this(settings, clientContext, new HttpJsonSpeechTranslationServiceCallableFactory()); - } - - /** - * Constructs an instance of HttpJsonSpeechTranslationServiceStub, using the given settings. This - * is protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected HttpJsonSpeechTranslationServiceStub( - SpeechTranslationServiceStubSettings settings, - ClientContext clientContext, - HttpJsonStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - @InternalApi - public static List getMethodDescriptors() { - List methodDescriptors = new ArrayList<>(); - return methodDescriptors; - } - - @Override - public BidiStreamingCallable - streamingTranslateSpeechCallable() { - throw new UnsupportedOperationException( - "Not implemented: streamingTranslateSpeechCallable(). REST transport is not implemented for this method yet."); - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/SpeechTranslationServiceStubSettings.java b/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/SpeechTranslationServiceStubSettings.java index da31d6e76388..b0cec73f1910 100644 --- a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/SpeechTranslationServiceStubSettings.java +++ b/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/SpeechTranslationServiceStubSettings.java @@ -24,9 +24,6 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.httpjson.GaxHttpJsonProperties; -import com.google.api.gax.httpjson.HttpJsonTransportChannel; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; @@ -109,11 +106,6 @@ public SpeechTranslationServiceStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcSpeechTranslationServiceStub.create(this); } - if (getTransportChannelProvider() - .getTransportName() - .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { - return HttpJsonSpeechTranslationServiceStub.create(this); - } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -152,13 +144,6 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi .setMaxInboundMessageSize(Integer.MAX_VALUE); } - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return InstantiatingHttpJsonChannelProvider.newBuilder(); - } - public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @@ -172,16 +157,6 @@ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProvider GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", GaxProperties.getLibraryVersion(SpeechTranslationServiceStubSettings.class)) - .setTransportToken( - GaxHttpJsonProperties.getHttpJsonTokenName(), - GaxHttpJsonProperties.getHttpJsonVersion()); - } - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return SpeechTranslationServiceStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); } @@ -191,11 +166,6 @@ public static Builder newBuilder() { return Builder.createDefault(); } - /** Returns a new REST builder for this class. */ - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -280,19 +250,6 @@ private static Builder createDefault() { return initDefaults(builder); } - private static Builder createHttpJsonDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - private static Builder initDefaults(Builder builder) { return builder; } diff --git a/java-mediatranslation/google-cloud-mediatranslation/src/test/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceClientHttpJsonTest.java b/java-mediatranslation/google-cloud-mediatranslation/src/test/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceClientHttpJsonTest.java deleted file mode 100644 index 3a34f73df6e6..000000000000 --- a/java-mediatranslation/google-cloud-mediatranslation/src/test/java/com/google/cloud/mediatranslation/v1beta1/SpeechTranslationServiceClientHttpJsonTest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2022 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.mediatranslation.v1beta1; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.httpjson.testing.MockHttpService; -import com.google.cloud.mediatranslation.v1beta1.stub.HttpJsonSpeechTranslationServiceStub; -import java.io.IOException; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class SpeechTranslationServiceClientHttpJsonTest { - private static MockHttpService mockService; - private static SpeechTranslationServiceClient client; - - @BeforeClass - public static void startStaticServer() throws IOException { - mockService = - new MockHttpService( - HttpJsonSpeechTranslationServiceStub.getMethodDescriptors(), - SpeechTranslationServiceSettings.getDefaultEndpoint()); - SpeechTranslationServiceSettings settings = - SpeechTranslationServiceSettings.newHttpJsonBuilder() - .setTransportChannelProvider( - SpeechTranslationServiceSettings.defaultHttpJsonTransportProviderBuilder() - .setHttpTransport(mockService) - .build()) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = SpeechTranslationServiceClient.create(settings); - } - - @AfterClass - public static void stopServer() { - client.close(); - } - - @Before - public void setUp() {} - - @After - public void tearDown() throws Exception { - mockService.reset(); - } - - @Test - public void streamingTranslateSpeechUnsupportedMethodTest() throws Exception { - // The streamingTranslateSpeech() method is not supported in REST transport. - // This empty test is generated for technical reasons. - } -} diff --git a/java-mediatranslation/grpc-google-cloud-mediatranslation-v1beta1/pom.xml b/java-mediatranslation/grpc-google-cloud-mediatranslation-v1beta1/pom.xml index 44e898c77cf7..36459ed6b8ac 100644 --- a/java-mediatranslation/grpc-google-cloud-mediatranslation-v1beta1/pom.xml +++ b/java-mediatranslation/grpc-google-cloud-mediatranslation-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-mediatranslation-v1beta1 - 0.15.0 + 0.16.0 grpc-google-cloud-mediatranslation-v1beta1 GRPC library for grpc-google-cloud-mediatranslation-v1beta1 com.google.cloud google-cloud-mediatranslation-parent - 0.15.0 + 0.16.0 diff --git a/java-mediatranslation/pom.xml b/java-mediatranslation/pom.xml index 33423fe1f8a0..85ce02f2a921 100644 --- a/java-mediatranslation/pom.xml +++ b/java-mediatranslation/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-mediatranslation-parent pom - 0.15.0 + 0.16.0 Google Media Translation API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-mediatranslation - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-mediatranslation-v1beta1 - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-mediatranslation-v1beta1 - 0.15.0 + 0.16.0 diff --git a/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/pom.xml b/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/pom.xml index 864de247cc4d..09992fbeaf7b 100644 --- a/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/pom.xml +++ b/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-mediatranslation-v1beta1 - 0.15.0 + 0.16.0 proto-google-cloud-mediatranslation-v1beta1 PROTO library for proto-google-cloud-mediatranslation-v1beta1 com.google.cloud google-cloud-mediatranslation-parent - 0.15.0 + 0.16.0 diff --git a/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/src/main/java/com/google/cloud/mediatranslation/v1beta1/MediaTranslationProto.java b/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/src/main/java/com/google/cloud/mediatranslation/v1beta1/MediaTranslationProto.java index 6c8cf4841dd5..9ef0ee5a35e8 100644 --- a/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/src/main/java/com/google/cloud/mediatranslation/v1beta1/MediaTranslationProto.java +++ b/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/src/main/java/com/google/cloud/mediatranslation/v1beta1/MediaTranslationProto.java @@ -102,9 +102,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "com\322A.https://www.googleapis.com/auth/cl" + "oud-platformB\231\002\n)com.google.cloud.mediat" + "ranslation.v1beta1B\025MediaTranslationProt" - + "oP\001ZUgoogle.golang.org/genproto/googleap" - + "is/cloud/mediatranslation/v1beta1;mediat" - + "ranslation\370\001\001\252\002%Google.Cloud.MediaTransl" + + "oP\001ZUcloud.google.com/go/mediatranslatio" + + "n/apiv1beta1/mediatranslationpb;mediatra" + + "nslationpb\370\001\001\252\002%Google.Cloud.MediaTransl" + "ation.V1Beta1\312\002%Google\\Cloud\\MediaTransl" + "ation\\V1beta1\352\002(Google::Cloud::MediaTran" + "slation::V1beta1b\006proto3" diff --git a/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/src/main/proto/google/cloud/mediatranslation/v1beta1/media_translation.proto b/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/src/main/proto/google/cloud/mediatranslation/v1beta1/media_translation.proto index 88c86d094ef5..63aff80c9273 100644 --- a/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/src/main/proto/google/cloud/mediatranslation/v1beta1/media_translation.proto +++ b/java-mediatranslation/proto-google-cloud-mediatranslation-v1beta1/src/main/proto/google/cloud/mediatranslation/v1beta1/media_translation.proto @@ -21,7 +21,7 @@ import "google/rpc/status.proto"; import "google/api/client.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1beta1;mediatranslation"; +option go_package = "cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb;mediatranslationpb"; option java_multiple_files = true; option java_outer_classname = "MediaTranslationProto"; option java_package = "com.google.cloud.mediatranslation.v1beta1"; diff --git a/java-memcache/README.md b/java-memcache/README.md index ae69ec9c4114..1eea1f9811f8 100644 --- a/java-memcache/README.md +++ b/java-memcache/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-memcache - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-memcache:2.8.0' +implementation 'com.google.cloud:google-cloud-memcache:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.9.0" ``` ## Authentication diff --git a/java-memcache/google-cloud-memcache-bom/pom.xml b/java-memcache/google-cloud-memcache-bom/pom.xml index e8924c9aea15..6727199a8297 100644 --- a/java-memcache/google-cloud-memcache-bom/pom.xml +++ b/java-memcache/google-cloud-memcache-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-memcache-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-memcache - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-memcache-v1beta2 - 0.16.0 + 0.17.0 com.google.api.grpc grpc-google-cloud-memcache-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-memcache-v1beta2 - 0.16.0 + 0.17.0 com.google.api.grpc proto-google-cloud-memcache-v1 - 2.9.0 + 2.10.0 diff --git a/java-memcache/google-cloud-memcache/pom.xml b/java-memcache/google-cloud-memcache/pom.xml index b379a088899c..dd0066934287 100644 --- a/java-memcache/google-cloud-memcache/pom.xml +++ b/java-memcache/google-cloud-memcache/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-memcache - 2.9.0 + 2.10.0 jar Google Cloud Memcache Java idiomatic client for Google Cloud memcache com.google.cloud google-cloud-memcache-parent - 2.9.0 + 2.10.0 google-cloud-memcache diff --git a/java-memcache/grpc-google-cloud-memcache-v1/pom.xml b/java-memcache/grpc-google-cloud-memcache-v1/pom.xml index b0a9f02e9d3a..2245ea29f006 100644 --- a/java-memcache/grpc-google-cloud-memcache-v1/pom.xml +++ b/java-memcache/grpc-google-cloud-memcache-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-memcache-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-memcache-v1 GRPC library for grpc-google-cloud-memcache-v1 com.google.cloud google-cloud-memcache-parent - 2.9.0 + 2.10.0 diff --git a/java-memcache/grpc-google-cloud-memcache-v1beta2/pom.xml b/java-memcache/grpc-google-cloud-memcache-v1beta2/pom.xml index ba8c3b4de300..b68e1fac687a 100644 --- a/java-memcache/grpc-google-cloud-memcache-v1beta2/pom.xml +++ b/java-memcache/grpc-google-cloud-memcache-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-memcache-v1beta2 - 0.16.0 + 0.17.0 grpc-google-cloud-memcache-v1beta2 GRPC library for grpc-google-cloud-memcache-v1beta2 com.google.cloud google-cloud-memcache-parent - 2.9.0 + 2.10.0 diff --git a/java-memcache/pom.xml b/java-memcache/pom.xml index 430932989311..23c3bf253d02 100644 --- a/java-memcache/pom.xml +++ b/java-memcache/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-memcache-parent pom - 2.9.0 + 2.10.0 Google Cloud Memcache Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-memcache-v1beta2 - 0.16.0 + 0.17.0 com.google.api.grpc grpc-google-cloud-memcache-v1beta2 - 0.16.0 + 0.17.0 com.google.api.grpc proto-google-cloud-memcache-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-memcache-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-memcache - 2.9.0 + 2.10.0 diff --git a/java-memcache/proto-google-cloud-memcache-v1/pom.xml b/java-memcache/proto-google-cloud-memcache-v1/pom.xml index 87fd4bbfc70e..edb510cf9338 100644 --- a/java-memcache/proto-google-cloud-memcache-v1/pom.xml +++ b/java-memcache/proto-google-cloud-memcache-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-memcache-v1 - 2.9.0 + 2.10.0 proto-google-cloud-memcache-v1 PROTO library for proto-google-cloud-memcache-v1 com.google.cloud google-cloud-memcache-parent - 2.9.0 + 2.10.0 diff --git a/java-memcache/proto-google-cloud-memcache-v1/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheProto.java b/java-memcache/proto-google-cloud-memcache-v1/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheProto.java index 68fb6fe8bda5..c34b4c605b5d 100644 --- a/java-memcache/proto-google-cloud-memcache-v1/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheProto.java +++ b/java-memcache/proto-google-cloud-memcache-v1/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheProto.java @@ -302,10 +302,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.cloud.memcache.v1.Instance\022*google.cl" + "oud.memcache.v1.OperationMetadata\032K\312A\027me" + "mcache.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformBv\n\034com.go" + + "leapis.com/auth/cloud-platformBn\n\034com.go" + "ogle.cloud.memcache.v1B\022CloudMemcachePro" - + "toP\001Z@google.golang.org/genproto/googlea" - + "pis/cloud/memcache/v1;memcacheb\006proto3" + + "toP\001Z8cloud.google.com/go/memcache/apiv1" + + "/memcachepb;memcachepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-memcache/proto-google-cloud-memcache-v1/src/main/proto/google/cloud/memcache/v1/cloud_memcache.proto b/java-memcache/proto-google-cloud-memcache-v1/src/main/proto/google/cloud/memcache/v1/cloud_memcache.proto index f1cca1231376..1a6e172696b1 100644 --- a/java-memcache/proto-google-cloud-memcache-v1/src/main/proto/google/cloud/memcache/v1/cloud_memcache.proto +++ b/java-memcache/proto-google-cloud-memcache-v1/src/main/proto/google/cloud/memcache/v1/cloud_memcache.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/dayofweek.proto"; import "google/type/timeofday.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/memcache/v1;memcache"; +option go_package = "cloud.google.com/go/memcache/apiv1/memcachepb;memcachepb"; option java_multiple_files = true; option java_outer_classname = "CloudMemcacheProto"; option java_package = "com.google.cloud.memcache.v1"; diff --git a/java-memcache/proto-google-cloud-memcache-v1beta2/pom.xml b/java-memcache/proto-google-cloud-memcache-v1beta2/pom.xml index c3d60c4f40af..362a1d354ded 100644 --- a/java-memcache/proto-google-cloud-memcache-v1beta2/pom.xml +++ b/java-memcache/proto-google-cloud-memcache-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-memcache-v1beta2 - 0.16.0 + 0.17.0 proto-google-cloud-memcache-v1beta2 PROTO library for proto-google-cloud-memcache-v1beta2 com.google.cloud google-cloud-memcache-parent - 2.9.0 + 2.10.0 diff --git a/java-memcache/proto-google-cloud-memcache-v1beta2/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheProto.java b/java-memcache/proto-google-cloud-memcache-v1beta2/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheProto.java index 3557320e0cc1..2094e82435a8 100644 --- a/java-memcache/proto-google-cloud-memcache-v1beta2/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheProto.java +++ b/java-memcache/proto-google-cloud-memcache-v1beta2/src/main/java/com/google/cloud/memcache/v1beta2/CloudMemcacheProto.java @@ -326,10 +326,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "google.cloud.memcache.v1beta2.OperationM" + "etadata\032K\312A\027memcache.googleapis.com\322A.ht" + "tps://www.googleapis.com/auth/cloud-plat" - + "formB\200\001\n!com.google.cloud.memcache.v1bet" - + "a2B\022CloudMemcacheProtoP\001ZEgoogle.golang." - + "org/genproto/googleapis/cloud/memcache/v" - + "1beta2;memcacheb\006proto3" + + "formBx\n!com.google.cloud.memcache.v1beta" + + "2B\022CloudMemcacheProtoP\001Z=cloud.google.co" + + "m/go/memcache/apiv1beta2/memcachepb;memc" + + "achepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-memcache/proto-google-cloud-memcache-v1beta2/src/main/proto/google/cloud/memcache/v1beta2/cloud_memcache.proto b/java-memcache/proto-google-cloud-memcache-v1beta2/src/main/proto/google/cloud/memcache/v1beta2/cloud_memcache.proto index 4cb9040318b7..7a11e2a1124b 100644 --- a/java-memcache/proto-google-cloud-memcache-v1beta2/src/main/proto/google/cloud/memcache/v1beta2/cloud_memcache.proto +++ b/java-memcache/proto-google-cloud-memcache-v1beta2/src/main/proto/google/cloud/memcache/v1beta2/cloud_memcache.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/dayofweek.proto"; import "google/type/timeofday.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/memcache/v1beta2;memcache"; +option go_package = "cloud.google.com/go/memcache/apiv1beta2/memcachepb;memcachepb"; option java_multiple_files = true; option java_outer_classname = "CloudMemcacheProto"; option java_package = "com.google.cloud.memcache.v1beta2"; diff --git a/java-monitoring-dashboards/google-cloud-monitoring-dashboard-bom/pom.xml b/java-monitoring-dashboards/google-cloud-monitoring-dashboard-bom/pom.xml index ec44e3d1fb5c..e59cde51c0da 100644 --- a/java-monitoring-dashboards/google-cloud-monitoring-dashboard-bom/pom.xml +++ b/java-monitoring-dashboards/google-cloud-monitoring-dashboard-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-monitoring-dashboard-bom - 2.11.0 + 2.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-monitoring-dashboard - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-monitoring-dashboard-v1 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-monitoring-dashboard-v1 - 2.11.0 + 2.12.0 diff --git a/java-monitoring-dashboards/google-cloud-monitoring-dashboard/pom.xml b/java-monitoring-dashboards/google-cloud-monitoring-dashboard/pom.xml index ac50a005cb18..d801fb004cee 100644 --- a/java-monitoring-dashboards/google-cloud-monitoring-dashboard/pom.xml +++ b/java-monitoring-dashboards/google-cloud-monitoring-dashboard/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-monitoring-dashboard - 2.11.0 + 2.12.0 jar Google Cloud Monitoring Dashboard Java idiomatic client for Google Cloud Monitoring Dashboard com.google.cloud google-cloud-monitoring-dashboard-parent - 2.11.0 + 2.12.0 google-cloud-monitoring-dashboard diff --git a/java-monitoring-dashboards/grpc-google-cloud-monitoring-dashboard-v1/pom.xml b/java-monitoring-dashboards/grpc-google-cloud-monitoring-dashboard-v1/pom.xml index c307ced77a0d..2ff224751a04 100644 --- a/java-monitoring-dashboards/grpc-google-cloud-monitoring-dashboard-v1/pom.xml +++ b/java-monitoring-dashboards/grpc-google-cloud-monitoring-dashboard-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-monitoring-dashboard-v1 - 2.11.0 + 2.12.0 grpc-google-cloud-monitoring-dashboard-v1 GRPC library for grpc-google-cloud-monitoring-dashboard-v1 com.google.cloud google-cloud-monitoring-dashboard-parent - 2.11.0 + 2.12.0 diff --git a/java-monitoring-dashboards/pom.xml b/java-monitoring-dashboards/pom.xml index 3d452c72bdd9..872bb430f01c 100644 --- a/java-monitoring-dashboards/pom.xml +++ b/java-monitoring-dashboards/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-monitoring-dashboard-parent pom - 2.11.0 + 2.12.0 Google Cloud Monitoring Dashboard Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-monitoring-dashboard-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-monitoring-dashboard-v1 - 2.11.0 + 2.12.0 com.google.cloud google-cloud-monitoring-dashboard - 2.11.0 + 2.12.0 diff --git a/java-monitoring-dashboards/proto-google-cloud-monitoring-dashboard-v1/pom.xml b/java-monitoring-dashboards/proto-google-cloud-monitoring-dashboard-v1/pom.xml index 952f1426893e..098b84fe7df9 100644 --- a/java-monitoring-dashboards/proto-google-cloud-monitoring-dashboard-v1/pom.xml +++ b/java-monitoring-dashboards/proto-google-cloud-monitoring-dashboard-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-monitoring-dashboard-v1 - 2.11.0 + 2.12.0 proto-google-cloud-monitoring-dashboard-v1 PROTO library for proto-google-cloud-monitoring-dashboard-v1 com.google.cloud google-cloud-monitoring-dashboard-parent - 2.11.0 + 2.12.0 diff --git a/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope-bom/pom.xml b/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope-bom/pom.xml index 15939c2185cc..046d4cdb06ff 100644 --- a/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope-bom/pom.xml +++ b/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-monitoring-metricsscope-bom - 0.3.0 + 0.4.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-monitoring-metricsscope - 0.3.0 + 0.4.0 com.google.api.grpc grpc-google-cloud-monitoring-metricsscope-v1 - 0.3.0 + 0.4.0 com.google.api.grpc proto-google-cloud-monitoring-metricsscope-v1 - 0.3.0 + 0.4.0 diff --git a/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope/pom.xml b/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope/pom.xml index d420393897e3..25ec2fd7f141 100644 --- a/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope/pom.xml +++ b/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-monitoring-metricsscope - 0.3.0 + 0.4.0 jar Google Monitoring Metrics Scopes Monitoring Metrics Scopes The metrics scope defines the set of Google Cloud projects whose metrics the current Google Cloud project can access. com.google.cloud google-cloud-monitoring-metricsscope-parent - 0.3.0 + 0.4.0 google-cloud-monitoring-metricsscope diff --git a/java-monitoring-metricsscope/grpc-google-cloud-monitoring-metricsscope-v1/pom.xml b/java-monitoring-metricsscope/grpc-google-cloud-monitoring-metricsscope-v1/pom.xml index 1c22c0a0673f..a6b543610287 100644 --- a/java-monitoring-metricsscope/grpc-google-cloud-monitoring-metricsscope-v1/pom.xml +++ b/java-monitoring-metricsscope/grpc-google-cloud-monitoring-metricsscope-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-monitoring-metricsscope-v1 - 0.3.0 + 0.4.0 grpc-google-cloud-monitoring-metricsscope-v1 GRPC library for google-cloud-monitoring-metricsscope com.google.cloud google-cloud-monitoring-metricsscope-parent - 0.3.0 + 0.4.0 diff --git a/java-monitoring-metricsscope/pom.xml b/java-monitoring-metricsscope/pom.xml index 8a88ec185e63..480c4e4efef3 100644 --- a/java-monitoring-metricsscope/pom.xml +++ b/java-monitoring-metricsscope/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-monitoring-metricsscope-parent pom - 0.3.0 + 0.4.0 Google Monitoring Metrics Scopes Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-monitoring-metricsscope - 0.3.0 + 0.4.0 com.google.api.grpc grpc-google-cloud-monitoring-metricsscope-v1 - 0.3.0 + 0.4.0 com.google.api.grpc proto-google-cloud-monitoring-metricsscope-v1 - 0.3.0 + 0.4.0 diff --git a/java-monitoring-metricsscope/proto-google-cloud-monitoring-metricsscope-v1/pom.xml b/java-monitoring-metricsscope/proto-google-cloud-monitoring-metricsscope-v1/pom.xml index 808d0ef9220e..c92ded083213 100644 --- a/java-monitoring-metricsscope/proto-google-cloud-monitoring-metricsscope-v1/pom.xml +++ b/java-monitoring-metricsscope/proto-google-cloud-monitoring-metricsscope-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-monitoring-metricsscope-v1 - 0.3.0 + 0.4.0 proto-google-cloud-monitoring-metricsscope-v1 Proto library for google-cloud-monitoring-metricsscope com.google.cloud google-cloud-monitoring-metricsscope-parent - 0.3.0 + 0.4.0 diff --git a/java-monitoring/google-cloud-monitoring-bom/pom.xml b/java-monitoring/google-cloud-monitoring-bom/pom.xml index d638a1a87fb5..66f28e1dfb23 100644 --- a/java-monitoring/google-cloud-monitoring-bom/pom.xml +++ b/java-monitoring/google-cloud-monitoring-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-monitoring-bom - 3.10.0 + 3.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-monitoring - 3.10.0 + 3.11.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 3.10.0 + 3.11.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 3.10.0 + 3.11.0 diff --git a/java-monitoring/google-cloud-monitoring/pom.xml b/java-monitoring/google-cloud-monitoring/pom.xml index e7f6cf7e3302..20deca088208 100644 --- a/java-monitoring/google-cloud-monitoring/pom.xml +++ b/java-monitoring/google-cloud-monitoring/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-monitoring - 3.10.0 + 3.11.0 jar Google Cloud Monitoring Java idiomatic client for Stackdriver Monitoring com.google.cloud google-cloud-monitoring-parent - 3.10.0 + 3.11.0 google-cloud-monitoring diff --git a/java-monitoring/grpc-google-cloud-monitoring-v3/pom.xml b/java-monitoring/grpc-google-cloud-monitoring-v3/pom.xml index b8750f23124d..2de851e60e82 100644 --- a/java-monitoring/grpc-google-cloud-monitoring-v3/pom.xml +++ b/java-monitoring/grpc-google-cloud-monitoring-v3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 3.10.0 + 3.11.0 grpc-google-cloud-monitoring-v3 GRPC library for grpc-google-cloud-monitoring-v3 com.google.cloud google-cloud-monitoring-parent - 3.10.0 + 3.11.0 diff --git a/java-monitoring/pom.xml b/java-monitoring/pom.xml index e6bf139d68d0..41f699ecf2e2 100644 --- a/java-monitoring/pom.xml +++ b/java-monitoring/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-monitoring-parent pom - 3.10.0 + 3.11.0 Google Cloud Monitoring Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-monitoring-v3 - 3.10.0 + 3.11.0 com.google.api.grpc grpc-google-cloud-monitoring-v3 - 3.10.0 + 3.11.0 com.google.cloud google-cloud-monitoring - 3.10.0 + 3.11.0 diff --git a/java-monitoring/proto-google-cloud-monitoring-v3/pom.xml b/java-monitoring/proto-google-cloud-monitoring-v3/pom.xml index ba6873d61dee..10dfcac197a7 100644 --- a/java-monitoring/proto-google-cloud-monitoring-v3/pom.xml +++ b/java-monitoring/proto-google-cloud-monitoring-v3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-monitoring-v3 - 3.10.0 + 3.11.0 proto-google-cloud-monitoring-v3 PROTO library for proto-google-cloud-monitoring-v3 com.google.cloud google-cloud-monitoring-parent - 3.10.0 + 3.11.0 diff --git a/java-network-management/README.md b/java-network-management/README.md index 2f6cb970e34a..ac5feecf8a40 100644 --- a/java-network-management/README.md +++ b/java-network-management/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-network-management - 1.9.0 + 1.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-management:1.9.0' +implementation 'com.google.cloud:google-cloud-network-management:1.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.10.0" ``` ## Authentication diff --git a/java-network-management/google-cloud-network-management-bom/pom.xml b/java-network-management/google-cloud-network-management-bom/pom.xml index aeb68719b6df..aa3de1ed2f4f 100644 --- a/java-network-management/google-cloud-network-management-bom/pom.xml +++ b/java-network-management/google-cloud-network-management-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-network-management-bom - 1.10.0 + 1.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-network-management - 1.10.0 + 1.11.0 com.google.api.grpc grpc-google-cloud-network-management-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-network-management-v1 - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-cloud-network-management-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-network-management-v1 - 1.10.0 + 1.11.0 diff --git a/java-network-management/google-cloud-network-management/pom.xml b/java-network-management/google-cloud-network-management/pom.xml index 11e13147dbcc..fea6c0d59600 100644 --- a/java-network-management/google-cloud-network-management/pom.xml +++ b/java-network-management/google-cloud-network-management/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-network-management - 1.10.0 + 1.11.0 jar Google Network Management API Network Management API provides a collection of network performance monitoring and diagnostic capabilities. com.google.cloud google-cloud-network-management-parent - 1.10.0 + 1.11.0 google-cloud-network-management diff --git a/java-network-management/grpc-google-cloud-network-management-v1/pom.xml b/java-network-management/grpc-google-cloud-network-management-v1/pom.xml index b521c363fa2e..76891748bec8 100644 --- a/java-network-management/grpc-google-cloud-network-management-v1/pom.xml +++ b/java-network-management/grpc-google-cloud-network-management-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-network-management-v1 - 1.10.0 + 1.11.0 grpc-google-cloud-network-management-v1 GRPC library for google-cloud-network-management com.google.cloud google-cloud-network-management-parent - 1.10.0 + 1.11.0 diff --git a/java-network-management/grpc-google-cloud-network-management-v1beta1/pom.xml b/java-network-management/grpc-google-cloud-network-management-v1beta1/pom.xml index 99908496b67c..40b10cae5191 100644 --- a/java-network-management/grpc-google-cloud-network-management-v1beta1/pom.xml +++ b/java-network-management/grpc-google-cloud-network-management-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-network-management-v1beta1 - 0.12.0 + 0.13.0 grpc-google-cloud-network-management-v1beta1 GRPC library for google-cloud-network-management com.google.cloud google-cloud-network-management-parent - 1.10.0 + 1.11.0 diff --git a/java-network-management/pom.xml b/java-network-management/pom.xml index 59bd46f27733..0bd379685472 100644 --- a/java-network-management/pom.xml +++ b/java-network-management/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-network-management-parent pom - 1.10.0 + 1.11.0 Google Network Management API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-network-management - 1.10.0 + 1.11.0 com.google.api.grpc grpc-google-cloud-network-management-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-network-management-v1 - 1.10.0 + 1.11.0 com.google.api.grpc proto-google-cloud-network-management-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-network-management-v1 - 1.10.0 + 1.11.0 diff --git a/java-network-management/proto-google-cloud-network-management-v1/pom.xml b/java-network-management/proto-google-cloud-network-management-v1/pom.xml index a0e3ad391989..16832bf80d0b 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/pom.xml +++ b/java-network-management/proto-google-cloud-network-management-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-network-management-v1 - 1.10.0 + 1.11.0 proto-google-cloud-network-management-v1 Proto library for google-cloud-network-management com.google.cloud google-cloud-network-management-parent - 1.10.0 + 1.11.0 diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java index 0d17cdfb2692..807df54c5552 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/ReachabilityServiceProto.java @@ -142,14 +142,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ctivityTests/*}\332A\004name\312A*\n\025google.protob" + "uf.Empty\022\021OperationMetadata\032T\312A networkm" + "anagement.googleapis.com\322A.https://www.g" - + "oogleapis.com/auth/cloud-platformB\206\002\n%co" + + "oogleapis.com/auth/cloud-platformB\207\002\n%co" + "m.google.cloud.networkmanagement.v1B\030Rea" - + "chabilityServiceProtoP\001ZRgoogle.golang.o" - + "rg/genproto/googleapis/cloud/networkmana" - + "gement/v1;networkmanagement\252\002!Google.Clo" - + "ud.NetworkManagement.V1\312\002!Google\\Cloud\\N" - + "etworkManagement\\V1\352\002$Google::Cloud::Net" - + "workManagement::V1b\006proto3" + + "chabilityServiceProtoP\001ZScloud.google.co" + + "m/go/networkmanagement/apiv1/networkmana" + + "gementpb;networkmanagementpb\252\002!Google.Cl" + + "oud.NetworkManagement.V1\312\002!Google\\Cloud\\" + + "NetworkManagement\\V1\352\002$Google::Cloud::Ne" + + "tworkManagement::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java index 06b46f0fed19..fb586d38fe1e 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TestOuterClass.java @@ -92,14 +92,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\0228\n\006traces\030\005 \003(\0132(.google.cloud.networkm" + "anagement.v1.Trace\"a\n\006Result\022\026\n\022RESULT_U" + "NSPECIFIED\020\000\022\r\n\tREACHABLE\020\001\022\017\n\013UNREACHAB" - + "LE\020\002\022\r\n\tAMBIGUOUS\020\004\022\020\n\014UNDETERMINED\020\005B\374\001" + + "LE\020\002\022\r\n\tAMBIGUOUS\020\004\022\020\n\014UNDETERMINED\020\005B\375\001" + "\n%com.google.cloud.networkmanagement.v1B" - + "\016TestOuterClassP\001ZRgoogle.golang.org/gen" - + "proto/googleapis/cloud/networkmanagement" - + "/v1;networkmanagement\252\002!Google.Cloud.Net" - + "workManagement.V1\312\002!Google\\Cloud\\Network" - + "Management\\V1\352\002$Google::Cloud::NetworkMa" - + "nagement::V1b\006proto3" + + "\016TestOuterClassP\001ZScloud.google.com/go/n" + + "etworkmanagement/apiv1/networkmanagement" + + "pb;networkmanagementpb\252\002!Google.Cloud.Ne" + + "tworkManagement.V1\312\002!Google\\Cloud\\Networ" + + "kManagement\\V1\352\002$Google::Cloud::NetworkM" + + "anagement::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java index 02fea37e381e..b9a1525b7f8d 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/java/com/google/cloud/networkmanagement/v1/TraceProto.java @@ -291,13 +291,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "QLInstanceInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003" + "uri\030\002 \001(\t\022\023\n\013network_uri\030\004 \001(\t\022\023\n\013intern" + "al_ip\030\005 \001(\t\022\023\n\013external_ip\030\006 \001(\t\022\016\n\006regi" - + "on\030\007 \001(\tB\370\001\n%com.google.cloud.networkman" - + "agement.v1B\nTraceProtoP\001ZRgoogle.golang." - + "org/genproto/googleapis/cloud/networkman" - + "agement/v1;networkmanagement\252\002!Google.Cl" - + "oud.NetworkManagement.V1\312\002!Google\\Cloud\\" - + "NetworkManagement\\V1\352\002$Google::Cloud::Ne" - + "tworkManagement::V1b\006proto3" + + "on\030\007 \001(\tB\371\001\n%com.google.cloud.networkman" + + "agement.v1B\nTraceProtoP\001ZScloud.google.c" + + "om/go/networkmanagement/apiv1/networkman" + + "agementpb;networkmanagementpb\252\002!Google.C" + + "loud.NetworkManagement.V1\312\002!Google\\Cloud" + + "\\NetworkManagement\\V1\352\002$Google::Cloud::N" + + "etworkManagement::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto index 36d88b30b6b3..78685ba735ec 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/connectivity_test.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.NetworkManagement.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1;networkmanagement"; +option go_package = "cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb;networkmanagementpb"; option java_multiple_files = true; option java_outer_classname = "TestOuterClass"; option java_package = "com.google.cloud.networkmanagement.v1"; diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto index b8cdaec9dbde..d81fe4f57797 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/reachability.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkManagement.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1;networkmanagement"; +option go_package = "cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb;networkmanagementpb"; option java_multiple_files = true; option java_outer_classname = "ReachabilityServiceProto"; option java_package = "com.google.cloud.networkmanagement.v1"; diff --git a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto index 63ec014e0a57..945b1baf4df6 100644 --- a/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto +++ b/java-network-management/proto-google-cloud-network-management-v1/src/main/proto/google/cloud/networkmanagement/v1/trace.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.networkmanagement.v1; option csharp_namespace = "Google.Cloud.NetworkManagement.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1;networkmanagement"; +option go_package = "cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb;networkmanagementpb"; option java_multiple_files = true; option java_outer_classname = "TraceProto"; option java_package = "com.google.cloud.networkmanagement.v1"; diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/pom.xml b/java-network-management/proto-google-cloud-network-management-v1beta1/pom.xml index b8417e9f8392..9462bb04211e 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/pom.xml +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-network-management-v1beta1 - 0.12.0 + 0.13.0 proto-google-cloud-network-management-v1beta1 Proto library for google-cloud-network-management com.google.cloud google-cloud-network-management-parent - 1.10.0 + 1.11.0 diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java index 29f6631f04b7..629716269bad 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/ReachabilityServiceProto.java @@ -143,15 +143,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "obal/connectivityTests/*}\312A*\n\025google.pro" + "tobuf.Empty\022\021OperationMetadata\032T\312A netwo" + "rkmanagement.googleapis.com\322A.https://ww" - + "w.googleapis.com/auth/cloud-platformB\237\002\n" + + "w.googleapis.com/auth/cloud-platformB\240\002\n" + "*com.google.cloud.networkmanagement.v1be" - + "ta1B\030ReachabilityServiceProtoP\001ZWgoogle." - + "golang.org/genproto/googleapis/cloud/net" - + "workmanagement/v1beta1;networkmanagement" - + "\252\002&Google.Cloud.NetworkManagement.V1Beta" - + "1\312\002&Google\\Cloud\\NetworkManagement\\V1bet" - + "a1\352\002)Google::Cloud::NetworkManagement::V" - + "1beta1b\006proto3" + + "ta1B\030ReachabilityServiceProtoP\001ZXcloud.g" + + "oogle.com/go/networkmanagement/apiv1beta" + + "1/networkmanagementpb;networkmanagementp" + + "b\252\002&Google.Cloud.NetworkManagement.V1Bet" + + "a1\312\002&Google\\Cloud\\NetworkManagement\\V1be" + + "ta1\352\002)Google::Cloud::NetworkManagement::" + + "V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java index 9ec667ba2e92..f3ae0762d4b8 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TestOuterClass.java @@ -146,14 +146,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "STENT\020\003\022\020\n\014UNDETERMINED\020\004\"g\n\021ProbingAbor" + "tCause\022#\n\037PROBING_ABORT_CAUSE_UNSPECIFIE" + "D\020\000\022\025\n\021PERMISSION_DENIED\020\001\022\026\n\022NO_SOURCE_" - + "LOCATION\020\002B\225\002\n*com.google.cloud.networkm" - + "anagement.v1beta1B\016TestOuterClassP\001ZWgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/networkmanagement/v1beta1;networkmanage" - + "ment\252\002&Google.Cloud.NetworkManagement.V1" - + "Beta1\312\002&Google\\Cloud\\NetworkManagement\\V" - + "1beta1\352\002)Google::Cloud::NetworkManagemen" - + "t::V1beta1b\006proto3" + + "LOCATION\020\002B\226\002\n*com.google.cloud.networkm" + + "anagement.v1beta1B\016TestOuterClassP\001ZXclo" + + "ud.google.com/go/networkmanagement/apiv1" + + "beta1/networkmanagementpb;networkmanagem" + + "entpb\252\002&Google.Cloud.NetworkManagement.V" + + "1Beta1\312\002&Google\\Cloud\\NetworkManagement\\" + + "V1beta1\352\002)Google::Cloud::NetworkManageme" + + "nt::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java index 9a8c83dc3dbb..7f96562dd89f 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/java/com/google/cloud/networkmanagement/v1beta1/TraceProto.java @@ -320,14 +320,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "isplay_name\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\020\n\010locati" + "on\030\003 \001(\t\022\022\n\nversion_id\030\004 \001(\003\"G\n\020VpcConne" + "ctorInfo\022\024\n\014display_name\030\001 \001(\t\022\013\n\003uri\030\002 " - + "\001(\t\022\020\n\010location\030\003 \001(\tB\221\002\n*com.google.clo" + + "\001(\t\022\020\n\010location\030\003 \001(\tB\222\002\n*com.google.clo" + "ud.networkmanagement.v1beta1B\nTraceProto" - + "P\001ZWgoogle.golang.org/genproto/googleapi" - + "s/cloud/networkmanagement/v1beta1;networ" - + "kmanagement\252\002&Google.Cloud.NetworkManage" - + "ment.V1Beta1\312\002&Google\\Cloud\\NetworkManag" - + "ement\\V1beta1\352\002)Google::Cloud::NetworkMa" - + "nagement::V1beta1b\006proto3" + + "P\001ZXcloud.google.com/go/networkmanagemen" + + "t/apiv1beta1/networkmanagementpb;network" + + "managementpb\252\002&Google.Cloud.NetworkManag" + + "ement.V1Beta1\312\002&Google\\Cloud\\NetworkMana" + + "gement\\V1beta1\352\002)Google::Cloud::NetworkM" + + "anagement::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto index 03d529b44f68..cfbae11c1641 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/connectivity_test.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.NetworkManagement.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1;networkmanagement"; +option go_package = "cloud.google.com/go/networkmanagement/apiv1beta1/networkmanagementpb;networkmanagementpb"; option java_multiple_files = true; option java_outer_classname = "TestOuterClass"; option java_package = "com.google.cloud.networkmanagement.v1beta1"; diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto index 82cf7a3f4825..6c642e51e461 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/reachability.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkManagement.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1;networkmanagement"; +option go_package = "cloud.google.com/go/networkmanagement/apiv1beta1/networkmanagementpb;networkmanagementpb"; option java_multiple_files = true; option java_outer_classname = "ReachabilityServiceProto"; option java_package = "com.google.cloud.networkmanagement.v1beta1"; diff --git a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto index 9035fcfe4078..bd14fd549cea 100644 --- a/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto +++ b/java-network-management/proto-google-cloud-network-management-v1beta1/src/main/proto/google/cloud/networkmanagement/v1beta1/trace.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.networkmanagement.v1beta1; option csharp_namespace = "Google.Cloud.NetworkManagement.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1;networkmanagement"; +option go_package = "cloud.google.com/go/networkmanagement/apiv1beta1/networkmanagementpb;networkmanagementpb"; option java_multiple_files = true; option java_outer_classname = "TraceProto"; option java_package = "com.google.cloud.networkmanagement.v1beta1"; diff --git a/java-network-security/README.md b/java-network-security/README.md index fc6f9c45ff2e..4b1b1f124a17 100644 --- a/java-network-security/README.md +++ b/java-network-security/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-network-security - 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-network-security:0.11.0' +implementation 'com.google.cloud:google-cloud-network-security:0.12.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.11.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.12.0" ``` ## Authentication diff --git a/java-network-security/google-cloud-network-security-bom/pom.xml b/java-network-security/google-cloud-network-security-bom/pom.xml index 403a58e55097..f9b4fdcd3961 100644 --- a/java-network-security/google-cloud-network-security-bom/pom.xml +++ b/java-network-security/google-cloud-network-security-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-network-security-bom - 0.12.0 + 0.13.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-network-security - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-network-security-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-network-security-v1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-network-security-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-network-security-v1 - 0.12.0 + 0.13.0 diff --git a/java-network-security/google-cloud-network-security/pom.xml b/java-network-security/google-cloud-network-security/pom.xml index 8ffaf4f6c79a..331b11d80b18 100644 --- a/java-network-security/google-cloud-network-security/pom.xml +++ b/java-network-security/google-cloud-network-security/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-network-security - 0.12.0 + 0.13.0 jar Google Network Security API Network Security API n/a com.google.cloud google-cloud-network-security-parent - 0.12.0 + 0.13.0 google-cloud-network-security diff --git a/java-network-security/grpc-google-cloud-network-security-v1/pom.xml b/java-network-security/grpc-google-cloud-network-security-v1/pom.xml index 44c014ce9466..8b9831652e82 100644 --- a/java-network-security/grpc-google-cloud-network-security-v1/pom.xml +++ b/java-network-security/grpc-google-cloud-network-security-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-network-security-v1 - 0.12.0 + 0.13.0 grpc-google-cloud-network-security-v1 GRPC library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.12.0 + 0.13.0 diff --git a/java-network-security/grpc-google-cloud-network-security-v1beta1/pom.xml b/java-network-security/grpc-google-cloud-network-security-v1beta1/pom.xml index 46011a424805..d39e99874c86 100644 --- a/java-network-security/grpc-google-cloud-network-security-v1beta1/pom.xml +++ b/java-network-security/grpc-google-cloud-network-security-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-network-security-v1beta1 - 0.12.0 + 0.13.0 grpc-google-cloud-network-security-v1beta1 GRPC library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.12.0 + 0.13.0 diff --git a/java-network-security/pom.xml b/java-network-security/pom.xml index 53e10bae11c0..8870e9be8bb5 100644 --- a/java-network-security/pom.xml +++ b/java-network-security/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-network-security-parent pom - 0.12.0 + 0.13.0 Google Network Security API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-network-security - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-network-security-v1 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-network-security-v1 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-network-security-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-network-security-v1beta1 - 0.12.0 + 0.13.0 diff --git a/java-network-security/proto-google-cloud-network-security-v1/pom.xml b/java-network-security/proto-google-cloud-network-security-v1/pom.xml index d7aedaeb85f6..690b4ccfb454 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/pom.xml +++ b/java-network-security/proto-google-cloud-network-security-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-network-security-v1 - 0.12.0 + 0.13.0 proto-google-cloud-network-security-v1 Proto library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.12.0 + 0.13.0 diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/AuthorizationPolicyProto.java b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/AuthorizationPolicyProto.java index 69802deadd54..e047f0ddec05 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/AuthorizationPolicyProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/AuthorizationPolicyProto.java @@ -142,14 +142,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ecurity.v1.AuthorizationPolicyB\003\340A\002\"l\n D" + "eleteAuthorizationPolicyRequest\022H\n\004name\030" + "\001 \001(\tB:\340A\002\372A4\n2networksecurity.googleapi" - + "s.com/AuthorizationPolicyB\372\001\n#com.google" + + "s.com/AuthorizationPolicyB\371\001\n#com.google" + ".cloud.networksecurity.v1B\030Authorization" - + "PolicyProtoP\001ZNgoogle.golang.org/genprot" - + "o/googleapis/cloud/networksecurity/v1;ne" - + "tworksecurity\252\002\037Google.Cloud.NetworkSecu" - + "rity.V1\312\002\037Google\\Cloud\\NetworkSecurity\\V" - + "1\352\002\"Google::Cloud::NetworkSecurity::V1b\006" - + "proto3" + + "PolicyProtoP\001ZMcloud.google.com/go/netwo" + + "rksecurity/apiv1/networksecuritypb;netwo" + + "rksecuritypb\252\002\037Google.Cloud.NetworkSecur" + + "ity.V1\312\002\037Google\\Cloud\\NetworkSecurity\\V1" + + "\352\002\"Google::Cloud::NetworkSecurity::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/ClientTlsPolicyProto.java b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/ClientTlsPolicyProto.java index d9e96d38a833..04753b723845 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/ClientTlsPolicyProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/ClientTlsPolicyProto.java @@ -111,14 +111,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ud.networksecurity.v1.ClientTlsPolicyB\003\340" + "A\002\"d\n\034DeleteClientTlsPolicyRequest\022D\n\004na" + "me\030\001 \001(\tB6\340A\002\372A0\n.networksecurity.google" - + "apis.com/ClientTlsPolicyB\366\001\n#com.google." + + "apis.com/ClientTlsPolicyB\365\001\n#com.google." + "cloud.networksecurity.v1B\024ClientTlsPolic" - + "yProtoP\001ZNgoogle.golang.org/genproto/goo" - + "gleapis/cloud/networksecurity/v1;network" - + "security\252\002\037Google.Cloud.NetworkSecurity." - + "V1\312\002\037Google\\Cloud\\NetworkSecurity\\V1\352\002\"G" - + "oogle::Cloud::NetworkSecurity::V1b\006proto" - + "3" + + "yProtoP\001ZMcloud.google.com/go/networksec" + + "urity/apiv1/networksecuritypb;networksec" + + "uritypb\252\002\037Google.Cloud.NetworkSecurity.V" + + "1\312\002\037Google\\Cloud\\NetworkSecurity\\V1\352\002\"Go" + + "ogle::Cloud::NetworkSecurity::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/CommonProto.java b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/CommonProto.java index e1e36d32c86a..480282d7d5fd 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/CommonProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/CommonProto.java @@ -50,13 +50,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "et\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n\016stat" + "us_message\030\005 \001(\tB\003\340A\003\022#\n\026requested_cance" + "llation\030\006 \001(\010B\003\340A\003\022\030\n\013api_version\030\007 \001(\tB" - + "\003\340A\003B\355\001\n#com.google.cloud.networksecurit" - + "y.v1B\013CommonProtoP\001ZNgoogle.golang.org/g" - + "enproto/googleapis/cloud/networksecurity" - + "/v1;networksecurity\252\002\037Google.Cloud.Netwo" - + "rkSecurity.V1\312\002\037Google\\Cloud\\NetworkSecu" - + "rity\\V1\352\002\"Google::Cloud::NetworkSecurity" - + "::V1b\006proto3" + + "\003\340A\003B\354\001\n#com.google.cloud.networksecurit" + + "y.v1B\013CommonProtoP\001ZMcloud.google.com/go" + + "/networksecurity/apiv1/networksecuritypb" + + ";networksecuritypb\252\002\037Google.Cloud.Networ" + + "kSecurity.V1\312\002\037Google\\Cloud\\NetworkSecur" + + "ity\\V1\352\002\"Google::Cloud::NetworkSecurity:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityOuterClass.java b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityOuterClass.java index 6ff59866d187..62da6d3d0143 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityOuterClass.java +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/NetworkSecurityOuterClass.java @@ -149,13 +149,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "mpty\0221google.cloud.networksecurity.v1.Op" + "erationMetadata\032R\312A\036networksecurity.goog" + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\340\001\n#com.google.cloud" - + ".networksecurity.v1P\001ZNgoogle.golang.org" - + "/genproto/googleapis/cloud/networksecuri" - + "ty/v1;networksecurity\252\002\037Google.Cloud.Net" - + "workSecurity.V1\312\002\037Google\\Cloud\\NetworkSe" - + "curity\\V1\352\002\"Google::Cloud::NetworkSecuri" - + "ty::V1b\006proto3" + + "auth/cloud-platformB\337\001\n#com.google.cloud" + + ".networksecurity.v1P\001ZMcloud.google.com/" + + "go/networksecurity/apiv1/networksecurity" + + "pb;networksecuritypb\252\002\037Google.Cloud.Netw" + + "orkSecurity.V1\312\002\037Google\\Cloud\\NetworkSec" + + "urity\\V1\352\002\"Google::Cloud::NetworkSecurit" + + "y::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/ServerTlsPolicyProto.java b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/ServerTlsPolicyProto.java index 5c41d6a4322e..5bcc749cec70 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/ServerTlsPolicyProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/ServerTlsPolicyProto.java @@ -117,13 +117,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".networksecurity.v1.ServerTlsPolicyB\003\340A\002" + "\"d\n\034DeleteServerTlsPolicyRequest\022D\n\004name" + "\030\001 \001(\tB6\340A\002\372A0\n.networksecurity.googleap" - + "is.com/ServerTlsPolicyB\366\001\n#com.google.cl" + + "is.com/ServerTlsPolicyB\365\001\n#com.google.cl" + "oud.networksecurity.v1B\024ServerTlsPolicyP" - + "rotoP\001ZNgoogle.golang.org/genproto/googl" - + "eapis/cloud/networksecurity/v1;networkse" - + "curity\252\002\037Google.Cloud.NetworkSecurity.V1" - + "\312\002\037Google\\Cloud\\NetworkSecurity\\V1\352\002\"Goo" - + "gle::Cloud::NetworkSecurity::V1b\006proto3" + + "rotoP\001ZMcloud.google.com/go/networksecur" + + "ity/apiv1/networksecuritypb;networksecur" + + "itypb\252\002\037Google.Cloud.NetworkSecurity.V1\312" + + "\002\037Google\\Cloud\\NetworkSecurity\\V1\352\002\"Goog" + + "le::Cloud::NetworkSecurity::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/TlsProto.java b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/TlsProto.java index 97115bddf110..442acf2982ff 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/TlsProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/java/com/google/cloud/networksecurity/v1/TlsProto.java @@ -67,13 +67,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ksecurity.v1.GrpcEndpointH\000\022e\n\035certifica" + "te_provider_instance\030\003 \001(\0132<.google.clou" + "d.networksecurity.v1.CertificateProvider" - + "InstanceH\000B\006\n\004typeB\352\001\n#com.google.cloud." - + "networksecurity.v1B\010TlsProtoP\001ZNgoogle.g" - + "olang.org/genproto/googleapis/cloud/netw" - + "orksecurity/v1;networksecurity\252\002\037Google." - + "Cloud.NetworkSecurity.V1\312\002\037Google\\Cloud\\" - + "NetworkSecurity\\V1\352\002\"Google::Cloud::Netw" - + "orkSecurity::V1b\006proto3" + + "InstanceH\000B\006\n\004typeB\351\001\n#com.google.cloud." + + "networksecurity.v1B\010TlsProtoP\001ZMcloud.go" + + "ogle.com/go/networksecurity/apiv1/networ" + + "ksecuritypb;networksecuritypb\252\002\037Google.C" + + "loud.NetworkSecurity.V1\312\002\037Google\\Cloud\\N" + + "etworkSecurity\\V1\352\002\"Google::Cloud::Netwo" + + "rkSecurity::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/authorization_policy.proto b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/authorization_policy.proto index e66afdddec2e..7d720d4e9c4f 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/authorization_policy.proto +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/authorization_policy.proto @@ -22,7 +22,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "AuthorizationPolicyProto"; option java_package = "com.google.cloud.networksecurity.v1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/client_tls_policy.proto b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/client_tls_policy.proto index 4cba3efac4bf..e201dd82c1ce 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/client_tls_policy.proto +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/client_tls_policy.proto @@ -23,7 +23,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "ClientTlsPolicyProto"; option java_package = "com.google.cloud.networksecurity.v1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/common.proto b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/common.proto index 1ec1905bf365..728b9b089452 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/common.proto +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/common.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.cloud.networksecurity.v1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/network_security.proto b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/network_security.proto index addce1e17e83..a77d11f6b259 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/network_security.proto +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/network_security.proto @@ -24,7 +24,7 @@ import "google/cloud/networksecurity/v1/server_tls_policy.proto"; import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_package = "com.google.cloud.networksecurity.v1"; option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/server_tls_policy.proto b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/server_tls_policy.proto index fb549068ac34..c837d4a61f4e 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/server_tls_policy.proto +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/server_tls_policy.proto @@ -23,7 +23,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "ServerTlsPolicyProto"; option java_package = "com.google.cloud.networksecurity.v1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/tls.proto b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/tls.proto index 2b23d8ef1aff..2a82818593e2 100644 --- a/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/tls.proto +++ b/java-network-security/proto-google-cloud-network-security-v1/src/main/proto/google/cloud/networksecurity/v1/tls.proto @@ -19,7 +19,7 @@ package google.cloud.networksecurity.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "TlsProto"; option java_package = "com.google.cloud.networksecurity.v1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/pom.xml b/java-network-security/proto-google-cloud-network-security-v1beta1/pom.xml index d53ce1d39de1..917329eec3eb 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/pom.xml +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-network-security-v1beta1 - 0.12.0 + 0.13.0 proto-google-cloud-network-security-v1beta1 Proto library for google-cloud-network-security com.google.cloud google-cloud-network-security-parent - 0.12.0 + 0.13.0 diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyProto.java b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyProto.java index ac66c7a96972..1b531ce26691 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/AuthorizationPolicyProto.java @@ -144,14 +144,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "olicyB\003\340A\002\"l\n DeleteAuthorizationPolicyR" + "equest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2networksec" + "urity.googleapis.com/AuthorizationPolicy" - + "B\223\002\n(com.google.cloud.networksecurity.v1" - + "beta1B\030AuthorizationPolicyProtoP\001ZSgoogl" - + "e.golang.org/genproto/googleapis/cloud/n" - + "etworksecurity/v1beta1;networksecurity\252\002" - + "$Google.Cloud.NetworkSecurity.V1Beta1\312\002$" - + "Google\\Cloud\\NetworkSecurity\\V1beta1\352\002\'G" - + "oogle::Cloud::NetworkSecurity::V1beta1b\006" - + "proto3" + + "B\222\002\n(com.google.cloud.networksecurity.v1" + + "beta1B\030AuthorizationPolicyProtoP\001ZRcloud" + + ".google.com/go/networksecurity/apiv1beta" + + "1/networksecuritypb;networksecuritypb\252\002$" + + "Google.Cloud.NetworkSecurity.V1Beta1\312\002$G" + + "oogle\\Cloud\\NetworkSecurity\\V1beta1\352\002\'Go" + + "ogle::Cloud::NetworkSecurity::V1beta1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyProto.java b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyProto.java index 141a069dbd9a..b063e03c63d2 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ClientTlsPolicyProto.java @@ -112,14 +112,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ud.networksecurity.v1beta1.ClientTlsPoli" + "cyB\003\340A\002\"d\n\034DeleteClientTlsPolicyRequest\022" + "D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.networksecurity.g" - + "oogleapis.com/ClientTlsPolicyB\217\002\n(com.go" + + "oogleapis.com/ClientTlsPolicyB\216\002\n(com.go" + "ogle.cloud.networksecurity.v1beta1B\024Clie" - + "ntTlsPolicyProtoP\001ZSgoogle.golang.org/ge" - + "nproto/googleapis/cloud/networksecurity/" - + "v1beta1;networksecurity\252\002$Google.Cloud.N" - + "etworkSecurity.V1Beta1\312\002$Google\\Cloud\\Ne" - + "tworkSecurity\\V1beta1\352\002\'Google::Cloud::N" - + "etworkSecurity::V1beta1b\006proto3" + + "ntTlsPolicyProtoP\001ZRcloud.google.com/go/" + + "networksecurity/apiv1beta1/networksecuri" + + "typb;networksecuritypb\252\002$Google.Cloud.Ne" + + "tworkSecurity.V1Beta1\312\002$Google\\Cloud\\Net" + + "workSecurity\\V1beta1\352\002\'Google::Cloud::Ne" + + "tworkSecurity::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CommonProto.java b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CommonProto.java index df2e3c8d99ce..6c5d3e673ea2 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CommonProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/CommonProto.java @@ -50,14 +50,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340" + "A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A\003\022#\n\026reque" + "sted_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013api_vers" - + "ion\030\007 \001(\tB\003\340A\003B\206\002\n(com.google.cloud.netw" - + "orksecurity.v1beta1B\013CommonProtoP\001ZSgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "networksecurity/v1beta1;networksecurity\252" - + "\002$Google.Cloud.NetworkSecurity.V1Beta1\312\002" - + "$Google\\Cloud\\NetworkSecurity\\V1beta1\352\002\'" - + "Google::Cloud::NetworkSecurity::V1beta1b" - + "\006proto3" + + "ion\030\007 \001(\tB\003\340A\003B\205\002\n(com.google.cloud.netw" + + "orksecurity.v1beta1B\013CommonProtoP\001ZRclou" + + "d.google.com/go/networksecurity/apiv1bet" + + "a1/networksecuritypb;networksecuritypb\252\002" + + "$Google.Cloud.NetworkSecurity.V1Beta1\312\002$" + + "Google\\Cloud\\NetworkSecurity\\V1beta1\352\002\'G" + + "oogle::Cloud::NetworkSecurity::V1beta1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityOuterClass.java b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityOuterClass.java index 1f5a7b86d665..145ef2574e37 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityOuterClass.java +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/NetworkSecurityOuterClass.java @@ -155,14 +155,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "buf.Empty\0226google.cloud.networksecurity." + "v1beta1.OperationMetadata\032R\312A\036networksec" + "urity.googleapis.com\322A.https://www.googl" - + "eapis.com/auth/cloud-platformB\371\001\n(com.go" - + "ogle.cloud.networksecurity.v1beta1P\001ZSgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/networksecurity/v1beta1;networksecurit" - + "y\252\002$Google.Cloud.NetworkSecurity.V1Beta1" - + "\312\002$Google\\Cloud\\NetworkSecurity\\V1beta1\352" - + "\002\'Google::Cloud::NetworkSecurity::V1beta" - + "1b\006proto3" + + "eapis.com/auth/cloud-platformB\370\001\n(com.go" + + "ogle.cloud.networksecurity.v1beta1P\001ZRcl" + + "oud.google.com/go/networksecurity/apiv1b" + + "eta1/networksecuritypb;networksecuritypb" + + "\252\002$Google.Cloud.NetworkSecurity.V1Beta1\312" + + "\002$Google\\Cloud\\NetworkSecurity\\V1beta1\352\002" + + "\'Google::Cloud::NetworkSecurity::V1beta1" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyProto.java b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyProto.java index 6f2b7d33139c..0ba4776b107c 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/ServerTlsPolicyProto.java @@ -118,14 +118,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cloud.networksecurity.v1beta1.ServerTlsP" + "olicyB\003\340A\002\"d\n\034DeleteServerTlsPolicyReque" + "st\022D\n\004name\030\001 \001(\tB6\340A\002\372A0\n.networksecurit" - + "y.googleapis.com/ServerTlsPolicyB\217\002\n(com" + + "y.googleapis.com/ServerTlsPolicyB\216\002\n(com" + ".google.cloud.networksecurity.v1beta1B\024S" - + "erverTlsPolicyProtoP\001ZSgoogle.golang.org" - + "/genproto/googleapis/cloud/networksecuri" - + "ty/v1beta1;networksecurity\252\002$Google.Clou" - + "d.NetworkSecurity.V1Beta1\312\002$Google\\Cloud" - + "\\NetworkSecurity\\V1beta1\352\002\'Google::Cloud" - + "::NetworkSecurity::V1beta1b\006proto3" + + "erverTlsPolicyProtoP\001ZRcloud.google.com/" + + "go/networksecurity/apiv1beta1/networksec" + + "uritypb;networksecuritypb\252\002$Google.Cloud" + + ".NetworkSecurity.V1Beta1\312\002$Google\\Cloud\\" + + "NetworkSecurity\\V1beta1\352\002\'Google::Cloud:" + + ":NetworkSecurity::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/TlsProto.java b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/TlsProto.java index 8581da0404f6..563d7911d83a 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/TlsProto.java +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/java/com/google/cloud/networksecurity/v1beta1/TlsProto.java @@ -68,13 +68,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pcEndpointH\000\022j\n\035certificate_provider_ins" + "tance\030\003 \001(\0132A.google.cloud.networksecuri" + "ty.v1beta1.CertificateProviderInstanceH\000" - + "B\006\n\004typeB\203\002\n(com.google.cloud.networksec" - + "urity.v1beta1B\010TlsProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/cloud/networkse" - + "curity/v1beta1;networksecurity\252\002$Google." - + "Cloud.NetworkSecurity.V1Beta1\312\002$Google\\C" - + "loud\\NetworkSecurity\\V1beta1\352\002\'Google::C" - + "loud::NetworkSecurity::V1beta1b\006proto3" + + "B\006\n\004typeB\202\002\n(com.google.cloud.networksec" + + "urity.v1beta1B\010TlsProtoP\001ZRcloud.google." + + "com/go/networksecurity/apiv1beta1/networ" + + "ksecuritypb;networksecuritypb\252\002$Google.C" + + "loud.NetworkSecurity.V1Beta1\312\002$Google\\Cl" + + "oud\\NetworkSecurity\\V1beta1\352\002\'Google::Cl" + + "oud::NetworkSecurity::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/authorization_policy.proto b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/authorization_policy.proto index afae9ba5da83..e52f06d6a89d 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/authorization_policy.proto +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/authorization_policy.proto @@ -22,7 +22,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "AuthorizationPolicyProto"; option java_package = "com.google.cloud.networksecurity.v1beta1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/client_tls_policy.proto b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/client_tls_policy.proto index 8f10ad7fb9bc..23b510774100 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/client_tls_policy.proto +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/client_tls_policy.proto @@ -23,7 +23,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "ClientTlsPolicyProto"; option java_package = "com.google.cloud.networksecurity.v1beta1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/common.proto b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/common.proto index 7aa715d52c65..04f37a45ec9e 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/common.proto +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/common.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.cloud.networksecurity.v1beta1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/network_security.proto b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/network_security.proto index bd1fc8ce012e..157948f65c5a 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/network_security.proto +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/network_security.proto @@ -24,7 +24,7 @@ import "google/cloud/networksecurity/v1beta1/server_tls_policy.proto"; import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_package = "com.google.cloud.networksecurity.v1beta1"; option php_namespace = "Google\\Cloud\\NetworkSecurity\\V1beta1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/server_tls_policy.proto b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/server_tls_policy.proto index ce92cfce6336..02b5a7443bce 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/server_tls_policy.proto +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/server_tls_policy.proto @@ -23,7 +23,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "ServerTlsPolicyProto"; option java_package = "com.google.cloud.networksecurity.v1beta1"; diff --git a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/tls.proto b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/tls.proto index 3addee9fde63..f160146c1866 100644 --- a/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/tls.proto +++ b/java-network-security/proto-google-cloud-network-security-v1beta1/src/main/proto/google/cloud/networksecurity/v1beta1/tls.proto @@ -19,7 +19,7 @@ package google.cloud.networksecurity.v1beta1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.NetworkSecurity.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1;networksecurity"; +option go_package = "cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb"; option java_multiple_files = true; option java_outer_classname = "TlsProto"; option java_package = "com.google.cloud.networksecurity.v1beta1"; diff --git a/java-networkconnectivity/README.md b/java-networkconnectivity/README.md index ea5b5131532a..b1ac9e796315 100644 --- a/java-networkconnectivity/README.md +++ b/java-networkconnectivity/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-networkconnectivity - 1.7.0 + 1.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-networkconnectivity:1.7.0' +implementation 'com.google.cloud:google-cloud-networkconnectivity:1.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.8.0" ``` ## Authentication diff --git a/java-networkconnectivity/google-cloud-networkconnectivity-bom/pom.xml b/java-networkconnectivity/google-cloud-networkconnectivity-bom/pom.xml index ca8f2324f723..a1e56265126b 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity-bom/pom.xml +++ b/java-networkconnectivity/google-cloud-networkconnectivity-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-networkconnectivity-bom - 1.8.0 + 1.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-networkconnectivity - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1alpha1 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1alpha1 - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1 - 1.8.0 + 1.9.0 diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/pom.xml b/java-networkconnectivity/google-cloud-networkconnectivity/pom.xml index 27a646eb5126..8d0bc896a553 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity/pom.xml +++ b/java-networkconnectivity/google-cloud-networkconnectivity/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-networkconnectivity - 1.8.0 + 1.9.0 jar Google Network Connectivity Center Google's suite of products that provide enterprise connectivity from your on-premises network or from another cloud provider to your Virtual Private Cloud (VPC) network com.google.cloud google-cloud-networkconnectivity-parent - 1.8.0 + 1.9.0 google-cloud-networkconnectivity diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceClient.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceClient.java deleted file mode 100644 index c006579e4952..000000000000 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceClient.java +++ /dev/null @@ -1,944 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1; - -import com.google.api.core.ApiFuture; -import com.google.api.core.ApiFutures; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.longrunning.OperationFuture; -import com.google.api.gax.paging.AbstractFixedSizeCollection; -import com.google.api.gax.paging.AbstractPage; -import com.google.api.gax.paging.AbstractPagedListResponse; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.PageContext; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.cloud.networkconnectivity.v1.stub.PolicyBasedRoutingServiceStub; -import com.google.cloud.networkconnectivity.v1.stub.PolicyBasedRoutingServiceStubSettings; -import com.google.common.util.concurrent.MoreExecutors; -import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; -import com.google.protobuf.Empty; -import java.io.IOException; -import java.util.List; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Service Description: Policy-Based Routing allows GCP customers to specify flexibile routing - * policies for Layer 4 traffic traversing through the connected service. - * - *

      This class provides the ability to make remote calls to the backing service through method - * calls that map to API methods. Sample code to get started: - * - *

      {@code
      - * // This snippet has been automatically generated and should be regarded as a code template only.
      - * // It will require modifications to work:
      - * // - It may require correct/in-range values for request initialization.
      - * // - It may require specifying regional endpoints when creating the service client as shown in
      - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      - * try (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      - *     PolicyBasedRoutingServiceClient.create()) {
      - *   PolicyBasedRouteName name =
      - *       PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]");
      - *   PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(name);
      - * }
      - * }
      - * - *

      Note: close() needs to be called on the PolicyBasedRoutingServiceClient object to clean up - * resources such as threads. In the example above, try-with-resources is used, which automatically - * calls close(). - * - *

      The surface of this class includes several types of Java methods for each of the API's - * methods: - * - *

        - *
      1. A "flattened" method. With this type of method, the fields of the request type have been - * converted into function parameters. It may be the case that not all fields are available as - * parameters, and not every API method will have a flattened method entry point. - *
      2. A "request object" method. This type of method only takes one parameter, a request object, - * which must be constructed before the call. Not every API method will have a request object - * method. - *
      3. A "callable" method. This type of method takes no parameters and returns an immutable API - * callable object, which can be used to initiate calls to the service. - *
      - * - *

      See the individual methods for example code. - * - *

      Many parameters require resource names to be formatted in a particular way. To assist with - * these names, this class includes a format method for each type of name, and additionally a parse - * method to extract the individual identifiers contained within names that are returned. - * - *

      This class can be customized by passing in a custom instance of - * PolicyBasedRoutingServiceSettings to create(). For example: - * - *

      To customize credentials: - * - *

      {@code
      - * // This snippet has been automatically generated and should be regarded as a code template only.
      - * // It will require modifications to work:
      - * // - It may require correct/in-range values for request initialization.
      - * // - It may require specifying regional endpoints when creating the service client as shown in
      - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      - * PolicyBasedRoutingServiceSettings policyBasedRoutingServiceSettings =
      - *     PolicyBasedRoutingServiceSettings.newBuilder()
      - *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
      - *         .build();
      - * PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      - *     PolicyBasedRoutingServiceClient.create(policyBasedRoutingServiceSettings);
      - * }
      - * - *

      To customize the endpoint: - * - *

      {@code
      - * // This snippet has been automatically generated and should be regarded as a code template only.
      - * // It will require modifications to work:
      - * // - It may require correct/in-range values for request initialization.
      - * // - It may require specifying regional endpoints when creating the service client as shown in
      - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      - * PolicyBasedRoutingServiceSettings policyBasedRoutingServiceSettings =
      - *     PolicyBasedRoutingServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
      - * PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      - *     PolicyBasedRoutingServiceClient.create(policyBasedRoutingServiceSettings);
      - * }
      - * - *

      Please refer to the GitHub repository's samples for more quickstart code snippets. - */ -@Generated("by gapic-generator-java") -public class PolicyBasedRoutingServiceClient implements BackgroundResource { - private final PolicyBasedRoutingServiceSettings settings; - private final PolicyBasedRoutingServiceStub stub; - private final OperationsClient operationsClient; - - /** Constructs an instance of PolicyBasedRoutingServiceClient with default settings. */ - public static final PolicyBasedRoutingServiceClient create() throws IOException { - return create(PolicyBasedRoutingServiceSettings.newBuilder().build()); - } - - /** - * Constructs an instance of PolicyBasedRoutingServiceClient, using the given settings. The - * channels are created based on the settings passed in, or defaults for any settings that are not - * set. - */ - public static final PolicyBasedRoutingServiceClient create( - PolicyBasedRoutingServiceSettings settings) throws IOException { - return new PolicyBasedRoutingServiceClient(settings); - } - - /** - * Constructs an instance of PolicyBasedRoutingServiceClient, using the given stub for making - * calls. This is for advanced usage - prefer using create(PolicyBasedRoutingServiceSettings). - */ - public static final PolicyBasedRoutingServiceClient create(PolicyBasedRoutingServiceStub stub) { - return new PolicyBasedRoutingServiceClient(stub); - } - - /** - * Constructs an instance of PolicyBasedRoutingServiceClient, using the given settings. This is - * protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected PolicyBasedRoutingServiceClient(PolicyBasedRoutingServiceSettings settings) - throws IOException { - this.settings = settings; - this.stub = ((PolicyBasedRoutingServiceStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); - } - - protected PolicyBasedRoutingServiceClient(PolicyBasedRoutingServiceStub stub) { - this.settings = null; - this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); - } - - public final PolicyBasedRoutingServiceSettings getSettings() { - return settings; - } - - public PolicyBasedRoutingServiceStub getStub() { - return stub; - } - - /** - * Returns the OperationsClient that can be used to query the status of a long-running operation - * returned by another API method call. - */ - public final OperationsClient getOperationsClient() { - return operationsClient; - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists PolicyBasedRoutes in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
      -   *   for (PolicyBasedRoute element :
      -   *       policyBasedRoutingServiceClient.listPolicyBasedRoutes(parent).iterateAll()) {
      -   *     // doThingsWith(element);
      -   *   }
      -   * }
      -   * }
      - * - * @param parent Required. The parent resource's name. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListPolicyBasedRoutesPagedResponse listPolicyBasedRoutes(LocationName parent) { - ListPolicyBasedRoutesRequest request = - ListPolicyBasedRoutesRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .build(); - return listPolicyBasedRoutes(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists PolicyBasedRoutes in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
      -   *   for (PolicyBasedRoute element :
      -   *       policyBasedRoutingServiceClient.listPolicyBasedRoutes(parent).iterateAll()) {
      -   *     // doThingsWith(element);
      -   *   }
      -   * }
      -   * }
      - * - * @param parent Required. The parent resource's name. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListPolicyBasedRoutesPagedResponse listPolicyBasedRoutes(String parent) { - ListPolicyBasedRoutesRequest request = - ListPolicyBasedRoutesRequest.newBuilder().setParent(parent).build(); - return listPolicyBasedRoutes(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists PolicyBasedRoutes in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   ListPolicyBasedRoutesRequest request =
      -   *       ListPolicyBasedRoutesRequest.newBuilder()
      -   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
      -   *           .setPageSize(883849137)
      -   *           .setPageToken("pageToken873572522")
      -   *           .setFilter("filter-1274492040")
      -   *           .setOrderBy("orderBy-1207110587")
      -   *           .build();
      -   *   for (PolicyBasedRoute element :
      -   *       policyBasedRoutingServiceClient.listPolicyBasedRoutes(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 ListPolicyBasedRoutesPagedResponse listPolicyBasedRoutes( - ListPolicyBasedRoutesRequest request) { - return listPolicyBasedRoutesPagedCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists PolicyBasedRoutes in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   ListPolicyBasedRoutesRequest request =
      -   *       ListPolicyBasedRoutesRequest.newBuilder()
      -   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
      -   *           .setPageSize(883849137)
      -   *           .setPageToken("pageToken873572522")
      -   *           .setFilter("filter-1274492040")
      -   *           .setOrderBy("orderBy-1207110587")
      -   *           .build();
      -   *   ApiFuture future =
      -   *       policyBasedRoutingServiceClient.listPolicyBasedRoutesPagedCallable().futureCall(request);
      -   *   // Do something.
      -   *   for (PolicyBasedRoute element : future.get().iterateAll()) {
      -   *     // doThingsWith(element);
      -   *   }
      -   * }
      -   * }
      - */ - public final UnaryCallable - listPolicyBasedRoutesPagedCallable() { - return stub.listPolicyBasedRoutesPagedCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists PolicyBasedRoutes in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   ListPolicyBasedRoutesRequest request =
      -   *       ListPolicyBasedRoutesRequest.newBuilder()
      -   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
      -   *           .setPageSize(883849137)
      -   *           .setPageToken("pageToken873572522")
      -   *           .setFilter("filter-1274492040")
      -   *           .setOrderBy("orderBy-1207110587")
      -   *           .build();
      -   *   while (true) {
      -   *     ListPolicyBasedRoutesResponse response =
      -   *         policyBasedRoutingServiceClient.listPolicyBasedRoutesCallable().call(request);
      -   *     for (PolicyBasedRoute element : response.getPolicyBasedRoutesList()) {
      -   *       // doThingsWith(element);
      -   *     }
      -   *     String nextPageToken = response.getNextPageToken();
      -   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
      -   *       request = request.toBuilder().setPageToken(nextPageToken).build();
      -   *     } else {
      -   *       break;
      -   *     }
      -   *   }
      -   * }
      -   * }
      - */ - public final UnaryCallable - listPolicyBasedRoutesCallable() { - return stub.listPolicyBasedRoutesCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets details of a single PolicyBasedRoute. - * - *

      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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   PolicyBasedRouteName name =
      -   *       PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]");
      -   *   PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(name);
      -   * }
      -   * }
      - * - * @param name Required. Name of the PolicyBasedRoute resource to get. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final PolicyBasedRoute getPolicyBasedRoute(PolicyBasedRouteName name) { - GetPolicyBasedRouteRequest request = - GetPolicyBasedRouteRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .build(); - return getPolicyBasedRoute(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets details of a single PolicyBasedRoute. - * - *

      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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   String name =
      -   *       PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]").toString();
      -   *   PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(name);
      -   * }
      -   * }
      - * - * @param name Required. Name of the PolicyBasedRoute resource to get. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final PolicyBasedRoute getPolicyBasedRoute(String name) { - GetPolicyBasedRouteRequest request = - GetPolicyBasedRouteRequest.newBuilder().setName(name).build(); - return getPolicyBasedRoute(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets details of a single PolicyBasedRoute. - * - *

      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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   GetPolicyBasedRouteRequest request =
      -   *       GetPolicyBasedRouteRequest.newBuilder()
      -   *           .setName(
      -   *               PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]")
      -   *                   .toString())
      -   *           .build();
      -   *   PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(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 PolicyBasedRoute getPolicyBasedRoute(GetPolicyBasedRouteRequest request) { - return getPolicyBasedRouteCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets details of a single PolicyBasedRoute. - * - *

      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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   GetPolicyBasedRouteRequest request =
      -   *       GetPolicyBasedRouteRequest.newBuilder()
      -   *           .setName(
      -   *               PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]")
      -   *                   .toString())
      -   *           .build();
      -   *   ApiFuture future =
      -   *       policyBasedRoutingServiceClient.getPolicyBasedRouteCallable().futureCall(request);
      -   *   // Do something.
      -   *   PolicyBasedRoute response = future.get();
      -   * }
      -   * }
      - */ - public final UnaryCallable - getPolicyBasedRouteCallable() { - return stub.getPolicyBasedRouteCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new PolicyBasedRoute in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
      -   *   PolicyBasedRoute policyBasedRoute = PolicyBasedRoute.newBuilder().build();
      -   *   String policyBasedRouteId = "policyBasedRouteId-18034589";
      -   *   PolicyBasedRoute response =
      -   *       policyBasedRoutingServiceClient
      -   *           .createPolicyBasedRouteAsync(parent, policyBasedRoute, policyBasedRouteId)
      -   *           .get();
      -   * }
      -   * }
      - * - * @param parent Required. The parent resource's name of the PolicyBasedRoute. - * @param policyBasedRoute Required. Initial values for a new Policy Based Route. - * @param policyBasedRouteId Optional. Unique id for the Policy Based Route to create. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture createPolicyBasedRouteAsync( - LocationName parent, PolicyBasedRoute policyBasedRoute, String policyBasedRouteId) { - CreatePolicyBasedRouteRequest request = - CreatePolicyBasedRouteRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .setPolicyBasedRoute(policyBasedRoute) - .setPolicyBasedRouteId(policyBasedRouteId) - .build(); - return createPolicyBasedRouteAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new PolicyBasedRoute in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
      -   *   PolicyBasedRoute policyBasedRoute = PolicyBasedRoute.newBuilder().build();
      -   *   String policyBasedRouteId = "policyBasedRouteId-18034589";
      -   *   PolicyBasedRoute response =
      -   *       policyBasedRoutingServiceClient
      -   *           .createPolicyBasedRouteAsync(parent, policyBasedRoute, policyBasedRouteId)
      -   *           .get();
      -   * }
      -   * }
      - * - * @param parent Required. The parent resource's name of the PolicyBasedRoute. - * @param policyBasedRoute Required. Initial values for a new Policy Based Route. - * @param policyBasedRouteId Optional. Unique id for the Policy Based Route to create. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture createPolicyBasedRouteAsync( - String parent, PolicyBasedRoute policyBasedRoute, String policyBasedRouteId) { - CreatePolicyBasedRouteRequest request = - CreatePolicyBasedRouteRequest.newBuilder() - .setParent(parent) - .setPolicyBasedRoute(policyBasedRoute) - .setPolicyBasedRouteId(policyBasedRouteId) - .build(); - return createPolicyBasedRouteAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new PolicyBasedRoute in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   CreatePolicyBasedRouteRequest request =
      -   *       CreatePolicyBasedRouteRequest.newBuilder()
      -   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
      -   *           .setPolicyBasedRouteId("policyBasedRouteId-18034589")
      -   *           .setPolicyBasedRoute(PolicyBasedRoute.newBuilder().build())
      -   *           .setRequestId("requestId693933066")
      -   *           .build();
      -   *   PolicyBasedRoute response =
      -   *       policyBasedRoutingServiceClient.createPolicyBasedRouteAsync(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 createPolicyBasedRouteAsync( - CreatePolicyBasedRouteRequest request) { - return createPolicyBasedRouteOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new PolicyBasedRoute in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   CreatePolicyBasedRouteRequest request =
      -   *       CreatePolicyBasedRouteRequest.newBuilder()
      -   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
      -   *           .setPolicyBasedRouteId("policyBasedRouteId-18034589")
      -   *           .setPolicyBasedRoute(PolicyBasedRoute.newBuilder().build())
      -   *           .setRequestId("requestId693933066")
      -   *           .build();
      -   *   OperationFuture future =
      -   *       policyBasedRoutingServiceClient
      -   *           .createPolicyBasedRouteOperationCallable()
      -   *           .futureCall(request);
      -   *   // Do something.
      -   *   PolicyBasedRoute response = future.get();
      -   * }
      -   * }
      - */ - public final OperationCallable - createPolicyBasedRouteOperationCallable() { - return stub.createPolicyBasedRouteOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new PolicyBasedRoute in 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   CreatePolicyBasedRouteRequest request =
      -   *       CreatePolicyBasedRouteRequest.newBuilder()
      -   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
      -   *           .setPolicyBasedRouteId("policyBasedRouteId-18034589")
      -   *           .setPolicyBasedRoute(PolicyBasedRoute.newBuilder().build())
      -   *           .setRequestId("requestId693933066")
      -   *           .build();
      -   *   ApiFuture future =
      -   *       policyBasedRoutingServiceClient.createPolicyBasedRouteCallable().futureCall(request);
      -   *   // Do something.
      -   *   Operation response = future.get();
      -   * }
      -   * }
      - */ - public final UnaryCallable - createPolicyBasedRouteCallable() { - return stub.createPolicyBasedRouteCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a single PolicyBasedRoute. - * - *

      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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   PolicyBasedRouteName name =
      -   *       PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]");
      -   *   policyBasedRoutingServiceClient.deletePolicyBasedRouteAsync(name).get();
      -   * }
      -   * }
      - * - * @param name Required. Name of the PolicyBasedRoute resource to delete. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture deletePolicyBasedRouteAsync( - PolicyBasedRouteName name) { - DeletePolicyBasedRouteRequest request = - DeletePolicyBasedRouteRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .build(); - return deletePolicyBasedRouteAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a single PolicyBasedRoute. - * - *

      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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   String name =
      -   *       PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]").toString();
      -   *   policyBasedRoutingServiceClient.deletePolicyBasedRouteAsync(name).get();
      -   * }
      -   * }
      - * - * @param name Required. Name of the PolicyBasedRoute resource to delete. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture deletePolicyBasedRouteAsync(String name) { - DeletePolicyBasedRouteRequest request = - DeletePolicyBasedRouteRequest.newBuilder().setName(name).build(); - return deletePolicyBasedRouteAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a single PolicyBasedRoute. - * - *

      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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   DeletePolicyBasedRouteRequest request =
      -   *       DeletePolicyBasedRouteRequest.newBuilder()
      -   *           .setName(
      -   *               PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]")
      -   *                   .toString())
      -   *           .setRequestId("requestId693933066")
      -   *           .build();
      -   *   policyBasedRoutingServiceClient.deletePolicyBasedRouteAsync(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 deletePolicyBasedRouteAsync( - DeletePolicyBasedRouteRequest request) { - return deletePolicyBasedRouteOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a single PolicyBasedRoute. - * - *

      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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   DeletePolicyBasedRouteRequest request =
      -   *       DeletePolicyBasedRouteRequest.newBuilder()
      -   *           .setName(
      -   *               PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]")
      -   *                   .toString())
      -   *           .setRequestId("requestId693933066")
      -   *           .build();
      -   *   OperationFuture future =
      -   *       policyBasedRoutingServiceClient
      -   *           .deletePolicyBasedRouteOperationCallable()
      -   *           .futureCall(request);
      -   *   // Do something.
      -   *   future.get();
      -   * }
      -   * }
      - */ - public final OperationCallable - deletePolicyBasedRouteOperationCallable() { - return stub.deletePolicyBasedRouteOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a single PolicyBasedRoute. - * - *

      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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      -   *     PolicyBasedRoutingServiceClient.create()) {
      -   *   DeletePolicyBasedRouteRequest request =
      -   *       DeletePolicyBasedRouteRequest.newBuilder()
      -   *           .setName(
      -   *               PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]")
      -   *                   .toString())
      -   *           .setRequestId("requestId693933066")
      -   *           .build();
      -   *   ApiFuture future =
      -   *       policyBasedRoutingServiceClient.deletePolicyBasedRouteCallable().futureCall(request);
      -   *   // Do something.
      -   *   future.get();
      -   * }
      -   * }
      - */ - public final UnaryCallable - deletePolicyBasedRouteCallable() { - return stub.deletePolicyBasedRouteCallable(); - } - - @Override - public final void close() { - stub.close(); - } - - @Override - public void shutdown() { - stub.shutdown(); - } - - @Override - public boolean isShutdown() { - return stub.isShutdown(); - } - - @Override - public boolean isTerminated() { - return stub.isTerminated(); - } - - @Override - public void shutdownNow() { - stub.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return stub.awaitTermination(duration, unit); - } - - public static class ListPolicyBasedRoutesPagedResponse - extends AbstractPagedListResponse< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - PolicyBasedRoute, - ListPolicyBasedRoutesPage, - ListPolicyBasedRoutesFixedSizeCollection> { - - public static ApiFuture createAsync( - PageContext - context, - ApiFuture futureResponse) { - ApiFuture futurePage = - ListPolicyBasedRoutesPage.createEmptyPage().createPageAsync(context, futureResponse); - return ApiFutures.transform( - futurePage, - input -> new ListPolicyBasedRoutesPagedResponse(input), - MoreExecutors.directExecutor()); - } - - private ListPolicyBasedRoutesPagedResponse(ListPolicyBasedRoutesPage page) { - super(page, ListPolicyBasedRoutesFixedSizeCollection.createEmptyCollection()); - } - } - - public static class ListPolicyBasedRoutesPage - extends AbstractPage< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - PolicyBasedRoute, - ListPolicyBasedRoutesPage> { - - private ListPolicyBasedRoutesPage( - PageContext - context, - ListPolicyBasedRoutesResponse response) { - super(context, response); - } - - private static ListPolicyBasedRoutesPage createEmptyPage() { - return new ListPolicyBasedRoutesPage(null, null); - } - - @Override - protected ListPolicyBasedRoutesPage createPage( - PageContext - context, - ListPolicyBasedRoutesResponse response) { - return new ListPolicyBasedRoutesPage(context, response); - } - - @Override - public ApiFuture createPageAsync( - PageContext - context, - ApiFuture futureResponse) { - return super.createPageAsync(context, futureResponse); - } - } - - public static class ListPolicyBasedRoutesFixedSizeCollection - extends AbstractFixedSizeCollection< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - PolicyBasedRoute, - ListPolicyBasedRoutesPage, - ListPolicyBasedRoutesFixedSizeCollection> { - - private ListPolicyBasedRoutesFixedSizeCollection( - List pages, int collectionSize) { - super(pages, collectionSize); - } - - private static ListPolicyBasedRoutesFixedSizeCollection createEmptyCollection() { - return new ListPolicyBasedRoutesFixedSizeCollection(null, 0); - } - - @Override - protected ListPolicyBasedRoutesFixedSizeCollection createCollection( - List pages, int collectionSize) { - return new ListPolicyBasedRoutesFixedSizeCollection(pages, collectionSize); - } - } -} diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceSettings.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceSettings.java deleted file mode 100644 index b88372c68322..000000000000 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceSettings.java +++ /dev/null @@ -1,271 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1; - -import static com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient.ListPolicyBasedRoutesPagedResponse; - -import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.cloud.networkconnectivity.v1.stub.PolicyBasedRoutingServiceStubSettings; -import com.google.longrunning.Operation; -import com.google.protobuf.Empty; -import java.io.IOException; -import java.util.List; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link PolicyBasedRoutingServiceClient}. - * - *

      The default instance has everything set to sensible defaults: - * - *

        - *
      • The default service address (networkconnectivity.googleapis.com) and default port (443) are - * used. - *
      • Credentials are acquired automatically through Application Default Credentials. - *
      • Retries are configured for idempotent methods but not for non-idempotent methods. - *
      - * - *

      The builder of this class is recursive, so contained classes are themselves builders. When - * build() is called, the tree of builders is called to create the complete settings object. - * - *

      For example, to set the total timeout of getPolicyBasedRoute to 30 seconds: - * - *

      {@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
      - * PolicyBasedRoutingServiceSettings.Builder policyBasedRoutingServiceSettingsBuilder =
      - *     PolicyBasedRoutingServiceSettings.newBuilder();
      - * policyBasedRoutingServiceSettingsBuilder
      - *     .getPolicyBasedRouteSettings()
      - *     .setRetrySettings(
      - *         policyBasedRoutingServiceSettingsBuilder
      - *             .getPolicyBasedRouteSettings()
      - *             .getRetrySettings()
      - *             .toBuilder()
      - *             .setTotalTimeout(Duration.ofSeconds(30))
      - *             .build());
      - * PolicyBasedRoutingServiceSettings policyBasedRoutingServiceSettings =
      - *     policyBasedRoutingServiceSettingsBuilder.build();
      - * }
      - */ -@Generated("by gapic-generator-java") -public class PolicyBasedRoutingServiceSettings - extends ClientSettings { - - /** Returns the object with the settings used for calls to listPolicyBasedRoutes. */ - public PagedCallSettings< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - ListPolicyBasedRoutesPagedResponse> - listPolicyBasedRoutesSettings() { - return ((PolicyBasedRoutingServiceStubSettings) getStubSettings()) - .listPolicyBasedRoutesSettings(); - } - - /** Returns the object with the settings used for calls to getPolicyBasedRoute. */ - public UnaryCallSettings - getPolicyBasedRouteSettings() { - return ((PolicyBasedRoutingServiceStubSettings) getStubSettings()) - .getPolicyBasedRouteSettings(); - } - - /** Returns the object with the settings used for calls to createPolicyBasedRoute. */ - public UnaryCallSettings - createPolicyBasedRouteSettings() { - return ((PolicyBasedRoutingServiceStubSettings) getStubSettings()) - .createPolicyBasedRouteSettings(); - } - - /** Returns the object with the settings used for calls to createPolicyBasedRoute. */ - public OperationCallSettings - createPolicyBasedRouteOperationSettings() { - return ((PolicyBasedRoutingServiceStubSettings) getStubSettings()) - .createPolicyBasedRouteOperationSettings(); - } - - /** Returns the object with the settings used for calls to deletePolicyBasedRoute. */ - public UnaryCallSettings - deletePolicyBasedRouteSettings() { - return ((PolicyBasedRoutingServiceStubSettings) getStubSettings()) - .deletePolicyBasedRouteSettings(); - } - - /** Returns the object with the settings used for calls to deletePolicyBasedRoute. */ - public OperationCallSettings - deletePolicyBasedRouteOperationSettings() { - return ((PolicyBasedRoutingServiceStubSettings) getStubSettings()) - .deletePolicyBasedRouteOperationSettings(); - } - - public static final PolicyBasedRoutingServiceSettings create( - PolicyBasedRoutingServiceStubSettings stub) throws IOException { - return new PolicyBasedRoutingServiceSettings.Builder(stub.toBuilder()).build(); - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return PolicyBasedRoutingServiceStubSettings.defaultExecutorProviderBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return PolicyBasedRoutingServiceStubSettings.getDefaultEndpoint(); - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return PolicyBasedRoutingServiceStubSettings.getDefaultServiceScopes(); - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return PolicyBasedRoutingServiceStubSettings.defaultCredentialsProviderBuilder(); - } - - /** Returns a builder for the default ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return PolicyBasedRoutingServiceStubSettings.defaultGrpcTransportProviderBuilder(); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return PolicyBasedRoutingServiceStubSettings.defaultTransportChannelProvider(); - } - - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return PolicyBasedRoutingServiceStubSettings.defaultApiClientHeaderProviderBuilder(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected PolicyBasedRoutingServiceSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - } - - /** Builder for PolicyBasedRoutingServiceSettings. */ - public static class Builder - extends ClientSettings.Builder { - - protected Builder() throws IOException { - this(((ClientContext) null)); - } - - protected Builder(ClientContext clientContext) { - super(PolicyBasedRoutingServiceStubSettings.newBuilder(clientContext)); - } - - protected Builder(PolicyBasedRoutingServiceSettings settings) { - super(settings.getStubSettings().toBuilder()); - } - - protected Builder(PolicyBasedRoutingServiceStubSettings.Builder stubSettings) { - super(stubSettings); - } - - private static Builder createDefault() { - return new Builder(PolicyBasedRoutingServiceStubSettings.newBuilder()); - } - - public PolicyBasedRoutingServiceStubSettings.Builder getStubSettingsBuilder() { - return ((PolicyBasedRoutingServiceStubSettings.Builder) getStubSettings()); - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

      Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods( - getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); - return this; - } - - /** Returns the builder for the settings used for calls to listPolicyBasedRoutes. */ - public PagedCallSettings.Builder< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - ListPolicyBasedRoutesPagedResponse> - listPolicyBasedRoutesSettings() { - return getStubSettingsBuilder().listPolicyBasedRoutesSettings(); - } - - /** Returns the builder for the settings used for calls to getPolicyBasedRoute. */ - public UnaryCallSettings.Builder - getPolicyBasedRouteSettings() { - return getStubSettingsBuilder().getPolicyBasedRouteSettings(); - } - - /** Returns the builder for the settings used for calls to createPolicyBasedRoute. */ - public UnaryCallSettings.Builder - createPolicyBasedRouteSettings() { - return getStubSettingsBuilder().createPolicyBasedRouteSettings(); - } - - /** Returns the builder for the settings used for calls to createPolicyBasedRoute. */ - public OperationCallSettings.Builder< - CreatePolicyBasedRouteRequest, PolicyBasedRoute, OperationMetadata> - createPolicyBasedRouteOperationSettings() { - return getStubSettingsBuilder().createPolicyBasedRouteOperationSettings(); - } - - /** Returns the builder for the settings used for calls to deletePolicyBasedRoute. */ - public UnaryCallSettings.Builder - deletePolicyBasedRouteSettings() { - return getStubSettingsBuilder().deletePolicyBasedRouteSettings(); - } - - /** Returns the builder for the settings used for calls to deletePolicyBasedRoute. */ - public OperationCallSettings.Builder - deletePolicyBasedRouteOperationSettings() { - return getStubSettingsBuilder().deletePolicyBasedRouteOperationSettings(); - } - - @Override - public PolicyBasedRoutingServiceSettings build() throws IOException { - return new PolicyBasedRoutingServiceSettings(this); - } - } -} diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/gapic_metadata.json b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/gapic_metadata.json index c2a68318d1b1..466ca6374aa6 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/gapic_metadata.json +++ b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/gapic_metadata.json @@ -43,27 +43,6 @@ } } } - }, - "PolicyBasedRoutingService": { - "clients": { - "grpc": { - "libraryClient": "PolicyBasedRoutingServiceClient", - "rpcs": { - "CreatePolicyBasedRoute": { - "methods": ["createPolicyBasedRouteAsync", "createPolicyBasedRouteAsync", "createPolicyBasedRouteAsync", "createPolicyBasedRouteOperationCallable", "createPolicyBasedRouteCallable"] - }, - "DeletePolicyBasedRoute": { - "methods": ["deletePolicyBasedRouteAsync", "deletePolicyBasedRouteAsync", "deletePolicyBasedRouteAsync", "deletePolicyBasedRouteOperationCallable", "deletePolicyBasedRouteCallable"] - }, - "GetPolicyBasedRoute": { - "methods": ["getPolicyBasedRoute", "getPolicyBasedRoute", "getPolicyBasedRoute", "getPolicyBasedRouteCallable"] - }, - "ListPolicyBasedRoutes": { - "methods": ["listPolicyBasedRoutes", "listPolicyBasedRoutes", "listPolicyBasedRoutes", "listPolicyBasedRoutesPagedCallable", "listPolicyBasedRoutesCallable"] - } - } - } - } } } } \ No newline at end of file diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/package-info.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/package-info.java index daeb8017fa34..0aa0afcf4e1a 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/package-info.java +++ b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/package-info.java @@ -38,27 +38,6 @@ * Hub response = hubServiceClient.getHub(name); * } * }

      - * - *

      ======================= PolicyBasedRoutingServiceClient ======================= - * - *

      Service Description: Policy-Based Routing allows GCP customers to specify flexibile routing - * policies for Layer 4 traffic traversing through the connected service. - * - *

      Sample for PolicyBasedRoutingServiceClient: - * - *

      {@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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
      - *     PolicyBasedRoutingServiceClient.create()) {
      - *   PolicyBasedRouteName name =
      - *       PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]");
      - *   PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(name);
      - * }
      - * }
      */ @Generated("by gapic-generator-java") package com.google.cloud.networkconnectivity.v1; diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/GrpcPolicyBasedRoutingServiceStub.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/GrpcPolicyBasedRoutingServiceStub.java deleted file mode 100644 index db36eab6cc86..000000000000 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/GrpcPolicyBasedRoutingServiceStub.java +++ /dev/null @@ -1,325 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1.stub; - -import static com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient.ListPolicyBasedRoutesPagedResponse; - -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.grpc.GrpcCallSettings; -import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest; -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse; -import com.google.cloud.networkconnectivity.v1.OperationMetadata; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.common.collect.ImmutableMap; -import com.google.longrunning.Operation; -import com.google.longrunning.stub.GrpcOperationsStub; -import com.google.protobuf.Empty; -import io.grpc.MethodDescriptor; -import io.grpc.protobuf.ProtoUtils; -import java.io.IOException; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC stub implementation for the PolicyBasedRoutingService service API. - * - *

      This class is for advanced usage and reflects the underlying API directly. - */ -@Generated("by gapic-generator-java") -public class GrpcPolicyBasedRoutingServiceStub extends PolicyBasedRoutingServiceStub { - private static final MethodDescriptor - listPolicyBasedRoutesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService/ListPolicyBasedRoutes") - .setRequestMarshaller( - ProtoUtils.marshaller(ListPolicyBasedRoutesRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(ListPolicyBasedRoutesResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - getPolicyBasedRouteMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService/GetPolicyBasedRoute") - .setRequestMarshaller( - ProtoUtils.marshaller(GetPolicyBasedRouteRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(PolicyBasedRoute.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - createPolicyBasedRouteMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService/CreatePolicyBasedRoute") - .setRequestMarshaller( - ProtoUtils.marshaller(CreatePolicyBasedRouteRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - deletePolicyBasedRouteMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService/DeletePolicyBasedRoute") - .setRequestMarshaller( - ProtoUtils.marshaller(DeletePolicyBasedRouteRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private final UnaryCallable - listPolicyBasedRoutesCallable; - private final UnaryCallable - listPolicyBasedRoutesPagedCallable; - private final UnaryCallable - getPolicyBasedRouteCallable; - private final UnaryCallable - createPolicyBasedRouteCallable; - private final OperationCallable< - CreatePolicyBasedRouteRequest, PolicyBasedRoute, OperationMetadata> - createPolicyBasedRouteOperationCallable; - private final UnaryCallable - deletePolicyBasedRouteCallable; - private final OperationCallable - deletePolicyBasedRouteOperationCallable; - - private final BackgroundResource backgroundResources; - private final GrpcOperationsStub operationsStub; - private final GrpcStubCallableFactory callableFactory; - - public static final GrpcPolicyBasedRoutingServiceStub create( - PolicyBasedRoutingServiceStubSettings settings) throws IOException { - return new GrpcPolicyBasedRoutingServiceStub(settings, ClientContext.create(settings)); - } - - public static final GrpcPolicyBasedRoutingServiceStub create(ClientContext clientContext) - throws IOException { - return new GrpcPolicyBasedRoutingServiceStub( - PolicyBasedRoutingServiceStubSettings.newBuilder().build(), clientContext); - } - - public static final GrpcPolicyBasedRoutingServiceStub create( - ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { - return new GrpcPolicyBasedRoutingServiceStub( - PolicyBasedRoutingServiceStubSettings.newBuilder().build(), clientContext, callableFactory); - } - - /** - * Constructs an instance of GrpcPolicyBasedRoutingServiceStub, using the given settings. This is - * protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected GrpcPolicyBasedRoutingServiceStub( - PolicyBasedRoutingServiceStubSettings settings, ClientContext clientContext) - throws IOException { - this(settings, clientContext, new GrpcPolicyBasedRoutingServiceCallableFactory()); - } - - /** - * Constructs an instance of GrpcPolicyBasedRoutingServiceStub, using the given settings. This is - * protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected GrpcPolicyBasedRoutingServiceStub( - PolicyBasedRoutingServiceStubSettings settings, - ClientContext clientContext, - GrpcStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); - - GrpcCallSettings - listPolicyBasedRoutesTransportSettings = - GrpcCallSettings - .newBuilder() - .setMethodDescriptor(listPolicyBasedRoutesMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings - getPolicyBasedRouteTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getPolicyBasedRouteMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings - createPolicyBasedRouteTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(createPolicyBasedRouteMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings - deletePolicyBasedRouteTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deletePolicyBasedRouteMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - - this.listPolicyBasedRoutesCallable = - callableFactory.createUnaryCallable( - listPolicyBasedRoutesTransportSettings, - settings.listPolicyBasedRoutesSettings(), - clientContext); - this.listPolicyBasedRoutesPagedCallable = - callableFactory.createPagedCallable( - listPolicyBasedRoutesTransportSettings, - settings.listPolicyBasedRoutesSettings(), - clientContext); - this.getPolicyBasedRouteCallable = - callableFactory.createUnaryCallable( - getPolicyBasedRouteTransportSettings, - settings.getPolicyBasedRouteSettings(), - clientContext); - this.createPolicyBasedRouteCallable = - callableFactory.createUnaryCallable( - createPolicyBasedRouteTransportSettings, - settings.createPolicyBasedRouteSettings(), - clientContext); - this.createPolicyBasedRouteOperationCallable = - callableFactory.createOperationCallable( - createPolicyBasedRouteTransportSettings, - settings.createPolicyBasedRouteOperationSettings(), - clientContext, - operationsStub); - this.deletePolicyBasedRouteCallable = - callableFactory.createUnaryCallable( - deletePolicyBasedRouteTransportSettings, - settings.deletePolicyBasedRouteSettings(), - clientContext); - this.deletePolicyBasedRouteOperationCallable = - callableFactory.createOperationCallable( - deletePolicyBasedRouteTransportSettings, - settings.deletePolicyBasedRouteOperationSettings(), - clientContext, - operationsStub); - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - public GrpcOperationsStub getOperationsStub() { - return operationsStub; - } - - @Override - public UnaryCallable - listPolicyBasedRoutesCallable() { - return listPolicyBasedRoutesCallable; - } - - @Override - public UnaryCallable - listPolicyBasedRoutesPagedCallable() { - return listPolicyBasedRoutesPagedCallable; - } - - @Override - public UnaryCallable getPolicyBasedRouteCallable() { - return getPolicyBasedRouteCallable; - } - - @Override - public UnaryCallable createPolicyBasedRouteCallable() { - return createPolicyBasedRouteCallable; - } - - @Override - public OperationCallable - createPolicyBasedRouteOperationCallable() { - return createPolicyBasedRouteOperationCallable; - } - - @Override - public UnaryCallable deletePolicyBasedRouteCallable() { - return deletePolicyBasedRouteCallable; - } - - @Override - public OperationCallable - deletePolicyBasedRouteOperationCallable() { - return deletePolicyBasedRouteOperationCallable; - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/PolicyBasedRoutingServiceStub.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/PolicyBasedRoutingServiceStub.java deleted file mode 100644 index d1cb115a8e14..000000000000 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/PolicyBasedRoutingServiceStub.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1.stub; - -import static com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient.ListPolicyBasedRoutesPagedResponse; - -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest; -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse; -import com.google.cloud.networkconnectivity.v1.OperationMetadata; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.longrunning.Operation; -import com.google.longrunning.stub.OperationsStub; -import com.google.protobuf.Empty; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Base stub class for the PolicyBasedRoutingService service API. - * - *

      This class is for advanced usage and reflects the underlying API directly. - */ -@Generated("by gapic-generator-java") -public abstract class PolicyBasedRoutingServiceStub implements BackgroundResource { - - public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); - } - - public UnaryCallable - listPolicyBasedRoutesPagedCallable() { - throw new UnsupportedOperationException( - "Not implemented: listPolicyBasedRoutesPagedCallable()"); - } - - public UnaryCallable - listPolicyBasedRoutesCallable() { - throw new UnsupportedOperationException("Not implemented: listPolicyBasedRoutesCallable()"); - } - - public UnaryCallable getPolicyBasedRouteCallable() { - throw new UnsupportedOperationException("Not implemented: getPolicyBasedRouteCallable()"); - } - - public OperationCallable - createPolicyBasedRouteOperationCallable() { - throw new UnsupportedOperationException( - "Not implemented: createPolicyBasedRouteOperationCallable()"); - } - - public UnaryCallable createPolicyBasedRouteCallable() { - throw new UnsupportedOperationException("Not implemented: createPolicyBasedRouteCallable()"); - } - - public OperationCallable - deletePolicyBasedRouteOperationCallable() { - throw new UnsupportedOperationException( - "Not implemented: deletePolicyBasedRouteOperationCallable()"); - } - - public UnaryCallable deletePolicyBasedRouteCallable() { - throw new UnsupportedOperationException("Not implemented: deletePolicyBasedRouteCallable()"); - } - - @Override - public abstract void close(); -} diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/PolicyBasedRoutingServiceStubSettings.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/PolicyBasedRoutingServiceStubSettings.java deleted file mode 100644 index e113fcb8d78d..000000000000 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/PolicyBasedRoutingServiceStubSettings.java +++ /dev/null @@ -1,572 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1.stub; - -import static com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient.ListPolicyBasedRoutesPagedResponse; - -import com.google.api.core.ApiFunction; -import com.google.api.core.ApiFuture; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.GaxProperties; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.GrpcTransportChannel; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.grpc.ProtoOperationTransformers; -import com.google.api.gax.longrunning.OperationSnapshot; -import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; -import com.google.api.gax.retrying.RetrySettings; -import com.google.api.gax.rpc.ApiCallContext; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.PageContext; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.PagedListDescriptor; -import com.google.api.gax.rpc.PagedListResponseFactory; -import com.google.api.gax.rpc.StatusCode; -import com.google.api.gax.rpc.StubSettings; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest; -import com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse; -import com.google.cloud.networkconnectivity.v1.OperationMetadata; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSet; -import com.google.common.collect.Lists; -import com.google.longrunning.Operation; -import com.google.protobuf.Empty; -import java.io.IOException; -import java.util.List; -import javax.annotation.Generated; -import org.threeten.bp.Duration; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link PolicyBasedRoutingServiceStub}. - * - *

      The default instance has everything set to sensible defaults: - * - *

        - *
      • The default service address (networkconnectivity.googleapis.com) and default port (443) are - * used. - *
      • Credentials are acquired automatically through Application Default Credentials. - *
      • Retries are configured for idempotent methods but not for non-idempotent methods. - *
      - * - *

      The builder of this class is recursive, so contained classes are themselves builders. When - * build() is called, the tree of builders is called to create the complete settings object. - * - *

      For example, to set the total timeout of getPolicyBasedRoute to 30 seconds: - * - *

      {@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
      - * PolicyBasedRoutingServiceStubSettings.Builder policyBasedRoutingServiceSettingsBuilder =
      - *     PolicyBasedRoutingServiceStubSettings.newBuilder();
      - * policyBasedRoutingServiceSettingsBuilder
      - *     .getPolicyBasedRouteSettings()
      - *     .setRetrySettings(
      - *         policyBasedRoutingServiceSettingsBuilder
      - *             .getPolicyBasedRouteSettings()
      - *             .getRetrySettings()
      - *             .toBuilder()
      - *             .setTotalTimeout(Duration.ofSeconds(30))
      - *             .build());
      - * PolicyBasedRoutingServiceStubSettings policyBasedRoutingServiceSettings =
      - *     policyBasedRoutingServiceSettingsBuilder.build();
      - * }
      - */ -@Generated("by gapic-generator-java") -public class PolicyBasedRoutingServiceStubSettings - extends StubSettings { - /** The default scopes of the service. */ - private static final ImmutableList DEFAULT_SERVICE_SCOPES = - ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); - - private final PagedCallSettings< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - ListPolicyBasedRoutesPagedResponse> - listPolicyBasedRoutesSettings; - private final UnaryCallSettings - getPolicyBasedRouteSettings; - private final UnaryCallSettings - createPolicyBasedRouteSettings; - private final OperationCallSettings< - CreatePolicyBasedRouteRequest, PolicyBasedRoute, OperationMetadata> - createPolicyBasedRouteOperationSettings; - private final UnaryCallSettings - deletePolicyBasedRouteSettings; - private final OperationCallSettings - deletePolicyBasedRouteOperationSettings; - - private static final PagedListDescriptor< - ListPolicyBasedRoutesRequest, ListPolicyBasedRoutesResponse, PolicyBasedRoute> - LIST_POLICY_BASED_ROUTES_PAGE_STR_DESC = - new PagedListDescriptor< - ListPolicyBasedRoutesRequest, ListPolicyBasedRoutesResponse, PolicyBasedRoute>() { - @Override - public String emptyToken() { - return ""; - } - - @Override - public ListPolicyBasedRoutesRequest injectToken( - ListPolicyBasedRoutesRequest payload, String token) { - return ListPolicyBasedRoutesRequest.newBuilder(payload).setPageToken(token).build(); - } - - @Override - public ListPolicyBasedRoutesRequest injectPageSize( - ListPolicyBasedRoutesRequest payload, int pageSize) { - return ListPolicyBasedRoutesRequest.newBuilder(payload).setPageSize(pageSize).build(); - } - - @Override - public Integer extractPageSize(ListPolicyBasedRoutesRequest payload) { - return payload.getPageSize(); - } - - @Override - public String extractNextToken(ListPolicyBasedRoutesResponse payload) { - return payload.getNextPageToken(); - } - - @Override - public Iterable extractResources( - ListPolicyBasedRoutesResponse payload) { - return payload.getPolicyBasedRoutesList() == null - ? ImmutableList.of() - : payload.getPolicyBasedRoutesList(); - } - }; - - private static final PagedListResponseFactory< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - ListPolicyBasedRoutesPagedResponse> - LIST_POLICY_BASED_ROUTES_PAGE_STR_FACT = - new PagedListResponseFactory< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - ListPolicyBasedRoutesPagedResponse>() { - @Override - public ApiFuture getFuturePagedResponse( - UnaryCallable callable, - ListPolicyBasedRoutesRequest request, - ApiCallContext context, - ApiFuture futureResponse) { - PageContext< - ListPolicyBasedRoutesRequest, ListPolicyBasedRoutesResponse, PolicyBasedRoute> - pageContext = - PageContext.create( - callable, LIST_POLICY_BASED_ROUTES_PAGE_STR_DESC, request, context); - return ListPolicyBasedRoutesPagedResponse.createAsync(pageContext, futureResponse); - } - }; - - /** Returns the object with the settings used for calls to listPolicyBasedRoutes. */ - public PagedCallSettings< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - ListPolicyBasedRoutesPagedResponse> - listPolicyBasedRoutesSettings() { - return listPolicyBasedRoutesSettings; - } - - /** Returns the object with the settings used for calls to getPolicyBasedRoute. */ - public UnaryCallSettings - getPolicyBasedRouteSettings() { - return getPolicyBasedRouteSettings; - } - - /** Returns the object with the settings used for calls to createPolicyBasedRoute. */ - public UnaryCallSettings - createPolicyBasedRouteSettings() { - return createPolicyBasedRouteSettings; - } - - /** Returns the object with the settings used for calls to createPolicyBasedRoute. */ - public OperationCallSettings - createPolicyBasedRouteOperationSettings() { - return createPolicyBasedRouteOperationSettings; - } - - /** Returns the object with the settings used for calls to deletePolicyBasedRoute. */ - public UnaryCallSettings - deletePolicyBasedRouteSettings() { - return deletePolicyBasedRouteSettings; - } - - /** Returns the object with the settings used for calls to deletePolicyBasedRoute. */ - public OperationCallSettings - deletePolicyBasedRouteOperationSettings() { - return deletePolicyBasedRouteOperationSettings; - } - - public PolicyBasedRoutingServiceStub createStub() throws IOException { - if (getTransportChannelProvider() - .getTransportName() - .equals(GrpcTransportChannel.getGrpcTransportName())) { - return GrpcPolicyBasedRoutingServiceStub.create(this); - } - throw new UnsupportedOperationException( - String.format( - "Transport not supported: %s", getTransportChannelProvider().getTransportName())); - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return InstantiatingExecutorProvider.newBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return "networkconnectivity.googleapis.com:443"; - } - - /** Returns the default mTLS service endpoint. */ - public static String getDefaultMtlsEndpoint() { - return "networkconnectivity.mtls.googleapis.com:443"; - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return DEFAULT_SERVICE_SCOPES; - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return GoogleCredentialsProvider.newBuilder() - .setScopesToApply(DEFAULT_SERVICE_SCOPES) - .setUseJwtAccessWithScope(true); - } - - /** Returns a builder for the default ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return InstantiatingGrpcChannelProvider.newBuilder() - .setMaxInboundMessageSize(Integer.MAX_VALUE); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return defaultGrpcTransportProviderBuilder().build(); - } - - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", GaxProperties.getLibraryVersion(PolicyBasedRoutingServiceStubSettings.class)) - .setTransportToken( - GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected PolicyBasedRoutingServiceStubSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - - listPolicyBasedRoutesSettings = settingsBuilder.listPolicyBasedRoutesSettings().build(); - getPolicyBasedRouteSettings = settingsBuilder.getPolicyBasedRouteSettings().build(); - createPolicyBasedRouteSettings = settingsBuilder.createPolicyBasedRouteSettings().build(); - createPolicyBasedRouteOperationSettings = - settingsBuilder.createPolicyBasedRouteOperationSettings().build(); - deletePolicyBasedRouteSettings = settingsBuilder.deletePolicyBasedRouteSettings().build(); - deletePolicyBasedRouteOperationSettings = - settingsBuilder.deletePolicyBasedRouteOperationSettings().build(); - } - - /** Builder for PolicyBasedRoutingServiceStubSettings. */ - public static class Builder - extends StubSettings.Builder { - private final ImmutableList> unaryMethodSettingsBuilders; - private final PagedCallSettings.Builder< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - ListPolicyBasedRoutesPagedResponse> - listPolicyBasedRoutesSettings; - private final UnaryCallSettings.Builder - getPolicyBasedRouteSettings; - private final UnaryCallSettings.Builder - createPolicyBasedRouteSettings; - private final OperationCallSettings.Builder< - CreatePolicyBasedRouteRequest, PolicyBasedRoute, OperationMetadata> - createPolicyBasedRouteOperationSettings; - private final UnaryCallSettings.Builder - deletePolicyBasedRouteSettings; - private final OperationCallSettings.Builder< - DeletePolicyBasedRouteRequest, Empty, OperationMetadata> - deletePolicyBasedRouteOperationSettings; - private static final ImmutableMap> - RETRYABLE_CODE_DEFINITIONS; - - static { - ImmutableMap.Builder> definitions = - ImmutableMap.builder(); - definitions.put( - "retry_policy_0_codes", - ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); - definitions.put( - "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); - RETRYABLE_CODE_DEFINITIONS = definitions.build(); - } - - private static final ImmutableMap RETRY_PARAM_DEFINITIONS; - - static { - ImmutableMap.Builder definitions = ImmutableMap.builder(); - RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(1000L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(10000L)) - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("retry_policy_0_params", settings); - settings = - RetrySettings.newBuilder() - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("no_retry_1_params", settings); - RETRY_PARAM_DEFINITIONS = definitions.build(); - } - - protected Builder() { - this(((ClientContext) null)); - } - - protected Builder(ClientContext clientContext) { - super(clientContext); - - listPolicyBasedRoutesSettings = - PagedCallSettings.newBuilder(LIST_POLICY_BASED_ROUTES_PAGE_STR_FACT); - getPolicyBasedRouteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - createPolicyBasedRouteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - createPolicyBasedRouteOperationSettings = OperationCallSettings.newBuilder(); - deletePolicyBasedRouteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - deletePolicyBasedRouteOperationSettings = OperationCallSettings.newBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - listPolicyBasedRoutesSettings, - getPolicyBasedRouteSettings, - createPolicyBasedRouteSettings, - deletePolicyBasedRouteSettings); - initDefaults(this); - } - - protected Builder(PolicyBasedRoutingServiceStubSettings settings) { - super(settings); - - listPolicyBasedRoutesSettings = settings.listPolicyBasedRoutesSettings.toBuilder(); - getPolicyBasedRouteSettings = settings.getPolicyBasedRouteSettings.toBuilder(); - createPolicyBasedRouteSettings = settings.createPolicyBasedRouteSettings.toBuilder(); - createPolicyBasedRouteOperationSettings = - settings.createPolicyBasedRouteOperationSettings.toBuilder(); - deletePolicyBasedRouteSettings = settings.deletePolicyBasedRouteSettings.toBuilder(); - deletePolicyBasedRouteOperationSettings = - settings.deletePolicyBasedRouteOperationSettings.toBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - listPolicyBasedRoutesSettings, - getPolicyBasedRouteSettings, - createPolicyBasedRouteSettings, - deletePolicyBasedRouteSettings); - } - - private static Builder createDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultTransportChannelProvider()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - - private static Builder initDefaults(Builder builder) { - builder - .listPolicyBasedRoutesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); - - builder - .getPolicyBasedRouteSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); - - builder - .createPolicyBasedRouteSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .deletePolicyBasedRouteSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); - - builder - .createPolicyBasedRouteOperationSettings() - .setInitialCallSettings( - UnaryCallSettings - .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) - .build()) - .setResponseTransformer( - ProtoOperationTransformers.ResponseTransformer.create(PolicyBasedRoute.class)) - .setMetadataTransformer( - ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class)) - .setPollingAlgorithm( - OperationTimedPollAlgorithm.create( - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) - .setInitialRpcTimeout(Duration.ZERO) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) - .build())); - - builder - .deletePolicyBasedRouteOperationSettings() - .setInitialCallSettings( - UnaryCallSettings - .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")) - .build()) - .setResponseTransformer( - ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) - .setMetadataTransformer( - ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class)) - .setPollingAlgorithm( - OperationTimedPollAlgorithm.create( - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) - .setInitialRpcTimeout(Duration.ZERO) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) - .build())); - - return builder; - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

      Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); - return this; - } - - public ImmutableList> unaryMethodSettingsBuilders() { - return unaryMethodSettingsBuilders; - } - - /** Returns the builder for the settings used for calls to listPolicyBasedRoutes. */ - public PagedCallSettings.Builder< - ListPolicyBasedRoutesRequest, - ListPolicyBasedRoutesResponse, - ListPolicyBasedRoutesPagedResponse> - listPolicyBasedRoutesSettings() { - return listPolicyBasedRoutesSettings; - } - - /** Returns the builder for the settings used for calls to getPolicyBasedRoute. */ - public UnaryCallSettings.Builder - getPolicyBasedRouteSettings() { - return getPolicyBasedRouteSettings; - } - - /** Returns the builder for the settings used for calls to createPolicyBasedRoute. */ - public UnaryCallSettings.Builder - createPolicyBasedRouteSettings() { - return createPolicyBasedRouteSettings; - } - - /** Returns the builder for the settings used for calls to createPolicyBasedRoute. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") - public OperationCallSettings.Builder< - CreatePolicyBasedRouteRequest, PolicyBasedRoute, OperationMetadata> - createPolicyBasedRouteOperationSettings() { - return createPolicyBasedRouteOperationSettings; - } - - /** Returns the builder for the settings used for calls to deletePolicyBasedRoute. */ - public UnaryCallSettings.Builder - deletePolicyBasedRouteSettings() { - return deletePolicyBasedRouteSettings; - } - - /** Returns the builder for the settings used for calls to deletePolicyBasedRoute. */ - @BetaApi( - "The surface for use by generated code is not stable yet and may change in the future.") - public OperationCallSettings.Builder - deletePolicyBasedRouteOperationSettings() { - return deletePolicyBasedRouteOperationSettings; - } - - @Override - public PolicyBasedRoutingServiceStubSettings build() throws IOException { - return new PolicyBasedRoutingServiceStubSettings(this); - } - } -} diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/test/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceClientTest.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/test/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceClientTest.java deleted file mode 100644 index eb5fa73866eb..000000000000 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/test/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceClientTest.java +++ /dev/null @@ -1,501 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1; - -import static com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient.ListPolicyBasedRoutesPagedResponse; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.testing.LocalChannelProvider; -import com.google.api.gax.grpc.testing.MockGrpcService; -import com.google.api.gax.grpc.testing.MockServiceHelper; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.InvalidArgumentException; -import com.google.api.gax.rpc.StatusCode; -import com.google.common.collect.Lists; -import com.google.longrunning.Operation; -import com.google.protobuf.AbstractMessage; -import com.google.protobuf.Any; -import com.google.protobuf.Empty; -import com.google.protobuf.Timestamp; -import io.grpc.StatusRuntimeException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.UUID; -import java.util.concurrent.ExecutionException; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class PolicyBasedRoutingServiceClientTest { - private static MockPolicyBasedRoutingService mockPolicyBasedRoutingService; - private static MockServiceHelper mockServiceHelper; - private LocalChannelProvider channelProvider; - private PolicyBasedRoutingServiceClient client; - - @BeforeClass - public static void startStaticServer() { - mockPolicyBasedRoutingService = new MockPolicyBasedRoutingService(); - mockServiceHelper = - new MockServiceHelper( - UUID.randomUUID().toString(), - Arrays.asList(mockPolicyBasedRoutingService)); - mockServiceHelper.start(); - } - - @AfterClass - public static void stopServer() { - mockServiceHelper.stop(); - } - - @Before - public void setUp() throws IOException { - mockServiceHelper.reset(); - channelProvider = mockServiceHelper.createChannelProvider(); - PolicyBasedRoutingServiceSettings settings = - PolicyBasedRoutingServiceSettings.newBuilder() - .setTransportChannelProvider(channelProvider) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = PolicyBasedRoutingServiceClient.create(settings); - } - - @After - public void tearDown() throws Exception { - client.close(); - } - - @Test - public void listPolicyBasedRoutesTest() throws Exception { - PolicyBasedRoute responsesElement = PolicyBasedRoute.newBuilder().build(); - ListPolicyBasedRoutesResponse expectedResponse = - ListPolicyBasedRoutesResponse.newBuilder() - .setNextPageToken("") - .addAllPolicyBasedRoutes(Arrays.asList(responsesElement)) - .build(); - mockPolicyBasedRoutingService.addResponse(expectedResponse); - - LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); - - ListPolicyBasedRoutesPagedResponse pagedListResponse = client.listPolicyBasedRoutes(parent); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getPolicyBasedRoutesList().get(0), resources.get(0)); - - List actualRequests = mockPolicyBasedRoutingService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListPolicyBasedRoutesRequest actualRequest = - ((ListPolicyBasedRoutesRequest) actualRequests.get(0)); - - Assert.assertEquals(parent.toString(), actualRequest.getParent()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listPolicyBasedRoutesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicyBasedRoutingService.addException(exception); - - try { - LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); - client.listPolicyBasedRoutes(parent); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listPolicyBasedRoutesTest2() throws Exception { - PolicyBasedRoute responsesElement = PolicyBasedRoute.newBuilder().build(); - ListPolicyBasedRoutesResponse expectedResponse = - ListPolicyBasedRoutesResponse.newBuilder() - .setNextPageToken("") - .addAllPolicyBasedRoutes(Arrays.asList(responsesElement)) - .build(); - mockPolicyBasedRoutingService.addResponse(expectedResponse); - - String parent = "parent-995424086"; - - ListPolicyBasedRoutesPagedResponse pagedListResponse = client.listPolicyBasedRoutes(parent); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getPolicyBasedRoutesList().get(0), resources.get(0)); - - List actualRequests = mockPolicyBasedRoutingService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListPolicyBasedRoutesRequest actualRequest = - ((ListPolicyBasedRoutesRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listPolicyBasedRoutesExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicyBasedRoutingService.addException(exception); - - try { - String parent = "parent-995424086"; - client.listPolicyBasedRoutes(parent); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getPolicyBasedRouteTest() throws Exception { - PolicyBasedRoute expectedResponse = - PolicyBasedRoute.newBuilder() - .setName( - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]") - .toString()) - .setCreateTime(Timestamp.newBuilder().build()) - .setUpdateTime(Timestamp.newBuilder().build()) - .putAllLabels(new HashMap()) - .setDescription("description-1724546052") - .setNetwork("network1843485230") - .setFilter(PolicyBasedRoute.Filter.newBuilder().build()) - .setPriority(-1165461084) - .addAllWarnings(new ArrayList()) - .setSelfLink("selfLink1191800166") - .setKind("kind3292052") - .build(); - mockPolicyBasedRoutingService.addResponse(expectedResponse); - - PolicyBasedRouteName name = - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]"); - - PolicyBasedRoute actualResponse = client.getPolicyBasedRoute(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockPolicyBasedRoutingService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetPolicyBasedRouteRequest actualRequest = ((GetPolicyBasedRouteRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getPolicyBasedRouteExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicyBasedRoutingService.addException(exception); - - try { - PolicyBasedRouteName name = - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]"); - client.getPolicyBasedRoute(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getPolicyBasedRouteTest2() throws Exception { - PolicyBasedRoute expectedResponse = - PolicyBasedRoute.newBuilder() - .setName( - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]") - .toString()) - .setCreateTime(Timestamp.newBuilder().build()) - .setUpdateTime(Timestamp.newBuilder().build()) - .putAllLabels(new HashMap()) - .setDescription("description-1724546052") - .setNetwork("network1843485230") - .setFilter(PolicyBasedRoute.Filter.newBuilder().build()) - .setPriority(-1165461084) - .addAllWarnings(new ArrayList()) - .setSelfLink("selfLink1191800166") - .setKind("kind3292052") - .build(); - mockPolicyBasedRoutingService.addResponse(expectedResponse); - - String name = "name3373707"; - - PolicyBasedRoute actualResponse = client.getPolicyBasedRoute(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockPolicyBasedRoutingService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetPolicyBasedRouteRequest actualRequest = ((GetPolicyBasedRouteRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getPolicyBasedRouteExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicyBasedRoutingService.addException(exception); - - try { - String name = "name3373707"; - client.getPolicyBasedRoute(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void createPolicyBasedRouteTest() throws Exception { - PolicyBasedRoute expectedResponse = - PolicyBasedRoute.newBuilder() - .setName( - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]") - .toString()) - .setCreateTime(Timestamp.newBuilder().build()) - .setUpdateTime(Timestamp.newBuilder().build()) - .putAllLabels(new HashMap()) - .setDescription("description-1724546052") - .setNetwork("network1843485230") - .setFilter(PolicyBasedRoute.Filter.newBuilder().build()) - .setPriority(-1165461084) - .addAllWarnings(new ArrayList()) - .setSelfLink("selfLink1191800166") - .setKind("kind3292052") - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("createPolicyBasedRouteTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockPolicyBasedRoutingService.addResponse(resultOperation); - - LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); - PolicyBasedRoute policyBasedRoute = PolicyBasedRoute.newBuilder().build(); - String policyBasedRouteId = "policyBasedRouteId-18034589"; - - PolicyBasedRoute actualResponse = - client.createPolicyBasedRouteAsync(parent, policyBasedRoute, policyBasedRouteId).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockPolicyBasedRoutingService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreatePolicyBasedRouteRequest actualRequest = - ((CreatePolicyBasedRouteRequest) actualRequests.get(0)); - - Assert.assertEquals(parent.toString(), actualRequest.getParent()); - Assert.assertEquals(policyBasedRoute, actualRequest.getPolicyBasedRoute()); - Assert.assertEquals(policyBasedRouteId, actualRequest.getPolicyBasedRouteId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createPolicyBasedRouteExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicyBasedRoutingService.addException(exception); - - try { - LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); - PolicyBasedRoute policyBasedRoute = PolicyBasedRoute.newBuilder().build(); - String policyBasedRouteId = "policyBasedRouteId-18034589"; - client.createPolicyBasedRouteAsync(parent, policyBasedRoute, policyBasedRouteId).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 createPolicyBasedRouteTest2() throws Exception { - PolicyBasedRoute expectedResponse = - PolicyBasedRoute.newBuilder() - .setName( - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]") - .toString()) - .setCreateTime(Timestamp.newBuilder().build()) - .setUpdateTime(Timestamp.newBuilder().build()) - .putAllLabels(new HashMap()) - .setDescription("description-1724546052") - .setNetwork("network1843485230") - .setFilter(PolicyBasedRoute.Filter.newBuilder().build()) - .setPriority(-1165461084) - .addAllWarnings(new ArrayList()) - .setSelfLink("selfLink1191800166") - .setKind("kind3292052") - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("createPolicyBasedRouteTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockPolicyBasedRoutingService.addResponse(resultOperation); - - String parent = "parent-995424086"; - PolicyBasedRoute policyBasedRoute = PolicyBasedRoute.newBuilder().build(); - String policyBasedRouteId = "policyBasedRouteId-18034589"; - - PolicyBasedRoute actualResponse = - client.createPolicyBasedRouteAsync(parent, policyBasedRoute, policyBasedRouteId).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockPolicyBasedRoutingService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreatePolicyBasedRouteRequest actualRequest = - ((CreatePolicyBasedRouteRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertEquals(policyBasedRoute, actualRequest.getPolicyBasedRoute()); - Assert.assertEquals(policyBasedRouteId, actualRequest.getPolicyBasedRouteId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createPolicyBasedRouteExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicyBasedRoutingService.addException(exception); - - try { - String parent = "parent-995424086"; - PolicyBasedRoute policyBasedRoute = PolicyBasedRoute.newBuilder().build(); - String policyBasedRouteId = "policyBasedRouteId-18034589"; - client.createPolicyBasedRouteAsync(parent, policyBasedRoute, policyBasedRouteId).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 deletePolicyBasedRouteTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - Operation resultOperation = - Operation.newBuilder() - .setName("deletePolicyBasedRouteTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockPolicyBasedRoutingService.addResponse(resultOperation); - - PolicyBasedRouteName name = - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]"); - - client.deletePolicyBasedRouteAsync(name).get(); - - List actualRequests = mockPolicyBasedRoutingService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeletePolicyBasedRouteRequest actualRequest = - ((DeletePolicyBasedRouteRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deletePolicyBasedRouteExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicyBasedRoutingService.addException(exception); - - try { - PolicyBasedRouteName name = - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]"); - client.deletePolicyBasedRouteAsync(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 deletePolicyBasedRouteTest2() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - Operation resultOperation = - Operation.newBuilder() - .setName("deletePolicyBasedRouteTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockPolicyBasedRoutingService.addResponse(resultOperation); - - String name = "name3373707"; - - client.deletePolicyBasedRouteAsync(name).get(); - - List actualRequests = mockPolicyBasedRoutingService.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeletePolicyBasedRouteRequest actualRequest = - ((DeletePolicyBasedRouteRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deletePolicyBasedRouteExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicyBasedRoutingService.addException(exception); - - try { - String name = "name3373707"; - client.deletePolicyBasedRouteAsync(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()); - } - } -} diff --git a/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1/pom.xml b/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1/pom.xml index 40264c2e5263..c7ac09d55bec 100644 --- a/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1/pom.xml +++ b/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1 - 1.8.0 + 1.9.0 grpc-google-cloud-networkconnectivity-v1 GRPC library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.8.0 + 1.9.0 diff --git a/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceGrpc.java b/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceGrpc.java deleted file mode 100644 index 40eca2fa82af..000000000000 --- a/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceGrpc.java +++ /dev/null @@ -1,757 +0,0 @@ -/* - * Copyright 2020 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.networkconnectivity.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *

      - * Policy-Based Routing allows GCP customers to specify flexibile routing
      - * policies for Layer 4 traffic traversing through the connected service.
      - * 
      - */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/networkconnectivity/v1/policy_based_routing.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class PolicyBasedRoutingServiceGrpc { - - private PolicyBasedRoutingServiceGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest, - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse> - getListPolicyBasedRoutesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPolicyBasedRoutes", - requestType = com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest.class, - responseType = com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest, - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse> - getListPolicyBasedRoutesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest, - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse> - getListPolicyBasedRoutesMethod; - if ((getListPolicyBasedRoutesMethod = - PolicyBasedRoutingServiceGrpc.getListPolicyBasedRoutesMethod) - == null) { - synchronized (PolicyBasedRoutingServiceGrpc.class) { - if ((getListPolicyBasedRoutesMethod = - PolicyBasedRoutingServiceGrpc.getListPolicyBasedRoutesMethod) - == null) { - PolicyBasedRoutingServiceGrpc.getListPolicyBasedRoutesMethod = - getListPolicyBasedRoutesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListPolicyBasedRoutes")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new PolicyBasedRoutingServiceMethodDescriptorSupplier( - "ListPolicyBasedRoutes")) - .build(); - } - } - } - return getListPolicyBasedRoutesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute> - getGetPolicyBasedRouteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPolicyBasedRoute", - requestType = com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest.class, - responseType = com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute> - getGetPolicyBasedRouteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute> - getGetPolicyBasedRouteMethod; - if ((getGetPolicyBasedRouteMethod = PolicyBasedRoutingServiceGrpc.getGetPolicyBasedRouteMethod) - == null) { - synchronized (PolicyBasedRoutingServiceGrpc.class) { - if ((getGetPolicyBasedRouteMethod = - PolicyBasedRoutingServiceGrpc.getGetPolicyBasedRouteMethod) - == null) { - PolicyBasedRoutingServiceGrpc.getGetPolicyBasedRouteMethod = - getGetPolicyBasedRouteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetPolicyBasedRoute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute - .getDefaultInstance())) - .setSchemaDescriptor( - new PolicyBasedRoutingServiceMethodDescriptorSupplier( - "GetPolicyBasedRoute")) - .build(); - } - } - } - return getGetPolicyBasedRouteMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest, - com.google.longrunning.Operation> - getCreatePolicyBasedRouteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePolicyBasedRoute", - requestType = com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest, - com.google.longrunning.Operation> - getCreatePolicyBasedRouteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest, - com.google.longrunning.Operation> - getCreatePolicyBasedRouteMethod; - if ((getCreatePolicyBasedRouteMethod = - PolicyBasedRoutingServiceGrpc.getCreatePolicyBasedRouteMethod) - == null) { - synchronized (PolicyBasedRoutingServiceGrpc.class) { - if ((getCreatePolicyBasedRouteMethod = - PolicyBasedRoutingServiceGrpc.getCreatePolicyBasedRouteMethod) - == null) { - PolicyBasedRoutingServiceGrpc.getCreatePolicyBasedRouteMethod = - getCreatePolicyBasedRouteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreatePolicyBasedRoute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyBasedRoutingServiceMethodDescriptorSupplier( - "CreatePolicyBasedRoute")) - .build(); - } - } - } - return getCreatePolicyBasedRouteMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest, - com.google.longrunning.Operation> - getDeletePolicyBasedRouteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePolicyBasedRoute", - requestType = com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest, - com.google.longrunning.Operation> - getDeletePolicyBasedRouteMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest, - com.google.longrunning.Operation> - getDeletePolicyBasedRouteMethod; - if ((getDeletePolicyBasedRouteMethod = - PolicyBasedRoutingServiceGrpc.getDeletePolicyBasedRouteMethod) - == null) { - synchronized (PolicyBasedRoutingServiceGrpc.class) { - if ((getDeletePolicyBasedRouteMethod = - PolicyBasedRoutingServiceGrpc.getDeletePolicyBasedRouteMethod) - == null) { - PolicyBasedRoutingServiceGrpc.getDeletePolicyBasedRouteMethod = - getDeletePolicyBasedRouteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeletePolicyBasedRoute")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new PolicyBasedRoutingServiceMethodDescriptorSupplier( - "DeletePolicyBasedRoute")) - .build(); - } - } - } - return getDeletePolicyBasedRouteMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static PolicyBasedRoutingServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyBasedRoutingServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyBasedRoutingServiceStub(channel, callOptions); - } - }; - return PolicyBasedRoutingServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static PolicyBasedRoutingServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyBasedRoutingServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyBasedRoutingServiceBlockingStub(channel, callOptions); - } - }; - return PolicyBasedRoutingServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static PolicyBasedRoutingServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PolicyBasedRoutingServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyBasedRoutingServiceFutureStub(channel, callOptions); - } - }; - return PolicyBasedRoutingServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
      -   * Policy-Based Routing allows GCP customers to specify flexibile routing
      -   * policies for Layer 4 traffic traversing through the connected service.
      -   * 
      - */ - public abstract static class PolicyBasedRoutingServiceImplBase - implements io.grpc.BindableService { - - /** - * - * - *
      -     * Lists PolicyBasedRoutes in a given project and location.
      -     * 
      - */ - public void listPolicyBasedRoutes( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPolicyBasedRoutesMethod(), responseObserver); - } - - /** - * - * - *
      -     * Gets details of a single PolicyBasedRoute.
      -     * 
      - */ - public void getPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetPolicyBasedRouteMethod(), responseObserver); - } - - /** - * - * - *
      -     * Creates a new PolicyBasedRoute in a given project and location.
      -     * 
      - */ - public void createPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePolicyBasedRouteMethod(), responseObserver); - } - - /** - * - * - *
      -     * Deletes a single PolicyBasedRoute.
      -     * 
      - */ - public void deletePolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePolicyBasedRouteMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListPolicyBasedRoutesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest, - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse>( - this, METHODID_LIST_POLICY_BASED_ROUTES))) - .addMethod( - getGetPolicyBasedRouteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute>( - this, METHODID_GET_POLICY_BASED_ROUTE))) - .addMethod( - getCreatePolicyBasedRouteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_POLICY_BASED_ROUTE))) - .addMethod( - getDeletePolicyBasedRouteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_POLICY_BASED_ROUTE))) - .build(); - } - } - - /** - * - * - *
      -   * Policy-Based Routing allows GCP customers to specify flexibile routing
      -   * policies for Layer 4 traffic traversing through the connected service.
      -   * 
      - */ - public static final class PolicyBasedRoutingServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private PolicyBasedRoutingServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyBasedRoutingServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyBasedRoutingServiceStub(channel, callOptions); - } - - /** - * - * - *
      -     * Lists PolicyBasedRoutes in a given project and location.
      -     * 
      - */ - public void listPolicyBasedRoutes( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPolicyBasedRoutesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
      -     * Gets details of a single PolicyBasedRoute.
      -     * 
      - */ - public void getPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPolicyBasedRouteMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
      -     * Creates a new PolicyBasedRoute in a given project and location.
      -     * 
      - */ - public void createPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePolicyBasedRouteMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
      -     * Deletes a single PolicyBasedRoute.
      -     * 
      - */ - public void deletePolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePolicyBasedRouteMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
      -   * Policy-Based Routing allows GCP customers to specify flexibile routing
      -   * policies for Layer 4 traffic traversing through the connected service.
      -   * 
      - */ - public static final class PolicyBasedRoutingServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private PolicyBasedRoutingServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyBasedRoutingServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyBasedRoutingServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
      -     * Lists PolicyBasedRoutes in a given project and location.
      -     * 
      - */ - public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse - listPolicyBasedRoutes( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPolicyBasedRoutesMethod(), getCallOptions(), request); - } - - /** - * - * - *
      -     * Gets details of a single PolicyBasedRoute.
      -     * 
      - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute getPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPolicyBasedRouteMethod(), getCallOptions(), request); - } - - /** - * - * - *
      -     * Creates a new PolicyBasedRoute in a given project and location.
      -     * 
      - */ - public com.google.longrunning.Operation createPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePolicyBasedRouteMethod(), getCallOptions(), request); - } - - /** - * - * - *
      -     * Deletes a single PolicyBasedRoute.
      -     * 
      - */ - public com.google.longrunning.Operation deletePolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePolicyBasedRouteMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
      -   * Policy-Based Routing allows GCP customers to specify flexibile routing
      -   * policies for Layer 4 traffic traversing through the connected service.
      -   * 
      - */ - public static final class PolicyBasedRoutingServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private PolicyBasedRoutingServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PolicyBasedRoutingServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PolicyBasedRoutingServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
      -     * Lists PolicyBasedRoutes in a given project and location.
      -     * 
      - */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse> - listPolicyBasedRoutes( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPolicyBasedRoutesMethod(), getCallOptions()), request); - } - - /** - * - * - *
      -     * Gets details of a single PolicyBasedRoute.
      -     * 
      - */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute> - getPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPolicyBasedRouteMethod(), getCallOptions()), request); - } - - /** - * - * - *
      -     * Creates a new PolicyBasedRoute in a given project and location.
      -     * 
      - */ - public com.google.common.util.concurrent.ListenableFuture - createPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePolicyBasedRouteMethod(), getCallOptions()), request); - } - - /** - * - * - *
      -     * Deletes a single PolicyBasedRoute.
      -     * 
      - */ - public com.google.common.util.concurrent.ListenableFuture - deletePolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePolicyBasedRouteMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_POLICY_BASED_ROUTES = 0; - private static final int METHODID_GET_POLICY_BASED_ROUTE = 1; - private static final int METHODID_CREATE_POLICY_BASED_ROUTE = 2; - private static final int METHODID_DELETE_POLICY_BASED_ROUTE = 3; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final PolicyBasedRoutingServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(PolicyBasedRoutingServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_POLICY_BASED_ROUTES: - serviceImpl.listPolicyBasedRoutes( - (com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse>) - responseObserver); - break; - case METHODID_GET_POLICY_BASED_ROUTE: - serviceImpl.getPolicyBasedRoute( - (com.google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute>) - responseObserver); - break; - case METHODID_CREATE_POLICY_BASED_ROUTE: - serviceImpl.createPolicyBasedRoute( - (com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_POLICY_BASED_ROUTE: - serviceImpl.deletePolicyBasedRoute( - (com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class PolicyBasedRoutingServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - PolicyBasedRoutingServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("PolicyBasedRoutingService"); - } - } - - private static final class PolicyBasedRoutingServiceFileDescriptorSupplier - extends PolicyBasedRoutingServiceBaseDescriptorSupplier { - PolicyBasedRoutingServiceFileDescriptorSupplier() {} - } - - private static final class PolicyBasedRoutingServiceMethodDescriptorSupplier - extends PolicyBasedRoutingServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - PolicyBasedRoutingServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (PolicyBasedRoutingServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new PolicyBasedRoutingServiceFileDescriptorSupplier()) - .addMethod(getListPolicyBasedRoutesMethod()) - .addMethod(getGetPolicyBasedRouteMethod()) - .addMethod(getCreatePolicyBasedRouteMethod()) - .addMethod(getDeletePolicyBasedRouteMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml b/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml index e37a2c3d7291..bf0b879ec9e0 100644 --- a/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml +++ b/java-networkconnectivity/grpc-google-cloud-networkconnectivity-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1alpha1 - 0.14.0 + 0.15.0 grpc-google-cloud-networkconnectivity-v1alpha1 GRPC library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.8.0 + 1.9.0 diff --git a/java-networkconnectivity/pom.xml b/java-networkconnectivity/pom.xml index 366608df2949..47c7f6cac104 100644 --- a/java-networkconnectivity/pom.xml +++ b/java-networkconnectivity/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-networkconnectivity-parent pom - 1.8.0 + 1.9.0 Google Network Connectivity Center Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-networkconnectivity - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1 - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1alpha1 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-networkconnectivity-v1alpha1 - 0.14.0 + 0.15.0 diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/pom.xml b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/pom.xml index 139fd1cf227a..8357ecf7c7ca 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/pom.xml +++ b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1 - 1.8.0 + 1.9.0 proto-google-cloud-networkconnectivity-v1 Proto library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.8.0 + 1.9.0 diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CommonProto.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CommonProto.java index 721a7326cff4..badfa46f3256 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CommonProto.java +++ b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CommonProto.java @@ -51,19 +51,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001(\tB\003\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n\016status_me" + "ssage\030\005 \001(\tB\003\340A\003\022#\n\026requested_cancellati" + "on\030\006 \001(\010B\003\340A\003\022\030\n\013api_version\030\007 \001(\tB\003\340A\003B" - + "\327\003\n\'com.google.cloud.networkconnectivity" - + ".v1B\013CommonProtoP\001ZVgoogle.golang.org/ge" - + "nproto/googleapis/cloud/networkconnectiv" - + "ity/v1;networkconnectivity\252\002#Google.Clou" - + "d.NetworkConnectivity.V1\312\002#Google\\Cloud\\" - + "NetworkConnectivity\\V1\352\002&Google::Cloud::" - + "NetworkConnectivity::V1\352Az\n-compute.goog" - + "leapis.com/InterconnectAttachment\022Iproje" - + "cts/{project}/regions/{region}/interconn" - + "ectAttachments/{resource_id}\352AR\n\036compute" - + ".googleapis.com/Network\0220projects/{proje" - + "ct}/global/networks/{resource_id}b\006proto" - + "3" + + "\332\003\n\'com.google.cloud.networkconnectivity" + + ".v1B\013CommonProtoP\001ZYcloud.google.com/go/" + + "networkconnectivity/apiv1/networkconnect" + + "ivitypb;networkconnectivitypb\252\002#Google.C" + + "loud.NetworkConnectivity.V1\312\002#Google\\Clo" + + "ud\\NetworkConnectivity\\V1\352\002&Google::Clou" + + "d::NetworkConnectivity::V1\352Az\n-compute.g" + + "oogleapis.com/InterconnectAttachment\022Ipr" + + "ojects/{project}/regions/{region}/interc" + + "onnectAttachments/{resource_id}\352AR\n\036comp" + + "ute.googleapis.com/Network\0220projects/{pr" + + "oject}/global/networks/{resource_id}b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CreatePolicyBasedRouteRequest.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CreatePolicyBasedRouteRequest.java deleted file mode 100644 index 655d49d58a4d..000000000000 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CreatePolicyBasedRouteRequest.java +++ /dev/null @@ -1,1386 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto - -package com.google.cloud.networkconnectivity.v1; - -/** - * - * - *
      - * Request for [PolicyBasedRouting.CreatePolicyBasedRoute][] method.
      - * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest} - */ -public final class CreatePolicyBasedRouteRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest) - CreatePolicyBasedRouteRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreatePolicyBasedRouteRequest.newBuilder() to construct. - private CreatePolicyBasedRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CreatePolicyBasedRouteRequest() { - parent_ = ""; - policyBasedRouteId_ = ""; - requestId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreatePolicyBasedRouteRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest.class, - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object parent_ = ""; - /** - * - * - *
      -   * Required. The parent resource's name of the PolicyBasedRoute.
      -   * 
      - * - * - * 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 resource's name of the PolicyBasedRoute.
      -   * 
      - * - * - * 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 POLICY_BASED_ROUTE_ID_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object policyBasedRouteId_ = ""; - /** - * - * - *
      -   * Optional. Unique id for the Policy Based Route to create.
      -   * 
      - * - * string policy_based_route_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The policyBasedRouteId. - */ - @java.lang.Override - public java.lang.String getPolicyBasedRouteId() { - java.lang.Object ref = policyBasedRouteId_; - 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(); - policyBasedRouteId_ = s; - return s; - } - } - /** - * - * - *
      -   * Optional. Unique id for the Policy Based Route to create.
      -   * 
      - * - * string policy_based_route_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for policyBasedRouteId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPolicyBasedRouteIdBytes() { - java.lang.Object ref = policyBasedRouteId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - policyBasedRouteId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int POLICY_BASED_ROUTE_FIELD_NUMBER = 3; - private com.google.cloud.networkconnectivity.v1.PolicyBasedRoute policyBasedRoute_; - /** - * - * - *
      -   * Required. Initial values for a new Policy Based Route.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the policyBasedRoute field is set. - */ - @java.lang.Override - public boolean hasPolicyBasedRoute() { - return policyBasedRoute_ != null; - } - /** - * - * - *
      -   * Required. Initial values for a new Policy Based Route.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The policyBasedRoute. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute getPolicyBasedRoute() { - return policyBasedRoute_ == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.getDefaultInstance() - : policyBasedRoute_; - } - /** - * - * - *
      -   * Required. Initial values for a new Policy Based Route.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder - getPolicyBasedRouteOrBuilder() { - return policyBasedRoute_ == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.getDefaultInstance() - : policyBasedRoute_; - } - - 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 t
      -   * he 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]; - * - * @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 t
      -   * he 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]; - * - * @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.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyBasedRouteId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, policyBasedRouteId_); - } - if (policyBasedRoute_ != null) { - output.writeMessage(3, getPolicyBasedRoute()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { - com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyBasedRouteId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, policyBasedRouteId_); - } - if (policyBasedRoute_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPolicyBasedRoute()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { - size += com.google.protobuf.GeneratedMessageV3.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.networkconnectivity.v1.CreatePolicyBasedRouteRequest)) { - return super.equals(obj); - } - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest other = - (com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getPolicyBasedRouteId().equals(other.getPolicyBasedRouteId())) return false; - if (hasPolicyBasedRoute() != other.hasPolicyBasedRoute()) return false; - if (hasPolicyBasedRoute()) { - if (!getPolicyBasedRoute().equals(other.getPolicyBasedRoute())) 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) + POLICY_BASED_ROUTE_ID_FIELD_NUMBER; - hash = (53 * hash) + getPolicyBasedRouteId().hashCode(); - if (hasPolicyBasedRoute()) { - hash = (37 * hash) + POLICY_BASED_ROUTE_FIELD_NUMBER; - hash = (53 * hash) + getPolicyBasedRoute().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.networkconnectivity.v1.CreatePolicyBasedRouteRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest 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.networkconnectivity.v1.CreatePolicyBasedRouteRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest 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.networkconnectivity.v1.CreatePolicyBasedRouteRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
      -   * Request for [PolicyBasedRouting.CreatePolicyBasedRoute][] method.
      -   * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest) - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest.class, - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest.Builder.class); - } - - // Construct using - // com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parent_ = ""; - policyBasedRouteId_ = ""; - policyBasedRoute_ = null; - if (policyBasedRouteBuilder_ != null) { - policyBasedRouteBuilder_.dispose(); - policyBasedRouteBuilder_ = null; - } - requestId_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_descriptor; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest - getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest build() { - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest buildPartial() { - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest result = - new com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parent_ = parent_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.policyBasedRouteId_ = policyBasedRouteId_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.policyBasedRoute_ = - policyBasedRouteBuilder_ == null ? policyBasedRoute_ : policyBasedRouteBuilder_.build(); - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.requestId_ = requestId_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest) { - return mergeFrom( - (com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest other) { - if (other - == com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest - .getDefaultInstance()) return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getPolicyBasedRouteId().isEmpty()) { - policyBasedRouteId_ = other.policyBasedRouteId_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.hasPolicyBasedRoute()) { - mergePolicyBasedRoute(other.getPolicyBasedRoute()); - } - 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: - { - policyBasedRouteId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getPolicyBasedRouteFieldBuilder().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 resource's name of the PolicyBasedRoute.
      -     * 
      - * - * - * 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 resource's name of the PolicyBasedRoute.
      -     * 
      - * - * - * 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 resource's name of the PolicyBasedRoute.
      -     * 
      - * - * - * 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 resource's name of the PolicyBasedRoute.
      -     * 
      - * - * - * 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 resource's name of the PolicyBasedRoute.
      -     * 
      - * - * - * 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 policyBasedRouteId_ = ""; - /** - * - * - *
      -     * Optional. Unique id for the Policy Based Route to create.
      -     * 
      - * - * string policy_based_route_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The policyBasedRouteId. - */ - public java.lang.String getPolicyBasedRouteId() { - java.lang.Object ref = policyBasedRouteId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - policyBasedRouteId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -     * Optional. Unique id for the Policy Based Route to create.
      -     * 
      - * - * string policy_based_route_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for policyBasedRouteId. - */ - public com.google.protobuf.ByteString getPolicyBasedRouteIdBytes() { - java.lang.Object ref = policyBasedRouteId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - policyBasedRouteId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -     * Optional. Unique id for the Policy Based Route to create.
      -     * 
      - * - * string policy_based_route_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The policyBasedRouteId to set. - * @return This builder for chaining. - */ - public Builder setPolicyBasedRouteId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - policyBasedRouteId_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
      -     * Optional. Unique id for the Policy Based Route to create.
      -     * 
      - * - * string policy_based_route_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearPolicyBasedRouteId() { - policyBasedRouteId_ = getDefaultInstance().getPolicyBasedRouteId(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * - * - *
      -     * Optional. Unique id for the Policy Based Route to create.
      -     * 
      - * - * string policy_based_route_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for policyBasedRouteId to set. - * @return This builder for chaining. - */ - public Builder setPolicyBasedRouteIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - policyBasedRouteId_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.google.cloud.networkconnectivity.v1.PolicyBasedRoute policyBasedRoute_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder> - policyBasedRouteBuilder_; - /** - * - * - *
      -     * Required. Initial values for a new Policy Based Route.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the policyBasedRoute field is set. - */ - public boolean hasPolicyBasedRoute() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * - * - *
      -     * Required. Initial values for a new Policy Based Route.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The policyBasedRoute. - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute getPolicyBasedRoute() { - if (policyBasedRouteBuilder_ == null) { - return policyBasedRoute_ == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.getDefaultInstance() - : policyBasedRoute_; - } else { - return policyBasedRouteBuilder_.getMessage(); - } - } - /** - * - * - *
      -     * Required. Initial values for a new Policy Based Route.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute value) { - if (policyBasedRouteBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - policyBasedRoute_ = value; - } else { - policyBasedRouteBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. Initial values for a new Policy Based Route.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setPolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder builderForValue) { - if (policyBasedRouteBuilder_ == null) { - policyBasedRoute_ = builderForValue.build(); - } else { - policyBasedRouteBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. Initial values for a new Policy Based Route.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder mergePolicyBasedRoute( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute value) { - if (policyBasedRouteBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && policyBasedRoute_ != null - && policyBasedRoute_ - != com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.getDefaultInstance()) { - getPolicyBasedRouteBuilder().mergeFrom(value); - } else { - policyBasedRoute_ = value; - } - } else { - policyBasedRouteBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. Initial values for a new Policy Based Route.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearPolicyBasedRoute() { - bitField0_ = (bitField0_ & ~0x00000004); - policyBasedRoute_ = null; - if (policyBasedRouteBuilder_ != null) { - policyBasedRouteBuilder_.dispose(); - policyBasedRouteBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. Initial values for a new Policy Based Route.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder - getPolicyBasedRouteBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getPolicyBasedRouteFieldBuilder().getBuilder(); - } - /** - * - * - *
      -     * Required. Initial values for a new Policy Based Route.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder - getPolicyBasedRouteOrBuilder() { - if (policyBasedRouteBuilder_ != null) { - return policyBasedRouteBuilder_.getMessageOrBuilder(); - } else { - return policyBasedRoute_ == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.getDefaultInstance() - : policyBasedRoute_; - } - } - /** - * - * - *
      -     * Required. Initial values for a new Policy Based Route.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder> - getPolicyBasedRouteFieldBuilder() { - if (policyBasedRouteBuilder_ == null) { - policyBasedRouteBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder>( - getPolicyBasedRoute(), getParentForChildren(), isClean()); - policyBasedRoute_ = null; - } - return policyBasedRouteBuilder_; - } - - 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 t
      -     * he 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]; - * - * @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 t
      -     * he 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]; - * - * @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 t
      -     * he 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]; - * - * @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 t
      -     * he 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]; - * - * @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 t
      -     * he 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]; - * - * @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; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest) - } - - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest) - private static final com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest(); - } - - public static com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePolicyBasedRouteRequest 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.networkconnectivity.v1.CreatePolicyBasedRouteRequest - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CreatePolicyBasedRouteRequestOrBuilder.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CreatePolicyBasedRouteRequestOrBuilder.java deleted file mode 100644 index f67bf3a1716d..000000000000 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/CreatePolicyBasedRouteRequestOrBuilder.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto - -package com.google.cloud.networkconnectivity.v1; - -public interface CreatePolicyBasedRouteRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
      -   * Required. The parent resource's name of the PolicyBasedRoute.
      -   * 
      - * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
      -   * Required. The parent resource's name of the PolicyBasedRoute.
      -   * 
      - * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
      -   * Optional. Unique id for the Policy Based Route to create.
      -   * 
      - * - * string policy_based_route_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The policyBasedRouteId. - */ - java.lang.String getPolicyBasedRouteId(); - /** - * - * - *
      -   * Optional. Unique id for the Policy Based Route to create.
      -   * 
      - * - * string policy_based_route_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for policyBasedRouteId. - */ - com.google.protobuf.ByteString getPolicyBasedRouteIdBytes(); - - /** - * - * - *
      -   * Required. Initial values for a new Policy Based Route.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the policyBasedRoute field is set. - */ - boolean hasPolicyBasedRoute(); - /** - * - * - *
      -   * Required. Initial values for a new Policy Based Route.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The policyBasedRoute. - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute getPolicyBasedRoute(); - /** - * - * - *
      -   * Required. Initial values for a new Policy Based Route.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_route = 3 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder getPolicyBasedRouteOrBuilder(); - - /** - * - * - *
      -   * 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 t
      -   * he 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]; - * - * @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 t
      -   * he 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]; - * - * @return The bytes for requestId. - */ - com.google.protobuf.ByteString getRequestIdBytes(); -} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/DeletePolicyBasedRouteRequest.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/DeletePolicyBasedRouteRequest.java deleted file mode 100644 index 02c6a215f7ff..000000000000 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/DeletePolicyBasedRouteRequest.java +++ /dev/null @@ -1,907 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto - -package com.google.cloud.networkconnectivity.v1; - -/** - * - * - *
      - * Request for [PolicyBasedRouting.DeletePolicyBasedRoute][] method.
      - * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest} - */ -public final class DeletePolicyBasedRouteRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest) - DeletePolicyBasedRouteRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use DeletePolicyBasedRouteRequest.newBuilder() to construct. - private DeletePolicyBasedRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DeletePolicyBasedRouteRequest() { - name_ = ""; - requestId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeletePolicyBasedRouteRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest.class, - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - * - * - *
      -   * Required. Name of the PolicyBasedRoute resource to delete.
      -   * 
      - * - * - * 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. Name of the PolicyBasedRoute resource to delete.
      -   * 
      - * - * - * 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 t
      -   * he 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]; - * - * @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 t
      -   * he 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]; - * - * @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.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestId_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, 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.networkconnectivity.v1.DeletePolicyBasedRouteRequest)) { - return super.equals(obj); - } - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest other = - (com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest) obj; - - if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().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.networkconnectivity.v1.DeletePolicyBasedRouteRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest 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.networkconnectivity.v1.DeletePolicyBasedRouteRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest 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.networkconnectivity.v1.DeletePolicyBasedRouteRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
      -   * Request for [PolicyBasedRouting.DeletePolicyBasedRoute][] method.
      -   * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest) - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest.class, - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest.Builder.class); - } - - // Construct using - // com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - requestId_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_descriptor; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest - getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest build() { - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest buildPartial() { - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest result = - new com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestId_ = requestId_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest) { - return mergeFrom( - (com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest other) { - if (other - == com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest - .getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getRequestId().isEmpty()) { - requestId_ = other.requestId_; - 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: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = 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 name_ = ""; - /** - * - * - *
      -     * Required. Name of the PolicyBasedRoute resource to delete.
      -     * 
      - * - * - * 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. Name of the PolicyBasedRoute resource to delete.
      -     * 
      - * - * - * 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. Name of the PolicyBasedRoute resource to delete.
      -     * 
      - * - * - * 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. Name of the PolicyBasedRoute resource to delete.
      -     * 
      - * - * - * 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. Name of the PolicyBasedRoute resource to delete.
      -     * 
      - * - * - * 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 t
      -     * he 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]; - * - * @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 t
      -     * he 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]; - * - * @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 t
      -     * he 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]; - * - * @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 t
      -     * he 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]; - * - * @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 t
      -     * he 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]; - * - * @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; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest) - } - - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest) - private static final com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest(); - } - - public static com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePolicyBasedRouteRequest 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.networkconnectivity.v1.DeletePolicyBasedRouteRequest - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/DeletePolicyBasedRouteRequestOrBuilder.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/DeletePolicyBasedRouteRequestOrBuilder.java deleted file mode 100644 index 829c45f69a4b..000000000000 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/DeletePolicyBasedRouteRequestOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto - -package com.google.cloud.networkconnectivity.v1; - -public interface DeletePolicyBasedRouteRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
      -   * Required. Name of the PolicyBasedRoute resource to delete.
      -   * 
      - * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
      -   * Required. Name of the PolicyBasedRoute resource to delete.
      -   * 
      - * - * - * 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 t
      -   * he 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]; - * - * @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 t
      -   * he 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]; - * - * @return The bytes for requestId. - */ - com.google.protobuf.ByteString getRequestIdBytes(); -} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubProto.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubProto.java index 961ad32eae1a..eea78aabe6c3 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubProto.java +++ b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/HubProto.java @@ -286,18 +286,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e\312A*\n\025google.protobuf.Empty\022\021OperationMe" + "tadata\032V\312A\"networkconnectivity.googleapi" + "s.com\322A.https://www.googleapis.com/auth/" - + "cloud-platformB\277\003\n\'com.google.cloud.netw" - + "orkconnectivity.v1B\010HubProtoP\001ZVgoogle.g" - + "olang.org/genproto/googleapis/cloud/netw" - + "orkconnectivity/v1;networkconnectivity\252\002" - + "#Google.Cloud.NetworkConnectivity.V1\312\002#G" - + "oogle\\Cloud\\NetworkConnectivity\\V1\352\002&Goo" - + "gle::Cloud::NetworkConnectivity::V1\352A`\n " - + "compute.googleapis.com/VpnTunnel\022 - * Response for [PolicyBasedRouting.ListPolicyBasedRoutes][] method. - *
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse} - */ -public final class ListPolicyBasedRoutesResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse) - ListPolicyBasedRoutesResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListPolicyBasedRoutesResponse.newBuilder() to construct. - private ListPolicyBasedRoutesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListPolicyBasedRoutesResponse() { - policyBasedRoutes_ = java.util.Collections.emptyList(); - nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListPolicyBasedRoutesResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse.class, - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse.Builder.class); - } - - public static final int POLICY_BASED_ROUTES_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List - policyBasedRoutes_; - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - @java.lang.Override - public java.util.List - getPolicyBasedRoutesList() { - return policyBasedRoutes_; - } - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - @java.lang.Override - public java.util.List - getPolicyBasedRoutesOrBuilderList() { - return policyBasedRoutes_; - } - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - @java.lang.Override - public int getPolicyBasedRoutesCount() { - return policyBasedRoutes_.size(); - } - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute getPolicyBasedRoutes(int index) { - return policyBasedRoutes_.get(index); - } - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder - getPolicyBasedRoutesOrBuilder(int index) { - return policyBasedRoutes_.get(index); - } - - public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object nextPageToken_ = ""; - /** - * - * - *
      -   * The next pagination token in the List response. It should be used as
      -   * page_token for the following request. An empty value means no more result.
      -   * 
      - * - * 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; - } - } - /** - * - * - *
      -   * The next pagination token in the List response. It should be used as
      -   * page_token for the following request. An empty value means no more result.
      -   * 
      - * - * 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.LazyStringList unreachable_; - /** - * - * - *
      -   * 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 < policyBasedRoutes_.size(); i++) { - output.writeMessage(1, policyBasedRoutes_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); - } - for (int i = 0; i < unreachable_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.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 < policyBasedRoutes_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, policyBasedRoutes_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.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.networkconnectivity.v1.ListPolicyBasedRoutesResponse)) { - return super.equals(obj); - } - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse other = - (com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse) obj; - - if (!getPolicyBasedRoutesList().equals(other.getPolicyBasedRoutesList())) 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 (getPolicyBasedRoutesCount() > 0) { - hash = (37 * hash) + POLICY_BASED_ROUTES_FIELD_NUMBER; - hash = (53 * hash) + getPolicyBasedRoutesList().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.networkconnectivity.v1.ListPolicyBasedRoutesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse 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.networkconnectivity.v1.ListPolicyBasedRoutesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse 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.networkconnectivity.v1.ListPolicyBasedRoutesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
      -   * Response for [PolicyBasedRouting.ListPolicyBasedRoutes][] method.
      -   * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse) - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse.class, - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse.Builder.class); - } - - // Construct using - // com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (policyBasedRoutesBuilder_ == null) { - policyBasedRoutes_ = java.util.Collections.emptyList(); - } else { - policyBasedRoutes_ = null; - policyBasedRoutesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_descriptor; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse - getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse build() { - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse buildPartial() { - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse result = - new com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse result) { - if (policyBasedRoutesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - policyBasedRoutes_ = java.util.Collections.unmodifiableList(policyBasedRoutes_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.policyBasedRoutes_ = policyBasedRoutes_; - } else { - result.policyBasedRoutes_ = policyBasedRoutesBuilder_.build(); - } - if (((bitField0_ & 0x00000004) != 0)) { - unreachable_ = unreachable_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.unreachable_ = unreachable_; - } - - private void buildPartial0( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.nextPageToken_ = nextPageToken_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse) { - return mergeFrom( - (com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse other) { - if (other - == com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse - .getDefaultInstance()) return this; - if (policyBasedRoutesBuilder_ == null) { - if (!other.policyBasedRoutes_.isEmpty()) { - if (policyBasedRoutes_.isEmpty()) { - policyBasedRoutes_ = other.policyBasedRoutes_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePolicyBasedRoutesIsMutable(); - policyBasedRoutes_.addAll(other.policyBasedRoutes_); - } - onChanged(); - } - } else { - if (!other.policyBasedRoutes_.isEmpty()) { - if (policyBasedRoutesBuilder_.isEmpty()) { - policyBasedRoutesBuilder_.dispose(); - policyBasedRoutesBuilder_ = null; - policyBasedRoutes_ = other.policyBasedRoutes_; - bitField0_ = (bitField0_ & ~0x00000001); - policyBasedRoutesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPolicyBasedRoutesFieldBuilder() - : null; - } else { - policyBasedRoutesBuilder_.addAllMessages(other.policyBasedRoutes_); - } - } - } - if (!other.getNextPageToken().isEmpty()) { - nextPageToken_ = other.nextPageToken_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.unreachable_.isEmpty()) { - if (unreachable_.isEmpty()) { - unreachable_ = other.unreachable_; - bitField0_ = (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.networkconnectivity.v1.PolicyBasedRoute m = - input.readMessage( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.parser(), - extensionRegistry); - if (policyBasedRoutesBuilder_ == null) { - ensurePolicyBasedRoutesIsMutable(); - policyBasedRoutes_.add(m); - } else { - policyBasedRoutesBuilder_.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 - policyBasedRoutes_ = java.util.Collections.emptyList(); - - private void ensurePolicyBasedRoutesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - policyBasedRoutes_ = - new java.util.ArrayList( - policyBasedRoutes_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder> - policyBasedRoutesBuilder_; - - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public java.util.List - getPolicyBasedRoutesList() { - if (policyBasedRoutesBuilder_ == null) { - return java.util.Collections.unmodifiableList(policyBasedRoutes_); - } else { - return policyBasedRoutesBuilder_.getMessageList(); - } - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public int getPolicyBasedRoutesCount() { - if (policyBasedRoutesBuilder_ == null) { - return policyBasedRoutes_.size(); - } else { - return policyBasedRoutesBuilder_.getCount(); - } - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute getPolicyBasedRoutes( - int index) { - if (policyBasedRoutesBuilder_ == null) { - return policyBasedRoutes_.get(index); - } else { - return policyBasedRoutesBuilder_.getMessage(index); - } - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public Builder setPolicyBasedRoutes( - int index, com.google.cloud.networkconnectivity.v1.PolicyBasedRoute value) { - if (policyBasedRoutesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePolicyBasedRoutesIsMutable(); - policyBasedRoutes_.set(index, value); - onChanged(); - } else { - policyBasedRoutesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public Builder setPolicyBasedRoutes( - int index, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder builderForValue) { - if (policyBasedRoutesBuilder_ == null) { - ensurePolicyBasedRoutesIsMutable(); - policyBasedRoutes_.set(index, builderForValue.build()); - onChanged(); - } else { - policyBasedRoutesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public Builder addPolicyBasedRoutes( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute value) { - if (policyBasedRoutesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePolicyBasedRoutesIsMutable(); - policyBasedRoutes_.add(value); - onChanged(); - } else { - policyBasedRoutesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public Builder addPolicyBasedRoutes( - int index, com.google.cloud.networkconnectivity.v1.PolicyBasedRoute value) { - if (policyBasedRoutesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePolicyBasedRoutesIsMutable(); - policyBasedRoutes_.add(index, value); - onChanged(); - } else { - policyBasedRoutesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public Builder addPolicyBasedRoutes( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder builderForValue) { - if (policyBasedRoutesBuilder_ == null) { - ensurePolicyBasedRoutesIsMutable(); - policyBasedRoutes_.add(builderForValue.build()); - onChanged(); - } else { - policyBasedRoutesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public Builder addPolicyBasedRoutes( - int index, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder builderForValue) { - if (policyBasedRoutesBuilder_ == null) { - ensurePolicyBasedRoutesIsMutable(); - policyBasedRoutes_.add(index, builderForValue.build()); - onChanged(); - } else { - policyBasedRoutesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public Builder addAllPolicyBasedRoutes( - java.lang.Iterable - values) { - if (policyBasedRoutesBuilder_ == null) { - ensurePolicyBasedRoutesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policyBasedRoutes_); - onChanged(); - } else { - policyBasedRoutesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public Builder clearPolicyBasedRoutes() { - if (policyBasedRoutesBuilder_ == null) { - policyBasedRoutes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - policyBasedRoutesBuilder_.clear(); - } - return this; - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public Builder removePolicyBasedRoutes(int index) { - if (policyBasedRoutesBuilder_ == null) { - ensurePolicyBasedRoutesIsMutable(); - policyBasedRoutes_.remove(index); - onChanged(); - } else { - policyBasedRoutesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder - getPolicyBasedRoutesBuilder(int index) { - return getPolicyBasedRoutesFieldBuilder().getBuilder(index); - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder - getPolicyBasedRoutesOrBuilder(int index) { - if (policyBasedRoutesBuilder_ == null) { - return policyBasedRoutes_.get(index); - } else { - return policyBasedRoutesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public java.util.List< - ? extends com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder> - getPolicyBasedRoutesOrBuilderList() { - if (policyBasedRoutesBuilder_ != null) { - return policyBasedRoutesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(policyBasedRoutes_); - } - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder - addPolicyBasedRoutesBuilder() { - return getPolicyBasedRoutesFieldBuilder() - .addBuilder( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.getDefaultInstance()); - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder - addPolicyBasedRoutesBuilder(int index) { - return getPolicyBasedRoutesFieldBuilder() - .addBuilder( - index, com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.getDefaultInstance()); - } - /** - * - * - *
      -     * Policy based routes to be returned.
      -     * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - public java.util.List - getPolicyBasedRoutesBuilderList() { - return getPolicyBasedRoutesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder> - getPolicyBasedRoutesFieldBuilder() { - if (policyBasedRoutesBuilder_ == null) { - policyBasedRoutesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder>( - policyBasedRoutes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - policyBasedRoutes_ = null; - } - return policyBasedRoutesBuilder_; - } - - private java.lang.Object nextPageToken_ = ""; - /** - * - * - *
      -     * The next pagination token in the List response. It should be used as
      -     * page_token for the following request. An empty value means no more result.
      -     * 
      - * - * 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; - } - } - /** - * - * - *
      -     * The next pagination token in the List response. It should be used as
      -     * page_token for the following request. An empty value means no more result.
      -     * 
      - * - * 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; - } - } - /** - * - * - *
      -     * The next pagination token in the List response. It should be used as
      -     * page_token for the following request. An empty value means no more result.
      -     * 
      - * - * 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; - } - /** - * - * - *
      -     * The next pagination token in the List response. It should be used as
      -     * page_token for the following request. An empty value means no more result.
      -     * 
      - * - * string next_page_token = 2; - * - * @return This builder for chaining. - */ - public Builder clearNextPageToken() { - nextPageToken_ = getDefaultInstance().getNextPageToken(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * - * - *
      -     * The next pagination token in the List response. It should be used as
      -     * page_token for the following request. An empty value means no more result.
      -     * 
      - * - * 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.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureUnreachableIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - 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() { - return unreachable_.getUnmodifiableView(); - } - /** - * - * - *
      -     * 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); - 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); - 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_); - 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.EMPTY; - 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); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse) - } - - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse) - private static final com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse(); - } - - public static com.google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPolicyBasedRoutesResponse 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.networkconnectivity.v1.ListPolicyBasedRoutesResponse - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/ListPolicyBasedRoutesResponseOrBuilder.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/ListPolicyBasedRoutesResponseOrBuilder.java deleted file mode 100644 index 876654c552f5..000000000000 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/ListPolicyBasedRoutesResponseOrBuilder.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto - -package com.google.cloud.networkconnectivity.v1; - -public interface ListPolicyBasedRoutesResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.ListPolicyBasedRoutesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - java.util.List - getPolicyBasedRoutesList(); - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute getPolicyBasedRoutes(int index); - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - int getPolicyBasedRoutesCount(); - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - java.util.List - getPolicyBasedRoutesOrBuilderList(); - /** - * - * - *
      -   * Policy based routes to be returned.
      -   * 
      - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute policy_based_routes = 1; - * - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder getPolicyBasedRoutesOrBuilder( - int index); - - /** - * - * - *
      -   * The next pagination token in the List response. It should be used as
      -   * page_token for the following request. An empty value means no more result.
      -   * 
      - * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - * - * - *
      -   * The next pagination token in the List response. It should be used as
      -   * page_token for the following request. An empty value means no more result.
      -   * 
      - * - * 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-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoute.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoute.java deleted file mode 100644 index 0d5216a57065..000000000000 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoute.java +++ /dev/null @@ -1,8859 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto - -package com.google.cloud.networkconnectivity.v1; - -/** - * - * - *
      - * Policy Based Routes (PBR) are more powerful routes that allows GCP customers
      - * to route their L4 network traffic based on not just destination IP, but also
      - * source IP, protocol and more. A PBR always take precedence when it conflicts
      - * with other types of routes.
      - * Next id: 19
      - * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.PolicyBasedRoute} - */ -public final class PolicyBasedRoute extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute) - PolicyBasedRouteOrBuilder { - private static final long serialVersionUID = 0L; - // Use PolicyBasedRoute.newBuilder() to construct. - private PolicyBasedRoute(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PolicyBasedRoute() { - name_ = ""; - description_ = ""; - network_ = ""; - warnings_ = java.util.Collections.emptyList(); - selfLink_ = ""; - kind_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PolicyBasedRoute(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 4: - return internalGetLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder.class); - } - - public interface VirtualMachineOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
      -     * Optional. A list of VM instance tags to which this policy based route applies to.
      -     * VM instances that have ANY of tags specified here will install this
      -     * PBR.
      -     * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the tags. - */ - java.util.List getTagsList(); - /** - * - * - *
      -     * Optional. A list of VM instance tags to which this policy based route applies to.
      -     * VM instances that have ANY of tags specified here will install this
      -     * PBR.
      -     * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of tags. - */ - int getTagsCount(); - /** - * - * - *
      -     * Optional. A list of VM instance tags to which this policy based route applies to.
      -     * VM instances that have ANY of tags specified here will install this
      -     * PBR.
      -     * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The tags at the given index. - */ - java.lang.String getTags(int index); - /** - * - * - *
      -     * Optional. A list of VM instance tags to which this policy based route applies to.
      -     * VM instances that have ANY of tags specified here will install this
      -     * PBR.
      -     * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the tags at the given index. - */ - com.google.protobuf.ByteString getTagsBytes(int index); - } - /** - * - * - *
      -   * VM instances to which this policy based route applies to.
      -   * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine} - */ - public static final class VirtualMachine extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) - VirtualMachineOrBuilder { - private static final long serialVersionUID = 0L; - // Use VirtualMachine.newBuilder() to construct. - private VirtualMachine(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private VirtualMachine() { - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new VirtualMachine(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.Builder - .class); - } - - public static final int TAGS_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList tags_; - /** - * - * - *
      -     * Optional. A list of VM instance tags to which this policy based route applies to.
      -     * VM instances that have ANY of tags specified here will install this
      -     * PBR.
      -     * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the tags. - */ - public com.google.protobuf.ProtocolStringList getTagsList() { - return tags_; - } - /** - * - * - *
      -     * Optional. A list of VM instance tags to which this policy based route applies to.
      -     * VM instances that have ANY of tags specified here will install this
      -     * PBR.
      -     * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of tags. - */ - public int getTagsCount() { - return tags_.size(); - } - /** - * - * - *
      -     * Optional. A list of VM instance tags to which this policy based route applies to.
      -     * VM instances that have ANY of tags specified here will install this
      -     * PBR.
      -     * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The tags at the given index. - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - * - * - *
      -     * Optional. A list of VM instance tags to which this policy based route applies to.
      -     * VM instances that have ANY of tags specified here will install this
      -     * PBR.
      -     * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the tags at the given index. - */ - public com.google.protobuf.ByteString getTagsBytes(int index) { - return tags_.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 < tags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tags_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < tags_.size(); i++) { - dataSize += computeStringSizeNoTag(tags_.getRaw(i)); - } - size += dataSize; - size += 1 * getTagsList().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.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine)) { - return super.equals(obj); - } - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine other = - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) obj; - - if (!getTagsList().equals(other.getTagsList())) 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 (getTagsCount() > 0) { - hash = (37 * hash) + TAGS_FIELD_NUMBER; - hash = (53 * hash) + getTagsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine 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.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine 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.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
      -     * VM instances to which this policy based route applies to.
      -     * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachineOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.Builder - .class); - } - - // Construct using - // com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_descriptor; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine build() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - buildPartial() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine result = - new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine result) { - if (((bitField0_ & 0x00000001) != 0)) { - tags_ = tags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.tags_ = tags_; - } - - private void buildPartial0( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) { - return mergeFrom( - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine other) { - if (other - == com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - .getDefaultInstance()) return this; - if (!other.tags_.isEmpty()) { - if (tags_.isEmpty()) { - tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTagsIsMutable(); - tags_.addAll(other.tags_); - } - 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: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureTagsIsMutable(); - tags_.add(s); - 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 com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(tags_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
      -       * Optional. A list of VM instance tags to which this policy based route applies to.
      -       * VM instances that have ANY of tags specified here will install this
      -       * PBR.
      -       * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return A list containing the tags. - */ - public com.google.protobuf.ProtocolStringList getTagsList() { - return tags_.getUnmodifiableView(); - } - /** - * - * - *
      -       * Optional. A list of VM instance tags to which this policy based route applies to.
      -       * VM instances that have ANY of tags specified here will install this
      -       * PBR.
      -       * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The count of tags. - */ - public int getTagsCount() { - return tags_.size(); - } - /** - * - * - *
      -       * Optional. A list of VM instance tags to which this policy based route applies to.
      -       * VM instances that have ANY of tags specified here will install this
      -       * PBR.
      -       * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the element to return. - * @return The tags at the given index. - */ - public java.lang.String getTags(int index) { - return tags_.get(index); - } - /** - * - * - *
      -       * Optional. A list of VM instance tags to which this policy based route applies to.
      -       * VM instances that have ANY of tags specified here will install this
      -       * PBR.
      -       * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index of the value to return. - * @return The bytes of the tags at the given index. - */ - public com.google.protobuf.ByteString getTagsBytes(int index) { - return tags_.getByteString(index); - } - /** - * - * - *
      -       * Optional. A list of VM instance tags to which this policy based route applies to.
      -       * VM instances that have ANY of tags specified here will install this
      -       * PBR.
      -       * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param index The index to set the value at. - * @param value The tags to set. - * @return This builder for chaining. - */ - public Builder setTags(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. A list of VM instance tags to which this policy based route applies to.
      -       * VM instances that have ANY of tags specified here will install this
      -       * PBR.
      -       * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The tags to add. - * @return This builder for chaining. - */ - public Builder addTags(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. A list of VM instance tags to which this policy based route applies to.
      -       * VM instances that have ANY of tags specified here will install this
      -       * PBR.
      -       * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param values The tags to add. - * @return This builder for chaining. - */ - public Builder addAllTags(java.lang.Iterable values) { - ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. A list of VM instance tags to which this policy based route applies to.
      -       * VM instances that have ANY of tags specified here will install this
      -       * PBR.
      -       * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearTags() { - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. A list of VM instance tags to which this policy based route applies to.
      -       * VM instances that have ANY of tags specified here will install this
      -       * PBR.
      -       * 
      - * - * repeated string tags = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes of the tags to add. - * @return This builder for chaining. - */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) - } - - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) - private static final com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine(); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtualMachine 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.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface InterconnectAttachmentOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
      -     * Optional. Cloud region to install this policy based route on interconnect
      -     * attachment. Use `all` to install it on all interconnect attachments.
      -     * 
      - * - * string region = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The region. - */ - java.lang.String getRegion(); - /** - * - * - *
      -     * Optional. Cloud region to install this policy based route on interconnect
      -     * attachment. Use `all` to install it on all interconnect attachments.
      -     * 
      - * - * string region = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for region. - */ - com.google.protobuf.ByteString getRegionBytes(); - } - /** - * - * - *
      -   * InterconnectAttachment to which this route applies to.
      -   * 
      - * - * Protobuf type {@code - * google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment} - */ - public static final class InterconnectAttachment extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - InterconnectAttachmentOrBuilder { - private static final long serialVersionUID = 0L; - // Use InterconnectAttachment.newBuilder() to construct. - private InterconnectAttachment(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private InterconnectAttachment() { - region_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new InterconnectAttachment(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment.class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .Builder.class); - } - - public static final int REGION_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object region_ = ""; - /** - * - * - *
      -     * Optional. Cloud region to install this policy based route on interconnect
      -     * attachment. Use `all` to install it on all interconnect attachments.
      -     * 
      - * - * string region = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The region. - */ - @java.lang.Override - public java.lang.String getRegion() { - java.lang.Object ref = region_; - 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(); - region_ = s; - return s; - } - } - /** - * - * - *
      -     * Optional. Cloud region to install this policy based route on interconnect
      -     * attachment. Use `all` to install it on all interconnect attachments.
      -     * 
      - * - * string region = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for region. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRegionBytes() { - java.lang.Object ref = region_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - region_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, region_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, region_); - } - 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.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment)) { - return super.equals(obj); - } - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment other = - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) obj; - - if (!getRegion().equals(other.getRegion())) 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) + REGION_FIELD_NUMBER; - hash = (53 * hash) + getRegion().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - 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.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - 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.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
      -     * InterconnectAttachment to which this route applies to.
      -     * 
      - * - * Protobuf type {@code - * google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachmentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .Builder.class); - } - - // Construct using - // com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - region_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_descriptor; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - build() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - buildPartial() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment result = - new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.region_ = region_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) { - return mergeFrom( - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment other) { - if (other - == com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .getDefaultInstance()) return this; - if (!other.getRegion().isEmpty()) { - region_ = other.region_; - 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: - { - region_ = 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 region_ = ""; - /** - * - * - *
      -       * Optional. Cloud region to install this policy based route on interconnect
      -       * attachment. Use `all` to install it on all interconnect attachments.
      -       * 
      - * - * string region = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The region. - */ - public java.lang.String getRegion() { - java.lang.Object ref = region_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - region_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -       * Optional. Cloud region to install this policy based route on interconnect
      -       * attachment. Use `all` to install it on all interconnect attachments.
      -       * 
      - * - * string region = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for region. - */ - public com.google.protobuf.ByteString getRegionBytes() { - java.lang.Object ref = region_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - region_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -       * Optional. Cloud region to install this policy based route on interconnect
      -       * attachment. Use `all` to install it on all interconnect attachments.
      -       * 
      - * - * string region = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The region to set. - * @return This builder for chaining. - */ - public Builder setRegion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - region_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. Cloud region to install this policy based route on interconnect
      -       * attachment. Use `all` to install it on all interconnect attachments.
      -       * 
      - * - * string region = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearRegion() { - region_ = getDefaultInstance().getRegion(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. Cloud region to install this policy based route on interconnect
      -       * attachment. Use `all` to install it on all interconnect attachments.
      -       * 
      - * - * string region = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for region to set. - * @return This builder for chaining. - */ - public Builder setRegionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - region_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - } - - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - private static final com.google.cloud.networkconnectivity.v1.PolicyBasedRoute - .InterconnectAttachment - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment(); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InterconnectAttachment 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.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface FilterOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
      -     * Optional. The IP protocol that this policy based route applies to. Valid values are
      -     * 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
      -     * 
      - * - * string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The ipProtocol. - */ - java.lang.String getIpProtocol(); - /** - * - * - *
      -     * Optional. The IP protocol that this policy based route applies to. Valid values are
      -     * 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
      -     * 
      - * - * string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for ipProtocol. - */ - com.google.protobuf.ByteString getIpProtocolBytes(); - - /** - * - * - *
      -     * Optional. The source IP range of outgoing packets that this policy based route
      -     * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -     * 
      - * - * string src_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The srcRange. - */ - java.lang.String getSrcRange(); - /** - * - * - *
      -     * Optional. The source IP range of outgoing packets that this policy based route
      -     * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -     * 
      - * - * string src_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for srcRange. - */ - com.google.protobuf.ByteString getSrcRangeBytes(); - - /** - * - * - *
      -     * Optional. The destination IP range of outgoing packets that this policy based route
      -     * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -     * 
      - * - * string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The destRange. - */ - java.lang.String getDestRange(); - /** - * - * - *
      -     * Optional. The destination IP range of outgoing packets that this policy based route
      -     * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -     * 
      - * - * string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for destRange. - */ - com.google.protobuf.ByteString getDestRangeBytes(); - - /** - * - * - *
      -     * Required. Internet protocol versions this policy based route applies to. For this
      -     * version, only IPV4 is supported.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The enum numeric value on the wire for protocolVersion. - */ - int getProtocolVersionValue(); - /** - * - * - *
      -     * Required. Internet protocol versions this policy based route applies to. For this
      -     * version, only IPV4 is supported.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The protocolVersion. - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion - getProtocolVersion(); - } - /** - * - * - *
      -   * Filter matches L4 traffic.
      -   * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter} - */ - public static final class Filter extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter) - FilterOrBuilder { - private static final long serialVersionUID = 0L; - // Use Filter.newBuilder() to construct. - private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Filter() { - ipProtocol_ = ""; - srcRange_ = ""; - destRange_ = ""; - protocolVersion_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Filter(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.Builder.class); - } - - /** - * - * - *
      -     * The internet protocol version.
      -     * 
      - * - * Protobuf enum {@code - * google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion} - */ - public enum ProtocolVersion implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
      -       * Default value.
      -       * 
      - * - * PROTOCOL_VERSION_UNSPECIFIED = 0; - */ - PROTOCOL_VERSION_UNSPECIFIED(0), - /** - * - * - *
      -       * The PBR is for IPv4 internet protocol traffic.
      -       * 
      - * - * IPV4 = 1; - */ - IPV4(1), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
      -       * Default value.
      -       * 
      - * - * PROTOCOL_VERSION_UNSPECIFIED = 0; - */ - public static final int PROTOCOL_VERSION_UNSPECIFIED_VALUE = 0; - /** - * - * - *
      -       * The PBR is for IPv4 internet protocol traffic.
      -       * 
      - * - * IPV4 = 1; - */ - public static final int IPV4_VALUE = 1; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ProtocolVersion 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 ProtocolVersion forNumber(int value) { - switch (value) { - case 0: - return PROTOCOL_VERSION_UNSPECIFIED; - case 1: - return IPV4; - 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 ProtocolVersion findValueByNumber(int number) { - return ProtocolVersion.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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final ProtocolVersion[] VALUES = values(); - - public static ProtocolVersion 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 ProtocolVersion(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion) - } - - public static final int IP_PROTOCOL_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object ipProtocol_ = ""; - /** - * - * - *
      -     * Optional. The IP protocol that this policy based route applies to. Valid values are
      -     * 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
      -     * 
      - * - * string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The ipProtocol. - */ - @java.lang.Override - public java.lang.String getIpProtocol() { - java.lang.Object ref = ipProtocol_; - 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(); - ipProtocol_ = s; - return s; - } - } - /** - * - * - *
      -     * Optional. The IP protocol that this policy based route applies to. Valid values are
      -     * 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
      -     * 
      - * - * string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for ipProtocol. - */ - @java.lang.Override - public com.google.protobuf.ByteString getIpProtocolBytes() { - java.lang.Object ref = ipProtocol_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - ipProtocol_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SRC_RANGE_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object srcRange_ = ""; - /** - * - * - *
      -     * Optional. The source IP range of outgoing packets that this policy based route
      -     * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -     * 
      - * - * string src_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The srcRange. - */ - @java.lang.Override - public java.lang.String getSrcRange() { - java.lang.Object ref = srcRange_; - 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(); - srcRange_ = s; - return s; - } - } - /** - * - * - *
      -     * Optional. The source IP range of outgoing packets that this policy based route
      -     * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -     * 
      - * - * string src_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for srcRange. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSrcRangeBytes() { - java.lang.Object ref = srcRange_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - srcRange_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DEST_RANGE_FIELD_NUMBER = 3; - - @SuppressWarnings("serial") - private volatile java.lang.Object destRange_ = ""; - /** - * - * - *
      -     * Optional. The destination IP range of outgoing packets that this policy based route
      -     * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -     * 
      - * - * string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The destRange. - */ - @java.lang.Override - public java.lang.String getDestRange() { - java.lang.Object ref = destRange_; - 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(); - destRange_ = s; - return s; - } - } - /** - * - * - *
      -     * Optional. The destination IP range of outgoing packets that this policy based route
      -     * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -     * 
      - * - * string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for destRange. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDestRangeBytes() { - java.lang.Object ref = destRange_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - destRange_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PROTOCOL_VERSION_FIELD_NUMBER = 6; - private int protocolVersion_ = 0; - /** - * - * - *
      -     * Required. Internet protocol versions this policy based route applies to. For this
      -     * version, only IPV4 is supported.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The enum numeric value on the wire for protocolVersion. - */ - @java.lang.Override - public int getProtocolVersionValue() { - return protocolVersion_; - } - /** - * - * - *
      -     * Required. Internet protocol versions this policy based route applies to. For this
      -     * version, only IPV4 is supported.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The protocolVersion. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion - getProtocolVersion() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion result = - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion.forNumber( - protocolVersion_); - return result == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion - .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.GeneratedMessageV3.isStringEmpty(ipProtocol_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipProtocol_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(srcRange_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, srcRange_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destRange_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destRange_); - } - if (protocolVersion_ - != com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion - .PROTOCOL_VERSION_UNSPECIFIED - .getNumber()) { - output.writeEnum(6, protocolVersion_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipProtocol_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ipProtocol_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(srcRange_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, srcRange_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destRange_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destRange_); - } - if (protocolVersion_ - != com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion - .PROTOCOL_VERSION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, protocolVersion_); - } - 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.networkconnectivity.v1.PolicyBasedRoute.Filter)) { - return super.equals(obj); - } - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter other = - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter) obj; - - if (!getIpProtocol().equals(other.getIpProtocol())) return false; - if (!getSrcRange().equals(other.getSrcRange())) return false; - if (!getDestRange().equals(other.getDestRange())) return false; - if (protocolVersion_ != other.protocolVersion_) 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) + IP_PROTOCOL_FIELD_NUMBER; - hash = (53 * hash) + getIpProtocol().hashCode(); - hash = (37 * hash) + SRC_RANGE_FIELD_NUMBER; - hash = (53 * hash) + getSrcRange().hashCode(); - hash = (37 * hash) + DEST_RANGE_FIELD_NUMBER; - hash = (53 * hash) + getDestRange().hashCode(); - hash = (37 * hash) + PROTOCOL_VERSION_FIELD_NUMBER; - hash = (53 * hash) + protocolVersion_; - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter 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.networkconnectivity.v1.PolicyBasedRoute.Filter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter 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.networkconnectivity.v1.PolicyBasedRoute.Filter parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
      -     * Filter matches L4 traffic.
      -     * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter) - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.Builder.class); - } - - // Construct using - // com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - ipProtocol_ = ""; - srcRange_ = ""; - destRange_ = ""; - protocolVersion_ = 0; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_descriptor; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter - getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter build() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter buildPartial() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter result = - new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.ipProtocol_ = ipProtocol_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.srcRange_ = srcRange_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.destRange_ = destRange_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.protocolVersion_ = protocolVersion_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter) { - return mergeFrom((com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter other) { - if (other - == com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.getDefaultInstance()) - return this; - if (!other.getIpProtocol().isEmpty()) { - ipProtocol_ = other.ipProtocol_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getSrcRange().isEmpty()) { - srcRange_ = other.srcRange_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getDestRange().isEmpty()) { - destRange_ = other.destRange_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (other.protocolVersion_ != 0) { - setProtocolVersionValue(other.getProtocolVersionValue()); - } - 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: - { - ipProtocol_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - srcRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - destRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 48: - { - protocolVersion_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 48 - 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 ipProtocol_ = ""; - /** - * - * - *
      -       * Optional. The IP protocol that this policy based route applies to. Valid values are
      -       * 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
      -       * 
      - * - * string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The ipProtocol. - */ - public java.lang.String getIpProtocol() { - java.lang.Object ref = ipProtocol_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - ipProtocol_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -       * Optional. The IP protocol that this policy based route applies to. Valid values are
      -       * 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
      -       * 
      - * - * string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for ipProtocol. - */ - public com.google.protobuf.ByteString getIpProtocolBytes() { - java.lang.Object ref = ipProtocol_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - ipProtocol_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -       * Optional. The IP protocol that this policy based route applies to. Valid values are
      -       * 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
      -       * 
      - * - * string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The ipProtocol to set. - * @return This builder for chaining. - */ - public Builder setIpProtocol(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ipProtocol_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. The IP protocol that this policy based route applies to. Valid values are
      -       * 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
      -       * 
      - * - * string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearIpProtocol() { - ipProtocol_ = getDefaultInstance().getIpProtocol(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. The IP protocol that this policy based route applies to. Valid values are
      -       * 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
      -       * 
      - * - * string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for ipProtocol to set. - * @return This builder for chaining. - */ - public Builder setIpProtocolBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ipProtocol_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object srcRange_ = ""; - /** - * - * - *
      -       * Optional. The source IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string src_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The srcRange. - */ - public java.lang.String getSrcRange() { - java.lang.Object ref = srcRange_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - srcRange_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -       * Optional. The source IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string src_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for srcRange. - */ - public com.google.protobuf.ByteString getSrcRangeBytes() { - java.lang.Object ref = srcRange_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - srcRange_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -       * Optional. The source IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string src_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The srcRange to set. - * @return This builder for chaining. - */ - public Builder setSrcRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - srcRange_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. The source IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string src_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearSrcRange() { - srcRange_ = getDefaultInstance().getSrcRange(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. The source IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string src_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for srcRange to set. - * @return This builder for chaining. - */ - public Builder setSrcRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - srcRange_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private java.lang.Object destRange_ = ""; - /** - * - * - *
      -       * Optional. The destination IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The destRange. - */ - public java.lang.String getDestRange() { - java.lang.Object ref = destRange_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - destRange_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -       * Optional. The destination IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for destRange. - */ - public com.google.protobuf.ByteString getDestRangeBytes() { - java.lang.Object ref = destRange_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - destRange_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -       * Optional. The destination IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The destRange to set. - * @return This builder for chaining. - */ - public Builder setDestRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - destRange_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. The destination IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearDestRange() { - destRange_ = getDefaultInstance().getDestRange(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * - * - *
      -       * Optional. The destination IP range of outgoing packets that this policy based route
      -       * applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
      -       * 
      - * - * string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for destRange to set. - * @return This builder for chaining. - */ - public Builder setDestRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - destRange_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private int protocolVersion_ = 0; - /** - * - * - *
      -       * Required. Internet protocol versions this policy based route applies to. For this
      -       * version, only IPV4 is supported.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The enum numeric value on the wire for protocolVersion. - */ - @java.lang.Override - public int getProtocolVersionValue() { - return protocolVersion_; - } - /** - * - * - *
      -       * Required. Internet protocol versions this policy based route applies to. For this
      -       * version, only IPV4 is supported.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @param value The enum numeric value on the wire for protocolVersion to set. - * @return This builder for chaining. - */ - public Builder setProtocolVersionValue(int value) { - protocolVersion_ = value; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - /** - * - * - *
      -       * Required. Internet protocol versions this policy based route applies to. For this
      -       * version, only IPV4 is supported.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The protocolVersion. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion - getProtocolVersion() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion result = - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion - .forNumber(protocolVersion_); - return result == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion - .UNRECOGNIZED - : result; - } - /** - * - * - *
      -       * Required. Internet protocol versions this policy based route applies to. For this
      -       * version, only IPV4 is supported.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @param value The protocolVersion to set. - * @return This builder for chaining. - */ - public Builder setProtocolVersion( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - protocolVersion_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
      -       * Required. Internet protocol versions this policy based route applies to. For this
      -       * version, only IPV4 is supported.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return This builder for chaining. - */ - public Builder clearProtocolVersion() { - bitField0_ = (bitField0_ & ~0x00000008); - protocolVersion_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter) - } - - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter) - private static final com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter(); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter 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.networkconnectivity.v1.PolicyBasedRoute.Filter - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface WarningsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
      -     * Output only. A warning code, if applicable.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for code. - */ - int getCodeValue(); - /** - * - * - *
      -     * Output only. A warning code, if applicable.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The code. - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code getCode(); - - /** - * - * - *
      -     * Output only. Metadata about this warning in key: value format. The key should provides
      -     * more detail on the warning being returned. For example, for warnings
      -     * where there are no results in a list request for a particular zone, this
      -     * key might be scope and the key value might be the zone name. Other
      -     * examples might be a key indicating a deprecated resource and a suggested
      -     * replacement.
      -     * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - int getDataCount(); - /** - * - * - *
      -     * Output only. Metadata about this warning in key: value format. The key should provides
      -     * more detail on the warning being returned. For example, for warnings
      -     * where there are no results in a list request for a particular zone, this
      -     * key might be scope and the key value might be the zone name. Other
      -     * examples might be a key indicating a deprecated resource and a suggested
      -     * replacement.
      -     * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - boolean containsData(java.lang.String key); - /** Use {@link #getDataMap()} instead. */ - @java.lang.Deprecated - java.util.Map getData(); - /** - * - * - *
      -     * Output only. Metadata about this warning in key: value format. The key should provides
      -     * more detail on the warning being returned. For example, for warnings
      -     * where there are no results in a list request for a particular zone, this
      -     * key might be scope and the key value might be the zone name. Other
      -     * examples might be a key indicating a deprecated resource and a suggested
      -     * replacement.
      -     * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - java.util.Map getDataMap(); - /** - * - * - *
      -     * Output only. Metadata about this warning in key: value format. The key should provides
      -     * more detail on the warning being returned. For example, for warnings
      -     * where there are no results in a list request for a particular zone, this
      -     * key might be scope and the key value might be the zone name. Other
      -     * examples might be a key indicating a deprecated resource and a suggested
      -     * replacement.
      -     * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - /* nullable */ - java.lang.String getDataOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - /** - * - * - *
      -     * Output only. Metadata about this warning in key: value format. The key should provides
      -     * more detail on the warning being returned. For example, for warnings
      -     * where there are no results in a list request for a particular zone, this
      -     * key might be scope and the key value might be the zone name. Other
      -     * examples might be a key indicating a deprecated resource and a suggested
      -     * replacement.
      -     * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - java.lang.String getDataOrThrow(java.lang.String key); - - /** - * - * - *
      -     * Output only. A human-readable description of the warning code.
      -     * 
      - * - * string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The warningMessage. - */ - java.lang.String getWarningMessage(); - /** - * - * - *
      -     * Output only. A human-readable description of the warning code.
      -     * 
      - * - * string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for warningMessage. - */ - com.google.protobuf.ByteString getWarningMessageBytes(); - } - /** - * - * - *
      -   * Informational warning message.
      -   * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings} - */ - public static final class Warnings extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings) - WarningsOrBuilder { - private static final long serialVersionUID = 0L; - // Use Warnings.newBuilder() to construct. - private Warnings(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Warnings() { - code_ = 0; - warningMessage_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Warnings(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 2: - return internalGetData(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder.class); - } - - /** - * - * - *
      -     * Warning code for Policy Based Routing. Expect to add values in the
      -     * future.
      -     * 
      - * - * Protobuf enum {@code google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code} - */ - public enum Code implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
      -       * Default value.
      -       * 
      - * - * WARNING_UNSPECIFIED = 0; - */ - WARNING_UNSPECIFIED(0), - /** - * - * - *
      -       * The policy based route is not active and functioning. Common causes are
      -       * the dependent network was deleted or the resource project was turned
      -       * off.
      -       * 
      - * - * RESOURCE_NOT_ACTIVE = 1; - */ - RESOURCE_NOT_ACTIVE(1), - /** - * - * - *
      -       * The policy based route is being modified (e.g. created/deleted) at this
      -       * time.
      -       * 
      - * - * RESOURCE_BEING_MODIFIED = 2; - */ - RESOURCE_BEING_MODIFIED(2), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
      -       * Default value.
      -       * 
      - * - * WARNING_UNSPECIFIED = 0; - */ - public static final int WARNING_UNSPECIFIED_VALUE = 0; - /** - * - * - *
      -       * The policy based route is not active and functioning. Common causes are
      -       * the dependent network was deleted or the resource project was turned
      -       * off.
      -       * 
      - * - * RESOURCE_NOT_ACTIVE = 1; - */ - public static final int RESOURCE_NOT_ACTIVE_VALUE = 1; - /** - * - * - *
      -       * The policy based route is being modified (e.g. created/deleted) at this
      -       * time.
      -       * 
      - * - * RESOURCE_BEING_MODIFIED = 2; - */ - public static final int RESOURCE_BEING_MODIFIED_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 Code 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 Code forNumber(int value) { - switch (value) { - case 0: - return WARNING_UNSPECIFIED; - case 1: - return RESOURCE_NOT_ACTIVE; - case 2: - return RESOURCE_BEING_MODIFIED; - 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 Code findValueByNumber(int number) { - return Code.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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final Code[] VALUES = values(); - - public static Code 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 Code(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code) - } - - public static final int CODE_FIELD_NUMBER = 1; - private int code_ = 0; - /** - * - * - *
      -     * Output only. A warning code, if applicable.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for code. - */ - @java.lang.Override - public int getCodeValue() { - return code_; - } - /** - * - * - *
      -     * Output only. A warning code, if applicable.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The code. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code getCode() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code result = - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code.forNumber(code_); - return result == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code.UNRECOGNIZED - : result; - } - - public static final int DATA_FIELD_NUMBER = 2; - - private static final class DataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_DataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - @SuppressWarnings("serial") - private com.google.protobuf.MapField data_; - - private com.google.protobuf.MapField internalGetData() { - if (data_ == null) { - return com.google.protobuf.MapField.emptyMapField(DataDefaultEntryHolder.defaultEntry); - } - return data_; - } - - public int getDataCount() { - return internalGetData().getMap().size(); - } - /** - * - * - *
      -     * Output only. Metadata about this warning in key: value format. The key should provides
      -     * more detail on the warning being returned. For example, for warnings
      -     * where there are no results in a list request for a particular zone, this
      -     * key might be scope and the key value might be the zone name. Other
      -     * examples might be a key indicating a deprecated resource and a suggested
      -     * replacement.
      -     * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - @java.lang.Override - public boolean containsData(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetData().getMap().containsKey(key); - } - /** Use {@link #getDataMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getData() { - return getDataMap(); - } - /** - * - * - *
      -     * Output only. Metadata about this warning in key: value format. The key should provides
      -     * more detail on the warning being returned. For example, for warnings
      -     * where there are no results in a list request for a particular zone, this
      -     * key might be scope and the key value might be the zone name. Other
      -     * examples might be a key indicating a deprecated resource and a suggested
      -     * replacement.
      -     * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - @java.lang.Override - public java.util.Map getDataMap() { - return internalGetData().getMap(); - } - /** - * - * - *
      -     * Output only. Metadata about this warning in key: value format. The key should provides
      -     * more detail on the warning being returned. For example, for warnings
      -     * where there are no results in a list request for a particular zone, this
      -     * key might be scope and the key value might be the zone name. Other
      -     * examples might be a key indicating a deprecated resource and a suggested
      -     * replacement.
      -     * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - @java.lang.Override - public /* nullable */ java.lang.String getDataOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetData().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * - * - *
      -     * Output only. Metadata about this warning in key: value format. The key should provides
      -     * more detail on the warning being returned. For example, for warnings
      -     * where there are no results in a list request for a particular zone, this
      -     * key might be scope and the key value might be the zone name. Other
      -     * examples might be a key indicating a deprecated resource and a suggested
      -     * replacement.
      -     * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - @java.lang.Override - public java.lang.String getDataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetData().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int WARNING_MESSAGE_FIELD_NUMBER = 3; - - @SuppressWarnings("serial") - private volatile java.lang.Object warningMessage_ = ""; - /** - * - * - *
      -     * Output only. A human-readable description of the warning code.
      -     * 
      - * - * string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The warningMessage. - */ - @java.lang.Override - public java.lang.String getWarningMessage() { - java.lang.Object ref = warningMessage_; - 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(); - warningMessage_ = s; - return s; - } - } - /** - * - * - *
      -     * Output only. A human-readable description of the warning code.
      -     * 
      - * - * string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for warningMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWarningMessageBytes() { - java.lang.Object ref = warningMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - warningMessage_ = 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 (code_ - != com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code - .WARNING_UNSPECIFIED - .getNumber()) { - output.writeEnum(1, code_); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetData(), DataDefaultEntryHolder.defaultEntry, 2); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(warningMessage_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, warningMessage_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (code_ - != com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code - .WARNING_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); - } - for (java.util.Map.Entry entry : - internalGetData().getMap().entrySet()) { - com.google.protobuf.MapEntry data__ = - DataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, data__); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(warningMessage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, warningMessage_); - } - 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.networkconnectivity.v1.PolicyBasedRoute.Warnings)) { - return super.equals(obj); - } - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings other = - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings) obj; - - if (code_ != other.code_) return false; - if (!internalGetData().equals(other.internalGetData())) return false; - if (!getWarningMessage().equals(other.getWarningMessage())) 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) + CODE_FIELD_NUMBER; - hash = (53 * hash) + code_; - if (!internalGetData().getMap().isEmpty()) { - hash = (37 * hash) + DATA_FIELD_NUMBER; - hash = (53 * hash) + internalGetData().hashCode(); - } - hash = (37 * hash) + WARNING_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getWarningMessage().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings 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.networkconnectivity.v1.PolicyBasedRoute.Warnings parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings 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.networkconnectivity.v1.PolicyBasedRoute.Warnings parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
      -     * Informational warning message.
      -     * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings) - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 2: - return internalGetData(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { - switch (number) { - case 2: - return internalGetMutableData(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder.class); - } - - // Construct using - // com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - code_ = 0; - internalGetMutableData().clear(); - warningMessage_ = ""; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_descriptor; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings - getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings build() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings buildPartial() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings result = - new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.code_ = code_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.data_ = internalGetData(); - result.data_.makeImmutable(); - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.warningMessage_ = warningMessage_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings) { - return mergeFrom( - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings other) { - if (other - == com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings - .getDefaultInstance()) return this; - if (other.code_ != 0) { - setCodeValue(other.getCodeValue()); - } - internalGetMutableData().mergeFrom(other.internalGetData()); - bitField0_ |= 0x00000002; - if (!other.getWarningMessage().isEmpty()) { - warningMessage_ = other.warningMessage_; - 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 8: - { - code_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - com.google.protobuf.MapEntry data__ = - input.readMessage( - DataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableData().getMutableMap().put(data__.getKey(), data__.getValue()); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - warningMessage_ = 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 int code_ = 0; - /** - * - * - *
      -       * Output only. A warning code, if applicable.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for code. - */ - @java.lang.Override - public int getCodeValue() { - return code_; - } - /** - * - * - *
      -       * Output only. A warning code, if applicable.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @param value The enum numeric value on the wire for code to set. - * @return This builder for chaining. - */ - public Builder setCodeValue(int value) { - code_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
      -       * Output only. A warning code, if applicable.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The code. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code getCode() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code result = - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code.forNumber(code_); - return result == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code.UNRECOGNIZED - : result; - } - /** - * - * - *
      -       * Output only. A warning code, if applicable.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @param value The code to set. - * @return This builder for chaining. - */ - public Builder setCode( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - code_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
      -       * Output only. A warning code, if applicable.
      -       * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return This builder for chaining. - */ - public Builder clearCode() { - bitField0_ = (bitField0_ & ~0x00000001); - code_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.MapField data_; - - private com.google.protobuf.MapField internalGetData() { - if (data_ == null) { - return com.google.protobuf.MapField.emptyMapField(DataDefaultEntryHolder.defaultEntry); - } - return data_; - } - - private com.google.protobuf.MapField - internalGetMutableData() { - if (data_ == null) { - data_ = com.google.protobuf.MapField.newMapField(DataDefaultEntryHolder.defaultEntry); - } - if (!data_.isMutable()) { - data_ = data_.copy(); - } - bitField0_ |= 0x00000002; - onChanged(); - return data_; - } - - public int getDataCount() { - return internalGetData().getMap().size(); - } - /** - * - * - *
      -       * Output only. Metadata about this warning in key: value format. The key should provides
      -       * more detail on the warning being returned. For example, for warnings
      -       * where there are no results in a list request for a particular zone, this
      -       * key might be scope and the key value might be the zone name. Other
      -       * examples might be a key indicating a deprecated resource and a suggested
      -       * replacement.
      -       * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public boolean containsData(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetData().getMap().containsKey(key); - } - /** Use {@link #getDataMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getData() { - return getDataMap(); - } - /** - * - * - *
      -       * Output only. Metadata about this warning in key: value format. The key should provides
      -       * more detail on the warning being returned. For example, for warnings
      -       * where there are no results in a list request for a particular zone, this
      -       * key might be scope and the key value might be the zone name. Other
      -       * examples might be a key indicating a deprecated resource and a suggested
      -       * replacement.
      -       * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public java.util.Map getDataMap() { - return internalGetData().getMap(); - } - /** - * - * - *
      -       * Output only. Metadata about this warning in key: value format. The key should provides
      -       * more detail on the warning being returned. For example, for warnings
      -       * where there are no results in a list request for a particular zone, this
      -       * key might be scope and the key value might be the zone name. Other
      -       * examples might be a key indicating a deprecated resource and a suggested
      -       * replacement.
      -       * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public /* nullable */ java.lang.String getDataOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetData().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * - * - *
      -       * Output only. Metadata about this warning in key: value format. The key should provides
      -       * more detail on the warning being returned. For example, for warnings
      -       * where there are no results in a list request for a particular zone, this
      -       * key might be scope and the key value might be the zone name. Other
      -       * examples might be a key indicating a deprecated resource and a suggested
      -       * replacement.
      -       * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public java.lang.String getDataOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetData().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearData() { - bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableData().getMutableMap().clear(); - return this; - } - /** - * - * - *
      -       * Output only. Metadata about this warning in key: value format. The key should provides
      -       * more detail on the warning being returned. For example, for warnings
      -       * where there are no results in a list request for a particular zone, this
      -       * key might be scope and the key value might be the zone name. Other
      -       * examples might be a key indicating a deprecated resource and a suggested
      -       * replacement.
      -       * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder removeData(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableData().getMutableMap().remove(key); - return this; - } - /** Use alternate mutation accessors instead. */ - @java.lang.Deprecated - public java.util.Map getMutableData() { - bitField0_ |= 0x00000002; - return internalGetMutableData().getMutableMap(); - } - /** - * - * - *
      -       * Output only. Metadata about this warning in key: value format. The key should provides
      -       * more detail on the warning being returned. For example, for warnings
      -       * where there are no results in a list request for a particular zone, this
      -       * key might be scope and the key value might be the zone name. Other
      -       * examples might be a key indicating a deprecated resource and a suggested
      -       * replacement.
      -       * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder putData(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableData().getMutableMap().put(key, value); - bitField0_ |= 0x00000002; - return this; - } - /** - * - * - *
      -       * Output only. Metadata about this warning in key: value format. The key should provides
      -       * more detail on the warning being returned. For example, for warnings
      -       * where there are no results in a list request for a particular zone, this
      -       * key might be scope and the key value might be the zone name. Other
      -       * examples might be a key indicating a deprecated resource and a suggested
      -       * replacement.
      -       * 
      - * - * map<string, string> data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder putAllData(java.util.Map values) { - internalGetMutableData().getMutableMap().putAll(values); - bitField0_ |= 0x00000002; - return this; - } - - private java.lang.Object warningMessage_ = ""; - /** - * - * - *
      -       * Output only. A human-readable description of the warning code.
      -       * 
      - * - * string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The warningMessage. - */ - public java.lang.String getWarningMessage() { - java.lang.Object ref = warningMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - warningMessage_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -       * Output only. A human-readable description of the warning code.
      -       * 
      - * - * string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for warningMessage. - */ - public com.google.protobuf.ByteString getWarningMessageBytes() { - java.lang.Object ref = warningMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - warningMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -       * Output only. A human-readable description of the warning code.
      -       * 
      - * - * string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The warningMessage to set. - * @return This builder for chaining. - */ - public Builder setWarningMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - warningMessage_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
      -       * Output only. A human-readable description of the warning code.
      -       * 
      - * - * string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearWarningMessage() { - warningMessage_ = getDefaultInstance().getWarningMessage(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * - * - *
      -       * Output only. A human-readable description of the warning code.
      -       * 
      - * - * string warning_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for warningMessage to set. - * @return This builder for chaining. - */ - public Builder setWarningMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - warningMessage_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings) - } - - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings) - private static final com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings(); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Warnings 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.networkconnectivity.v1.PolicyBasedRoute.Warnings - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - private int targetCase_ = 0; - private java.lang.Object target_; - - public enum TargetCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - VIRTUAL_MACHINE(18), - INTERCONNECT_ATTACHMENT(9), - TARGET_NOT_SET(0); - private final int value; - - private TargetCase(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 TargetCase valueOf(int value) { - return forNumber(value); - } - - public static TargetCase forNumber(int value) { - switch (value) { - case 18: - return VIRTUAL_MACHINE; - case 9: - return INTERCONNECT_ATTACHMENT; - case 0: - return TARGET_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public TargetCase getTargetCase() { - return TargetCase.forNumber(targetCase_); - } - - private int nextHopCase_ = 0; - private java.lang.Object nextHop_; - - public enum NextHopCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - NEXT_HOP_ILB_IP(12), - NEXTHOP_NOT_SET(0); - private final int value; - - private NextHopCase(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 NextHopCase valueOf(int value) { - return forNumber(value); - } - - public static NextHopCase forNumber(int value) { - switch (value) { - case 12: - return NEXT_HOP_ILB_IP; - case 0: - return NEXTHOP_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public NextHopCase getNextHopCase() { - return NextHopCase.forNumber(nextHopCase_); - } - - public static final int VIRTUAL_MACHINE_FIELD_NUMBER = 18; - /** - * - * - *
      -   * Optional. VM instances to which this policy based route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the virtualMachine field is set. - */ - @java.lang.Override - public boolean hasVirtualMachine() { - return targetCase_ == 18; - } - /** - * - * - *
      -   * Optional. VM instances to which this policy based route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The virtualMachine. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - getVirtualMachine() { - if (targetCase_ == 18) { - return (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) target_; - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - .getDefaultInstance(); - } - /** - * - * - *
      -   * Optional. VM instances to which this policy based route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachineOrBuilder - getVirtualMachineOrBuilder() { - if (targetCase_ == 18) { - return (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) target_; - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - .getDefaultInstance(); - } - - public static final int INTERCONNECT_ATTACHMENT_FIELD_NUMBER = 9; - /** - * - * - *
      -   * Optional. The interconnect attachments to which this route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the interconnectAttachment field is set. - */ - @java.lang.Override - public boolean hasInterconnectAttachment() { - return targetCase_ == 9; - } - /** - * - * - *
      -   * Optional. The interconnect attachments to which this route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The interconnectAttachment. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - getInterconnectAttachment() { - if (targetCase_ == 9) { - return (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - target_; - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .getDefaultInstance(); - } - /** - * - * - *
      -   * Optional. The interconnect attachments to which this route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachmentOrBuilder - getInterconnectAttachmentOrBuilder() { - if (targetCase_ == 9) { - return (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - target_; - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .getDefaultInstance(); - } - - public static final int NEXT_HOP_ILB_IP_FIELD_NUMBER = 12; - /** - * - * - *
      -   * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -   * handle matching packets. For this version, only next_hop_ilb_ip is
      -   * supported.
      -   * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return Whether the nextHopIlbIp field is set. - */ - public boolean hasNextHopIlbIp() { - return nextHopCase_ == 12; - } - /** - * - * - *
      -   * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -   * handle matching packets. For this version, only next_hop_ilb_ip is
      -   * supported.
      -   * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The nextHopIlbIp. - */ - public java.lang.String getNextHopIlbIp() { - java.lang.Object ref = ""; - if (nextHopCase_ == 12) { - ref = nextHop_; - } - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (nextHopCase_ == 12) { - nextHop_ = s; - } - return s; - } - } - /** - * - * - *
      -   * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -   * handle matching packets. For this version, only next_hop_ilb_ip is
      -   * supported.
      -   * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for nextHopIlbIp. - */ - public com.google.protobuf.ByteString getNextHopIlbIpBytes() { - java.lang.Object ref = ""; - if (nextHopCase_ == 12) { - ref = nextHop_; - } - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (nextHopCase_ == 12) { - nextHop_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - * - * - *
      -   * Immutable. A unique name of the resource in the form of
      -   * `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
      -   * 
      - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @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; - } - } - /** - * - * - *
      -   * Immutable. A unique name of the resource in the form of
      -   * `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
      -   * 
      - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @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 PolicyBasedRoute 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 createTime_ != null; - } - /** - * - * - *
      -   * Output only. Time when the PolicyBasedRoute 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 PolicyBasedRoute 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 PolicyBasedRoute was 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 updateTime_ != null; - } - /** - * - * - *
      -   * Output only. Time when the PolicyBasedRoute was 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 PolicyBasedRoute was 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.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_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(); - } - /** - * - * - *
      -   * User-defined labels.
      -   * 
      - * - * map<string, string> labels = 4; - */ - @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(); - } - /** - * - * - *
      -   * User-defined labels.
      -   * 
      - * - * map<string, string> labels = 4; - */ - @java.lang.Override - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - * - * - *
      -   * User-defined labels.
      -   * 
      - * - * map<string, string> labels = 4; - */ - @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; - } - /** - * - * - *
      -   * User-defined labels.
      -   * 
      - * - * map<string, string> labels = 4; - */ - @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 DESCRIPTION_FIELD_NUMBER = 5; - - @SuppressWarnings("serial") - private volatile java.lang.Object description_ = ""; - /** - * - * - *
      -   * Optional. An optional description of this resource. Provide this field when you
      -   * create the resource.
      -   * 
      - * - * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } - /** - * - * - *
      -   * Optional. An optional description of this resource. Provide this field when you
      -   * create the resource.
      -   * 
      - * - * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NETWORK_FIELD_NUMBER = 6; - - @SuppressWarnings("serial") - private volatile java.lang.Object network_ = ""; - /** - * - * - *
      -   * Required. Fully-qualified URL of the network that this route applies to. e.g.
      -   * projects/my-project/global/networks/my-network.
      -   * 
      - * - * - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The network. - */ - @java.lang.Override - public java.lang.String getNetwork() { - java.lang.Object ref = network_; - 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(); - network_ = s; - return s; - } - } - /** - * - * - *
      -   * Required. Fully-qualified URL of the network that this route applies to. e.g.
      -   * projects/my-project/global/networks/my-network.
      -   * 
      - * - * - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for network. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { - java.lang.Object ref = network_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - network_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILTER_FIELD_NUMBER = 10; - private com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter_; - /** - * - * - *
      -   * Required. The filter to match L4 traffic.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the filter field is set. - */ - @java.lang.Override - public boolean hasFilter() { - return filter_ != null; - } - /** - * - * - *
      -   * Required. The filter to match L4 traffic.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The filter. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter getFilter() { - return filter_ == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.getDefaultInstance() - : filter_; - } - /** - * - * - *
      -   * Required. The filter to match L4 traffic.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.FilterOrBuilder - getFilterOrBuilder() { - return filter_ == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.getDefaultInstance() - : filter_; - } - - public static final int PRIORITY_FIELD_NUMBER = 11; - private int priority_ = 0; - /** - * - * - *
      -   * Optional. The priority of this policy based route. Priority is used to break ties in
      -   * cases where there are more than one matching policy based routes found. In
      -   * cases where multiple policy based routes are matched, the one with the
      -   * lowest-numbered priority value wins. The default value is 1000. The
      -   * priority value must be from 1 to 65535, inclusive.
      -   * 
      - * - * int32 priority = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The priority. - */ - @java.lang.Override - public int getPriority() { - return priority_; - } - - public static final int WARNINGS_FIELD_NUMBER = 14; - - @SuppressWarnings("serial") - private java.util.List - warnings_; - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public java.util.List - getWarningsList() { - return warnings_; - } - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public java.util.List< - ? extends com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder> - getWarningsOrBuilderList() { - return warnings_; - } - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public int getWarningsCount() { - return warnings_.size(); - } - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings getWarnings(int index) { - return warnings_.get(index); - } - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder - getWarningsOrBuilder(int index) { - return warnings_.get(index); - } - - public static final int SELF_LINK_FIELD_NUMBER = 15; - - @SuppressWarnings("serial") - private volatile java.lang.Object selfLink_ = ""; - /** - * - * - *
      -   * Output only. Server-defined fully-qualified URL for this resource.
      -   * 
      - * - * string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The selfLink. - */ - @java.lang.Override - public java.lang.String getSelfLink() { - java.lang.Object ref = selfLink_; - 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(); - selfLink_ = s; - return s; - } - } - /** - * - * - *
      -   * Output only. Server-defined fully-qualified URL for this resource.
      -   * 
      - * - * string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for selfLink. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSelfLinkBytes() { - java.lang.Object ref = selfLink_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - selfLink_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int KIND_FIELD_NUMBER = 16; - - @SuppressWarnings("serial") - private volatile java.lang.Object kind_ = ""; - /** - * - * - *
      -   * Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
      -   * Policy Based Route resources.
      -   * 
      - * - * string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The kind. - */ - @java.lang.Override - public java.lang.String getKind() { - java.lang.Object ref = kind_; - 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(); - kind_ = s; - return s; - } - } - /** - * - * - *
      -   * Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
      -   * Policy Based Route resources.
      -   * 
      - * - * string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for kind. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (createTime_ != null) { - output.writeMessage(2, getCreateTime()); - } - if (updateTime_ != null) { - output.writeMessage(3, getUpdateTime()); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, network_); - } - if (targetCase_ == 9) { - output.writeMessage( - 9, - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - target_); - } - if (filter_ != null) { - output.writeMessage(10, getFilter()); - } - if (priority_ != 0) { - output.writeInt32(11, priority_); - } - if (nextHopCase_ == 12) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, nextHop_); - } - for (int i = 0; i < warnings_.size(); i++) { - output.writeMessage(14, warnings_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, selfLink_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 16, kind_); - } - if (targetCase_ == 18) { - output.writeMessage( - 18, (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) target_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); - } - if (updateTime_ != null) { - 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__); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, network_); - } - if (targetCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - target_); - } - if (filter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getFilter()); - } - if (priority_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, priority_); - } - if (nextHopCase_ == 12) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, nextHop_); - } - for (int i = 0; i < warnings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, warnings_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, selfLink_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, kind_); - } - if (targetCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 18, - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) target_); - } - 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.networkconnectivity.v1.PolicyBasedRoute)) { - return super.equals(obj); - } - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute other = - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute) 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 (!getDescription().equals(other.getDescription())) return false; - if (!getNetwork().equals(other.getNetwork())) return false; - if (hasFilter() != other.hasFilter()) return false; - if (hasFilter()) { - if (!getFilter().equals(other.getFilter())) return false; - } - if (getPriority() != other.getPriority()) return false; - if (!getWarningsList().equals(other.getWarningsList())) return false; - if (!getSelfLink().equals(other.getSelfLink())) return false; - if (!getKind().equals(other.getKind())) return false; - if (!getTargetCase().equals(other.getTargetCase())) return false; - switch (targetCase_) { - case 18: - if (!getVirtualMachine().equals(other.getVirtualMachine())) return false; - break; - case 9: - if (!getInterconnectAttachment().equals(other.getInterconnectAttachment())) return false; - break; - case 0: - default: - } - if (!getNextHopCase().equals(other.getNextHopCase())) return false; - switch (nextHopCase_) { - case 12: - if (!getNextHopIlbIp().equals(other.getNextHopIlbIp())) return false; - break; - case 0: - default: - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + 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(); - } - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - hash = (37 * hash) + NETWORK_FIELD_NUMBER; - hash = (53 * hash) + getNetwork().hashCode(); - if (hasFilter()) { - hash = (37 * hash) + FILTER_FIELD_NUMBER; - hash = (53 * hash) + getFilter().hashCode(); - } - hash = (37 * hash) + PRIORITY_FIELD_NUMBER; - hash = (53 * hash) + getPriority(); - if (getWarningsCount() > 0) { - hash = (37 * hash) + WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + getWarningsList().hashCode(); - } - hash = (37 * hash) + SELF_LINK_FIELD_NUMBER; - hash = (53 * hash) + getSelfLink().hashCode(); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - switch (targetCase_) { - case 18: - hash = (37 * hash) + VIRTUAL_MACHINE_FIELD_NUMBER; - hash = (53 * hash) + getVirtualMachine().hashCode(); - break; - case 9: - hash = (37 * hash) + INTERCONNECT_ATTACHMENT_FIELD_NUMBER; - hash = (53 * hash) + getInterconnectAttachment().hashCode(); - break; - case 0: - default: - } - switch (nextHopCase_) { - case 12: - hash = (37 * hash) + NEXT_HOP_ILB_IP_FIELD_NUMBER; - hash = (53 * hash) + getNextHopIlbIp().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute 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.networkconnectivity.v1.PolicyBasedRoute parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute 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.networkconnectivity.v1.PolicyBasedRoute parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
      -   * Policy Based Routes (PBR) are more powerful routes that allows GCP customers
      -   * to route their L4 network traffic based on not just destination IP, but also
      -   * source IP, protocol and more. A PBR always take precedence when it conflicts
      -   * with other types of routes.
      -   * Next id: 19
      -   * 
      - * - * Protobuf type {@code google.cloud.networkconnectivity.v1.PolicyBasedRoute} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.networkconnectivity.v1.PolicyBasedRoute) - com.google.cloud.networkconnectivity.v1.PolicyBasedRouteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 4: - return internalGetLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { - switch (number) { - case 4: - return internalGetMutableLabels(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.class, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Builder.class); - } - - // Construct using com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (virtualMachineBuilder_ != null) { - virtualMachineBuilder_.clear(); - } - if (interconnectAttachmentBuilder_ != null) { - interconnectAttachmentBuilder_.clear(); - } - name_ = ""; - createTime_ = null; - if (createTimeBuilder_ != null) { - createTimeBuilder_.dispose(); - createTimeBuilder_ = null; - } - updateTime_ = null; - if (updateTimeBuilder_ != null) { - updateTimeBuilder_.dispose(); - updateTimeBuilder_ = null; - } - internalGetMutableLabels().clear(); - description_ = ""; - network_ = ""; - filter_ = null; - if (filterBuilder_ != null) { - filterBuilder_.dispose(); - filterBuilder_ = null; - } - priority_ = 0; - if (warningsBuilder_ == null) { - warnings_ = java.util.Collections.emptyList(); - } else { - warnings_ = null; - warningsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000800); - selfLink_ = ""; - kind_ = ""; - targetCase_ = 0; - target_ = null; - nextHopCase_ = 0; - nextHop_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingProto - .internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute getDefaultInstanceForType() { - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute build() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute buildPartial() { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute result = - new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - buildPartialOneofs(result); - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute result) { - if (warningsBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0)) { - warnings_ = java.util.Collections.unmodifiableList(warnings_); - bitField0_ = (bitField0_ & ~0x00000800); - } - result.warnings_ = warnings_; - } else { - result.warnings_ = warningsBuilder_.build(); - } - } - - private void buildPartial0(com.google.cloud.networkconnectivity.v1.PolicyBasedRoute result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000008) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.labels_ = internalGetLabels(); - result.labels_.makeImmutable(); - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.description_ = description_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.network_ = network_; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.filter_ = filterBuilder_ == null ? filter_ : filterBuilder_.build(); - } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.priority_ = priority_; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - result.selfLink_ = selfLink_; - } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.kind_ = kind_; - } - } - - private void buildPartialOneofs( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute result) { - result.targetCase_ = targetCase_; - result.target_ = this.target_; - if (targetCase_ == 18 && virtualMachineBuilder_ != null) { - result.target_ = virtualMachineBuilder_.build(); - } - if (targetCase_ == 9 && interconnectAttachmentBuilder_ != null) { - result.target_ = interconnectAttachmentBuilder_.build(); - } - result.nextHopCase_ = nextHopCase_; - result.nextHop_ = this.nextHop_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.networkconnectivity.v1.PolicyBasedRoute) { - return mergeFrom((com.google.cloud.networkconnectivity.v1.PolicyBasedRoute) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.networkconnectivity.v1.PolicyBasedRoute other) { - if (other == com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000008; - onChanged(); - } - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - if (other.hasUpdateTime()) { - mergeUpdateTime(other.getUpdateTime()); - } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - bitField0_ |= 0x00000040; - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - bitField0_ |= 0x00000080; - onChanged(); - } - if (!other.getNetwork().isEmpty()) { - network_ = other.network_; - bitField0_ |= 0x00000100; - onChanged(); - } - if (other.hasFilter()) { - mergeFilter(other.getFilter()); - } - if (other.getPriority() != 0) { - setPriority(other.getPriority()); - } - if (warningsBuilder_ == null) { - if (!other.warnings_.isEmpty()) { - if (warnings_.isEmpty()) { - warnings_ = other.warnings_; - bitField0_ = (bitField0_ & ~0x00000800); - } else { - ensureWarningsIsMutable(); - warnings_.addAll(other.warnings_); - } - onChanged(); - } - } else { - if (!other.warnings_.isEmpty()) { - if (warningsBuilder_.isEmpty()) { - warningsBuilder_.dispose(); - warningsBuilder_ = null; - warnings_ = other.warnings_; - bitField0_ = (bitField0_ & ~0x00000800); - warningsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWarningsFieldBuilder() - : null; - } else { - warningsBuilder_.addAllMessages(other.warnings_); - } - } - } - if (!other.getSelfLink().isEmpty()) { - selfLink_ = other.selfLink_; - bitField0_ |= 0x00001000; - onChanged(); - } - if (!other.getKind().isEmpty()) { - kind_ = other.kind_; - bitField0_ |= 0x00002000; - onChanged(); - } - switch (other.getTargetCase()) { - case VIRTUAL_MACHINE: - { - mergeVirtualMachine(other.getVirtualMachine()); - break; - } - case INTERCONNECT_ATTACHMENT: - { - mergeInterconnectAttachment(other.getInterconnectAttachment()); - break; - } - case TARGET_NOT_SET: - { - break; - } - } - switch (other.getNextHopCase()) { - case NEXT_HOP_ILB_IP: - { - nextHopCase_ = 12; - nextHop_ = other.nextHop_; - onChanged(); - break; - } - case NEXTHOP_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: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 34 - case 42: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 42 - case 50: - { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 50 - case 74: - { - input.readMessage( - getInterconnectAttachmentFieldBuilder().getBuilder(), extensionRegistry); - targetCase_ = 9; - break; - } // case 74 - case 82: - { - input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 88: - { - priority_ = input.readInt32(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 98: - { - java.lang.String s = input.readStringRequireUtf8(); - nextHopCase_ = 12; - nextHop_ = s; - break; - } // case 98 - case 114: - { - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings m = - input.readMessage( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.parser(), - extensionRegistry); - if (warningsBuilder_ == null) { - ensureWarningsIsMutable(); - warnings_.add(m); - } else { - warningsBuilder_.addMessage(m); - } - break; - } // case 114 - case 122: - { - selfLink_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 122 - case 130: - { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 130 - case 146: - { - input.readMessage(getVirtualMachineFieldBuilder().getBuilder(), extensionRegistry); - targetCase_ = 18; - break; - } // case 146 - 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 targetCase_ = 0; - private java.lang.Object target_; - - public TargetCase getTargetCase() { - return TargetCase.forNumber(targetCase_); - } - - public Builder clearTarget() { - targetCase_ = 0; - target_ = null; - onChanged(); - return this; - } - - private int nextHopCase_ = 0; - private java.lang.Object nextHop_; - - public NextHopCase getNextHopCase() { - return NextHopCase.forNumber(nextHopCase_); - } - - public Builder clearNextHop() { - nextHopCase_ = 0; - nextHop_ = null; - onChanged(); - return this; - } - - private int bitField0_; - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachineOrBuilder> - virtualMachineBuilder_; - /** - * - * - *
      -     * Optional. VM instances to which this policy based route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the virtualMachine field is set. - */ - @java.lang.Override - public boolean hasVirtualMachine() { - return targetCase_ == 18; - } - /** - * - * - *
      -     * Optional. VM instances to which this policy based route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The virtualMachine. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - getVirtualMachine() { - if (virtualMachineBuilder_ == null) { - if (targetCase_ == 18) { - return (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) target_; - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - .getDefaultInstance(); - } else { - if (targetCase_ == 18) { - return virtualMachineBuilder_.getMessage(); - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - .getDefaultInstance(); - } - } - /** - * - * - *
      -     * Optional. VM instances to which this policy based route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setVirtualMachine( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine value) { - if (virtualMachineBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - virtualMachineBuilder_.setMessage(value); - } - targetCase_ = 18; - return this; - } - /** - * - * - *
      -     * Optional. VM instances to which this policy based route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setVirtualMachine( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.Builder - builderForValue) { - if (virtualMachineBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - virtualMachineBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 18; - return this; - } - /** - * - * - *
      -     * Optional. VM instances to which this policy based route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder mergeVirtualMachine( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine value) { - if (virtualMachineBuilder_ == null) { - if (targetCase_ == 18 - && target_ - != com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - .getDefaultInstance()) { - target_ = - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.newBuilder( - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) - target_) - .mergeFrom(value) - .buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 18) { - virtualMachineBuilder_.mergeFrom(value); - } else { - virtualMachineBuilder_.setMessage(value); - } - } - targetCase_ = 18; - return this; - } - /** - * - * - *
      -     * Optional. VM instances to which this policy based route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder clearVirtualMachine() { - if (virtualMachineBuilder_ == null) { - if (targetCase_ == 18) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 18) { - targetCase_ = 0; - target_ = null; - } - virtualMachineBuilder_.clear(); - } - return this; - } - /** - * - * - *
      -     * Optional. VM instances to which this policy based route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.Builder - getVirtualMachineBuilder() { - return getVirtualMachineFieldBuilder().getBuilder(); - } - /** - * - * - *
      -     * Optional. VM instances to which this policy based route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachineOrBuilder - getVirtualMachineOrBuilder() { - if ((targetCase_ == 18) && (virtualMachineBuilder_ != null)) { - return virtualMachineBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 18) { - return (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) target_; - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - .getDefaultInstance(); - } - } - /** - * - * - *
      -     * Optional. VM instances to which this policy based route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachineOrBuilder> - getVirtualMachineFieldBuilder() { - if (virtualMachineBuilder_ == null) { - if (!(targetCase_ == 18)) { - target_ = - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine - .getDefaultInstance(); - } - virtualMachineBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachineOrBuilder>( - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine) target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 18; - onChanged(); - return virtualMachineBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute - .InterconnectAttachmentOrBuilder> - interconnectAttachmentBuilder_; - /** - * - * - *
      -     * Optional. The interconnect attachments to which this route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the interconnectAttachment field is set. - */ - @java.lang.Override - public boolean hasInterconnectAttachment() { - return targetCase_ == 9; - } - /** - * - * - *
      -     * Optional. The interconnect attachments to which this route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The interconnectAttachment. - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - getInterconnectAttachment() { - if (interconnectAttachmentBuilder_ == null) { - if (targetCase_ == 9) { - return (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - target_; - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .getDefaultInstance(); - } else { - if (targetCase_ == 9) { - return interconnectAttachmentBuilder_.getMessage(); - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .getDefaultInstance(); - } - } - /** - * - * - *
      -     * Optional. The interconnect attachments to which this route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setInterconnectAttachment( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment value) { - if (interconnectAttachmentBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - target_ = value; - onChanged(); - } else { - interconnectAttachmentBuilder_.setMessage(value); - } - targetCase_ = 9; - return this; - } - /** - * - * - *
      -     * Optional. The interconnect attachments to which this route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder setInterconnectAttachment( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment.Builder - builderForValue) { - if (interconnectAttachmentBuilder_ == null) { - target_ = builderForValue.build(); - onChanged(); - } else { - interconnectAttachmentBuilder_.setMessage(builderForValue.build()); - } - targetCase_ = 9; - return this; - } - /** - * - * - *
      -     * Optional. The interconnect attachments to which this route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder mergeInterconnectAttachment( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment value) { - if (interconnectAttachmentBuilder_ == null) { - if (targetCase_ == 9 - && target_ - != com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .getDefaultInstance()) { - target_ = - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .newBuilder( - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute - .InterconnectAttachment) - target_) - .mergeFrom(value) - .buildPartial(); - } else { - target_ = value; - } - onChanged(); - } else { - if (targetCase_ == 9) { - interconnectAttachmentBuilder_.mergeFrom(value); - } else { - interconnectAttachmentBuilder_.setMessage(value); - } - } - targetCase_ = 9; - return this; - } - /** - * - * - *
      -     * Optional. The interconnect attachments to which this route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public Builder clearInterconnectAttachment() { - if (interconnectAttachmentBuilder_ == null) { - if (targetCase_ == 9) { - targetCase_ = 0; - target_ = null; - onChanged(); - } - } else { - if (targetCase_ == 9) { - targetCase_ = 0; - target_ = null; - } - interconnectAttachmentBuilder_.clear(); - } - return this; - } - /** - * - * - *
      -     * Optional. The interconnect attachments to which this route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment.Builder - getInterconnectAttachmentBuilder() { - return getInterconnectAttachmentFieldBuilder().getBuilder(); - } - /** - * - * - *
      -     * Optional. The interconnect attachments to which this route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - @java.lang.Override - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachmentOrBuilder - getInterconnectAttachmentOrBuilder() { - if ((targetCase_ == 9) && (interconnectAttachmentBuilder_ != null)) { - return interconnectAttachmentBuilder_.getMessageOrBuilder(); - } else { - if (targetCase_ == 9) { - return (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - target_; - } - return com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .getDefaultInstance(); - } - } - /** - * - * - *
      -     * Optional. The interconnect attachments to which this route applies to.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute - .InterconnectAttachmentOrBuilder> - getInterconnectAttachmentFieldBuilder() { - if (interconnectAttachmentBuilder_ == null) { - if (!(targetCase_ == 9)) { - target_ = - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .getDefaultInstance(); - } - interconnectAttachmentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - .Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute - .InterconnectAttachmentOrBuilder>( - (com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment) - target_, - getParentForChildren(), - isClean()); - target_ = null; - } - targetCase_ = 9; - onChanged(); - return interconnectAttachmentBuilder_; - } - - /** - * - * - *
      -     * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -     * handle matching packets. For this version, only next_hop_ilb_ip is
      -     * supported.
      -     * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return Whether the nextHopIlbIp field is set. - */ - @java.lang.Override - public boolean hasNextHopIlbIp() { - return nextHopCase_ == 12; - } - /** - * - * - *
      -     * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -     * handle matching packets. For this version, only next_hop_ilb_ip is
      -     * supported.
      -     * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The nextHopIlbIp. - */ - @java.lang.Override - public java.lang.String getNextHopIlbIp() { - java.lang.Object ref = ""; - if (nextHopCase_ == 12) { - ref = nextHop_; - } - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (nextHopCase_ == 12) { - nextHop_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -     * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -     * handle matching packets. For this version, only next_hop_ilb_ip is
      -     * supported.
      -     * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for nextHopIlbIp. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNextHopIlbIpBytes() { - java.lang.Object ref = ""; - if (nextHopCase_ == 12) { - ref = nextHop_; - } - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - if (nextHopCase_ == 12) { - nextHop_ = b; - } - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -     * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -     * handle matching packets. For this version, only next_hop_ilb_ip is
      -     * supported.
      -     * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The nextHopIlbIp to set. - * @return This builder for chaining. - */ - public Builder setNextHopIlbIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - nextHopCase_ = 12; - nextHop_ = value; - onChanged(); - return this; - } - /** - * - * - *
      -     * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -     * handle matching packets. For this version, only next_hop_ilb_ip is
      -     * supported.
      -     * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearNextHopIlbIp() { - if (nextHopCase_ == 12) { - nextHopCase_ = 0; - nextHop_ = null; - onChanged(); - } - return this; - } - /** - * - * - *
      -     * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -     * handle matching packets. For this version, only next_hop_ilb_ip is
      -     * supported.
      -     * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for nextHopIlbIp to set. - * @return This builder for chaining. - */ - public Builder setNextHopIlbIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - nextHopCase_ = 12; - nextHop_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
      -     * Immutable. A unique name of the resource in the form of
      -     * `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
      -     * 
      - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @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; - } - } - /** - * - * - *
      -     * Immutable. A unique name of the resource in the form of
      -     * `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
      -     * 
      - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @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; - } - } - /** - * - * - *
      -     * Immutable. A unique name of the resource in the form of
      -     * `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
      -     * 
      - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @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_ |= 0x00000008; - onChanged(); - return this; - } - /** - * - * - *
      -     * Immutable. A unique name of the resource in the form of
      -     * `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
      -     * 
      - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - /** - * - * - *
      -     * Immutable. A unique name of the resource in the form of
      -     * `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
      -     * 
      - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @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_ |= 0x00000008; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute 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_ & 0x00000010) != 0); - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute 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 PolicyBasedRoute 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_ |= 0x00000010; - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute 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_ |= 0x00000010; - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute 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_ & 0x00000010) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getCreateTimeBuilder().mergeFrom(value); - } else { - createTime_ = value; - } - } else { - createTimeBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute was created.
      -     * 
      - * - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearCreateTime() { - bitField0_ = (bitField0_ & ~0x00000010); - createTime_ = null; - if (createTimeBuilder_ != null) { - createTimeBuilder_.dispose(); - createTimeBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute was created.
      -     * 
      - * - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute 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 PolicyBasedRoute was created.
      -     * 
      - * - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - 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.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute was 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_ & 0x00000020) != 0); - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute was 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 PolicyBasedRoute was 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_ |= 0x00000020; - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute was 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_ |= 0x00000020; - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute was 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_ & 0x00000020) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getUpdateTimeBuilder().mergeFrom(value); - } else { - updateTime_ = value; - } - } else { - updateTimeBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute was updated.
      -     * 
      - * - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearUpdateTime() { - bitField0_ = (bitField0_ & ~0x00000020); - updateTime_ = null; - if (updateTimeBuilder_ != null) { - updateTimeBuilder_.dispose(); - updateTimeBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute was updated.
      -     * 
      - * - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - bitField0_ |= 0x00000020; - onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
      -     * Output only. Time when the PolicyBasedRoute was 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 PolicyBasedRoute was updated.
      -     * 
      - * - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { - if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - 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_ |= 0x00000040; - onChanged(); - return labels_; - } - - public int getLabelsCount() { - return internalGetLabels().getMap().size(); - } - /** - * - * - *
      -     * User-defined labels.
      -     * 
      - * - * map<string, string> labels = 4; - */ - @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(); - } - /** - * - * - *
      -     * User-defined labels.
      -     * 
      - * - * map<string, string> labels = 4; - */ - @java.lang.Override - public java.util.Map getLabelsMap() { - return internalGetLabels().getMap(); - } - /** - * - * - *
      -     * User-defined labels.
      -     * 
      - * - * map<string, string> labels = 4; - */ - @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; - } - /** - * - * - *
      -     * User-defined labels.
      -     * 
      - * - * map<string, string> labels = 4; - */ - @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_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); - return this; - } - /** - * - * - *
      -     * User-defined labels.
      -     * 
      - * - * map<string, string> labels = 4; - */ - 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_ |= 0x00000040; - return internalGetMutableLabels().getMutableMap(); - } - /** - * - * - *
      -     * User-defined labels.
      -     * 
      - * - * map<string, string> labels = 4; - */ - 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_ |= 0x00000040; - return this; - } - /** - * - * - *
      -     * User-defined labels.
      -     * 
      - * - * map<string, string> labels = 4; - */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); - bitField0_ |= 0x00000040; - return this; - } - - private java.lang.Object description_ = ""; - /** - * - * - *
      -     * Optional. An optional description of this resource. Provide this field when you
      -     * create the resource.
      -     * 
      - * - * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The description. - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -     * Optional. An optional description of this resource. Provide this field when you
      -     * create the resource.
      -     * 
      - * - * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for description. - */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -     * Optional. An optional description of this resource. Provide this field when you
      -     * create the resource.
      -     * 
      - * - * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The description to set. - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - description_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; - } - /** - * - * - *
      -     * Optional. An optional description of this resource. Provide this field when you
      -     * create the resource.
      -     * 
      - * - * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); - return this; - } - /** - * - * - *
      -     * Optional. An optional description of this resource. Provide this field when you
      -     * create the resource.
      -     * 
      - * - * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for description to set. - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - description_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; - } - - private java.lang.Object network_ = ""; - /** - * - * - *
      -     * Required. Fully-qualified URL of the network that this route applies to. e.g.
      -     * projects/my-project/global/networks/my-network.
      -     * 
      - * - * - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The network. - */ - public java.lang.String getNetwork() { - java.lang.Object ref = network_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - network_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -     * Required. Fully-qualified URL of the network that this route applies to. e.g.
      -     * projects/my-project/global/networks/my-network.
      -     * 
      - * - * - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for network. - */ - public com.google.protobuf.ByteString getNetworkBytes() { - java.lang.Object ref = network_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - network_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -     * Required. Fully-qualified URL of the network that this route applies to. e.g.
      -     * projects/my-project/global/networks/my-network.
      -     * 
      - * - * - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The network to set. - * @return This builder for chaining. - */ - public Builder setNetwork(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - network_ = value; - bitField0_ |= 0x00000100; - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. Fully-qualified URL of the network that this route applies to. e.g.
      -     * projects/my-project/global/networks/my-network.
      -     * 
      - * - * - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearNetwork() { - network_ = getDefaultInstance().getNetwork(); - bitField0_ = (bitField0_ & ~0x00000100); - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. Fully-qualified URL of the network that this route applies to. e.g.
      -     * projects/my-project/global/networks/my-network.
      -     * 
      - * - * - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for network to set. - * @return This builder for chaining. - */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - network_ = value; - bitField0_ |= 0x00000100; - onChanged(); - return this; - } - - private com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.FilterOrBuilder> - filterBuilder_; - /** - * - * - *
      -     * Required. The filter to match L4 traffic.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the filter field is set. - */ - public boolean hasFilter() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * - * - *
      -     * Required. The filter to match L4 traffic.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The filter. - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter getFilter() { - if (filterBuilder_ == null) { - return filter_ == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.getDefaultInstance() - : filter_; - } else { - return filterBuilder_.getMessage(); - } - } - /** - * - * - *
      -     * Required. The filter to match L4 traffic.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setFilter( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter value) { - if (filterBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - filter_ = value; - } else { - filterBuilder_.setMessage(value); - } - bitField0_ |= 0x00000200; - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. The filter to match L4 traffic.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder setFilter( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.Builder builderForValue) { - if (filterBuilder_ == null) { - filter_ = builderForValue.build(); - } else { - filterBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000200; - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. The filter to match L4 traffic.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder mergeFilter( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter value) { - if (filterBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) - && filter_ != null - && filter_ - != com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter - .getDefaultInstance()) { - getFilterBuilder().mergeFrom(value); - } else { - filter_ = value; - } - } else { - filterBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000200; - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. The filter to match L4 traffic.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public Builder clearFilter() { - bitField0_ = (bitField0_ & ~0x00000200); - filter_ = null; - if (filterBuilder_ != null) { - filterBuilder_.dispose(); - filterBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
      -     * Required. The filter to match L4 traffic.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.Builder - getFilterBuilder() { - bitField0_ |= 0x00000200; - onChanged(); - return getFilterFieldBuilder().getBuilder(); - } - /** - * - * - *
      -     * Required. The filter to match L4 traffic.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.FilterOrBuilder - getFilterOrBuilder() { - if (filterBuilder_ != null) { - return filterBuilder_.getMessageOrBuilder(); - } else { - return filter_ == null - ? com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.getDefaultInstance() - : filter_; - } - } - /** - * - * - *
      -     * Required. The filter to match L4 traffic.
      -     * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.FilterOrBuilder> - getFilterFieldBuilder() { - if (filterBuilder_ == null) { - filterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.FilterOrBuilder>( - getFilter(), getParentForChildren(), isClean()); - filter_ = null; - } - return filterBuilder_; - } - - private int priority_; - /** - * - * - *
      -     * Optional. The priority of this policy based route. Priority is used to break ties in
      -     * cases where there are more than one matching policy based routes found. In
      -     * cases where multiple policy based routes are matched, the one with the
      -     * lowest-numbered priority value wins. The default value is 1000. The
      -     * priority value must be from 1 to 65535, inclusive.
      -     * 
      - * - * int32 priority = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The priority. - */ - @java.lang.Override - public int getPriority() { - return priority_; - } - /** - * - * - *
      -     * Optional. The priority of this policy based route. Priority is used to break ties in
      -     * cases where there are more than one matching policy based routes found. In
      -     * cases where multiple policy based routes are matched, the one with the
      -     * lowest-numbered priority value wins. The default value is 1000. The
      -     * priority value must be from 1 to 65535, inclusive.
      -     * 
      - * - * int32 priority = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The priority to set. - * @return This builder for chaining. - */ - public Builder setPriority(int value) { - - priority_ = value; - bitField0_ |= 0x00000400; - onChanged(); - return this; - } - /** - * - * - *
      -     * Optional. The priority of this policy based route. Priority is used to break ties in
      -     * cases where there are more than one matching policy based routes found. In
      -     * cases where multiple policy based routes are matched, the one with the
      -     * lowest-numbered priority value wins. The default value is 1000. The
      -     * priority value must be from 1 to 65535, inclusive.
      -     * 
      - * - * int32 priority = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearPriority() { - bitField0_ = (bitField0_ & ~0x00000400); - priority_ = 0; - onChanged(); - return this; - } - - private java.util.List - warnings_ = java.util.Collections.emptyList(); - - private void ensureWarningsIsMutable() { - if (!((bitField0_ & 0x00000800) != 0)) { - warnings_ = - new java.util.ArrayList< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings>(warnings_); - bitField0_ |= 0x00000800; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder> - warningsBuilder_; - - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public java.util.List - getWarningsList() { - if (warningsBuilder_ == null) { - return java.util.Collections.unmodifiableList(warnings_); - } else { - return warningsBuilder_.getMessageList(); - } - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public int getWarningsCount() { - if (warningsBuilder_ == null) { - return warnings_.size(); - } else { - return warningsBuilder_.getCount(); - } - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings getWarnings( - int index) { - if (warningsBuilder_ == null) { - return warnings_.get(index); - } else { - return warningsBuilder_.getMessage(index); - } - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setWarnings( - int index, com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings value) { - if (warningsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); - warnings_.set(index, value); - onChanged(); - } else { - warningsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setWarnings( - int index, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder builderForValue) { - if (warningsBuilder_ == null) { - ensureWarningsIsMutable(); - warnings_.set(index, builderForValue.build()); - onChanged(); - } else { - warningsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addWarnings( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings value) { - if (warningsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); - warnings_.add(value); - onChanged(); - } else { - warningsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addWarnings( - int index, com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings value) { - if (warningsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureWarningsIsMutable(); - warnings_.add(index, value); - onChanged(); - } else { - warningsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addWarnings( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder builderForValue) { - if (warningsBuilder_ == null) { - ensureWarningsIsMutable(); - warnings_.add(builderForValue.build()); - onChanged(); - } else { - warningsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addWarnings( - int index, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder builderForValue) { - if (warningsBuilder_ == null) { - ensureWarningsIsMutable(); - warnings_.add(index, builderForValue.build()); - onChanged(); - } else { - warningsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder addAllWarnings( - java.lang.Iterable< - ? extends com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings> - values) { - if (warningsBuilder_ == null) { - ensureWarningsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, warnings_); - onChanged(); - } else { - warningsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearWarnings() { - if (warningsBuilder_ == null) { - warnings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000800); - onChanged(); - } else { - warningsBuilder_.clear(); - } - return this; - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder removeWarnings(int index) { - if (warningsBuilder_ == null) { - ensureWarningsIsMutable(); - warnings_.remove(index); - onChanged(); - } else { - warningsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder - getWarningsBuilder(int index) { - return getWarningsFieldBuilder().getBuilder(index); - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder - getWarningsOrBuilder(int index) { - if (warningsBuilder_ == null) { - return warnings_.get(index); - } else { - return warningsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public java.util.List< - ? extends com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder> - getWarningsOrBuilderList() { - if (warningsBuilder_ != null) { - return warningsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(warnings_); - } - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder - addWarningsBuilder() { - return getWarningsFieldBuilder() - .addBuilder( - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings - .getDefaultInstance()); - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder - addWarningsBuilder(int index) { - return getWarningsFieldBuilder() - .addBuilder( - index, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings - .getDefaultInstance()); - } - /** - * - * - *
      -     * Output only. If potential misconfigurations are detected for this route,
      -     * this field will be populated with warning messages.
      -     * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public java.util.List - getWarningsBuilderList() { - return getWarningsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder> - getWarningsFieldBuilder() { - if (warningsBuilder_ == null) { - warningsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings.Builder, - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder>( - warnings_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); - warnings_ = null; - } - return warningsBuilder_; - } - - private java.lang.Object selfLink_ = ""; - /** - * - * - *
      -     * Output only. Server-defined fully-qualified URL for this resource.
      -     * 
      - * - * string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The selfLink. - */ - public java.lang.String getSelfLink() { - java.lang.Object ref = selfLink_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - selfLink_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -     * Output only. Server-defined fully-qualified URL for this resource.
      -     * 
      - * - * string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for selfLink. - */ - public com.google.protobuf.ByteString getSelfLinkBytes() { - java.lang.Object ref = selfLink_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - selfLink_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -     * Output only. Server-defined fully-qualified URL for this resource.
      -     * 
      - * - * string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The selfLink to set. - * @return This builder for chaining. - */ - public Builder setSelfLink(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - selfLink_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Server-defined fully-qualified URL for this resource.
      -     * 
      - * - * string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearSelfLink() { - selfLink_ = getDefaultInstance().getSelfLink(); - bitField0_ = (bitField0_ & ~0x00001000); - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Server-defined fully-qualified URL for this resource.
      -     * 
      - * - * string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for selfLink to set. - * @return This builder for chaining. - */ - public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - selfLink_ = value; - bitField0_ |= 0x00001000; - onChanged(); - return this; - } - - private java.lang.Object kind_ = ""; - /** - * - * - *
      -     * Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
      -     * Policy Based Route resources.
      -     * 
      - * - * string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The kind. - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
      -     * Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
      -     * Policy Based Route resources.
      -     * 
      - * - * string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for kind. - */ - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
      -     * Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
      -     * Policy Based Route resources.
      -     * 
      - * - * string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The kind to set. - * @return This builder for chaining. - */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
      -     * Policy Based Route resources.
      -     * 
      - * - * string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearKind() { - kind_ = getDefaultInstance().getKind(); - bitField0_ = (bitField0_ & ~0x00002000); - onChanged(); - return this; - } - /** - * - * - *
      -     * Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
      -     * Policy Based Route resources.
      -     * 
      - * - * string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for kind to set. - * @return This builder for chaining. - */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - kind_ = value; - bitField0_ |= 0x00002000; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute) - } - - // @@protoc_insertion_point(class_scope:google.cloud.networkconnectivity.v1.PolicyBasedRoute) - private static final com.google.cloud.networkconnectivity.v1.PolicyBasedRoute DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.networkconnectivity.v1.PolicyBasedRoute(); - } - - public static com.google.cloud.networkconnectivity.v1.PolicyBasedRoute getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyBasedRoute 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.networkconnectivity.v1.PolicyBasedRoute getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRouteOrBuilder.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRouteOrBuilder.java deleted file mode 100644 index 86836923ee85..000000000000 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRouteOrBuilder.java +++ /dev/null @@ -1,556 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto - -package com.google.cloud.networkconnectivity.v1; - -public interface PolicyBasedRouteOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.networkconnectivity.v1.PolicyBasedRoute) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
      -   * Optional. VM instances to which this policy based route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the virtualMachine field is set. - */ - boolean hasVirtualMachine(); - /** - * - * - *
      -   * Optional. VM instances to which this policy based route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The virtualMachine. - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine getVirtualMachine(); - /** - * - * - *
      -   * Optional. VM instances to which this policy based route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachine virtual_machine = 18 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.VirtualMachineOrBuilder - getVirtualMachineOrBuilder(); - - /** - * - * - *
      -   * Optional. The interconnect attachments to which this route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return Whether the interconnectAttachment field is set. - */ - boolean hasInterconnectAttachment(); - /** - * - * - *
      -   * Optional. The interconnect attachments to which this route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The interconnectAttachment. - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment - getInterconnectAttachment(); - /** - * - * - *
      -   * Optional. The interconnect attachments to which this route applies to.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachment interconnect_attachment = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.InterconnectAttachmentOrBuilder - getInterconnectAttachmentOrBuilder(); - - /** - * - * - *
      -   * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -   * handle matching packets. For this version, only next_hop_ilb_ip is
      -   * supported.
      -   * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return Whether the nextHopIlbIp field is set. - */ - boolean hasNextHopIlbIp(); - /** - * - * - *
      -   * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -   * handle matching packets. For this version, only next_hop_ilb_ip is
      -   * supported.
      -   * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The nextHopIlbIp. - */ - java.lang.String getNextHopIlbIp(); - /** - * - * - *
      -   * Optional. The IP of a global access enabled L4 ILB that should be the next hop to
      -   * handle matching packets. For this version, only next_hop_ilb_ip is
      -   * supported.
      -   * 
      - * - * string next_hop_ilb_ip = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for nextHopIlbIp. - */ - com.google.protobuf.ByteString getNextHopIlbIpBytes(); - - /** - * - * - *
      -   * Immutable. A unique name of the resource in the form of
      -   * `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
      -   * 
      - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
      -   * Immutable. A unique name of the resource in the form of
      -   * `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}`
      -   * 
      - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
      -   * Output only. Time when the PolicyBasedRoute 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 PolicyBasedRoute 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 PolicyBasedRoute was created.
      -   * 
      - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); - - /** - * - * - *
      -   * Output only. Time when the PolicyBasedRoute was 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 PolicyBasedRoute was 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 PolicyBasedRoute was updated.
      -   * 
      - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); - - /** - * - * - *
      -   * User-defined labels.
      -   * 
      - * - * map<string, string> labels = 4; - */ - int getLabelsCount(); - /** - * - * - *
      -   * User-defined labels.
      -   * 
      - * - * map<string, string> labels = 4; - */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ - @java.lang.Deprecated - java.util.Map getLabels(); - /** - * - * - *
      -   * User-defined labels.
      -   * 
      - * - * map<string, string> labels = 4; - */ - java.util.Map getLabelsMap(); - /** - * - * - *
      -   * User-defined labels.
      -   * 
      - * - * map<string, string> labels = 4; - */ - /* nullable */ - java.lang.String getLabelsOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - /** - * - * - *
      -   * User-defined labels.
      -   * 
      - * - * map<string, string> labels = 4; - */ - java.lang.String getLabelsOrThrow(java.lang.String key); - - /** - * - * - *
      -   * Optional. An optional description of this resource. Provide this field when you
      -   * create the resource.
      -   * 
      - * - * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The description. - */ - java.lang.String getDescription(); - /** - * - * - *
      -   * Optional. An optional description of this resource. Provide this field when you
      -   * create the resource.
      -   * 
      - * - * string description = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - * - * - *
      -   * Required. Fully-qualified URL of the network that this route applies to. e.g.
      -   * projects/my-project/global/networks/my-network.
      -   * 
      - * - * - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The network. - */ - java.lang.String getNetwork(); - /** - * - * - *
      -   * Required. Fully-qualified URL of the network that this route applies to. e.g.
      -   * projects/my-project/global/networks/my-network.
      -   * 
      - * - * - * string network = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for network. - */ - com.google.protobuf.ByteString getNetworkBytes(); - - /** - * - * - *
      -   * Required. The filter to match L4 traffic.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the filter field is set. - */ - boolean hasFilter(); - /** - * - * - *
      -   * Required. The filter to match L4 traffic.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The filter. - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter getFilter(); - /** - * - * - *
      -   * Required. The filter to match L4 traffic.
      -   * 
      - * - * - * .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter filter = 10 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.FilterOrBuilder getFilterOrBuilder(); - - /** - * - * - *
      -   * Optional. The priority of this policy based route. Priority is used to break ties in
      -   * cases where there are more than one matching policy based routes found. In
      -   * cases where multiple policy based routes are matched, the one with the
      -   * lowest-numbered priority value wins. The default value is 1000. The
      -   * priority value must be from 1 to 65535, inclusive.
      -   * 
      - * - * int32 priority = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The priority. - */ - int getPriority(); - - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - java.util.List - getWarningsList(); - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings getWarnings(int index); - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - int getWarningsCount(); - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - java.util.List< - ? extends com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder> - getWarningsOrBuilderList(); - /** - * - * - *
      -   * Output only. If potential misconfigurations are detected for this route,
      -   * this field will be populated with warning messages.
      -   * 
      - * - * - * repeated .google.cloud.networkconnectivity.v1.PolicyBasedRoute.Warnings warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.WarningsOrBuilder getWarningsOrBuilder( - int index); - - /** - * - * - *
      -   * Output only. Server-defined fully-qualified URL for this resource.
      -   * 
      - * - * string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The selfLink. - */ - java.lang.String getSelfLink(); - /** - * - * - *
      -   * Output only. Server-defined fully-qualified URL for this resource.
      -   * 
      - * - * string self_link = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for selfLink. - */ - com.google.protobuf.ByteString getSelfLinkBytes(); - - /** - * - * - *
      -   * Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
      -   * Policy Based Route resources.
      -   * 
      - * - * string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The kind. - */ - java.lang.String getKind(); - /** - * - * - *
      -   * Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for
      -   * Policy Based Route resources.
      -   * 
      - * - * string kind = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for kind. - */ - com.google.protobuf.ByteString getKindBytes(); - - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.TargetCase getTargetCase(); - - public com.google.cloud.networkconnectivity.v1.PolicyBasedRoute.NextHopCase getNextHopCase(); -} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingProto.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingProto.java deleted file mode 100644 index 35f1499abf05..000000000000 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingProto.java +++ /dev/null @@ -1,349 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/networkconnectivity/v1/policy_based_routing.proto - -package com.google.cloud.networkconnectivity.v1; - -public final class PolicyBasedRoutingProto { - private PolicyBasedRoutingProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_DataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_DataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n>google/cloud/networkconnectivity/v1/po" - + "licy_based_routing.proto\022#google.cloud.n" - + "etworkconnectivity.v1\032\034google/api/annota" - + "tions.proto\032\027google/api/client.proto\032\037go" - + "ogle/api/field_behavior.proto\032\031google/ap" - + "i/resource.proto\032#google/longrunning/ope" - + "rations.proto\032\037google/protobuf/timestamp" - + ".proto\"\247\r\n\020PolicyBasedRoute\022d\n\017virtual_m" - + "achine\030\022 \001(\0132D.google.cloud.networkconne" - + "ctivity.v1.PolicyBasedRoute.VirtualMachi" - + "neB\003\340A\001H\000\022t\n\027interconnect_attachment\030\t \001" - + "(\0132L.google.cloud.networkconnectivity.v1" - + ".PolicyBasedRoute.InterconnectAttachment" - + "B\003\340A\001H\000\022\036\n\017next_hop_ilb_ip\030\014 \001(\tB\003\340A\001H\001\022" - + "\021\n\004name\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" - + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\022Q\n\006labels\030\004 \003(\0132A.google.cloud.ne" - + "tworkconnectivity.v1.PolicyBasedRoute.La" - + "belsEntry\022\030\n\013description\030\005 \001(\tB\003\340A\001\0227\n\007n" - + "etwork\030\006 \001(\tB&\340A\002\372A \n\036compute.googleapis" - + ".com/Network\022Q\n\006filter\030\n \001(\0132<.google.cl" - + "oud.networkconnectivity.v1.PolicyBasedRo" - + "ute.FilterB\003\340A\002\022\025\n\010priority\030\013 \001(\005B\003\340A\001\022U" - + "\n\010warnings\030\016 \003(\0132>.google.cloud.networkc" - + "onnectivity.v1.PolicyBasedRoute.Warnings" - + "B\003\340A\003\022\026\n\tself_link\030\017 \001(\tB\003\340A\003\022\021\n\004kind\030\020 " - + "\001(\tB\003\340A\003\032#\n\016VirtualMachine\022\021\n\004tags\030\001 \003(\t" - + "B\003\340A\001\032-\n\026InterconnectAttachment\022\023\n\006regio" - + "n\030\001 \001(\tB\003\340A\001\032\377\001\n\006Filter\022\030\n\013ip_protocol\030\001" - + " \001(\tB\003\340A\001\022\026\n\tsrc_range\030\002 \001(\tB\003\340A\001\022\027\n\ndes" - + "t_range\030\003 \001(\tB\003\340A\001\022k\n\020protocol_version\030\006" - + " \001(\0162L.google.cloud.networkconnectivity." - + "v1.PolicyBasedRoute.Filter.ProtocolVersi" - + "onB\003\340A\002\"=\n\017ProtocolVersion\022 \n\034PROTOCOL_V" - + "ERSION_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\032\341\002\n\010Warni" - + "ngs\022V\n\004code\030\001 \001(\0162C.google.cloud.network" - + "connectivity.v1.PolicyBasedRoute.Warning" - + "s.CodeB\003\340A\003\022[\n\004data\030\002 \003(\0132H.google.cloud" - + ".networkconnectivity.v1.PolicyBasedRoute" - + ".Warnings.DataEntryB\003\340A\003\022\034\n\017warning_mess" - + "age\030\003 \001(\tB\003\340A\003\032+\n\tDataEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\004Code\022\027\n\023WARNING_U" - + "NSPECIFIED\020\000\022\027\n\023RESOURCE_NOT_ACTIVE\020\001\022\033\n" - + "\027RESOURCE_BEING_MODIFIED\020\002\032-\n\013LabelsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\206\001\352A\202\001" - + "\n3networkconnectivity.googleapis.com/Pol" - + "icyBasedRoute\022Kprojects/{project}/{locat" - + "ion}/global/PolicyBasedRoutes/{policy_ba" - + "sed_route}B\010\n\006targetB\n\n\010next_hop\"\242\001\n\034Lis" - + "tPolicyBasedRoutesRequest\0229\n\006parent\030\001 \001(" - + "\tB)\340A\002\372A#\n!locations.googleapis.com/Loca" - + "tion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\241\001" - + "\n\035ListPolicyBasedRoutesResponse\022R\n\023polic" - + "y_based_routes\030\001 \003(\01325.google.cloud.netw" - + "orkconnectivity.v1.PolicyBasedRoute\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" - + "\t\"g\n\032GetPolicyBasedRouteRequest\022I\n\004name\030" - + "\001 \001(\tB;\340A\002\372A5\n3networkconnectivity.googl" - + "eapis.com/PolicyBasedRoute\"\357\001\n\035CreatePol" - + "icyBasedRouteRequest\0229\n\006parent\030\001 \001(\tB)\340A" - + "\002\372A#\n!locations.googleapis.com/Location\022" - + "\"\n\025policy_based_route_id\030\002 \001(\tB\003\340A\001\022V\n\022p" - + "olicy_based_route\030\003 \001(\01325.google.cloud.n" - + "etworkconnectivity.v1.PolicyBasedRouteB\003" - + "\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"\203\001\n\035DeleteP" - + "olicyBasedRouteRequest\022I\n\004name\030\001 \001(\tB;\340A" - + "\002\372A5\n3networkconnectivity.googleapis.com" - + "/PolicyBasedRoute\022\027\n\nrequest_id\030\002 \001(\tB\003\340" - + "A\0012\343\010\n\031PolicyBasedRoutingService\022\353\001\n\025Lis" - + "tPolicyBasedRoutes\022A.google.cloud.networ" - + "kconnectivity.v1.ListPolicyBasedRoutesRe" - + "quest\032B.google.cloud.networkconnectivity" - + ".v1.ListPolicyBasedRoutesResponse\"K\202\323\344\223\002" - + "<\022:/v1/{parent=projects/*/locations/glob" - + "al}/policyBasedRoutes\332A\006parent\022\330\001\n\023GetPo" - + "licyBasedRoute\022?.google.cloud.networkcon" - + "nectivity.v1.GetPolicyBasedRouteRequest\032" - + "5.google.cloud.networkconnectivity.v1.Po" - + "licyBasedRoute\"I\202\323\344\223\002<\022:/v1/{name=projec" - + "ts/*/locations/global/policyBasedRoutes/" - + "*}\332A\004name\022\256\002\n\026CreatePolicyBasedRoute\022B.g" - + "oogle.cloud.networkconnectivity.v1.Creat" - + "ePolicyBasedRouteRequest\032\035.google.longru" - + "nning.Operation\"\260\001\202\323\344\223\002P\":/v1/{parent=pr" - + "ojects/*/locations/global}/policyBasedRo" - + "utes:\022policy_based_route\332A/parent,policy" - + "_based_route,policy_based_route_id\312A%\n\020P" - + "olicyBasedRoute\022\021OperationMetadata\022\363\001\n\026D" - + "eletePolicyBasedRoute\022B.google.cloud.net" - + "workconnectivity.v1.DeletePolicyBasedRou" - + "teRequest\032\035.google.longrunning.Operation" - + "\"v\202\323\344\223\002<*:/v1/{name=projects/*/locations" - + "/global/policyBasedRoutes/*}\332A\004name\312A*\n\025" - + "google.protobuf.Empty\022\021OperationMetadata" - + "\032V\312A\"networkconnectivity.googleapis.com\322" - + "A.https://www.googleapis.com/auth/cloud-" - + "platformB\221\002\n\'com.google.cloud.networkcon" - + "nectivity.v1B\027PolicyBasedRoutingProtoP\001Z" - + "Vgoogle.golang.org/genproto/googleapis/c" - + "loud/networkconnectivity/v1;networkconne" - + "ctivity\252\002#Google.Cloud.NetworkConnectivi" - + "ty.V1\312\002#Google\\Cloud\\NetworkConnectivity" - + "\\V1\352\002&Google::Cloud::NetworkConnectivity" - + "::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor, - new java.lang.String[] { - "VirtualMachine", - "InterconnectAttachment", - "NextHopIlbIp", - "Name", - "CreateTime", - "UpdateTime", - "Labels", - "Description", - "Network", - "Filter", - "Priority", - "Warnings", - "SelfLink", - "Kind", - "Target", - "NextHop", - }); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_descriptor = - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_VirtualMachine_descriptor, - new java.lang.String[] { - "Tags", - }); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_descriptor = - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_InterconnectAttachment_descriptor, - new java.lang.String[] { - "Region", - }); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_descriptor = - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Filter_descriptor, - new java.lang.String[] { - "IpProtocol", "SrcRange", "DestRange", "ProtocolVersion", - }); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_descriptor = - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_descriptor, - new java.lang.String[] { - "Code", "Data", "WarningMessage", - }); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_DataEntry_descriptor = - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_DataEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_Warnings_DataEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_LabelsEntry_descriptor = - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_descriptor - .getNestedTypes() - .get(4); - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_PolicyBasedRoute_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_ListPolicyBasedRoutesResponse_descriptor, - new java.lang.String[] { - "PolicyBasedRoutes", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_GetPolicyBasedRouteRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_CreatePolicyBasedRouteRequest_descriptor, - new java.lang.String[] { - "Parent", "PolicyBasedRouteId", "PolicyBasedRoute", "RequestId", - }); - internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_networkconnectivity_v1_DeletePolicyBasedRouteRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/common.proto b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/common.proto index 282cf34758e7..892530489356 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/common.proto +++ b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/common.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkConnectivity.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1;networkconnectivity"; +option go_package = "cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb;networkconnectivitypb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.cloud.networkconnectivity.v1"; diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/hub.proto b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/hub.proto index 44cf09ae0a64..eef97978f3d9 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/hub.proto +++ b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/hub.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.NetworkConnectivity.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1;networkconnectivity"; +option go_package = "cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb;networkconnectivitypb"; option java_multiple_files = true; option java_outer_classname = "HubProto"; option java_package = "com.google.cloud.networkconnectivity.v1"; diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/policy_based_routing.proto b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/policy_based_routing.proto deleted file mode 100644 index 74c24bd39710..000000000000 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1/src/main/proto/google/cloud/networkconnectivity/v1/policy_based_routing.proto +++ /dev/null @@ -1,338 +0,0 @@ -// Copyright 2022 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 -// -// http://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. - -syntax = "proto3"; - -package google.cloud.networkconnectivity.v1; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/timestamp.proto"; - -option csharp_namespace = "Google.Cloud.NetworkConnectivity.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1;networkconnectivity"; -option java_multiple_files = true; -option java_outer_classname = "PolicyBasedRoutingProto"; -option java_package = "com.google.cloud.networkconnectivity.v1"; -option php_namespace = "Google\\Cloud\\NetworkConnectivity\\V1"; -option ruby_package = "Google::Cloud::NetworkConnectivity::V1"; - -// Policy-Based Routing allows GCP customers to specify flexibile routing -// policies for Layer 4 traffic traversing through the connected service. -service PolicyBasedRoutingService { - option (google.api.default_host) = "networkconnectivity.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - - // Lists PolicyBasedRoutes in a given project and location. - rpc ListPolicyBasedRoutes(ListPolicyBasedRoutesRequest) returns (ListPolicyBasedRoutesResponse) { - option (google.api.http) = { - get: "/v1/{parent=projects/*/locations/global}/policyBasedRoutes" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets details of a single PolicyBasedRoute. - rpc GetPolicyBasedRoute(GetPolicyBasedRouteRequest) returns (PolicyBasedRoute) { - option (google.api.http) = { - get: "/v1/{name=projects/*/locations/global/policyBasedRoutes/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a new PolicyBasedRoute in a given project and location. - rpc CreatePolicyBasedRoute(CreatePolicyBasedRouteRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1/{parent=projects/*/locations/global}/policyBasedRoutes" - body: "policy_based_route" - }; - option (google.api.method_signature) = "parent,policy_based_route,policy_based_route_id"; - option (google.longrunning.operation_info) = { - response_type: "PolicyBasedRoute" - metadata_type: "OperationMetadata" - }; - } - - // Deletes a single PolicyBasedRoute. - rpc DeletePolicyBasedRoute(DeletePolicyBasedRouteRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/locations/global/policyBasedRoutes/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadata" - }; - } -} - -// Policy Based Routes (PBR) are more powerful routes that allows GCP customers -// to route their L4 network traffic based on not just destination IP, but also -// source IP, protocol and more. A PBR always take precedence when it conflicts -// with other types of routes. -// Next id: 19 -message PolicyBasedRoute { - option (google.api.resource) = { - type: "networkconnectivity.googleapis.com/PolicyBasedRoute" - pattern: "projects/{project}/{location}/global/PolicyBasedRoutes/{policy_based_route}" - }; - - // VM instances to which this policy based route applies to. - message VirtualMachine { - // Optional. A list of VM instance tags to which this policy based route applies to. - // VM instances that have ANY of tags specified here will install this - // PBR. - repeated string tags = 1 [(google.api.field_behavior) = OPTIONAL]; - } - - // InterconnectAttachment to which this route applies to. - message InterconnectAttachment { - // Optional. Cloud region to install this policy based route on interconnect - // attachment. Use `all` to install it on all interconnect attachments. - string region = 1 [(google.api.field_behavior) = OPTIONAL]; - } - - // Filter matches L4 traffic. - message Filter { - // The internet protocol version. - enum ProtocolVersion { - // Default value. - PROTOCOL_VERSION_UNSPECIFIED = 0; - - // The PBR is for IPv4 internet protocol traffic. - IPV4 = 1; - } - - // Optional. The IP protocol that this policy based route applies to. Valid values are - // 'TCP', 'UDP', and 'ALL'. Default is 'ALL'. - string ip_protocol = 1 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The source IP range of outgoing packets that this policy based route - // applies to. Default is "0.0.0.0/0" if protocol version is IPv4. - string src_range = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The destination IP range of outgoing packets that this policy based route - // applies to. Default is "0.0.0.0/0" if protocol version is IPv4. - string dest_range = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Required. Internet protocol versions this policy based route applies to. For this - // version, only IPV4 is supported. - ProtocolVersion protocol_version = 6 [(google.api.field_behavior) = REQUIRED]; - } - - // Informational warning message. - message Warnings { - // Warning code for Policy Based Routing. Expect to add values in the - // future. - enum Code { - // Default value. - WARNING_UNSPECIFIED = 0; - - // The policy based route is not active and functioning. Common causes are - // the dependent network was deleted or the resource project was turned - // off. - RESOURCE_NOT_ACTIVE = 1; - - // The policy based route is being modified (e.g. created/deleted) at this - // time. - RESOURCE_BEING_MODIFIED = 2; - } - - // Output only. A warning code, if applicable. - Code code = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Metadata about this warning in key: value format. The key should provides - // more detail on the warning being returned. For example, for warnings - // where there are no results in a list request for a particular zone, this - // key might be scope and the key value might be the zone name. Other - // examples might be a key indicating a deprecated resource and a suggested - // replacement. - map data = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A human-readable description of the warning code. - string warning_message = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Target specifies network endpoints to which this policy based route applies - // to. If none of the target is specified, the PBR will be installed on all - // network endpoints (e.g. VMs, VPNs, and Interconnects) in the VPC. - oneof target { - // Optional. VM instances to which this policy based route applies to. - VirtualMachine virtual_machine = 18 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The interconnect attachments to which this route applies to. - InterconnectAttachment interconnect_attachment = 9 [(google.api.field_behavior) = OPTIONAL]; - } - - oneof next_hop { - // Optional. The IP of a global access enabled L4 ILB that should be the next hop to - // handle matching packets. For this version, only next_hop_ilb_ip is - // supported. - string next_hop_ilb_ip = 12 [(google.api.field_behavior) = OPTIONAL]; - } - - // Immutable. A unique name of the resource in the form of - // `projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}` - string name = 1 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Time when the PolicyBasedRoute was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Time when the PolicyBasedRoute was updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // User-defined labels. - map labels = 4; - - // Optional. An optional description of this resource. Provide this field when you - // create the resource. - string description = 5 [(google.api.field_behavior) = OPTIONAL]; - - // Required. Fully-qualified URL of the network that this route applies to. e.g. - // projects/my-project/global/networks/my-network. - string network = 6 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "compute.googleapis.com/Network" - } - ]; - - // Required. The filter to match L4 traffic. - Filter filter = 10 [(google.api.field_behavior) = REQUIRED]; - - // Optional. The priority of this policy based route. Priority is used to break ties in - // cases where there are more than one matching policy based routes found. In - // cases where multiple policy based routes are matched, the one with the - // lowest-numbered priority value wins. The default value is 1000. The - // priority value must be from 1 to 65535, inclusive. - int32 priority = 11 [(google.api.field_behavior) = OPTIONAL]; - - // Output only. If potential misconfigurations are detected for this route, - // this field will be populated with warning messages. - repeated Warnings warnings = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Server-defined fully-qualified URL for this resource. - string self_link = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for - // Policy Based Route resources. - string kind = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Request for [PolicyBasedRouting.ListPolicyBasedRoutes][] method. -message ListPolicyBasedRoutesRequest { - // Required. The parent resource's name. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "locations.googleapis.com/Location" - } - ]; - - // The maximum number of results per page that should be returned. - int32 page_size = 2; - - // The page token. - string page_token = 3; - - // A filter expression that filters the results listed in the response. - string filter = 4; - - // Sort the results by a certain order. - string order_by = 5; -} - -// Response for [PolicyBasedRouting.ListPolicyBasedRoutes][] method. -message ListPolicyBasedRoutesResponse { - // Policy based routes to be returned. - repeated PolicyBasedRoute policy_based_routes = 1; - - // The next pagination token in the List response. It should be used as - // page_token for the following request. An empty value means no more result. - string next_page_token = 2; - - // Locations that could not be reached. - repeated string unreachable = 3; -} - -// Request for [PolicyBasedRouting.GetPolicyBasedRoute][] method. -message GetPolicyBasedRouteRequest { - // Required. Name of the PolicyBasedRoute resource to get. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "networkconnectivity.googleapis.com/PolicyBasedRoute" - } - ]; -} - -// Request for [PolicyBasedRouting.CreatePolicyBasedRoute][] method. -message CreatePolicyBasedRouteRequest { - // Required. The parent resource's name of the PolicyBasedRoute. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "locations.googleapis.com/Location" - } - ]; - - // Optional. Unique id for the Policy Based Route to create. - string policy_based_route_id = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Required. Initial values for a new Policy Based Route. - PolicyBasedRoute policy_based_route = 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 t - // he 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]; -} - -// Request for [PolicyBasedRouting.DeletePolicyBasedRoute][] method. -message DeletePolicyBasedRouteRequest { - // Required. Name of the PolicyBasedRoute resource to delete. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "networkconnectivity.googleapis.com/PolicyBasedRoute" - } - ]; - - // 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 t - // he 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]; -} diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml index 024b11836cec..fe850a3e1523 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml +++ b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-networkconnectivity-v1alpha1 - 0.14.0 + 0.15.0 proto-google-cloud-networkconnectivity-v1alpha1 Proto library for google-cloud-networkconnectivity com.google.cloud google-cloud-networkconnectivity-parent - 1.8.0 + 1.9.0 diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/CommonProto.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/CommonProto.java index e8e71eaf5f8b..c1afa946fcc7 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/CommonProto.java +++ b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/CommonProto.java @@ -50,15 +50,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "mestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003\340A\003\022\021\n\004ver" + "b\030\004 \001(\tB\003\340A\003\022\033\n\016status_message\030\005 \001(\tB\003\340A" + "\003\022#\n\026requested_cancellation\030\006 \001(\010B\003\340A\003\022\030" - + "\n\013api_version\030\007 \001(\tB\003\340A\003B\243\002\n-com.google." + + "\n\013api_version\030\007 \001(\tB\003\340A\003B\246\002\n-com.google." + "cloud.networkconnectivity.v1alpha1B\013Comm" - + "onProtoP\001Z\\google.golang.org/genproto/go" - + "ogleapis/cloud/networkconnectivity/v1alp" - + "ha1;networkconnectivity\252\002)Google.Cloud.N" - + "etworkConnectivity.V1Alpha1\312\002)Google\\Clo" - + "ud\\NetworkConnectivity\\V1alpha1\352\002,Google" - + "::Cloud::NetworkConnectivity::V1alpha1b\006" - + "proto3" + + "onProtoP\001Z_cloud.google.com/go/networkco" + + "nnectivity/apiv1alpha1/networkconnectivi" + + "typb;networkconnectivitypb\252\002)Google.Clou" + + "d.NetworkConnectivity.V1Alpha1\312\002)Google\\" + + "Cloud\\NetworkConnectivity\\V1alpha1\352\002,Goo" + + "gle::Cloud::NetworkConnectivity::V1alpha" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubProto.java b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubProto.java index 4f2423ff81f4..2e997b679227 100644 --- a/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubProto.java +++ b/java-networkconnectivity/proto-google-cloud-networkconnectivity-v1alpha1/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/HubProto.java @@ -247,23 +247,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/*/spokes/*}\332A\004name\312A*\n\025google.protobuf" + ".Empty\022\021OperationMetadata\032V\312A\"networkcon" + "nectivity.googleapis.com\322A.https://www.g" - + "oogleapis.com/auth/cloud-platformB\332\004\n-co" + + "oogleapis.com/auth/cloud-platformB\335\004\n-co" + "m.google.cloud.networkconnectivity.v1alp" - + "ha1B\010HubProtoP\001Z\\google.golang.org/genpr" - + "oto/googleapis/cloud/networkconnectivity" - + "/v1alpha1;networkconnectivity\252\002)Google.C" - + "loud.NetworkConnectivity.V1Alpha1\312\002)Goog" - + "le\\Cloud\\NetworkConnectivity\\V1alpha1\352\002," - + "Google::Cloud::NetworkConnectivity::V1al" - + "pha1\352A`\n compute.googleapis.com/VpnTunne" - + "l\022 future = - policyBasedRoutingServiceClient.createPolicyBasedRouteCallable().futureCall(request); - // Do something. - Operation response = future.get(); - } - } -} -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_async] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/AsyncCreatePolicyBasedRouteLRO.java b/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/AsyncCreatePolicyBasedRouteLRO.java deleted file mode 100644 index cd0c58c53a5b..000000000000 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/AsyncCreatePolicyBasedRouteLRO.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1.samples; - -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_LRO_async] -import com.google.api.gax.longrunning.OperationFuture; -import com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.LocationName; -import com.google.cloud.networkconnectivity.v1.OperationMetadata; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; - -public class AsyncCreatePolicyBasedRouteLRO { - - public static void main(String[] args) throws Exception { - asyncCreatePolicyBasedRouteLRO(); - } - - public static void asyncCreatePolicyBasedRouteLRO() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - CreatePolicyBasedRouteRequest request = - CreatePolicyBasedRouteRequest.newBuilder() - .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) - .setPolicyBasedRouteId("policyBasedRouteId-18034589") - .setPolicyBasedRoute(PolicyBasedRoute.newBuilder().build()) - .setRequestId("requestId693933066") - .build(); - OperationFuture future = - policyBasedRoutingServiceClient - .createPolicyBasedRouteOperationCallable() - .futureCall(request); - // Do something. - PolicyBasedRoute response = future.get(); - } - } -} -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_LRO_async] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/SyncCreatePolicyBasedRoute.java b/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/SyncCreatePolicyBasedRoute.java deleted file mode 100644 index c38346f59456..000000000000 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/SyncCreatePolicyBasedRoute.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1.samples; - -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_sync] -import com.google.cloud.networkconnectivity.v1.CreatePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.LocationName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; - -public class SyncCreatePolicyBasedRoute { - - public static void main(String[] args) throws Exception { - syncCreatePolicyBasedRoute(); - } - - public static void syncCreatePolicyBasedRoute() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - CreatePolicyBasedRouteRequest request = - CreatePolicyBasedRouteRequest.newBuilder() - .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) - .setPolicyBasedRouteId("policyBasedRouteId-18034589") - .setPolicyBasedRoute(PolicyBasedRoute.newBuilder().build()) - .setRequestId("requestId693933066") - .build(); - PolicyBasedRoute response = - policyBasedRoutingServiceClient.createPolicyBasedRouteAsync(request).get(); - } - } -} -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/SyncCreatePolicyBasedRouteLocationnamePolicybasedrouteString.java b/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/SyncCreatePolicyBasedRouteLocationnamePolicybasedrouteString.java deleted file mode 100644 index a6c175209bab..000000000000 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/SyncCreatePolicyBasedRouteLocationnamePolicybasedrouteString.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1.samples; - -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_LocationnamePolicybasedrouteString_sync] -import com.google.cloud.networkconnectivity.v1.LocationName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; - -public class SyncCreatePolicyBasedRouteLocationnamePolicybasedrouteString { - - public static void main(String[] args) throws Exception { - syncCreatePolicyBasedRouteLocationnamePolicybasedrouteString(); - } - - public static void syncCreatePolicyBasedRouteLocationnamePolicybasedrouteString() - 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); - PolicyBasedRoute policyBasedRoute = PolicyBasedRoute.newBuilder().build(); - String policyBasedRouteId = "policyBasedRouteId-18034589"; - PolicyBasedRoute response = - policyBasedRoutingServiceClient - .createPolicyBasedRouteAsync(parent, policyBasedRoute, policyBasedRouteId) - .get(); - } - } -} -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_LocationnamePolicybasedrouteString_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/SyncCreatePolicyBasedRouteStringPolicybasedrouteString.java b/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/SyncCreatePolicyBasedRouteStringPolicybasedrouteString.java deleted file mode 100644 index 4b9e769b8ff3..000000000000 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/createpolicybasedroute/SyncCreatePolicyBasedRouteStringPolicybasedrouteString.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1.samples; - -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_StringPolicybasedrouteString_sync] -import com.google.cloud.networkconnectivity.v1.LocationName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoute; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; - -public class SyncCreatePolicyBasedRouteStringPolicybasedrouteString { - - public static void main(String[] args) throws Exception { - syncCreatePolicyBasedRouteStringPolicybasedrouteString(); - } - - public static void syncCreatePolicyBasedRouteStringPolicybasedrouteString() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); - PolicyBasedRoute policyBasedRoute = PolicyBasedRoute.newBuilder().build(); - String policyBasedRouteId = "policyBasedRouteId-18034589"; - PolicyBasedRoute response = - policyBasedRoutingServiceClient - .createPolicyBasedRouteAsync(parent, policyBasedRoute, policyBasedRouteId) - .get(); - } - } -} -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_CreatePolicyBasedRoute_StringPolicybasedrouteString_sync] diff --git a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/AsyncDeletePolicyBasedRouteLRO.java b/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/AsyncDeletePolicyBasedRouteLRO.java deleted file mode 100644 index 0f2ed3f57753..000000000000 --- a/java-networkconnectivity/samples/snippets/generated/com/google/cloud/networkconnectivity/v1/policybasedroutingservice/deletepolicybasedroute/AsyncDeletePolicyBasedRouteLRO.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2022 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.networkconnectivity.v1.samples; - -// [START networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_LRO_async] -import com.google.api.gax.longrunning.OperationFuture; -import com.google.cloud.networkconnectivity.v1.DeletePolicyBasedRouteRequest; -import com.google.cloud.networkconnectivity.v1.OperationMetadata; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRouteName; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; -import com.google.protobuf.Empty; - -public class AsyncDeletePolicyBasedRouteLRO { - - public static void main(String[] args) throws Exception { - asyncDeletePolicyBasedRouteLRO(); - } - - public static void asyncDeletePolicyBasedRouteLRO() 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 (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient = - PolicyBasedRoutingServiceClient.create()) { - DeletePolicyBasedRouteRequest request = - DeletePolicyBasedRouteRequest.newBuilder() - .setName( - PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]") - .toString()) - .setRequestId("requestId693933066") - .build(); - OperationFuture future = - policyBasedRoutingServiceClient - .deletePolicyBasedRouteOperationCallable() - .futureCall(request); - // Do something. - future.get(); - } - } -} -// [END networkconnectivity_v1_generated_PolicyBasedRoutingService_DeletePolicyBasedRoute_LRO_async] diff --git a/java-notebooks/README.md b/java-notebooks/README.md index b100400e2843..16fcd1f7f136 100644 --- a/java-notebooks/README.md +++ b/java-notebooks/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-notebooks - 1.6.0 + 1.7.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-notebooks:1.6.0' +implementation 'com.google.cloud:google-cloud-notebooks:1.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.7.0" ``` ## Authentication diff --git a/java-notebooks/google-cloud-notebooks-bom/pom.xml b/java-notebooks/google-cloud-notebooks-bom/pom.xml index 65b7f17959bb..1e7bf2c526bb 100644 --- a/java-notebooks/google-cloud-notebooks-bom/pom.xml +++ b/java-notebooks/google-cloud-notebooks-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-notebooks-bom - 1.7.0 + 1.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-notebooks - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-notebooks-v1beta1 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-notebooks-v1 - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-notebooks-v1beta1 - 0.14.0 + 0.15.0 com.google.api.grpc proto-google-cloud-notebooks-v1 - 1.7.0 + 1.8.0 diff --git a/java-notebooks/google-cloud-notebooks/pom.xml b/java-notebooks/google-cloud-notebooks/pom.xml index 1942476541fa..3e5640564725 100644 --- a/java-notebooks/google-cloud-notebooks/pom.xml +++ b/java-notebooks/google-cloud-notebooks/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-notebooks - 1.7.0 + 1.8.0 jar Google AI Platform Notebooks is a managed service that offers an integrated and secure JupyterLab environment for data scientists and machine learning developers to experiment, develop, and deploy models into production. Users can create instances running JupyterLab that come pre-installed with the latest data science and machine learning frameworks in a single click. com.google.cloud google-cloud-notebooks-parent - 1.7.0 + 1.8.0 google-cloud-notebooks diff --git a/java-notebooks/grpc-google-cloud-notebooks-v1/pom.xml b/java-notebooks/grpc-google-cloud-notebooks-v1/pom.xml index 0a7943d387ad..d0940b2bc48d 100644 --- a/java-notebooks/grpc-google-cloud-notebooks-v1/pom.xml +++ b/java-notebooks/grpc-google-cloud-notebooks-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-notebooks-v1 - 1.7.0 + 1.8.0 grpc-google-cloud-notebooks-v1 GRPC library for google-cloud-notebooks com.google.cloud google-cloud-notebooks-parent - 1.7.0 + 1.8.0 diff --git a/java-notebooks/grpc-google-cloud-notebooks-v1beta1/pom.xml b/java-notebooks/grpc-google-cloud-notebooks-v1beta1/pom.xml index 25f240a29049..b170f7ac7e1c 100644 --- a/java-notebooks/grpc-google-cloud-notebooks-v1beta1/pom.xml +++ b/java-notebooks/grpc-google-cloud-notebooks-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-notebooks-v1beta1 - 0.14.0 + 0.15.0 grpc-google-cloud-notebooks-v1beta1 GRPC library for grpc-google-cloud-notebooks-v1beta1 com.google.cloud google-cloud-notebooks-parent - 1.7.0 + 1.8.0 diff --git a/java-notebooks/pom.xml b/java-notebooks/pom.xml index 134e4705c1e0..95a8f437da4c 100644 --- a/java-notebooks/pom.xml +++ b/java-notebooks/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-notebooks-parent pom - 1.7.0 + 1.8.0 Google AI Platform Notebooks Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-notebooks - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-notebooks-v1 - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-notebooks-v1 - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-notebooks-v1beta1 - 0.14.0 + 0.15.0 com.google.api.grpc grpc-google-cloud-notebooks-v1beta1 - 0.14.0 + 0.15.0 diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/pom.xml b/java-notebooks/proto-google-cloud-notebooks-v1/pom.xml index c794e33c6ae5..06b3e4d8412e 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/pom.xml +++ b/java-notebooks/proto-google-cloud-notebooks-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-notebooks-v1 - 1.7.0 + 1.8.0 proto-google-cloud-notebooks-v1 Proto library for google-cloud-notebooks com.google.cloud google-cloud-notebooks-parent - 1.7.0 + 1.8.0 diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/DiagnosticConfigProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/DiagnosticConfigProto.java index b5a22ed8acd1..705d0b836c1e 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/DiagnosticConfigProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/DiagnosticConfigProto.java @@ -47,10 +47,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\rrelative_path\030\002 \001(\tB\003\340A\001\022 \n\023repair_flag" + "_enabled\030\003 \001(\010B\003\340A\001\022(\n\033packet_capture_fl" + "ag_enabled\030\004 \001(\010B\003\340A\001\022)\n\034copy_home_files" - + "_flag_enabled\030\005 \001(\010B\003\340A\001B|\n\035com.google.c" + + "_flag_enabled\030\005 \001(\010B\003\340A\001Bu\n\035com.google.c" + "loud.notebooks.v1B\025DiagnosticConfigProto" - + "P\001ZBgoogle.golang.org/genproto/googleapi" - + "s/cloud/notebooks/v1;notebooksb\006proto3" + + "P\001Z;cloud.google.com/go/notebooks/apiv1/" + + "notebookspb;notebookspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/EnvironmentProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/EnvironmentProto.java index 8105e395f98e..a2793b7266b7 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/EnvironmentProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/EnvironmentProto.java @@ -65,12 +65,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "VmImage\022\024\n\007project\030\001 \001(\tB\003\340A\002\022\024\n\nimage_n" + "ame\030\002 \001(\tH\000\022\026\n\014image_family\030\003 \001(\tH\000B\007\n\005i" + "mage\"6\n\016ContainerImage\022\027\n\nrepository\030\001 \001" - + "(\tB\003\340A\002\022\013\n\003tag\030\002 \001(\tB\316\001\n\035com.google.clou" - + "d.notebooks.v1B\020EnvironmentProtoP\001ZBgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "notebooks/v1;notebooks\252\002\031Google.Cloud.No" - + "tebooks.V1\312\002\031Google\\Cloud\\Notebooks\\V1\352\002" - + "\034Google::Cloud::Notebooks::V1b\006proto3" + + "(\tB\003\340A\002\022\013\n\003tag\030\002 \001(\tB\307\001\n\035com.google.clou" + + "d.notebooks.v1B\020EnvironmentProtoP\001Z;clou" + + "d.google.com/go/notebooks/apiv1/notebook" + + "spb;notebookspb\252\002\031Google.Cloud.Notebooks" + + ".V1\312\002\031Google\\Cloud\\Notebooks\\V1\352\002\034Google" + + "::Cloud::Notebooks::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/EventProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/EventProto.java index 93cb8451c8a7..cce2fff05bdd 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/EventProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/EventProto.java @@ -55,10 +55,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\014DetailsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + "(\t:\0028\001\"]\n\tEventType\022\032\n\026EVENT_TYPE_UNSPEC" + "IFIED\020\000\022\010\n\004IDLE\020\001\022\r\n\tHEARTBEAT\020\002\022\n\n\006HEAL" - + "TH\020\003\022\017\n\013MAINTENANCE\020\004Bq\n\035com.google.clou" - + "d.notebooks.v1B\nEventProtoP\001ZBgoogle.gol" - + "ang.org/genproto/googleapis/cloud/notebo" - + "oks/v1;notebooksb\006proto3" + + "TH\020\003\022\017\n\013MAINTENANCE\020\004Bj\n\035com.google.clou" + + "d.notebooks.v1B\nEventProtoP\001Z;cloud.goog" + + "le.com/go/notebooks/apiv1/notebookspb;no" + + "tebookspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ExecutionProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ExecutionProto.java index dde224283411..b51e8afcbd3a 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ExecutionProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ExecutionProto.java @@ -125,13 +125,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\007EXPIRED\020\t\022\020\n\014INITIALIZING\020\n:f\352Ac\n\"note" + "books.googleapis.com/Execution\022=projects" + "/{project}/location/{location}/execution" - + "s/{execution}B\343\001\n\035com.google.cloud.noteb" - + "ooks.v1B\016ExecutionProtoP\001ZBgoogle.golang" - + ".org/genproto/googleapis/cloud/notebooks" - + "/v1;notebooks\352Ak\n%aiplatform.googleapis." - + "com/Tensorboard\022Bprojects/{project}/loca" - + "tions/{location}/tensorboards/{tensorboa" - + "rd}b\006proto3" + + "s/{execution}B\334\001\n\035com.google.cloud.noteb" + + "ooks.v1B\016ExecutionProtoP\001Z;cloud.google." + + "com/go/notebooks/apiv1/notebookspb;noteb" + + "ookspb\352Ak\n%aiplatform.googleapis.com/Ten" + + "sorboard\022Bprojects/{project}/locations/{" + + "location}/tensorboards/{tensorboard}b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/InstanceConfigProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/InstanceConfigProto.java index f407a2e76d59..96e38f6434da 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/InstanceConfigProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/InstanceConfigProto.java @@ -44,12 +44,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "fig.proto\022\031google.cloud.notebooks.v1\"U\n\016" + "InstanceConfig\022!\n\031notebook_upgrade_sched" + "ule\030\001 \001(\t\022 \n\030enable_health_monitoring\030\002 " - + "\001(\010B\321\001\n\035com.google.cloud.notebooks.v1B\023I" - + "nstanceConfigProtoP\001ZBgoogle.golang.org/" - + "genproto/googleapis/cloud/notebooks/v1;n" - + "otebooks\252\002\031Google.Cloud.Notebooks.V1\312\002\031G" - + "oogle\\Cloud\\Notebooks\\V1\352\002\034Google::Cloud" - + "::Notebooks::V1b\006proto3" + + "\001(\010B\312\001\n\035com.google.cloud.notebooks.v1B\023I" + + "nstanceConfigProtoP\001Z;cloud.google.com/g" + + "o/notebooks/apiv1/notebookspb;notebooksp" + + "b\252\002\031Google.Cloud.Notebooks.V1\312\002\031Google\\C" + + "loud\\Notebooks\\V1\352\002\034Google::Cloud::Noteb" + + "ooks::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/InstanceProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/InstanceProto.java index df7df629af0b..6e1c3ea42ec9 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/InstanceProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/InstanceProto.java @@ -174,12 +174,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "C_TYPE\020\000\022\016\n\nVIRTIO_NET\020\001\022\t\n\005GVNIC\020\002:O\352AL" + "\n!notebooks.googleapis.com/Instance\022\'pro" + "jects/{project}/instances/{instance}B\r\n\013" - + "environmentB\313\001\n\035com.google.cloud.noteboo" - + "ks.v1B\rInstanceProtoP\001ZBgoogle.golang.or" - + "g/genproto/googleapis/cloud/notebooks/v1" - + ";notebooks\252\002\031Google.Cloud.Notebooks.V1\312\002" - + "\031Google\\Cloud\\Notebooks\\V1\352\002\034Google::Clo" - + "ud::Notebooks::V1b\006proto3" + + "environmentB\304\001\n\035com.google.cloud.noteboo" + + "ks.v1B\rInstanceProtoP\001Z;cloud.google.com" + + "/go/notebooks/apiv1/notebookspb;notebook" + + "spb\252\002\031Google.Cloud.Notebooks.V1\312\002\031Google" + + "\\Cloud\\Notebooks\\V1\352\002\034Google::Cloud::Not" + + "ebooks::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ManagedNotebooksProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ManagedNotebooksProto.java index 74ebd729901c..2dcb2f50623a 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ManagedNotebooksProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ManagedNotebooksProto.java @@ -219,12 +219,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e,diagnostic_config\312A\034\n\007Runtime\022\021Operati" + "onMetadata\032L\312A\030notebooks.googleapis.com\322" + "A.https://www.googleapis.com/auth/cloud-" - + "platformB\323\001\n\035com.google.cloud.notebooks." - + "v1B\025ManagedNotebooksProtoP\001ZBgoogle.gola" - + "ng.org/genproto/googleapis/cloud/noteboo" - + "ks/v1;notebooks\252\002\031Google.Cloud.Notebooks" - + ".V1\312\002\031Google\\Cloud\\Notebooks\\V1\352\002\034Google" - + "::Cloud::Notebooks::V1b\006proto3" + + "platformB\314\001\n\035com.google.cloud.notebooks." + + "v1B\025ManagedNotebooksProtoP\001Z;cloud.googl" + + "e.com/go/notebooks/apiv1/notebookspb;not" + + "ebookspb\252\002\031Google.Cloud.Notebooks.V1\312\002\031G" + + "oogle\\Cloud\\Notebooks\\V1\352\002\034Google::Cloud" + + "::Notebooks::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/NotebooksProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/NotebooksProto.java index 56a786049a0a..ac22c5bc448a 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/NotebooksProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/NotebooksProto.java @@ -545,12 +545,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "on,execution_id\312A\036\n\tExecution\022\021Operation" + "Metadata\032L\312A\030notebooks.googleapis.com\322A." + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\314\001\n\035com.google.cloud.notebooks.v1" - + "B\016NotebooksProtoP\001ZBgoogle.golang.org/ge" - + "nproto/googleapis/cloud/notebooks/v1;not" - + "ebooks\252\002\031Google.Cloud.Notebooks.V1\312\002\031Goo" - + "gle\\Cloud\\Notebooks\\V1\352\002\034Google::Cloud::" - + "Notebooks::V1b\006proto3" + + "atformB\305\001\n\035com.google.cloud.notebooks.v1" + + "B\016NotebooksProtoP\001Z;cloud.google.com/go/" + + "notebooks/apiv1/notebookspb;notebookspb\252" + + "\002\031Google.Cloud.Notebooks.V1\312\002\031Google\\Clo" + + "ud\\Notebooks\\V1\352\002\034Google::Cloud::Noteboo" + + "ks::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/RuntimeProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/RuntimeProto.java index 454face71309..64c81d01a1dc 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/RuntimeProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/RuntimeProto.java @@ -236,13 +236,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "etadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + ":\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + "e\030\002 \001(\t:\0028\001\">\n\007NicType\022\030\n\024UNSPECIFIED_NI" - + "C_TYPE\020\000\022\016\n\nVIRTIO_NET\020\001\022\t\n\005GVNIC\020\002B\312\001\n\035" + + "C_TYPE\020\000\022\016\n\nVIRTIO_NET\020\001\022\t\n\005GVNIC\020\002B\303\001\n\035" + "com.google.cloud.notebooks.v1B\014RuntimePr" - + "otoP\001ZBgoogle.golang.org/genproto/google" - + "apis/cloud/notebooks/v1;notebooks\252\002\031Goog" - + "le.Cloud.Notebooks.V1\312\002\031Google\\Cloud\\Not" - + "ebooks\\V1\352\002\034Google::Cloud::Notebooks::V1" - + "b\006proto3" + + "otoP\001Z;cloud.google.com/go/notebooks/api" + + "v1/notebookspb;notebookspb\252\002\031Google.Clou" + + "d.Notebooks.V1\312\002\031Google\\Cloud\\Notebooks\\" + + "V1\352\002\034Google::Cloud::Notebooks::V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ScheduleProto.java b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ScheduleProto.java index ce698940920e..be66aa353992 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ScheduleProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/java/com/google/cloud/notebooks/v1/ScheduleProto.java @@ -61,10 +61,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "AILED\020\004\022\020\n\014INITIALIZING\020\005\022\014\n\010DELETING\020\006:" + "c\352A`\n!notebooks.googleapis.com/Schedule\022" + ";projects/{project}/location/{location}/" - + "schedules/{schedule}Bt\n\035com.google.cloud" - + ".notebooks.v1B\rScheduleProtoP\001ZBgoogle.g" - + "olang.org/genproto/googleapis/cloud/note" - + "books/v1;notebooksb\006proto3" + + "schedules/{schedule}Bm\n\035com.google.cloud" + + ".notebooks.v1B\rScheduleProtoP\001Z;cloud.go" + + "ogle.com/go/notebooks/apiv1/notebookspb;" + + "notebookspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/diagnostic_config.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/diagnostic_config.proto index dcde42557c79..11a8198ccfb9 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/diagnostic_config.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/diagnostic_config.proto @@ -18,7 +18,7 @@ package google.cloud.notebooks.v1; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "DiagnosticConfigProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/environment.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/environment.proto index 1aff9bab71d8..92aa1ffc7a50 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/environment.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/environment.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Notebooks.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "EnvironmentProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/event.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/event.proto index bb0c91cf40d7..66d58bbf9270 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/event.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/event.proto @@ -19,7 +19,7 @@ package google.cloud.notebooks.v1; import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "EventProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/execution.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/execution.proto index 4d40f93d81f7..4d4e2825099e 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/execution.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/execution.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "ExecutionProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/instance.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/instance.proto index 3ab01a1eaff3..6354b3c460a6 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/instance.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/instance.proto @@ -22,7 +22,7 @@ import "google/cloud/notebooks/v1/environment.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Notebooks.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "InstanceProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/instance_config.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/instance_config.proto index ebe67df34eee..77ac3714e116 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/instance_config.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/instance_config.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.notebooks.v1; option csharp_namespace = "Google.Cloud.Notebooks.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "InstanceConfigProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/managed_service.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/managed_service.proto index ee5836ffd08d..cc0ab598baf7 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/managed_service.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/managed_service.proto @@ -28,7 +28,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Notebooks.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "ManagedNotebooksProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/runtime.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/runtime.proto index 990f7f8d6521..6f23a2b24243 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/runtime.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/runtime.proto @@ -22,7 +22,7 @@ import "google/cloud/notebooks/v1/environment.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Notebooks.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "RuntimeProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/schedule.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/schedule.proto index 75216af17f57..671b5d1b8d97 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/schedule.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/schedule.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/cloud/notebooks/v1/execution.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "ScheduleProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/service.proto b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/service.proto index e2011edad80d..744dc72d9550 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/service.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1/src/main/proto/google/cloud/notebooks/v1/service.proto @@ -30,7 +30,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Notebooks.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "NotebooksProto"; option java_package = "com.google.cloud.notebooks.v1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1beta1/pom.xml b/java-notebooks/proto-google-cloud-notebooks-v1beta1/pom.xml index 991bd9d4996f..48d394b93bef 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1beta1/pom.xml +++ b/java-notebooks/proto-google-cloud-notebooks-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-notebooks-v1beta1 - 0.14.0 + 0.15.0 proto-google-cloud-notebooks-v1beta1 PROTO library for proto-google-cloud-notebooks-v1beta1 com.google.cloud google-cloud-notebooks-parent - 1.7.0 + 1.8.0 diff --git a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/EnvironmentProto.java b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/EnvironmentProto.java index 34ec96fb0b8c..fc0541037bf0 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/EnvironmentProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/EnvironmentProto.java @@ -66,13 +66,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\tB\003\340A\002\022\024\n\nimage_name\030\002 \001(\tH\000\022\026\n\014image" + "_family\030\003 \001(\tH\000B\007\n\005image\"6\n\016ContainerIma" + "ge\022\027\n\nrepository\030\001 \001(\tB\003\340A\002\022\013\n\003tag\030\002 \001(\t" - + "B\347\001\n\"com.google.cloud.notebooks.v1beta1B" - + "\020EnvironmentProtoP\001ZGgoogle.golang.org/g" - + "enproto/googleapis/cloud/notebooks/v1bet" - + "a1;notebooks\252\002\036Google.Cloud.Notebooks.V1" - + "Beta1\312\002\036Google\\Cloud\\Notebooks\\V1beta1\352\002" - + "!Google::Cloud::Notebooks::V1beta1b\006prot" - + "o3" + + "B\340\001\n\"com.google.cloud.notebooks.v1beta1B" + + "\020EnvironmentProtoP\001Z@cloud.google.com/go" + + "/notebooks/apiv1beta1/notebookspb;notebo" + + "okspb\252\002\036Google.Cloud.Notebooks.V1Beta1\312\002" + + "\036Google\\Cloud\\Notebooks\\V1beta1\352\002!Google" + + "::Cloud::Notebooks::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/InstanceProto.java b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/InstanceProto.java index 694168574021..27a1a01c6e00 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/InstanceProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/InstanceProto.java @@ -127,13 +127,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "icType\022\030\n\024UNSPECIFIED_NIC_TYPE\020\000\022\016\n\nVIRT" + "IO_NET\020\001\022\t\n\005GVNIC\020\002:O\352AL\n!notebooks.goog" + "leapis.com/Instance\022\'projects/{project}/" - + "instances/{instance}B\r\n\013environmentB\344\001\n\"" + + "instances/{instance}B\r\n\013environmentB\335\001\n\"" + "com.google.cloud.notebooks.v1beta1B\rInst" - + "anceProtoP\001ZGgoogle.golang.org/genproto/" - + "googleapis/cloud/notebooks/v1beta1;noteb" - + "ooks\252\002\036Google.Cloud.Notebooks.V1Beta1\312\002\036" - + "Google\\Cloud\\Notebooks\\V1beta1\352\002!Google:" - + ":Cloud::Notebooks::V1beta1b\006proto3" + + "anceProtoP\001Z@cloud.google.com/go/noteboo" + + "ks/apiv1beta1/notebookspb;notebookspb\252\002\036" + + "Google.Cloud.Notebooks.V1Beta1\312\002\036Google\\" + + "Cloud\\Notebooks\\V1beta1\352\002!Google::Cloud:" + + ":Notebooks::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/NotebooksProto.java b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/NotebooksProto.java index 817408b72456..b72be6d5304c 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/NotebooksProto.java +++ b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/java/com/google/cloud/notebooks/v1beta1/NotebooksProto.java @@ -303,13 +303,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ects/*/locations/*/environments/*}\312A*\n\025g" + "oogle.protobuf.Empty\022\021OperationMetadata\032" + "L\312A\030notebooks.googleapis.com\322A.https://w" - + "ww.googleapis.com/auth/cloud-platformB\345\001" + + "ww.googleapis.com/auth/cloud-platformB\336\001" + "\n\"com.google.cloud.notebooks.v1beta1B\016No" - + "tebooksProtoP\001ZGgoogle.golang.org/genpro" - + "to/googleapis/cloud/notebooks/v1beta1;no" - + "tebooks\252\002\036Google.Cloud.Notebooks.V1Beta1" - + "\312\002\036Google\\Cloud\\Notebooks\\V1beta1\352\002!Goog" - + "le::Cloud::Notebooks::V1beta1b\006proto3" + + "tebooksProtoP\001Z@cloud.google.com/go/note" + + "books/apiv1beta1/notebookspb;notebookspb" + + "\252\002\036Google.Cloud.Notebooks.V1Beta1\312\002\036Goog" + + "le\\Cloud\\Notebooks\\V1beta1\352\002!Google::Clo" + + "ud::Notebooks::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/environment.proto b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/environment.proto index 3bf88450cd48..ab26aeda4636 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/environment.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/environment.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Notebooks.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1beta1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "EnvironmentProto"; option java_package = "com.google.cloud.notebooks.v1beta1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/instance.proto b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/instance.proto index 1892de1ca3d4..18d21d864bf1 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/instance.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/instance.proto @@ -22,7 +22,7 @@ import "google/cloud/notebooks/v1beta1/environment.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Notebooks.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1beta1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "InstanceProto"; option java_package = "com.google.cloud.notebooks.v1beta1"; diff --git a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/service.proto b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/service.proto index 6164cad34135..37fabfc65515 100644 --- a/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/service.proto +++ b/java-notebooks/proto-google-cloud-notebooks-v1beta1/src/main/proto/google/cloud/notebooks/v1beta1/service.proto @@ -25,7 +25,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Notebooks.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1;notebooks"; +option go_package = "cloud.google.com/go/notebooks/apiv1beta1/notebookspb;notebookspb"; option java_multiple_files = true; option java_outer_classname = "NotebooksProto"; option java_package = "com.google.cloud.notebooks.v1beta1"; diff --git a/java-notification/pom.xml b/java-notification/pom.xml index da8baea2bc97..35ec00a747e5 100644 --- a/java-notification/pom.xml +++ b/java-notification/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.google.cloud google-cloud-notification - 0.127.0-beta + 0.128.0-beta jar Google Cloud Pub/Sub Notifications for GCS @@ -15,7 +15,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml diff --git a/java-optimization/README.md b/java-optimization/README.md index 5739dca3b10a..b86723c7bb1d 100644 --- a/java-optimization/README.md +++ b/java-optimization/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-optimization - 1.6.0 + 1.7.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-optimization:1.6.0' +implementation 'com.google.cloud:google-cloud-optimization:1.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.7.0" ``` ## Authentication diff --git a/java-optimization/google-cloud-optimization-bom/pom.xml b/java-optimization/google-cloud-optimization-bom/pom.xml index bc7fdcf77772..6f9004c225a6 100644 --- a/java-optimization/google-cloud-optimization-bom/pom.xml +++ b/java-optimization/google-cloud-optimization-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-optimization-bom - 1.7.0 + 1.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-optimization - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-optimization-v1 - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-optimization-v1 - 1.7.0 + 1.8.0 diff --git a/java-optimization/google-cloud-optimization/pom.xml b/java-optimization/google-cloud-optimization/pom.xml index a3fc3f3cb147..9d69526a8ca7 100644 --- a/java-optimization/google-cloud-optimization/pom.xml +++ b/java-optimization/google-cloud-optimization/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-optimization - 1.7.0 + 1.8.0 jar Google Cloud Fleet Routing Cloud Fleet Routing is a managed routing service that takes your list of orders, vehicles, constraints, and objectives and returns the most efficient plan for your entire fleet in near real-time. com.google.cloud google-cloud-optimization-parent - 1.7.0 + 1.8.0 google-cloud-optimization diff --git a/java-optimization/grpc-google-cloud-optimization-v1/pom.xml b/java-optimization/grpc-google-cloud-optimization-v1/pom.xml index 0ad9b4a20a6d..f90033cdf4f4 100644 --- a/java-optimization/grpc-google-cloud-optimization-v1/pom.xml +++ b/java-optimization/grpc-google-cloud-optimization-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-optimization-v1 - 1.7.0 + 1.8.0 grpc-google-cloud-optimization-v1 GRPC library for google-cloud-optimization com.google.cloud google-cloud-optimization-parent - 1.7.0 + 1.8.0 diff --git a/java-optimization/pom.xml b/java-optimization/pom.xml index 785f467e416c..31d9d10b499d 100644 --- a/java-optimization/pom.xml +++ b/java-optimization/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-optimization-parent pom - 1.7.0 + 1.8.0 Google Cloud Fleet Routing Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-optimization - 1.7.0 + 1.8.0 com.google.api.grpc grpc-google-cloud-optimization-v1 - 1.7.0 + 1.8.0 com.google.api.grpc proto-google-cloud-optimization-v1 - 1.7.0 + 1.8.0 diff --git a/java-optimization/proto-google-cloud-optimization-v1/pom.xml b/java-optimization/proto-google-cloud-optimization-v1/pom.xml index e42ef891eedb..82e4b28d80a5 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/pom.xml +++ b/java-optimization/proto-google-cloud-optimization-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-optimization-v1 - 1.7.0 + 1.8.0 proto-google-cloud-optimization-v1 Proto library for google-cloud-optimization com.google.cloud google-cloud-optimization-parent - 1.7.0 + 1.8.0 diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetrics.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetrics.java index aa390b06c2ed..7ee8a2a21952 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetrics.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetrics.java @@ -604,8 +604,11 @@ public int getCostsCount() { * * *
      -   * Deprecated: Use [ShipmentRoute.route_costs][] and
      -   * [OptimizeToursResponse.Metrics.costs][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +   * and
      +   * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +   * instead.
          * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -628,8 +631,11 @@ public java.util.Map getCosts() { * * *
      -   * Deprecated: Use [ShipmentRoute.route_costs][] and
      -   * [OptimizeToursResponse.Metrics.costs][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +   * and
      +   * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +   * instead.
          * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -643,8 +649,11 @@ public java.util.Map getCostsMap() { * * *
      -   * Deprecated: Use [ShipmentRoute.route_costs][] and
      -   * [OptimizeToursResponse.Metrics.costs][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +   * and
      +   * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +   * instead.
          * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -662,8 +671,11 @@ public double getCostsOrDefault(java.lang.String key, double defaultValue) { * * *
      -   * Deprecated: Use [ShipmentRoute.route_costs][] and
      -   * [OptimizeToursResponse.Metrics.costs][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +   * and
      +   * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +   * instead.
          * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -687,14 +699,17 @@ public double getCostsOrThrow(java.lang.String key) { * * *
      -   * Deprecated: Use [ShipmentRoute.route_total_cost][] and
      -   * [OptimizeToursResponse.Metrics.total_cost][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_total_cost][google.cloud.optimization.v1.ShipmentRoute.route_total_cost]
      +   * and
      +   * [OptimizeToursResponse.Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +   * instead.
          * 
      * * double total_cost = 11 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2296 + * google/cloud/optimization/v1/fleet_routing.proto;l=2331 * @return The totalCost. */ @java.lang.Override @@ -2897,8 +2912,11 @@ public int getCostsCount() { * * *
      -     * Deprecated: Use [ShipmentRoute.route_costs][] and
      -     * [OptimizeToursResponse.Metrics.costs][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +     * and
      +     * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +     * instead.
            * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -2921,8 +2939,11 @@ public java.util.Map getCosts() { * * *
      -     * Deprecated: Use [ShipmentRoute.route_costs][] and
      -     * [OptimizeToursResponse.Metrics.costs][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +     * and
      +     * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +     * instead.
            * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -2936,8 +2957,11 @@ public java.util.Map getCostsMap() { * * *
      -     * Deprecated: Use [ShipmentRoute.route_costs][] and
      -     * [OptimizeToursResponse.Metrics.costs][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +     * and
      +     * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +     * instead.
            * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -2955,8 +2979,11 @@ public double getCostsOrDefault(java.lang.String key, double defaultValue) { * * *
      -     * Deprecated: Use [ShipmentRoute.route_costs][] and
      -     * [OptimizeToursResponse.Metrics.costs][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +     * and
      +     * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +     * instead.
            * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -2984,8 +3011,11 @@ public Builder clearCosts() { * * *
      -     * Deprecated: Use [ShipmentRoute.route_costs][] and
      -     * [OptimizeToursResponse.Metrics.costs][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +     * and
      +     * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +     * instead.
            * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -3008,8 +3038,11 @@ public java.util.Map getMutableCosts() { * * *
      -     * Deprecated: Use [ShipmentRoute.route_costs][] and
      -     * [OptimizeToursResponse.Metrics.costs][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +     * and
      +     * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +     * instead.
            * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -3028,8 +3061,11 @@ public Builder putCosts(java.lang.String key, double value) { * * *
      -     * Deprecated: Use [ShipmentRoute.route_costs][] and
      -     * [OptimizeToursResponse.Metrics.costs][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +     * and
      +     * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +     * instead.
            * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -3046,14 +3082,17 @@ public Builder putAllCosts(java.util.Map val * * *
      -     * Deprecated: Use [ShipmentRoute.route_total_cost][] and
      -     * [OptimizeToursResponse.Metrics.total_cost][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_total_cost][google.cloud.optimization.v1.ShipmentRoute.route_total_cost]
      +     * and
      +     * [OptimizeToursResponse.Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +     * instead.
            * 
      * * double total_cost = 11 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2296 + * google/cloud/optimization/v1/fleet_routing.proto;l=2331 * @return The totalCost. */ @java.lang.Override @@ -3065,14 +3104,17 @@ public double getTotalCost() { * * *
      -     * Deprecated: Use [ShipmentRoute.route_total_cost][] and
      -     * [OptimizeToursResponse.Metrics.total_cost][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_total_cost][google.cloud.optimization.v1.ShipmentRoute.route_total_cost]
      +     * and
      +     * [OptimizeToursResponse.Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +     * instead.
            * 
      * * double total_cost = 11 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2296 + * google/cloud/optimization/v1/fleet_routing.proto;l=2331 * @param value The totalCost to set. * @return This builder for chaining. */ @@ -3088,14 +3130,17 @@ public Builder setTotalCost(double value) { * * *
      -     * Deprecated: Use [ShipmentRoute.route_total_cost][] and
      -     * [OptimizeToursResponse.Metrics.total_cost][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.route_total_cost][google.cloud.optimization.v1.ShipmentRoute.route_total_cost]
      +     * and
      +     * [OptimizeToursResponse.Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +     * instead.
            * 
      * * double total_cost = 11 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2296 + * google/cloud/optimization/v1/fleet_routing.proto;l=2331 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetricsOrBuilder.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetricsOrBuilder.java index caaa6a0de4e2..08746a2abffe 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetricsOrBuilder.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetricsOrBuilder.java @@ -367,8 +367,11 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getMaxLoadsOrThrow( * * *
      -   * Deprecated: Use [ShipmentRoute.route_costs][] and
      -   * [OptimizeToursResponse.Metrics.costs][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +   * and
      +   * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +   * instead.
          * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -379,8 +382,11 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getMaxLoadsOrThrow( * * *
      -   * Deprecated: Use [ShipmentRoute.route_costs][] and
      -   * [OptimizeToursResponse.Metrics.costs][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +   * and
      +   * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +   * instead.
          * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -394,8 +400,11 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getMaxLoadsOrThrow( * * *
      -   * Deprecated: Use [ShipmentRoute.route_costs][] and
      -   * [OptimizeToursResponse.Metrics.costs][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +   * and
      +   * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +   * instead.
          * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -406,8 +415,11 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getMaxLoadsOrThrow( * * *
      -   * Deprecated: Use [ShipmentRoute.route_costs][] and
      -   * [OptimizeToursResponse.Metrics.costs][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +   * and
      +   * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +   * instead.
          * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -418,8 +430,11 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getMaxLoadsOrThrow( * * *
      -   * Deprecated: Use [ShipmentRoute.route_costs][] and
      -   * [OptimizeToursResponse.Metrics.costs][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs]
      +   * and
      +   * [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs]
      +   * instead.
          * 
      * * map<string, double> costs = 10 [deprecated = true]; @@ -431,14 +446,17 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getMaxLoadsOrThrow( * * *
      -   * Deprecated: Use [ShipmentRoute.route_total_cost][] and
      -   * [OptimizeToursResponse.Metrics.total_cost][] instead.
      +   * Deprecated: Use
      +   * [ShipmentRoute.route_total_cost][google.cloud.optimization.v1.ShipmentRoute.route_total_cost]
      +   * and
      +   * [OptimizeToursResponse.Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +   * instead.
          * 
      * * double total_cost = 11 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2296 + * google/cloud/optimization/v1/fleet_routing.proto;l=2331 * @return The totalCost. */ @java.lang.Deprecated diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AsyncModelProto.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AsyncModelProto.java index 291722e2dc73..4e977df0e7a2 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AsyncModelProto.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AsyncModelProto.java @@ -78,10 +78,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCE" + "EDED\020\002\022\r\n\tCANCELLED\020\003\022\n\n\006FAILED\020\004*?\n\nDat" + "aFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004" - + "JSON\020\001\022\n\n\006STRING\020\002B\177\n com.google.cloud.o" - + "ptimization.v1B\017AsyncModelProtoP\001ZHgoogl" - + "e.golang.org/genproto/googleapis/cloud/o" - + "ptimization/v1;optimizationb\006proto3" + + "JSON\020\001\022\n\n\006STRING\020\002B{\n com.google.cloud.o" + + "ptimization.v1B\017AsyncModelProtoP\001ZDcloud" + + ".google.com/go/optimization/apiv1/optimi" + + "zationpb;optimizationpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantity.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantity.java index c04b25e219e7..0eaffbe44e54 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantity.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantity.java @@ -22,8 +22,9 @@ * * *
      - * Deprecated: Use [Shipment.Load][], [Vehicle.LoadLimit][] and
      - * [ShipmentRoute.VehicleLoad][] instead.
      + * Deprecated: Use
      + * [Vehicle.LoadLimit.Interval][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval]
      + * instead.
        * 
      * * Protobuf type {@code google.cloud.optimization.v1.CapacityQuantity} @@ -292,8 +293,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Deprecated: Use [Shipment.Load][], [Vehicle.LoadLimit][] and
      -   * [ShipmentRoute.VehicleLoad][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.Interval][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval]
      +   * instead.
          * 
      * * Protobuf type {@code google.cloud.optimization.v1.CapacityQuantity} diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantityInterval.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantityInterval.java index 4296ba2c9f29..7817822c2d20 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantityInterval.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantityInterval.java @@ -22,7 +22,9 @@ * * *
      - * Deprecated: Use [Vehicle.LoadLimit.Interval][] instead.
      + * Deprecated: Use
      + * [Vehicle.LoadLimit.Interval][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval]
      + * instead.
        * 
      * * Protobuf type {@code google.cloud.optimization.v1.CapacityQuantityInterval} @@ -342,7 +344,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.Interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.Interval][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval]
      +   * instead.
          * 
      * * Protobuf type {@code google.cloud.optimization.v1.CapacityQuantityInterval} diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimit.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimit.java index a293dae7a9e8..87ab254c8a94 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimit.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimit.java @@ -151,8 +151,8 @@ public long getSoftMaxMeters() { * * *
      -   * Cost per kilometer incurred if `soft_max_meters` limit is violated. The
      -   * additional cost is 0 if the distance is under the limit, otherwise the
      +   * Cost per kilometer incurred if distance is above `soft_max_meters` limit.
      +   * The additional cost is 0 if the distance is under the limit, otherwise the
          * formula used to compute the cost is the following:
          * ```
          *   (distance_meters - soft_max_meters) / 1000.0 *
      @@ -173,8 +173,8 @@ public boolean hasCostPerKilometerAboveSoftMax() {
          *
          *
          * 
      -   * Cost per kilometer incurred if `soft_max_meters` limit is violated. The
      -   * additional cost is 0 if the distance is under the limit, otherwise the
      +   * Cost per kilometer incurred if distance is above `soft_max_meters` limit.
      +   * The additional cost is 0 if the distance is under the limit, otherwise the
          * formula used to compute the cost is the following:
          * ```
          *   (distance_meters - soft_max_meters) / 1000.0 *
      @@ -765,8 +765,8 @@ public Builder clearSoftMaxMeters() {
            *
            *
            * 
      -     * Cost per kilometer incurred if `soft_max_meters` limit is violated. The
      -     * additional cost is 0 if the distance is under the limit, otherwise the
      +     * Cost per kilometer incurred if distance is above `soft_max_meters` limit.
      +     * The additional cost is 0 if the distance is under the limit, otherwise the
            * formula used to compute the cost is the following:
            * ```
            *   (distance_meters - soft_max_meters) / 1000.0 *
      @@ -787,8 +787,8 @@ public boolean hasCostPerKilometerAboveSoftMax() {
            *
            *
            * 
      -     * Cost per kilometer incurred if `soft_max_meters` limit is violated. The
      -     * additional cost is 0 if the distance is under the limit, otherwise the
      +     * Cost per kilometer incurred if distance is above `soft_max_meters` limit.
      +     * The additional cost is 0 if the distance is under the limit, otherwise the
            * formula used to compute the cost is the following:
            * ```
            *   (distance_meters - soft_max_meters) / 1000.0 *
      @@ -809,8 +809,8 @@ public double getCostPerKilometerAboveSoftMax() {
            *
            *
            * 
      -     * Cost per kilometer incurred if `soft_max_meters` limit is violated. The
      -     * additional cost is 0 if the distance is under the limit, otherwise the
      +     * Cost per kilometer incurred if distance is above `soft_max_meters` limit.
      +     * The additional cost is 0 if the distance is under the limit, otherwise the
            * formula used to compute the cost is the following:
            * ```
            *   (distance_meters - soft_max_meters) / 1000.0 *
      @@ -835,8 +835,8 @@ public Builder setCostPerKilometerAboveSoftMax(double value) {
            *
            *
            * 
      -     * Cost per kilometer incurred if `soft_max_meters` limit is violated. The
      -     * additional cost is 0 if the distance is under the limit, otherwise the
      +     * Cost per kilometer incurred if distance is above `soft_max_meters` limit.
      +     * The additional cost is 0 if the distance is under the limit, otherwise the
            * formula used to compute the cost is the following:
            * ```
            *   (distance_meters - soft_max_meters) / 1000.0 *
      diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimitOrBuilder.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimitOrBuilder.java
      index bf4df98ffcf1..5164a6bdd7b7 100644
      --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimitOrBuilder.java
      +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimitOrBuilder.java
      @@ -87,8 +87,8 @@ public interface DistanceLimitOrBuilder
          *
          *
          * 
      -   * Cost per kilometer incurred if `soft_max_meters` limit is violated. The
      -   * additional cost is 0 if the distance is under the limit, otherwise the
      +   * Cost per kilometer incurred if distance is above `soft_max_meters` limit.
      +   * The additional cost is 0 if the distance is under the limit, otherwise the
          * formula used to compute the cost is the following:
          * ```
          *   (distance_meters - soft_max_meters) / 1000.0 *
      @@ -106,8 +106,8 @@ public interface DistanceLimitOrBuilder
          *
          *
          * 
      -   * Cost per kilometer incurred if `soft_max_meters` limit is violated. The
      -   * additional cost is 0 if the distance is under the limit, otherwise the
      +   * Cost per kilometer incurred if distance is above `soft_max_meters` limit.
      +   * The additional cost is 0 if the distance is under the limit, otherwise the
          * formula used to compute the cost is the following:
          * ```
          *   (distance_meters - soft_max_meters) / 1000.0 *
      diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/FleetRoutingProto.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/FleetRoutingProto.java
      index 94aca615d3f0..a4c455ad933b 100644
      --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/FleetRoutingProto.java
      +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/FleetRoutingProto.java
      @@ -701,11 +701,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
                 + "rs:\001*\312A0\n\032BatchOptimizeToursResponse\022\022As"
                 + "yncModelMetadata\032T\312A cloudoptimization.g"
                 + "oogleapis.com\322A.https://www.googleapis.c"
      -          + "om/auth/cloud-platformB\201\001\n com.google.cl"
      -          + "oud.optimization.v1B\021FleetRoutingProtoP\001"
      -          + "ZHgoogle.golang.org/genproto/googleapis/"
      -          + "cloud/optimization/v1;optimizationb\006prot"
      -          + "o3"
      +          + "om/auth/cloud-platformB}\n com.google.clo"
      +          + "ud.optimization.v1B\021FleetRoutingProtoP\001Z"
      +          + "Dcloud.google.com/go/optimization/apiv1/"
      +          + "optimizationpb;optimizationpbb\006proto3"
           };
           descriptor =
               com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
      diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InjectedSolutionConstraint.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InjectedSolutionConstraint.java
      index 2a0675768da3..0e556452b336 100644
      --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InjectedSolutionConstraint.java
      +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InjectedSolutionConstraint.java
      @@ -286,7 +286,7 @@ public interface RelaxationOrBuilder
              * 
              * The constraint relaxation level that applies when the conditions
              * at or after `threshold_time` AND at least `threshold_visit_count` are
      -       * satified.
      +       * satisfied.
              * 
      * * @@ -302,7 +302,7 @@ public interface RelaxationOrBuilder *
              * The constraint relaxation level that applies when the conditions
              * at or after `threshold_time` AND at least `threshold_visit_count` are
      -       * satified.
      +       * satisfied.
              * 
      * * @@ -453,7 +453,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
              * Expresses the different constraint relaxation levels, which are
      -       * applied for a visit and those that follow when it satifies the
      +       * applied for a visit and those that follow when it satisfies the
              * threshold conditions.
              * The enumeration below is in order of increasing relaxation.
              * 
      @@ -468,7 +468,7 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { *
                * Implicit default relaxation level: no constraints are relaxed,
                * i.e., all visits are fully constrained.
      -         * This value must not be explicly used in `level`.
      +         * This value must not be explicitly used in `level`.
                * 
      * * LEVEL_UNSPECIFIED = 0; @@ -519,7 +519,7 @@ public enum Level implements com.google.protobuf.ProtocolMessageEnum { *
                * Implicit default relaxation level: no constraints are relaxed,
                * i.e., all visits are fully constrained.
      -         * This value must not be explicly used in `level`.
      +         * This value must not be explicitly used in `level`.
                * 
      * * LEVEL_UNSPECIFIED = 0; @@ -659,7 +659,7 @@ private Level(int value) { *
              * The constraint relaxation level that applies when the conditions
              * at or after `threshold_time` AND at least `threshold_visit_count` are
      -       * satified.
      +       * satisfied.
              * 
      * * @@ -678,7 +678,7 @@ public int getLevelValue() { *
              * The constraint relaxation level that applies when the conditions
              * at or after `threshold_time` AND at least `threshold_visit_count` are
      -       * satified.
      +       * satisfied.
              * 
      * * @@ -1274,7 +1274,7 @@ public Builder mergeFrom( *
                * The constraint relaxation level that applies when the conditions
                * at or after `threshold_time` AND at least `threshold_visit_count` are
      -         * satified.
      +         * satisfied.
                * 
      * * @@ -1293,7 +1293,7 @@ public int getLevelValue() { *
                * The constraint relaxation level that applies when the conditions
                * at or after `threshold_time` AND at least `threshold_visit_count` are
      -         * satified.
      +         * satisfied.
                * 
      * * @@ -1315,7 +1315,7 @@ public Builder setLevelValue(int value) { *
                * The constraint relaxation level that applies when the conditions
                * at or after `threshold_time` AND at least `threshold_visit_count` are
      -         * satified.
      +         * satisfied.
                * 
      * * @@ -1344,7 +1344,7 @@ public Builder setLevelValue(int value) { *
                * The constraint relaxation level that applies when the conditions
                * at or after `threshold_time` AND at least `threshold_visit_count` are
      -         * satified.
      +         * satisfied.
                * 
      * * @@ -1372,7 +1372,7 @@ public Builder setLevel( *
                * The constraint relaxation level that applies when the conditions
                * at or after `threshold_time` AND at least `threshold_visit_count` are
      -         * satified.
      +         * satisfied.
                * 
      * * diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequest.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequest.java index 1d6df0c708cb..cf0c1c34a73e 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequest.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequest.java @@ -617,7 +617,7 @@ public com.google.cloud.optimization.v1.OptimizeToursRequest.SolvingMode getSolv * * *
      -   * Truncates the number of validation errors returned. Those errors are
      +   * Truncates the number of validation errors returned. These errors are
          * typically attached to an INVALID_ARGUMENT error payload as a BadRequest
          * error detail (https://cloud.google.com/apis/design/errors#error_details),
          * unless solving_mode=VALIDATE_ONLY: see the
      @@ -638,7 +638,7 @@ public boolean hasMaxValidationErrors() {
          *
          *
          * 
      -   * Truncates the number of validation errors returned. Those errors are
      +   * Truncates the number of validation errors returned. These errors are
          * typically attached to an INVALID_ARGUMENT error payload as a BadRequest
          * error detail (https://cloud.google.com/apis/design/errors#error_details),
          * unless solving_mode=VALIDATE_ONLY: see the
      @@ -1373,7 +1373,8 @@ public com.google.protobuf.ByteString getLabelBytes() {
          *
          *
          * 
      -   * Deprecated: Use [OptimizeToursRequest.populate_transition_polylines][]
      +   * Deprecated: Use
      +   * [OptimizeToursRequest.populate_transition_polylines][google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines]
          * instead. If true, polylines will be populated in response
          * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions].
          * Note that in this case, the polylines will also be populated in the
      @@ -1383,7 +1384,7 @@ public com.google.protobuf.ByteString getLabelBytes() {
          * bool populate_travel_step_polylines = 20 [deprecated = true];
          *
          * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines is
      -   *     deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=350
      +   *     deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=351
          * @return The populateTravelStepPolylines.
          */
         @java.lang.Override
      @@ -2900,7 +2901,7 @@ public Builder clearSolvingMode() {
            *
            *
            * 
      -     * Truncates the number of validation errors returned. Those errors are
      +     * Truncates the number of validation errors returned. These errors are
            * typically attached to an INVALID_ARGUMENT error payload as a BadRequest
            * error detail (https://cloud.google.com/apis/design/errors#error_details),
            * unless solving_mode=VALIDATE_ONLY: see the
      @@ -2921,7 +2922,7 @@ public boolean hasMaxValidationErrors() {
            *
            *
            * 
      -     * Truncates the number of validation errors returned. Those errors are
      +     * Truncates the number of validation errors returned. These errors are
            * typically attached to an INVALID_ARGUMENT error payload as a BadRequest
            * error detail (https://cloud.google.com/apis/design/errors#error_details),
            * unless solving_mode=VALIDATE_ONLY: see the
      @@ -2942,7 +2943,7 @@ public int getMaxValidationErrors() {
            *
            *
            * 
      -     * Truncates the number of validation errors returned. Those errors are
      +     * Truncates the number of validation errors returned. These errors are
            * typically attached to an INVALID_ARGUMENT error payload as a BadRequest
            * error detail (https://cloud.google.com/apis/design/errors#error_details),
            * unless solving_mode=VALIDATE_ONLY: see the
      @@ -2967,7 +2968,7 @@ public Builder setMaxValidationErrors(int value) {
            *
            *
            * 
      -     * Truncates the number of validation errors returned. Those errors are
      +     * Truncates the number of validation errors returned. These errors are
            * typically attached to an INVALID_ARGUMENT error payload as a BadRequest
            * error detail (https://cloud.google.com/apis/design/errors#error_details),
            * unless solving_mode=VALIDATE_ONLY: see the
      @@ -5464,7 +5465,8 @@ public Builder setLabelBytes(com.google.protobuf.ByteString value) {
            *
            *
            * 
      -     * Deprecated: Use [OptimizeToursRequest.populate_transition_polylines][]
      +     * Deprecated: Use
      +     * [OptimizeToursRequest.populate_transition_polylines][google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines]
            * instead. If true, polylines will be populated in response
            * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions].
            * Note that in this case, the polylines will also be populated in the
      @@ -5474,7 +5476,7 @@ public Builder setLabelBytes(com.google.protobuf.ByteString value) {
            * bool populate_travel_step_polylines = 20 [deprecated = true];
            *
            * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines
      -     *     is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=350
      +     *     is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=351
            * @return The populateTravelStepPolylines.
            */
           @java.lang.Override
      @@ -5486,7 +5488,8 @@ public boolean getPopulateTravelStepPolylines() {
            *
            *
            * 
      -     * Deprecated: Use [OptimizeToursRequest.populate_transition_polylines][]
      +     * Deprecated: Use
      +     * [OptimizeToursRequest.populate_transition_polylines][google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines]
            * instead. If true, polylines will be populated in response
            * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions].
            * Note that in this case, the polylines will also be populated in the
      @@ -5496,7 +5499,7 @@ public boolean getPopulateTravelStepPolylines() {
            * bool populate_travel_step_polylines = 20 [deprecated = true];
            *
            * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines
      -     *     is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=350
      +     *     is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=351
            * @param value The populateTravelStepPolylines to set.
            * @return This builder for chaining.
            */
      @@ -5512,7 +5515,8 @@ public Builder setPopulateTravelStepPolylines(boolean value) {
            *
            *
            * 
      -     * Deprecated: Use [OptimizeToursRequest.populate_transition_polylines][]
      +     * Deprecated: Use
      +     * [OptimizeToursRequest.populate_transition_polylines][google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines]
            * instead. If true, polylines will be populated in response
            * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions].
            * Note that in this case, the polylines will also be populated in the
      @@ -5522,7 +5526,7 @@ public Builder setPopulateTravelStepPolylines(boolean value) {
            * bool populate_travel_step_polylines = 20 [deprecated = true];
            *
            * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines
      -     *     is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=350
      +     *     is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=351
            * @return This builder for chaining.
            */
           @java.lang.Deprecated
      diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequestOrBuilder.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequestOrBuilder.java
      index f2ad21df6698..c9ff887cebe7 100644
      --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequestOrBuilder.java
      +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequestOrBuilder.java
      @@ -163,7 +163,7 @@ public interface OptimizeToursRequestOrBuilder
          *
          *
          * 
      -   * Truncates the number of validation errors returned. Those errors are
      +   * Truncates the number of validation errors returned. These errors are
          * typically attached to an INVALID_ARGUMENT error payload as a BadRequest
          * error detail (https://cloud.google.com/apis/design/errors#error_details),
          * unless solving_mode=VALIDATE_ONLY: see the
      @@ -181,7 +181,7 @@ public interface OptimizeToursRequestOrBuilder
          *
          *
          * 
      -   * Truncates the number of validation errors returned. Those errors are
      +   * Truncates the number of validation errors returned. These errors are
          * typically attached to an INVALID_ARGUMENT error payload as a BadRequest
          * error detail (https://cloud.google.com/apis/design/errors#error_details),
          * unless solving_mode=VALIDATE_ONLY: see the
      @@ -779,7 +779,8 @@ com.google.cloud.optimization.v1.ShipmentRouteOrBuilder getRefreshDetailsRoutesO
          *
          *
          * 
      -   * Deprecated: Use [OptimizeToursRequest.populate_transition_polylines][]
      +   * Deprecated: Use
      +   * [OptimizeToursRequest.populate_transition_polylines][google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines]
          * instead. If true, polylines will be populated in response
          * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions].
          * Note that in this case, the polylines will also be populated in the
      @@ -789,7 +790,7 @@ com.google.cloud.optimization.v1.ShipmentRouteOrBuilder getRefreshDetailsRoutesO
          * bool populate_travel_step_polylines = 20 [deprecated = true];
          *
          * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines is
      -   *     deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=350
      +   *     deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=351
          * @return The populateTravelStepPolylines.
          */
         @java.lang.Deprecated
      diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponse.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponse.java
      index cc7c3f3c83a7..0776548a4cc3 100644
      --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponse.java
      +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponse.java
      @@ -2751,16 +2751,17 @@ public com.google.cloud.optimization.v1.OptimizeToursResponse.Metrics getMetrics
          *
          *
          * 
      -   * Deprecated: Use [Metrics.total_cost][] instead.
      -   * Total cost of the solution. This takes into account all costs: costs per
      -   * per hour and travel hour, fixed vehicle costs, unperformed shipment penalty
      -   * costs, global duration cost, etc.
      +   * Deprecated: Use
      +   * [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +   * instead. Total cost of the solution. This takes into account all costs:
      +   * costs per per hour and travel hour, fixed vehicle costs, unperformed
      +   * shipment penalty costs, global duration cost, etc.
          * 
      * * double total_cost = 2 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=423 + * google/cloud/optimization/v1/fleet_routing.proto;l=425 * @return The totalCost. */ @java.lang.Override @@ -4880,16 +4881,17 @@ public Builder clearMetrics() { * * *
      -     * Deprecated: Use [Metrics.total_cost][] instead.
      -     * Total cost of the solution. This takes into account all costs: costs per
      -     * per hour and travel hour, fixed vehicle costs, unperformed shipment penalty
      -     * costs, global duration cost, etc.
      +     * Deprecated: Use
      +     * [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +     * instead. Total cost of the solution. This takes into account all costs:
      +     * costs per per hour and travel hour, fixed vehicle costs, unperformed
      +     * shipment penalty costs, global duration cost, etc.
            * 
      * * double total_cost = 2 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=423 + * google/cloud/optimization/v1/fleet_routing.proto;l=425 * @return The totalCost. */ @java.lang.Override @@ -4901,16 +4903,17 @@ public double getTotalCost() { * * *
      -     * Deprecated: Use [Metrics.total_cost][] instead.
      -     * Total cost of the solution. This takes into account all costs: costs per
      -     * per hour and travel hour, fixed vehicle costs, unperformed shipment penalty
      -     * costs, global duration cost, etc.
      +     * Deprecated: Use
      +     * [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +     * instead. Total cost of the solution. This takes into account all costs:
      +     * costs per per hour and travel hour, fixed vehicle costs, unperformed
      +     * shipment penalty costs, global duration cost, etc.
            * 
      * * double total_cost = 2 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=423 + * google/cloud/optimization/v1/fleet_routing.proto;l=425 * @param value The totalCost to set. * @return This builder for chaining. */ @@ -4926,16 +4929,17 @@ public Builder setTotalCost(double value) { * * *
      -     * Deprecated: Use [Metrics.total_cost][] instead.
      -     * Total cost of the solution. This takes into account all costs: costs per
      -     * per hour and travel hour, fixed vehicle costs, unperformed shipment penalty
      -     * costs, global duration cost, etc.
      +     * Deprecated: Use
      +     * [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +     * instead. Total cost of the solution. This takes into account all costs:
      +     * costs per per hour and travel hour, fixed vehicle costs, unperformed
      +     * shipment penalty costs, global duration cost, etc.
            * 
      * * double total_cost = 2 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=423 + * google/cloud/optimization/v1/fleet_routing.proto;l=425 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponseOrBuilder.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponseOrBuilder.java index bb04c56d6283..a7f244aa393e 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponseOrBuilder.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponseOrBuilder.java @@ -279,16 +279,17 @@ public interface OptimizeToursResponseOrBuilder * * *
      -   * Deprecated: Use [Metrics.total_cost][] instead.
      -   * Total cost of the solution. This takes into account all costs: costs per
      -   * per hour and travel hour, fixed vehicle costs, unperformed shipment penalty
      -   * costs, global duration cost, etc.
      +   * Deprecated: Use
      +   * [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost]
      +   * instead. Total cost of the solution. This takes into account all costs:
      +   * costs per per hour and travel hour, fixed vehicle costs, unperformed
      +   * shipment penalty costs, global duration cost, etc.
          * 
      * * double total_cost = 2 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=423 + * google/cloud/optimization/v1/fleet_routing.proto;l=425 * @return The totalCost. */ @java.lang.Deprecated diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationError.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationError.java index b67a820a3f5a..5a96883f82bf 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationError.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationError.java @@ -1665,6 +1665,11 @@ public com.google.protobuf.Parser getParserForType() { * * INJECTED_SOLUTION_MISSING_LABEL = 2000; * * INJECTED_SOLUTION_DUPLICATE_LABEL = 2001; * * INJECTED_SOLUTION_AMBIGUOUS_INDEX = 2002; + * * INJECTED_SOLUTION_INFEASIBLE_AFTER_GETTING_TRAVEL_TIMES = 2003; + * * INJECTED_SOLUTION_TRANSITION_INCONSISTENT_WITH_ACTUAL_TRAVEL = 2004; + * * INJECTED_SOLUTION_CONCURRENT_SOLUTION_TYPES = 2005; + * * INJECTED_SOLUTION_MORE_THAN_ONE_PER_TYPE = 2006; + * * INJECTED_SOLUTION_REFRESH_WITHOUT_POPULATE = 2008; * * SHIPMENT_MODEL_ERROR = 22; * * SHIPMENT_MODEL_TOO_LARGE = 2200; * * SHIPMENT_MODEL_TOO_MANY_CAPACITY_TYPES = 2201; @@ -1672,6 +1677,8 @@ public com.google.protobuf.Parser getParserForType() { * * SHIPMENT_MODEL_GLOBAL_END_TIME_TOO_LARGE_OR_NAN = 2203; * * SHIPMENT_MODEL_GLOBAL_START_TIME_AFTER_GLOBAL_END_TIME = 2204; * * SHIPMENT_MODEL_GLOBAL_DURATION_TOO_LONG = 2205; + * * SHIPMENT_MODEL_MAX_ACTIVE_VEHICLES_NOT_POSITIVE = 2206; + * * SHIPMENT_MODEL_DURATION_MATRIX_TOO_LARGE = 2207; * * INDEX_ERROR = 24; * * TAG_ERROR = 26; * * TIME_WINDOW_ERROR = 28; @@ -1753,9 +1760,12 @@ public com.google.protobuf.Parser getParserForType() { * * DURATION_LIMIT_QUADRATIC_SOFT_MAX_DURATION_EXCEEDS_GLOBAL_DURATION * = 3815; * * SHIPMENT_ERROR = 40; + * * SHIPMENT_PD_LIMIT_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_NEGATIVE_OR_NAN = 4000; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION * = 4001; + * * SHIPMENT_PD_RELATIVE_DETOUR_LIMIT_INVALID = 4015; + * * SHIPMENT_PD_DETOUR_LIMIT_AND_EXTRA_VISIT_DURATION = 4016; * * SHIPMENT_PD_TIME_LIMIT_DURATION_NEGATIVE_OR_NAN = 4002; * * SHIPMENT_PD_TIME_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION = 4003; * * SHIPMENT_EMPTY_SHIPMENT_TYPE = 4004; @@ -1768,7 +1778,6 @@ public com.google.protobuf.Parser getParserForType() { * * SHIPMENT_INVALID_COST_FOR_VEHICLE = 4011; * * SHIPMENT_COST_FOR_VEHICLE_INDEX_OUT_OF_BOUNDS = 4012; * * SHIPMENT_DUPLICATE_COST_FOR_VEHICLE_INDEX = 4013; - * * SHIPMENT_DETOUR_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * VEHICLE_ERROR = 42; * * VEHICLE_EMPTY_REQUIRED_OPERATOR_TYPE = 4200; * * VEHICLE_DUPLICATE_REQUIRED_OPERATOR_TYPE = 4201; @@ -1792,6 +1801,9 @@ public com.google.protobuf.Parser getParserForType() { * * VEHICLE_INVALID_COST_PER_TRAVELED_HOUR = 4219; * * VEHICLE_INVALID_FIXED_COST = 4220; * * VEHICLE_INVALID_TRAVEL_DURATION_MULTIPLE = 4221; + * * VEHICLE_TRAVEL_DURATION_MULTIPLE_WITH_SHIPMENT_PD_DETOUR_LIMITS + * = 4223; + * * VEHICLE_MATRIX_INDEX_WITH_SHIPMENT_PD_DETOUR_LIMITS = 4224; * * VEHICLE_MINIMUM_DURATION_LONGER_THAN_DURATION_LIMIT = 4222; * * VISIT_REQUEST_ERROR = 44; * * VISIT_REQUEST_EMPTY_TAG = 4400; @@ -1844,9 +1856,6 @@ public com.google.protobuf.Parser getParserForType() { * * DURATION_SECONDS_MATRIX_ERROR = 56; * * DURATION_SECONDS_MATRIX_DURATION_NEGATIVE_OR_NAN = 5600; * * DURATION_SECONDS_MATRIX_DURATION_EXCEEDS_GLOBAL_DURATION = 5601; - * * GRAPH_ARC_ERROR = 58; - * * GRAPH_ARC_DURATION_NEGATIVE_OR_NAN = 5800; - * * GRAPH_ARC_DURATION_EXCEEDS_GLOBAL_DURATION = 5801; *
      * * int32 code = 1; @@ -2686,6 +2695,11 @@ public Builder mergeFrom( * * INJECTED_SOLUTION_MISSING_LABEL = 2000; * * INJECTED_SOLUTION_DUPLICATE_LABEL = 2001; * * INJECTED_SOLUTION_AMBIGUOUS_INDEX = 2002; + * * INJECTED_SOLUTION_INFEASIBLE_AFTER_GETTING_TRAVEL_TIMES = 2003; + * * INJECTED_SOLUTION_TRANSITION_INCONSISTENT_WITH_ACTUAL_TRAVEL = 2004; + * * INJECTED_SOLUTION_CONCURRENT_SOLUTION_TYPES = 2005; + * * INJECTED_SOLUTION_MORE_THAN_ONE_PER_TYPE = 2006; + * * INJECTED_SOLUTION_REFRESH_WITHOUT_POPULATE = 2008; * * SHIPMENT_MODEL_ERROR = 22; * * SHIPMENT_MODEL_TOO_LARGE = 2200; * * SHIPMENT_MODEL_TOO_MANY_CAPACITY_TYPES = 2201; @@ -2693,6 +2707,8 @@ public Builder mergeFrom( * * SHIPMENT_MODEL_GLOBAL_END_TIME_TOO_LARGE_OR_NAN = 2203; * * SHIPMENT_MODEL_GLOBAL_START_TIME_AFTER_GLOBAL_END_TIME = 2204; * * SHIPMENT_MODEL_GLOBAL_DURATION_TOO_LONG = 2205; + * * SHIPMENT_MODEL_MAX_ACTIVE_VEHICLES_NOT_POSITIVE = 2206; + * * SHIPMENT_MODEL_DURATION_MATRIX_TOO_LARGE = 2207; * * INDEX_ERROR = 24; * * TAG_ERROR = 26; * * TIME_WINDOW_ERROR = 28; @@ -2774,9 +2790,12 @@ public Builder mergeFrom( * * DURATION_LIMIT_QUADRATIC_SOFT_MAX_DURATION_EXCEEDS_GLOBAL_DURATION * = 3815; * * SHIPMENT_ERROR = 40; + * * SHIPMENT_PD_LIMIT_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_NEGATIVE_OR_NAN = 4000; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION * = 4001; + * * SHIPMENT_PD_RELATIVE_DETOUR_LIMIT_INVALID = 4015; + * * SHIPMENT_PD_DETOUR_LIMIT_AND_EXTRA_VISIT_DURATION = 4016; * * SHIPMENT_PD_TIME_LIMIT_DURATION_NEGATIVE_OR_NAN = 4002; * * SHIPMENT_PD_TIME_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION = 4003; * * SHIPMENT_EMPTY_SHIPMENT_TYPE = 4004; @@ -2789,7 +2808,6 @@ public Builder mergeFrom( * * SHIPMENT_INVALID_COST_FOR_VEHICLE = 4011; * * SHIPMENT_COST_FOR_VEHICLE_INDEX_OUT_OF_BOUNDS = 4012; * * SHIPMENT_DUPLICATE_COST_FOR_VEHICLE_INDEX = 4013; - * * SHIPMENT_DETOUR_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * VEHICLE_ERROR = 42; * * VEHICLE_EMPTY_REQUIRED_OPERATOR_TYPE = 4200; * * VEHICLE_DUPLICATE_REQUIRED_OPERATOR_TYPE = 4201; @@ -2813,6 +2831,9 @@ public Builder mergeFrom( * * VEHICLE_INVALID_COST_PER_TRAVELED_HOUR = 4219; * * VEHICLE_INVALID_FIXED_COST = 4220; * * VEHICLE_INVALID_TRAVEL_DURATION_MULTIPLE = 4221; + * * VEHICLE_TRAVEL_DURATION_MULTIPLE_WITH_SHIPMENT_PD_DETOUR_LIMITS + * = 4223; + * * VEHICLE_MATRIX_INDEX_WITH_SHIPMENT_PD_DETOUR_LIMITS = 4224; * * VEHICLE_MINIMUM_DURATION_LONGER_THAN_DURATION_LIMIT = 4222; * * VISIT_REQUEST_ERROR = 44; * * VISIT_REQUEST_EMPTY_TAG = 4400; @@ -2865,9 +2886,6 @@ public Builder mergeFrom( * * DURATION_SECONDS_MATRIX_ERROR = 56; * * DURATION_SECONDS_MATRIX_DURATION_NEGATIVE_OR_NAN = 5600; * * DURATION_SECONDS_MATRIX_DURATION_EXCEEDS_GLOBAL_DURATION = 5601; - * * GRAPH_ARC_ERROR = 58; - * * GRAPH_ARC_DURATION_NEGATIVE_OR_NAN = 5800; - * * GRAPH_ARC_DURATION_EXCEEDS_GLOBAL_DURATION = 5801; *
      * * int32 code = 1; @@ -2921,6 +2939,11 @@ public int getCode() { * * INJECTED_SOLUTION_MISSING_LABEL = 2000; * * INJECTED_SOLUTION_DUPLICATE_LABEL = 2001; * * INJECTED_SOLUTION_AMBIGUOUS_INDEX = 2002; + * * INJECTED_SOLUTION_INFEASIBLE_AFTER_GETTING_TRAVEL_TIMES = 2003; + * * INJECTED_SOLUTION_TRANSITION_INCONSISTENT_WITH_ACTUAL_TRAVEL = 2004; + * * INJECTED_SOLUTION_CONCURRENT_SOLUTION_TYPES = 2005; + * * INJECTED_SOLUTION_MORE_THAN_ONE_PER_TYPE = 2006; + * * INJECTED_SOLUTION_REFRESH_WITHOUT_POPULATE = 2008; * * SHIPMENT_MODEL_ERROR = 22; * * SHIPMENT_MODEL_TOO_LARGE = 2200; * * SHIPMENT_MODEL_TOO_MANY_CAPACITY_TYPES = 2201; @@ -2928,6 +2951,8 @@ public int getCode() { * * SHIPMENT_MODEL_GLOBAL_END_TIME_TOO_LARGE_OR_NAN = 2203; * * SHIPMENT_MODEL_GLOBAL_START_TIME_AFTER_GLOBAL_END_TIME = 2204; * * SHIPMENT_MODEL_GLOBAL_DURATION_TOO_LONG = 2205; + * * SHIPMENT_MODEL_MAX_ACTIVE_VEHICLES_NOT_POSITIVE = 2206; + * * SHIPMENT_MODEL_DURATION_MATRIX_TOO_LARGE = 2207; * * INDEX_ERROR = 24; * * TAG_ERROR = 26; * * TIME_WINDOW_ERROR = 28; @@ -3009,9 +3034,12 @@ public int getCode() { * * DURATION_LIMIT_QUADRATIC_SOFT_MAX_DURATION_EXCEEDS_GLOBAL_DURATION * = 3815; * * SHIPMENT_ERROR = 40; + * * SHIPMENT_PD_LIMIT_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_NEGATIVE_OR_NAN = 4000; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION * = 4001; + * * SHIPMENT_PD_RELATIVE_DETOUR_LIMIT_INVALID = 4015; + * * SHIPMENT_PD_DETOUR_LIMIT_AND_EXTRA_VISIT_DURATION = 4016; * * SHIPMENT_PD_TIME_LIMIT_DURATION_NEGATIVE_OR_NAN = 4002; * * SHIPMENT_PD_TIME_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION = 4003; * * SHIPMENT_EMPTY_SHIPMENT_TYPE = 4004; @@ -3024,7 +3052,6 @@ public int getCode() { * * SHIPMENT_INVALID_COST_FOR_VEHICLE = 4011; * * SHIPMENT_COST_FOR_VEHICLE_INDEX_OUT_OF_BOUNDS = 4012; * * SHIPMENT_DUPLICATE_COST_FOR_VEHICLE_INDEX = 4013; - * * SHIPMENT_DETOUR_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * VEHICLE_ERROR = 42; * * VEHICLE_EMPTY_REQUIRED_OPERATOR_TYPE = 4200; * * VEHICLE_DUPLICATE_REQUIRED_OPERATOR_TYPE = 4201; @@ -3048,6 +3075,9 @@ public int getCode() { * * VEHICLE_INVALID_COST_PER_TRAVELED_HOUR = 4219; * * VEHICLE_INVALID_FIXED_COST = 4220; * * VEHICLE_INVALID_TRAVEL_DURATION_MULTIPLE = 4221; + * * VEHICLE_TRAVEL_DURATION_MULTIPLE_WITH_SHIPMENT_PD_DETOUR_LIMITS + * = 4223; + * * VEHICLE_MATRIX_INDEX_WITH_SHIPMENT_PD_DETOUR_LIMITS = 4224; * * VEHICLE_MINIMUM_DURATION_LONGER_THAN_DURATION_LIMIT = 4222; * * VISIT_REQUEST_ERROR = 44; * * VISIT_REQUEST_EMPTY_TAG = 4400; @@ -3100,9 +3130,6 @@ public int getCode() { * * DURATION_SECONDS_MATRIX_ERROR = 56; * * DURATION_SECONDS_MATRIX_DURATION_NEGATIVE_OR_NAN = 5600; * * DURATION_SECONDS_MATRIX_DURATION_EXCEEDS_GLOBAL_DURATION = 5601; - * * GRAPH_ARC_ERROR = 58; - * * GRAPH_ARC_DURATION_NEGATIVE_OR_NAN = 5800; - * * GRAPH_ARC_DURATION_EXCEEDS_GLOBAL_DURATION = 5801; *
      * * int32 code = 1; @@ -3160,6 +3187,11 @@ public Builder setCode(int value) { * * INJECTED_SOLUTION_MISSING_LABEL = 2000; * * INJECTED_SOLUTION_DUPLICATE_LABEL = 2001; * * INJECTED_SOLUTION_AMBIGUOUS_INDEX = 2002; + * * INJECTED_SOLUTION_INFEASIBLE_AFTER_GETTING_TRAVEL_TIMES = 2003; + * * INJECTED_SOLUTION_TRANSITION_INCONSISTENT_WITH_ACTUAL_TRAVEL = 2004; + * * INJECTED_SOLUTION_CONCURRENT_SOLUTION_TYPES = 2005; + * * INJECTED_SOLUTION_MORE_THAN_ONE_PER_TYPE = 2006; + * * INJECTED_SOLUTION_REFRESH_WITHOUT_POPULATE = 2008; * * SHIPMENT_MODEL_ERROR = 22; * * SHIPMENT_MODEL_TOO_LARGE = 2200; * * SHIPMENT_MODEL_TOO_MANY_CAPACITY_TYPES = 2201; @@ -3167,6 +3199,8 @@ public Builder setCode(int value) { * * SHIPMENT_MODEL_GLOBAL_END_TIME_TOO_LARGE_OR_NAN = 2203; * * SHIPMENT_MODEL_GLOBAL_START_TIME_AFTER_GLOBAL_END_TIME = 2204; * * SHIPMENT_MODEL_GLOBAL_DURATION_TOO_LONG = 2205; + * * SHIPMENT_MODEL_MAX_ACTIVE_VEHICLES_NOT_POSITIVE = 2206; + * * SHIPMENT_MODEL_DURATION_MATRIX_TOO_LARGE = 2207; * * INDEX_ERROR = 24; * * TAG_ERROR = 26; * * TIME_WINDOW_ERROR = 28; @@ -3248,9 +3282,12 @@ public Builder setCode(int value) { * * DURATION_LIMIT_QUADRATIC_SOFT_MAX_DURATION_EXCEEDS_GLOBAL_DURATION * = 3815; * * SHIPMENT_ERROR = 40; + * * SHIPMENT_PD_LIMIT_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_NEGATIVE_OR_NAN = 4000; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION * = 4001; + * * SHIPMENT_PD_RELATIVE_DETOUR_LIMIT_INVALID = 4015; + * * SHIPMENT_PD_DETOUR_LIMIT_AND_EXTRA_VISIT_DURATION = 4016; * * SHIPMENT_PD_TIME_LIMIT_DURATION_NEGATIVE_OR_NAN = 4002; * * SHIPMENT_PD_TIME_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION = 4003; * * SHIPMENT_EMPTY_SHIPMENT_TYPE = 4004; @@ -3263,7 +3300,6 @@ public Builder setCode(int value) { * * SHIPMENT_INVALID_COST_FOR_VEHICLE = 4011; * * SHIPMENT_COST_FOR_VEHICLE_INDEX_OUT_OF_BOUNDS = 4012; * * SHIPMENT_DUPLICATE_COST_FOR_VEHICLE_INDEX = 4013; - * * SHIPMENT_DETOUR_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * VEHICLE_ERROR = 42; * * VEHICLE_EMPTY_REQUIRED_OPERATOR_TYPE = 4200; * * VEHICLE_DUPLICATE_REQUIRED_OPERATOR_TYPE = 4201; @@ -3287,6 +3323,9 @@ public Builder setCode(int value) { * * VEHICLE_INVALID_COST_PER_TRAVELED_HOUR = 4219; * * VEHICLE_INVALID_FIXED_COST = 4220; * * VEHICLE_INVALID_TRAVEL_DURATION_MULTIPLE = 4221; + * * VEHICLE_TRAVEL_DURATION_MULTIPLE_WITH_SHIPMENT_PD_DETOUR_LIMITS + * = 4223; + * * VEHICLE_MATRIX_INDEX_WITH_SHIPMENT_PD_DETOUR_LIMITS = 4224; * * VEHICLE_MINIMUM_DURATION_LONGER_THAN_DURATION_LIMIT = 4222; * * VISIT_REQUEST_ERROR = 44; * * VISIT_REQUEST_EMPTY_TAG = 4400; @@ -3339,9 +3378,6 @@ public Builder setCode(int value) { * * DURATION_SECONDS_MATRIX_ERROR = 56; * * DURATION_SECONDS_MATRIX_DURATION_NEGATIVE_OR_NAN = 5600; * * DURATION_SECONDS_MATRIX_DURATION_EXCEEDS_GLOBAL_DURATION = 5601; - * * GRAPH_ARC_ERROR = 58; - * * GRAPH_ARC_DURATION_NEGATIVE_OR_NAN = 5800; - * * GRAPH_ARC_DURATION_EXCEEDS_GLOBAL_DURATION = 5801; *
      * * int32 code = 1; diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationErrorOrBuilder.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationErrorOrBuilder.java index 415e1f4d6998..889572b2e050 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationErrorOrBuilder.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationErrorOrBuilder.java @@ -66,6 +66,11 @@ public interface OptimizeToursValidationErrorOrBuilder * * INJECTED_SOLUTION_MISSING_LABEL = 2000; * * INJECTED_SOLUTION_DUPLICATE_LABEL = 2001; * * INJECTED_SOLUTION_AMBIGUOUS_INDEX = 2002; + * * INJECTED_SOLUTION_INFEASIBLE_AFTER_GETTING_TRAVEL_TIMES = 2003; + * * INJECTED_SOLUTION_TRANSITION_INCONSISTENT_WITH_ACTUAL_TRAVEL = 2004; + * * INJECTED_SOLUTION_CONCURRENT_SOLUTION_TYPES = 2005; + * * INJECTED_SOLUTION_MORE_THAN_ONE_PER_TYPE = 2006; + * * INJECTED_SOLUTION_REFRESH_WITHOUT_POPULATE = 2008; * * SHIPMENT_MODEL_ERROR = 22; * * SHIPMENT_MODEL_TOO_LARGE = 2200; * * SHIPMENT_MODEL_TOO_MANY_CAPACITY_TYPES = 2201; @@ -73,6 +78,8 @@ public interface OptimizeToursValidationErrorOrBuilder * * SHIPMENT_MODEL_GLOBAL_END_TIME_TOO_LARGE_OR_NAN = 2203; * * SHIPMENT_MODEL_GLOBAL_START_TIME_AFTER_GLOBAL_END_TIME = 2204; * * SHIPMENT_MODEL_GLOBAL_DURATION_TOO_LONG = 2205; + * * SHIPMENT_MODEL_MAX_ACTIVE_VEHICLES_NOT_POSITIVE = 2206; + * * SHIPMENT_MODEL_DURATION_MATRIX_TOO_LARGE = 2207; * * INDEX_ERROR = 24; * * TAG_ERROR = 26; * * TIME_WINDOW_ERROR = 28; @@ -154,9 +161,12 @@ public interface OptimizeToursValidationErrorOrBuilder * * DURATION_LIMIT_QUADRATIC_SOFT_MAX_DURATION_EXCEEDS_GLOBAL_DURATION * = 3815; * * SHIPMENT_ERROR = 40; + * * SHIPMENT_PD_LIMIT_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_NEGATIVE_OR_NAN = 4000; * * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION * = 4001; + * * SHIPMENT_PD_RELATIVE_DETOUR_LIMIT_INVALID = 4015; + * * SHIPMENT_PD_DETOUR_LIMIT_AND_EXTRA_VISIT_DURATION = 4016; * * SHIPMENT_PD_TIME_LIMIT_DURATION_NEGATIVE_OR_NAN = 4002; * * SHIPMENT_PD_TIME_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION = 4003; * * SHIPMENT_EMPTY_SHIPMENT_TYPE = 4004; @@ -169,7 +179,6 @@ public interface OptimizeToursValidationErrorOrBuilder * * SHIPMENT_INVALID_COST_FOR_VEHICLE = 4011; * * SHIPMENT_COST_FOR_VEHICLE_INDEX_OUT_OF_BOUNDS = 4012; * * SHIPMENT_DUPLICATE_COST_FOR_VEHICLE_INDEX = 4013; - * * SHIPMENT_DETOUR_WITHOUT_PICKUP_AND_DELIVERY = 4014; * * VEHICLE_ERROR = 42; * * VEHICLE_EMPTY_REQUIRED_OPERATOR_TYPE = 4200; * * VEHICLE_DUPLICATE_REQUIRED_OPERATOR_TYPE = 4201; @@ -193,6 +202,9 @@ public interface OptimizeToursValidationErrorOrBuilder * * VEHICLE_INVALID_COST_PER_TRAVELED_HOUR = 4219; * * VEHICLE_INVALID_FIXED_COST = 4220; * * VEHICLE_INVALID_TRAVEL_DURATION_MULTIPLE = 4221; + * * VEHICLE_TRAVEL_DURATION_MULTIPLE_WITH_SHIPMENT_PD_DETOUR_LIMITS + * = 4223; + * * VEHICLE_MATRIX_INDEX_WITH_SHIPMENT_PD_DETOUR_LIMITS = 4224; * * VEHICLE_MINIMUM_DURATION_LONGER_THAN_DURATION_LIMIT = 4222; * * VISIT_REQUEST_ERROR = 44; * * VISIT_REQUEST_EMPTY_TAG = 4400; @@ -245,9 +257,6 @@ public interface OptimizeToursValidationErrorOrBuilder * * DURATION_SECONDS_MATRIX_ERROR = 56; * * DURATION_SECONDS_MATRIX_DURATION_NEGATIVE_OR_NAN = 5600; * * DURATION_SECONDS_MATRIX_DURATION_EXCEEDS_GLOBAL_DURATION = 5601; - * * GRAPH_ARC_ERROR = 58; - * * GRAPH_ARC_DURATION_NEGATIVE_OR_NAN = 5800; - * * GRAPH_ARC_DURATION_EXCEEDS_GLOBAL_DURATION = 5801; *
      * * int32 code = 1; diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Shipment.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Shipment.java index c86aaaaf454f..7c92f25b3c4e 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Shipment.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Shipment.java @@ -669,7 +669,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -682,7 +684,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -695,7 +699,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -708,7 +714,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -722,7 +730,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -1572,7 +1582,9 @@ public com.google.protobuf.ByteString getLabelBytes() { * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -1588,7 +1600,9 @@ public java.util.List getDema * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -1605,7 +1619,9 @@ public java.util.List getDema * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -1621,7 +1637,9 @@ public int getDemandsCount() { * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -1637,7 +1655,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getDemands(int index) { * * *
      -     * Deprecated: Use [VisitRequest.load_demands][] instead.
      +     * Deprecated: Use
      +     * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +     * instead.
            * 
      * * @@ -4829,7 +4849,9 @@ private void ensureDemandsIsMutable() { * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -4848,7 +4870,9 @@ public java.util.List getDema * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -4867,7 +4891,9 @@ public int getDemandsCount() { * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -4886,7 +4912,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getDemands(int index) { * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -4912,7 +4940,9 @@ public Builder setDemands( * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -4935,7 +4965,9 @@ public Builder setDemands( * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -4960,7 +4992,9 @@ public Builder addDemands(com.google.cloud.optimization.v1.CapacityQuantity valu * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -4986,7 +5020,9 @@ public Builder addDemands( * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5009,7 +5045,9 @@ public Builder addDemands( * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5032,7 +5070,9 @@ public Builder addDemands( * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5055,7 +5095,9 @@ public Builder addAllDemands( * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5077,7 +5119,9 @@ public Builder clearDemands() { * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5099,7 +5143,9 @@ public Builder removeDemands(int index) { * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5115,7 +5161,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder getDemandsBuild * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5135,7 +5183,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getDemandsOrBu * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5155,7 +5205,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getDemandsOrBu * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5171,7 +5223,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addDemandsBuild * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -5189,7 +5243,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addDemandsBuild * * *
      -       * Deprecated: Use [VisitRequest.load_demands][] instead.
      +       * Deprecated: Use
      +       * [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands]
      +       * instead.
              * 
      * * @@ -6734,7 +6790,9 @@ public boolean getIgnore() { * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; @@ -6749,7 +6807,9 @@ public java.util.List getDema * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; @@ -6765,7 +6825,9 @@ public java.util.List getDema * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; @@ -6780,7 +6842,9 @@ public int getDemandsCount() { * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; @@ -6795,7 +6859,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getDemands(int index) { * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; @@ -10330,7 +10396,9 @@ private void ensureDemandsIsMutable() { * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10349,7 +10417,9 @@ public java.util.List getDema * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10368,7 +10438,9 @@ public int getDemandsCount() { * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10387,7 +10459,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getDemands(int index) { * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10412,7 +10486,9 @@ public Builder setDemands(int index, com.google.cloud.optimization.v1.CapacityQu * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10435,7 +10511,9 @@ public Builder setDemands( * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10460,7 +10538,9 @@ public Builder addDemands(com.google.cloud.optimization.v1.CapacityQuantity valu * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10485,7 +10565,9 @@ public Builder addDemands(int index, com.google.cloud.optimization.v1.CapacityQu * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10508,7 +10590,9 @@ public Builder addDemands( * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10531,7 +10615,9 @@ public Builder addDemands( * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10554,7 +10640,9 @@ public Builder addAllDemands( * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10576,7 +10664,9 @@ public Builder clearDemands() { * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10598,7 +10688,9 @@ public Builder removeDemands(int index) { * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10613,7 +10705,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder getDemandsBuild * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10633,7 +10727,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getDemandsOrBu * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10653,7 +10749,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getDemandsOrBu * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10669,7 +10767,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addDemandsBuild * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * @@ -10686,7 +10786,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addDemandsBuild * * *
      -     * Deprecated: Use [Shipment.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +     * instead.
            * 
      * * diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentModel.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentModel.java index 7fd0fa81d36d..fa47ce501ce4 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentModel.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentModel.java @@ -4277,17 +4277,18 @@ com.google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest getBreakRe * * *
      -   * Deprecated: Use top level [BreakRule][] instead.
      +   * Deprecated: Use top level
      +   * [BreakRule][google.cloud.optimization.v1.ShipmentModel.BreakRule] instead.
          * Rules to generate time breaks for a vehicle (e.g. lunch
          * breaks). A break is a contiguous period of time during which the vehicle
          * remains idle at its current position and cannot perform any visit. A break
          * may occur:
          * * during the travel between two visits (which includes the time right
          *   before or right after a visit, but not in the middle of a visit), in
      -   *   which case it extends the corresponding transit time between the visits,
      -   * * or before the vehicle start (the vehicle may not start in the middle of
      +   *   which case it extends the corresponding transit time between the visits
      +   * * before the vehicle start (the vehicle may not start in the middle of
          *   a break), in which case it does not affect the vehicle start time.
      -   * * or after the vehicle end (ditto, with the vehicle end time).
      +   * * after the vehicle end (ditto, with the vehicle end time).
          * 
      * * Protobuf type {@code google.cloud.optimization.v1.ShipmentModel.BreakRule} @@ -7401,17 +7402,18 @@ protected Builder newBuilderForType( * * *
      -     * Deprecated: Use top level [BreakRule][] instead.
      +     * Deprecated: Use top level
      +     * [BreakRule][google.cloud.optimization.v1.ShipmentModel.BreakRule] instead.
            * Rules to generate time breaks for a vehicle (e.g. lunch
            * breaks). A break is a contiguous period of time during which the vehicle
            * remains idle at its current position and cannot perform any visit. A break
            * may occur:
            * * during the travel between two visits (which includes the time right
            *   before or right after a visit, but not in the middle of a visit), in
      -     *   which case it extends the corresponding transit time between the visits,
      -     * * or before the vehicle start (the vehicle may not start in the middle of
      +     *   which case it extends the corresponding transit time between the visits
      +     * * before the vehicle start (the vehicle may not start in the middle of
            *   a break), in which case it does not affect the vehicle start time.
      -     * * or after the vehicle end (ditto, with the vehicle end time).
      +     * * after the vehicle end (ditto, with the vehicle end time).
            * 
      * * Protobuf type {@code google.cloud.optimization.v1.ShipmentModel.BreakRule} diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentOrBuilder.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentOrBuilder.java index e534a6ed5ee7..7520303e7860 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentOrBuilder.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentOrBuilder.java @@ -675,7 +675,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; @@ -687,7 +689,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; @@ -699,7 +703,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; @@ -711,7 +717,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; @@ -724,7 +732,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -   * Deprecated: Use [Shipment.load_demands][] instead.
      +   * Deprecated: Use
      +   * [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands]
      +   * instead.
          * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity demands = 3 [deprecated = true]; diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRoute.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRoute.java index 886cc5af776f..9c485bb4dfca 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRoute.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRoute.java @@ -240,8 +240,9 @@ public interface DelayOrBuilder * * *
      -   * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -   * Time interval spent on the route resulting from a
      +   * Deprecated: Use
      +   * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +   * instead. Time interval spent on the route resulting from a
          * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
          * 
      * @@ -562,8 +563,9 @@ protected Builder newBuilderForType( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Time interval spent on the route resulting from a
      +     * Deprecated: Use
      +     * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +     * instead. Time interval spent on the route resulting from a
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * @@ -1501,9 +1503,10 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -1520,9 +1523,10 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -1539,9 +1543,10 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -1558,9 +1563,10 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -1578,9 +1584,10 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -1598,7 +1605,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +     * instead. Delay occurring before the visit starts.
            * 
      * * @@ -1606,7 +1615,7 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * * @deprecated google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is - * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1895 + * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1915 * @return Whether the delayBeforeStart field is set. */ @java.lang.Deprecated @@ -1615,7 +1624,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +     * instead. Delay occurring before the visit starts.
            * 
      * * @@ -1623,7 +1634,7 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * * @deprecated google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is - * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1895 + * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1915 * @return The delayBeforeStart. */ @java.lang.Deprecated @@ -1632,7 +1643,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +     * instead. Delay occurring before the visit starts.
            * 
      * * @@ -1646,7 +1659,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -1659,7 +1674,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -1672,7 +1689,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -1685,7 +1704,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -1699,7 +1720,9 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault( * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -2222,9 +2245,10 @@ public com.google.protobuf.ByteString getVisitLabelBytes() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -2244,9 +2268,10 @@ public java.util.List getArri
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -2267,9 +2292,10 @@ public java.util.List getArri
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -2289,9 +2315,10 @@ public int getArrivalLoadsCount() {
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -2311,9 +2338,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity getArrivalLoads(int ind
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at the visit location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at the visit location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or `demands`.
            * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -2337,7 +2365,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getArrivalLoad
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +     * instead. Delay occurring before the visit starts.
            * 
      * * @@ -2345,7 +2375,7 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getArrivalLoad * * * @deprecated google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is - * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1895 + * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1915 * @return Whether the delayBeforeStart field is set. */ @java.lang.Override @@ -2357,7 +2387,9 @@ public boolean hasDelayBeforeStart() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +     * instead. Delay occurring before the visit starts.
            * 
      * * @@ -2365,7 +2397,7 @@ public boolean hasDelayBeforeStart() { * * * @deprecated google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is - * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1895 + * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1915 * @return The delayBeforeStart. */ @java.lang.Override @@ -2379,7 +2411,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.Delay getDelayBeforeStart( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +     * Deprecated: Use
      +     * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +     * instead. Delay occurring before the visit starts.
            * 
      * * @@ -2403,7 +2437,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.Delay getDelayBeforeStart( * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -2419,7 +2455,9 @@ public java.util.List getDema * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -2436,7 +2474,9 @@ public java.util.List getDema * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -2452,7 +2492,9 @@ public int getDemandsCount() { * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -2468,7 +2510,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getDemands(int index) { * * *
      -     * Deprecated: Use [Visit.load_demands][] instead.
      +     * Deprecated: Use
      +     * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +     * instead.
            * 
      * * @@ -4354,9 +4398,10 @@ private void ensureArrivalLoadsIsMutable() { * * *
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4380,9 +4425,10 @@ private void ensureArrivalLoadsIsMutable() {
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4405,9 +4451,10 @@ public int getArrivalLoadsCount() {
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4430,9 +4477,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity getArrivalLoads(int ind
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4462,9 +4510,10 @@ public Builder setArrivalLoads(
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4491,9 +4540,10 @@ public Builder setArrivalLoads(
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4522,9 +4572,10 @@ public Builder addArrivalLoads(com.google.cloud.optimization.v1.CapacityQuantity
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4554,9 +4605,10 @@ public Builder addArrivalLoads(
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4583,9 +4635,10 @@ public Builder addArrivalLoads(
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4612,9 +4665,10 @@ public Builder addArrivalLoads(
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4641,9 +4695,10 @@ public Builder addAllArrivalLoads(
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4669,9 +4724,10 @@ public Builder clearArrivalLoads() {
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4697,9 +4753,10 @@ public Builder removeArrivalLoads(int index) {
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4719,9 +4776,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder getArrivalLoads
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4745,9 +4803,10 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getArrivalLoad
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4771,9 +4830,10 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getArrivalLoad
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4793,9 +4853,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addArrivalLoads
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4817,9 +4878,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addArrivalLoads
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -       * Vehicle loads upon arrival at the visit location, for each
      -       * type specified in
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead. Vehicle loads upon arrival at the visit location, for each type
      +       * specified in
              * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
              * `start_load_intervals`, `end_load_intervals` or `demands`.
              * Exception: we omit loads for quantity types unconstrained by intervals
      @@ -4866,7 +4928,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addArrivalLoads
              *
              *
              * 
      -       * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +       * Deprecated: Use
      +       * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +       * instead. Delay occurring before the visit starts.
              * 
      * * @@ -4874,7 +4938,7 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addArrivalLoads * * * @deprecated google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is - * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1895 + * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1915 * @return Whether the delayBeforeStart field is set. */ @java.lang.Deprecated @@ -4885,7 +4949,9 @@ public boolean hasDelayBeforeStart() { * * *
      -       * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +       * Deprecated: Use
      +       * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +       * instead. Delay occurring before the visit starts.
              * 
      * * @@ -4893,7 +4959,7 @@ public boolean hasDelayBeforeStart() { * * * @deprecated google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is - * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1895 + * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1915 * @return The delayBeforeStart. */ @java.lang.Deprecated @@ -4910,7 +4976,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.Delay getDelayBeforeStart( * * *
      -       * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +       * Deprecated: Use
      +       * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +       * instead. Delay occurring before the visit starts.
              * 
      * * @@ -4936,7 +5004,9 @@ public Builder setDelayBeforeStart( * * *
      -       * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +       * Deprecated: Use
      +       * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +       * instead. Delay occurring before the visit starts.
              * 
      * * @@ -4959,7 +5029,9 @@ public Builder setDelayBeforeStart( * * *
      -       * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +       * Deprecated: Use
      +       * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +       * instead. Delay occurring before the visit starts.
              * 
      * * @@ -4989,7 +5061,9 @@ public Builder mergeDelayBeforeStart( * * *
      -       * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +       * Deprecated: Use
      +       * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +       * instead. Delay occurring before the visit starts.
              * 
      * * @@ -5011,7 +5085,9 @@ public Builder clearDelayBeforeStart() { * * *
      -       * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +       * Deprecated: Use
      +       * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +       * instead. Delay occurring before the visit starts.
              * 
      * * @@ -5029,7 +5105,9 @@ public Builder clearDelayBeforeStart() { * * *
      -       * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +       * Deprecated: Use
      +       * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +       * instead. Delay occurring before the visit starts.
              * 
      * * @@ -5051,7 +5129,9 @@ public Builder clearDelayBeforeStart() { * * *
      -       * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      +       * Deprecated: Use
      +       * [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration]
      +       * instead. Delay occurring before the visit starts.
              * 
      * * @@ -5096,7 +5176,9 @@ private void ensureDemandsIsMutable() { * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5115,7 +5197,9 @@ public java.util.List getDema * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5134,7 +5218,9 @@ public int getDemandsCount() { * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5153,7 +5239,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getDemands(int index) { * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5179,7 +5267,9 @@ public Builder setDemands( * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5202,7 +5292,9 @@ public Builder setDemands( * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5227,7 +5319,9 @@ public Builder addDemands(com.google.cloud.optimization.v1.CapacityQuantity valu * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5253,7 +5347,9 @@ public Builder addDemands( * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5276,7 +5372,9 @@ public Builder addDemands( * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5299,7 +5397,9 @@ public Builder addDemands( * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5322,7 +5422,9 @@ public Builder addAllDemands( * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5344,7 +5446,9 @@ public Builder clearDemands() { * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5366,7 +5470,9 @@ public Builder removeDemands(int index) { * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5382,7 +5488,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder getDemandsBuild * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5402,7 +5510,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getDemandsOrBu * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5422,7 +5532,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getDemandsOrBu * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5438,7 +5550,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addDemandsBuild * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -5456,7 +5570,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addDemandsBuild * * *
      -       * Deprecated: Use [Visit.load_demands][] instead.
      +       * Deprecated: Use
      +       * [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands]
      +       * instead.
              * 
      * * @@ -6003,7 +6119,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getVehicleLoadsOrThro * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -6015,7 +6133,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getVehicleLoadsOrThro * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -6027,7 +6147,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getVehicleLoadsOrThro * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -6039,7 +6161,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getVehicleLoadsOrThro * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -6052,7 +6176,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getVehicleLoadsOrThro * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -6735,7 +6861,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getVehicleLoad * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -6750,7 +6878,9 @@ public java.util.List getLoad * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -6766,7 +6896,9 @@ public java.util.List getLoad * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -6781,7 +6913,9 @@ public int getLoadsCount() { * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -6796,7 +6930,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getLoads(int index) { * * *
      -     * Deprecated: Use [Transition.vehicle_loads][] instead.
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead.
            * 
      * * repeated .google.cloud.optimization.v1.CapacityQuantity loads = 10 [deprecated = true]; @@ -9394,7 +9530,9 @@ private void ensureLoadsIsMutable() { * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9413,7 +9551,9 @@ public java.util.List getLoad * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9432,7 +9572,9 @@ public int getLoadsCount() { * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9451,7 +9593,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getLoads(int index) { * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9476,7 +9620,9 @@ public Builder setLoads(int index, com.google.cloud.optimization.v1.CapacityQuan * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9499,7 +9645,9 @@ public Builder setLoads( * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9524,7 +9672,9 @@ public Builder addLoads(com.google.cloud.optimization.v1.CapacityQuantity value) * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9549,7 +9699,9 @@ public Builder addLoads(int index, com.google.cloud.optimization.v1.CapacityQuan * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9572,7 +9724,9 @@ public Builder addLoads( * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9595,7 +9749,9 @@ public Builder addLoads( * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9618,7 +9774,9 @@ public Builder addAllLoads( * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9640,7 +9798,9 @@ public Builder clearLoads() { * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9662,7 +9822,9 @@ public Builder removeLoads(int index) { * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9677,7 +9839,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder getLoadsBuilder * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9697,7 +9861,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getLoadsOrBuil * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9717,7 +9883,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getLoadsOrBuil * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9733,7 +9901,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addLoadsBuilder * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -9750,7 +9920,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addLoadsBuilder * * *
      -       * Deprecated: Use [Transition.vehicle_loads][] instead.
      +       * Deprecated: Use
      +       * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +       * instead.
              * 
      * * @@ -12215,10 +12387,11 @@ public interface TravelStepOrBuilder * * *
      -   * Deprecated: Use [ShipmentRoute.transitions][] instead.
      -   * Travel between each visit, along the route: from the
      -   * vehicle's `start_location` to the first visit's `arrival_location`, then
      -   * from the first visit's `departure_location` to the second visit's
      +   * Deprecated: Use
      +   * [ShipmentRoute.Transition][google.cloud.optimization.v1.ShipmentRoute.Transition]
      +   * instead. Travel between each visit along the route: from the vehicle's
      +   * `start_location` to the first visit's `arrival_location`, then from the
      +   * first visit's `departure_location` to the second visit's
          * `arrival_location`, and so on until the vehicle's `end_location`. This
          * accounts only for the actual travel between visits, not counting the
          * waiting time, the time spent performing a visit, nor the distance covered
      @@ -12624,10 +12797,11 @@ protected Builder newBuilderForType(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.transitions][] instead.
      -     * Travel between each visit, along the route: from the
      -     * vehicle's `start_location` to the first visit's `arrival_location`, then
      -     * from the first visit's `departure_location` to the second visit's
      +     * Deprecated: Use
      +     * [ShipmentRoute.Transition][google.cloud.optimization.v1.ShipmentRoute.Transition]
      +     * instead. Travel between each visit along the route: from the vehicle's
      +     * `start_location` to the first visit's `arrival_location`, then from the
      +     * first visit's `departure_location` to the second visit's
            * `arrival_location`, and so on until the vehicle's `end_location`. This
            * accounts only for the actual travel between visits, not counting the
            * waiting time, the time spent performing a visit, nor the distance covered
      @@ -14182,9 +14356,10 @@ public double getRouteTotalCost() {
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -14204,9 +14379,10 @@ public java.util.List getEndL
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -14227,9 +14403,10 @@ public java.util.List getEndL
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -14249,9 +14426,10 @@ public int getEndLoadsCount() {
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -14271,9 +14449,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity getEndLoads(int index)
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -14299,8 +14478,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getEndLoadsOrB
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -14317,8 +14497,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getEndLoadsOrB * * *
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -14336,8 +14517,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getEndLoadsOrB * * *
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -14353,8 +14535,9 @@ public int getTravelStepsCount() { * * *
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -14370,8 +14553,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStep getTravelSteps( * * *
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -14394,7 +14578,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTra * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -14402,7 +14588,7 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTra * .google.protobuf.Duration vehicle_detour = 15 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2135 + * google/cloud/optimization/v1/fleet_routing.proto;l=2165 * @return Whether the vehicleDetour field is set. */ @java.lang.Override @@ -14417,7 +14603,9 @@ public boolean hasVehicleDetour() { * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -14425,7 +14613,7 @@ public boolean hasVehicleDetour() { * .google.protobuf.Duration vehicle_detour = 15 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2135 + * google/cloud/optimization/v1/fleet_routing.proto;l=2165 * @return The vehicleDetour. */ @java.lang.Override @@ -14442,7 +14630,9 @@ public com.google.protobuf.Duration getVehicleDetour() { * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -14463,8 +14653,7 @@ public com.google.protobuf.DurationOrBuilder getVehicleDetourOrBuilder() { * * *
      -   * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -   * Delay occurring before the vehicle end. See
      +   * Deprecated: Delay occurring before the vehicle end. See
          * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
          * 
      * @@ -14473,7 +14662,7 @@ public com.google.protobuf.DurationOrBuilder getVehicleDetourOrBuilder() { *
      * * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is deprecated. - * See google/cloud/optimization/v1/fleet_routing.proto;l=2140 + * See google/cloud/optimization/v1/fleet_routing.proto;l=2169 * @return Whether the delayBeforeVehicleEnd field is set. */ @java.lang.Override @@ -14485,8 +14674,7 @@ public boolean hasDelayBeforeVehicleEnd() { * * *
      -   * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -   * Delay occurring before the vehicle end. See
      +   * Deprecated: Delay occurring before the vehicle end. See
          * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
          * 
      * @@ -14495,7 +14683,7 @@ public boolean hasDelayBeforeVehicleEnd() { *
      * * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is deprecated. - * See google/cloud/optimization/v1/fleet_routing.proto;l=2140 + * See google/cloud/optimization/v1/fleet_routing.proto;l=2169 * @return The delayBeforeVehicleEnd. */ @java.lang.Override @@ -14509,8 +14697,7 @@ public com.google.cloud.optimization.v1.ShipmentRoute.Delay getDelayBeforeVehicl * * *
      -   * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -   * Delay occurring before the vehicle end. See
      +   * Deprecated: Delay occurring before the vehicle end. See
          * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
          * 
      * @@ -18134,9 +18321,10 @@ private void ensureEndLoadsIsMutable() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18159,9 +18347,10 @@ public java.util.List getEndL
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18184,9 +18373,10 @@ public int getEndLoadsCount() {
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18209,9 +18399,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity getEndLoads(int index)
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18240,9 +18431,10 @@ public Builder setEndLoads(int index, com.google.cloud.optimization.v1.CapacityQ
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18269,9 +18461,10 @@ public Builder setEndLoads(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18300,9 +18493,10 @@ public Builder addEndLoads(com.google.cloud.optimization.v1.CapacityQuantity val
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18331,9 +18525,10 @@ public Builder addEndLoads(int index, com.google.cloud.optimization.v1.CapacityQ
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18360,9 +18555,10 @@ public Builder addEndLoads(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18389,9 +18585,10 @@ public Builder addEndLoads(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18418,9 +18615,10 @@ public Builder addAllEndLoads(
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18446,9 +18644,10 @@ public Builder clearEndLoads() {
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18474,9 +18673,10 @@ public Builder removeEndLoads(int index) {
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18495,9 +18695,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder getEndLoadsBuil
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18521,9 +18722,10 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getEndLoadsOrB
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18547,9 +18749,10 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getEndLoadsOrB
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18569,9 +18772,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addEndLoadsBuil
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18592,9 +18796,10 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addEndLoadsBuil
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -     * Vehicle loads upon arrival at its end location, for each
      -     * type specified in
      +     * Deprecated: Use
      +     * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +     * instead. Vehicle loads upon arrival at its end location, for each type
      +     * specified in
            * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
            * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
            * loads for quantity types unconstrained by intervals and that don't have any
      @@ -18650,8 +18855,9 @@ private void ensureTravelStepsIsMutable() {
            *
            *
            * 
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18671,8 +18877,9 @@ private void ensureTravelStepsIsMutable() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18691,8 +18898,9 @@ public int getTravelStepsCount() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18711,8 +18919,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStep getTravelSteps( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18738,8 +18947,9 @@ public Builder setTravelSteps( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18763,8 +18973,9 @@ public Builder setTravelSteps( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18789,8 +19000,9 @@ public Builder addTravelSteps(com.google.cloud.optimization.v1.ShipmentRoute.Tra * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18816,8 +19028,9 @@ public Builder addTravelSteps( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18840,8 +19053,9 @@ public Builder addTravelSteps( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18865,8 +19079,9 @@ public Builder addTravelSteps( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18890,8 +19105,9 @@ public Builder addAllTravelSteps( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18913,8 +19129,9 @@ public Builder clearTravelSteps() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18936,8 +19153,9 @@ public Builder removeTravelSteps(int index) { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18953,8 +19171,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStep.Builder getTrav * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18974,8 +19193,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStep.Builder getTrav * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -18996,8 +19216,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStep.Builder getTrav * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -19015,8 +19236,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStep.Builder getTrav * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -19035,8 +19257,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStep.Builder addTrav * * *
      -     * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -     * Ordered list of travel steps for the route.
      +     * Deprecated: Use
      +     * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +     * instead. Ordered list of travel steps for the route.
            * 
      * * @@ -19079,7 +19302,9 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStep.Builder addTrav * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -19087,7 +19312,7 @@ public com.google.cloud.optimization.v1.ShipmentRoute.TravelStep.Builder addTrav * .google.protobuf.Duration vehicle_detour = 15 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2135 + * google/cloud/optimization/v1/fleet_routing.proto;l=2165 * @return Whether the vehicleDetour field is set. */ @java.lang.Deprecated @@ -19101,7 +19326,9 @@ public boolean hasVehicleDetour() { * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -19109,7 +19336,7 @@ public boolean hasVehicleDetour() { * .google.protobuf.Duration vehicle_detour = 15 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2135 + * google/cloud/optimization/v1/fleet_routing.proto;l=2165 * @return The vehicleDetour. */ @java.lang.Deprecated @@ -19129,7 +19356,9 @@ public com.google.protobuf.Duration getVehicleDetour() { * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -19157,7 +19386,9 @@ public Builder setVehicleDetour(com.google.protobuf.Duration value) { * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -19182,7 +19413,9 @@ public Builder setVehicleDetour(com.google.protobuf.Duration.Builder builderForV * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -19213,7 +19446,9 @@ public Builder mergeVehicleDetour(com.google.protobuf.Duration value) { * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -19238,7 +19473,9 @@ public Builder clearVehicleDetour() { * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -19258,7 +19495,9 @@ public com.google.protobuf.Duration.Builder getVehicleDetourBuilder() { * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -19282,7 +19521,9 @@ public com.google.protobuf.DurationOrBuilder getVehicleDetourOrBuilder() { * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -19316,8 +19557,7 @@ public com.google.protobuf.DurationOrBuilder getVehicleDetourOrBuilder() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Delay occurring before the vehicle end. See
      +     * Deprecated: Delay occurring before the vehicle end. See
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * @@ -19326,7 +19566,7 @@ public com.google.protobuf.DurationOrBuilder getVehicleDetourOrBuilder() { *
      * * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is - * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=2140 + * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=2169 * @return Whether the delayBeforeVehicleEnd field is set. */ @java.lang.Deprecated @@ -19337,8 +19577,7 @@ public boolean hasDelayBeforeVehicleEnd() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Delay occurring before the vehicle end. See
      +     * Deprecated: Delay occurring before the vehicle end. See
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * @@ -19347,7 +19586,7 @@ public boolean hasDelayBeforeVehicleEnd() { *
      * * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is - * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=2140 + * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=2169 * @return The delayBeforeVehicleEnd. */ @java.lang.Deprecated @@ -19364,8 +19603,7 @@ public com.google.cloud.optimization.v1.ShipmentRoute.Delay getDelayBeforeVehicl * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Delay occurring before the vehicle end. See
      +     * Deprecated: Delay occurring before the vehicle end. See
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * @@ -19392,8 +19630,7 @@ public Builder setDelayBeforeVehicleEnd( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Delay occurring before the vehicle end. See
      +     * Deprecated: Delay occurring before the vehicle end. See
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * @@ -19417,8 +19654,7 @@ public Builder setDelayBeforeVehicleEnd( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Delay occurring before the vehicle end. See
      +     * Deprecated: Delay occurring before the vehicle end. See
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * @@ -19449,8 +19685,7 @@ public Builder mergeDelayBeforeVehicleEnd( * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Delay occurring before the vehicle end. See
      +     * Deprecated: Delay occurring before the vehicle end. See
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * @@ -19473,8 +19708,7 @@ public Builder clearDelayBeforeVehicleEnd() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Delay occurring before the vehicle end. See
      +     * Deprecated: Delay occurring before the vehicle end. See
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * @@ -19493,8 +19727,7 @@ public Builder clearDelayBeforeVehicleEnd() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Delay occurring before the vehicle end. See
      +     * Deprecated: Delay occurring before the vehicle end. See
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * @@ -19517,8 +19750,7 @@ public Builder clearDelayBeforeVehicleEnd() { * * *
      -     * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -     * Delay occurring before the vehicle end. See
      +     * Deprecated: Delay occurring before the vehicle end. See
            * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
            * 
      * diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRouteOrBuilder.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRouteOrBuilder.java index b52ae4664bc6..bc2f3c184807 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRouteOrBuilder.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRouteOrBuilder.java @@ -543,9 +543,10 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition * * *
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -562,9 +563,10 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -581,9 +583,10 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -600,9 +603,10 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -620,9 +624,10 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition.loads][] instead.
      -   * Vehicle loads upon arrival at its end location, for each
      -   * type specified in
      +   * Deprecated: Use
      +   * [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]
      +   * instead. Vehicle loads upon arrival at its end location, for each type
      +   * specified in
          * [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities],
          * `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit
          * loads for quantity types unconstrained by intervals and that don't have any
      @@ -640,8 +645,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition
          *
          *
          * 
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -654,8 +660,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition * * *
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -668,8 +675,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition * * *
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -682,8 +690,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition * * *
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -697,8 +706,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.TransitionOrBuilder getTransition * * *
      -   * Deprecated: Use [ShipmentRoute.Transition][] instead.
      -   * Ordered list of travel steps for the route.
      +   * Deprecated: Use
      +   * [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]
      +   * instead. Ordered list of travel steps for the route.
          * 
      * * @@ -716,7 +726,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -724,7 +736,7 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep * .google.protobuf.Duration vehicle_detour = 15 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2135 + * google/cloud/optimization/v1/fleet_routing.proto;l=2165 * @return Whether the vehicleDetour field is set. */ @java.lang.Deprecated @@ -736,7 +748,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -744,7 +758,7 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep * .google.protobuf.Duration vehicle_detour = 15 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=2135 + * google/cloud/optimization/v1/fleet_routing.proto;l=2165 * @return The vehicleDetour. */ @java.lang.Deprecated @@ -756,7 +770,9 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep * Deprecated: No longer used. * This field will only be populated at the * [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - * level. Extra detour time due to the shipments visited on the route. + * level. + * This field is the extra detour time due to the shipments visited on the + * route. * It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration * from the vehicle's start_location to its `end_location`. *
      @@ -770,8 +786,7 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep * * *
      -   * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -   * Delay occurring before the vehicle end. See
      +   * Deprecated: Delay occurring before the vehicle end. See
          * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
          * 
      * @@ -780,7 +795,7 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep *
      * * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is deprecated. - * See google/cloud/optimization/v1/fleet_routing.proto;l=2140 + * See google/cloud/optimization/v1/fleet_routing.proto;l=2169 * @return Whether the delayBeforeVehicleEnd field is set. */ @java.lang.Deprecated @@ -789,8 +804,7 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep * * *
      -   * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -   * Delay occurring before the vehicle end. See
      +   * Deprecated: Delay occurring before the vehicle end. See
          * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
          * 
      * @@ -799,7 +813,7 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep *
      * * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is deprecated. - * See google/cloud/optimization/v1/fleet_routing.proto;l=2140 + * See google/cloud/optimization/v1/fleet_routing.proto;l=2169 * @return The delayBeforeVehicleEnd. */ @java.lang.Deprecated @@ -808,8 +822,7 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep * * *
      -   * Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead.
      -   * Delay occurring before the vehicle end. See
      +   * Deprecated: Delay occurring before the vehicle end. See
          * [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay].
          * 
      * diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Vehicle.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Vehicle.java index 3b6df0ac12ed..f3d27aed2db7 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Vehicle.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Vehicle.java @@ -6068,14 +6068,15 @@ public boolean getIgnore() { *
          * Deprecated: No longer used.
          * Indices in the `break_rule` field in the source
      -   * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +   * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +   * correspond to break rules enforced on the vehicle.
          * As of 2018/03, at most one rule index per vehicle can be specified.
          * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @return A list containing the breakRuleIndices. */ @java.lang.Override @@ -6089,14 +6090,15 @@ public java.util.List getBreakRuleIndicesList() { *
          * Deprecated: No longer used.
          * Indices in the `break_rule` field in the source
      -   * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +   * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +   * correspond to break rules enforced on the vehicle.
          * As of 2018/03, at most one rule index per vehicle can be specified.
          * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @return The count of breakRuleIndices. */ @java.lang.Deprecated @@ -6109,14 +6111,15 @@ public int getBreakRuleIndicesCount() { *
          * Deprecated: No longer used.
          * Indices in the `break_rule` field in the source
      -   * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +   * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +   * correspond to break rules enforced on the vehicle.
          * As of 2018/03, at most one rule index per vehicle can be specified.
          * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @param index The index of the element to return. * @return The breakRuleIndices at the given index. */ @@ -6135,7 +6138,9 @@ public int getBreakRuleIndices(int index) { * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -6151,7 +6156,9 @@ public java.util.List getCapa * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -6168,7 +6175,9 @@ public java.util.List getCapa * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -6184,7 +6193,9 @@ public int getCapacitiesCount() { * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -6200,7 +6211,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getCapacities(int index * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -6223,7 +6236,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getCapacitiesO * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -6240,7 +6255,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getCapacitiesO * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -6258,7 +6275,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getCapacitiesO * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -6274,7 +6293,9 @@ public int getStartLoadIntervalsCount() { * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -6291,7 +6312,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityInterval getStartLoadInt * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -6314,7 +6337,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityInterval getStartLoadInt * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * @@ -6331,7 +6356,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityInterval getStartLoadInt * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * @@ -6349,7 +6376,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityInterval getStartLoadInt * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * @@ -6365,7 +6394,9 @@ public int getEndLoadIntervalsCount() { * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * @@ -6381,7 +6412,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityInterval getEndLoadInter * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * @@ -12194,14 +12227,15 @@ private void ensureBreakRuleIndicesIsMutable() { *
            * Deprecated: No longer used.
            * Indices in the `break_rule` field in the source
      -     * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +     * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +     * correspond to break rules enforced on the vehicle.
            * As of 2018/03, at most one rule index per vehicle can be specified.
            * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @return A list containing the breakRuleIndices. */ @java.lang.Deprecated @@ -12216,14 +12250,15 @@ public java.util.List getBreakRuleIndicesList() { *
            * Deprecated: No longer used.
            * Indices in the `break_rule` field in the source
      -     * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +     * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +     * correspond to break rules enforced on the vehicle.
            * As of 2018/03, at most one rule index per vehicle can be specified.
            * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @return The count of breakRuleIndices. */ @java.lang.Deprecated @@ -12236,14 +12271,15 @@ public int getBreakRuleIndicesCount() { *
            * Deprecated: No longer used.
            * Indices in the `break_rule` field in the source
      -     * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +     * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +     * correspond to break rules enforced on the vehicle.
            * As of 2018/03, at most one rule index per vehicle can be specified.
            * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @param index The index of the element to return. * @return The breakRuleIndices at the given index. */ @@ -12257,14 +12293,15 @@ public int getBreakRuleIndices(int index) { *
            * Deprecated: No longer used.
            * Indices in the `break_rule` field in the source
      -     * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +     * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +     * correspond to break rules enforced on the vehicle.
            * As of 2018/03, at most one rule index per vehicle can be specified.
            * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @param index The index to set the value at. * @param value The breakRuleIndices to set. * @return This builder for chaining. @@ -12283,14 +12320,15 @@ public Builder setBreakRuleIndices(int index, int value) { *
            * Deprecated: No longer used.
            * Indices in the `break_rule` field in the source
      -     * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +     * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +     * correspond to break rules enforced on the vehicle.
            * As of 2018/03, at most one rule index per vehicle can be specified.
            * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @param value The breakRuleIndices to add. * @return This builder for chaining. */ @@ -12308,14 +12346,15 @@ public Builder addBreakRuleIndices(int value) { *
            * Deprecated: No longer used.
            * Indices in the `break_rule` field in the source
      -     * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +     * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +     * correspond to break rules enforced on the vehicle.
            * As of 2018/03, at most one rule index per vehicle can be specified.
            * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @param values The breakRuleIndices to add. * @return This builder for chaining. */ @@ -12332,14 +12371,15 @@ public Builder addAllBreakRuleIndices(java.lang.Iterable * Deprecated: No longer used. * Indices in the `break_rule` field in the source - * [ShipmentModel][]. They correspond to break rules enforced on the vehicle. + * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They + * correspond to break rules enforced on the vehicle. * As of 2018/03, at most one rule index per vehicle can be specified. *
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @return This builder for chaining. */ @java.lang.Deprecated @@ -12371,7 +12411,9 @@ private void ensureCapacitiesIsMutable() { * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12390,7 +12432,9 @@ public java.util.List getCapa * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12409,7 +12453,9 @@ public int getCapacitiesCount() { * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12428,7 +12474,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity getCapacities(int index * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12454,7 +12502,9 @@ public Builder setCapacities( * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12477,7 +12527,9 @@ public Builder setCapacities( * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12502,7 +12554,9 @@ public Builder addCapacities(com.google.cloud.optimization.v1.CapacityQuantity v * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12528,7 +12582,9 @@ public Builder addCapacities( * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12551,7 +12607,9 @@ public Builder addCapacities( * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12574,7 +12632,9 @@ public Builder addCapacities( * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12597,7 +12657,9 @@ public Builder addAllCapacities( * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12619,7 +12681,9 @@ public Builder clearCapacities() { * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12641,7 +12705,9 @@ public Builder removeCapacities(int index) { * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12657,7 +12723,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder getCapacitiesBu * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12677,7 +12745,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getCapacitiesO * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12697,7 +12767,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityOrBuilder getCapacitiesO * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12713,7 +12785,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addCapacitiesBu * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12731,7 +12805,9 @@ public com.google.cloud.optimization.v1.CapacityQuantity.Builder addCapacitiesBu * * *
      -     * Deprecated: Use [Vehicle.load_limits][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +     * instead.
            * 
      * * @@ -12783,7 +12859,9 @@ private void ensureStartLoadIntervalsIsMutable() { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -12803,7 +12881,9 @@ private void ensureStartLoadIntervalsIsMutable() { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -12822,7 +12902,9 @@ public int getStartLoadIntervalsCount() { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -12842,7 +12924,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityInterval getStartLoadInt * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -12868,7 +12952,9 @@ public Builder setStartLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -12892,7 +12978,9 @@ public Builder setStartLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -12918,7 +13006,9 @@ public Builder addStartLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -12944,7 +13034,9 @@ public Builder addStartLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -12967,7 +13059,9 @@ public Builder addStartLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -12991,7 +13085,9 @@ public Builder addStartLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -13015,7 +13111,9 @@ public Builder addAllStartLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -13037,7 +13135,9 @@ public Builder clearStartLoadIntervals() { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -13059,7 +13159,9 @@ public Builder removeStartLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -13075,7 +13177,9 @@ public Builder removeStartLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -13095,7 +13199,9 @@ public Builder removeStartLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -13116,7 +13222,9 @@ public Builder removeStartLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -13134,7 +13242,9 @@ public Builder removeStartLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -13153,7 +13263,9 @@ public Builder removeStartLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +     * instead.
            * 
      * * @@ -13208,7 +13320,9 @@ private void ensureEndLoadIntervalsIsMutable() { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13228,7 +13342,9 @@ private void ensureEndLoadIntervalsIsMutable() { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13247,7 +13363,9 @@ public int getEndLoadIntervalsCount() { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13267,7 +13385,9 @@ public com.google.cloud.optimization.v1.CapacityQuantityInterval getEndLoadInter * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13293,7 +13413,9 @@ public Builder setEndLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13317,7 +13439,9 @@ public Builder setEndLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13343,7 +13467,9 @@ public Builder addEndLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13369,7 +13495,9 @@ public Builder addEndLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13392,7 +13520,9 @@ public Builder addEndLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13416,7 +13546,9 @@ public Builder addEndLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13440,7 +13572,9 @@ public Builder addAllEndLoadIntervals( * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13462,7 +13596,9 @@ public Builder clearEndLoadIntervals() { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13484,7 +13620,9 @@ public Builder removeEndLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13500,7 +13638,9 @@ public Builder removeEndLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13520,7 +13660,9 @@ public Builder removeEndLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13541,7 +13683,9 @@ public Builder removeEndLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13559,7 +13703,9 @@ public Builder removeEndLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * @@ -13578,7 +13724,9 @@ public Builder removeEndLoadIntervals(int index) { * * *
      -     * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +     * Deprecated: Use
      +     * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +     * instead.
            * 
      * * diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/VehicleOrBuilder.java b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/VehicleOrBuilder.java index 85beb1f0dac1..02110466eefd 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/VehicleOrBuilder.java +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/VehicleOrBuilder.java @@ -1106,14 +1106,15 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( *
          * Deprecated: No longer used.
          * Indices in the `break_rule` field in the source
      -   * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +   * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +   * correspond to break rules enforced on the vehicle.
          * As of 2018/03, at most one rule index per vehicle can be specified.
          * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @return A list containing the breakRuleIndices. */ @java.lang.Deprecated @@ -1124,14 +1125,15 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( *
          * Deprecated: No longer used.
          * Indices in the `break_rule` field in the source
      -   * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +   * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +   * correspond to break rules enforced on the vehicle.
          * As of 2018/03, at most one rule index per vehicle can be specified.
          * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @return The count of breakRuleIndices. */ @java.lang.Deprecated @@ -1142,14 +1144,15 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( *
          * Deprecated: No longer used.
          * Indices in the `break_rule` field in the source
      -   * [ShipmentModel][]. They correspond to break rules enforced on the vehicle.
      +   * [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They
      +   * correspond to break rules enforced on the vehicle.
          * As of 2018/03, at most one rule index per vehicle can be specified.
          * 
      * * repeated int32 break_rule_indices = 29 [deprecated = true]; * * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See - * google/cloud/optimization/v1/fleet_routing.proto;l=1436 + * google/cloud/optimization/v1/fleet_routing.proto;l=1443 * @param index The index of the element to return. * @return The breakRuleIndices at the given index. */ @@ -1160,7 +1163,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -1173,7 +1178,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -1186,7 +1193,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -1199,7 +1208,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -1213,7 +1224,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.load_limits][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits]
      +   * instead.
          * 
      * * @@ -1227,7 +1240,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -1241,7 +1256,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -1254,7 +1271,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -1267,7 +1286,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -1281,7 +1302,9 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault( * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval]
      +   * instead.
          * 
      * * @@ -1296,7 +1319,9 @@ com.google.cloud.optimization.v1.CapacityQuantityIntervalOrBuilder getStartLoadI * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * @@ -1310,7 +1335,9 @@ com.google.cloud.optimization.v1.CapacityQuantityIntervalOrBuilder getStartLoadI * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * @@ -1323,7 +1350,9 @@ com.google.cloud.optimization.v1.CapacityQuantityIntervalOrBuilder getStartLoadI * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * @@ -1336,7 +1365,9 @@ com.google.cloud.optimization.v1.CapacityQuantityIntervalOrBuilder getStartLoadI * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * @@ -1350,7 +1381,9 @@ com.google.cloud.optimization.v1.CapacityQuantityIntervalOrBuilder getStartLoadI * * *
      -   * Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead.
      +   * Deprecated: Use
      +   * [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval]
      +   * instead.
          * 
      * * diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/proto/google/cloud/optimization/v1/async_model.proto b/java-optimization/proto-google-cloud-optimization-v1/src/main/proto/google/cloud/optimization/v1/async_model.proto index a2494e2e0693..a3da0e47970c 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/proto/google/cloud/optimization/v1/async_model.proto +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/proto/google/cloud/optimization/v1/async_model.proto @@ -19,7 +19,7 @@ package google.cloud.optimization.v1; import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/optimization/v1;optimization"; +option go_package = "cloud.google.com/go/optimization/apiv1/optimizationpb;optimizationpb"; option java_multiple_files = true; option java_outer_classname = "AsyncModelProto"; option java_package = "com.google.cloud.optimization.v1"; diff --git a/java-optimization/proto-google-cloud-optimization-v1/src/main/proto/google/cloud/optimization/v1/fleet_routing.proto b/java-optimization/proto-google-cloud-optimization-v1/src/main/proto/google/cloud/optimization/v1/fleet_routing.proto index a00d1b78135b..d641cdd0f38b 100644 --- a/java-optimization/proto-google-cloud-optimization-v1/src/main/proto/google/cloud/optimization/v1/fleet_routing.proto +++ b/java-optimization/proto-google-cloud-optimization-v1/src/main/proto/google/cloud/optimization/v1/fleet_routing.proto @@ -25,7 +25,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/type/latlng.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/optimization/v1;optimization"; +option go_package = "cloud.google.com/go/optimization/apiv1/optimizationpb;optimizationpb"; option java_multiple_files = true; option java_outer_classname = "FleetRoutingProto"; option java_package = "com.google.cloud.optimization.v1"; @@ -165,7 +165,7 @@ message OptimizeToursRequest { // By default, the solving mode is `DEFAULT_SOLVE` (0). SolvingMode solving_mode = 4; - // Truncates the number of validation errors returned. Those errors are + // Truncates the number of validation errors returned. These errors are // typically attached to an INVALID_ARGUMENT error payload as a BadRequest // error detail (https://cloud.google.com/apis/design/errors#error_details), // unless solving_mode=VALIDATE_ONLY: see the @@ -343,7 +343,8 @@ message OptimizeToursRequest { // [OptimizeToursResponse.request_label][google.cloud.optimization.v1.OptimizeToursResponse.request_label]. string label = 17; - // Deprecated: Use [OptimizeToursRequest.populate_transition_polylines][] + // Deprecated: Use + // [OptimizeToursRequest.populate_transition_polylines][google.cloud.optimization.v1.OptimizeToursRequest.populate_transition_polylines] // instead. If true, polylines will be populated in response // [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]. // Note that in this case, the polylines will also be populated in the @@ -417,10 +418,11 @@ message OptimizeToursResponse { // Duration, distance and usage metrics for this solution. Metrics metrics = 6; - // Deprecated: Use [Metrics.total_cost][] instead. - // Total cost of the solution. This takes into account all costs: costs per - // per hour and travel hour, fixed vehicle costs, unperformed shipment penalty - // costs, global duration cost, etc. + // Deprecated: Use + // [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost] + // instead. Total cost of the solution. This takes into account all costs: + // costs per per hour and travel hour, fixed vehicle costs, unperformed + // shipment penalty costs, global duration cost, etc. double total_cost = 2 [deprecated = true]; } @@ -537,7 +539,8 @@ message ShipmentModel { google.protobuf.Duration offset_duration = 5; } - // Deprecated: Use top level [BreakRule][] instead. + // Deprecated: Use top level + // [BreakRule][google.cloud.optimization.v1.ShipmentModel.BreakRule] instead. // Rules to generate time breaks for a vehicle (e.g. lunch // breaks). A break is a contiguous period of time during which the vehicle // remains idle at its current position and cannot perform any visit. A break @@ -545,10 +548,10 @@ message ShipmentModel { // // * during the travel between two visits (which includes the time right // before or right after a visit, but not in the middle of a visit), in - // which case it extends the corresponding transit time between the visits, - // * or before the vehicle start (the vehicle may not start in the middle of + // which case it extends the corresponding transit time between the visits + // * before the vehicle start (the vehicle may not start in the middle of // a break), in which case it does not affect the vehicle start time. - // * or after the vehicle end (ditto, with the vehicle end time). + // * after the vehicle end (ditto, with the vehicle end time). message BreakRule { option deprecated = true; @@ -890,7 +893,9 @@ message Shipment { // [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit]. string label = 11; - // Deprecated: Use [VisitRequest.load_demands][] instead. + // Deprecated: Use + // [VisitRequest.load_demands][google.cloud.optimization.v1.Shipment.VisitRequest.load_demands] + // instead. repeated CapacityQuantity demands = 9 [deprecated = true]; } @@ -1027,7 +1032,9 @@ message Shipment { // `precedence_rules` that reference ignored shipments will also be ignored. bool ignore = 13; - // Deprecated: Use [Shipment.load_demands][] instead. + // Deprecated: Use + // [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] + // instead. repeated CapacityQuantity demands = 3 [deprecated = true]; } @@ -1430,20 +1437,26 @@ message Vehicle { // Deprecated: No longer used. // Indices in the `break_rule` field in the source - // [ShipmentModel][]. They correspond to break rules enforced on the vehicle. - // + // [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They + // correspond to break rules enforced on the vehicle. // // As of 2018/03, at most one rule index per vehicle can be specified. repeated int32 break_rule_indices = 29 [deprecated = true]; - // Deprecated: Use [Vehicle.load_limits][] instead. + // Deprecated: Use + // [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] + // instead. repeated CapacityQuantity capacities = 13 [deprecated = true]; - // Deprecated: Use [Vehicle.LoadLimit.start_load_interval][] instead. + // Deprecated: Use + // [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] + // instead. repeated CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; - // Deprecated: Use [Vehicle.LoadLimit.end_load_interval][] instead. + // Deprecated: Use + // [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] + // instead. repeated CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; } @@ -1510,8 +1523,9 @@ message TimeWindow { optional double cost_per_hour_after_soft_end_time = 6; } -// Deprecated: Use [Shipment.Load][], [Vehicle.LoadLimit][] and -// [ShipmentRoute.VehicleLoad][] instead. +// Deprecated: Use +// [Vehicle.LoadLimit.Interval][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval] +// instead. message CapacityQuantity { option deprecated = true; @@ -1520,7 +1534,9 @@ message CapacityQuantity { int64 value = 2; } -// Deprecated: Use [Vehicle.LoadLimit.Interval][] instead. +// Deprecated: Use +// [Vehicle.LoadLimit.Interval][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval] +// instead. message CapacityQuantityInterval { option deprecated = true; @@ -1549,8 +1565,8 @@ message DistanceLimit { // nonnegative. optional int64 soft_max_meters = 2; - // Cost per kilometer incurred if `soft_max_meters` limit is violated. The - // additional cost is 0 if the distance is under the limit, otherwise the + // Cost per kilometer incurred if distance is above `soft_max_meters` limit. + // The additional cost is 0 if the distance is under the limit, otherwise the // formula used to compute the cost is the following: // ``` // (distance_meters - soft_max_meters) / 1000.0 * @@ -1816,8 +1832,9 @@ message BreakRule { // --++-----------------------------------------------------------------++--> // ``` message ShipmentRoute { - // Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead. - // Time interval spent on the route resulting from a + // Deprecated: Use + // [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] + // instead. Time interval spent on the route resulting from a // [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay]. message Delay { option deprecated = true; @@ -1882,9 +1899,10 @@ message ShipmentRoute { // if specified in the `VisitRequest`. string visit_label = 8; - // Deprecated: Use [ShipmentRoute.Transition.loads][] instead. - // Vehicle loads upon arrival at the visit location, for each - // type specified in + // Deprecated: Use + // [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] + // instead. Vehicle loads upon arrival at the visit location, for each type + // specified in // [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], // `start_load_intervals`, `end_load_intervals` or `demands`. // @@ -1892,10 +1910,14 @@ message ShipmentRoute { // and that don't have any non-zero demand on the route. repeated CapacityQuantity arrival_loads = 9 [deprecated = true]; - // Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead. + // Deprecated: Use + // [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] + // instead. Delay occurring before the visit starts. Delay delay_before_start = 10 [deprecated = true]; - // Deprecated: Use [Visit.load_demands][] instead. + // Deprecated: Use + // [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] + // instead. repeated CapacityQuantity demands = 5 [deprecated = true]; } @@ -1968,7 +1990,9 @@ message ShipmentRoute { // on whether the visit was a pickup or a delivery. map vehicle_loads = 11; - // Deprecated: Use [Transition.vehicle_loads][] instead. + // Deprecated: Use + // [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] + // instead. repeated CapacityQuantity loads = 10 [deprecated = true]; } @@ -2000,10 +2024,11 @@ message ShipmentRoute { google.protobuf.Duration duration = 2; } - // Deprecated: Use [ShipmentRoute.transitions][] instead. - // Travel between each visit, along the route: from the - // vehicle's `start_location` to the first visit's `arrival_location`, then - // from the first visit's `departure_location` to the second visit's + // Deprecated: Use + // [ShipmentRoute.Transition][google.cloud.optimization.v1.ShipmentRoute.Transition] + // instead. Travel between each visit along the route: from the vehicle's + // `start_location` to the first visit's `arrival_location`, then from the + // first visit's `departure_location` to the second visit's // `arrival_location`, and so on until the vehicle's `end_location`. This // accounts only for the actual travel between visits, not counting the // waiting time, the time spent performing a visit, nor the distance covered @@ -2113,30 +2138,34 @@ message ShipmentRoute { // Total cost of the route. The sum of all costs in the cost map. double route_total_cost = 18; - // Deprecated: Use [ShipmentRoute.Transition.loads][] instead. - // Vehicle loads upon arrival at its end location, for each - // type specified in + // Deprecated: Use + // [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] + // instead. Vehicle loads upon arrival at its end location, for each type + // specified in // [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], // `start_load_intervals`, `end_load_intervals` or demands. Exception: we omit // loads for quantity types unconstrained by intervals and that don't have any // non-zero demand on the route. repeated CapacityQuantity end_loads = 13 [deprecated = true]; - // Deprecated: Use [ShipmentRoute.Transition][] instead. - // Ordered list of travel steps for the route. + // Deprecated: Use + // [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions] + // instead. Ordered list of travel steps for the route. repeated TravelStep travel_steps = 14 [deprecated = true]; // Deprecated: No longer used. // This field will only be populated at the // [ShipmentRoute.Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] - // level. Extra detour time due to the shipments visited on the route. + // level. + // + // This field is the extra detour time due to the shipments visited on the + // route. // // It is equal to `vehicle_end_time` - `vehicle_start_time` - travel duration // from the vehicle's start_location to its `end_location`. google.protobuf.Duration vehicle_detour = 15 [deprecated = true]; - // Deprecated: Use [ShipmentRoute.Transition.delay_duration][] instead. - // Delay occurring before the vehicle end. See + // Deprecated: Delay occurring before the vehicle end. See // [TransitionAttributes.delay][google.cloud.optimization.v1.TransitionAttributes.delay]. Delay delay_before_vehicle_end = 16 [deprecated = true]; } @@ -2288,12 +2317,18 @@ message AggregatedMetrics { // [ShipmentRoute.metrics.max_loads][google.cloud.optimization.v1.AggregatedMetrics.max_loads]. map max_loads = 9; - // Deprecated: Use [ShipmentRoute.route_costs][] and - // [OptimizeToursResponse.Metrics.costs][] instead. + // Deprecated: Use + // [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs] + // and + // [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs] + // instead. map costs = 10 [deprecated = true]; - // Deprecated: Use [ShipmentRoute.route_total_cost][] and - // [OptimizeToursResponse.Metrics.total_cost][] instead. + // Deprecated: Use + // [ShipmentRoute.route_total_cost][google.cloud.optimization.v1.ShipmentRoute.route_total_cost] + // and + // [OptimizeToursResponse.Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost] + // instead. double total_cost = 11 [deprecated = true]; } @@ -2342,7 +2377,7 @@ message InjectedSolutionConstraint { // relaxation the time is fixed, unless the vehicle is empty. message Relaxation { // Expresses the different constraint relaxation levels, which are - // applied for a visit and those that follow when it satifies the + // applied for a visit and those that follow when it satisfies the // threshold conditions. // // The enumeration below is in order of increasing relaxation. @@ -2350,7 +2385,7 @@ message InjectedSolutionConstraint { // Implicit default relaxation level: no constraints are relaxed, // i.e., all visits are fully constrained. // - // This value must not be explicly used in `level`. + // This value must not be explicitly used in `level`. LEVEL_UNSPECIFIED = 0; // Visit start times and vehicle start/end times will be relaxed, but @@ -2371,7 +2406,7 @@ message InjectedSolutionConstraint { // The constraint relaxation level that applies when the conditions // at or after `threshold_time` AND at least `threshold_visit_count` are - // satified. + // satisfied. Level level = 1; // The time at or after which the relaxation `level` may be applied. @@ -2493,6 +2528,11 @@ message OptimizeToursValidationError { // * INJECTED_SOLUTION_MISSING_LABEL = 2000; // * INJECTED_SOLUTION_DUPLICATE_LABEL = 2001; // * INJECTED_SOLUTION_AMBIGUOUS_INDEX = 2002; + // * INJECTED_SOLUTION_INFEASIBLE_AFTER_GETTING_TRAVEL_TIMES = 2003; + // * INJECTED_SOLUTION_TRANSITION_INCONSISTENT_WITH_ACTUAL_TRAVEL = 2004; + // * INJECTED_SOLUTION_CONCURRENT_SOLUTION_TYPES = 2005; + // * INJECTED_SOLUTION_MORE_THAN_ONE_PER_TYPE = 2006; + // * INJECTED_SOLUTION_REFRESH_WITHOUT_POPULATE = 2008; // * SHIPMENT_MODEL_ERROR = 22; // * SHIPMENT_MODEL_TOO_LARGE = 2200; // * SHIPMENT_MODEL_TOO_MANY_CAPACITY_TYPES = 2201; @@ -2500,6 +2540,8 @@ message OptimizeToursValidationError { // * SHIPMENT_MODEL_GLOBAL_END_TIME_TOO_LARGE_OR_NAN = 2203; // * SHIPMENT_MODEL_GLOBAL_START_TIME_AFTER_GLOBAL_END_TIME = 2204; // * SHIPMENT_MODEL_GLOBAL_DURATION_TOO_LONG = 2205; + // * SHIPMENT_MODEL_MAX_ACTIVE_VEHICLES_NOT_POSITIVE = 2206; + // * SHIPMENT_MODEL_DURATION_MATRIX_TOO_LARGE = 2207; // * INDEX_ERROR = 24; // * TAG_ERROR = 26; // * TIME_WINDOW_ERROR = 28; @@ -2581,9 +2623,12 @@ message OptimizeToursValidationError { // * DURATION_LIMIT_QUADRATIC_SOFT_MAX_DURATION_EXCEEDS_GLOBAL_DURATION // = 3815; // * SHIPMENT_ERROR = 40; + // * SHIPMENT_PD_LIMIT_WITHOUT_PICKUP_AND_DELIVERY = 4014; // * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_NEGATIVE_OR_NAN = 4000; // * SHIPMENT_PD_ABSOLUTE_DETOUR_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION // = 4001; + // * SHIPMENT_PD_RELATIVE_DETOUR_LIMIT_INVALID = 4015; + // * SHIPMENT_PD_DETOUR_LIMIT_AND_EXTRA_VISIT_DURATION = 4016; // * SHIPMENT_PD_TIME_LIMIT_DURATION_NEGATIVE_OR_NAN = 4002; // * SHIPMENT_PD_TIME_LIMIT_DURATION_EXCEEDS_GLOBAL_DURATION = 4003; // * SHIPMENT_EMPTY_SHIPMENT_TYPE = 4004; @@ -2596,7 +2641,6 @@ message OptimizeToursValidationError { // * SHIPMENT_INVALID_COST_FOR_VEHICLE = 4011; // * SHIPMENT_COST_FOR_VEHICLE_INDEX_OUT_OF_BOUNDS = 4012; // * SHIPMENT_DUPLICATE_COST_FOR_VEHICLE_INDEX = 4013; - // * SHIPMENT_DETOUR_WITHOUT_PICKUP_AND_DELIVERY = 4014; // * VEHICLE_ERROR = 42; // * VEHICLE_EMPTY_REQUIRED_OPERATOR_TYPE = 4200; // * VEHICLE_DUPLICATE_REQUIRED_OPERATOR_TYPE = 4201; @@ -2620,6 +2664,9 @@ message OptimizeToursValidationError { // * VEHICLE_INVALID_COST_PER_TRAVELED_HOUR = 4219; // * VEHICLE_INVALID_FIXED_COST = 4220; // * VEHICLE_INVALID_TRAVEL_DURATION_MULTIPLE = 4221; + // * VEHICLE_TRAVEL_DURATION_MULTIPLE_WITH_SHIPMENT_PD_DETOUR_LIMITS + // = 4223; + // * VEHICLE_MATRIX_INDEX_WITH_SHIPMENT_PD_DETOUR_LIMITS = 4224; // * VEHICLE_MINIMUM_DURATION_LONGER_THAN_DURATION_LIMIT = 4222; // * VISIT_REQUEST_ERROR = 44; // * VISIT_REQUEST_EMPTY_TAG = 4400; @@ -2672,9 +2719,6 @@ message OptimizeToursValidationError { // * DURATION_SECONDS_MATRIX_ERROR = 56; // * DURATION_SECONDS_MATRIX_DURATION_NEGATIVE_OR_NAN = 5600; // * DURATION_SECONDS_MATRIX_DURATION_EXCEEDS_GLOBAL_DURATION = 5601; - // * GRAPH_ARC_ERROR = 58; - // * GRAPH_ARC_DURATION_NEGATIVE_OR_NAN = 5800; - // * GRAPH_ARC_DURATION_EXCEEDS_GLOBAL_DURATION = 5801; int32 code = 1; // The error display name. diff --git a/java-orchestration-airflow/README.md b/java-orchestration-airflow/README.md index 625b9687d0d0..72b38144a323 100644 --- a/java-orchestration-airflow/README.md +++ b/java-orchestration-airflow/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-orchestration-airflow - 1.8.0 + 1.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.8.0' +implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "1.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "1.9.0" ``` ## Authentication diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow-bom/pom.xml b/java-orchestration-airflow/google-cloud-orchestration-airflow-bom/pom.xml index 35162f355fda..38a0b17eca2c 100644 --- a/java-orchestration-airflow/google-cloud-orchestration-airflow-bom/pom.xml +++ b/java-orchestration-airflow/google-cloud-orchestration-airflow-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-orchestration-airflow-bom - 1.9.0 + 1.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-orchestration-airflow - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-orchestration-airflow-v1 - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-orchestration-airflow-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-orchestration-airflow-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-orchestration-airflow-v1beta1 - 0.12.0 + 0.13.0 diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/pom.xml b/java-orchestration-airflow/google-cloud-orchestration-airflow/pom.xml index ec279970c123..deb2d890dd4f 100644 --- a/java-orchestration-airflow/google-cloud-orchestration-airflow/pom.xml +++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-orchestration-airflow - 1.9.0 + 1.10.0 jar Google Cloud Composer Cloud Composer is a managed Apache Airflow service that helps you create, schedule, monitor and manage workflows. Cloud Composer automation helps you create Airflow environments quickly and use Airflow-native tools, such as the powerful Airflow web interface and command line tools, so you can focus on your workflows and not your infrastructure. com.google.cloud google-cloud-orchestration-airflow-parent - 1.9.0 + 1.10.0 google-cloud-orchestration-airflow diff --git a/java-orchestration-airflow/grpc-google-cloud-orchestration-airflow-v1/pom.xml b/java-orchestration-airflow/grpc-google-cloud-orchestration-airflow-v1/pom.xml index fa02e67dc83b..0652e5c5a035 100644 --- a/java-orchestration-airflow/grpc-google-cloud-orchestration-airflow-v1/pom.xml +++ b/java-orchestration-airflow/grpc-google-cloud-orchestration-airflow-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-orchestration-airflow-v1 - 1.9.0 + 1.10.0 grpc-google-cloud-orchestration-airflow-v1 GRPC library for google-cloud-orchestration-airflow com.google.cloud google-cloud-orchestration-airflow-parent - 1.9.0 + 1.10.0 diff --git a/java-orchestration-airflow/grpc-google-cloud-orchestration-airflow-v1beta1/pom.xml b/java-orchestration-airflow/grpc-google-cloud-orchestration-airflow-v1beta1/pom.xml index 76fd36a312dd..c0e842fe2b4a 100644 --- a/java-orchestration-airflow/grpc-google-cloud-orchestration-airflow-v1beta1/pom.xml +++ b/java-orchestration-airflow/grpc-google-cloud-orchestration-airflow-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-orchestration-airflow-v1beta1 - 0.12.0 + 0.13.0 grpc-google-cloud-orchestration-airflow-v1beta1 GRPC library for google-cloud-orchestration-airflow com.google.cloud google-cloud-orchestration-airflow-parent - 1.9.0 + 1.10.0 diff --git a/java-orchestration-airflow/pom.xml b/java-orchestration-airflow/pom.xml index 0b3e6668be68..deea59d4e70f 100644 --- a/java-orchestration-airflow/pom.xml +++ b/java-orchestration-airflow/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-orchestration-airflow-parent pom - 1.9.0 + 1.10.0 Google Cloud Composer Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-orchestration-airflow - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-orchestration-airflow-v1 - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-orchestration-airflow-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-orchestration-airflow-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-orchestration-airflow-v1beta1 - 0.12.0 + 0.13.0 diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/pom.xml b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/pom.xml index 0aadcf7d0cf1..38515fa92f1b 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/pom.xml +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-orchestration-airflow-v1 - 1.9.0 + 1.10.0 proto-google-cloud-orchestration-airflow-v1 Proto library for google-cloud-orchestration-airflow com.google.cloud google-cloud-orchestration-airflow-parent - 1.9.0 + 1.10.0 diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java index 3f4284fec494..392be4faca4d 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponse.java @@ -345,8 +345,8 @@ public int getContainsPypiModulesConflictValue() { * * *
      -   * Output only. Extract from a docker image build log containing information about pypi
      -   * modules conflicts.
      +   * Output only. Extract from a docker image build log containing information
      +   * about pypi modules conflicts.
          * 
      * * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -370,8 +370,8 @@ public java.lang.String getPypiConflictBuildLogExtract() { * * *
      -   * Output only. Extract from a docker image build log containing information about pypi
      -   * modules conflicts.
      +   * Output only. Extract from a docker image build log containing information
      +   * about pypi modules conflicts.
          * 
      * * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1258,8 +1258,8 @@ public Builder clearContainsPypiModulesConflict() { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * @@ -1283,8 +1283,8 @@ public java.lang.String getPypiConflictBuildLogExtract() { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * @@ -1308,8 +1308,8 @@ public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * @@ -1332,8 +1332,8 @@ public Builder setPypiConflictBuildLogExtract(java.lang.String value) { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * @@ -1352,8 +1352,8 @@ public Builder clearPypiConflictBuildLogExtract() { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java index a98e5f05ff4c..4e0e3e32622a 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/CheckUpgradeResponseOrBuilder.java @@ -82,8 +82,8 @@ public interface CheckUpgradeResponseOrBuilder * * *
      -   * Output only. Extract from a docker image build log containing information about pypi
      -   * modules conflicts.
      +   * Output only. Extract from a docker image build log containing information
      +   * about pypi modules conflicts.
          * 
      * * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -96,8 +96,8 @@ public interface CheckUpgradeResponseOrBuilder * * *
      -   * Output only. Extract from a docker image build log containing information about pypi
      -   * modules conflicts.
      +   * Output only. Extract from a docker image build log containing information
      +   * about pypi modules conflicts.
          * 
      * * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java index 08ad28aa03be..6d17cd4f3358 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfig.java @@ -77,9 +77,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Optional. Customer-managed Encryption Key available through Google's Key Management
      -   * Service. Cannot be updated.
      -   * If not specified, Google-managed key will be used.
      +   * Optional. Customer-managed Encryption Key available through Google's Key
      +   * Management Service. Cannot be updated. If not specified, Google-managed key
      +   * will be used.
          * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -102,9 +102,9 @@ public java.lang.String getKmsKeyName() { * * *
      -   * Optional. Customer-managed Encryption Key available through Google's Key Management
      -   * Service. Cannot be updated.
      -   * If not specified, Google-managed key will be used.
      +   * Optional. Customer-managed Encryption Key available through Google's Key
      +   * Management Service. Cannot be updated. If not specified, Google-managed key
      +   * will be used.
          * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -482,9 +482,9 @@ public Builder mergeFrom( * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -506,9 +506,9 @@ public java.lang.String getKmsKeyName() { * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -530,9 +530,9 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -553,9 +553,9 @@ public Builder setKmsKeyName(java.lang.String value) { * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -572,9 +572,9 @@ public Builder clearKmsKeyName() { * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java index 4e4a6a734b19..4ecaa5f5cece 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EncryptionConfigOrBuilder.java @@ -27,9 +27,9 @@ public interface EncryptionConfigOrBuilder * * *
      -   * Optional. Customer-managed Encryption Key available through Google's Key Management
      -   * Service. Cannot be updated.
      -   * If not specified, Google-managed key will be used.
      +   * Optional. Customer-managed Encryption Key available through Google's Key
      +   * Management Service. Cannot be updated. If not specified, Google-managed key
      +   * will be used.
          * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -41,9 +41,9 @@ public interface EncryptionConfigOrBuilder * * *
      -   * Optional. Customer-managed Encryption Key available through Google's Key Management
      -   * Service. Cannot be updated.
      -   * If not specified, Google-managed key will be used.
      +   * Optional. Customer-managed Encryption Key available through Google's Key
      +   * Management Service. Cannot be updated. If not specified, Google-managed key
      +   * will be used.
          * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java index 93089bd3375b..149d1f59d3f3 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/Environment.java @@ -423,8 +423,8 @@ public com.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig getCo * * *
      -   * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -   * This value is generated when the environment is created.
      +   * Output only. The UUID (Universally Unique IDentifier) associated with this
      +   * environment. This value is generated when the environment is created.
          * 
      * * string uuid = 3; @@ -447,8 +447,8 @@ public java.lang.String getUuid() { * * *
      -   * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -   * This value is generated when the environment is created.
      +   * Output only. The UUID (Universally Unique IDentifier) associated with this
      +   * environment. This value is generated when the environment is created.
          * 
      * * string uuid = 3; @@ -1587,8 +1587,8 @@ public Builder clearConfig() { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3; @@ -1610,8 +1610,8 @@ public java.lang.String getUuid() { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3; @@ -1633,8 +1633,8 @@ public com.google.protobuf.ByteString getUuidBytes() { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3; @@ -1655,8 +1655,8 @@ public Builder setUuid(java.lang.String value) { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3; @@ -1673,8 +1673,8 @@ public Builder clearUuid() { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java index 6b3df4bfa0c6..ace8558e5bbd 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfig.java @@ -313,10 +313,11 @@ public com.google.protobuf.ByteString getGkeClusterBytes() { * * *
      -   * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -   * Storage objects reside in a flat namespace, a hierarchical file tree
      -   * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -   * this environment reside in a simulated directory with the given prefix.
      +   * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +   * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +   * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +   * objects for this environment reside in a simulated directory with the given
      +   * prefix.
          * 
      * * string dag_gcs_prefix = 2; @@ -339,10 +340,11 @@ public java.lang.String getDagGcsPrefix() { * * *
      -   * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -   * Storage objects reside in a flat namespace, a hierarchical file tree
      -   * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -   * this environment reside in a simulated directory with the given prefix.
      +   * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +   * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +   * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +   * objects for this environment reside in a simulated directory with the given
      +   * prefix.
          * 
      * * string dag_gcs_prefix = 2; @@ -553,8 +555,9 @@ public boolean hasPrivateEnvironmentConfig() { * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -571,8 +574,9 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -593,8 +597,9 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -616,8 +621,8 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -634,8 +639,8 @@ public boolean hasDatabaseConfig() { * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -654,8 +659,8 @@ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDatab * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -676,7 +681,8 @@ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDatab * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * 
      * * @@ -693,7 +699,8 @@ public boolean hasWebServerConfig() { * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * 
      * * @@ -712,7 +719,8 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getWebS * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * 
      * * @@ -793,9 +801,9 @@ public com.google.cloud.orchestration.airflow.service.v1.EncryptionConfig getEnc * * *
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -820,9 +828,9 @@ public boolean hasMaintenanceWindow() {
          *
          *
          * 
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -850,9 +858,9 @@ public boolean hasMaintenanceWindow() {
          *
          *
          * 
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -881,9 +889,9 @@ public boolean hasMaintenanceWindow() {
          *
          *
          * 
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -902,9 +910,9 @@ public boolean hasWorkloadsConfig() { * * *
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -925,9 +933,9 @@ public com.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig getWork * * *
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -1000,8 +1008,8 @@ public int getEnvironmentSizeValue() { * * *
      -   * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -   * [Airflow web
      +   * Output only. The URI of the Apache Airflow Web UI hosted within this
      +   * environment (see [Airflow web
          * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
          * 
      * @@ -1025,8 +1033,8 @@ public java.lang.String getAirflowUri() { * * *
      -   * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -   * [Airflow web
      +   * Output only. The URI of the Apache Airflow Web UI hosted within this
      +   * environment (see [Airflow web
          * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
          * 
      * @@ -1054,8 +1062,8 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { * * *
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -1075,8 +1083,8 @@ public boolean hasMasterAuthorizedNetworksConfig() {
          *
          *
          * 
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -1100,8 +1108,8 @@ public boolean hasMasterAuthorizedNetworksConfig() {
          *
          *
          * 
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -2118,10 +2126,11 @@ public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) {
            *
            *
            * 
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2; @@ -2143,10 +2152,11 @@ public java.lang.String getDagGcsPrefix() { * * *
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2; @@ -2168,10 +2178,11 @@ public com.google.protobuf.ByteString getDagGcsPrefixBytes() { * * *
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2; @@ -2192,10 +2203,11 @@ public Builder setDagGcsPrefix(java.lang.String value) { * * *
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2; @@ -2212,10 +2224,11 @@ public Builder clearDagGcsPrefix() { * * *
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2; @@ -2911,8 +2924,9 @@ public Builder clearPrivateEnvironmentConfig() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -2928,8 +2942,9 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -2953,8 +2968,9 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -2979,8 +2995,9 @@ public Builder setWebServerNetworkAccessControl( * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3003,8 +3020,9 @@ public Builder setWebServerNetworkAccessControl( * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3034,8 +3052,9 @@ public Builder mergeWebServerNetworkAccessControl( * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3056,8 +3075,9 @@ public Builder clearWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3074,8 +3094,9 @@ public Builder clearWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3097,8 +3118,9 @@ public Builder clearWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3135,8 +3157,8 @@ public Builder clearWebServerNetworkAccessControl() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3152,8 +3174,8 @@ public boolean hasDatabaseConfig() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3175,8 +3197,8 @@ public com.google.cloud.orchestration.airflow.service.v1.DatabaseConfig getDatab * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3201,8 +3223,8 @@ public Builder setDatabaseConfig( * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3224,8 +3246,8 @@ public Builder setDatabaseConfig( * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3255,8 +3277,8 @@ public Builder mergeDatabaseConfig( * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3277,8 +3299,8 @@ public Builder clearDatabaseConfig() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3295,8 +3317,8 @@ public Builder clearDatabaseConfig() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3317,8 +3339,8 @@ public Builder clearDatabaseConfig() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3352,7 +3374,8 @@ public Builder clearDatabaseConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * 
      * * @@ -3368,7 +3391,8 @@ public boolean hasWebServerConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * 
      * * @@ -3390,7 +3414,8 @@ public com.google.cloud.orchestration.airflow.service.v1.WebServerConfig getWebS * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * 
      * * @@ -3415,7 +3440,8 @@ public Builder setWebServerConfig( * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * 
      * * @@ -3437,7 +3463,8 @@ public Builder setWebServerConfig( * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * 
      * * @@ -3467,7 +3494,8 @@ public Builder mergeWebServerConfig( * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * 
      * * @@ -3488,7 +3516,8 @@ public Builder clearWebServerConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * 
      * * @@ -3505,7 +3534,8 @@ public Builder clearWebServerConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * 
      * * @@ -3526,7 +3556,8 @@ public Builder clearWebServerConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * 
      * * @@ -3781,9 +3812,9 @@ public Builder clearEncryptionConfig() { * * *
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -3807,9 +3838,9 @@ public boolean hasMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -3841,9 +3872,9 @@ public boolean hasMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -3876,9 +3907,9 @@ public Builder setMaintenanceWindow(
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -3909,9 +3940,9 @@ public Builder setMaintenanceWindow(
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -3949,9 +3980,9 @@ public Builder mergeMaintenanceWindow(
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -3980,9 +4011,9 @@ public Builder clearMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4007,9 +4038,9 @@ public Builder clearMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4039,9 +4070,9 @@ public Builder clearMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4083,9 +4114,9 @@ public Builder clearMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4103,9 +4134,9 @@ public boolean hasWorkloadsConfig() { * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4129,9 +4160,9 @@ public com.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig getWork * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4158,9 +4189,9 @@ public Builder setWorkloadsConfig( * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4184,9 +4215,9 @@ public Builder setWorkloadsConfig( * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4218,9 +4249,9 @@ public Builder mergeWorkloadsConfig( * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4243,9 +4274,9 @@ public Builder clearWorkloadsConfig() { * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4264,9 +4295,9 @@ public Builder clearWorkloadsConfig() { * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4289,9 +4320,9 @@ public Builder clearWorkloadsConfig() { * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4438,8 +4469,8 @@ public Builder clearEnvironmentSize() { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -4462,8 +4493,8 @@ public java.lang.String getAirflowUri() { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -4486,8 +4517,8 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -4509,8 +4540,8 @@ public Builder setAirflowUri(java.lang.String value) { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -4528,8 +4559,8 @@ public Builder clearAirflowUri() { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -4562,8 +4593,8 @@ public Builder setAirflowUriBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4582,8 +4613,8 @@ public boolean hasMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4610,8 +4641,8 @@ public boolean hasMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4639,8 +4670,8 @@ public Builder setMasterAuthorizedNetworksConfig(
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4666,8 +4697,8 @@ public Builder setMasterAuthorizedNetworksConfig(
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4700,8 +4731,8 @@ public Builder mergeMasterAuthorizedNetworksConfig(
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4725,8 +4756,8 @@ public Builder clearMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4746,8 +4777,8 @@ public Builder clearMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4772,8 +4803,8 @@ public Builder clearMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java
      index 931e7cb84978..4c8a8fda2307 100644
      --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java
      +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentConfigOrBuilder.java
      @@ -52,10 +52,11 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -   * Storage objects reside in a flat namespace, a hierarchical file tree
      -   * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -   * this environment reside in a simulated directory with the given prefix.
      +   * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +   * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +   * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +   * objects for this environment reside in a simulated directory with the given
      +   * prefix.
          * 
      * * string dag_gcs_prefix = 2; @@ -67,10 +68,11 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -   * Storage objects reside in a flat namespace, a hierarchical file tree
      -   * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -   * this environment reside in a simulated directory with the given prefix.
      +   * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +   * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +   * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +   * objects for this environment reside in a simulated directory with the given
      +   * prefix.
          * 
      * * string dag_gcs_prefix = 2; @@ -213,8 +215,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -228,8 +231,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -244,8 +248,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -259,8 +264,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -274,8 +279,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -289,8 +294,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -304,7 +309,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * 
      * * @@ -318,7 +324,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * 
      * * @@ -332,7 +339,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * 
      * * @@ -391,9 +399,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -415,9 +423,9 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -439,9 +447,9 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -463,9 +471,9 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -481,9 +489,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -499,9 +507,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -551,8 +559,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -   * [Airflow web
      +   * Output only. The URI of the Apache Airflow Web UI hosted within this
      +   * environment (see [Airflow web
          * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
          * 
      * @@ -565,8 +573,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -   * [Airflow web
      +   * Output only. The URI of the Apache Airflow Web UI hosted within this
      +   * environment (see [Airflow web
          * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
          * 
      * @@ -580,8 +588,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -598,8 +606,8 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -617,8 +625,8 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java
      index dcdc87d44c5c..cf4324e922ef 100644
      --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java
      +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentOrBuilder.java
      @@ -93,8 +93,8 @@ public interface EnvironmentOrBuilder
          *
          *
          * 
      -   * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -   * This value is generated when the environment is created.
      +   * Output only. The UUID (Universally Unique IDentifier) associated with this
      +   * environment. This value is generated when the environment is created.
          * 
      * * string uuid = 3; @@ -106,8 +106,8 @@ public interface EnvironmentOrBuilder * * *
      -   * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -   * This value is generated when the environment is created.
      +   * Output only. The UUID (Universally Unique IDentifier) associated with this
      +   * environment. This value is generated when the environment is created.
          * 
      * * string uuid = 3; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java index 6bd0c7aa7db5..515165bca37d 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsOuterClass.java @@ -434,10 +434,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "stration.airflow.service.v1.OperationMet" + "adata\032K\312A\027composer.googleapis.com\322A.http" + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\213\001\n1com.google.cloud.orchestration.ai" - + "rflow.service.v1P\001ZTgoogle.golang.org/ge" - + "nproto/googleapis/cloud/orchestration/ai" - + "rflow/service/v1;serviceb\006proto3" + + "rmB\202\001\n1com.google.cloud.orchestration.ai" + + "rflow.service.v1P\001ZKcloud.google.com/go/" + + "orchestration/airflow/service/apiv1/serv" + + "icepb;servicepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java index c12d0e1fe3ee..98aa2603752c 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ImageVersionsOuterClass.java @@ -72,11 +72,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/{parent=projects/*/locations/*}/imageVe" + "rsions\332A\006parent\032K\312A\027composer.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\213\001\n1com.google.cloud.orches" - + "tration.airflow.service.v1P\001ZTgoogle.gol" - + "ang.org/genproto/googleapis/cloud/orches" - + "tration/airflow/service/v1;serviceb\006prot" - + "o3" + + "oud-platformB\202\001\n1com.google.cloud.orches" + + "tration.airflow.service.v1P\001ZKcloud.goog" + + "le.com/go/orchestration/airflow/service/" + + "apiv1/servicepb;servicepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/MaintenanceWindow.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/MaintenanceWindow.java index 590e58a765d2..acab2ab9a452 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/MaintenanceWindow.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/MaintenanceWindow.java @@ -132,10 +132,9 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end-time must be in the future, relative to
      -   * `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end-time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -150,10 +149,9 @@ public boolean hasEndTime() { * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end-time must be in the future, relative to
      -   * `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end-time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -168,10 +166,9 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end-time must be in the future, relative to
      -   * `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end-time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -859,10 +856,9 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end-time must be in the future, relative to
      -     * `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end-time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -877,10 +873,9 @@ public boolean hasEndTime() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end-time must be in the future, relative to
      -     * `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end-time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -899,10 +894,9 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end-time must be in the future, relative to
      -     * `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end-time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -925,10 +919,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end-time must be in the future, relative to
      -     * `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end-time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -948,10 +941,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end-time must be in the future, relative to
      -     * `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end-time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -977,10 +969,9 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end-time must be in the future, relative to
      -     * `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end-time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1000,10 +991,9 @@ public Builder clearEndTime() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end-time must be in the future, relative to
      -     * `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end-time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1018,10 +1008,9 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end-time must be in the future, relative to
      -     * `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end-time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1038,10 +1027,9 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end-time must be in the future, relative to
      -     * `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end-time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/MaintenanceWindowOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/MaintenanceWindowOrBuilder.java index c907001dec68..8f74b8a3ac52 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/MaintenanceWindowOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/MaintenanceWindowOrBuilder.java @@ -65,10 +65,9 @@ public interface MaintenanceWindowOrBuilder * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end-time must be in the future, relative to
      -   * `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end-time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -80,10 +79,9 @@ public interface MaintenanceWindowOrBuilder * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end-time must be in the future, relative to
      -   * `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end-time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -95,10 +93,9 @@ public interface MaintenanceWindowOrBuilder * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end-time must be in the future, relative to
      -   * `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end-time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NetworkingConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NetworkingConfig.java index 46b86ea9acfe..4ac287d29fe2 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NetworkingConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NetworkingConfig.java @@ -242,9 +242,9 @@ private ConnectionType(int value) { * * *
      -   * Optional. Indicates the user requested specifc connection type between Tenant and
      -   * Customer projects.
      -   * You cannot set networking connection type in public IP environment.
      +   * Optional. Indicates the user requested specifc connection type between
      +   * Tenant and Customer projects. You cannot set networking connection type in
      +   * public IP environment.
          * 
      * * @@ -261,9 +261,9 @@ public int getConnectionTypeValue() { * * *
      -   * Optional. Indicates the user requested specifc connection type between Tenant and
      -   * Customer projects.
      -   * You cannot set networking connection type in public IP environment.
      +   * Optional. Indicates the user requested specifc connection type between
      +   * Tenant and Customer projects. You cannot set networking connection type in
      +   * public IP environment.
          * 
      * * @@ -645,9 +645,9 @@ public Builder mergeFrom( * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * @@ -664,9 +664,9 @@ public int getConnectionTypeValue() { * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * @@ -686,9 +686,9 @@ public Builder setConnectionTypeValue(int value) { * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * @@ -712,9 +712,9 @@ public Builder setConnectionTypeValue(int value) { * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * @@ -738,9 +738,9 @@ public Builder setConnectionType( * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NetworkingConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NetworkingConfigOrBuilder.java index 3d90e80d5a2e..939384aabeb2 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NetworkingConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NetworkingConfigOrBuilder.java @@ -27,9 +27,9 @@ public interface NetworkingConfigOrBuilder * * *
      -   * Optional. Indicates the user requested specifc connection type between Tenant and
      -   * Customer projects.
      -   * You cannot set networking connection type in public IP environment.
      +   * Optional. Indicates the user requested specifc connection type between
      +   * Tenant and Customer projects. You cannot set networking connection type in
      +   * public IP environment.
          * 
      * * @@ -43,9 +43,9 @@ public interface NetworkingConfigOrBuilder * * *
      -   * Optional. Indicates the user requested specifc connection type between Tenant and
      -   * Customer projects.
      -   * You cannot set networking connection type in public IP environment.
      +   * Optional. Indicates the user requested specifc connection type between
      +   * Tenant and Customer projects. You cannot set networking connection type in
      +   * public IP environment.
          * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java index d56cc6430973..cbdff91b4ecb 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfig.java @@ -620,7 +620,8 @@ public com.google.protobuf.ByteString getTagsBytes(int index) { * * *
      -   * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +   * Optional. The configuration for controlling how IPs are allocated in the
      +   * GKE cluster.
          * 
      * * @@ -637,7 +638,8 @@ public boolean hasIpAllocationPolicy() { * * *
      -   * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +   * Optional. The configuration for controlling how IPs are allocated in the
      +   * GKE cluster.
          * 
      * * @@ -657,7 +659,8 @@ public boolean hasIpAllocationPolicy() { * * *
      -   * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +   * Optional. The configuration for controlling how IPs are allocated in the
      +   * GKE cluster.
          * 
      * * @@ -2576,7 +2579,8 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +     * Optional. The configuration for controlling how IPs are allocated in the
      +     * GKE cluster.
            * 
      * * @@ -2592,7 +2596,8 @@ public boolean hasIpAllocationPolicy() { * * *
      -     * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +     * Optional. The configuration for controlling how IPs are allocated in the
      +     * GKE cluster.
            * 
      * * @@ -2616,7 +2621,8 @@ public boolean hasIpAllocationPolicy() { * * *
      -     * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +     * Optional. The configuration for controlling how IPs are allocated in the
      +     * GKE cluster.
            * 
      * * @@ -2641,7 +2647,8 @@ public Builder setIpAllocationPolicy( * * *
      -     * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +     * Optional. The configuration for controlling how IPs are allocated in the
      +     * GKE cluster.
            * 
      * * @@ -2664,7 +2671,8 @@ public Builder setIpAllocationPolicy( * * *
      -     * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +     * Optional. The configuration for controlling how IPs are allocated in the
      +     * GKE cluster.
            * 
      * * @@ -2694,7 +2702,8 @@ public Builder mergeIpAllocationPolicy( * * *
      -     * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +     * Optional. The configuration for controlling how IPs are allocated in the
      +     * GKE cluster.
            * 
      * * @@ -2715,7 +2724,8 @@ public Builder clearIpAllocationPolicy() { * * *
      -     * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +     * Optional. The configuration for controlling how IPs are allocated in the
      +     * GKE cluster.
            * 
      * * @@ -2732,7 +2742,8 @@ public Builder clearIpAllocationPolicy() { * * *
      -     * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +     * Optional. The configuration for controlling how IPs are allocated in the
      +     * GKE cluster.
            * 
      * * @@ -2754,7 +2765,8 @@ public Builder clearIpAllocationPolicy() { * * *
      -     * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +     * Optional. The configuration for controlling how IPs are allocated in the
      +     * GKE cluster.
            * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java index b7e2372c4758..f225e3a419f2 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/NodeConfigOrBuilder.java @@ -408,7 +408,8 @@ public interface NodeConfigOrBuilder * * *
      -   * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +   * Optional. The configuration for controlling how IPs are allocated in the
      +   * GKE cluster.
          * 
      * * @@ -422,7 +423,8 @@ public interface NodeConfigOrBuilder * * *
      -   * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +   * Optional. The configuration for controlling how IPs are allocated in the
      +   * GKE cluster.
          * 
      * * @@ -436,7 +438,8 @@ public interface NodeConfigOrBuilder * * *
      -   * Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
      +   * Optional. The configuration for controlling how IPs are allocated in the
      +   * GKE cluster.
          * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java index 541ffaed51f2..d7a6873bccd0 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadata.java @@ -766,8 +766,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -782,8 +782,8 @@ public boolean hasEndTime() { * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -798,8 +798,8 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1914,8 +1914,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1929,8 +1929,8 @@ public boolean hasEndTime() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1948,8 +1948,8 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1971,8 +1971,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1991,8 +1991,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -2017,8 +2017,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -2037,8 +2037,8 @@ public Builder clearEndTime() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -2052,8 +2052,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -2069,8 +2069,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java index d2a364666597..8dd6d9b1fa80 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationMetadataOrBuilder.java @@ -166,8 +166,8 @@ public interface OperationMetadataOrBuilder * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -179,8 +179,8 @@ public interface OperationMetadataOrBuilder * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -192,8 +192,8 @@ public interface OperationMetadataOrBuilder * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java index 8c157fd4069c..43b92df843b7 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/OperationsProto.java @@ -57,11 +57,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\nSUCCESSFUL\020\003\022\n\n\006FAILED\020\004\032\002\020\001\"q\n\004Type\022\024\n" + "\020TYPE_UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELET" + "E\020\002\022\n\n\006UPDATE\020\003\022\t\n\005CHECK\020\004\022\021\n\rSAVE_SNAPS" - + "HOT\020\005\022\021\n\rLOAD_SNAPSHOT\020\006B\234\001\n1com.google." + + "HOT\020\005\022\021\n\rLOAD_SNAPSHOT\020\006B\223\001\n1com.google." + "cloud.orchestration.airflow.service.v1B\017" - + "OperationsProtoP\001ZTgoogle.golang.org/gen" - + "proto/googleapis/cloud/orchestration/air" - + "flow/service/v1;serviceb\006proto3" + + "OperationsProtoP\001ZKcloud.google.com/go/o" + + "rchestration/airflow/service/apiv1/servi" + + "cepb;servicepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java index 5bf076137acc..c52cdade492f 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfig.java @@ -96,8 +96,8 @@ public boolean getEnablePrivateEndpoint() { * * *
      -   * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -   * left blank, the default value of '172.16.0.0/23' is used.
      +   * Optional. The CIDR block from which IPv4 range for GKE master will be
      +   * reserved. If left blank, the default value of '172.16.0.0/23' is used.
          * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -120,8 +120,8 @@ public java.lang.String getMasterIpv4CidrBlock() { * * *
      -   * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -   * left blank, the default value of '172.16.0.0/23' is used.
      +   * Optional. The CIDR block from which IPv4 range for GKE master will be
      +   * reserved. If left blank, the default value of '172.16.0.0/23' is used.
          * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -149,11 +149,11 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * * *
      -   * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -   * range is used for assigning internal IP addresses to the GKE cluster
      -   * master or set of masters and to the internal load balancer virtual IP.
      -   * This range must not overlap with any other ranges in use
      -   * within the cluster's network.
      +   * Output only. The IP range in CIDR notation to use for the hosted master
      +   * network. This range is used for assigning internal IP addresses to the GKE
      +   * cluster master or set of masters and to the internal load balancer virtual
      +   * IP. This range must not overlap with any other ranges in use within the
      +   * cluster's network.
          * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -177,11 +177,11 @@ public java.lang.String getMasterIpv4ReservedRange() { * * *
      -   * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -   * range is used for assigning internal IP addresses to the GKE cluster
      -   * master or set of masters and to the internal load balancer virtual IP.
      -   * This range must not overlap with any other ranges in use
      -   * within the cluster's network.
      +   * Output only. The IP range in CIDR notation to use for the hosted master
      +   * network. This range is used for assigning internal IP addresses to the GKE
      +   * cluster master or set of masters and to the internal load balancer virtual
      +   * IP. This range must not overlap with any other ranges in use within the
      +   * cluster's network.
          * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -662,8 +662,8 @@ public Builder clearEnablePrivateEndpoint() { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -685,8 +685,8 @@ public java.lang.String getMasterIpv4CidrBlock() { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -708,8 +708,8 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -730,8 +730,8 @@ public Builder setMasterIpv4CidrBlock(java.lang.String value) { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -748,8 +748,8 @@ public Builder clearMasterIpv4CidrBlock() { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -773,11 +773,11 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the GKE cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the GKE
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -800,11 +800,11 @@ public java.lang.String getMasterIpv4ReservedRange() { * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the GKE cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the GKE
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -827,11 +827,11 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the GKE cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the GKE
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -853,11 +853,11 @@ public Builder setMasterIpv4ReservedRange(java.lang.String value) { * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the GKE cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the GKE
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -875,11 +875,11 @@ public Builder clearMasterIpv4ReservedRange() { * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the GKE cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the GKE
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java index c6865b4ec833..ca980152d1d6 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateClusterConfigOrBuilder.java @@ -41,8 +41,8 @@ public interface PrivateClusterConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -   * left blank, the default value of '172.16.0.0/23' is used.
      +   * Optional. The CIDR block from which IPv4 range for GKE master will be
      +   * reserved. If left blank, the default value of '172.16.0.0/23' is used.
          * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -54,8 +54,8 @@ public interface PrivateClusterConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -   * left blank, the default value of '172.16.0.0/23' is used.
      +   * Optional. The CIDR block from which IPv4 range for GKE master will be
      +   * reserved. If left blank, the default value of '172.16.0.0/23' is used.
          * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -68,11 +68,11 @@ public interface PrivateClusterConfigOrBuilder * * *
      -   * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -   * range is used for assigning internal IP addresses to the GKE cluster
      -   * master or set of masters and to the internal load balancer virtual IP.
      -   * This range must not overlap with any other ranges in use
      -   * within the cluster's network.
      +   * Output only. The IP range in CIDR notation to use for the hosted master
      +   * network. This range is used for assigning internal IP addresses to the GKE
      +   * cluster master or set of masters and to the internal load balancer virtual
      +   * IP. This range must not overlap with any other ranges in use within the
      +   * cluster's network.
          * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -85,11 +85,11 @@ public interface PrivateClusterConfigOrBuilder * * *
      -   * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -   * range is used for assigning internal IP addresses to the GKE cluster
      -   * master or set of masters and to the internal load balancer virtual IP.
      -   * This range must not overlap with any other ranges in use
      -   * within the cluster's network.
      +   * Output only. The IP range in CIDR notation to use for the hosted master
      +   * network. This range is used for assigning internal IP addresses to the GKE
      +   * cluster master or set of masters and to the internal load balancer virtual
      +   * IP. This range must not overlap with any other ranges in use within the
      +   * cluster's network.
          * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java index d0dd5621e243..890458c46dc6 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfig.java @@ -167,8 +167,9 @@ public boolean hasPrivateClusterConfig() { * * *
      -   * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -   * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
      +   * Optional. The CIDR block from which IP range for web server will be
      +   * reserved. Needs to be disjoint from
      +   * `private_cluster_config.master_ipv4_cidr_block` and
          * `cloud_sql_ipv4_cidr_block`.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
      @@ -194,8 +195,9 @@ public java.lang.String getWebServerIpv4CidrBlock() {
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -   * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
      +   * Optional. The CIDR block from which IP range for web server will be
      +   * reserved. Needs to be disjoint from
      +   * `private_cluster_config.master_ipv4_cidr_block` and
          * `cloud_sql_ipv4_cidr_block`.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
      @@ -226,8 +228,9 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() {
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -   * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
      +   * Optional. The CIDR block from which IP range in tenant project will be
      +   * reserved for Cloud SQL. Needs to be disjoint from
      +   * `web_server_ipv4_cidr_block`.
          * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -250,8 +253,9 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { * * *
      -   * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -   * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
      +   * Optional. The CIDR block from which IP range in tenant project will be
      +   * reserved for Cloud SQL. Needs to be disjoint from
      +   * `web_server_ipv4_cidr_block`.
          * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -336,8 +340,8 @@ public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { * * *
      -   * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -   * project will be reserved. Needs to be disjoint from
      +   * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +   * tenant project will be reserved. Needs to be disjoint from
          * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
      @@ -366,8 +370,8 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() {
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -   * project will be reserved. Needs to be disjoint from
      +   * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +   * tenant project will be reserved. Needs to be disjoint from
          * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
      @@ -401,7 +405,8 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes(
          *
          *
          * 
      -   * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +   * Output only. The IP range reserved for the tenant project's Cloud Composer
      +   * network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -428,7 +433,8 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { * * *
      -   * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +   * Output only. The IP range reserved for the tenant project's Cloud Composer
      +   * network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -458,8 +464,8 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBy * * *
      -   * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -   * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +   * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +   * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
          * `IPAllocationPolicy.service_ipv4_cidr_block`.
          * 
      * @@ -540,7 +546,8 @@ public com.google.protobuf.ByteString getCloudComposerConnectionSubnetworkBytes( * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -557,7 +564,8 @@ public boolean hasNetworkingConfig() { * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -576,7 +584,8 @@ public com.google.cloud.orchestration.airflow.service.v1.NetworkingConfig getNet * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -1493,8 +1502,9 @@ public Builder clearPrivateClusterConfig() { * * *
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * `private_cluster_config.master_ipv4_cidr_block` and
            * `cloud_sql_ipv4_cidr_block`.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1519,8 +1529,9 @@ public java.lang.String getWebServerIpv4CidrBlock() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * `private_cluster_config.master_ipv4_cidr_block` and
            * `cloud_sql_ipv4_cidr_block`.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1545,8 +1556,9 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * `private_cluster_config.master_ipv4_cidr_block` and
            * `cloud_sql_ipv4_cidr_block`.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1570,8 +1582,9 @@ public Builder setWebServerIpv4CidrBlock(java.lang.String value) {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * `private_cluster_config.master_ipv4_cidr_block` and
            * `cloud_sql_ipv4_cidr_block`.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1591,8 +1604,9 @@ public Builder clearWebServerIpv4CidrBlock() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * `private_cluster_config.master_ipv4_cidr_block` and
            * `cloud_sql_ipv4_cidr_block`.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1619,8 +1633,9 @@ public Builder setWebServerIpv4CidrBlockBytes(com.google.protobuf.ByteString val
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * `web_server_ipv4_cidr_block`.
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1642,8 +1657,9 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { * * *
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * `web_server_ipv4_cidr_block`.
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1665,8 +1681,9 @@ public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { * * *
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * `web_server_ipv4_cidr_block`.
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1687,8 +1704,9 @@ public Builder setCloudSqlIpv4CidrBlock(java.lang.String value) { * * *
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * `web_server_ipv4_cidr_block`.
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1705,8 +1723,9 @@ public Builder clearCloudSqlIpv4CidrBlock() { * * *
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * `web_server_ipv4_cidr_block`.
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1851,8 +1870,8 @@ public Builder setWebServerIpv4ReservedRangeBytes(com.google.protobuf.ByteString * * *
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -1880,8 +1899,8 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -1909,8 +1928,8 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes(
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -1937,8 +1956,8 @@ public Builder setCloudComposerNetworkIpv4CidrBlock(java.lang.String value) {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -1962,8 +1981,8 @@ public Builder clearCloudComposerNetworkIpv4CidrBlock() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -1993,7 +2012,8 @@ public Builder setCloudComposerNetworkIpv4CidrBlockBytes(com.google.protobuf.Byt
            *
            *
            * 
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2019,7 +2039,8 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { * * *
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2045,7 +2066,8 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBy * * *
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2070,7 +2092,8 @@ public Builder setCloudComposerNetworkIpv4ReservedRange(java.lang.String value) * * *
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2092,7 +2115,8 @@ public Builder clearCloudComposerNetworkIpv4ReservedRange() { * * *
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2121,8 +2145,8 @@ public Builder setCloudComposerNetworkIpv4ReservedRangeBytes( * * *
      -     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -     * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +     * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
            * `IPAllocationPolicy.service_ipv4_cidr_block`.
            * 
      * @@ -2139,8 +2163,8 @@ public boolean getEnablePrivatelyUsedPublicIps() { * * *
      -     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -     * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +     * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
            * `IPAllocationPolicy.service_ipv4_cidr_block`.
            * 
      * @@ -2161,8 +2185,8 @@ public Builder setEnablePrivatelyUsedPublicIps(boolean value) { * * *
      -     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -     * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +     * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
            * `IPAllocationPolicy.service_ipv4_cidr_block`.
            * 
      * @@ -2320,7 +2344,8 @@ public Builder setCloudComposerConnectionSubnetworkBytes(com.google.protobuf.Byt * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2336,7 +2361,8 @@ public boolean hasNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2360,7 +2386,8 @@ public boolean hasNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2385,7 +2412,8 @@ public Builder setNetworkingConfig( * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2408,7 +2436,8 @@ public Builder setNetworkingConfig( * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2438,7 +2467,8 @@ public Builder mergeNetworkingConfig( * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2459,7 +2489,8 @@ public Builder clearNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2476,7 +2507,8 @@ public Builder clearNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2498,7 +2530,8 @@ public Builder clearNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java index b9dcd68a6fa5..89999321a00c 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/PrivateEnvironmentConfigOrBuilder.java @@ -88,8 +88,9 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -   * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
      +   * Optional. The CIDR block from which IP range for web server will be
      +   * reserved. Needs to be disjoint from
      +   * `private_cluster_config.master_ipv4_cidr_block` and
          * `cloud_sql_ipv4_cidr_block`.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
      @@ -104,8 +105,9 @@ public interface PrivateEnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -   * to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
      +   * Optional. The CIDR block from which IP range for web server will be
      +   * reserved. Needs to be disjoint from
      +   * `private_cluster_config.master_ipv4_cidr_block` and
          * `cloud_sql_ipv4_cidr_block`.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
      @@ -121,8 +123,9 @@ public interface PrivateEnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -   * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
      +   * Optional. The CIDR block from which IP range in tenant project will be
      +   * reserved for Cloud SQL. Needs to be disjoint from
      +   * `web_server_ipv4_cidr_block`.
          * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -134,8 +137,9 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -   * Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
      +   * Optional. The CIDR block from which IP range in tenant project will be
      +   * reserved for Cloud SQL. Needs to be disjoint from
      +   * `web_server_ipv4_cidr_block`.
          * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -179,8 +183,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -   * project will be reserved. Needs to be disjoint from
      +   * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +   * tenant project will be reserved. Needs to be disjoint from
          * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
      @@ -198,8 +202,8 @@ public interface PrivateEnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -   * project will be reserved. Needs to be disjoint from
      +   * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +   * tenant project will be reserved. Needs to be disjoint from
          * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
      @@ -218,7 +222,8 @@ public interface PrivateEnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +   * Output only. The IP range reserved for the tenant project's Cloud Composer
      +   * network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -234,7 +239,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +   * Output only. The IP range reserved for the tenant project's Cloud Composer
      +   * network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -251,8 +257,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -   * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +   * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +   * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
          * `IPAllocationPolicy.service_ipv4_cidr_block`.
          * 
      * @@ -302,7 +308,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -316,7 +323,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -330,7 +338,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ScheduledSnapshotsConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ScheduledSnapshotsConfig.java index f539c8de2cfa..7ce500e3d50f 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ScheduledSnapshotsConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ScheduledSnapshotsConfig.java @@ -96,7 +96,8 @@ public boolean getEnabled() { * * *
      -   * Optional. The Cloud Storage location for storing automatically created snapshots.
      +   * Optional. The Cloud Storage location for storing automatically created
      +   * snapshots.
          * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -119,7 +120,8 @@ public java.lang.String getSnapshotLocation() { * * *
      -   * Optional. The Cloud Storage location for storing automatically created snapshots.
      +   * Optional. The Cloud Storage location for storing automatically created
      +   * snapshots.
          * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -147,9 +149,9 @@ public com.google.protobuf.ByteString getSnapshotLocationBytes() { * * *
      -   * Optional. The cron expression representing the time when snapshots creation mechanism
      -   * runs. This field is subject to additional validation around frequency of
      -   * execution.
      +   * Optional. The cron expression representing the time when snapshots creation
      +   * mechanism runs. This field is subject to additional validation around
      +   * frequency of execution.
          * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -172,9 +174,9 @@ public java.lang.String getSnapshotCreationSchedule() { * * *
      -   * Optional. The cron expression representing the time when snapshots creation mechanism
      -   * runs. This field is subject to additional validation around frequency of
      -   * execution.
      +   * Optional. The cron expression representing the time when snapshots creation
      +   * mechanism runs. This field is subject to additional validation around
      +   * frequency of execution.
          * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -202,7 +204,8 @@ public com.google.protobuf.ByteString getSnapshotCreationScheduleBytes() { * * *
      -   * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +   * Optional. Time zone that sets the context to interpret
      +   * snapshot_creation_schedule.
          * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -225,7 +228,8 @@ public java.lang.String getTimeZone() { * * *
      -   * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +   * Optional. Time zone that sets the context to interpret
      +   * snapshot_creation_schedule.
          * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -735,7 +739,8 @@ public Builder clearEnabled() { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -757,7 +762,8 @@ public java.lang.String getSnapshotLocation() { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -779,7 +785,8 @@ public com.google.protobuf.ByteString getSnapshotLocationBytes() { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -800,7 +807,8 @@ public Builder setSnapshotLocation(java.lang.String value) { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -817,7 +825,8 @@ public Builder clearSnapshotLocation() { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -841,9 +850,9 @@ public Builder setSnapshotLocationBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -865,9 +874,9 @@ public java.lang.String getSnapshotCreationSchedule() { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -889,9 +898,9 @@ public com.google.protobuf.ByteString getSnapshotCreationScheduleBytes() { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -912,9 +921,9 @@ public Builder setSnapshotCreationSchedule(java.lang.String value) { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -931,9 +940,9 @@ public Builder clearSnapshotCreationSchedule() { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -957,7 +966,8 @@ public Builder setSnapshotCreationScheduleBytes(com.google.protobuf.ByteString v * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -979,7 +989,8 @@ public java.lang.String getTimeZone() { * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1001,7 +1012,8 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1022,7 +1034,8 @@ public Builder setTimeZone(java.lang.String value) { * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1039,7 +1052,8 @@ public Builder clearTimeZone() { * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ScheduledSnapshotsConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ScheduledSnapshotsConfigOrBuilder.java index cfe4e4539e9a..3dcf5f2e37c3 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ScheduledSnapshotsConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/ScheduledSnapshotsConfigOrBuilder.java @@ -40,7 +40,8 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. The Cloud Storage location for storing automatically created snapshots.
      +   * Optional. The Cloud Storage location for storing automatically created
      +   * snapshots.
          * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -52,7 +53,8 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. The Cloud Storage location for storing automatically created snapshots.
      +   * Optional. The Cloud Storage location for storing automatically created
      +   * snapshots.
          * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -65,9 +67,9 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. The cron expression representing the time when snapshots creation mechanism
      -   * runs. This field is subject to additional validation around frequency of
      -   * execution.
      +   * Optional. The cron expression representing the time when snapshots creation
      +   * mechanism runs. This field is subject to additional validation around
      +   * frequency of execution.
          * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -79,9 +81,9 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. The cron expression representing the time when snapshots creation mechanism
      -   * runs. This field is subject to additional validation around frequency of
      -   * execution.
      +   * Optional. The cron expression representing the time when snapshots creation
      +   * mechanism runs. This field is subject to additional validation around
      +   * frequency of execution.
          * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -94,7 +96,8 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +   * Optional. Time zone that sets the context to interpret
      +   * snapshot_creation_schedule.
          * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -106,7 +109,8 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +   * Optional. Time zone that sets the context to interpret
      +   * snapshot_creation_schedule.
          * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java index 66396caed185..68c7c7e9d3aa 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WebServerNetworkAccessControl.java @@ -114,7 +114,8 @@ public interface AllowedIpRangeOrBuilder * * *
      -     * Optional. User-provided description. It must contain at most 300 characters.
      +     * Optional. User-provided description. It must contain at most 300
      +     * characters.
            * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -126,7 +127,8 @@ public interface AllowedIpRangeOrBuilder * * *
      -     * Optional. User-provided description. It must contain at most 300 characters.
      +     * Optional. User-provided description. It must contain at most 300
      +     * characters.
            * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -259,7 +261,8 @@ public com.google.protobuf.ByteString getValueBytes() { * * *
      -     * Optional. User-provided description. It must contain at most 300 characters.
      +     * Optional. User-provided description. It must contain at most 300
      +     * characters.
            * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -282,7 +285,8 @@ public java.lang.String getDescription() { * * *
      -     * Optional. User-provided description. It must contain at most 300 characters.
      +     * Optional. User-provided description. It must contain at most 300
      +     * characters.
            * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -870,7 +874,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -892,7 +897,8 @@ public java.lang.String getDescription() { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -914,7 +920,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -935,7 +942,8 @@ public Builder setDescription(java.lang.String value) { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -952,7 +960,8 @@ public Builder clearDescription() { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WorkloadsConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WorkloadsConfig.java index 1255959547a3..05f359a64d4c 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WorkloadsConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/java/com/google/cloud/orchestration/airflow/service/v1/WorkloadsConfig.java @@ -89,7 +89,8 @@ public interface SchedulerResourceOrBuilder * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +     * replica.
            * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -102,7 +103,8 @@ public interface SchedulerResourceOrBuilder * * *
      -     * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +     * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +     * replica.
            * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -198,7 +200,8 @@ public float getCpu() { * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +     * replica.
            * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -216,7 +219,8 @@ public float getMemoryGb() { * * *
      -     * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +     * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +     * replica.
            * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -759,7 +763,8 @@ public Builder clearCpu() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -774,7 +779,8 @@ public float getMemoryGb() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -793,7 +799,8 @@ public Builder setMemoryGb(float value) { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -812,7 +819,8 @@ public Builder clearMemoryGb() { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -827,7 +835,8 @@ public float getStorageGb() { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -846,7 +855,8 @@ public Builder setStorageGb(float value) { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1815,7 +1825,8 @@ public interface WorkerResourceOrBuilder * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow worker
      +     * replica.
            * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1828,7 +1839,8 @@ public interface WorkerResourceOrBuilder * * *
      -     * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +     * Optional. Storage (GB) request and limit for a single Airflow worker
      +     * replica.
            * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1937,7 +1949,8 @@ public float getCpu() { * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow worker
      +     * replica.
            * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1955,7 +1968,8 @@ public float getMemoryGb() { * * *
      -     * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +     * Optional. Storage (GB) request and limit for a single Airflow worker
      +     * replica.
            * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2523,7 +2537,8 @@ public Builder clearCpu() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2538,7 +2553,8 @@ public float getMemoryGb() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2557,7 +2573,8 @@ public Builder setMemoryGb(float value) { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2576,7 +2593,8 @@ public Builder clearMemoryGb() { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2591,7 +2609,8 @@ public float getStorageGb() { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2610,7 +2629,8 @@ public Builder setStorageGb(float value) { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto index 0916ec9597de..2754df731869 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/environments.proto @@ -24,17 +24,19 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1;service"; +option go_package = "cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepb"; option java_multiple_files = true; option java_package = "com.google.cloud.orchestration.airflow.service.v1"; // Managed Apache Airflow Environments. service Environments { option (google.api.default_host) = "composer.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Create a new environment. - rpc CreateEnvironment(CreateEnvironmentRequest) returns (google.longrunning.Operation) { + rpc CreateEnvironment(CreateEnvironmentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/environments" body: "environment" @@ -55,7 +57,8 @@ service Environments { } // List environments. - rpc ListEnvironments(ListEnvironmentsRequest) returns (ListEnvironmentsResponse) { + rpc ListEnvironments(ListEnvironmentsRequest) + returns (ListEnvironmentsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/environments" }; @@ -63,7 +66,8 @@ service Environments { } // Update an environment. - rpc UpdateEnvironment(UpdateEnvironmentRequest) returns (google.longrunning.Operation) { + rpc UpdateEnvironment(UpdateEnvironmentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{name=projects/*/locations/*/environments/*}" body: "environment" @@ -76,7 +80,8 @@ service Environments { } // Delete an environment. - rpc DeleteEnvironment(DeleteEnvironmentRequest) returns (google.longrunning.Operation) { + rpc DeleteEnvironment(DeleteEnvironmentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/environments/*}" }; @@ -348,9 +353,7 @@ message LoadSnapshotRequest { } // Response to LoadSnapshotRequest. -message LoadSnapshotResponse { - -} +message LoadSnapshotResponse {} // Configuration information for an environment. message EnvironmentConfig { @@ -372,10 +375,11 @@ message EnvironmentConfig { // Output only. The Kubernetes Engine cluster used to run this environment. string gke_cluster = 1; - // Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud - // Storage objects reside in a flat namespace, a hierarchical file tree - // can be simulated using "/"-delimited object name prefixes. DAG objects for - // this environment reside in a simulated directory with the given prefix. + // Output only. The Cloud Storage prefix of the DAGs for this environment. + // Although Cloud Storage objects reside in a flat namespace, a hierarchical + // file tree can be simulated using "/"-delimited object name prefixes. DAG + // objects for this environment reside in a simulated directory with the given + // prefix. string dag_gcs_prefix = 2; // The number of nodes in the Kubernetes Engine cluster that will be @@ -394,24 +398,29 @@ message EnvironmentConfig { // The configuration used for the Private IP Cloud Composer environment. PrivateEnvironmentConfig private_environment_config = 7; - // Optional. The network-level access control policy for the Airflow web server. If - // unspecified, no network-level access restrictions will be applied. - WebServerNetworkAccessControl web_server_network_access_control = 8 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The network-level access control policy for the Airflow web + // server. If unspecified, no network-level access restrictions will be + // applied. + WebServerNetworkAccessControl web_server_network_access_control = 8 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The configuration settings for Cloud SQL instance used internally by Apache - // Airflow software. + // Optional. The configuration settings for Cloud SQL instance used internally + // by Apache Airflow software. DatabaseConfig database_config = 9 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The configuration settings for the Airflow web server App Engine instance. - WebServerConfig web_server_config = 10 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The configuration settings for the Airflow web server App Engine + // instance. + WebServerConfig web_server_config = 10 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The encryption options for the Cloud Composer environment // and its dependencies. Cannot be updated. - EncryptionConfig encryption_config = 11 [(google.api.field_behavior) = OPTIONAL]; + EncryptionConfig encryption_config = 11 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The maintenance window is the period when Cloud Composer components may - // undergo maintenance. It is defined so that maintenance is not executed - // during peak hours or critical time periods. + // Optional. The maintenance window is the period when Cloud Composer + // components may undergo maintenance. It is defined so that maintenance is + // not executed during peak hours or critical time periods. // // The system will not be under maintenance for every occurrence of this // window, but when maintenance is planned, it will be scheduled @@ -423,33 +432,37 @@ message EnvironmentConfig { // // If this value is omitted, the default value for maintenance window will be // applied. The default value is Saturday and Sunday 00-06 GMT. - MaintenanceWindow maintenance_window = 12 [(google.api.field_behavior) = OPTIONAL]; + MaintenanceWindow maintenance_window = 12 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The workloads configuration settings for the GKE cluster associated with - // the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web - // server and workers workloads. + // Optional. The workloads configuration settings for the GKE cluster + // associated with the Cloud Composer environment. The GKE cluster runs + // Airflow scheduler, web server and workers workloads. // // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. - WorkloadsConfig workloads_config = 15 [(google.api.field_behavior) = OPTIONAL]; + WorkloadsConfig workloads_config = 15 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The size of the Cloud Composer environment. // // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. - EnvironmentSize environment_size = 16 [(google.api.field_behavior) = OPTIONAL]; + EnvironmentSize environment_size = 16 + [(google.api.field_behavior) = OPTIONAL]; - // Output only. The URI of the Apache Airflow Web UI hosted within this environment (see - // [Airflow web + // Output only. The URI of the Apache Airflow Web UI hosted within this + // environment (see [Airflow web // interface](/composer/docs/how-to/accessing/airflow-web-interface)). string airflow_uri = 6; - // Optional. The configuration options for GKE cluster master authorized networks. - // By default master authorized networks feature is: + // Optional. The configuration options for GKE cluster master authorized + // networks. By default master authorized networks feature is: // - in case of private environment: enabled with no external networks // allowlisted. // - in case of public environment: disabled. - MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(google.api.field_behavior) = OPTIONAL]; + MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The Recovery settings configuration of an environment. // @@ -472,7 +485,8 @@ message WebServerNetworkAccessControl { // `2001:db8::1/32` should be truncated to `2001:db8::/32`. string value = 1; - // Optional. User-provided description. It must contain at most 300 characters. + // Optional. User-provided description. It must contain at most 300 + // characters. string description = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -508,9 +522,9 @@ message WebServerConfig { // and its dependencies.Supported for Cloud Composer environments in versions // composer-1.*.*-airflow-*.*.*. message EncryptionConfig { - // Optional. Customer-managed Encryption Key available through Google's Key Management - // Service. Cannot be updated. - // If not specified, Google-managed key will be used. + // Optional. Customer-managed Encryption Key available through Google's Key + // Management Service. Cannot be updated. If not specified, Google-managed key + // will be used. string kms_key_name = 1 [(google.api.field_behavior) = OPTIONAL]; } @@ -529,13 +543,14 @@ message EncryptionConfig { // each Tuesday and Wednesday. message MaintenanceWindow { // Required. Start time of the first recurrence of the maintenance window. - google.protobuf.Timestamp start_time = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.Timestamp start_time = 1 + [(google.api.field_behavior) = REQUIRED]; - // Required. Maintenance window end time. It is used only to calculate the duration of - // the maintenance window. - // The value for end-time must be in the future, relative to - // `start_time`. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. Maintenance window end time. It is used only to calculate the + // duration of the maintenance window. The value for end-time must be in the + // future, relative to `start_time`. + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. Maintenance window recurrence. Format is a subset of // [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed @@ -659,7 +674,8 @@ message IPAllocationPolicy { // // For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, // this field is applicable only when `use_ip_aliases` is true. - string cluster_secondary_range_name = 2 [(google.api.field_behavior) = OPTIONAL]; + string cluster_secondary_range_name = 2 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The IP address range used to allocate IP addresses to pods in // the GKE cluster. @@ -687,7 +703,8 @@ message IPAllocationPolicy { // // For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, // this field is applicable only when `use_ip_aliases` is true. - string services_secondary_range_name = 3 [(google.api.field_behavior) = OPTIONAL]; + string services_secondary_range_name = 3 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The IP address range of the services IP addresses in this // GKE cluster. @@ -705,7 +722,8 @@ message IPAllocationPolicy { // notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. // `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range // to use. - string services_ipv4_cidr_block = 5 [(google.api.field_behavior) = OPTIONAL]; + string services_ipv4_cidr_block = 5 + [(google.api.field_behavior) = OPTIONAL]; } } @@ -810,8 +828,10 @@ message NodeConfig { // composer-1.*.*-airflow-*.*.*. repeated string tags = 8; - // Optional. The configuration for controlling how IPs are allocated in the GKE cluster. - IPAllocationPolicy ip_allocation_policy = 9 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The configuration for controlling how IPs are allocated in the + // GKE cluster. + IPAllocationPolicy ip_allocation_policy = 9 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines // nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for @@ -829,16 +849,17 @@ message PrivateClusterConfig { // denied. bool enable_private_endpoint = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If - // left blank, the default value of '172.16.0.0/23' is used. + // Optional. The CIDR block from which IPv4 range for GKE master will be + // reserved. If left blank, the default value of '172.16.0.0/23' is used. string master_ipv4_cidr_block = 2 [(google.api.field_behavior) = OPTIONAL]; - // Output only. The IP range in CIDR notation to use for the hosted master network. This - // range is used for assigning internal IP addresses to the GKE cluster - // master or set of masters and to the internal load balancer virtual IP. - // This range must not overlap with any other ranges in use - // within the cluster's network. - string master_ipv4_reserved_range = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The IP range in CIDR notation to use for the hosted master + // network. This range is used for assigning internal IP addresses to the GKE + // cluster master or set of masters and to the internal load balancer virtual + // IP. This range must not overlap with any other ranges in use within the + // cluster's network. + string master_ipv4_reserved_range = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Configuration options for networking connections in the Composer 2 @@ -861,9 +882,9 @@ message NetworkingConfig { PRIVATE_SERVICE_CONNECT = 2; } - // Optional. Indicates the user requested specifc connection type between Tenant and - // Customer projects. - // You cannot set networking connection type in public IP environment. + // Optional. Indicates the user requested specifc connection type between + // Tenant and Customer projects. You cannot set networking connection type in + // public IP environment. ConnectionType connection_type = 1 [(google.api.field_behavior) = OPTIONAL]; } @@ -878,54 +899,66 @@ message PrivateEnvironmentConfig { // Optional. Configuration for the private GKE cluster for a Private IP // Cloud Composer environment. - PrivateClusterConfig private_cluster_config = 2 [(google.api.field_behavior) = OPTIONAL]; + PrivateClusterConfig private_cluster_config = 2 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The CIDR block from which IP range for web server will be reserved. Needs - // to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and + // Optional. The CIDR block from which IP range for web server will be + // reserved. Needs to be disjoint from + // `private_cluster_config.master_ipv4_cidr_block` and // `cloud_sql_ipv4_cidr_block`. // // This field is supported for Cloud Composer environments in versions // composer-1.*.*-airflow-*.*.*. - string web_server_ipv4_cidr_block = 3 [(google.api.field_behavior) = OPTIONAL]; + string web_server_ipv4_cidr_block = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The CIDR block from which IP range in tenant project will be reserved for - // Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`. + // Optional. The CIDR block from which IP range in tenant project will be + // reserved for Cloud SQL. Needs to be disjoint from + // `web_server_ipv4_cidr_block`. string cloud_sql_ipv4_cidr_block = 4 [(google.api.field_behavior) = OPTIONAL]; // Output only. The IP range reserved for the tenant project's App Engine VMs. // // This field is supported for Cloud Composer environments in versions // composer-1.*.*-airflow-*.*.*. - string web_server_ipv4_reserved_range = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + string web_server_ipv4_reserved_range = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. The CIDR block from which IP range for Cloud Composer Network in tenant - // project will be reserved. Needs to be disjoint from + // Optional. The CIDR block from which IP range for Cloud Composer Network in + // tenant project will be reserved. Needs to be disjoint from // private_cluster_config.master_ipv4_cidr_block and // cloud_sql_ipv4_cidr_block. // // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. - string cloud_composer_network_ipv4_cidr_block = 7 [(google.api.field_behavior) = OPTIONAL]; + string cloud_composer_network_ipv4_cidr_block = 7 + [(google.api.field_behavior) = OPTIONAL]; - // Output only. The IP range reserved for the tenant project's Cloud Composer network. + // Output only. The IP range reserved for the tenant project's Cloud Composer + // network. // // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. - string cloud_composer_network_ipv4_reserved_range = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + string cloud_composer_network_ipv4_reserved_range = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for - // `IPAllocationPolicy.cluster_ipv4_cidr_block` and + // Optional. When enabled, IPs from public (non-RFC1918) ranges can be used + // for `IPAllocationPolicy.cluster_ipv4_cidr_block` and // `IPAllocationPolicy.service_ipv4_cidr_block`. - bool enable_privately_used_public_ips = 6 [(google.api.field_behavior) = OPTIONAL]; + bool enable_privately_used_public_ips = 6 + [(google.api.field_behavior) = OPTIONAL]; // Optional. When specified, the environment will use Private Service Connect // instead of VPC peerings to connect to Cloud SQL in the Tenant Project, // and the PSC endpoint in the Customer Project will use an IP address from // this subnetwork. - string cloud_composer_connection_subnetwork = 9 [(google.api.field_behavior) = OPTIONAL]; + string cloud_composer_connection_subnetwork = 9 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Configuration for the network connections configuration in the environment. - NetworkingConfig networking_config = 10 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Configuration for the network connections configuration in the + // environment. + NetworkingConfig networking_config = 10 + [(google.api.field_behavior) = OPTIONAL]; } // The Kubernetes workloads configuration for GKE cluster associated with the @@ -937,10 +970,12 @@ message WorkloadsConfig { // Optional. CPU request and limit for a single Airflow scheduler replica. float cpu = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Memory (GB) request and limit for a single Airflow scheduler replica. + // Optional. Memory (GB) request and limit for a single Airflow scheduler + // replica. float memory_gb = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Storage (GB) request and limit for a single Airflow scheduler replica. + // Optional. Storage (GB) request and limit for a single Airflow scheduler + // replica. float storage_gb = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The number of schedulers. @@ -964,10 +999,12 @@ message WorkloadsConfig { // Optional. CPU request and limit for a single Airflow worker replica. float cpu = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Memory (GB) request and limit for a single Airflow worker replica. + // Optional. Memory (GB) request and limit for a single Airflow worker + // replica. float memory_gb = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Storage (GB) request and limit for a single Airflow worker replica. + // Optional. Storage (GB) request and limit for a single Airflow worker + // replica. float storage_gb = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. Minimum number of workers for autoscaling. @@ -990,7 +1027,8 @@ message WorkloadsConfig { // The Recovery settings of an environment. message RecoveryConfig { // Optional. The configuration for scheduled snapshot creation mechanism. - ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(google.api.field_behavior) = OPTIONAL]; + ScheduledSnapshotsConfig scheduled_snapshots_config = 1 + [(google.api.field_behavior) = OPTIONAL]; } // The configuration for scheduled snapshot creation mechanism. @@ -998,15 +1036,18 @@ message ScheduledSnapshotsConfig { // Optional. Whether scheduled snapshots creation is enabled. bool enabled = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The Cloud Storage location for storing automatically created snapshots. + // Optional. The Cloud Storage location for storing automatically created + // snapshots. string snapshot_location = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The cron expression representing the time when snapshots creation mechanism - // runs. This field is subject to additional validation around frequency of - // execution. - string snapshot_creation_schedule = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The cron expression representing the time when snapshots creation + // mechanism runs. This field is subject to additional validation around + // frequency of execution. + string snapshot_creation_schedule = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Time zone that sets the context to interpret snapshot_creation_schedule. + // Optional. Time zone that sets the context to interpret + // snapshot_creation_schedule. string time_zone = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -1071,8 +1112,8 @@ message Environment { // Configuration parameters for this environment. EnvironmentConfig config = 2; - // Output only. The UUID (Universally Unique IDentifier) associated with this environment. - // This value is generated when the environment is created. + // Output only. The UUID (Universally Unique IDentifier) associated with this + // environment. This value is generated when the environment is created. string uuid = 3; // The current state of the environment. @@ -1114,11 +1155,13 @@ message CheckUpgradeResponse { string build_log_uri = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Whether build has succeeded or failed on modules conflicts. - ConflictResult contains_pypi_modules_conflict = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + ConflictResult contains_pypi_modules_conflict = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Extract from a docker image build log containing information about pypi - // modules conflicts. - string pypi_conflict_build_log_extract = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Extract from a docker image build log containing information + // about pypi modules conflicts. + string pypi_conflict_build_log_extract = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Composer image for which the build was happening. string image_version = 5; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto index 8226c463b807..9363574b720b 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/image_versions.proto @@ -20,17 +20,19 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/type/date.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1;service"; +option go_package = "cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepb"; option java_multiple_files = true; option java_package = "com.google.cloud.orchestration.airflow.service.v1"; // Readonly service to query available ImageVersions. service ImageVersions { option (google.api.default_host) = "composer.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // List ImageVersions for provided location. - rpc ListImageVersions(ListImageVersionsRequest) returns (ListImageVersionsResponse) { + rpc ListImageVersions(ListImageVersionsRequest) + returns (ListImageVersionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/imageVersions" }; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto index 332e09623b98..8be3e9b4549a 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1/src/main/proto/google/cloud/orchestration/airflow/service/v1/operations.proto @@ -18,7 +18,7 @@ package google.cloud.orchestration.airflow.service.v1; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1;service"; +option go_package = "cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepb"; option java_multiple_files = true; option java_outer_classname = "OperationsProto"; option java_package = "com.google.cloud.orchestration.airflow.service.v1"; @@ -87,7 +87,7 @@ message OperationMetadata { // Output only. The time the operation was submitted to the server. google.protobuf.Timestamp create_time = 5; - // Output only. The time when the operation terminated, regardless of its success. - // This field is unset if the operation is still ongoing. + // Output only. The time when the operation terminated, regardless of its + // success. This field is unset if the operation is still ongoing. google.protobuf.Timestamp end_time = 6; } diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/pom.xml b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/pom.xml index b1caee7ece56..435c94ed4790 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/pom.xml +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-orchestration-airflow-v1beta1 - 0.12.0 + 0.13.0 proto-google-cloud-orchestration-airflow-v1beta1 Proto library for google-cloud-orchestration-airflow com.google.cloud google-cloud-orchestration-airflow-parent - 1.9.0 + 1.10.0 diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java index 8ae9fd478abf..2f31074278bc 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponse.java @@ -348,8 +348,8 @@ public int getContainsPypiModulesConflictValue() { * * *
      -   * Output only. Extract from a docker image build log containing information about pypi
      -   * modules conflicts.
      +   * Output only. Extract from a docker image build log containing information
      +   * about pypi modules conflicts.
          * 
      * * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -373,8 +373,8 @@ public java.lang.String getPypiConflictBuildLogExtract() { * * *
      -   * Output only. Extract from a docker image build log containing information about pypi
      -   * modules conflicts.
      +   * Output only. Extract from a docker image build log containing information
      +   * about pypi modules conflicts.
          * 
      * * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1272,8 +1272,8 @@ public Builder clearContainsPypiModulesConflict() { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * @@ -1297,8 +1297,8 @@ public java.lang.String getPypiConflictBuildLogExtract() { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * @@ -1322,8 +1322,8 @@ public com.google.protobuf.ByteString getPypiConflictBuildLogExtractBytes() { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * @@ -1346,8 +1346,8 @@ public Builder setPypiConflictBuildLogExtract(java.lang.String value) { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * @@ -1366,8 +1366,8 @@ public Builder clearPypiConflictBuildLogExtract() { * * *
      -     * Output only. Extract from a docker image build log containing information about pypi
      -     * modules conflicts.
      +     * Output only. Extract from a docker image build log containing information
      +     * about pypi modules conflicts.
            * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java index e47e8004af39..9add301e415c 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/CheckUpgradeResponseOrBuilder.java @@ -82,8 +82,8 @@ public interface CheckUpgradeResponseOrBuilder * * *
      -   * Output only. Extract from a docker image build log containing information about pypi
      -   * modules conflicts.
      +   * Output only. Extract from a docker image build log containing information
      +   * about pypi modules conflicts.
          * 
      * * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -96,8 +96,8 @@ public interface CheckUpgradeResponseOrBuilder * * *
      -   * Output only. Extract from a docker image build log containing information about pypi
      -   * modules conflicts.
      +   * Output only. Extract from a docker image build log containing information
      +   * about pypi modules conflicts.
          * 
      * * string pypi_conflict_build_log_extract = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java index 394d0c5aca85..988b523212ca 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfig.java @@ -77,9 +77,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Optional. Customer-managed Encryption Key available through Google's Key Management
      -   * Service. Cannot be updated.
      -   * If not specified, Google-managed key will be used.
      +   * Optional. Customer-managed Encryption Key available through Google's Key
      +   * Management Service. Cannot be updated. If not specified, Google-managed key
      +   * will be used.
          * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -102,9 +102,9 @@ public java.lang.String getKmsKeyName() { * * *
      -   * Optional. Customer-managed Encryption Key available through Google's Key Management
      -   * Service. Cannot be updated.
      -   * If not specified, Google-managed key will be used.
      +   * Optional. Customer-managed Encryption Key available through Google's Key
      +   * Management Service. Cannot be updated. If not specified, Google-managed key
      +   * will be used.
          * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -485,9 +485,9 @@ public Builder mergeFrom( * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -509,9 +509,9 @@ public java.lang.String getKmsKeyName() { * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -533,9 +533,9 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -556,9 +556,9 @@ public Builder setKmsKeyName(java.lang.String value) { * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -575,9 +575,9 @@ public Builder clearKmsKeyName() { * * *
      -     * Optional. Customer-managed Encryption Key available through Google's Key Management
      -     * Service. Cannot be updated.
      -     * If not specified, Google-managed key will be used.
      +     * Optional. Customer-managed Encryption Key available through Google's Key
      +     * Management Service. Cannot be updated. If not specified, Google-managed key
      +     * will be used.
            * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java index 77058a6cef82..0d5c89a51136 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EncryptionConfigOrBuilder.java @@ -27,9 +27,9 @@ public interface EncryptionConfigOrBuilder * * *
      -   * Optional. Customer-managed Encryption Key available through Google's Key Management
      -   * Service. Cannot be updated.
      -   * If not specified, Google-managed key will be used.
      +   * Optional. Customer-managed Encryption Key available through Google's Key
      +   * Management Service. Cannot be updated. If not specified, Google-managed key
      +   * will be used.
          * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; @@ -41,9 +41,9 @@ public interface EncryptionConfigOrBuilder * * *
      -   * Optional. Customer-managed Encryption Key available through Google's Key Management
      -   * Service. Cannot be updated.
      -   * If not specified, Google-managed key will be used.
      +   * Optional. Customer-managed Encryption Key available through Google's Key
      +   * Management Service. Cannot be updated. If not specified, Google-managed key
      +   * will be used.
          * 
      * * string kms_key_name = 1 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java index 55308fbc18dc..a522efc6022a 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/Environment.java @@ -425,8 +425,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig * * *
      -   * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -   * This value is generated when the environment is created.
      +   * Output only. The UUID (Universally Unique IDentifier) associated with this
      +   * environment. This value is generated when the environment is created.
          * 
      * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -449,8 +449,8 @@ public java.lang.String getUuid() { * * *
      -   * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -   * This value is generated when the environment is created.
      +   * Output only. The UUID (Universally Unique IDentifier) associated with this
      +   * environment. This value is generated when the environment is created.
          * 
      * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1611,8 +1611,8 @@ public Builder clearConfig() { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1634,8 +1634,8 @@ public java.lang.String getUuid() { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1657,8 +1657,8 @@ public com.google.protobuf.ByteString getUuidBytes() { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1679,8 +1679,8 @@ public Builder setUuid(java.lang.String value) { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1697,8 +1697,8 @@ public Builder clearUuid() { * * *
      -     * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -     * This value is generated when the environment is created.
      +     * Output only. The UUID (Universally Unique IDentifier) associated with this
      +     * environment. This value is generated when the environment is created.
            * 
      * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java index 3c4339761f0c..26ecfec4abb0 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfig.java @@ -314,10 +314,11 @@ public com.google.protobuf.ByteString getGkeClusterBytes() { * * *
      -   * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -   * Storage objects reside in a flat namespace, a hierarchical file tree
      -   * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -   * this environment reside in a simulated directory with the given prefix.
      +   * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +   * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +   * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +   * objects for this environment reside in a simulated directory with the given
      +   * prefix.
          * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -340,10 +341,11 @@ public java.lang.String getDagGcsPrefix() { * * *
      -   * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -   * Storage objects reside in a flat namespace, a hierarchical file tree
      -   * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -   * this environment reside in a simulated directory with the given prefix.
      +   * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +   * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +   * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +   * objects for this environment reside in a simulated directory with the given
      +   * prefix.
          * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -557,8 +559,9 @@ public boolean hasPrivateEnvironmentConfig() { * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -575,8 +578,9 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -597,8 +601,9 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -621,8 +626,8 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -639,8 +644,8 @@ public boolean hasDatabaseConfig() { * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -659,8 +664,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig get * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -681,7 +686,8 @@ public com.google.cloud.orchestration.airflow.service.v1beta1.DatabaseConfig get * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
          * 
      @@ -700,7 +706,8 @@ public boolean hasWebServerConfig() { * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
          * 
      @@ -723,7 +730,8 @@ public boolean hasWebServerConfig() { * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
          * 
      @@ -749,8 +757,8 @@ public boolean hasWebServerConfig() { * * *
      -   * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -   * [Airflow web
      +   * Output only. The URI of the Apache Airflow Web UI hosted within this
      +   * environment (see [Airflow web
          * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
          * 
      * @@ -774,8 +782,8 @@ public java.lang.String getAirflowUri() { * * *
      -   * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -   * [Airflow web
      +   * Output only. The URI of the Apache Airflow Web UI hosted within this
      +   * environment (see [Airflow web
          * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
          * 
      * @@ -866,9 +874,9 @@ public boolean hasEncryptionConfig() { * * *
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -893,9 +901,9 @@ public boolean hasMaintenanceWindow() {
          *
          *
          * 
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -924,9 +932,9 @@ public boolean hasMaintenanceWindow() {
          *
          *
          * 
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -956,9 +964,9 @@ public boolean hasMaintenanceWindow() {
          *
          *
          * 
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -977,9 +985,9 @@ public boolean hasWorkloadsConfig() { * * *
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -1002,9 +1010,9 @@ public boolean hasWorkloadsConfig() { * * *
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -1078,8 +1086,8 @@ public int getEnvironmentSizeValue() { * * *
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -1099,8 +1107,8 @@ public boolean hasMasterAuthorizedNetworksConfig() {
          *
          *
          * 
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -1124,8 +1132,8 @@ public boolean hasMasterAuthorizedNetworksConfig() {
          *
          *
          * 
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -2147,10 +2155,11 @@ public Builder setGkeClusterBytes(com.google.protobuf.ByteString value) {
            *
            *
            * 
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2172,10 +2181,11 @@ public java.lang.String getDagGcsPrefix() { * * *
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2197,10 +2207,11 @@ public com.google.protobuf.ByteString getDagGcsPrefixBytes() { * * *
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2221,10 +2232,11 @@ public Builder setDagGcsPrefix(java.lang.String value) { * * *
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2241,10 +2253,11 @@ public Builder clearDagGcsPrefix() { * * *
      -     * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -     * Storage objects reside in a flat namespace, a hierarchical file tree
      -     * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -     * this environment reside in a simulated directory with the given prefix.
      +     * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +     * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +     * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +     * objects for this environment reside in a simulated directory with the given
      +     * prefix.
            * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2948,8 +2961,9 @@ public Builder clearPrivateEnvironmentConfig() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -2965,8 +2979,9 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -2990,8 +3005,9 @@ public boolean hasWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3017,8 +3033,9 @@ public Builder setWebServerNetworkAccessControl( * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3041,8 +3058,9 @@ public Builder setWebServerNetworkAccessControl( * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3073,8 +3091,9 @@ public Builder mergeWebServerNetworkAccessControl( * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3095,8 +3114,9 @@ public Builder clearWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3114,8 +3134,9 @@ public Builder clearWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3138,8 +3159,9 @@ public Builder clearWebServerNetworkAccessControl() { * * *
      -     * Optional. The network-level access control policy for the Airflow web server. If
      -     * unspecified, no network-level access restrictions will be applied.
      +     * Optional. The network-level access control policy for the Airflow web
      +     * server. If unspecified, no network-level access restrictions will be
      +     * applied.
            * 
      * * @@ -3178,8 +3200,8 @@ public Builder clearWebServerNetworkAccessControl() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3195,8 +3217,8 @@ public boolean hasDatabaseConfig() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3220,8 +3242,8 @@ public boolean hasDatabaseConfig() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3246,8 +3268,8 @@ public Builder setDatabaseConfig( * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3270,8 +3292,8 @@ public Builder setDatabaseConfig( * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3301,8 +3323,8 @@ public Builder mergeDatabaseConfig( * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3323,8 +3345,8 @@ public Builder clearDatabaseConfig() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3341,8 +3363,8 @@ public Builder clearDatabaseConfig() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3364,8 +3386,8 @@ public Builder clearDatabaseConfig() { * * *
      -     * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -     * Airflow software.
      +     * Optional. The configuration settings for Cloud SQL instance used internally
      +     * by Apache Airflow software.
            * 
      * * @@ -3399,7 +3421,8 @@ public Builder clearDatabaseConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
            * 
      @@ -3417,7 +3440,8 @@ public boolean hasWebServerConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
            * 
      @@ -3443,7 +3467,8 @@ public boolean hasWebServerConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
            * 
      @@ -3470,7 +3495,8 @@ public Builder setWebServerConfig( * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
            * 
      @@ -3495,7 +3521,8 @@ public Builder setWebServerConfig( * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
            * 
      @@ -3527,7 +3554,8 @@ public Builder mergeWebServerConfig( * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
            * 
      @@ -3550,7 +3578,8 @@ public Builder clearWebServerConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
            * 
      @@ -3569,7 +3598,8 @@ public Builder clearWebServerConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
            * 
      @@ -3593,7 +3623,8 @@ public Builder clearWebServerConfig() { * * *
      -     * Optional. The configuration settings for the Airflow web server App Engine instance.
      +     * Optional. The configuration settings for the Airflow web server App Engine
      +     * instance.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
            * 
      @@ -3624,8 +3655,8 @@ public Builder clearWebServerConfig() { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -3648,8 +3679,8 @@ public java.lang.String getAirflowUri() { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -3672,8 +3703,8 @@ public com.google.protobuf.ByteString getAirflowUriBytes() { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -3695,8 +3726,8 @@ public Builder setAirflowUri(java.lang.String value) { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -3714,8 +3745,8 @@ public Builder clearAirflowUri() { * * *
      -     * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -     * [Airflow web
      +     * Output only. The URI of the Apache Airflow Web UI hosted within this
      +     * environment (see [Airflow web
            * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
            * 
      * @@ -3968,9 +3999,9 @@ public Builder clearEncryptionConfig() { * * *
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -3994,9 +4025,9 @@ public boolean hasMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4028,9 +4059,9 @@ public boolean hasMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4063,9 +4094,9 @@ public Builder setMaintenanceWindow(
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4096,9 +4127,9 @@ public Builder setMaintenanceWindow(
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4136,9 +4167,9 @@ public Builder mergeMaintenanceWindow(
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4167,9 +4198,9 @@ public Builder clearMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4194,9 +4225,9 @@ public Builder clearMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4226,9 +4257,9 @@ public Builder clearMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The maintenance window is the period when Cloud Composer components may
      -     * undergo maintenance. It is defined so that maintenance is not executed
      -     * during peak hours or critical time periods.
      +     * Optional. The maintenance window is the period when Cloud Composer
      +     * components may undergo maintenance. It is defined so that maintenance is
      +     * not executed during peak hours or critical time periods.
            * The system will not be under maintenance for every occurrence of this
            * window, but when maintenance is planned, it will be scheduled
            * during the window.
      @@ -4270,9 +4301,9 @@ public Builder clearMaintenanceWindow() {
            *
            *
            * 
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4290,9 +4321,9 @@ public boolean hasWorkloadsConfig() { * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4318,9 +4349,9 @@ public boolean hasWorkloadsConfig() { * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4347,9 +4378,9 @@ public Builder setWorkloadsConfig( * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4374,9 +4405,9 @@ public Builder setWorkloadsConfig( * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4408,9 +4439,9 @@ public Builder mergeWorkloadsConfig( * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4433,9 +4464,9 @@ public Builder clearWorkloadsConfig() { * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4454,9 +4485,9 @@ public Builder clearWorkloadsConfig() { * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4480,9 +4511,9 @@ public Builder clearWorkloadsConfig() { * * *
      -     * Optional. The workloads configuration settings for the GKE cluster associated with
      -     * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -     * server and workers workloads.
      +     * Optional. The workloads configuration settings for the GKE cluster
      +     * associated with the Cloud Composer environment. The GKE cluster runs
      +     * Airflow scheduler, web server and workers workloads.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -4639,8 +4670,8 @@ public Builder clearEnvironmentSize() { * * *
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4659,8 +4690,8 @@ public boolean hasMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4687,8 +4718,8 @@ public boolean hasMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4717,8 +4748,8 @@ public Builder setMasterAuthorizedNetworksConfig(
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4745,8 +4776,8 @@ public Builder setMasterAuthorizedNetworksConfig(
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4780,8 +4811,8 @@ public Builder mergeMasterAuthorizedNetworksConfig(
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4805,8 +4836,8 @@ public Builder clearMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4827,8 +4858,8 @@ public Builder clearMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      @@ -4854,8 +4885,8 @@ public Builder clearMasterAuthorizedNetworksConfig() {
            *
            *
            * 
      -     * Optional. The configuration options for GKE cluster master authorized networks.
      -     * By default master authorized networks feature is:
      +     * Optional. The configuration options for GKE cluster master authorized
      +     * networks. By default master authorized networks feature is:
            * - in case of private environment: enabled with no external networks
            * allowlisted.
            * - in case of public environment: disabled.
      diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java
      index c1990afaf154..82f9b854c495 100644
      --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java
      +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentConfigOrBuilder.java
      @@ -52,10 +52,11 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -   * Storage objects reside in a flat namespace, a hierarchical file tree
      -   * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -   * this environment reside in a simulated directory with the given prefix.
      +   * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +   * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +   * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +   * objects for this environment reside in a simulated directory with the given
      +   * prefix.
          * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -67,10 +68,11 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
      -   * Storage objects reside in a flat namespace, a hierarchical file tree
      -   * can be simulated using "/"-delimited object name prefixes. DAG objects for
      -   * this environment reside in a simulated directory with the given prefix.
      +   * Output only. The Cloud Storage prefix of the DAGs for this environment.
      +   * Although Cloud Storage objects reside in a flat namespace, a hierarchical
      +   * file tree can be simulated using "/"-delimited object name prefixes. DAG
      +   * objects for this environment reside in a simulated directory with the given
      +   * prefix.
          * 
      * * string dag_gcs_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -217,8 +219,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -232,8 +235,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -248,8 +252,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The network-level access control policy for the Airflow web server. If
      -   * unspecified, no network-level access restrictions will be applied.
      +   * Optional. The network-level access control policy for the Airflow web
      +   * server. If unspecified, no network-level access restrictions will be
      +   * applied.
          * 
      * * @@ -263,8 +268,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -278,8 +283,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -293,8 +298,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for Cloud SQL instance used internally by Apache
      -   * Airflow software.
      +   * Optional. The configuration settings for Cloud SQL instance used internally
      +   * by Apache Airflow software.
          * 
      * * @@ -308,7 +313,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
          * 
      @@ -324,7 +330,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
          * 
      @@ -340,7 +347,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration settings for the Airflow web server App Engine instance.
      +   * Optional. The configuration settings for the Airflow web server App Engine
      +   * instance.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
          * 
      @@ -356,8 +364,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -   * [Airflow web
      +   * Output only. The URI of the Apache Airflow Web UI hosted within this
      +   * environment (see [Airflow web
          * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
          * 
      * @@ -370,8 +378,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
      -   * [Airflow web
      +   * Output only. The URI of the Apache Airflow Web UI hosted within this
      +   * environment (see [Airflow web
          * interface](/composer/docs/how-to/accessing/airflow-web-interface)).
          * 
      * @@ -430,9 +438,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -454,9 +462,9 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -478,9 +486,9 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The maintenance window is the period when Cloud Composer components may
      -   * undergo maintenance. It is defined so that maintenance is not executed
      -   * during peak hours or critical time periods.
      +   * Optional. The maintenance window is the period when Cloud Composer
      +   * components may undergo maintenance. It is defined so that maintenance is
      +   * not executed during peak hours or critical time periods.
          * The system will not be under maintenance for every occurrence of this
          * window, but when maintenance is planned, it will be scheduled
          * during the window.
      @@ -502,9 +510,9 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -520,9 +528,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -538,9 +546,9 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The workloads configuration settings for the GKE cluster associated with
      -   * the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web
      -   * server and workers workloads.
      +   * Optional. The workloads configuration settings for the GKE cluster
      +   * associated with the Cloud Composer environment. The GKE cluster runs
      +   * Airflow scheduler, web server and workers workloads.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -590,8 +598,8 @@ public interface EnvironmentConfigOrBuilder * * *
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -608,8 +616,8 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      @@ -627,8 +635,8 @@ public interface EnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The configuration options for GKE cluster master authorized networks.
      -   * By default master authorized networks feature is:
      +   * Optional. The configuration options for GKE cluster master authorized
      +   * networks. By default master authorized networks feature is:
          * - in case of private environment: enabled with no external networks
          * allowlisted.
          * - in case of public environment: disabled.
      diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java
      index c84b94105e88..356cddf6f4ed 100644
      --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java
      +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentOrBuilder.java
      @@ -94,8 +94,8 @@ public interface EnvironmentOrBuilder
          *
          *
          * 
      -   * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -   * This value is generated when the environment is created.
      +   * Output only. The UUID (Universally Unique IDentifier) associated with this
      +   * environment. This value is generated when the environment is created.
          * 
      * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -107,8 +107,8 @@ public interface EnvironmentOrBuilder * * *
      -   * Output only. The UUID (Universally Unique IDentifier) associated with this environment.
      -   * This value is generated when the environment is created.
      +   * Output only. The UUID (Universally Unique IDentifier) associated with this
      +   * environment. This value is generated when the environment is created.
          * 
      * * string uuid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java index a2f725a2eaaf..585a63b827c6 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/EnvironmentsOuterClass.java @@ -515,11 +515,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tion.airflow.service.v1beta1.OperationMe" + "tadata\032K\312A\027composer.googleapis.com\322A.htt" + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\225\001\n6com.google.cloud.orchestration.a" - + "irflow.service.v1beta1P\001ZYgoogle.golang." - + "org/genproto/googleapis/cloud/orchestrat" - + "ion/airflow/service/v1beta1;serviceb\006pro" - + "to3" + + "ormB\214\001\n6com.google.cloud.orchestration.a" + + "irflow.service.v1beta1P\001ZPcloud.google.c" + + "om/go/orchestration/airflow/service/apiv" + + "1beta1/servicepb;servicepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java index f36eafe65cb4..f98045c0ff93 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ImageVersionsOuterClass.java @@ -73,11 +73,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rojects/*/locations/*}/imageVersions\332A\006p" + "arent\032K\312A\027composer.googleapis.com\322A.http" + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\225\001\n6com.google.cloud.orchestration.ai" - + "rflow.service.v1beta1P\001ZYgoogle.golang.o" - + "rg/genproto/googleapis/cloud/orchestrati" - + "on/airflow/service/v1beta1;serviceb\006prot" - + "o3" + + "rmB\214\001\n6com.google.cloud.orchestration.ai" + + "rflow.service.v1beta1P\001ZPcloud.google.co" + + "m/go/orchestration/airflow/service/apiv1" + + "beta1/servicepb;servicepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java index 3176c7a297e4..96cb0bf89fc1 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindow.java @@ -132,9 +132,9 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end_time must be in the future, relative to `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end_time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -149,9 +149,9 @@ public boolean hasEndTime() { * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end_time must be in the future, relative to `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end_time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -166,9 +166,9 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end_time must be in the future, relative to `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end_time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -860,9 +860,9 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end_time must be in the future, relative to `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end_time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -877,9 +877,9 @@ public boolean hasEndTime() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end_time must be in the future, relative to `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end_time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -898,9 +898,9 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end_time must be in the future, relative to `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end_time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -923,9 +923,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end_time must be in the future, relative to `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end_time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -945,9 +945,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end_time must be in the future, relative to `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end_time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -973,9 +973,9 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end_time must be in the future, relative to `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end_time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -995,9 +995,9 @@ public Builder clearEndTime() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end_time must be in the future, relative to `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end_time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1012,9 +1012,9 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end_time must be in the future, relative to `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end_time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1031,9 +1031,9 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * *
      -     * Required. Maintenance window end time. It is used only to calculate the duration of
      -     * the maintenance window.
      -     * The value for end_time must be in the future, relative to `start_time`.
      +     * Required. Maintenance window end time. It is used only to calculate the
      +     * duration of the maintenance window. The value for end_time must be in the
      +     * future, relative to `start_time`.
            * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java index 564e85ce72bb..c034fa3b95d9 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/MaintenanceWindowOrBuilder.java @@ -65,9 +65,9 @@ public interface MaintenanceWindowOrBuilder * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end_time must be in the future, relative to `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end_time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -79,9 +79,9 @@ public interface MaintenanceWindowOrBuilder * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end_time must be in the future, relative to `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end_time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -93,9 +93,9 @@ public interface MaintenanceWindowOrBuilder * * *
      -   * Required. Maintenance window end time. It is used only to calculate the duration of
      -   * the maintenance window.
      -   * The value for end_time must be in the future, relative to `start_time`.
      +   * Required. Maintenance window end time. It is used only to calculate the
      +   * duration of the maintenance window. The value for end_time must be in the
      +   * future, relative to `start_time`.
          * 
      * * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NetworkingConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NetworkingConfig.java index 712f359bdb29..bd4f5152df39 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NetworkingConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NetworkingConfig.java @@ -242,9 +242,9 @@ private ConnectionType(int value) { * * *
      -   * Optional. Indicates the user requested specifc connection type between Tenant and
      -   * Customer projects.
      -   * You cannot set networking connection type in public IP environment.
      +   * Optional. Indicates the user requested specifc connection type between
      +   * Tenant and Customer projects. You cannot set networking connection type in
      +   * public IP environment.
          * 
      * * @@ -261,9 +261,9 @@ public int getConnectionTypeValue() { * * *
      -   * Optional. Indicates the user requested specifc connection type between Tenant and
      -   * Customer projects.
      -   * You cannot set networking connection type in public IP environment.
      +   * Optional. Indicates the user requested specifc connection type between
      +   * Tenant and Customer projects. You cannot set networking connection type in
      +   * public IP environment.
          * 
      * * @@ -648,9 +648,9 @@ public Builder mergeFrom( * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * @@ -667,9 +667,9 @@ public int getConnectionTypeValue() { * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * @@ -689,9 +689,9 @@ public Builder setConnectionTypeValue(int value) { * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * @@ -716,9 +716,9 @@ public Builder setConnectionTypeValue(int value) { * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * @@ -743,9 +743,9 @@ public Builder setConnectionType( * * *
      -     * Optional. Indicates the user requested specifc connection type between Tenant and
      -     * Customer projects.
      -     * You cannot set networking connection type in public IP environment.
      +     * Optional. Indicates the user requested specifc connection type between
      +     * Tenant and Customer projects. You cannot set networking connection type in
      +     * public IP environment.
            * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NetworkingConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NetworkingConfigOrBuilder.java index fa4e68dedbdb..b9b4296e5e04 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NetworkingConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NetworkingConfigOrBuilder.java @@ -27,9 +27,9 @@ public interface NetworkingConfigOrBuilder * * *
      -   * Optional. Indicates the user requested specifc connection type between Tenant and
      -   * Customer projects.
      -   * You cannot set networking connection type in public IP environment.
      +   * Optional. Indicates the user requested specifc connection type between
      +   * Tenant and Customer projects. You cannot set networking connection type in
      +   * public IP environment.
          * 
      * * @@ -43,9 +43,9 @@ public interface NetworkingConfigOrBuilder * * *
      -   * Optional. Indicates the user requested specifc connection type between Tenant and
      -   * Customer projects.
      -   * You cannot set networking connection type in public IP environment.
      +   * Optional. Indicates the user requested specifc connection type between
      +   * Tenant and Customer projects. You cannot set networking connection type in
      +   * public IP environment.
          * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java index dedc18df10a1..c7fd329f8daf 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfig.java @@ -484,9 +484,9 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) { * * *
      -   * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
      -   * service account is not specified, the "default" Compute Engine service
      -   * account is used. Cannot be updated.
      +   * Optional. The Google Cloud Platform Service Account to be used by the
      +   * workloads. If a service account is not specified, the "default" Compute
      +   * Engine service account is used. Cannot be updated.
          * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -509,9 +509,9 @@ public java.lang.String getServiceAccount() { * * *
      -   * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
      -   * service account is not specified, the "default" Compute Engine service
      -   * account is used. Cannot be updated.
      +   * Optional. The Google Cloud Platform Service Account to be used by the
      +   * workloads. If a service account is not specified, the "default" Compute
      +   * Engine service account is used. Cannot be updated.
          * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -681,14 +681,14 @@ public boolean hasIpAllocationPolicy() { * * *
      -   * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
      -   * The value must be between 8 and 110 and it can be set only if
      -   * the environment is VPC-native.
      -   * The default value is 32. Values of this field will be propagated both to
      -   * the `default-pool` node pool of the newly created GKE cluster, and to the
      -   * default "Maximum Pods per Node" value which is used for newly created
      -   * node pools if their value is not explicitly set during node pool creation.
      -   * For more information, see [Optimizing IP address allocation]
      +   * Optional. The maximum number of pods per node in the Cloud Composer GKE
      +   * cluster. The value must be between 8 and 110 and it can be set only if the
      +   * environment is VPC-native. The default value is 32. Values of this field
      +   * will be propagated both to the `default-pool` node pool of the newly
      +   * created GKE cluster, and to the default "Maximum Pods per Node" value which
      +   * is used for newly created node pools if their value is not explicitly set
      +   * during node pool creation. For more information, see [Optimizing IP address
      +   * allocation]
          * (https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr).
          * Cannot be updated.
          * This field is supported for Cloud Composer environments in versions
      @@ -2298,9 +2298,9 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) {
            *
            *
            * 
      -     * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
      -     * service account is not specified, the "default" Compute Engine service
      -     * account is used. Cannot be updated.
      +     * Optional. The Google Cloud Platform Service Account to be used by the
      +     * workloads. If a service account is not specified, the "default" Compute
      +     * Engine service account is used. Cannot be updated.
            * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2322,9 +2322,9 @@ public java.lang.String getServiceAccount() { * * *
      -     * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
      -     * service account is not specified, the "default" Compute Engine service
      -     * account is used. Cannot be updated.
      +     * Optional. The Google Cloud Platform Service Account to be used by the
      +     * workloads. If a service account is not specified, the "default" Compute
      +     * Engine service account is used. Cannot be updated.
            * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2346,9 +2346,9 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { * * *
      -     * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
      -     * service account is not specified, the "default" Compute Engine service
      -     * account is used. Cannot be updated.
      +     * Optional. The Google Cloud Platform Service Account to be used by the
      +     * workloads. If a service account is not specified, the "default" Compute
      +     * Engine service account is used. Cannot be updated.
            * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2369,9 +2369,9 @@ public Builder setServiceAccount(java.lang.String value) { * * *
      -     * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
      -     * service account is not specified, the "default" Compute Engine service
      -     * account is used. Cannot be updated.
      +     * Optional. The Google Cloud Platform Service Account to be used by the
      +     * workloads. If a service account is not specified, the "default" Compute
      +     * Engine service account is used. Cannot be updated.
            * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2388,9 +2388,9 @@ public Builder clearServiceAccount() { * * *
      -     * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
      -     * service account is not specified, the "default" Compute Engine service
      -     * account is used. Cannot be updated.
      +     * Optional. The Google Cloud Platform Service Account to be used by the
      +     * workloads. If a service account is not specified, the "default" Compute
      +     * Engine service account is used. Cannot be updated.
            * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2840,14 +2840,14 @@ public Builder clearIpAllocationPolicy() { * * *
      -     * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
      -     * The value must be between 8 and 110 and it can be set only if
      -     * the environment is VPC-native.
      -     * The default value is 32. Values of this field will be propagated both to
      -     * the `default-pool` node pool of the newly created GKE cluster, and to the
      -     * default "Maximum Pods per Node" value which is used for newly created
      -     * node pools if their value is not explicitly set during node pool creation.
      -     * For more information, see [Optimizing IP address allocation]
      +     * Optional. The maximum number of pods per node in the Cloud Composer GKE
      +     * cluster. The value must be between 8 and 110 and it can be set only if the
      +     * environment is VPC-native. The default value is 32. Values of this field
      +     * will be propagated both to the `default-pool` node pool of the newly
      +     * created GKE cluster, and to the default "Maximum Pods per Node" value which
      +     * is used for newly created node pools if their value is not explicitly set
      +     * during node pool creation. For more information, see [Optimizing IP address
      +     * allocation]
            * (https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr).
            * Cannot be updated.
            * This field is supported for Cloud Composer environments in versions
      @@ -2866,14 +2866,14 @@ public int getMaxPodsPerNode() {
            *
            *
            * 
      -     * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
      -     * The value must be between 8 and 110 and it can be set only if
      -     * the environment is VPC-native.
      -     * The default value is 32. Values of this field will be propagated both to
      -     * the `default-pool` node pool of the newly created GKE cluster, and to the
      -     * default "Maximum Pods per Node" value which is used for newly created
      -     * node pools if their value is not explicitly set during node pool creation.
      -     * For more information, see [Optimizing IP address allocation]
      +     * Optional. The maximum number of pods per node in the Cloud Composer GKE
      +     * cluster. The value must be between 8 and 110 and it can be set only if the
      +     * environment is VPC-native. The default value is 32. Values of this field
      +     * will be propagated both to the `default-pool` node pool of the newly
      +     * created GKE cluster, and to the default "Maximum Pods per Node" value which
      +     * is used for newly created node pools if their value is not explicitly set
      +     * during node pool creation. For more information, see [Optimizing IP address
      +     * allocation]
            * (https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr).
            * Cannot be updated.
            * This field is supported for Cloud Composer environments in versions
      @@ -2896,14 +2896,14 @@ public Builder setMaxPodsPerNode(int value) {
            *
            *
            * 
      -     * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
      -     * The value must be between 8 and 110 and it can be set only if
      -     * the environment is VPC-native.
      -     * The default value is 32. Values of this field will be propagated both to
      -     * the `default-pool` node pool of the newly created GKE cluster, and to the
      -     * default "Maximum Pods per Node" value which is used for newly created
      -     * node pools if their value is not explicitly set during node pool creation.
      -     * For more information, see [Optimizing IP address allocation]
      +     * Optional. The maximum number of pods per node in the Cloud Composer GKE
      +     * cluster. The value must be between 8 and 110 and it can be set only if the
      +     * environment is VPC-native. The default value is 32. Values of this field
      +     * will be propagated both to the `default-pool` node pool of the newly
      +     * created GKE cluster, and to the default "Maximum Pods per Node" value which
      +     * is used for newly created node pools if their value is not explicitly set
      +     * during node pool creation. For more information, see [Optimizing IP address
      +     * allocation]
            * (https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr).
            * Cannot be updated.
            * This field is supported for Cloud Composer environments in versions
      diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java
      index 02b556ac8044..662ce0b66d8b 100644
      --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java
      +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/NodeConfigOrBuilder.java
      @@ -308,9 +308,9 @@ public interface NodeConfigOrBuilder
          *
          *
          * 
      -   * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
      -   * service account is not specified, the "default" Compute Engine service
      -   * account is used. Cannot be updated.
      +   * Optional. The Google Cloud Platform Service Account to be used by the
      +   * workloads. If a service account is not specified, the "default" Compute
      +   * Engine service account is used. Cannot be updated.
          * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -322,9 +322,9 @@ public interface NodeConfigOrBuilder * * *
      -   * Optional. The Google Cloud Platform Service Account to be used by the workloads. If a
      -   * service account is not specified, the "default" Compute Engine service
      -   * account is used. Cannot be updated.
      +   * Optional. The Google Cloud Platform Service Account to be used by the
      +   * workloads. If a service account is not specified, the "default" Compute
      +   * Engine service account is used. Cannot be updated.
          * 
      * * string service_account = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -450,14 +450,14 @@ public interface NodeConfigOrBuilder * * *
      -   * Optional. The maximum number of pods per node in the Cloud Composer GKE cluster.
      -   * The value must be between 8 and 110 and it can be set only if
      -   * the environment is VPC-native.
      -   * The default value is 32. Values of this field will be propagated both to
      -   * the `default-pool` node pool of the newly created GKE cluster, and to the
      -   * default "Maximum Pods per Node" value which is used for newly created
      -   * node pools if their value is not explicitly set during node pool creation.
      -   * For more information, see [Optimizing IP address allocation]
      +   * Optional. The maximum number of pods per node in the Cloud Composer GKE
      +   * cluster. The value must be between 8 and 110 and it can be set only if the
      +   * environment is VPC-native. The default value is 32. Values of this field
      +   * will be propagated both to the `default-pool` node pool of the newly
      +   * created GKE cluster, and to the default "Maximum Pods per Node" value which
      +   * is used for newly created node pools if their value is not explicitly set
      +   * during node pool creation. For more information, see [Optimizing IP address
      +   * allocation]
          * (https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr).
          * Cannot be updated.
          * This field is supported for Cloud Composer environments in versions
      diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java
      index 45714675920b..8701e5b0c0e8 100644
      --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java
      +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadata.java
      @@ -763,8 +763,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
          *
          *
          * 
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -779,8 +779,8 @@ public boolean hasEndTime() { * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -795,8 +795,8 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1920,8 +1920,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1935,8 +1935,8 @@ public boolean hasEndTime() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1954,8 +1954,8 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1977,8 +1977,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -1997,8 +1997,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -2023,8 +2023,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -2043,8 +2043,8 @@ public Builder clearEndTime() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -2058,8 +2058,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -2075,8 +2075,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * *
      -     * Output only. The time when the operation terminated, regardless of its success.
      -     * This field is unset if the operation is still ongoing.
      +     * Output only. The time when the operation terminated, regardless of its
      +     * success. This field is unset if the operation is still ongoing.
            * 
      * * .google.protobuf.Timestamp end_time = 6; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java index 77b4ad2a756b..e2e26290ceb0 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationMetadataOrBuilder.java @@ -170,8 +170,8 @@ public interface OperationMetadataOrBuilder * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -183,8 +183,8 @@ public interface OperationMetadataOrBuilder * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; @@ -196,8 +196,8 @@ public interface OperationMetadataOrBuilder * * *
      -   * Output only. The time when the operation terminated, regardless of its success.
      -   * This field is unset if the operation is still ongoing.
      +   * Output only. The time when the operation terminated, regardless of its
      +   * success. This field is unset if the operation is still ongoing.
          * 
      * * .google.protobuf.Timestamp end_time = 6; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java index 2c1e16593ade..28cb6701a79b 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/OperationsProto.java @@ -57,12 +57,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020\002\022\016\n\nSUCCESSFUL\020\003\022\n\n\006FAILED\020\004\"q\n\004Type\022\024" + "\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006CREATE\020\001\022\n\n\006DELE" + "TE\020\002\022\n\n\006UPDATE\020\003\022\t\n\005CHECK\020\004\022\021\n\rSAVE_SNAP" - + "SHOT\020\005\022\021\n\rLOAD_SNAPSHOT\020\006B\246\001\n6com.google" + + "SHOT\020\005\022\021\n\rLOAD_SNAPSHOT\020\006B\235\001\n6com.google" + ".cloud.orchestration.airflow.service.v1b" - + "eta1B\017OperationsProtoP\001ZYgoogle.golang.o" - + "rg/genproto/googleapis/cloud/orchestrati" - + "on/airflow/service/v1beta1;serviceb\006prot" - + "o3" + + "eta1B\017OperationsProtoP\001ZPcloud.google.co" + + "m/go/orchestration/airflow/service/apiv1" + + "beta1/servicepb;servicepbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java index 4e223d4c63d2..16f9506dd64e 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfig.java @@ -97,8 +97,8 @@ public boolean getEnablePrivateEndpoint() { * * *
      -   * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -   * left blank, the default value of '172.16.0.0/23' is used.
      +   * Optional. The CIDR block from which IPv4 range for GKE master will be
      +   * reserved. If left blank, the default value of '172.16.0.0/23' is used.
          * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -121,8 +121,8 @@ public java.lang.String getMasterIpv4CidrBlock() { * * *
      -   * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -   * left blank, the default value of '172.16.0.0/23' is used.
      +   * Optional. The CIDR block from which IPv4 range for GKE master will be
      +   * reserved. If left blank, the default value of '172.16.0.0/23' is used.
          * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -150,11 +150,11 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * * *
      -   * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -   * range is used for assigning internal IP addresses to the cluster
      -   * master or set of masters and to the internal load balancer virtual IP.
      -   * This range must not overlap with any other ranges in use
      -   * within the cluster's network.
      +   * Output only. The IP range in CIDR notation to use for the hosted master
      +   * network. This range is used for assigning internal IP addresses to the
      +   * cluster master or set of masters and to the internal load balancer virtual
      +   * IP. This range must not overlap with any other ranges in use within the
      +   * cluster's network.
          * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -178,11 +178,11 @@ public java.lang.String getMasterIpv4ReservedRange() { * * *
      -   * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -   * range is used for assigning internal IP addresses to the cluster
      -   * master or set of masters and to the internal load balancer virtual IP.
      -   * This range must not overlap with any other ranges in use
      -   * within the cluster's network.
      +   * Output only. The IP range in CIDR notation to use for the hosted master
      +   * network. This range is used for assigning internal IP addresses to the
      +   * cluster master or set of masters and to the internal load balancer virtual
      +   * IP. This range must not overlap with any other ranges in use within the
      +   * cluster's network.
          * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -672,8 +672,8 @@ public Builder clearEnablePrivateEndpoint() { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -695,8 +695,8 @@ public java.lang.String getMasterIpv4CidrBlock() { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -718,8 +718,8 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -740,8 +740,8 @@ public Builder setMasterIpv4CidrBlock(java.lang.String value) { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -758,8 +758,8 @@ public Builder clearMasterIpv4CidrBlock() { * * *
      -     * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -     * left blank, the default value of '172.16.0.0/23' is used.
      +     * Optional. The CIDR block from which IPv4 range for GKE master will be
      +     * reserved. If left blank, the default value of '172.16.0.0/23' is used.
            * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -783,11 +783,11 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -810,11 +810,11 @@ public java.lang.String getMasterIpv4ReservedRange() { * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -837,11 +837,11 @@ public com.google.protobuf.ByteString getMasterIpv4ReservedRangeBytes() { * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -863,11 +863,11 @@ public Builder setMasterIpv4ReservedRange(java.lang.String value) { * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -885,11 +885,11 @@ public Builder clearMasterIpv4ReservedRange() { * * *
      -     * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -     * range is used for assigning internal IP addresses to the cluster
      -     * master or set of masters and to the internal load balancer virtual IP.
      -     * This range must not overlap with any other ranges in use
      -     * within the cluster's network.
      +     * Output only. The IP range in CIDR notation to use for the hosted master
      +     * network. This range is used for assigning internal IP addresses to the
      +     * cluster master or set of masters and to the internal load balancer virtual
      +     * IP. This range must not overlap with any other ranges in use within the
      +     * cluster's network.
            * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java index a32d2f4fa869..98b08c9b5b34 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateClusterConfigOrBuilder.java @@ -41,8 +41,8 @@ public interface PrivateClusterConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -   * left blank, the default value of '172.16.0.0/23' is used.
      +   * Optional. The CIDR block from which IPv4 range for GKE master will be
      +   * reserved. If left blank, the default value of '172.16.0.0/23' is used.
          * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -54,8 +54,8 @@ public interface PrivateClusterConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
      -   * left blank, the default value of '172.16.0.0/23' is used.
      +   * Optional. The CIDR block from which IPv4 range for GKE master will be
      +   * reserved. If left blank, the default value of '172.16.0.0/23' is used.
          * 
      * * string master_ipv4_cidr_block = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -68,11 +68,11 @@ public interface PrivateClusterConfigOrBuilder * * *
      -   * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -   * range is used for assigning internal IP addresses to the cluster
      -   * master or set of masters and to the internal load balancer virtual IP.
      -   * This range must not overlap with any other ranges in use
      -   * within the cluster's network.
      +   * Output only. The IP range in CIDR notation to use for the hosted master
      +   * network. This range is used for assigning internal IP addresses to the
      +   * cluster master or set of masters and to the internal load balancer virtual
      +   * IP. This range must not overlap with any other ranges in use within the
      +   * cluster's network.
          * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -85,11 +85,11 @@ public interface PrivateClusterConfigOrBuilder * * *
      -   * Output only. The IP range in CIDR notation to use for the hosted master network. This
      -   * range is used for assigning internal IP addresses to the cluster
      -   * master or set of masters and to the internal load balancer virtual IP.
      -   * This range must not overlap with any other ranges in use
      -   * within the cluster's network.
      +   * Output only. The IP range in CIDR notation to use for the hosted master
      +   * network. This range is used for assigning internal IP addresses to the
      +   * cluster master or set of masters and to the internal load balancer virtual
      +   * IP. This range must not overlap with any other ranges in use within the
      +   * cluster's network.
          * 
      * * string master_ipv4_reserved_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java index f9371066e06f..db9a13af9b9d 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfig.java @@ -167,8 +167,9 @@ public boolean hasPrivateClusterConfig() { * * *
      -   * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -   * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
      +   * Optional. The CIDR block from which IP range for web server will be
      +   * reserved. Needs to be disjoint from
      +   * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
      @@ -194,8 +195,9 @@ public java.lang.String getWebServerIpv4CidrBlock() {
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -   * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
      +   * Optional. The CIDR block from which IP range for web server will be
      +   * reserved. Needs to be disjoint from
      +   * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
      @@ -226,8 +228,9 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() {
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -   * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
      +   * Optional. The CIDR block from which IP range in tenant project will be
      +   * reserved for Cloud SQL. Needs to be disjoint from
      +   * web_server_ipv4_cidr_block
          * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -250,8 +253,9 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { * * *
      -   * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -   * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
      +   * Optional. The CIDR block from which IP range in tenant project will be
      +   * reserved for Cloud SQL. Needs to be disjoint from
      +   * web_server_ipv4_cidr_block
          * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -336,8 +340,8 @@ public com.google.protobuf.ByteString getWebServerIpv4ReservedRangeBytes() { * * *
      -   * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -   * project will be reserved. Needs to be disjoint from
      +   * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +   * tenant project will be reserved. Needs to be disjoint from
          * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
      @@ -366,8 +370,8 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() {
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -   * project will be reserved. Needs to be disjoint from
      +   * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +   * tenant project will be reserved. Needs to be disjoint from
          * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
      @@ -401,7 +405,8 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes(
          *
          *
          * 
      -   * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +   * Output only. The IP range reserved for the tenant project's Cloud Composer
      +   * network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -428,7 +433,8 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { * * *
      -   * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +   * Output only. The IP range reserved for the tenant project's Cloud Composer
      +   * network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -458,8 +464,8 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBy * * *
      -   * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -   * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +   * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +   * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
          * `IPAllocationPolicy.service_ipv4_cidr_block`.
          * 
      * @@ -540,7 +546,8 @@ public com.google.protobuf.ByteString getCloudComposerConnectionSubnetworkBytes( * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -557,7 +564,8 @@ public boolean hasNetworkingConfig() { * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -578,7 +586,8 @@ public boolean hasNetworkingConfig() { * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -1501,8 +1510,9 @@ public Builder clearPrivateClusterConfig() { * * *
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1527,8 +1537,9 @@ public java.lang.String getWebServerIpv4CidrBlock() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1553,8 +1564,9 @@ public com.google.protobuf.ByteString getWebServerIpv4CidrBlockBytes() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1578,8 +1590,9 @@ public Builder setWebServerIpv4CidrBlock(java.lang.String value) {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1599,8 +1612,9 @@ public Builder clearWebServerIpv4CidrBlock() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -     * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
      +     * Optional. The CIDR block from which IP range for web server will be
      +     * reserved. Needs to be disjoint from
      +     * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
            * composer-1.*.*-airflow-*.*.*.
      @@ -1627,8 +1641,9 @@ public Builder setWebServerIpv4CidrBlockBytes(com.google.protobuf.ByteString val
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * web_server_ipv4_cidr_block
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1650,8 +1665,9 @@ public java.lang.String getCloudSqlIpv4CidrBlock() { * * *
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * web_server_ipv4_cidr_block
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1673,8 +1689,9 @@ public com.google.protobuf.ByteString getCloudSqlIpv4CidrBlockBytes() { * * *
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * web_server_ipv4_cidr_block
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1695,8 +1712,9 @@ public Builder setCloudSqlIpv4CidrBlock(java.lang.String value) { * * *
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * web_server_ipv4_cidr_block
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1713,8 +1731,9 @@ public Builder clearCloudSqlIpv4CidrBlock() { * * *
      -     * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -     * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
      +     * Optional. The CIDR block from which IP range in tenant project will be
      +     * reserved for Cloud SQL. Needs to be disjoint from
      +     * web_server_ipv4_cidr_block
            * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1859,8 +1878,8 @@ public Builder setWebServerIpv4ReservedRangeBytes(com.google.protobuf.ByteString * * *
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -1888,8 +1907,8 @@ public java.lang.String getCloudComposerNetworkIpv4CidrBlock() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -1917,8 +1936,8 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4CidrBlockBytes(
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -1945,8 +1964,8 @@ public Builder setCloudComposerNetworkIpv4CidrBlock(java.lang.String value) {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -1970,8 +1989,8 @@ public Builder clearCloudComposerNetworkIpv4CidrBlock() {
            *
            *
            * 
      -     * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -     * project will be reserved. Needs to be disjoint from
      +     * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +     * tenant project will be reserved. Needs to be disjoint from
            * private_cluster_config.master_ipv4_cidr_block and
            * cloud_sql_ipv4_cidr_block.
            * This field is supported for Cloud Composer environments in versions
      @@ -2001,7 +2020,8 @@ public Builder setCloudComposerNetworkIpv4CidrBlockBytes(com.google.protobuf.Byt
            *
            *
            * 
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2027,7 +2047,8 @@ public java.lang.String getCloudComposerNetworkIpv4ReservedRange() { * * *
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2053,7 +2074,8 @@ public com.google.protobuf.ByteString getCloudComposerNetworkIpv4ReservedRangeBy * * *
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2078,7 +2100,8 @@ public Builder setCloudComposerNetworkIpv4ReservedRange(java.lang.String value) * * *
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2100,7 +2123,8 @@ public Builder clearCloudComposerNetworkIpv4ReservedRange() { * * *
      -     * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +     * Output only. The IP range reserved for the tenant project's Cloud Composer
      +     * network.
            * This field is supported for Cloud Composer environments in versions
            * composer-2.*.*-airflow-*.*.* and newer.
            * 
      @@ -2129,8 +2153,8 @@ public Builder setCloudComposerNetworkIpv4ReservedRangeBytes( * * *
      -     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -     * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +     * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
            * `IPAllocationPolicy.service_ipv4_cidr_block`.
            * 
      * @@ -2147,8 +2171,8 @@ public boolean getEnablePrivatelyUsedPublicIps() { * * *
      -     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -     * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +     * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
            * `IPAllocationPolicy.service_ipv4_cidr_block`.
            * 
      * @@ -2169,8 +2193,8 @@ public Builder setEnablePrivatelyUsedPublicIps(boolean value) { * * *
      -     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -     * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +     * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +     * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
            * `IPAllocationPolicy.service_ipv4_cidr_block`.
            * 
      * @@ -2329,7 +2353,8 @@ public Builder setCloudComposerConnectionSubnetworkBytes(com.google.protobuf.Byt * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2345,7 +2370,8 @@ public boolean hasNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2369,7 +2395,8 @@ public boolean hasNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2394,7 +2421,8 @@ public Builder setNetworkingConfig( * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2417,7 +2445,8 @@ public Builder setNetworkingConfig( * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2447,7 +2476,8 @@ public Builder mergeNetworkingConfig( * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2468,7 +2498,8 @@ public Builder clearNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2485,7 +2516,8 @@ public Builder clearNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * @@ -2507,7 +2539,8 @@ public Builder clearNetworkingConfig() { * * *
      -     * Optional. Configuration for the network connections configuration in the environment.
      +     * Optional. Configuration for the network connections configuration in the
      +     * environment.
            * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java index ea7ff192dd95..82ba8139ff5d 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/PrivateEnvironmentConfigOrBuilder.java @@ -89,8 +89,9 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -   * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
      +   * Optional. The CIDR block from which IP range for web server will be
      +   * reserved. Needs to be disjoint from
      +   * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
      @@ -105,8 +106,9 @@ public interface PrivateEnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range for web server will be reserved. Needs
      -   * to be disjoint from private_cluster_config.master_ipv4_cidr_block and
      +   * Optional. The CIDR block from which IP range for web server will be
      +   * reserved. Needs to be disjoint from
      +   * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
          * composer-1.*.*-airflow-*.*.*.
      @@ -122,8 +124,9 @@ public interface PrivateEnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -   * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
      +   * Optional. The CIDR block from which IP range in tenant project will be
      +   * reserved for Cloud SQL. Needs to be disjoint from
      +   * web_server_ipv4_cidr_block
          * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -135,8 +138,9 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IP range in tenant project will be reserved for
      -   * Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
      +   * Optional. The CIDR block from which IP range in tenant project will be
      +   * reserved for Cloud SQL. Needs to be disjoint from
      +   * web_server_ipv4_cidr_block
          * 
      * * string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -180,8 +184,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -   * project will be reserved. Needs to be disjoint from
      +   * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +   * tenant project will be reserved. Needs to be disjoint from
          * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
      @@ -199,8 +203,8 @@ public interface PrivateEnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Optional. The CIDR block from which IP range for Cloud Composer Network in tenant
      -   * project will be reserved. Needs to be disjoint from
      +   * Optional. The CIDR block from which IP range for Cloud Composer Network in
      +   * tenant project will be reserved. Needs to be disjoint from
          * private_cluster_config.master_ipv4_cidr_block and
          * cloud_sql_ipv4_cidr_block.
          * This field is supported for Cloud Composer environments in versions
      @@ -219,7 +223,8 @@ public interface PrivateEnvironmentConfigOrBuilder
          *
          *
          * 
      -   * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +   * Output only. The IP range reserved for the tenant project's Cloud Composer
      +   * network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -235,7 +240,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Output only. The IP range reserved for the tenant project's Cloud Composer network.
      +   * Output only. The IP range reserved for the tenant project's Cloud Composer
      +   * network.
          * This field is supported for Cloud Composer environments in versions
          * composer-2.*.*-airflow-*.*.* and newer.
          * 
      @@ -252,8 +258,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for
      -   * `IPAllocationPolicy.cluster_ipv4_cidr_block` and
      +   * Optional. When enabled, IPs from public (non-RFC1918) ranges can be used
      +   * for `IPAllocationPolicy.cluster_ipv4_cidr_block` and
          * `IPAllocationPolicy.service_ipv4_cidr_block`.
          * 
      * @@ -303,7 +309,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -317,7 +324,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * @@ -331,7 +339,8 @@ public interface PrivateEnvironmentConfigOrBuilder * * *
      -   * Optional. Configuration for the network connections configuration in the environment.
      +   * Optional. Configuration for the network connections configuration in the
      +   * environment.
          * 
      * * diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ScheduledSnapshotsConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ScheduledSnapshotsConfig.java index e47b634d0580..3a8d09d556a3 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ScheduledSnapshotsConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ScheduledSnapshotsConfig.java @@ -96,7 +96,8 @@ public boolean getEnabled() { * * *
      -   * Optional. The Cloud Storage location for storing automatically created snapshots.
      +   * Optional. The Cloud Storage location for storing automatically created
      +   * snapshots.
          * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -119,7 +120,8 @@ public java.lang.String getSnapshotLocation() { * * *
      -   * Optional. The Cloud Storage location for storing automatically created snapshots.
      +   * Optional. The Cloud Storage location for storing automatically created
      +   * snapshots.
          * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -147,9 +149,9 @@ public com.google.protobuf.ByteString getSnapshotLocationBytes() { * * *
      -   * Optional. The cron expression representing the time when snapshots creation mechanism
      -   * runs. This field is subject to additional validation around frequency of
      -   * execution.
      +   * Optional. The cron expression representing the time when snapshots creation
      +   * mechanism runs. This field is subject to additional validation around
      +   * frequency of execution.
          * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -172,9 +174,9 @@ public java.lang.String getSnapshotCreationSchedule() { * * *
      -   * Optional. The cron expression representing the time when snapshots creation mechanism
      -   * runs. This field is subject to additional validation around frequency of
      -   * execution.
      +   * Optional. The cron expression representing the time when snapshots creation
      +   * mechanism runs. This field is subject to additional validation around
      +   * frequency of execution.
          * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -202,7 +204,8 @@ public com.google.protobuf.ByteString getSnapshotCreationScheduleBytes() { * * *
      -   * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +   * Optional. Time zone that sets the context to interpret
      +   * snapshot_creation_schedule.
          * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -225,7 +228,8 @@ public java.lang.String getTimeZone() { * * *
      -   * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +   * Optional. Time zone that sets the context to interpret
      +   * snapshot_creation_schedule.
          * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -739,7 +743,8 @@ public Builder clearEnabled() { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -761,7 +766,8 @@ public java.lang.String getSnapshotLocation() { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -783,7 +789,8 @@ public com.google.protobuf.ByteString getSnapshotLocationBytes() { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -804,7 +811,8 @@ public Builder setSnapshotLocation(java.lang.String value) { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -821,7 +829,8 @@ public Builder clearSnapshotLocation() { * * *
      -     * Optional. The Cloud Storage location for storing automatically created snapshots.
      +     * Optional. The Cloud Storage location for storing automatically created
      +     * snapshots.
            * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -845,9 +854,9 @@ public Builder setSnapshotLocationBytes(com.google.protobuf.ByteString value) { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -869,9 +878,9 @@ public java.lang.String getSnapshotCreationSchedule() { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -893,9 +902,9 @@ public com.google.protobuf.ByteString getSnapshotCreationScheduleBytes() { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -916,9 +925,9 @@ public Builder setSnapshotCreationSchedule(java.lang.String value) { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -935,9 +944,9 @@ public Builder clearSnapshotCreationSchedule() { * * *
      -     * Optional. The cron expression representing the time when snapshots creation mechanism
      -     * runs. This field is subject to additional validation around frequency of
      -     * execution.
      +     * Optional. The cron expression representing the time when snapshots creation
      +     * mechanism runs. This field is subject to additional validation around
      +     * frequency of execution.
            * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -961,7 +970,8 @@ public Builder setSnapshotCreationScheduleBytes(com.google.protobuf.ByteString v * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -983,7 +993,8 @@ public java.lang.String getTimeZone() { * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1005,7 +1016,8 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1026,7 +1038,8 @@ public Builder setTimeZone(java.lang.String value) { * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -1043,7 +1056,8 @@ public Builder clearTimeZone() { * * *
      -     * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +     * Optional. Time zone that sets the context to interpret
      +     * snapshot_creation_schedule.
            * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ScheduledSnapshotsConfigOrBuilder.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ScheduledSnapshotsConfigOrBuilder.java index d505b4269531..c882a9cc113c 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ScheduledSnapshotsConfigOrBuilder.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/ScheduledSnapshotsConfigOrBuilder.java @@ -40,7 +40,8 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. The Cloud Storage location for storing automatically created snapshots.
      +   * Optional. The Cloud Storage location for storing automatically created
      +   * snapshots.
          * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -52,7 +53,8 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. The Cloud Storage location for storing automatically created snapshots.
      +   * Optional. The Cloud Storage location for storing automatically created
      +   * snapshots.
          * 
      * * string snapshot_location = 6 [(.google.api.field_behavior) = OPTIONAL]; @@ -65,9 +67,9 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. The cron expression representing the time when snapshots creation mechanism
      -   * runs. This field is subject to additional validation around frequency of
      -   * execution.
      +   * Optional. The cron expression representing the time when snapshots creation
      +   * mechanism runs. This field is subject to additional validation around
      +   * frequency of execution.
          * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -79,9 +81,9 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. The cron expression representing the time when snapshots creation mechanism
      -   * runs. This field is subject to additional validation around frequency of
      -   * execution.
      +   * Optional. The cron expression representing the time when snapshots creation
      +   * mechanism runs. This field is subject to additional validation around
      +   * frequency of execution.
          * 
      * * string snapshot_creation_schedule = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -94,7 +96,8 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +   * Optional. Time zone that sets the context to interpret
      +   * snapshot_creation_schedule.
          * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -106,7 +109,8 @@ public interface ScheduledSnapshotsConfigOrBuilder * * *
      -   * Optional. Time zone that sets the context to interpret snapshot_creation_schedule.
      +   * Optional. Time zone that sets the context to interpret
      +   * snapshot_creation_schedule.
          * 
      * * string time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java index 337fbcda367d..89068193fc68 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WebServerNetworkAccessControl.java @@ -116,7 +116,8 @@ public interface AllowedIpRangeOrBuilder * * *
      -     * Optional. User-provided description. It must contain at most 300 characters.
      +     * Optional. User-provided description. It must contain at most 300
      +     * characters.
            * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -128,7 +129,8 @@ public interface AllowedIpRangeOrBuilder * * *
      -     * Optional. User-provided description. It must contain at most 300 characters.
      +     * Optional. User-provided description. It must contain at most 300
      +     * characters.
            * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -261,7 +263,8 @@ public com.google.protobuf.ByteString getValueBytes() { * * *
      -     * Optional. User-provided description. It must contain at most 300 characters.
      +     * Optional. User-provided description. It must contain at most 300
      +     * characters.
            * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -284,7 +287,8 @@ public java.lang.String getDescription() { * * *
      -     * Optional. User-provided description. It must contain at most 300 characters.
      +     * Optional. User-provided description. It must contain at most 300
      +     * characters.
            * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -873,7 +877,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -895,7 +900,8 @@ public java.lang.String getDescription() { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -917,7 +923,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -938,7 +945,8 @@ public Builder setDescription(java.lang.String value) { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -955,7 +963,8 @@ public Builder clearDescription() { * * *
      -       * Optional. User-provided description. It must contain at most 300 characters.
      +       * Optional. User-provided description. It must contain at most 300
      +       * characters.
              * 
      * * string description = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java index fc4cbfe281de..0a460f3a0074 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/WorkloadsConfig.java @@ -89,7 +89,8 @@ public interface SchedulerResourceOrBuilder * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +     * replica.
            * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -102,7 +103,8 @@ public interface SchedulerResourceOrBuilder * * *
      -     * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +     * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +     * replica.
            * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -198,7 +200,8 @@ public float getCpu() { * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +     * replica.
            * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -216,7 +219,8 @@ public float getMemoryGb() { * * *
      -     * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +     * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +     * replica.
            * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -769,7 +773,8 @@ public Builder clearCpu() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -784,7 +789,8 @@ public float getMemoryGb() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -803,7 +809,8 @@ public Builder setMemoryGb(float value) { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -822,7 +829,8 @@ public Builder clearMemoryGb() { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -837,7 +845,8 @@ public float getStorageGb() { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -856,7 +865,8 @@ public Builder setStorageGb(float value) { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow scheduler replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow scheduler
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1837,7 +1847,8 @@ public interface WorkerResourceOrBuilder * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow worker
      +     * replica.
            * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1850,7 +1861,8 @@ public interface WorkerResourceOrBuilder * * *
      -     * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +     * Optional. Storage (GB) request and limit for a single Airflow worker
      +     * replica.
            * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1959,7 +1971,8 @@ public float getCpu() { * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow worker
      +     * replica.
            * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -1977,7 +1990,8 @@ public float getMemoryGb() { * * *
      -     * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +     * Optional. Storage (GB) request and limit for a single Airflow worker
      +     * replica.
            * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2563,7 +2577,8 @@ public Builder clearCpu() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2578,7 +2593,8 @@ public float getMemoryGb() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2597,7 +2613,8 @@ public Builder setMemoryGb(float value) { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -2616,7 +2633,8 @@ public Builder clearMemoryGb() { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2631,7 +2649,8 @@ public float getStorageGb() { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2650,7 +2669,8 @@ public Builder setStorageGb(float value) { * * *
      -       * Optional. Storage (GB) request and limit for a single Airflow worker replica.
      +       * Optional. Storage (GB) request and limit for a single Airflow worker
      +       * replica.
              * 
      * * float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2876,7 +2896,8 @@ public interface TriggererResourceOrBuilder * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow triggerer
      +     * replica.
            * 
      * * float memory_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -2977,7 +2998,8 @@ public float getCpu() { * * *
      -     * Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
      +     * Optional. Memory (GB) request and limit for a single Airflow triggerer
      +     * replica.
            * 
      * * float memory_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -3542,7 +3564,8 @@ public Builder clearCpu() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow triggerer
      +       * replica.
              * 
      * * float memory_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -3557,7 +3580,8 @@ public float getMemoryGb() { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow triggerer
      +       * replica.
              * 
      * * float memory_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -3576,7 +3600,8 @@ public Builder setMemoryGb(float value) { * * *
      -       * Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
      +       * Optional. Memory (GB) request and limit for a single Airflow triggerer
      +       * replica.
              * 
      * * float memory_gb = 3 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto index b2797ea7a418..a21e40bdfe4f 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/environments.proto @@ -24,17 +24,19 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1beta1;service"; +option go_package = "cloud.google.com/go/orchestration/airflow/service/apiv1beta1/servicepb;servicepb"; option java_multiple_files = true; option java_package = "com.google.cloud.orchestration.airflow.service.v1beta1"; // Managed Apache Airflow Environments. service Environments { option (google.api.default_host) = "composer.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Create a new environment. - rpc CreateEnvironment(CreateEnvironmentRequest) returns (google.longrunning.Operation) { + rpc CreateEnvironment(CreateEnvironmentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*}/environments" body: "environment" @@ -55,7 +57,8 @@ service Environments { } // List environments. - rpc ListEnvironments(ListEnvironmentsRequest) returns (ListEnvironmentsResponse) { + rpc ListEnvironments(ListEnvironmentsRequest) + returns (ListEnvironmentsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/environments" }; @@ -63,7 +66,8 @@ service Environments { } // Update an environment. - rpc UpdateEnvironment(UpdateEnvironmentRequest) returns (google.longrunning.Operation) { + rpc UpdateEnvironment(UpdateEnvironmentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1beta1/{name=projects/*/locations/*/environments/*}" body: "environment" @@ -76,7 +80,8 @@ service Environments { } // Delete an environment. - rpc DeleteEnvironment(DeleteEnvironmentRequest) returns (google.longrunning.Operation) { + rpc DeleteEnvironment(DeleteEnvironmentRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/environments/*}" }; @@ -88,7 +93,8 @@ service Environments { } // Restart Airflow web server. - rpc RestartWebServer(RestartWebServerRequest) returns (google.longrunning.Operation) { + rpc RestartWebServer(RestartWebServerRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/environments/*}:restartWebServer" body: "*" @@ -344,7 +350,8 @@ message UpdateEnvironmentRequest { // * The size of the Cloud Composer environment. Supported for Cloud // Composer environments in versions composer-2.*.*-airflow-*.*.* and // newer. - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = REQUIRED]; } // Restart Airflow web server. @@ -449,9 +456,7 @@ message LoadSnapshotRequest { } // Response to LoadSnapshotRequest. -message LoadSnapshotResponse { - -} +message LoadSnapshotResponse {} // Configuration information for an environment. message EnvironmentConfig { @@ -473,10 +478,11 @@ message EnvironmentConfig { // Output only. The Kubernetes Engine cluster used to run this environment. string gke_cluster = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud - // Storage objects reside in a flat namespace, a hierarchical file tree - // can be simulated using "/"-delimited object name prefixes. DAG objects for - // this environment reside in a simulated directory with the given prefix. + // Output only. The Cloud Storage prefix of the DAGs for this environment. + // Although Cloud Storage objects reside in a flat namespace, a hierarchical + // file tree can be simulated using "/"-delimited object name prefixes. DAG + // objects for this environment reside in a simulated directory with the given + // prefix. string dag_gcs_prefix = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // The number of nodes in the Kubernetes Engine cluster that will be @@ -495,32 +501,37 @@ message EnvironmentConfig { // The configuration used for the Private IP Cloud Composer environment. PrivateEnvironmentConfig private_environment_config = 7; - // Optional. The network-level access control policy for the Airflow web server. If - // unspecified, no network-level access restrictions will be applied. - WebServerNetworkAccessControl web_server_network_access_control = 9 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The network-level access control policy for the Airflow web + // server. If unspecified, no network-level access restrictions will be + // applied. + WebServerNetworkAccessControl web_server_network_access_control = 9 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The configuration settings for Cloud SQL instance used internally by Apache - // Airflow software. + // Optional. The configuration settings for Cloud SQL instance used internally + // by Apache Airflow software. DatabaseConfig database_config = 10 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The configuration settings for the Airflow web server App Engine instance. + // Optional. The configuration settings for the Airflow web server App Engine + // instance. // // This field is supported for Cloud Composer environments in versions // composer-1.*.*-airflow-*.*.*. - WebServerConfig web_server_config = 11 [(google.api.field_behavior) = OPTIONAL]; + WebServerConfig web_server_config = 11 + [(google.api.field_behavior) = OPTIONAL]; - // Output only. The URI of the Apache Airflow Web UI hosted within this environment (see - // [Airflow web + // Output only. The URI of the Apache Airflow Web UI hosted within this + // environment (see [Airflow web // interface](/composer/docs/how-to/accessing/airflow-web-interface)). string airflow_uri = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. The encryption options for the Cloud Composer environment and its // dependencies. Cannot be updated. - EncryptionConfig encryption_config = 12 [(google.api.field_behavior) = OPTIONAL]; + EncryptionConfig encryption_config = 12 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The maintenance window is the period when Cloud Composer components may - // undergo maintenance. It is defined so that maintenance is not executed - // during peak hours or critical time periods. + // Optional. The maintenance window is the period when Cloud Composer + // components may undergo maintenance. It is defined so that maintenance is + // not executed during peak hours or critical time periods. // // The system will not be under maintenance for every occurrence of this // window, but when maintenance is planned, it will be scheduled @@ -532,28 +543,32 @@ message EnvironmentConfig { // // If this value is omitted, Cloud Composer components may be subject to // maintenance at any time. - MaintenanceWindow maintenance_window = 13 [(google.api.field_behavior) = OPTIONAL]; + MaintenanceWindow maintenance_window = 13 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The workloads configuration settings for the GKE cluster associated with - // the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web - // server and workers workloads. + // Optional. The workloads configuration settings for the GKE cluster + // associated with the Cloud Composer environment. The GKE cluster runs + // Airflow scheduler, web server and workers workloads. // // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. - WorkloadsConfig workloads_config = 15 [(google.api.field_behavior) = OPTIONAL]; + WorkloadsConfig workloads_config = 15 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The size of the Cloud Composer environment. // // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. - EnvironmentSize environment_size = 16 [(google.api.field_behavior) = OPTIONAL]; + EnvironmentSize environment_size = 16 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The configuration options for GKE cluster master authorized networks. - // By default master authorized networks feature is: + // Optional. The configuration options for GKE cluster master authorized + // networks. By default master authorized networks feature is: // - in case of private environment: enabled with no external networks // allowlisted. // - in case of public environment: disabled. - MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 [(google.api.field_behavior) = OPTIONAL]; + MasterAuthorizedNetworksConfig master_authorized_networks_config = 17 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The Recovery settings configuration of an environment. // @@ -576,7 +591,8 @@ message WebServerNetworkAccessControl { // `2001:db8::1/32` should be truncated to `2001:db8::/32`. string value = 1; - // Optional. User-provided description. It must contain at most 300 characters. + // Optional. User-provided description. It must contain at most 300 + // characters. string description = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -627,7 +643,8 @@ message SoftwareConfig { // Certain Apache Airflow configuration property values are // [blocked](/composer/docs/concepts/airflow-configurations), // and cannot be overridden. - map airflow_config_overrides = 2 [(google.api.field_behavior) = OPTIONAL]; + map airflow_config_overrides = 2 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Custom Python Package Index (PyPI) packages to be installed in // the environment. @@ -637,7 +654,8 @@ message SoftwareConfig { // "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To specify a // package without pinning it to a version specifier, use the empty string as // the value. - map pypi_packages = 3 [(google.api.field_behavior) = OPTIONAL]; + map pypi_packages = 3 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Additional environment variables to provide to the Apache Airflow // scheduler, worker, and webserver processes. @@ -661,7 +679,8 @@ message SoftwareConfig { // * `SQL_PROJECT` // * `SQL_REGION` // * `SQL_USER` - map env_variables = 4 [(google.api.field_behavior) = OPTIONAL]; + map env_variables = 4 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The major version of Python used to run the Apache Airflow // scheduler, worker, and webserver processes. @@ -681,7 +700,8 @@ message SoftwareConfig { int32 scheduler_count = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. The configuration for Cloud Data Lineage integration. - CloudDataLineageIntegration cloud_data_lineage_integration = 8 [(google.api.field_behavior) = OPTIONAL]; + CloudDataLineageIntegration cloud_data_lineage_integration = 8 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration for controlling how IPs are allocated in the @@ -701,7 +721,8 @@ message IPAllocationPolicy { // // For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, // this field is applicable only when `use_ip_aliases` is true. - string cluster_secondary_range_name = 2 [(google.api.field_behavior) = OPTIONAL]; + string cluster_secondary_range_name = 2 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The name of the services' secondary range used to allocate // IP addresses to the cluster. Specify either `services_secondary_range_name` @@ -709,7 +730,8 @@ message IPAllocationPolicy { // // For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, // this field is applicable only when `use_ip_aliases` is true. - string services_secondary_range_name = 3 [(google.api.field_behavior) = OPTIONAL]; + string services_secondary_range_name = 3 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The IP address range used to allocate IP addresses to pods in // the cluster. @@ -839,9 +861,9 @@ message NodeConfig { // composer-1.*.*-airflow-*.*.*. repeated string oauth_scopes = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The Google Cloud Platform Service Account to be used by the workloads. If a - // service account is not specified, the "default" Compute Engine service - // account is used. Cannot be updated. + // Optional. The Google Cloud Platform Service Account to be used by the + // workloads. If a service account is not specified, the "default" Compute + // Engine service account is used. Cannot be updated. string service_account = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. The list of instance tags applied to all node VMs. Tags are used @@ -854,16 +876,17 @@ message NodeConfig { repeated string tags = 8 [(google.api.field_behavior) = OPTIONAL]; // Optional. The IPAllocationPolicy fields for the GKE cluster. - IPAllocationPolicy ip_allocation_policy = 9 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The maximum number of pods per node in the Cloud Composer GKE cluster. - // The value must be between 8 and 110 and it can be set only if - // the environment is VPC-native. - // The default value is 32. Values of this field will be propagated both to - // the `default-pool` node pool of the newly created GKE cluster, and to the - // default "Maximum Pods per Node" value which is used for newly created - // node pools if their value is not explicitly set during node pool creation. - // For more information, see [Optimizing IP address allocation] + IPAllocationPolicy ip_allocation_policy = 9 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum number of pods per node in the Cloud Composer GKE + // cluster. The value must be between 8 and 110 and it can be set only if the + // environment is VPC-native. The default value is 32. Values of this field + // will be propagated both to the `default-pool` node pool of the newly + // created GKE cluster, and to the default "Maximum Pods per Node" value which + // is used for newly created node pools if their value is not explicitly set + // during node pool creation. For more information, see [Optimizing IP address + // allocation] // (https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr). // Cannot be updated. // @@ -887,16 +910,17 @@ message PrivateClusterConfig { // denied. bool enable_private_endpoint = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If - // left blank, the default value of '172.16.0.0/23' is used. + // Optional. The CIDR block from which IPv4 range for GKE master will be + // reserved. If left blank, the default value of '172.16.0.0/23' is used. string master_ipv4_cidr_block = 2 [(google.api.field_behavior) = OPTIONAL]; - // Output only. The IP range in CIDR notation to use for the hosted master network. This - // range is used for assigning internal IP addresses to the cluster - // master or set of masters and to the internal load balancer virtual IP. - // This range must not overlap with any other ranges in use - // within the cluster's network. - string master_ipv4_reserved_range = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The IP range in CIDR notation to use for the hosted master + // network. This range is used for assigning internal IP addresses to the + // cluster master or set of masters and to the internal load balancer virtual + // IP. This range must not overlap with any other ranges in use within the + // cluster's network. + string master_ipv4_reserved_range = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Configuration options for networking connections in the Composer 2 @@ -919,9 +943,9 @@ message NetworkingConfig { PRIVATE_SERVICE_CONNECT = 2; } - // Optional. Indicates the user requested specifc connection type between Tenant and - // Customer projects. - // You cannot set networking connection type in public IP environment. + // Optional. Indicates the user requested specifc connection type between + // Tenant and Customer projects. You cannot set networking connection type in + // public IP environment. ConnectionType connection_type = 1 [(google.api.field_behavior) = OPTIONAL]; } @@ -936,54 +960,66 @@ message PrivateEnvironmentConfig { // Optional. Configuration for the private GKE cluster for a Private IP // Cloud Composer environment. - PrivateClusterConfig private_cluster_config = 2 [(google.api.field_behavior) = OPTIONAL]; + PrivateClusterConfig private_cluster_config = 2 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The CIDR block from which IP range for web server will be reserved. Needs - // to be disjoint from private_cluster_config.master_ipv4_cidr_block and + // Optional. The CIDR block from which IP range for web server will be + // reserved. Needs to be disjoint from + // private_cluster_config.master_ipv4_cidr_block and // cloud_sql_ipv4_cidr_block. // // This field is supported for Cloud Composer environments in versions // composer-1.*.*-airflow-*.*.*. - string web_server_ipv4_cidr_block = 3 [(google.api.field_behavior) = OPTIONAL]; + string web_server_ipv4_cidr_block = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The CIDR block from which IP range in tenant project will be reserved for - // Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block + // Optional. The CIDR block from which IP range in tenant project will be + // reserved for Cloud SQL. Needs to be disjoint from + // web_server_ipv4_cidr_block string cloud_sql_ipv4_cidr_block = 4 [(google.api.field_behavior) = OPTIONAL]; // Output only. The IP range reserved for the tenant project's App Engine VMs. // // This field is supported for Cloud Composer environments in versions // composer-1.*.*-airflow-*.*.*. - string web_server_ipv4_reserved_range = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + string web_server_ipv4_reserved_range = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. The CIDR block from which IP range for Cloud Composer Network in tenant - // project will be reserved. Needs to be disjoint from + // Optional. The CIDR block from which IP range for Cloud Composer Network in + // tenant project will be reserved. Needs to be disjoint from // private_cluster_config.master_ipv4_cidr_block and // cloud_sql_ipv4_cidr_block. // // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. - string cloud_composer_network_ipv4_cidr_block = 7 [(google.api.field_behavior) = OPTIONAL]; + string cloud_composer_network_ipv4_cidr_block = 7 + [(google.api.field_behavior) = OPTIONAL]; - // Output only. The IP range reserved for the tenant project's Cloud Composer network. + // Output only. The IP range reserved for the tenant project's Cloud Composer + // network. // // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. - string cloud_composer_network_ipv4_reserved_range = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + string cloud_composer_network_ipv4_reserved_range = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for - // `IPAllocationPolicy.cluster_ipv4_cidr_block` and + // Optional. When enabled, IPs from public (non-RFC1918) ranges can be used + // for `IPAllocationPolicy.cluster_ipv4_cidr_block` and // `IPAllocationPolicy.service_ipv4_cidr_block`. - bool enable_privately_used_public_ips = 6 [(google.api.field_behavior) = OPTIONAL]; + bool enable_privately_used_public_ips = 6 + [(google.api.field_behavior) = OPTIONAL]; // Optional. When specified, the environment will use Private Service Connect // instead of VPC peerings to connect to Cloud SQL in the Tenant Project, // and the PSC endpoint in the Customer Project will use an IP address from // this subnetwork. - string cloud_composer_connection_subnetwork = 9 [(google.api.field_behavior) = OPTIONAL]; + string cloud_composer_connection_subnetwork = 9 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Configuration for the network connections configuration in the environment. - NetworkingConfig networking_config = 10 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Configuration for the network connections configuration in the + // environment. + NetworkingConfig networking_config = 10 + [(google.api.field_behavior) = OPTIONAL]; } // The configuration of Cloud SQL instance that is used by the Apache Airflow @@ -1014,9 +1050,9 @@ message WebServerConfig { // dependencies. Supported for Cloud Composer environments in versions // composer-1.*.*-airflow-*.*.*. message EncryptionConfig { - // Optional. Customer-managed Encryption Key available through Google's Key Management - // Service. Cannot be updated. - // If not specified, Google-managed key will be used. + // Optional. Customer-managed Encryption Key available through Google's Key + // Management Service. Cannot be updated. If not specified, Google-managed key + // will be used. string kms_key_name = 1 [(google.api.field_behavior) = OPTIONAL]; } @@ -1035,12 +1071,14 @@ message EncryptionConfig { // each Tuesday and Wednesday. message MaintenanceWindow { // Required. Start time of the first recurrence of the maintenance window. - google.protobuf.Timestamp start_time = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.Timestamp start_time = 1 + [(google.api.field_behavior) = REQUIRED]; - // Required. Maintenance window end time. It is used only to calculate the duration of - // the maintenance window. - // The value for end_time must be in the future, relative to `start_time`. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. Maintenance window end time. It is used only to calculate the + // duration of the maintenance window. The value for end_time must be in the + // future, relative to `start_time`. + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. Maintenance window recurrence. Format is a subset of // [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed @@ -1058,10 +1096,12 @@ message WorkloadsConfig { // Optional. CPU request and limit for a single Airflow scheduler replica. float cpu = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Memory (GB) request and limit for a single Airflow scheduler replica. + // Optional. Memory (GB) request and limit for a single Airflow scheduler + // replica. float memory_gb = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Storage (GB) request and limit for a single Airflow scheduler replica. + // Optional. Storage (GB) request and limit for a single Airflow scheduler + // replica. float storage_gb = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The number of schedulers. @@ -1085,10 +1125,12 @@ message WorkloadsConfig { // Optional. CPU request and limit for a single Airflow worker replica. float cpu = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Memory (GB) request and limit for a single Airflow worker replica. + // Optional. Memory (GB) request and limit for a single Airflow worker + // replica. float memory_gb = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Storage (GB) request and limit for a single Airflow worker replica. + // Optional. Storage (GB) request and limit for a single Airflow worker + // replica. float storage_gb = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. Minimum number of workers for autoscaling. @@ -1106,7 +1148,8 @@ message WorkloadsConfig { // Optional. CPU request and limit for a single Airflow triggerer replica. float cpu = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Memory (GB) request and limit for a single Airflow triggerer replica. + // Optional. Memory (GB) request and limit for a single Airflow triggerer + // replica. float memory_gb = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -1126,7 +1169,8 @@ message WorkloadsConfig { // The Recovery settings of an environment. message RecoveryConfig { // Optional. The configuration for scheduled snapshot creation mechanism. - ScheduledSnapshotsConfig scheduled_snapshots_config = 1 [(google.api.field_behavior) = OPTIONAL]; + ScheduledSnapshotsConfig scheduled_snapshots_config = 1 + [(google.api.field_behavior) = OPTIONAL]; } // The configuration for scheduled snapshot creation mechanism. @@ -1134,15 +1178,18 @@ message ScheduledSnapshotsConfig { // Optional. Whether scheduled snapshots creation is enabled. bool enabled = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The Cloud Storage location for storing automatically created snapshots. + // Optional. The Cloud Storage location for storing automatically created + // snapshots. string snapshot_location = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The cron expression representing the time when snapshots creation mechanism - // runs. This field is subject to additional validation around frequency of - // execution. - string snapshot_creation_schedule = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The cron expression representing the time when snapshots creation + // mechanism runs. This field is subject to additional validation around + // frequency of execution. + string snapshot_creation_schedule = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Time zone that sets the context to interpret snapshot_creation_schedule. + // Optional. Time zone that sets the context to interpret + // snapshot_creation_schedule. string time_zone = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -1213,18 +1260,20 @@ message Environment { // Configuration parameters for this environment. EnvironmentConfig config = 2; - // Output only. The UUID (Universally Unique IDentifier) associated with this environment. - // This value is generated when the environment is created. + // Output only. The UUID (Universally Unique IDentifier) associated with this + // environment. This value is generated when the environment is created. string uuid = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // The current state of the environment. State state = 4; // Output only. The time at which this environment was created. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time at which this environment was last modified. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. User-defined labels for this environment. // The labels map can contain no more than 64 entries. Entries of the labels @@ -1290,11 +1339,13 @@ message CheckUpgradeResponse { string build_log_uri = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Whether build has succeeded or failed on modules conflicts. - ConflictResult contains_pypi_modules_conflict = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + ConflictResult contains_pypi_modules_conflict = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Extract from a docker image build log containing information about pypi - // modules conflicts. - string pypi_conflict_build_log_extract = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Extract from a docker image build log containing information + // about pypi modules conflicts. + string pypi_conflict_build_log_extract = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Composer image for which the build was happening. string image_version = 5; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto index 08bc9f0f5870..98b467d4bf4f 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto @@ -20,17 +20,19 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/type/date.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1beta1;service"; +option go_package = "cloud.google.com/go/orchestration/airflow/service/apiv1beta1/servicepb;servicepb"; option java_multiple_files = true; option java_package = "com.google.cloud.orchestration.airflow.service.v1beta1"; // Readonly service to query available ImageVersions. service ImageVersions { option (google.api.default_host) = "composer.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // List ImageVersions for provided location. - rpc ListImageVersions(ListImageVersionsRequest) returns (ListImageVersionsResponse) { + rpc ListImageVersions(ListImageVersionsRequest) + returns (ListImageVersionsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/imageVersions" }; diff --git a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto index 5ba18a522996..bb5d78b51fcb 100644 --- a/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto +++ b/java-orchestration-airflow/proto-google-cloud-orchestration-airflow-v1beta1/src/main/proto/google/cloud/orchestration/airflow/service/v1beta1/operations.proto @@ -18,7 +18,7 @@ package google.cloud.orchestration.airflow.service.v1beta1; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1beta1;service"; +option go_package = "cloud.google.com/go/orchestration/airflow/service/apiv1beta1/servicepb;servicepb"; option java_multiple_files = true; option java_outer_classname = "OperationsProto"; option java_package = "com.google.cloud.orchestration.airflow.service.v1beta1"; @@ -83,7 +83,7 @@ message OperationMetadata { // Output only. The time the operation was submitted to the server. google.protobuf.Timestamp create_time = 5; - // Output only. The time when the operation terminated, regardless of its success. - // This field is unset if the operation is still ongoing. + // Output only. The time when the operation terminated, regardless of its + // success. This field is unset if the operation is still ongoing. google.protobuf.Timestamp end_time = 6; } diff --git a/java-orgpolicy/README.md b/java-orgpolicy/README.md index ba57b88c9a2b..0c2460ba939a 100644 --- a/java-orgpolicy/README.md +++ b/java-orgpolicy/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-orgpolicy - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orgpolicy:2.8.0' +implementation 'com.google.cloud:google-cloud-orgpolicy:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.9.0" ``` ## Authentication diff --git a/java-orgpolicy/google-cloud-orgpolicy-bom/pom.xml b/java-orgpolicy/google-cloud-orgpolicy-bom/pom.xml index c9944d326994..75377b567df3 100644 --- a/java-orgpolicy/google-cloud-orgpolicy-bom/pom.xml +++ b/java-orgpolicy/google-cloud-orgpolicy-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-orgpolicy-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -26,22 +26,22 @@ com.google.cloud google-cloud-orgpolicy - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-orgpolicy-v2 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-orgpolicy-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-orgpolicy-v2 - 2.9.0 + 2.10.0 diff --git a/java-orgpolicy/google-cloud-orgpolicy/pom.xml b/java-orgpolicy/google-cloud-orgpolicy/pom.xml index de4f6fc7f66c..79dca967b2cd 100644 --- a/java-orgpolicy/google-cloud-orgpolicy/pom.xml +++ b/java-orgpolicy/google-cloud-orgpolicy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-orgpolicy - 2.9.0 + 2.10.0 Google Cloud Org Policy The Org Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy. @@ -11,7 +11,7 @@ com.google.cloud google-cloud-orgpolicy-parent - 2.9.0 + 2.10.0 google-cloud-orgpolicy diff --git a/java-orgpolicy/grpc-google-cloud-orgpolicy-v2/pom.xml b/java-orgpolicy/grpc-google-cloud-orgpolicy-v2/pom.xml index 13a22f228250..6eeb5bb95544 100644 --- a/java-orgpolicy/grpc-google-cloud-orgpolicy-v2/pom.xml +++ b/java-orgpolicy/grpc-google-cloud-orgpolicy-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-orgpolicy-v2 - 2.9.0 + 2.10.0 grpc-google-cloud-orgpolicy-v2 GRPC library for grpc-google-cloud-orgpolicy-v2 com.google.cloud google-cloud-orgpolicy-parent - 2.9.0 + 2.10.0 diff --git a/java-orgpolicy/pom.xml b/java-orgpolicy/pom.xml index 9a76b06529e1..2d6323909b5a 100644 --- a/java-orgpolicy/pom.xml +++ b/java-orgpolicy/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-orgpolicy-parent pom - 2.9.0 + 2.10.0 Google Cloud Org Policy Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,22 +29,22 @@ com.google.api.grpc google-cloud-orgpolicy - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-orgpolicy-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-orgpolicy-v2 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-orgpolicy-v2 - 2.9.0 + 2.10.0 diff --git a/java-orgpolicy/proto-google-cloud-orgpolicy-v1/pom.xml b/java-orgpolicy/proto-google-cloud-orgpolicy-v1/pom.xml index de78cff3826f..22f2e3a0b250 100644 --- a/java-orgpolicy/proto-google-cloud-orgpolicy-v1/pom.xml +++ b/java-orgpolicy/proto-google-cloud-orgpolicy-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-orgpolicy-v1 - 2.9.0 + 2.10.0 proto-google-cloud-orgpolicy-v1 PROTO library for proto-google-cloud-orgpolicy-v1 com.google.cloud google-cloud-orgpolicy-parent - 2.9.0 + 2.10.0 diff --git a/java-orgpolicy/proto-google-cloud-orgpolicy-v1/src/main/java/com/google/cloud/orgpolicy/v1/OrgPolicyProto.java b/java-orgpolicy/proto-google-cloud-orgpolicy-v1/src/main/java/com/google/cloud/orgpolicy/v1/OrgPolicyProto.java index 8d9e87d091e5..31d54284ff94 100644 --- a/java-orgpolicy/proto-google-cloud-orgpolicy-v1/src/main/java/com/google/cloud/orgpolicy/v1/OrgPolicyProto.java +++ b/java-orgpolicy/proto-google-cloud-orgpolicy-v1/src/main/java/com/google/cloud/orgpolicy/v1/OrgPolicyProto.java @@ -70,13 +70,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\023inherit_from_parent\030\005 \001(\010\"<\n\tAllValues" + "\022\032\n\026ALL_VALUES_UNSPECIFIED\020\000\022\t\n\005ALLOW\020\001\022" + "\010\n\004DENY\020\002\032!\n\rBooleanPolicy\022\020\n\010enforced\030\001" - + " \001(\010\032\020\n\016RestoreDefaultB\r\n\013policy_typeB\314\001" + + " \001(\010\032\020\n\016RestoreDefaultB\r\n\013policy_typeB\305\001" + "\n\035com.google.cloud.orgpolicy.v1B\016OrgPoli" - + "cyProtoP\001ZBgoogle.golang.org/genproto/go" - + "ogleapis/cloud/orgpolicy/v1;orgpolicy\252\002\031" - + "Google.Cloud.OrgPolicy.V1\312\002\031Google\\Cloud" - + "\\OrgPolicy\\V1\352\002\034Google::Cloud::OrgPolicy" - + "::V1b\006proto3" + + "cyProtoP\001Z;cloud.google.com/go/orgpolicy" + + "/apiv1/orgpolicypb;orgpolicypb\252\002\031Google." + + "Cloud.OrgPolicy.V1\312\002\031Google\\Cloud\\OrgPol" + + "icy\\V1\352\002\034Google::Cloud::OrgPolicy::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-orgpolicy/proto-google-cloud-orgpolicy-v1/src/main/proto/google/cloud/orgpolicy/v1/orgpolicy.proto b/java-orgpolicy/proto-google-cloud-orgpolicy-v1/src/main/proto/google/cloud/orgpolicy/v1/orgpolicy.proto index a454180b79e7..5a3bb979aa9a 100644 --- a/java-orgpolicy/proto-google-cloud-orgpolicy-v1/src/main/proto/google/cloud/orgpolicy/v1/orgpolicy.proto +++ b/java-orgpolicy/proto-google-cloud-orgpolicy-v1/src/main/proto/google/cloud/orgpolicy/v1/orgpolicy.proto @@ -20,7 +20,7 @@ package google.cloud.orgpolicy.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.OrgPolicy.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/orgpolicy/v1;orgpolicy"; +option go_package = "cloud.google.com/go/orgpolicy/apiv1/orgpolicypb;orgpolicypb"; option java_multiple_files = true; option java_outer_classname = "OrgPolicyProto"; option java_package = "com.google.cloud.orgpolicy.v1"; diff --git a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/pom.xml b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/pom.xml index 7bef346d4e1a..6de9c8e2ef9b 100644 --- a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/pom.xml +++ b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-orgpolicy-v2 - 2.9.0 + 2.10.0 proto-google-cloud-orgpolicy-v2 PROTO library for proto-google-cloud-orgpolicy-v2 com.google.cloud google-cloud-orgpolicy-parent - 2.9.0 + 2.10.0 diff --git a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/ConstraintProto.java b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/ConstraintProto.java index 9117cf899403..c691ff54acdc 100644 --- a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/ConstraintProto.java +++ b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/ConstraintProto.java @@ -69,12 +69,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/constraints/{constraint}\022)folders/{fold" + "er}/constraints/{constraint}\0225organizati" + "ons/{organization}/constraints/{constrai" - + "nt}B\021\n\017constraint_typeB\315\001\n\035com.google.cl" - + "oud.orgpolicy.v2B\017ConstraintProtoP\001ZBgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/orgpolicy/v2;orgpolicy\252\002\031Google.Cloud.O" - + "rgPolicy.V2\312\002\031Google\\Cloud\\OrgPolicy\\V2\352" - + "\002\034Google::Cloud::OrgPolicy::V2b\006proto3" + + "nt}B\021\n\017constraint_typeB\306\001\n\035com.google.cl" + + "oud.orgpolicy.v2B\017ConstraintProtoP\001Z;clo" + + "ud.google.com/go/orgpolicy/apiv2/orgpoli" + + "cypb;orgpolicypb\252\002\031Google.Cloud.OrgPolic" + + "y.V2\312\002\031Google\\Cloud\\OrgPolicy\\V2\352\002\034Googl" + + "e::Cloud::OrgPolicy::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/OrgPolicyProto.java b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/OrgPolicyProto.java index 4de347d849d3..a55d1e10929c 100644 --- a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/OrgPolicyProto.java +++ b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/java/com/google/cloud/orgpolicy/v2/OrgPolicyProto.java @@ -194,12 +194,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ies/*}Z\'*%/v2/{name=organizations/*/poli" + "cies/*}\332A\004name\032L\312A\030orgpolicy.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\314\001\n\035com.google.cloud.orgpol" - + "icy.v2B\016OrgPolicyProtoP\001ZBgoogle.golang." - + "org/genproto/googleapis/cloud/orgpolicy/" - + "v2;orgpolicy\252\002\031Google.Cloud.OrgPolicy.V2" - + "\312\002\031Google\\Cloud\\OrgPolicy\\V2\352\002\034Google::C" - + "loud::OrgPolicy::V2b\006proto3" + + "oud-platformB\305\001\n\035com.google.cloud.orgpol" + + "icy.v2B\016OrgPolicyProtoP\001Z;cloud.google.c" + + "om/go/orgpolicy/apiv2/orgpolicypb;orgpol" + + "icypb\252\002\031Google.Cloud.OrgPolicy.V2\312\002\031Goog" + + "le\\Cloud\\OrgPolicy\\V2\352\002\034Google::Cloud::O" + + "rgPolicy::V2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/proto/google/cloud/orgpolicy/v2/constraint.proto b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/proto/google/cloud/orgpolicy/v2/constraint.proto index 9683a6a9c659..9a14e93fa879 100644 --- a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/proto/google/cloud/orgpolicy/v2/constraint.proto +++ b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/proto/google/cloud/orgpolicy/v2/constraint.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.OrgPolicy.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/orgpolicy/v2;orgpolicy"; +option go_package = "cloud.google.com/go/orgpolicy/apiv2/orgpolicypb;orgpolicypb"; option java_multiple_files = true; option java_outer_classname = "ConstraintProto"; option java_package = "com.google.cloud.orgpolicy.v2"; diff --git a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/proto/google/cloud/orgpolicy/v2/orgpolicy.proto b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/proto/google/cloud/orgpolicy/v2/orgpolicy.proto index 1e4b7c00a2ad..0504d0748245 100644 --- a/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/proto/google/cloud/orgpolicy/v2/orgpolicy.proto +++ b/java-orgpolicy/proto-google-cloud-orgpolicy-v2/src/main/proto/google/cloud/orgpolicy/v2/orgpolicy.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/expr.proto"; option csharp_namespace = "Google.Cloud.OrgPolicy.V2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/orgpolicy/v2;orgpolicy"; +option go_package = "cloud.google.com/go/orgpolicy/apiv2/orgpolicypb;orgpolicypb"; option java_multiple_files = true; option java_outer_classname = "OrgPolicyProto"; option java_package = "com.google.cloud.orgpolicy.v2"; diff --git a/java-os-config/README.md b/java-os-config/README.md index 1cbff288053e..e62432d832c1 100644 --- a/java-os-config/README.md +++ b/java-os-config/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-os-config - 2.10.0 + 2.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-config:2.10.0' +implementation 'com.google.cloud:google-cloud-os-config:2.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "2.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "2.11.0" ``` ## Authentication diff --git a/java-os-config/google-cloud-os-config-bom/pom.xml b/java-os-config/google-cloud-os-config-bom/pom.xml index 816e86554ec1..5bd379852592 100644 --- a/java-os-config/google-cloud-os-config-bom/pom.xml +++ b/java-os-config/google-cloud-os-config-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-os-config-bom - 2.11.0 + 2.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,37 +23,37 @@ com.google.cloud google-cloud-os-config - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-os-config-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-os-config-v1beta - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-os-config-v1alpha - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-os-config-v1 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-os-config-v1alpha - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-os-config-v1beta - 2.11.0 + 2.12.0 diff --git a/java-os-config/google-cloud-os-config/pom.xml b/java-os-config/google-cloud-os-config/pom.xml index 9cac4e5bf0ba..30bd5e5125a2 100644 --- a/java-os-config/google-cloud-os-config/pom.xml +++ b/java-os-config/google-cloud-os-config/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-os-config - 2.11.0 + 2.12.0 jar Google OS Config API provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances. com.google.cloud google-cloud-os-config-parent - 2.11.0 + 2.12.0 google-cloud-os-config diff --git a/java-os-config/grpc-google-cloud-os-config-v1/pom.xml b/java-os-config/grpc-google-cloud-os-config-v1/pom.xml index 4c9cc057a95a..ed22f1fced2d 100644 --- a/java-os-config/grpc-google-cloud-os-config-v1/pom.xml +++ b/java-os-config/grpc-google-cloud-os-config-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-os-config-v1 - 2.11.0 + 2.12.0 grpc-google-cloud-os-config-v1 GRPC library for grpc-google-cloud-os-config-v1 com.google.cloud google-cloud-os-config-parent - 2.11.0 + 2.12.0 diff --git a/java-os-config/grpc-google-cloud-os-config-v1alpha/pom.xml b/java-os-config/grpc-google-cloud-os-config-v1alpha/pom.xml index 2fc78356d97d..22aec5678ef6 100644 --- a/java-os-config/grpc-google-cloud-os-config-v1alpha/pom.xml +++ b/java-os-config/grpc-google-cloud-os-config-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-os-config-v1alpha - 2.11.0 + 2.12.0 grpc-google-cloud-os-config-v1alpha GRPC library for google-cloud-os-config com.google.cloud google-cloud-os-config-parent - 2.11.0 + 2.12.0 diff --git a/java-os-config/grpc-google-cloud-os-config-v1beta/pom.xml b/java-os-config/grpc-google-cloud-os-config-v1beta/pom.xml index 4e7b0451495d..c98f90d50ba7 100644 --- a/java-os-config/grpc-google-cloud-os-config-v1beta/pom.xml +++ b/java-os-config/grpc-google-cloud-os-config-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-os-config-v1beta - 2.11.0 + 2.12.0 grpc-google-cloud-os-config-v1beta GRPC library for google-cloud-os-config com.google.cloud google-cloud-os-config-parent - 2.11.0 + 2.12.0 diff --git a/java-os-config/pom.xml b/java-os-config/pom.xml index 95df32b65603..be4e870a874f 100644 --- a/java-os-config/pom.xml +++ b/java-os-config/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-os-config-parent pom - 2.11.0 + 2.12.0 Google OS Config API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,37 +29,37 @@ com.google.cloud google-cloud-os-config - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-os-config-v1beta - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-os-config-v1alpha - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-os-config-v1alpha - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-os-config-v1beta - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-os-config-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-os-config-v1 - 2.11.0 + 2.12.0 diff --git a/java-os-config/proto-google-cloud-os-config-v1/pom.xml b/java-os-config/proto-google-cloud-os-config-v1/pom.xml index 99dc194e0ad8..2990f9245943 100644 --- a/java-os-config/proto-google-cloud-os-config-v1/pom.xml +++ b/java-os-config/proto-google-cloud-os-config-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-os-config-v1 - 2.11.0 + 2.12.0 proto-google-cloud-os-config-v1 PROTO library for proto-google-cloud-os-config-v1 com.google.cloud google-cloud-os-config-parent - 2.11.0 + 2.12.0 diff --git a/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java b/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java index 21ba3bb8feab..983c097459fe 100644 --- a/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java +++ b/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java @@ -889,12 +889,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n.google/cloud/osconfig/v1/osconfig_comm" + "on.proto\022\030google.cloud.osconfig.v1\"<\n\016Fi" + "xedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n\007percent" - + "\030\002 \001(\005H\000B\006\n\004modeB\274\001\n\034com.google.cloud.os" - + "config.v1B\006CommonZ@google.golang.org/gen" - + "proto/googleapis/cloud/osconfig/v1;oscon" - + "fig\252\002\030Google.Cloud.OsConfig.V1\312\002\030Google\\" - + "Cloud\\OsConfig\\V1\352\002\033Google::Cloud::OsCon" - + "fig::V1b\006proto3" + + "\030\002 \001(\005H\000B\006\n\004modeB\264\001\n\034com.google.cloud.os" + + "config.v1B\006CommonZ8cloud.google.com/go/o" + + "sconfig/apiv1/osconfigpb;osconfigpb\252\002\030Go" + + "ogle.Cloud.OsConfig.V1\312\002\030Google\\Cloud\\Os" + + "Config\\V1\352\002\033Google::Cloud::OsConfig::V1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java b/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java index df1ca18caff0..7066b5620de6 100644 --- a/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java +++ b/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Inventories.java @@ -178,12 +178,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e\0228\n\013inventories\030\001 \003(\0132#.google.cloud.os" + "config.v1.Inventory\022\027\n\017next_page_token\030\002" + " \001(\t*D\n\rInventoryView\022\036\n\032INVENTORY_VIEW_" - + "UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\303\001\n\034c" + + "UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\273\001\n\034c" + "om.google.cloud.osconfig.v1B\013Inventories" - + "P\001Z@google.golang.org/genproto/googleapi" - + "s/cloud/osconfig/v1;osconfig\252\002\030Google.Cl" - + "oud.OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\" - + "V1\352\002\033Google::Cloud::OsConfig::V1b\006proto3" + + "P\001Z8cloud.google.com/go/osconfig/apiv1/o" + + "sconfigpb;osconfigpb\252\002\030Google.Cloud.OsCo" + + "nfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Goo" + + "gle::Cloud::OsConfig::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java b/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java index c49ae561a70c..b5fe2a62143d 100644 --- a/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java +++ b/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OSPolicyAssignmentReportsProto.java @@ -130,16 +130,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".com/OSPolicyAssignmentReport\022dprojects/" + "{project}/locations/{location}/instances" + "/{instance}/osPolicyAssignments/{assignm" - + "ent}/reportB\355\002\n\034com.google.cloud.osconfi" - + "g.v1B\036OSPolicyAssignmentReportsProtoP\001Z@" - + "google.golang.org/genproto/googleapis/cl" - + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." - + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" - + "\033Google::Cloud::OsConfig::V1\352A\223\001\n2osconf" - + "ig.googleapis.com/InstanceOSPolicyAssign" - + "ment\022]projects/{project}/locations/{loca" - + "tion}/instances/{instance}/osPolicyAssig" - + "nments/{assignment}b\006proto3" + + "ent}/reportB\345\002\n\034com.google.cloud.osconfi" + + "g.v1B\036OSPolicyAssignmentReportsProtoP\001Z8" + + "cloud.google.com/go/osconfig/apiv1/oscon" + + "figpb;osconfigpb\252\002\030Google.Cloud.OsConfig" + + ".V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002\033Google:" + + ":Cloud::OsConfig::V1\352A\223\001\n2osconfig.googl" + + "eapis.com/InstanceOSPolicyAssignment\022]pr" + + "ojects/{project}/locations/{location}/in" + + "stances/{instance}/osPolicyAssignments/{" + + "assignment}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java b/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java index 0ebbb374ec1c..7e426e71a0ab 100644 --- a/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java +++ b/java-os-config/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/OsConfigProto.java @@ -100,16 +100,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oyment\"A\202\323\344\223\0024\"//v1/{name=projects/*/pat" + "chDeployments/*}:resume:\001*\332A\004name\032K\312A\027os" + "config.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\334\002\n\034com.g" - + "oogle.cloud.osconfig.v1B\rOsConfigProtoZ@" - + "google.golang.org/genproto/googleapis/cl" - + "oud/osconfig/v1;osconfig\252\002\030Google.Cloud." - + "OsConfig.V1\312\002\030Google\\Cloud\\OsConfig\\V1\352\002" - + "\033Google::Cloud::OsConfig::V1\352A\225\001\n\037comput" - + "e.googleapis.com/Instance\0224projects/{pro" - + "ject}/zones/{zone}/instances/{instance}\022" - + "4.0.0 com.google.api.grpc proto-google-cloud-os-config-v1alpha - 2.11.0 + 2.12.0 proto-google-cloud-os-config-v1alpha Proto library for google-cloud-os-config com.google.cloud google-cloud-os-config-parent - 2.11.0 + 2.12.0 diff --git a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java index 725054f2097e..1f50a4ad9455 100644 --- a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java +++ b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Common.java @@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n3google/cloud/osconfig/v1alpha/osconfig" + "_common.proto\022\035google.cloud.osconfig.v1a" + "lpha\"<\n\016FixedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022" - + "\021\n\007percent\030\002 \001(\005H\000B\006\n\004modeB\327\001\n!com.googl" - + "e.cloud.osconfig.v1alphaB\006CommonP\001ZEgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "osconfig/v1alpha;osconfig\252\002\035Google.Cloud" - + ".OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConfi" - + "g\\V1alpha\352\002 Google::Cloud::OsConfig::V1a" - + "lphab\006proto3" + + "\021\n\007percent\030\002 \001(\005H\000B\006\n\004modeB\317\001\n!com.googl" + + "e.cloud.osconfig.v1alphaB\006CommonP\001Z=clou" + + "d.google.com/go/osconfig/apiv1alpha/osco" + + "nfigpb;osconfigpb\252\002\035Google.Cloud.OsConfi" + + "g.V1Alpha\312\002\035Google\\Cloud\\OsConfig\\V1alph" + + "a\352\002 Google::Cloud::OsConfig::V1alphab\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java index 6d1088ce0d01..b0cb11cd8aec 100644 --- a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java +++ b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/ConfigCommonProto.java @@ -74,13 +74,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "icyComplianceState\022*\n&OS_POLICY_COMPLIAN" + "CE_STATE_UNSPECIFIED\020\000\022\r\n\tCOMPLIANT\020\001\022\021\n" + "\rNON_COMPLIANT\020\002\022\013\n\007UNKNOWN\020\003\022\035\n\031NO_OS_P" - + "OLICIES_APPLICABLE\020\004\032\002\030\001B\342\001\n!com.google." + + "OLICIES_APPLICABLE\020\004\032\002\030\001B\332\001\n!com.google." + "cloud.osconfig.v1alphaB\021ConfigCommonProt" - + "oP\001ZEgoogle.golang.org/genproto/googleap" - + "is/cloud/osconfig/v1alpha;osconfig\252\002\035Goo" - + "gle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Clou" - + "d\\OsConfig\\V1alpha\352\002 Google::Cloud::OsCo" - + "nfig::V1alphab\006proto3" + + "oP\001Z=cloud.google.com/go/osconfig/apiv1a" + + "lpha/osconfigpb;osconfigpb\252\002\035Google.Clou" + + "d.OsConfig.V1Alpha\312\002\035Google\\Cloud\\OsConf" + + "ig\\V1alpha\352\002 Google::Cloud::OsConfig::V1" + + "alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java index 5e526f65e497..2db1ebfdd370 100644 --- a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java +++ b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/InstanceOSPoliciesComplianceProto.java @@ -95,14 +95,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pliancesResponse\022e\n instance_os_policies" + "_compliances\030\001 \003(\0132;.google.cloud.osconf" + "ig.v1alpha.InstanceOSPoliciesCompliance\022" - + "\027\n\017next_page_token\030\002 \001(\t:\002\030\001B\362\001\n!com.goo" + + "\027\n\017next_page_token\030\002 \001(\t:\002\030\001B\352\001\n!com.goo" + "gle.cloud.osconfig.v1alphaB!InstanceOSPo" - + "liciesComplianceProtoP\001ZEgoogle.golang.o" - + "rg/genproto/googleapis/cloud/osconfig/v1" - + "alpha;osconfig\252\002\035Google.Cloud.OsConfig.V" - + "1Alpha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352\002" - + " Google::Cloud::OsConfig::V1alphab\006proto" - + "3" + + "liciesComplianceProtoP\001Z=cloud.google.co" + + "m/go/osconfig/apiv1alpha/osconfigpb;osco" + + "nfigpb\252\002\035Google.Cloud.OsConfig.V1Alpha\312\002" + + "\035Google\\Cloud\\OsConfig\\V1alpha\352\002 Google:" + + ":Cloud::OsConfig::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java index b711380aa8d9..31cf6b95d138 100644 --- a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java +++ b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/Inventories.java @@ -181,13 +181,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "inventories\030\001 \003(\0132(.google.cloud.osconfi" + "g.v1alpha.Inventory\022\027\n\017next_page_token\030\002" + " \001(\t*D\n\rInventoryView\022\036\n\032INVENTORY_VIEW_" - + "UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\334\001\n!c" + + "UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\324\001\n!c" + "om.google.cloud.osconfig.v1alphaB\013Invent" - + "oriesP\001ZEgoogle.golang.org/genproto/goog" - + "leapis/cloud/osconfig/v1alpha;osconfig\252\002" - + "\035Google.Cloud.OsConfig.V1Alpha\312\002\035Google\\" - + "Cloud\\OsConfig\\V1alpha\352\002 Google::Cloud::" - + "OsConfig::V1alphab\006proto3" + + "oriesP\001Z=cloud.google.com/go/osconfig/ap" + + "iv1alpha/osconfigpb;osconfigpb\252\002\035Google." + + "Cloud.OsConfig.V1Alpha\312\002\035Google\\Cloud\\Os" + + "Config\\V1alpha\352\002 Google::Cloud::OsConfig" + + "::V1alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java index 182d96ef724e..b7ca5269c685 100644 --- a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java +++ b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OSPolicyAssignmentReportsProto.java @@ -131,17 +131,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "googleapis.com/OSPolicyAssignmentReport\022" + "dprojects/{project}/locations/{location}" + "/instances/{instance}/osPolicyAssignment" - + "s/{assignment}/reportB\205\003\n!com.google.clo" + + "s/{assignment}/reportB\375\002\n!com.google.clo" + "ud.osconfig.v1alphaB\036OSPolicyAssignmentR" - + "eportsProtoP\001ZEgoogle.golang.org/genprot" - + "o/googleapis/cloud/osconfig/v1alpha;osco" - + "nfig\252\002\035Google.Cloud.OsConfig.V1Alpha\312\002\035G" - + "oogle\\Cloud\\OsConfig\\V1alpha\352\002 Google::C" - + "loud::OsConfig::V1alpha\352A\222\001\n1compute.goo" - + "gleapis.com/InstanceOSPolicyAssignment\022]" - + "projects/{project}/locations/{location}/" - + "instances/{instance}/osPolicyAssignments" - + "/{assignment}b\006proto3" + + "eportsProtoP\001Z=cloud.google.com/go/oscon" + + "fig/apiv1alpha/osconfigpb;osconfigpb\252\002\035G" + + "oogle.Cloud.OsConfig.V1Alpha\312\002\035Google\\Cl" + + "oud\\OsConfig\\V1alpha\352\002 Google::Cloud::Os" + + "Config::V1alpha\352A\222\001\n1compute.googleapis." + + "com/InstanceOSPolicyAssignment\022]projects" + + "/{project}/locations/{location}/instance" + + "s/{instance}/osPolicyAssignments/{assign" + + "ment}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java index 39edb95e9ead..b436a972b7d1 100644 --- a/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java +++ b/java-os-config/proto-google-cloud-os-config-v1alpha/src/main/java/com/google/cloud/osconfig/v1alpha/OsConfigZonalServiceProto.java @@ -139,16 +139,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ha/{parent=projects/*/locations/*/instan" + "ces/*}/vulnerabilityReports\332A\006parent\032K\312A" + "\027osconfig.googleapis.com\322A.https://www.g" - + "oogleapis.com/auth/cloud-platformB\314\002\n!co" + + "oogleapis.com/auth/cloud-platformB\304\002\n!co" + "m.google.cloud.osconfig.v1alphaB\031OsConfi" - + "gZonalServiceProtoP\001ZEgoogle.golang.org/" - + "genproto/googleapis/cloud/osconfig/v1alp" - + "ha;osconfig\252\002\035Google.Cloud.OsConfig.V1Al" - + "pha\312\002\035Google\\Cloud\\OsConfig\\V1alpha\352\002 Go" - + "ogle::Cloud::OsConfig::V1alpha\352A_\n\037compu" - + "te.googleapis.com/Instance\0224.0.0 com.google.api.grpc proto-google-cloud-os-config-v1beta - 2.11.0 + 2.12.0 proto-google-cloud-os-config-v1beta Proto library for google-cloud-os-config com.google.cloud google-cloud-os-config-parent - 2.11.0 + 2.12.0 diff --git a/java-os-config/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java b/java-os-config/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java index 4a39b3fc1045..e2b8ed895ed3 100644 --- a/java-os-config/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java +++ b/java-os-config/proto-google-cloud-os-config-v1beta/src/main/java/com/google/cloud/osconfig/v1beta/Common.java @@ -891,10 +891,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n2google/cloud/osconfig/v1beta/osconfig_" + "common.proto\022\034google.cloud.osconfig.v1be" + "ta\"<\n\016FixedOrPercent\022\017\n\005fixed\030\001 \001(\005H\000\022\021\n" - + "\007percent\030\002 \001(\005H\000B\006\n\004modeBp\n com.google.c" - + "loud.osconfig.v1betaB\006CommonZDgoogle.gol" - + "ang.org/genproto/googleapis/cloud/osconf" - + "ig/v1beta;osconfigb\006proto3" + + "\007percent\030\002 \001(\005H\000B\006\n\004modeBh\n com.google.c" + + "loud.osconfig.v1betaB\006CommonZ com.google.cloud google-cloud-os-login - 2.7.0 + 2.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-login:2.7.0' +implementation 'com.google.cloud:google-cloud-os-login:2.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.8.0" ``` ## Authentication diff --git a/java-os-login/google-cloud-os-login-bom/pom.xml b/java-os-login/google-cloud-os-login-bom/pom.xml index 4d6b0fe2e401..85a6fdbc57c8 100644 --- a/java-os-login/google-cloud-os-login-bom/pom.xml +++ b/java-os-login/google-cloud-os-login-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-os-login-bom - 2.8.0 + 2.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-os-login - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 2.8.0 + 2.9.0 com.google.api.grpc proto-google-cloud-os-login-v1 - 2.8.0 + 2.9.0 diff --git a/java-os-login/google-cloud-os-login/pom.xml b/java-os-login/google-cloud-os-login/pom.xml index 0bea54e5c7f1..8c66bd1c0bdc 100644 --- a/java-os-login/google-cloud-os-login/pom.xml +++ b/java-os-login/google-cloud-os-login/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-os-login - 2.8.0 + 2.9.0 jar Google Cloud OS Login Java idiomatic client for Google Cloud OS Login com.google.cloud google-cloud-os-login-parent - 2.8.0 + 2.9.0 google-cloud-os-login diff --git a/java-os-login/grpc-google-cloud-os-login-v1/pom.xml b/java-os-login/grpc-google-cloud-os-login-v1/pom.xml index 65087b30baad..20911eb60180 100644 --- a/java-os-login/grpc-google-cloud-os-login-v1/pom.xml +++ b/java-os-login/grpc-google-cloud-os-login-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 2.8.0 + 2.9.0 grpc-google-cloud-os-login-v1 GRPC library for grpc-google-cloud-os-login-v1 com.google.cloud google-cloud-os-login-parent - 2.8.0 + 2.9.0 diff --git a/java-os-login/pom.xml b/java-os-login/pom.xml index 85f6fd747684..bb06141e7fa2 100644 --- a/java-os-login/pom.xml +++ b/java-os-login/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-os-login-parent pom - 2.8.0 + 2.9.0 Google Cloud OS Login Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-os-login-v1 - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-os-login-v1 - 2.8.0 + 2.9.0 com.google.cloud google-cloud-os-login - 2.8.0 + 2.9.0 diff --git a/java-os-login/proto-google-cloud-os-login-v1/pom.xml b/java-os-login/proto-google-cloud-os-login-v1/pom.xml index 971976cb6d4f..940321572fdd 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/pom.xml +++ b/java-os-login/proto-google-cloud-os-login-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-os-login-v1 - 2.8.0 + 2.9.0 proto-google-cloud-os-login-v1 PROTO library for proto-google-cloud-os-login-v1 com.google.cloud google-cloud-os-login-parent - 2.8.0 + 2.9.0 diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java index d40fc4a552b4..80b82c25d115 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/OsLoginProto.java @@ -3812,14 +3812,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "n.googleapis.com/SshPublicKey\022(users/{us" + "er}/sshPublicKeys/{fingerprint}*T\n\023Opera" + "tingSystemType\022%\n!OPERATING_SYSTEM_TYPE_" - + "UNSPECIFIED\020\000\022\t\n\005LINUX\020\001\022\013\n\007WINDOWS\020\002B\375\001" + + "UNSPECIFIED\020\000\022\t\n\005LINUX\020\001\022\013\n\007WINDOWS\020\002B\360\001" + "\n\037com.google.cloud.oslogin.commonB\014OsLog" - + "inProtoZAgoogle.golang.org/genproto/goog" - + "leapis/cloud/oslogin/common;common\252\002\033Goo" - + "gle.Cloud.OsLogin.Common\312\002\033Google\\Cloud\\" - + "OsLogin\\Common\352\002\036Google::Cloud::OsLogin:" - + ":Common\352A+\n\033oslogin.googleapis.com/User\022" - + "\014users/{user}b\006proto3" + + "inProtoZ4cloud.google.com/go/oslogin/com" + + "mon/commonpb;commonpb\252\002\033Google.Cloud.OsL" + + "ogin.Common\312\002\033Google\\Cloud\\OsLogin\\Commo" + + "n\352\002\036Google::Cloud::OsLogin::Common\352A+\n\033o" + + "slogin.googleapis.com/User\022\014users/{user}" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java index e0551dd21f09..76a9effccc86 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequest.java @@ -75,9 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Required. A reference to the POSIX account to update. POSIX accounts are identified
      -   * by the project ID they are associated with. A reference to the POSIX
      -   * account is in format `users/{user}/projects/{project}`.
      +   * Required. A reference to the POSIX account to update. POSIX accounts are
      +   * identified by the project ID they are associated with. A reference to the
      +   * POSIX account is in format `users/{user}/projects/{project}`.
          * 
      * * @@ -102,9 +102,9 @@ public java.lang.String getName() { * * *
      -   * Required. A reference to the POSIX account to update. POSIX accounts are identified
      -   * by the project ID they are associated with. A reference to the POSIX
      -   * account is in format `users/{user}/projects/{project}`.
      +   * Required. A reference to the POSIX account to update. POSIX accounts are
      +   * identified by the project ID they are associated with. A reference to the
      +   * POSIX account is in format `users/{user}/projects/{project}`.
          * 
      * * @@ -474,9 +474,9 @@ public Builder mergeFrom( * * *
      -     * Required. A reference to the POSIX account to update. POSIX accounts are identified
      -     * by the project ID they are associated with. A reference to the POSIX
      -     * account is in format `users/{user}/projects/{project}`.
      +     * Required. A reference to the POSIX account to update. POSIX accounts are
      +     * identified by the project ID they are associated with. A reference to the
      +     * POSIX account is in format `users/{user}/projects/{project}`.
            * 
      * * @@ -500,9 +500,9 @@ public java.lang.String getName() { * * *
      -     * Required. A reference to the POSIX account to update. POSIX accounts are identified
      -     * by the project ID they are associated with. A reference to the POSIX
      -     * account is in format `users/{user}/projects/{project}`.
      +     * Required. A reference to the POSIX account to update. POSIX accounts are
      +     * identified by the project ID they are associated with. A reference to the
      +     * POSIX account is in format `users/{user}/projects/{project}`.
            * 
      * * @@ -526,9 +526,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
      -     * Required. A reference to the POSIX account to update. POSIX accounts are identified
      -     * by the project ID they are associated with. A reference to the POSIX
      -     * account is in format `users/{user}/projects/{project}`.
      +     * Required. A reference to the POSIX account to update. POSIX accounts are
      +     * identified by the project ID they are associated with. A reference to the
      +     * POSIX account is in format `users/{user}/projects/{project}`.
            * 
      * * @@ -551,9 +551,9 @@ public Builder setName(java.lang.String value) { * * *
      -     * Required. A reference to the POSIX account to update. POSIX accounts are identified
      -     * by the project ID they are associated with. A reference to the POSIX
      -     * account is in format `users/{user}/projects/{project}`.
      +     * Required. A reference to the POSIX account to update. POSIX accounts are
      +     * identified by the project ID they are associated with. A reference to the
      +     * POSIX account is in format `users/{user}/projects/{project}`.
            * 
      * * @@ -572,9 +572,9 @@ public Builder clearName() { * * *
      -     * Required. A reference to the POSIX account to update. POSIX accounts are identified
      -     * by the project ID they are associated with. A reference to the POSIX
      -     * account is in format `users/{user}/projects/{project}`.
      +     * Required. A reference to the POSIX account to update. POSIX accounts are
      +     * identified by the project ID they are associated with. A reference to the
      +     * POSIX account is in format `users/{user}/projects/{project}`.
            * 
      * * diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequestOrBuilder.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequestOrBuilder.java index ce7709d79ec1..84041897a7fe 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequestOrBuilder.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeletePosixAccountRequestOrBuilder.java @@ -27,9 +27,9 @@ public interface DeletePosixAccountRequestOrBuilder * * *
      -   * Required. A reference to the POSIX account to update. POSIX accounts are identified
      -   * by the project ID they are associated with. A reference to the POSIX
      -   * account is in format `users/{user}/projects/{project}`.
      +   * Required. A reference to the POSIX account to update. POSIX accounts are
      +   * identified by the project ID they are associated with. A reference to the
      +   * POSIX account is in format `users/{user}/projects/{project}`.
          * 
      * * @@ -43,9 +43,9 @@ public interface DeletePosixAccountRequestOrBuilder * * *
      -   * Required. A reference to the POSIX account to update. POSIX accounts are identified
      -   * by the project ID they are associated with. A reference to the POSIX
      -   * account is in format `users/{user}/projects/{project}`.
      +   * Required. A reference to the POSIX account to update. POSIX accounts are
      +   * identified by the project ID they are associated with. A reference to the
      +   * POSIX account is in format `users/{user}/projects/{project}`.
          * 
      * * diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java index 74e2935e0393..9efeac7785b4 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequest.java @@ -75,9 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Required. The fingerprint of the public key to update. Public keys are identified by
      -   * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -   * `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to update. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * @@ -102,9 +102,9 @@ public java.lang.String getName() { * * *
      -   * Required. The fingerprint of the public key to update. Public keys are identified by
      -   * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -   * `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to update. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * @@ -474,9 +474,9 @@ public Builder mergeFrom( * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -500,9 +500,9 @@ public java.lang.String getName() { * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -526,9 +526,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -551,9 +551,9 @@ public Builder setName(java.lang.String value) { * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -572,9 +572,9 @@ public Builder clearName() { * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequestOrBuilder.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequestOrBuilder.java index 68d1a740d015..cd1bf33ae6eb 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequestOrBuilder.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/DeleteSshPublicKeyRequestOrBuilder.java @@ -27,9 +27,9 @@ public interface DeleteSshPublicKeyRequestOrBuilder * * *
      -   * Required. The fingerprint of the public key to update. Public keys are identified by
      -   * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -   * `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to update. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * @@ -43,9 +43,9 @@ public interface DeleteSshPublicKeyRequestOrBuilder * * *
      -   * Required. The fingerprint of the public key to update. Public keys are identified by
      -   * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -   * `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to update. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java index 84147a2c1a64..629444d14fdf 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequest.java @@ -75,9 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Required. The fingerprint of the public key to retrieve. Public keys are identified
      -   * by their SHA-256 fingerprint. The fingerprint of the public key is in
      -   * format `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to retrieve. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * @@ -102,9 +102,9 @@ public java.lang.String getName() { * * *
      -   * Required. The fingerprint of the public key to retrieve. Public keys are identified
      -   * by their SHA-256 fingerprint. The fingerprint of the public key is in
      -   * format `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to retrieve. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * @@ -473,9 +473,9 @@ public Builder mergeFrom( * * *
      -     * Required. The fingerprint of the public key to retrieve. Public keys are identified
      -     * by their SHA-256 fingerprint. The fingerprint of the public key is in
      -     * format `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to retrieve. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -499,9 +499,9 @@ public java.lang.String getName() { * * *
      -     * Required. The fingerprint of the public key to retrieve. Public keys are identified
      -     * by their SHA-256 fingerprint. The fingerprint of the public key is in
      -     * format `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to retrieve. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -525,9 +525,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
      -     * Required. The fingerprint of the public key to retrieve. Public keys are identified
      -     * by their SHA-256 fingerprint. The fingerprint of the public key is in
      -     * format `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to retrieve. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -550,9 +550,9 @@ public Builder setName(java.lang.String value) { * * *
      -     * Required. The fingerprint of the public key to retrieve. Public keys are identified
      -     * by their SHA-256 fingerprint. The fingerprint of the public key is in
      -     * format `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to retrieve. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -571,9 +571,9 @@ public Builder clearName() { * * *
      -     * Required. The fingerprint of the public key to retrieve. Public keys are identified
      -     * by their SHA-256 fingerprint. The fingerprint of the public key is in
      -     * format `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to retrieve. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequestOrBuilder.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequestOrBuilder.java index 62383b71aa0e..2a9e6c435f33 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequestOrBuilder.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/GetSshPublicKeyRequestOrBuilder.java @@ -27,9 +27,9 @@ public interface GetSshPublicKeyRequestOrBuilder * * *
      -   * Required. The fingerprint of the public key to retrieve. Public keys are identified
      -   * by their SHA-256 fingerprint. The fingerprint of the public key is in
      -   * format `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to retrieve. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * @@ -43,9 +43,9 @@ public interface GetSshPublicKeyRequestOrBuilder * * *
      -   * Required. The fingerprint of the public key to retrieve. Public keys are identified
      -   * by their SHA-256 fingerprint. The fingerprint of the public key is in
      -   * format `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to retrieve. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java index bdd184bf5033..55090ad38abc 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/OsLoginProto.java @@ -155,12 +155,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "com/auth/cloud-platform.read-only,https:" + "//www.googleapis.com/auth/compute,https:" + "//www.googleapis.com/auth/compute.readon" - + "lyB\276\001\n\033com.google.cloud.oslogin.v1B\014OsLo" - + "ginProtoP\001Z>google.golang.org/genproto/g" - + "oogleapis/cloud/oslogin/v1;oslogin\252\002\027Goo" - + "gle.Cloud.OsLogin.V1\312\002\027Google\\Cloud\\OsLo" - + "gin\\V1\352\002\032Google::Cloud::OsLogin::V1b\006pro" - + "to3" + + "lyB\265\001\n\033com.google.cloud.oslogin.v1B\014OsLo" + + "ginProtoP\001Z5cloud.google.com/go/oslogin/" + + "apiv1/osloginpb;osloginpb\252\002\027Google.Cloud" + + ".OsLogin.V1\312\002\027Google\\Cloud\\OsLogin\\V1\352\002\032" + + "Google::Cloud::OsLogin::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java index 3664b777f590..25abb9917533 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequest.java @@ -75,9 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Required. The fingerprint of the public key to update. Public keys are identified by
      -   * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -   * `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to update. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * @@ -102,9 +102,9 @@ public java.lang.String getName() { * * *
      -   * Required. The fingerprint of the public key to update. Public keys are identified by
      -   * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -   * `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to update. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * @@ -640,9 +640,9 @@ public Builder mergeFrom( * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -666,9 +666,9 @@ public java.lang.String getName() { * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -692,9 +692,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -717,9 +717,9 @@ public Builder setName(java.lang.String value) { * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * @@ -738,9 +738,9 @@ public Builder clearName() { * * *
      -     * Required. The fingerprint of the public key to update. Public keys are identified by
      -     * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -     * `users/{user}/sshPublicKeys/{fingerprint}`.
      +     * Required. The fingerprint of the public key to update. Public keys are
      +     * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +     * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
            * 
      * * diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequestOrBuilder.java b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequestOrBuilder.java index 6136f982317e..925c02b659cb 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequestOrBuilder.java +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/v1/UpdateSshPublicKeyRequestOrBuilder.java @@ -27,9 +27,9 @@ public interface UpdateSshPublicKeyRequestOrBuilder * * *
      -   * Required. The fingerprint of the public key to update. Public keys are identified by
      -   * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -   * `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to update. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * @@ -43,9 +43,9 @@ public interface UpdateSshPublicKeyRequestOrBuilder * * *
      -   * Required. The fingerprint of the public key to update. Public keys are identified by
      -   * their SHA-256 fingerprint. The fingerprint of the public key is in format
      -   * `users/{user}/sshPublicKeys/{fingerprint}`.
      +   * Required. The fingerprint of the public key to update. Public keys are
      +   * identified by their SHA-256 fingerprint. The fingerprint of the public key
      +   * is in format `users/{user}/sshPublicKeys/{fingerprint}`.
          * 
      * * diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/proto/google/cloud/oslogin/common/common.proto b/java-os-login/proto-google-cloud-os-login-v1/src/main/proto/google/cloud/oslogin/common/common.proto index 6eeaf8908d86..de96a9b51fea 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/proto/google/cloud/oslogin/common/common.proto +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/proto/google/cloud/oslogin/common/common.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.OsLogin.Common"; -option go_package = "google.golang.org/genproto/googleapis/cloud/oslogin/common;common"; +option go_package = "cloud.google.com/go/oslogin/common/commonpb;commonpb"; option java_outer_classname = "OsLoginProto"; option java_package = "com.google.cloud.oslogin.common"; option php_namespace = "Google\\Cloud\\OsLogin\\Common"; diff --git a/java-os-login/proto-google-cloud-os-login-v1/src/main/proto/google/cloud/oslogin/v1/oslogin.proto b/java-os-login/proto-google-cloud-os-login-v1/src/main/proto/google/cloud/oslogin/v1/oslogin.proto index fb3575600c47..0b4f570255aa 100644 --- a/java-os-login/proto-google-cloud-os-login-v1/src/main/proto/google/cloud/oslogin/v1/oslogin.proto +++ b/java-os-login/proto-google-cloud-os-login-v1/src/main/proto/google/cloud/oslogin/v1/oslogin.proto @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.OsLogin.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/oslogin/v1;oslogin"; +option go_package = "cloud.google.com/go/oslogin/apiv1/osloginpb;osloginpb"; option java_multiple_files = true; option java_outer_classname = "OsLoginProto"; option java_package = "com.google.cloud.oslogin.v1"; @@ -45,7 +45,8 @@ service OsLoginService { "https://www.googleapis.com/auth/compute.readonly"; // Create an SSH public key - rpc CreateSshPublicKey(CreateSshPublicKeyRequest) returns (google.cloud.oslogin.common.SshPublicKey) { + rpc CreateSshPublicKey(CreateSshPublicKeyRequest) + returns (google.cloud.oslogin.common.SshPublicKey) { option (google.api.http) = { post: "/v1/{parent=users/*}/sshPublicKeys" body: "ssh_public_key" @@ -54,7 +55,8 @@ service OsLoginService { } // Deletes a POSIX account. - rpc DeletePosixAccount(DeletePosixAccountRequest) returns (google.protobuf.Empty) { + rpc DeletePosixAccount(DeletePosixAccountRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=users/*/projects/*}" }; @@ -62,7 +64,8 @@ service OsLoginService { } // Deletes an SSH public key. - rpc DeleteSshPublicKey(DeleteSshPublicKeyRequest) returns (google.protobuf.Empty) { + rpc DeleteSshPublicKey(DeleteSshPublicKeyRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=users/*/sshPublicKeys/*}" }; @@ -79,7 +82,8 @@ service OsLoginService { } // Retrieves an SSH public key. - rpc GetSshPublicKey(GetSshPublicKeyRequest) returns (google.cloud.oslogin.common.SshPublicKey) { + rpc GetSshPublicKey(GetSshPublicKeyRequest) + returns (google.cloud.oslogin.common.SshPublicKey) { option (google.api.http) = { get: "/v1/{name=users/*/sshPublicKeys/*}" }; @@ -89,7 +93,8 @@ service OsLoginService { // Adds an SSH public key and returns the profile information. Default POSIX // account information is set when no username and UID exist as part of the // login profile. - rpc ImportSshPublicKey(ImportSshPublicKeyRequest) returns (ImportSshPublicKeyResponse) { + rpc ImportSshPublicKey(ImportSshPublicKeyRequest) + returns (ImportSshPublicKeyResponse) { option (google.api.http) = { post: "/v1/{parent=users/*}:importSshPublicKey" body: "ssh_public_key" @@ -100,7 +105,8 @@ service OsLoginService { // Updates an SSH public key and returns the profile information. This method // supports patch semantics. - rpc UpdateSshPublicKey(UpdateSshPublicKeyRequest) returns (google.cloud.oslogin.common.SshPublicKey) { + rpc UpdateSshPublicKey(UpdateSshPublicKeyRequest) + returns (google.cloud.oslogin.common.SshPublicKey) { option (google.api.http) = { patch: "/v1/{name=users/*/sshPublicKeys/*}" body: "ssh_public_key" @@ -134,14 +140,15 @@ message CreateSshPublicKeyRequest { ]; // Required. The SSH public key and expiration time. - google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(google.api.field_behavior) = REQUIRED]; + google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 + [(google.api.field_behavior) = REQUIRED]; } // A request message for deleting a POSIX account entry. message DeletePosixAccountRequest { - // Required. A reference to the POSIX account to update. POSIX accounts are identified - // by the project ID they are associated with. A reference to the POSIX - // account is in format `users/{user}/projects/{project}`. + // Required. A reference to the POSIX account to update. POSIX accounts are + // identified by the project ID they are associated with. A reference to the + // POSIX account is in format `users/{user}/projects/{project}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -152,9 +159,9 @@ message DeletePosixAccountRequest { // A request message for deleting an SSH public key. message DeleteSshPublicKeyRequest { - // Required. The fingerprint of the public key to update. Public keys are identified by - // their SHA-256 fingerprint. The fingerprint of the public key is in format - // `users/{user}/sshPublicKeys/{fingerprint}`. + // Required. The fingerprint of the public key to update. Public keys are + // identified by their SHA-256 fingerprint. The fingerprint of the public key + // is in format `users/{user}/sshPublicKeys/{fingerprint}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -182,9 +189,9 @@ message GetLoginProfileRequest { // A request message for retrieving an SSH public key. message GetSshPublicKeyRequest { - // Required. The fingerprint of the public key to retrieve. Public keys are identified - // by their SHA-256 fingerprint. The fingerprint of the public key is in - // format `users/{user}/sshPublicKeys/{fingerprint}`. + // Required. The fingerprint of the public key to retrieve. Public keys are + // identified by their SHA-256 fingerprint. The fingerprint of the public key + // is in format `users/{user}/sshPublicKeys/{fingerprint}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -204,7 +211,8 @@ message ImportSshPublicKeyRequest { ]; // Optional. The SSH public key and expiration time. - google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(google.api.field_behavior) = OPTIONAL]; + google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 + [(google.api.field_behavior) = OPTIONAL]; // The project ID of the Google Cloud Platform project. string project_id = 3; @@ -221,9 +229,9 @@ message ImportSshPublicKeyResponse { // A request message for updating an SSH public key. message UpdateSshPublicKeyRequest { - // Required. The fingerprint of the public key to update. Public keys are identified by - // their SHA-256 fingerprint. The fingerprint of the public key is in format - // `users/{user}/sshPublicKeys/{fingerprint}`. + // Required. The fingerprint of the public key to update. Public keys are + // identified by their SHA-256 fingerprint. The fingerprint of the public key + // is in format `users/{user}/sshPublicKeys/{fingerprint}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -232,7 +240,8 @@ message UpdateSshPublicKeyRequest { ]; // Required. The SSH public key and expiration time. - google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(google.api.field_behavior) = REQUIRED]; + google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 + [(google.api.field_behavior) = REQUIRED]; // Mask to control which fields get updated. Updates all if not present. google.protobuf.FieldMask update_mask = 3; diff --git a/java-phishingprotection/README.md b/java-phishingprotection/README.md index 386cab58e2c5..1c624fb252fb 100644 --- a/java-phishingprotection/README.md +++ b/java-phishingprotection/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-phishingprotection - 0.39.0 + 0.40.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-phishingprotection:0.39.0' +implementation 'com.google.cloud:google-cloud-phishingprotection:0.40.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.39.0" +libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.40.0" ``` ## Authentication diff --git a/java-phishingprotection/google-cloud-phishingprotection-bom/pom.xml b/java-phishingprotection/google-cloud-phishingprotection-bom/pom.xml index f04bed68575c..35a290c2ee23 100644 --- a/java-phishingprotection/google-cloud-phishingprotection-bom/pom.xml +++ b/java-phishingprotection/google-cloud-phishingprotection-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-phishingprotection-bom - 0.40.0 + 0.41.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-phishingprotection - 0.40.0 + 0.41.0 com.google.api.grpc grpc-google-cloud-phishingprotection-v1beta1 - 0.40.0 + 0.41.0 com.google.api.grpc proto-google-cloud-phishingprotection-v1beta1 - 0.40.0 + 0.41.0
      diff --git a/java-phishingprotection/google-cloud-phishingprotection/pom.xml b/java-phishingprotection/google-cloud-phishingprotection/pom.xml index ca6250f97d24..4401de6dbc1c 100644 --- a/java-phishingprotection/google-cloud-phishingprotection/pom.xml +++ b/java-phishingprotection/google-cloud-phishingprotection/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-phishingprotection - 0.40.0 + 0.41.0 jar Google Cloud Phishing Protection Java idiomatic client for Google Cloud Phishing Protection com.google.cloud google-cloud-phishingprotection-parent - 0.40.0 + 0.41.0 google-cloud-phishingprotection diff --git a/java-phishingprotection/grpc-google-cloud-phishingprotection-v1beta1/pom.xml b/java-phishingprotection/grpc-google-cloud-phishingprotection-v1beta1/pom.xml index 12693c98f041..a680d3a0f686 100644 --- a/java-phishingprotection/grpc-google-cloud-phishingprotection-v1beta1/pom.xml +++ b/java-phishingprotection/grpc-google-cloud-phishingprotection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-phishingprotection-v1beta1 - 0.40.0 + 0.41.0 grpc-google-cloud-phishingprotection-v1beta1 GRPC library for grpc-google-cloud-phishingprotection-v1beta1 com.google.cloud google-cloud-phishingprotection-parent - 0.40.0 + 0.41.0 diff --git a/java-phishingprotection/pom.xml b/java-phishingprotection/pom.xml index 1781715ff878..bd708359c920 100644 --- a/java-phishingprotection/pom.xml +++ b/java-phishingprotection/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-phishingprotection-parent pom - 0.40.0 + 0.41.0 Google Cloud Phishing Protection Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.api.grpc proto-google-cloud-phishingprotection-v1beta1 - 0.40.0 + 0.41.0 com.google.api.grpc grpc-google-cloud-phishingprotection-v1beta1 - 0.40.0 + 0.41.0 com.google.cloud google-cloud-phishingprotection - 0.40.0 + 0.41.0 diff --git a/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/pom.xml b/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/pom.xml index cb7d2088b7c5..7fd70f29a6aa 100644 --- a/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/pom.xml +++ b/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-phishingprotection-v1beta1 - 0.40.0 + 0.41.0 proto-google-cloud-phishingprotection-v1beta1 PROTO library for proto-google-cloud-phishingprotection-v1beta1 com.google.cloud google-cloud-phishingprotection-parent - 0.40.0 + 0.41.0 diff --git a/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/src/main/java/com/google/phishingprotection/v1beta1/PhishingProtectionProto.java b/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/src/main/java/com/google/phishingprotection/v1beta1/PhishingProtectionProto.java index 293b2dc0aecc..a048b1eff171 100644 --- a/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/src/main/java/com/google/phishingprotection/v1beta1/PhishingProtectionProto.java +++ b/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/src/main/java/com/google/phishingprotection/v1beta1/PhishingProtectionProto.java @@ -61,15 +61,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ta1/{parent=projects/*}/phishing:report:" + "\001*\332A\nparent,uri\032U\312A!phishingprotection.g" + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformB\245\002\n%com.google.ph" + + "om/auth/cloud-platformB\247\002\n%com.google.ph" + "ishingprotection.v1beta1B\027PhishingProtec" - + "tionProtoP\001ZYgoogle.golang.org/genproto/" - + "googleapis/cloud/phishingprotection/v1be" - + "ta1;phishingprotection\242\002\004GCPP\252\002\'Google.C" - + "loud.PhishingProtection.V1Beta1\312\002\'Google" - + "\\Cloud\\PhishingProtection\\V1beta1\352\002*Goog" - + "le::Cloud::PhishingProtection::V1beta1b\006" - + "proto3" + + "tionProtoP\001Z[cloud.google.com/go/phishin" + + "gprotection/apiv1beta1/phishingprotectio" + + "npb;phishingprotectionpb\242\002\004GCPP\252\002\'Google" + + ".Cloud.PhishingProtection.V1Beta1\312\002\'Goog" + + "le\\Cloud\\PhishingProtection\\V1beta1\352\002*Go" + + "ogle::Cloud::PhishingProtection::V1beta1" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/src/main/proto/google/cloud/phishingprotection/v1beta1/phishingprotection.proto b/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/src/main/proto/google/cloud/phishingprotection/v1beta1/phishingprotection.proto index 01a89ec2bb10..82eb6af4424d 100644 --- a/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/src/main/proto/google/cloud/phishingprotection/v1beta1/phishingprotection.proto +++ b/java-phishingprotection/proto-google-cloud-phishingprotection-v1beta1/src/main/proto/google/cloud/phishingprotection/v1beta1/phishingprotection.proto @@ -23,7 +23,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.PhishingProtection.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1;phishingprotection"; +option go_package = "cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb;phishingprotectionpb"; option java_multiple_files = true; option java_outer_classname = "PhishingProtectionProto"; option java_package = "com.google.phishingprotection.v1beta1"; diff --git a/java-policy-troubleshooter/README.md b/java-policy-troubleshooter/README.md index 472e44723e2f..ba4e8e25aec1 100644 --- a/java-policy-troubleshooter/README.md +++ b/java-policy-troubleshooter/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-policy-troubleshooter - 1.7.0 + 1.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.7.0' +implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "1.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "1.8.0" ``` ## Authentication diff --git a/java-policy-troubleshooter/google-cloud-policy-troubleshooter-bom/pom.xml b/java-policy-troubleshooter/google-cloud-policy-troubleshooter-bom/pom.xml index bb260fb70572..7bb735a5e426 100644 --- a/java-policy-troubleshooter/google-cloud-policy-troubleshooter-bom/pom.xml +++ b/java-policy-troubleshooter/google-cloud-policy-troubleshooter-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-policy-troubleshooter-bom - 1.8.0 + 1.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-policy-troubleshooter - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-policy-troubleshooter-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-policy-troubleshooter-v1 - 1.8.0 + 1.9.0 diff --git a/java-policy-troubleshooter/google-cloud-policy-troubleshooter/pom.xml b/java-policy-troubleshooter/google-cloud-policy-troubleshooter/pom.xml index 9cbc6f2e52af..b586c0674f15 100644 --- a/java-policy-troubleshooter/google-cloud-policy-troubleshooter/pom.xml +++ b/java-policy-troubleshooter/google-cloud-policy-troubleshooter/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-policy-troubleshooter - 1.8.0 + 1.9.0 jar Google IAM Policy Troubleshooter API makes it easier to understand why a user has access to a resource or doesn't have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter examines all Identity and Access Management (IAM) policies that apply to the resource. It then reveals whether the member's roles include the permission on that resource and, if so, which policies bind the member to those roles. com.google.cloud google-cloud-policy-troubleshooter-parent - 1.8.0 + 1.9.0 google-cloud-policy-troubleshooter diff --git a/java-policy-troubleshooter/grpc-google-cloud-policy-troubleshooter-v1/pom.xml b/java-policy-troubleshooter/grpc-google-cloud-policy-troubleshooter-v1/pom.xml index f0cf9611a96a..a4a407f33ca6 100644 --- a/java-policy-troubleshooter/grpc-google-cloud-policy-troubleshooter-v1/pom.xml +++ b/java-policy-troubleshooter/grpc-google-cloud-policy-troubleshooter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-policy-troubleshooter-v1 - 1.8.0 + 1.9.0 grpc-google-cloud-policy-troubleshooter-v1 GRPC library for google-cloud-policy-troubleshooter com.google.cloud google-cloud-policy-troubleshooter-parent - 1.8.0 + 1.9.0 diff --git a/java-policy-troubleshooter/pom.xml b/java-policy-troubleshooter/pom.xml index d5bb05eb4244..510a062f3a4c 100644 --- a/java-policy-troubleshooter/pom.xml +++ b/java-policy-troubleshooter/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-policy-troubleshooter-parent pom - 1.8.0 + 1.9.0 Google IAM Policy Troubleshooter API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-policy-troubleshooter - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-policy-troubleshooter-v1 - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-policy-troubleshooter-v1 - 1.8.0 + 1.9.0 diff --git a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/pom.xml b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/pom.xml index a86c0322e4d6..4a78611f23fc 100644 --- a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/pom.xml +++ b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-policy-troubleshooter-v1 - 1.8.0 + 1.9.0 proto-google-cloud-policy-troubleshooter-v1 Proto library for google-cloud-policy-troubleshooter com.google.cloud google-cloud-policy-troubleshooter-parent - 1.8.0 + 1.9.0 diff --git a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/java/com/google/cloud/policytroubleshooter/v1/IAMCheckerProto.java b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/java/com/google/cloud/policytroubleshooter/v1/IAMCheckerProto.java index b15cad6d8d3c..e6c565a67de4 100644 --- a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/java/com/google/cloud/policytroubleshooter/v1/IAMCheckerProto.java +++ b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/java/com/google/cloud/policytroubleshooter/v1/IAMCheckerProto.java @@ -63,14 +63,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "TroubleshootIamPolicyResponse\"\037\202\323\344\223\002\031\"\024/" + "v1/iam:troubleshoot:\001*\032W\312A#policytrouble" + "shooter.googleapis.com\322A.https://www.goo" - + "gleapis.com/auth/cloud-platformB\222\002\n(com." + + "gleapis.com/auth/cloud-platformB\226\002\n(com." + "google.cloud.policytroubleshooter.v1B\017IA" - + "MCheckerProtoP\001ZXgoogle.golang.org/genpr" - + "oto/googleapis/cloud/policytroubleshoote" - + "r/v1;policytroubleshooter\370\001\001\252\002$Google.Cl" - + "oud.PolicyTroubleshooter.V1\312\002$Google\\Clo" - + "ud\\PolicyTroubleshooter\\V1\352\002\'Google::Clo" - + "ud::PolicyTroubleshooter::V1P\000b\006proto3" + + "MCheckerProtoP\001Z\\cloud.google.com/go/pol" + + "icytroubleshooter/apiv1/policytroublesho" + + "oterpb;policytroubleshooterpb\370\001\001\252\002$Googl" + + "e.Cloud.PolicyTroubleshooter.V1\312\002$Google" + + "\\Cloud\\PolicyTroubleshooter\\V1\352\002\'Google:" + + ":Cloud::PolicyTroubleshooter::V1P\000b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/java/google/cloud/policytroubleshooter/v1/Explanations.java b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/java/google/cloud/policytroubleshooter/v1/Explanations.java index 3f835dd4b396..28661408d1da 100644 --- a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/java/google/cloud/policytroubleshooter/v1/Explanations.java +++ b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/java/google/cloud/policytroubleshooter/v1/Explanations.java @@ -7805,12 +7805,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_CONDITIONAL\020\003\022\027\n\023UNKNOWN_INFO_DENIED\020\004*" + "O\n\022HeuristicRelevance\022#\n\037HEURISTIC_RELEV" + "ANCE_UNSPECIFIED\020\000\022\n\n\006NORMAL\020\001\022\010\n\004HIGH\020\002" - + "B\322\001ZXgoogle.golang.org/genproto/googleap" - + "is/cloud/policytroubleshooter/v1;policyt" - + "roubleshooter\252\002$Google.Cloud.PolicyTroub" - + "leshooter.V1\312\002$Google\\Cloud\\PolicyTroubl" - + "eshooter\\V1\352\002\'Google::Cloud::PolicyTroub" - + "leshooter::V1b\006proto3" + + "B\326\001Z\\cloud.google.com/go/policytroublesh" + + "ooter/apiv1/policytroubleshooterpb;polic" + + "ytroubleshooterpb\252\002$Google.Cloud.PolicyT" + + "roubleshooter.V1\312\002$Google\\Cloud\\PolicyTr" + + "oubleshooter\\V1\352\002\'Google::Cloud::PolicyT" + + "roubleshooter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/proto/google/cloud/policytroubleshooter/v1/checker.proto b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/proto/google/cloud/policytroubleshooter/v1/checker.proto index 1b20892ec70a..bd6d755878eb 100644 --- a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/proto/google/cloud/policytroubleshooter/v1/checker.proto +++ b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/proto/google/cloud/policytroubleshooter/v1/checker.proto @@ -23,7 +23,7 @@ import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.PolicyTroubleshooter.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/policytroubleshooter/v1;policytroubleshooter"; +option go_package = "cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb;policytroubleshooterpb"; option java_multiple_files = true; option java_outer_classname = "IAMCheckerProto"; option java_package = "com.google.cloud.policytroubleshooter.v1"; diff --git a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/proto/google/cloud/policytroubleshooter/v1/explanations.proto b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/proto/google/cloud/policytroubleshooter/v1/explanations.proto index 1eb2a58ce7bc..78b56b96ad63 100644 --- a/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/proto/google/cloud/policytroubleshooter/v1/explanations.proto +++ b/java-policy-troubleshooter/proto-google-cloud-policy-troubleshooter-v1/src/main/proto/google/cloud/policytroubleshooter/v1/explanations.proto @@ -22,7 +22,7 @@ import "google/iam/v1/policy.proto"; import "google/type/expr.proto"; option csharp_namespace = "Google.Cloud.PolicyTroubleshooter.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/policytroubleshooter/v1;policytroubleshooter"; +option go_package = "cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb;policytroubleshooterpb"; option php_namespace = "Google\\Cloud\\PolicyTroubleshooter\\V1"; option ruby_package = "Google::Cloud::PolicyTroubleshooter::V1"; diff --git a/java-private-catalog/README.md b/java-private-catalog/README.md index 4aa0cd0e2218..ecdd41c4c6fa 100644 --- a/java-private-catalog/README.md +++ b/java-private-catalog/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-private-catalog - 0.10.0 + 0.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-private-catalog:0.10.0' +implementation 'com.google.cloud:google-cloud-private-catalog:0.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "0.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "0.11.0" ``` ## Authentication diff --git a/java-private-catalog/google-cloud-private-catalog-bom/pom.xml b/java-private-catalog/google-cloud-private-catalog-bom/pom.xml index 2f07466a846c..f78e319dd373 100644 --- a/java-private-catalog/google-cloud-private-catalog-bom/pom.xml +++ b/java-private-catalog/google-cloud-private-catalog-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-private-catalog-bom - 0.11.0 + 0.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-private-catalog - 0.11.0 + 0.12.0 com.google.api.grpc grpc-google-cloud-private-catalog-v1beta1 - 0.11.0 + 0.12.0 com.google.api.grpc proto-google-cloud-private-catalog-v1beta1 - 0.11.0 + 0.12.0 diff --git a/java-private-catalog/google-cloud-private-catalog/pom.xml b/java-private-catalog/google-cloud-private-catalog/pom.xml index f6d81e0664a6..4f5806009863 100644 --- a/java-private-catalog/google-cloud-private-catalog/pom.xml +++ b/java-private-catalog/google-cloud-private-catalog/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-private-catalog - 0.11.0 + 0.12.0 jar Google Private Catalog Private Catalog allows developers and cloud admins to make their solutions discoverable to their internal enterprise users. Cloud admins can manage their solutions and ensure their users are always launching the latest versions. com.google.cloud google-cloud-private-catalog-parent - 0.11.0 + 0.12.0 google-cloud-private-catalog diff --git a/java-private-catalog/grpc-google-cloud-private-catalog-v1beta1/pom.xml b/java-private-catalog/grpc-google-cloud-private-catalog-v1beta1/pom.xml index ac69a5a9b371..bb30d590422f 100644 --- a/java-private-catalog/grpc-google-cloud-private-catalog-v1beta1/pom.xml +++ b/java-private-catalog/grpc-google-cloud-private-catalog-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-private-catalog-v1beta1 - 0.11.0 + 0.12.0 grpc-google-cloud-private-catalog-v1beta1 GRPC library for google-cloud-private-catalog com.google.cloud google-cloud-private-catalog-parent - 0.11.0 + 0.12.0 diff --git a/java-private-catalog/pom.xml b/java-private-catalog/pom.xml index c3e855c1fcea..4c250717977d 100644 --- a/java-private-catalog/pom.xml +++ b/java-private-catalog/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-private-catalog-parent pom - 0.11.0 + 0.12.0 Google Private Catalog Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-private-catalog - 0.11.0 + 0.12.0 com.google.api.grpc grpc-google-cloud-private-catalog-v1beta1 - 0.11.0 + 0.12.0 com.google.api.grpc proto-google-cloud-private-catalog-v1beta1 - 0.11.0 + 0.12.0 diff --git a/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/pom.xml b/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/pom.xml index cd0922678df5..8d9e1e924bc0 100644 --- a/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/pom.xml +++ b/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-private-catalog-v1beta1 - 0.11.0 + 0.12.0 proto-google-cloud-private-catalog-v1beta1 Proto library for google-cloud-private-catalog com.google.cloud google-cloud-private-catalog-parent - 0.11.0 + 0.12.0 diff --git a/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/src/main/java/com/google/cloud/privatecatalog/v1beta1/PrivateCatalogProto.java b/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/src/main/java/com/google/cloud/privatecatalog/v1beta1/PrivateCatalogProto.java index 87cf2d132fb2..0968671a70d7 100644 --- a/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/src/main/java/com/google/cloud/privatecatalog/v1beta1/PrivateCatalogProto.java +++ b/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/src/main/java/com/google/cloud/privatecatalog/v1beta1/PrivateCatalogProto.java @@ -187,14 +187,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "a1/{resource=folders/*}/versions:search\032" + "V\312A\"cloudprivatecatalog.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\210\002\n\'com.google.cloud.privatecata" - + "log.v1beta1B\023PrivateCatalogProtoP\001ZQgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "privatecatalog/v1beta1;privatecatalog\252\002#" - + "Google.Cloud.PrivateCatalog.V1Beta1\312\002#Go" - + "ogle\\Cloud\\PrivateCatalog\\V1beta1\352\002&Goog" - + "le::Cloud::PrivateCatalog::V1beta1b\006prot" - + "o3" + + "latformB\206\002\n\'com.google.cloud.privatecata" + + "log.v1beta1B\023PrivateCatalogProtoP\001ZOclou" + + "d.google.com/go/privatecatalog/apiv1beta" + + "1/privatecatalogpb;privatecatalogpb\252\002#Go" + + "ogle.Cloud.PrivateCatalog.V1Beta1\312\002#Goog" + + "le\\Cloud\\PrivateCatalog\\V1beta1\352\002&Google" + + "::Cloud::PrivateCatalog::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/src/main/proto/google/cloud/privatecatalog/v1beta1/private_catalog.proto b/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/src/main/proto/google/cloud/privatecatalog/v1beta1/private_catalog.proto index 4b1f6e54ec4d..1ee777143578 100644 --- a/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/src/main/proto/google/cloud/privatecatalog/v1beta1/private_catalog.proto +++ b/java-private-catalog/proto-google-cloud-private-catalog-v1beta1/src/main/proto/google/cloud/privatecatalog/v1beta1/private_catalog.proto @@ -25,7 +25,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.PrivateCatalog.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/privatecatalog/v1beta1;privatecatalog"; +option go_package = "cloud.google.com/go/privatecatalog/apiv1beta1/privatecatalogpb;privatecatalogpb"; option java_multiple_files = true; option java_outer_classname = "PrivateCatalogProto"; option java_package = "com.google.cloud.privatecatalog.v1beta1"; diff --git a/java-profiler/google-cloud-profiler-bom/pom.xml b/java-profiler/google-cloud-profiler-bom/pom.xml index 8213a5668340..bf1a71008cc5 100644 --- a/java-profiler/google-cloud-profiler-bom/pom.xml +++ b/java-profiler/google-cloud-profiler-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-profiler-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-profiler - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-profiler-v2 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-profiler-v2 - 2.9.0 + 2.10.0 diff --git a/java-profiler/google-cloud-profiler/pom.xml b/java-profiler/google-cloud-profiler/pom.xml index 4b4f2b6e46c7..6e872bf1a9e0 100644 --- a/java-profiler/google-cloud-profiler/pom.xml +++ b/java-profiler/google-cloud-profiler/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-profiler - 2.9.0 + 2.10.0 jar Google Cloud Profiler is a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications. It attributes that information to the application's source code, helping you identify the parts of the application consuming the most resources, and otherwise illuminating the performance characteristics of the code. com.google.cloud google-cloud-profiler-parent - 2.9.0 + 2.10.0 google-cloud-profiler diff --git a/java-profiler/grpc-google-cloud-profiler-v2/pom.xml b/java-profiler/grpc-google-cloud-profiler-v2/pom.xml index df4f79b446bc..f01e4df88fe9 100644 --- a/java-profiler/grpc-google-cloud-profiler-v2/pom.xml +++ b/java-profiler/grpc-google-cloud-profiler-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-profiler-v2 - 2.9.0 + 2.10.0 grpc-google-cloud-profiler-v2 GRPC library for google-cloud-profiler com.google.cloud google-cloud-profiler-parent - 2.9.0 + 2.10.0 diff --git a/java-profiler/pom.xml b/java-profiler/pom.xml index 84153a60f5b2..3a91ca411f0c 100644 --- a/java-profiler/pom.xml +++ b/java-profiler/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-profiler-parent pom - 2.9.0 + 2.10.0 Google Cloud Profiler Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-profiler - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-profiler-v2 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-profiler-v2 - 2.9.0 + 2.10.0 diff --git a/java-profiler/proto-google-cloud-profiler-v2/pom.xml b/java-profiler/proto-google-cloud-profiler-v2/pom.xml index 44d02fd1b3dd..f2bcfd035615 100644 --- a/java-profiler/proto-google-cloud-profiler-v2/pom.xml +++ b/java-profiler/proto-google-cloud-profiler-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-profiler-v2 - 2.9.0 + 2.10.0 proto-google-cloud-profiler-v2 Proto library for google-cloud-profiler com.google.cloud google-cloud-profiler-parent - 2.9.0 + 2.10.0 diff --git a/java-publicca/README.md b/java-publicca/README.md index bfb9fb569588..c1387dcec6d8 100644 --- a/java-publicca/README.md +++ b/java-publicca/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-publicca - 0.5.0 + 0.6.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-publicca:0.5.0' +implementation 'com.google.cloud:google-cloud-publicca:0.6.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.6.0" ``` ## Authentication diff --git a/java-publicca/google-cloud-publicca-bom/pom.xml b/java-publicca/google-cloud-publicca-bom/pom.xml index 7e12e421041c..e35e90f727cb 100644 --- a/java-publicca/google-cloud-publicca-bom/pom.xml +++ b/java-publicca/google-cloud-publicca-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-publicca-bom - 0.6.0 + 0.7.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-publicca - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-publicca-v1beta1 - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-publicca-v1beta1 - 0.6.0 + 0.7.0 diff --git a/java-publicca/google-cloud-publicca/pom.xml b/java-publicca/google-cloud-publicca/pom.xml index 508882523553..cfe74c73a7b0 100644 --- a/java-publicca/google-cloud-publicca/pom.xml +++ b/java-publicca/google-cloud-publicca/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-publicca - 0.6.0 + 0.7.0 jar Google Public Certificate Authority Public Certificate Authority Certificate Manager's Public Certificate Authority (CA) functionality allows you to provision and deploy widely trusted X.509 certificates after validating that the certificate requester controls the domains. com.google.cloud google-cloud-publicca-parent - 0.6.0 + 0.7.0 google-cloud-publicca diff --git a/java-publicca/grpc-google-cloud-publicca-v1beta1/pom.xml b/java-publicca/grpc-google-cloud-publicca-v1beta1/pom.xml index 106f4e8f548a..8172780ea138 100644 --- a/java-publicca/grpc-google-cloud-publicca-v1beta1/pom.xml +++ b/java-publicca/grpc-google-cloud-publicca-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-publicca-v1beta1 - 0.6.0 + 0.7.0 grpc-google-cloud-publicca-v1beta1 GRPC library for google-cloud-publicca com.google.cloud google-cloud-publicca-parent - 0.6.0 + 0.7.0 diff --git a/java-publicca/pom.xml b/java-publicca/pom.xml index 1d1568b99fb9..2033e07fc031 100644 --- a/java-publicca/pom.xml +++ b/java-publicca/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-publicca-parent pom - 0.6.0 + 0.7.0 Google Public Certificate Authority Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-publicca - 0.6.0 + 0.7.0 com.google.api.grpc grpc-google-cloud-publicca-v1beta1 - 0.6.0 + 0.7.0 com.google.api.grpc proto-google-cloud-publicca-v1beta1 - 0.6.0 + 0.7.0 diff --git a/java-publicca/proto-google-cloud-publicca-v1beta1/pom.xml b/java-publicca/proto-google-cloud-publicca-v1beta1/pom.xml index 9c4b8e5cf0fa..6df0e241f955 100644 --- a/java-publicca/proto-google-cloud-publicca-v1beta1/pom.xml +++ b/java-publicca/proto-google-cloud-publicca-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-publicca-v1beta1 - 0.6.0 + 0.7.0 proto-google-cloud-publicca-v1beta1 Proto library for google-cloud-publicca com.google.cloud google-cloud-publicca-parent - 0.6.0 + 0.7.0 diff --git a/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/java/com/google/cloud/security/publicca/v1beta1/ResourcesProto.java b/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/java/com/google/cloud/security/publicca/v1beta1/ResourcesProto.java index f79c0a71c022..d471925ccbb9 100644 --- a/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/java/com/google/cloud/security/publicca/v1beta1/ResourcesProto.java +++ b/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/java/com/google/cloud/security/publicca/v1beta1/ResourcesProto.java @@ -49,14 +49,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "B\003\340A\003:\204\001\352A\200\001\n*publicca.googleapis.com/Ex" + "ternalAccountKey\022Rprojects/{project}/loc" + "ations/{location}/externalAccountKeys/{e" - + "xternal_account_key}B\220\002\n*com.google.clou" + + "xternal_account_key}B\210\002\n*com.google.clou" + "d.security.publicca.v1beta1B\016ResourcesPr" - + "otoP\001ZNgoogle.golang.org/genproto/google" - + "apis/cloud/security/publicca/v1beta1;pub" - + "licca\370\001\001\252\002&Google.Cloud.Security.PublicC" - + "A.V1Beta1\312\002&Google\\Cloud\\Security\\Public" - + "CA\\V1beta1\352\002*Google::Cloud::Security::Pu" - + "blicCA::V1beta1b\006proto3" + + "otoP\001ZFcloud.google.com/go/security/publ" + + "icca/apiv1beta1/publiccapb;publiccapb\370\001\001" + + "\252\002&Google.Cloud.Security.PublicCA.V1Beta" + + "1\312\002&Google\\Cloud\\Security\\PublicCA\\V1bet" + + "a1\352\002*Google::Cloud::Security::PublicCA::" + + "V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/java/com/google/cloud/security/publicca/v1beta1/ServiceProto.java b/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/java/com/google/cloud/security/publicca/v1beta1/ServiceProto.java index c5b07242441b..dad6e92aad5d 100644 --- a/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/java/com/google/cloud/security/publicca/v1beta1/ServiceProto.java +++ b/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/java/com/google/cloud/security/publicca/v1beta1/ServiceProto.java @@ -61,14 +61,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nalAccountKeys:\024external_account_key\332A\033p" + "arent,external_account_key\032K\312A\027publicca." + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB\216\002\n*com.google.c" + + "com/auth/cloud-platformB\206\002\n*com.google.c" + "loud.security.publicca.v1beta1B\014ServiceP" - + "rotoP\001ZNgoogle.golang.org/genproto/googl" - + "eapis/cloud/security/publicca/v1beta1;pu" - + "blicca\370\001\001\252\002&Google.Cloud.Security.Public" - + "CA.V1Beta1\312\002&Google\\Cloud\\Security\\Publi" - + "cCA\\V1beta1\352\002*Google::Cloud::Security::P" - + "ublicCA::V1beta1b\006proto3" + + "rotoP\001ZFcloud.google.com/go/security/pub" + + "licca/apiv1beta1/publiccapb;publiccapb\370\001" + + "\001\252\002&Google.Cloud.Security.PublicCA.V1Bet" + + "a1\312\002&Google\\Cloud\\Security\\PublicCA\\V1be" + + "ta1\352\002*Google::Cloud::Security::PublicCA:" + + ":V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/proto/google/cloud/security/publicca/v1beta1/resources.proto b/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/proto/google/cloud/security/publicca/v1beta1/resources.proto index e081b2ab1673..5b5bff05b9a8 100644 --- a/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/proto/google/cloud/security/publicca/v1beta1/resources.proto +++ b/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/proto/google/cloud/security/publicca/v1beta1/resources.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Security.PublicCA.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/security/publicca/v1beta1;publicca"; +option go_package = "cloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.security.publicca.v1beta1"; diff --git a/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/proto/google/cloud/security/publicca/v1beta1/service.proto b/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/proto/google/cloud/security/publicca/v1beta1/service.proto index 8cee47338f8b..631a37d469c4 100644 --- a/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/proto/google/cloud/security/publicca/v1beta1/service.proto +++ b/java-publicca/proto-google-cloud-publicca-v1beta1/src/main/proto/google/cloud/security/publicca/v1beta1/service.proto @@ -24,7 +24,7 @@ import "google/cloud/security/publicca/v1beta1/resources.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Security.PublicCA.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/security/publicca/v1beta1;publicca"; +option go_package = "cloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.security.publicca.v1beta1"; diff --git a/java-recaptchaenterprise/README.md b/java-recaptchaenterprise/README.md index 824a6fbe1033..627ce9ab1a84 100644 --- a/java-recaptchaenterprise/README.md +++ b/java-recaptchaenterprise/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-recaptchaenterprise - 3.5.0 + 3.6.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.5.0' +implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.6.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "3.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "3.6.0" ``` ## Authentication diff --git a/java-recaptchaenterprise/google-cloud-recaptchaenterprise-bom/pom.xml b/java-recaptchaenterprise/google-cloud-recaptchaenterprise-bom/pom.xml index fec9ba8510ab..f11a15fd5d7c 100644 --- a/java-recaptchaenterprise/google-cloud-recaptchaenterprise-bom/pom.xml +++ b/java-recaptchaenterprise/google-cloud-recaptchaenterprise-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-recaptchaenterprise-bom - 3.6.0 + 3.7.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-recaptchaenterprise - 3.6.0 + 3.7.0 com.google.api.grpc grpc-google-cloud-recaptchaenterprise-v1 - 3.6.0 + 3.7.0 com.google.api.grpc grpc-google-cloud-recaptchaenterprise-v1beta1 - 0.48.0 + 0.49.0 com.google.api.grpc proto-google-cloud-recaptchaenterprise-v1 - 3.6.0 + 3.7.0 com.google.api.grpc proto-google-cloud-recaptchaenterprise-v1beta1 - 0.48.0 + 0.49.0 diff --git a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/pom.xml b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/pom.xml index ae80dcb633d0..eec9910c5248 100644 --- a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/pom.xml +++ b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-recaptchaenterprise - 3.6.0 + 3.7.0 jar reCAPTCHA Enterprise Help protect your website from fraudulent activity, spam, and abuse. com.google.cloud google-cloud-recaptchaenterprise-parent - 3.6.0 + 3.7.0 google-cloud-recaptchaenterprise diff --git a/java-recaptchaenterprise/grpc-google-cloud-recaptchaenterprise-v1/pom.xml b/java-recaptchaenterprise/grpc-google-cloud-recaptchaenterprise-v1/pom.xml index b4c5d2580f82..b876e1c58aa1 100644 --- a/java-recaptchaenterprise/grpc-google-cloud-recaptchaenterprise-v1/pom.xml +++ b/java-recaptchaenterprise/grpc-google-cloud-recaptchaenterprise-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-recaptchaenterprise-v1 - 3.6.0 + 3.7.0 grpc-google-cloud-recaptchaenterprise-v1 GRPC library for grpc-google-cloud-recaptchaenterprise-v1 com.google.cloud google-cloud-recaptchaenterprise-parent - 3.6.0 + 3.7.0 diff --git a/java-recaptchaenterprise/grpc-google-cloud-recaptchaenterprise-v1beta1/pom.xml b/java-recaptchaenterprise/grpc-google-cloud-recaptchaenterprise-v1beta1/pom.xml index ed36cd954eab..f5331fef4402 100644 --- a/java-recaptchaenterprise/grpc-google-cloud-recaptchaenterprise-v1beta1/pom.xml +++ b/java-recaptchaenterprise/grpc-google-cloud-recaptchaenterprise-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-recaptchaenterprise-v1beta1 - 0.48.0 + 0.49.0 grpc-google-cloud-recaptchaenterprise-v1beta1 GRPC library for grpc-google-cloud-recaptchaenterprise-v1beta1 com.google.cloud google-cloud-recaptchaenterprise-parent - 3.6.0 + 3.7.0 diff --git a/java-recaptchaenterprise/pom.xml b/java-recaptchaenterprise/pom.xml index 808b69114492..76bbb28a9dff 100644 --- a/java-recaptchaenterprise/pom.xml +++ b/java-recaptchaenterprise/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-recaptchaenterprise-parent pom - 3.6.0 + 3.7.0 reCAPTCHA Enterprise Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-recaptchaenterprise-v1 - 3.6.0 + 3.7.0 com.google.api.grpc proto-google-cloud-recaptchaenterprise-v1beta1 - 0.48.0 + 0.49.0 com.google.api.grpc grpc-google-cloud-recaptchaenterprise-v1 - 3.6.0 + 3.7.0 com.google.api.grpc grpc-google-cloud-recaptchaenterprise-v1beta1 - 0.48.0 + 0.49.0 com.google.cloud google-cloud-recaptchaenterprise - 3.6.0 + 3.7.0 diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/pom.xml b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/pom.xml index b263d1f3e02f..d2e10ef5a88b 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/pom.xml +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-recaptchaenterprise-v1 - 3.6.0 + 3.7.0 proto-google-cloud-recaptchaenterprise-v1 PROTO library for proto-google-cloud-recaptchaenterprise-v1 com.google.cloud google-cloud-recaptchaenterprise-parent - 3.6.0 + 3.7.0 diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RecaptchaEnterpriseProto.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RecaptchaEnterpriseProto.java index 7ddf4c360be4..79ba5e9ff3e6 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RecaptchaEnterpriseProto.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/java/com/google/recaptchaenterprise/v1/RecaptchaEnterpriseProto.java @@ -513,14 +513,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tgroupmemberships:search:\001*\332A\031project,ha" + "shed_account_id\032V\312A\"recaptchaenterprise." + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB\223\002\n!com.google.r" + + "com/auth/cloud-platformB\226\002\n!com.google.r" + "ecaptchaenterprise.v1B\030RecaptchaEnterpri" - + "seProtoP\001ZVgoogle.golang.org/genproto/go" - + "ogleapis/cloud/recaptchaenterprise/v1;re" - + "captchaenterprise\242\002\004GCRE\252\002#Google.Cloud." - + "RecaptchaEnterprise.V1\312\002#Google\\Cloud\\Re" - + "captchaEnterprise\\V1\352\002&Google::Cloud::Re" - + "captchaEnterprise::V1b\006proto3" + + "seProtoP\001ZYcloud.google.com/go/recaptcha" + + "enterprise/apiv1/recaptchaenterprisepb;r" + + "ecaptchaenterprisepb\242\002\004GCRE\252\002#Google.Clo" + + "ud.RecaptchaEnterprise.V1\312\002#Google\\Cloud" + + "\\RecaptchaEnterprise\\V1\352\002&Google::Cloud:" + + ":RecaptchaEnterprise::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/proto/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/proto/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto index 12e5852d50c7..5c90c5493ddc 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/proto/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1/src/main/proto/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto @@ -25,7 +25,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.RecaptchaEnterprise.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1;recaptchaenterprise"; +option go_package = "cloud.google.com/go/recaptchaenterprise/apiv1/recaptchaenterprisepb;recaptchaenterprisepb"; option java_multiple_files = true; option java_outer_classname = "RecaptchaEnterpriseProto"; option java_package = "com.google.recaptchaenterprise.v1"; diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/pom.xml b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/pom.xml index 1d8b7dd6aeef..34e682ee0d83 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/pom.xml +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-recaptchaenterprise-v1beta1 - 0.48.0 + 0.49.0 proto-google-cloud-recaptchaenterprise-v1beta1 PROTO library for proto-google-cloud-recaptchaenterprise-v1beta1 com.google.cloud google-cloud-recaptchaenterprise-parent - 3.6.0 + 3.7.0 diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/RecaptchaEnterpriseProto.java b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/RecaptchaEnterpriseProto.java index 2e3ca1cdd8ef..1faaf9a2395e 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/RecaptchaEnterpriseProto.java +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/RecaptchaEnterpriseProto.java @@ -157,14 +157,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "sments/*}:annotate:\001*\332A\017name,annotation\032" + "V\312A\"recaptchaenterprise.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\254\002\n&com.google.recaptchaenterpri" - + "se.v1beta1B\030RecaptchaEnterpriseProtoP\001Z[" - + "google.golang.org/genproto/googleapis/cl" - + "oud/recaptchaenterprise/v1beta1;recaptch" - + "aenterprise\242\002\004GCRE\252\002(Google.Cloud.Recapt" - + "chaEnterprise.V1Beta1\312\002(Google\\Cloud\\Rec" - + "aptchaEnterprise\\V1beta1\352\002+Google::Cloud" - + "::RecaptchaEnterprise::V1beta1b\006proto3" + + "latformB\257\002\n&com.google.recaptchaenterpri" + + "se.v1beta1B\030RecaptchaEnterpriseProtoP\001Z^" + + "cloud.google.com/go/recaptchaenterprise/" + + "apiv1beta1/recaptchaenterprisepb;recaptc" + + "haenterprisepb\242\002\004GCRE\252\002(Google.Cloud.Rec" + + "aptchaEnterprise.V1Beta1\312\002(Google\\Cloud\\" + + "RecaptchaEnterprise\\V1beta1\352\002+Google::Cl" + + "oud::RecaptchaEnterprise::V1beta1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/proto/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/proto/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto index 28a07a8e51b3..ba7aaaa6a91f 100644 --- a/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/proto/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto +++ b/java-recaptchaenterprise/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/proto/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.RecaptchaEnterprise.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1beta1;recaptchaenterprise"; +option go_package = "cloud.google.com/go/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb;recaptchaenterprisepb"; option java_multiple_files = true; option java_outer_classname = "RecaptchaEnterpriseProto"; option java_package = "com.google.recaptchaenterprise.v1beta1"; diff --git a/java-recommendations-ai/README.md b/java-recommendations-ai/README.md index 56beecc850e1..a91ccafc325b 100644 --- a/java-recommendations-ai/README.md +++ b/java-recommendations-ai/README.md @@ -23,20 +23,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-recommendations-ai - 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-recommendations-ai:0.15.0' +implementation 'com.google.cloud:google-cloud-recommendations-ai:0.16.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.15.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.16.0" ``` ## Authentication diff --git a/java-recommendations-ai/google-cloud-recommendations-ai-bom/pom.xml b/java-recommendations-ai/google-cloud-recommendations-ai-bom/pom.xml index 193a9a3b1b03..7d712368c3f6 100644 --- a/java-recommendations-ai/google-cloud-recommendations-ai-bom/pom.xml +++ b/java-recommendations-ai/google-cloud-recommendations-ai-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-recommendations-ai-bom - 0.16.0 + 0.17.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-recommendations-ai - 0.16.0 + 0.17.0 com.google.api.grpc grpc-google-cloud-recommendations-ai-v1beta1 - 0.16.0 + 0.17.0 com.google.api.grpc proto-google-cloud-recommendations-ai-v1beta1 - 0.16.0 + 0.17.0 diff --git a/java-recommendations-ai/google-cloud-recommendations-ai/pom.xml b/java-recommendations-ai/google-cloud-recommendations-ai/pom.xml index 26a7af651d84..ecf895141970 100644 --- a/java-recommendations-ai/google-cloud-recommendations-ai/pom.xml +++ b/java-recommendations-ai/google-cloud-recommendations-ai/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-recommendations-ai - 0.16.0 + 0.17.0 jar Google Recommendations AI delivers highly personalized product recommendations at scale. com.google.cloud google-cloud-recommendations-ai-parent - 0.16.0 + 0.17.0 google-cloud-recommendations-ai diff --git a/java-recommendations-ai/grpc-google-cloud-recommendations-ai-v1beta1/pom.xml b/java-recommendations-ai/grpc-google-cloud-recommendations-ai-v1beta1/pom.xml index 3b44db656997..27519f118ace 100644 --- a/java-recommendations-ai/grpc-google-cloud-recommendations-ai-v1beta1/pom.xml +++ b/java-recommendations-ai/grpc-google-cloud-recommendations-ai-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-recommendations-ai-v1beta1 - 0.16.0 + 0.17.0 grpc-google-cloud-recommendations-ai-v1beta1 GRPC library for grpc-google-cloud-recommendations-ai-v1beta1 com.google.cloud google-cloud-recommendations-ai-parent - 0.16.0 + 0.17.0 diff --git a/java-recommendations-ai/pom.xml b/java-recommendations-ai/pom.xml index 1bc9c3134fed..b492da77bc7d 100644 --- a/java-recommendations-ai/pom.xml +++ b/java-recommendations-ai/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-recommendations-ai-parent pom - 0.16.0 + 0.17.0 Google Recommendations AI Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-recommendations-ai - 0.16.0 + 0.17.0 com.google.api.grpc proto-google-cloud-recommendations-ai-v1beta1 - 0.16.0 + 0.17.0 com.google.api.grpc grpc-google-cloud-recommendations-ai-v1beta1 - 0.16.0 + 0.17.0 diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/pom.xml b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/pom.xml index eb7d025dbe59..fdacb8ce5a2f 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/pom.xml +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-recommendations-ai-v1beta1 - 0.16.0 + 0.17.0 proto-google-cloud-recommendations-ai-v1beta1 PROTO library for proto-google-cloud-recommendations-ai-v1beta1 com.google.cloud google-cloud-recommendations-ai-parent - 0.16.0 + 0.17.0 diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Catalog.java b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Catalog.java index 2ae8977a5eb1..5418595d39e8 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Catalog.java +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Catalog.java @@ -105,14 +105,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "UT_OF_STOCK\020\001\022\014\n\010PREORDER\020\002\022\r\n\tBACKORDER" + "\020\003\032\002\020\001B\007\n\005price\"B\n\005Image\022\020\n\003uri\030\001 \001(\tB\003\340" + "A\002\022\023\n\006height\030\002 \001(\005B\003\340A\001\022\022\n\005width\030\003 \001(\005B\003" - + "\340A\001B\237\002\n-com.google.cloud.recommendatione" - + "ngine.v1beta1P\001Z]google.golang.org/genpr" - + "oto/googleapis/cloud/recommendationengin" - + "e/v1beta1;recommendationengine\242\002\005RECAI\252\002" - + ")Google.Cloud.RecommendationEngine.V1Bet" - + "a1\312\002)Google\\Cloud\\RecommendationEngine\\V" - + "1beta1\352\002,Google::Cloud::RecommendationEn" - + "gine::V1beta1b\006proto3" + + "\340A\001B\243\002\n-com.google.cloud.recommendatione" + + "ngine.v1beta1P\001Zacloud.google.com/go/rec" + + "ommendationengine/apiv1beta1/recommendat" + + "ionenginepb;recommendationenginepb\242\002\005REC" + + "AI\252\002)Google.Cloud.RecommendationEngine.V" + + "1Beta1\312\002)Google\\Cloud\\RecommendationEngi" + + "ne\\V1beta1\352\002,Google::Cloud::Recommendati" + + "onEngine::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceOuterClass.java b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceOuterClass.java index 05f4a485222b..cae140f90720 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceOuterClass.java +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceOuterClass.java @@ -138,14 +138,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "equest_id,input_config,errors_config\032W\312A" + "#recommendationengine.googleapis.com\322A.h" + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformB\237\002\n-com.google.cloud.recommendatio" - + "nengine.v1beta1P\001Z]google.golang.org/gen" - + "proto/googleapis/cloud/recommendationeng" - + "ine/v1beta1;recommendationengine\242\002\005RECAI" - + "\252\002)Google.Cloud.RecommendationEngine.V1B" - + "eta1\312\002)Google\\Cloud\\RecommendationEngine" - + "\\V1beta1\352\002,Google::Cloud::Recommendation" - + "Engine::V1beta1b\006proto3" + + "tformB\243\002\n-com.google.cloud.recommendatio" + + "nengine.v1beta1P\001Zacloud.google.com/go/r" + + "ecommendationengine/apiv1beta1/recommend" + + "ationenginepb;recommendationenginepb\242\002\005R" + + "ECAI\252\002)Google.Cloud.RecommendationEngine" + + ".V1Beta1\312\002)Google\\Cloud\\RecommendationEn" + + "gine\\V1beta1\352\002,Google::Cloud::Recommenda" + + "tionEngine::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Common.java b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Common.java index f49627235722..29f81446068f 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Common.java +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Common.java @@ -71,15 +71,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "v1beta1.FeatureMap.StringList:\0028\001\032y\n\026Num" + "ericalFeaturesEntry\022\013\n\003key\030\001 \001(\t\022N\n\005valu" + "e\030\002 \001(\0132?.google.cloud.recommendationeng" - + "ine.v1beta1.FeatureMap.FloatList:\0028\001B\237\002\n" + + "ine.v1beta1.FeatureMap.FloatList:\0028\001B\243\002\n" + "-com.google.cloud.recommendationengine.v" - + "1beta1P\001Z]google.golang.org/genproto/goo" - + "gleapis/cloud/recommendationengine/v1bet" - + "a1;recommendationengine\242\002\005RECAI\252\002)Google" - + ".Cloud.RecommendationEngine.V1Beta1\312\002)Go" - + "ogle\\Cloud\\RecommendationEngine\\V1beta1\352" - + "\002,Google::Cloud::RecommendationEngine::V" - + "1beta1b\006proto3" + + "1beta1P\001Zacloud.google.com/go/recommenda" + + "tionengine/apiv1beta1/recommendationengi" + + "nepb;recommendationenginepb\242\002\005RECAI\252\002)Go" + + "ogle.Cloud.RecommendationEngine.V1Beta1\312" + + "\002)Google\\Cloud\\RecommendationEngine\\V1be" + + "ta1\352\002,Google::Cloud::RecommendationEngin" + + "e::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Import.java b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Import.java index fd68faba9c3c..e6cf93c70f61 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Import.java +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/Import.java @@ -138,14 +138,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "engine.v1beta1.UserEventImportSummary\"T\n" + "\026UserEventImportSummary\022\033\n\023joined_events" + "_count\030\001 \001(\003\022\035\n\025unjoined_events_count\030\002 " - + "\001(\003B\237\002\n-com.google.cloud.recommendatione" - + "ngine.v1beta1P\001Z]google.golang.org/genpr" - + "oto/googleapis/cloud/recommendationengin" - + "e/v1beta1;recommendationengine\242\002\005RECAI\252\002" - + ")Google.Cloud.RecommendationEngine.V1Bet" - + "a1\312\002)Google\\Cloud\\RecommendationEngine\\V" - + "1beta1\352\002,Google::Cloud::RecommendationEn" - + "gine::V1beta1b\006proto3" + + "\001(\003B\243\002\n-com.google.cloud.recommendatione" + + "ngine.v1beta1P\001Zacloud.google.com/go/rec" + + "ommendationengine/apiv1beta1/recommendat" + + "ionenginepb;recommendationenginepb\242\002\005REC" + + "AI\252\002)Google.Cloud.RecommendationEngine.V" + + "1Beta1\312\002)Google\\Cloud\\RecommendationEngi" + + "ne\\V1beta1\352\002,Google::Cloud::Recommendati" + + "onEngine::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApikeyRegistryService.java b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApikeyRegistryService.java index d2d764a4de40..9687c0e6d765 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApikeyRegistryService.java +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApikeyRegistryService.java @@ -110,14 +110,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "es/*/predictionApiKeyRegistrations/*}\332A\004" + "name\032W\312A#recommendationengine.googleapis" + ".com\322A.https://www.googleapis.com/auth/c" - + "loud-platformB\237\002\n-com.google.cloud.recom" - + "mendationengine.v1beta1P\001Z]google.golang" - + ".org/genproto/googleapis/cloud/recommend" - + "ationengine/v1beta1;recommendationengine" - + "\242\002\005RECAI\252\002)Google.Cloud.RecommendationEn" - + "gine.V1Beta1\312\002)Google\\Cloud\\Recommendati" - + "onEngine\\V1beta1\352\002,Google::Cloud::Recomm" - + "endationEngine::V1beta1b\006proto3" + + "loud-platformB\243\002\n-com.google.cloud.recom" + + "mendationengine.v1beta1P\001Zacloud.google." + + "com/go/recommendationengine/apiv1beta1/r" + + "ecommendationenginepb;recommendationengi" + + "nepb\242\002\005RECAI\252\002)Google.Cloud.Recommendati" + + "onEngine.V1Beta1\312\002)Google\\Cloud\\Recommen" + + "dationEngine\\V1beta1\352\002,Google::Cloud::Re" + + "commendationEngine::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceOuterClass.java b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceOuterClass.java index 2f9874fdc56c..7ca07aa6f438 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceOuterClass.java +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceOuterClass.java @@ -110,14 +110,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ements/*}:predict:\001*\332A\017name,user_event\032W" + "\312A#recommendationengine.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\237\002\n-com.google.cloud.recommendat" - + "ionengine.v1beta1P\001Z]google.golang.org/g" - + "enproto/googleapis/cloud/recommendatione" - + "ngine/v1beta1;recommendationengine\242\002\005REC" - + "AI\252\002)Google.Cloud.RecommendationEngine.V" - + "1Beta1\312\002)Google\\Cloud\\RecommendationEngi" - + "ne\\V1beta1\352\002,Google::Cloud::Recommendati" - + "onEngine::V1beta1b\006proto3" + + "latformB\243\002\n-com.google.cloud.recommendat" + + "ionengine.v1beta1P\001Zacloud.google.com/go" + + "/recommendationengine/apiv1beta1/recomme" + + "ndationenginepb;recommendationenginepb\242\002" + + "\005RECAI\252\002)Google.Cloud.RecommendationEngi" + + "ne.V1Beta1\312\002)Google\\Cloud\\Recommendation" + + "Engine\\V1beta1\352\002,Google::Cloud::Recommen" + + "dationEngine::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/RecommendationengineResources.java b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/RecommendationengineResources.java index 02fd0e5a37ec..bf3147c40849 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/RecommendationengineResources.java +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/RecommendationengineResources.java @@ -38,34 +38,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\nNgoogle/cloud/recommendationengine/v1be" + "ta1/recommendationengine_resources.proto" + "\022)google.cloud.recommendationengine.v1be" - + "ta1\032\031google/api/resource.protoB\250\010\n-com.g" + + "ta1\032\031google/api/resource.protoB\254\010\n-com.g" + "oogle.cloud.recommendationengine.v1beta1" - + "P\001Z]google.golang.org/genproto/googleapi" - + "s/cloud/recommendationengine/v1beta1;rec" - + "ommendationengine\242\002\005RECAI\252\002)Google.Cloud" - + ".RecommendationEngine.V1Beta1\312\002)Google\\C" - + "loud\\RecommendationEngine\\V1beta1\352\002,Goog" - + "le::Cloud::RecommendationEngine::V1beta1" - + "\352Ai\n+recommendationengine.googleapis.com" - + "/Catalog\022:projects/{project}/locations/{" - + "location}/catalogs/{catalog}\352A\222\001\n3recomm" - + "endationengine.googleapis.com/CatalogIte" - + "mPath\022[projects/{project}/locations/{loc" - + "ation}/catalogs/{catalog}/catalogItems/{" - + "catalog_item_path}\352A\206\001\n.recommendationen" - + "gine.googleapis.com/EventStore\022Tprojects" - + "/{project}/locations/{location}/catalogs" - + "/{catalog}/eventStores/{event_store}\352A\331\001" - + "\n@recommendationengine.googleapis.com/Pr" - + "edictionApiKeyRegistration\022\224\001projects/{p" - + "roject}/locations/{location}/catalogs/{c" - + "atalog}/eventStores/{event_store}/predic" - + "tionApiKeyRegistrations/{prediction_api_" - + "key_registration}\352A\234\001\n-recommendationeng" - + "ine.googleapis.com/Placement\022kprojects/{" - + "project}/locations/{location}/catalogs/{" - + "catalog}/eventStores/{event_store}/place" - + "ments/{placement}b\006proto3" + + "P\001Zacloud.google.com/go/recommendationen" + + "gine/apiv1beta1/recommendationenginepb;r" + + "ecommendationenginepb\242\002\005RECAI\252\002)Google.C" + + "loud.RecommendationEngine.V1Beta1\312\002)Goog" + + "le\\Cloud\\RecommendationEngine\\V1beta1\352\002," + + "Google::Cloud::RecommendationEngine::V1b" + + "eta1\352Ai\n+recommendationengine.googleapis" + + ".com/Catalog\022:projects/{project}/locatio" + + "ns/{location}/catalogs/{catalog}\352A\222\001\n3re" + + "commendationengine.googleapis.com/Catalo" + + "gItemPath\022[projects/{project}/locations/" + + "{location}/catalogs/{catalog}/catalogIte" + + "ms/{catalog_item_path}\352A\206\001\n.recommendati" + + "onengine.googleapis.com/EventStore\022Tproj" + + "ects/{project}/locations/{location}/cata" + + "logs/{catalog}/eventStores/{event_store}" + + "\352A\331\001\n@recommendationengine.googleapis.co" + + "m/PredictionApiKeyRegistration\022\224\001project" + + "s/{project}/locations/{location}/catalog" + + "s/{catalog}/eventStores/{event_store}/pr" + + "edictionApiKeyRegistrations/{prediction_" + + "api_key_registration}\352A\234\001\n-recommendatio" + + "nengine.googleapis.com/Placement\022kprojec" + + "ts/{project}/locations/{location}/catalo" + + "gs/{catalog}/eventStores/{event_store}/p" + + "lacements/{placement}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventOuterClass.java b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventOuterClass.java index 4ff83ba5cd86..09336d27f640 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventOuterClass.java +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventOuterClass.java @@ -125,14 +125,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "uantity\030\006 \001(\005B\003\340A\001\022\037\n\022available_quantity" + "\030\007 \001(\005B\003\340A\001\022S\n\017item_attributes\030\010 \001(\01325.g" + "oogle.cloud.recommendationengine.v1beta1" - + ".FeatureMapB\003\340A\001B\237\002\n-com.google.cloud.re" - + "commendationengine.v1beta1P\001Z]google.gol" - + "ang.org/genproto/googleapis/cloud/recomm" - + "endationengine/v1beta1;recommendationeng" - + "ine\242\002\005RECAI\252\002)Google.Cloud.Recommendatio" - + "nEngine.V1Beta1\312\002)Google\\Cloud\\Recommend" - + "ationEngine\\V1beta1\352\002,Google::Cloud::Rec" - + "ommendationEngine::V1beta1b\006proto3" + + ".FeatureMapB\003\340A\001B\243\002\n-com.google.cloud.re" + + "commendationengine.v1beta1P\001Zacloud.goog" + + "le.com/go/recommendationengine/apiv1beta" + + "1/recommendationenginepb;recommendatione" + + "nginepb\242\002\005RECAI\252\002)Google.Cloud.Recommend" + + "ationEngine.V1Beta1\312\002)Google\\Cloud\\Recom" + + "mendationEngine\\V1beta1\352\002,Google::Cloud:" + + ":RecommendationEngine::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceOuterClass.java b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceOuterClass.java index c790e94852ed..f44fd8df0d63 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceOuterClass.java +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceOuterClass.java @@ -140,15 +140,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1beta1.ImportMetadata\332A,parent,request_i" + "d,input_config,errors_config\032W\312A#recomme" + "ndationengine.googleapis.com\322A.https://w" - + "ww.googleapis.com/auth/cloud-platformB\237\002" + + "ww.googleapis.com/auth/cloud-platformB\243\002" + "\n-com.google.cloud.recommendationengine." - + "v1beta1P\001Z]google.golang.org/genproto/go" - + "ogleapis/cloud/recommendationengine/v1be" - + "ta1;recommendationengine\242\002\005RECAI\252\002)Googl" - + "e.Cloud.RecommendationEngine.V1Beta1\312\002)G" - + "oogle\\Cloud\\RecommendationEngine\\V1beta1" - + "\352\002,Google::Cloud::RecommendationEngine::" - + "V1beta1b\006proto3" + + "v1beta1P\001Zacloud.google.com/go/recommend" + + "ationengine/apiv1beta1/recommendationeng" + + "inepb;recommendationenginepb\242\002\005RECAI\252\002)G" + + "oogle.Cloud.RecommendationEngine.V1Beta1" + + "\312\002)Google\\Cloud\\RecommendationEngine\\V1b" + + "eta1\352\002,Google::Cloud::RecommendationEngi" + + "ne::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog.proto b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog.proto index f006171a579c..b2c9188845d4 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog.proto +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/cloud/recommendationengine/v1beta1/common.proto"; option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine"; +option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommendationengine.v1beta1"; option objc_class_prefix = "RECAI"; diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog_service.proto b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog_service.proto index 30a63e622372..659b9749fd6f 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog_service.proto +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog_service.proto @@ -28,7 +28,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine"; +option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommendationengine.v1beta1"; option objc_class_prefix = "RECAI"; diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/common.proto b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/common.proto index 0bb0cbf3eb0e..a3c91c975567 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/common.proto +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/common.proto @@ -18,7 +18,7 @@ package google.cloud.recommendationengine.v1beta1; option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine"; +option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommendationengine.v1beta1"; option objc_class_prefix = "RECAI"; diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/import.proto b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/import.proto index b59086055bee..2f9cf509c60d 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/import.proto +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/import.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine"; +option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommendationengine.v1beta1"; option objc_class_prefix = "RECAI"; diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto index d5406e5b6002..41b51a6352bb 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_apikey_registry_service.proto @@ -24,7 +24,7 @@ import "google/api/client.proto"; import "google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto"; option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine"; +option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommendationengine.v1beta1"; option objc_class_prefix = "RECAI"; diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_service.proto b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_service.proto index f2637e7faf36..fcb6262ae02b 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_service.proto +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/prediction_service.proto @@ -24,7 +24,7 @@ import "google/protobuf/struct.proto"; import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine"; +option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommendationengine.v1beta1"; option objc_class_prefix = "RECAI"; diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto index 816cf27ce8bd..6646122361af 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto @@ -21,7 +21,7 @@ package google.cloud.recommendationengine.v1beta1; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine"; +option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommendationengine.v1beta1"; option objc_class_prefix = "RECAI"; diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event.proto b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event.proto index 77f0c6b932e7..ee0d33405760 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event.proto +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event.proto @@ -22,7 +22,7 @@ import "google/cloud/recommendationengine/v1beta1/common.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine"; +option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommendationengine.v1beta1"; option objc_class_prefix = "RECAI"; diff --git a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event_service.proto b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event_service.proto index 6c0b93fd868f..6ee85e8c569a 100644 --- a/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event_service.proto +++ b/java-recommendations-ai/proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/user_event_service.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine"; +option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommendationengine.v1beta1"; option objc_class_prefix = "RECAI"; diff --git a/java-recommender/README.md b/java-recommender/README.md index f00d5e56aff3..054308b2fe69 100644 --- a/java-recommender/README.md +++ b/java-recommender/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-recommender - 2.10.0 + 2.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recommender:2.10.0' +implementation 'com.google.cloud:google-cloud-recommender:2.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "2.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "2.11.0" ``` ## Authentication diff --git a/java-recommender/google-cloud-recommender-bom/pom.xml b/java-recommender/google-cloud-recommender-bom/pom.xml index 65b336d91973..b0dd6f7f96de 100644 --- a/java-recommender/google-cloud-recommender-bom/pom.xml +++ b/java-recommender/google-cloud-recommender-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-recommender-bom - 2.11.0 + 2.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-recommender - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-recommender-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-recommender-v1beta1 - 0.23.0 + 0.24.0 com.google.api.grpc proto-google-cloud-recommender-v1 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-recommender-v1beta1 - 0.23.0 + 0.24.0 diff --git a/java-recommender/google-cloud-recommender/pom.xml b/java-recommender/google-cloud-recommender/pom.xml index 690fcc9020fa..720d1cfbe991 100644 --- a/java-recommender/google-cloud-recommender/pom.xml +++ b/java-recommender/google-cloud-recommender/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-recommender - 2.11.0 + 2.12.0 jar Google Cloud Recommender @@ -12,7 +12,7 @@ com.google.cloud google-cloud-recommender-parent - 2.11.0 + 2.12.0 google-cloud-recommender diff --git a/java-recommender/grpc-google-cloud-recommender-v1/pom.xml b/java-recommender/grpc-google-cloud-recommender-v1/pom.xml index fe9c4481dcc0..a1721977e09d 100644 --- a/java-recommender/grpc-google-cloud-recommender-v1/pom.xml +++ b/java-recommender/grpc-google-cloud-recommender-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-recommender-v1 - 2.11.0 + 2.12.0 grpc-google-cloud-recommender-v1 GRPC library for grpc-google-cloud-recommender-v1 com.google.cloud google-cloud-recommender-parent - 2.11.0 + 2.12.0 diff --git a/java-recommender/grpc-google-cloud-recommender-v1beta1/pom.xml b/java-recommender/grpc-google-cloud-recommender-v1beta1/pom.xml index e25c2b666caf..d573ad264e0b 100644 --- a/java-recommender/grpc-google-cloud-recommender-v1beta1/pom.xml +++ b/java-recommender/grpc-google-cloud-recommender-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-recommender-v1beta1 - 0.23.0 + 0.24.0 grpc-google-cloud-recommender-v1beta1 GRPC library for grpc-google-cloud-recommender-v1beta1 com.google.cloud google-cloud-recommender-parent - 2.11.0 + 2.12.0 diff --git a/java-recommender/pom.xml b/java-recommender/pom.xml index 77abb0cb8936..9d2b7865376c 100644 --- a/java-recommender/pom.xml +++ b/java-recommender/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-recommender-parent pom - 2.11.0 + 2.12.0 Google Cloud recommender Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-recommender-v1 - 2.11.0 + 2.12.0 com.google.cloud google-cloud-recommender - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-recommender-v1beta1 - 0.23.0 + 0.24.0 com.google.api.grpc grpc-google-cloud-recommender-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-recommender-v1beta1 - 0.23.0 + 0.24.0 diff --git a/java-recommender/proto-google-cloud-recommender-v1/pom.xml b/java-recommender/proto-google-cloud-recommender-v1/pom.xml index 21087e1035e1..c5f56be40614 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/pom.xml +++ b/java-recommender/proto-google-cloud-recommender-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-recommender-v1 - 2.11.0 + 2.12.0 proto-google-cloud-recommender-v1 PROTO library for proto-google-cloud-recommender-v1 com.google.cloud google-cloud-recommender-parent - 2.11.0 + 2.12.0 diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/InsightProto.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/InsightProto.java index 110bf2edb126..1a1f6a2ea75e 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/InsightProto.java +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/InsightProto.java @@ -94,20 +94,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nfo.StateMetadataEntry\0324\n\022StateMetadataE" + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"G\n\005" + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" - + "\022\014\n\010ACCEPTED\020\002\022\r\n\tDISMISSED\020\003B\365\003\n\037com.go" + + "\022\014\n\010ACCEPTED\020\002\022\r\n\tDISMISSED\020\003B\360\003\n\037com.go" + "ogle.cloud.recommender.v1B\014InsightProtoP" - + "\001ZFgoogle.golang.org/genproto/googleapis" - + "/cloud/recommender/v1;recommender\242\002\004CREC" - + "\252\002\033Google.Cloud.Recommender.V1\352A\323\002\n&reco" - + "mmender.googleapis.com/InsightType\022Cproj" - + "ects/{project}/locations/{location}/insi" - + "ghtTypes/{insight_type}\022RbillingAccounts" - + "/{billing_account}/locations/{location}/" - + "insightTypes/{insight_type}\022Afolders/{fo" - + "lder}/locations/{location}/insightTypes/" - + "{insight_type}\022Morganizations/{organizat" - + "ion}/locations/{location}/insightTypes/{" - + "insight_type}b\006proto3" + + "\001ZAcloud.google.com/go/recommender/apiv1" + + "/recommenderpb;recommenderpb\242\002\004CREC\252\002\033Go" + + "ogle.Cloud.Recommender.V1\352A\323\002\n&recommend" + + "er.googleapis.com/InsightType\022Cprojects/" + + "{project}/locations/{location}/insightTy" + + "pes/{insight_type}\022RbillingAccounts/{bil" + + "ling_account}/locations/{location}/insig" + + "htTypes/{insight_type}\022Afolders/{folder}" + + "/locations/{location}/insightTypes/{insi" + + "ght_type}\022Morganizations/{organization}/" + + "locations/{location}/insightTypes/{insig" + + "ht_type}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/InsightTypeConfigProto.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/InsightTypeConfigProto.java index 395037048181..9c3e21a59151 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/InsightTypeConfigProto.java +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/InsightTypeConfigProto.java @@ -70,11 +70,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ns/{location}/insightTypes/{insight_type" + "}/config\"F\n\033InsightTypeGenerationConfig\022" + "\'\n\006params\030\001 \001(\0132\027.google.protobuf.Struct" - + "B\250\001\n\037com.google.cloud.recommender.v1B\026In" - + "sightTypeConfigProtoP\001ZFgoogle.golang.or" - + "g/genproto/googleapis/cloud/recommender/" - + "v1;recommender\242\002\004CREC\252\002\033Google.Cloud.Rec" - + "ommender.V1b\006proto3" + + "B\243\001\n\037com.google.cloud.recommender.v1B\026In" + + "sightTypeConfigProtoP\001ZAcloud.google.com" + + "/go/recommender/apiv1/recommenderpb;reco" + + "mmenderpb\242\002\004CREC\252\002\033Google.Cloud.Recommen" + + "der.V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommendationOuterClass.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommendationOuterClass.java index a89b17e039b7..8feff3fa8bba 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommendationOuterClass.java +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommendationOuterClass.java @@ -166,20 +166,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tateMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + "\002 \001(\t:\0028\001\"a\n\005State\022\025\n\021STATE_UNSPECIFIED\020" + "\000\022\n\n\006ACTIVE\020\001\022\013\n\007CLAIMED\020\006\022\r\n\tSUCCEEDED\020" - + "\003\022\n\n\006FAILED\020\004\022\r\n\tDISMISSED\020\005B\343\003\n\037com.goo" - + "gle.cloud.recommender.v1P\001ZFgoogle.golan" - + "g.org/genproto/googleapis/cloud/recommen" - + "der/v1;recommender\242\002\004CREC\252\002\033Google.Cloud" - + ".Recommender.V1\352A\317\002\n&recommender.googlea" - + "pis.com/Recommender\022Bprojects/{project}/" - + "locations/{location}/recommenders/{recom" - + "mender}\022QbillingAccounts/{billing_accoun" - + "t}/locations/{location}/recommenders/{re" - + "commender}\022@folders/{folder}/locations/{" - + "location}/recommenders/{recommender}\022Lor" - + "ganizations/{organization}/locations/{lo" - + "cation}/recommenders/{recommender}b\006prot" - + "o3" + + "\003\022\n\n\006FAILED\020\004\022\r\n\tDISMISSED\020\005B\336\003\n\037com.goo" + + "gle.cloud.recommender.v1P\001ZAcloud.google" + + ".com/go/recommender/apiv1/recommenderpb;" + + "recommenderpb\242\002\004CREC\252\002\033Google.Cloud.Reco" + + "mmender.V1\352A\317\002\n&recommender.googleapis.c" + + "om/Recommender\022Bprojects/{project}/locat" + + "ions/{location}/recommenders/{recommende" + + "r}\022QbillingAccounts/{billing_account}/lo" + + "cations/{location}/recommenders/{recomme" + + "nder}\022@folders/{folder}/locations/{locat" + + "ion}/recommenders/{recommender}\022Lorganiz" + + "ations/{organization}/locations/{locatio" + + "n}/recommenders/{recommender}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommenderConfigProto.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommenderConfigProto.java index 9ec8918d810d..9d73f13bb78f 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommenderConfigProto.java +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommenderConfigProto.java @@ -69,12 +69,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Sorganizations/{organization}/locations/" + "{location}/recommenders/{recommender}/co" + "nfig\"F\n\033RecommenderGenerationConfig\022\'\n\006p" - + "arams\030\001 \001(\0132\027.google.protobuf.StructB\250\001\n" + + "arams\030\001 \001(\0132\027.google.protobuf.StructB\243\001\n" + "\037com.google.cloud.recommender.v1B\026Recomm" - + "enderConfigProtoP\001ZFgoogle.golang.org/ge" - + "nproto/googleapis/cloud/recommender/v1;r" - + "ecommender\242\002\004CREC\252\002\033Google.Cloud.Recomme" - + "nder.V1b\006proto3" + + "enderConfigProtoP\001ZAcloud.google.com/go/" + + "recommender/apiv1/recommenderpb;recommen" + + "derpb\242\002\004CREC\252\002\033Google.Cloud.Recommender." + + "V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommenderProto.java b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommenderProto.java index c262e65dbadf..6a61dfb9f0ce 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommenderProto.java +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/RecommenderProto.java @@ -307,11 +307,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "type_config\332A\037insight_type_config,update" + "_mask\032N\312A\032recommender.googleapis.com\322A.h" + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformB\242\001\n\037com.google.cloud.recommender.v" - + "1B\020RecommenderProtoP\001ZFgoogle.golang.org" - + "/genproto/googleapis/cloud/recommender/v" - + "1;recommender\242\002\004CREC\252\002\033Google.Cloud.Reco" - + "mmender.V1b\006proto3" + + "tformB\235\001\n\037com.google.cloud.recommender.v" + + "1B\020RecommenderProtoP\001ZAcloud.google.com/" + + "go/recommender/apiv1/recommenderpb;recom" + + "menderpb\242\002\004CREC\252\002\033Google.Cloud.Recommend" + + "er.V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/insight.proto b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/insight.proto index 0fdc0fdaeef7..2d7c01339e33 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/insight.proto +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/insight.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_outer_classname = "InsightProto"; option java_package = "com.google.cloud.recommender.v1"; diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/insight_type_config.proto b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/insight_type_config.proto index b457b2d0b308..742864bc75b3 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/insight_type_config.proto +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/insight_type_config.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_outer_classname = "InsightTypeConfigProto"; option java_package = "com.google.cloud.recommender.v1"; diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommendation.proto b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommendation.proto index 5d72be18d4ab..fd1533456880 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommendation.proto +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommendation.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/money.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommender.v1"; option objc_class_prefix = "CREC"; diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_config.proto b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_config.proto index d3b7c596b181..0e0c613b9820 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_config.proto +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_config.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_outer_classname = "RecommenderConfigProto"; option java_package = "com.google.cloud.recommender.v1"; diff --git a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_service.proto b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_service.proto index 93ed5b965b27..947687639d1a 100644 --- a/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_service.proto +++ b/java-recommender/proto-google-cloud-recommender-v1/src/main/proto/google/cloud/recommender/v1/recommender_service.proto @@ -27,7 +27,7 @@ import "google/cloud/recommender/v1/recommender_config.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_outer_classname = "RecommenderProto"; option java_package = "com.google.cloud.recommender.v1"; diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/pom.xml b/java-recommender/proto-google-cloud-recommender-v1beta1/pom.xml index 4e34a9f995a5..e079f459650c 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/pom.xml +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-recommender-v1beta1 - 0.23.0 + 0.24.0 proto-google-cloud-recommender-v1beta1 PROTO library for proto-google-cloud-recommender-v1beta1 com.google.cloud google-cloud-recommender-parent - 2.11.0 + 2.12.0 diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/InsightOuterClass.java b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/InsightOuterClass.java index f8edc6b411bf..3c5107890915 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/InsightOuterClass.java +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/InsightOuterClass.java @@ -95,20 +95,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nfo.StateMetadataEntry\0324\n\022StateMetadataE" + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"G\n\005" + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" - + "\022\014\n\010ACCEPTED\020\002\022\r\n\tDISMISSED\020\003B\366\003\n$com.go" - + "ogle.cloud.recommender.v1beta1P\001ZKgoogle" - + ".golang.org/genproto/googleapis/cloud/re" - + "commender/v1beta1;recommender\242\002\004CREC\252\002 G" - + "oogle.Cloud.Recommender.V1Beta1\352A\323\002\n&rec" - + "ommender.googleapis.com/InsightType\022Cpro" - + "jects/{project}/locations/{location}/ins" - + "ightTypes/{insight_type}\022RbillingAccount" - + "s/{billing_account}/locations/{location}" - + "/insightTypes/{insight_type}\022Afolders/{f" - + "older}/locations/{location}/insightTypes" - + "/{insight_type}\022Morganizations/{organiza" - + "tion}/locations/{location}/insightTypes/" - + "{insight_type}b\006proto3" + + "\022\014\n\010ACCEPTED\020\002\022\r\n\tDISMISSED\020\003B\361\003\n$com.go" + + "ogle.cloud.recommender.v1beta1P\001ZFcloud." + + "google.com/go/recommender/apiv1beta1/rec" + + "ommenderpb;recommenderpb\242\002\004CREC\252\002 Google" + + ".Cloud.Recommender.V1Beta1\352A\323\002\n&recommen" + + "der.googleapis.com/InsightType\022Cprojects" + + "/{project}/locations/{location}/insightT" + + "ypes/{insight_type}\022RbillingAccounts/{bi" + + "lling_account}/locations/{location}/insi" + + "ghtTypes/{insight_type}\022Afolders/{folder" + + "}/locations/{location}/insightTypes/{ins" + + "ight_type}\022Morganizations/{organization}" + + "/locations/{location}/insightTypes/{insi" + + "ght_type}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/InsightTypeConfigProto.java b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/InsightTypeConfigProto.java index 03ebc916870e..33749bb260c4 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/InsightTypeConfigProto.java +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/InsightTypeConfigProto.java @@ -70,12 +70,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rganization}/locations/{location}/insigh" + "tTypes/{insight_type}/config\"F\n\033InsightT" + "ypeGenerationConfig\022\'\n\006params\030\001 \001(\0132\027.go" - + "ogle.protobuf.StructB\267\001\n$com.google.clou" + + "ogle.protobuf.StructB\262\001\n$com.google.clou" + "d.recommender.v1beta1B\026InsightTypeConfig" - + "ProtoP\001ZKgoogle.golang.org/genproto/goog" - + "leapis/cloud/recommender/v1beta1;recomme" - + "nder\242\002\004CREC\252\002 Google.Cloud.Recommender.V" - + "1Beta1b\006proto3" + + "ProtoP\001ZFcloud.google.com/go/recommender" + + "/apiv1beta1/recommenderpb;recommenderpb\242" + + "\002\004CREC\252\002 Google.Cloud.Recommender.V1Beta" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommendationOuterClass.java b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommendationOuterClass.java index 9f8e6d582ed7..03dc1b82c8d7 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommendationOuterClass.java +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommendationOuterClass.java @@ -178,19 +178,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"a\n\005Stat" + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\013\n\007" + "CLAIMED\020\006\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\r\n\t" - + "DISMISSED\020\005B\362\003\n$com.google.cloud.recomme" - + "nder.v1beta1P\001ZKgoogle.golang.org/genpro" - + "to/googleapis/cloud/recommender/v1beta1;" - + "recommender\242\002\004CREC\252\002 Google.Cloud.Recomm" - + "ender.V1Beta1\352A\317\002\n&recommender.googleapi" - + "s.com/Recommender\022Bprojects/{project}/lo" - + "cations/{location}/recommenders/{recomme" - + "nder}\022QbillingAccounts/{billing_account}" - + "/locations/{location}/recommenders/{reco" - + "mmender}\022@folders/{folder}/locations/{lo" - + "cation}/recommenders/{recommender}\022Lorga" - + "nizations/{organization}/locations/{loca" - + "tion}/recommenders/{recommender}b\006proto3" + + "DISMISSED\020\005B\355\003\n$com.google.cloud.recomme" + + "nder.v1beta1P\001ZFcloud.google.com/go/reco" + + "mmender/apiv1beta1/recommenderpb;recomme" + + "nderpb\242\002\004CREC\252\002 Google.Cloud.Recommender" + + ".V1Beta1\352A\317\002\n&recommender.googleapis.com" + + "/Recommender\022Bprojects/{project}/locatio" + + "ns/{location}/recommenders/{recommender}" + + "\022QbillingAccounts/{billing_account}/loca" + + "tions/{location}/recommenders/{recommend" + + "er}\022@folders/{folder}/locations/{locatio" + + "n}/recommenders/{recommender}\022Lorganizat" + + "ions/{organization}/locations/{location}" + + "/recommenders/{recommender}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommenderConfigProto.java b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommenderConfigProto.java index d43eb4492192..5d2a01cff988 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommenderConfigProto.java +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommenderConfigProto.java @@ -70,12 +70,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nization}/locations/{location}/recommend" + "ers/{recommender}/config\"F\n\033RecommenderG" + "enerationConfig\022\'\n\006params\030\001 \001(\0132\027.google" - + ".protobuf.StructB\267\001\n$com.google.cloud.re" + + ".protobuf.StructB\262\001\n$com.google.cloud.re" + "commender.v1beta1B\026RecommenderConfigProt" - + "oP\001ZKgoogle.golang.org/genproto/googleap" - + "is/cloud/recommender/v1beta1;recommender" - + "\242\002\004CREC\252\002 Google.Cloud.Recommender.V1Bet" - + "a1b\006proto3" + + "oP\001ZFcloud.google.com/go/recommender/api" + + "v1beta1/recommenderpb;recommenderpb\242\002\004CR" + + "EC\252\002 Google.Cloud.Recommender.V1Beta1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommenderProto.java b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommenderProto.java index 95e46461bf45..b96d12f4efde 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommenderProto.java +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/RecommenderProto.java @@ -316,12 +316,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ypes/*/config}:\023insight_type_config\332A\037in" + "sight_type_config,update_mask\032N\312A\032recomm" + "ender.googleapis.com\322A.https://www.googl" - + "eapis.com/auth/cloud-platformB\261\001\n$com.go" + + "eapis.com/auth/cloud-platformB\254\001\n$com.go" + "ogle.cloud.recommender.v1beta1B\020Recommen" - + "derProtoP\001ZKgoogle.golang.org/genproto/g" - + "oogleapis/cloud/recommender/v1beta1;reco" - + "mmender\242\002\004CREC\252\002 Google.Cloud.Recommende" - + "r.V1Beta1b\006proto3" + + "derProtoP\001ZFcloud.google.com/go/recommen" + + "der/apiv1beta1/recommenderpb;recommender" + + "pb\242\002\004CREC\252\002 Google.Cloud.Recommender.V1B" + + "eta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/insight.proto b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/insight.proto index 74beae393abb..2fc7f6477e6a 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/insight.proto +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/insight.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1beta1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1beta1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommender.v1beta1"; option objc_class_prefix = "CREC"; diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/insight_type_config.proto b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/insight_type_config.proto index 991338586e59..e910a3d26d3b 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/insight_type_config.proto +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/insight_type_config.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1beta1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1beta1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_outer_classname = "InsightTypeConfigProto"; option java_package = "com.google.cloud.recommender.v1beta1"; diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommendation.proto b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommendation.proto index c65045be3ca5..390958c62cef 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommendation.proto +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommendation.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/money.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1beta1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1beta1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_package = "com.google.cloud.recommender.v1beta1"; option objc_class_prefix = "CREC"; diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommender_config.proto b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommender_config.proto index 36ea3e2a2f20..834f17beadbb 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommender_config.proto +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommender_config.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1beta1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1beta1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_outer_classname = "RecommenderConfigProto"; option java_package = "com.google.cloud.recommender.v1beta1"; diff --git a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommender_service.proto b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommender_service.proto index 11ff153e02d8..80829a90c012 100644 --- a/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommender_service.proto +++ b/java-recommender/proto-google-cloud-recommender-v1beta1/src/main/proto/google/cloud/recommender/v1beta1/recommender_service.proto @@ -27,7 +27,7 @@ import "google/cloud/recommender/v1beta1/recommender_config.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Recommender.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/recommender/v1beta1;recommender"; +option go_package = "cloud.google.com/go/recommender/apiv1beta1/recommenderpb;recommenderpb"; option java_multiple_files = true; option java_outer_classname = "RecommenderProto"; option java_package = "com.google.cloud.recommender.v1beta1"; diff --git a/java-redis/README.md b/java-redis/README.md index 6d3cad0c9d9f..17b8cc659018 100644 --- a/java-redis/README.md +++ b/java-redis/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-redis - 2.11.0 + 2.12.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-redis:2.11.0' +implementation 'com.google.cloud:google-cloud-redis:2.12.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "2.11.0" +libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "2.12.0" ``` ## Authentication diff --git a/java-redis/google-cloud-redis-bom/pom.xml b/java-redis/google-cloud-redis-bom/pom.xml index 656d01ee2e3d..208c9765b142 100644 --- a/java-redis/google-cloud-redis-bom/pom.xml +++ b/java-redis/google-cloud-redis-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-redis-bom - 2.12.0 + 2.13.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-redis - 2.12.0 + 2.13.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.100.0 + 0.101.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 2.12.0 + 2.13.0 com.google.api.grpc proto-google-cloud-redis-v1 - 2.12.0 + 2.13.0 com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.100.0 + 0.101.0 diff --git a/java-redis/google-cloud-redis/pom.xml b/java-redis/google-cloud-redis/pom.xml index c9679afdef69..460cafad8372 100644 --- a/java-redis/google-cloud-redis/pom.xml +++ b/java-redis/google-cloud-redis/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-redis - 2.12.0 + 2.13.0 jar Google Cloud Redis Java idiomatic client for Google Cloud Redis com.google.cloud google-cloud-redis-parent - 2.12.0 + 2.13.0 google-cloud-redis diff --git a/java-redis/grpc-google-cloud-redis-v1/pom.xml b/java-redis/grpc-google-cloud-redis-v1/pom.xml index 0ed23346a4fa..aa5d31f6af75 100644 --- a/java-redis/grpc-google-cloud-redis-v1/pom.xml +++ b/java-redis/grpc-google-cloud-redis-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 2.12.0 + 2.13.0 grpc-google-cloud-redis-v1 GRPC library for grpc-google-cloud-redis-v1 com.google.cloud google-cloud-redis-parent - 2.12.0 + 2.13.0 diff --git a/java-redis/grpc-google-cloud-redis-v1beta1/pom.xml b/java-redis/grpc-google-cloud-redis-v1beta1/pom.xml index faca72dc32db..87636312e700 100644 --- a/java-redis/grpc-google-cloud-redis-v1beta1/pom.xml +++ b/java-redis/grpc-google-cloud-redis-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.100.0 + 0.101.0 grpc-google-cloud-redis-v1beta1 GRPC library for grpc-google-cloud-redis-v1beta1 com.google.cloud google-cloud-redis-parent - 2.12.0 + 2.13.0 diff --git a/java-redis/pom.xml b/java-redis/pom.xml index 9b62e0b94c68..6fd45cd32ed2 100644 --- a/java-redis/pom.xml +++ b/java-redis/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-redis-parent pom - 2.12.0 + 2.13.0 Google Cloud Redis Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-redis-v1 - 2.12.0 + 2.13.0 com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.100.0 + 0.101.0 com.google.api.grpc grpc-google-cloud-redis-v1beta1 - 0.100.0 + 0.101.0 com.google.api.grpc grpc-google-cloud-redis-v1 - 2.12.0 + 2.13.0 com.google.cloud google-cloud-redis - 2.12.0 + 2.13.0 diff --git a/java-redis/proto-google-cloud-redis-v1/pom.xml b/java-redis/proto-google-cloud-redis-v1/pom.xml index 8010455f094a..6e0ba8b9f12e 100644 --- a/java-redis/proto-google-cloud-redis-v1/pom.xml +++ b/java-redis/proto-google-cloud-redis-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-redis-v1 - 2.12.0 + 2.13.0 proto-google-cloud-redis-v1 PROTO library for proto-google-cloud-redis-v1 com.google.cloud google-cloud-redis-parent - 2.12.0 + 2.13.0 diff --git a/java-redis/proto-google-cloud-redis-v1/src/main/java/com/google/cloud/redis/v1/CloudRedisServiceV1Proto.java b/java-redis/proto-google-cloud-redis-v1/src/main/java/com/google/cloud/redis/v1/CloudRedisServiceV1Proto.java index 9dd93069f168..f6b4a3bb1293 100644 --- a/java-redis/proto-google-cloud-redis-v1/src/main/java/com/google/cloud/redis/v1/CloudRedisServiceV1Proto.java +++ b/java-redis/proto-google-cloud-redis-v1/src/main/java/com/google/cloud/redis/v1/CloudRedisServiceV1Proto.java @@ -365,10 +365,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "dis.v1.Instance\022\'google.cloud.redis.v1.O" + "perationMetadata\032H\312A\024redis.googleapis.co" + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformBs\n\031com.google.cloud.redis.v1B" - + "\030CloudRedisServiceV1ProtoP\001Z:google.gola" - + "ng.org/genproto/googleapis/cloud/redis/v" - + "1;redisb\006proto3" + + "d-platformBh\n\031com.google.cloud.redis.v1B" + + "\030CloudRedisServiceV1ProtoP\001Z/cloud.googl" + + "e.com/go/redis/apiv1/redispb;redispbb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-redis/proto-google-cloud-redis-v1/src/main/proto/google/cloud/redis/v1/cloud_redis.proto b/java-redis/proto-google-cloud-redis-v1/src/main/proto/google/cloud/redis/v1/cloud_redis.proto index f0ba2f43fbfd..51659ed119f7 100644 --- a/java-redis/proto-google-cloud-redis-v1/src/main/proto/google/cloud/redis/v1/cloud_redis.proto +++ b/java-redis/proto-google-cloud-redis-v1/src/main/proto/google/cloud/redis/v1/cloud_redis.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/dayofweek.proto"; import "google/type/timeofday.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/redis/v1;redis"; +option go_package = "cloud.google.com/go/redis/apiv1/redispb;redispb"; option java_multiple_files = true; option java_outer_classname = "CloudRedisServiceV1Proto"; option java_package = "com.google.cloud.redis.v1"; diff --git a/java-redis/proto-google-cloud-redis-v1beta1/pom.xml b/java-redis/proto-google-cloud-redis-v1beta1/pom.xml index fb58cd1e0a2e..8e9d355ef83b 100644 --- a/java-redis/proto-google-cloud-redis-v1beta1/pom.xml +++ b/java-redis/proto-google-cloud-redis-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-redis-v1beta1 - 0.100.0 + 0.101.0 proto-google-cloud-redis-v1beta1 PROTO library for proto-google-cloud-redis-v1beta1 com.google.cloud google-cloud-redis-parent - 2.12.0 + 2.13.0 diff --git a/java-redis/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisServiceBetaProto.java b/java-redis/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisServiceBetaProto.java index 57d3f714ed07..b65fc1a905da 100644 --- a/java-redis/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisServiceBetaProto.java +++ b/java-redis/proto-google-cloud-redis-v1beta1/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisServiceBetaProto.java @@ -378,10 +378,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ime\312A:\n#google.cloud.redis.v1beta1.Insta" + "nce\022\023google.protobuf.Any\032H\312A\024redis.googl" + "eapis.com\322A.https://www.googleapis.com/a" - + "uth/cloud-platformB\177\n\036com.google.cloud.r" + + "uth/cloud-platformBt\n\036com.google.cloud.r" + "edis.v1beta1B\032CloudRedisServiceBetaProto" - + "P\001Z?google.golang.org/genproto/googleapi" - + "s/cloud/redis/v1beta1;redisb\006proto3" + + "P\001Z4cloud.google.com/go/redis/apiv1beta1" + + "/redispb;redispbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-redis/proto-google-cloud-redis-v1beta1/src/main/proto/google/cloud/redis/v1beta1/cloud_redis.proto b/java-redis/proto-google-cloud-redis-v1beta1/src/main/proto/google/cloud/redis/v1beta1/cloud_redis.proto index 075a06359d09..037c93aeb5c7 100644 --- a/java-redis/proto-google-cloud-redis-v1beta1/src/main/proto/google/cloud/redis/v1beta1/cloud_redis.proto +++ b/java-redis/proto-google-cloud-redis-v1beta1/src/main/proto/google/cloud/redis/v1beta1/cloud_redis.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/dayofweek.proto"; import "google/type/timeofday.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/redis/v1beta1;redis"; +option go_package = "cloud.google.com/go/redis/apiv1beta1/redispb;redispb"; option java_multiple_files = true; option java_outer_classname = "CloudRedisServiceBetaProto"; option java_package = "com.google.cloud.redis.v1beta1"; diff --git a/java-resource-settings/README.md b/java-resource-settings/README.md index 6508a8ebc9a3..6b46193741d6 100644 --- a/java-resource-settings/README.md +++ b/java-resource-settings/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-resource-settings - 1.8.0 + 1.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-resource-settings:1.8.0' +implementation 'com.google.cloud:google-cloud-resource-settings:1.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resource-settings" % "1.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-resource-settings" % "1.9.0" ``` ## Authentication diff --git a/java-resource-settings/google-cloud-resource-settings-bom/pom.xml b/java-resource-settings/google-cloud-resource-settings-bom/pom.xml index 25074815551a..4592a61f8ee8 100644 --- a/java-resource-settings/google-cloud-resource-settings-bom/pom.xml +++ b/java-resource-settings/google-cloud-resource-settings-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-resource-settings-bom - 1.9.0 + 1.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-resource-settings - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-resource-settings-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-resource-settings-v1 - 1.9.0 + 1.10.0 diff --git a/java-resource-settings/google-cloud-resource-settings/pom.xml b/java-resource-settings/google-cloud-resource-settings/pom.xml index b33a50e5f3ab..ced39f8101ac 100644 --- a/java-resource-settings/google-cloud-resource-settings/pom.xml +++ b/java-resource-settings/google-cloud-resource-settings/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-resource-settings - 1.9.0 + 1.10.0 jar Google Resource Settings API Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy. com.google.cloud google-cloud-resource-settings-parent - 1.9.0 + 1.10.0 google-cloud-resource-settings diff --git a/java-resource-settings/grpc-google-cloud-resource-settings-v1/pom.xml b/java-resource-settings/grpc-google-cloud-resource-settings-v1/pom.xml index 7b02cb09d16d..8871916573d6 100644 --- a/java-resource-settings/grpc-google-cloud-resource-settings-v1/pom.xml +++ b/java-resource-settings/grpc-google-cloud-resource-settings-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-resource-settings-v1 - 1.9.0 + 1.10.0 grpc-google-cloud-resource-settings-v1 GRPC library for google-cloud-resource-settings com.google.cloud google-cloud-resource-settings-parent - 1.9.0 + 1.10.0 diff --git a/java-resource-settings/pom.xml b/java-resource-settings/pom.xml index dd7c3bfd4d0e..ab2ccb919452 100644 --- a/java-resource-settings/pom.xml +++ b/java-resource-settings/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-resource-settings-parent pom - 1.9.0 + 1.10.0 Google Resource Settings API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-resource-settings - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-resource-settings-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-resource-settings-v1 - 1.9.0 + 1.10.0 diff --git a/java-resource-settings/proto-google-cloud-resource-settings-v1/pom.xml b/java-resource-settings/proto-google-cloud-resource-settings-v1/pom.xml index 85ef42372821..5864280d31c3 100644 --- a/java-resource-settings/proto-google-cloud-resource-settings-v1/pom.xml +++ b/java-resource-settings/proto-google-cloud-resource-settings-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-resource-settings-v1 - 1.9.0 + 1.10.0 proto-google-cloud-resource-settings-v1 Proto library for google-cloud-resource-settings com.google.cloud google-cloud-resource-settings-parent - 1.9.0 + 1.10.0 diff --git a/java-resource-settings/proto-google-cloud-resource-settings-v1/src/main/java/com/google/cloud/resourcesettings/v1/ResourceSettingsProto.java b/java-resource-settings/proto-google-cloud-resource-settings-v1/src/main/java/com/google/cloud/resourcesettings/v1/ResourceSettingsProto.java index b3ec10a1aa35..45392056565c 100644 --- a/java-resource-settings/proto-google-cloud-resource-settings-v1/src/main/java/com/google/cloud/resourcesettings/v1/ResourceSettingsProto.java +++ b/java-resource-settings/proto-google-cloud-resource-settings-v1/src/main/java/com/google/cloud/resourcesettings/v1/ResourceSettingsProto.java @@ -142,9 +142,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ting\032S\312A\037resourcesettings.googleapis.com" + "\322A.https://www.googleapis.com/auth/cloud" + "-platformB\200\002\n$com.google.cloud.resources" - + "ettings.v1B\025ResourceSettingsProtoP\001ZPgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/resourcesettings/v1;resourcesettings\370\001\001" + + "ettings.v1B\025ResourceSettingsProtoP\001ZPclo" + + "ud.google.com/go/resourcesettings/apiv1/" + + "resourcesettingspb;resourcesettingspb\370\001\001" + "\252\002 Google.Cloud.ResourceSettings.V1\312\002 Go" + "ogle\\Cloud\\ResourceSettings\\V1\352\002#Google:" + ":Cloud::ResourceSettings::V1b\006proto3" diff --git a/java-resource-settings/proto-google-cloud-resource-settings-v1/src/main/proto/google/cloud/resourcesettings/v1/resource_settings.proto b/java-resource-settings/proto-google-cloud-resource-settings-v1/src/main/proto/google/cloud/resourcesettings/v1/resource_settings.proto index c2e7f7dba630..38479dcbd01c 100644 --- a/java-resource-settings/proto-google-cloud-resource-settings-v1/src/main/proto/google/cloud/resourcesettings/v1/resource_settings.proto +++ b/java-resource-settings/proto-google-cloud-resource-settings-v1/src/main/proto/google/cloud/resourcesettings/v1/resource_settings.proto @@ -22,7 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/resourcesettings/v1;resourcesettings"; +option go_package = "cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb;resourcesettingspb"; option java_multiple_files = true; option java_outer_classname = "ResourceSettingsProto"; option java_package = "com.google.cloud.resourcesettings.v1"; diff --git a/java-resourcemanager/README.md b/java-resourcemanager/README.md index d5db77bd5d7b..0e96236cc365 100644 --- a/java-resourcemanager/README.md +++ b/java-resourcemanager/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-resourcemanager - 1.10.0 + 1.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-resourcemanager:1.10.0' +implementation 'com.google.cloud:google-cloud-resourcemanager:1.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.11.0" ``` ## Authentication diff --git a/java-resourcemanager/google-cloud-resourcemanager-bom/pom.xml b/java-resourcemanager/google-cloud-resourcemanager-bom/pom.xml index f5b34d8100d1..74b0ad2d79dc 100644 --- a/java-resourcemanager/google-cloud-resourcemanager-bom/pom.xml +++ b/java-resourcemanager/google-cloud-resourcemanager-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-resourcemanager-bom - 1.11.0 + 1.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-resourcemanager - 1.11.0 + 1.12.0 com.google.api.grpc grpc-google-cloud-resourcemanager-v3 - 1.11.0 + 1.12.0 com.google.api.grpc proto-google-cloud-resourcemanager-v3 - 1.11.0 + 1.12.0 diff --git a/java-resourcemanager/google-cloud-resourcemanager/pom.xml b/java-resourcemanager/google-cloud-resourcemanager/pom.xml index f19b194681e1..fb6d51857115 100644 --- a/java-resourcemanager/google-cloud-resourcemanager/pom.xml +++ b/java-resourcemanager/google-cloud-resourcemanager/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-resourcemanager jar - 1.11.0 + 1.12.0 Google Cloud Resource Manager Java idiomatic client for Google Cloud Resource Manager @@ -13,7 +13,7 @@ com.google.cloud google-cloud-resourcemanager-parent - 1.11.0 + 1.12.0 diff --git a/java-resourcemanager/grpc-google-cloud-resourcemanager-v3/pom.xml b/java-resourcemanager/grpc-google-cloud-resourcemanager-v3/pom.xml index b636ad5853a9..c03ac93924e3 100644 --- a/java-resourcemanager/grpc-google-cloud-resourcemanager-v3/pom.xml +++ b/java-resourcemanager/grpc-google-cloud-resourcemanager-v3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-resourcemanager-v3 - 1.11.0 + 1.12.0 grpc-google-cloud-resourcemanager-v3 GRPC library for google-cloud-resourcemanager com.google.cloud google-cloud-resourcemanager-parent - 1.11.0 + 1.12.0 diff --git a/java-resourcemanager/pom.xml b/java-resourcemanager/pom.xml index 9d00f977e730..f1116702ba4e 100644 --- a/java-resourcemanager/pom.xml +++ b/java-resourcemanager/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-resourcemanager-parent pom - 1.11.0 + 1.12.0 Google Resource Manager API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,18 +29,18 @@ com.google.cloud google-cloud-resourcemanager - 1.11.0 + 1.12.0 com.google.api.grpc proto-google-cloud-resourcemanager-v3 - 1.11.0 + 1.12.0 com.google.api.grpc grpc-google-cloud-resourcemanager-v3 - 1.11.0 + 1.12.0 diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/pom.xml b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/pom.xml index 1bf8988921f9..85f2b0c4cc69 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/pom.xml +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-resourcemanager-v3 - 1.11.0 + 1.12.0 proto-google-cloud-resourcemanager-v3 Proto library for google-cloud-resourcemanager com.google.cloud google-cloud-resourcemanager-parent - 1.11.0 + 1.12.0 diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/FoldersProto.java b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/FoldersProto.java index f8e94012a74b..c5fb08cd10ef 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/FoldersProto.java +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/FoldersProto.java @@ -202,14 +202,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ssions\032\220\001\312A#cloudresourcemanager.googlea" + "pis.com\322Aghttps://www.googleapis.com/aut" + "h/cloud-platform,https://www.googleapis." - + "com/auth/cloud-platform.read-onlyB\356\001\n#co" + + "com/auth/cloud-platform.read-onlyB\355\001\n#co" + "m.google.cloud.resourcemanager.v3B\014Folde" - + "rsProtoP\001ZNgoogle.golang.org/genproto/go" - + "ogleapis/cloud/resourcemanager/v3;resour" - + "cemanager\252\002\037Google.Cloud.ResourceManager" - + ".V3\312\002\037Google\\Cloud\\ResourceManager\\V3\352\002\"" - + "Google::Cloud::ResourceManager::V3b\006prot" - + "o3" + + "rsProtoP\001ZMcloud.google.com/go/resourcem" + + "anager/apiv3/resourcemanagerpb;resourcem" + + "anagerpb\252\002\037Google.Cloud.ResourceManager." + + "V3\312\002\037Google\\Cloud\\ResourceManager\\V3\352\002\"G" + + "oogle::Cloud::ResourceManager::V3b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsProto.java b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsProto.java index ee2540a21f32..444a08088b2c 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsProto.java +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/OrganizationsProto.java @@ -114,14 +114,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ermissions\032\220\001\312A#cloudresourcemanager.goo" + "gleapis.com\322Aghttps://www.googleapis.com" + "/auth/cloud-platform,https://www.googlea" - + "pis.com/auth/cloud-platform.read-onlyB\364\001" + + "pis.com/auth/cloud-platform.read-onlyB\363\001" + "\n#com.google.cloud.resourcemanager.v3B\022O" - + "rganizationsProtoP\001ZNgoogle.golang.org/g" - + "enproto/googleapis/cloud/resourcemanager" - + "/v3;resourcemanager\252\002\037Google.Cloud.Resou" - + "rceManager.V3\312\002\037Google\\Cloud\\ResourceMan" - + "ager\\V3\352\002\"Google::Cloud::ResourceManager" - + "::V3b\006proto3" + + "rganizationsProtoP\001ZMcloud.google.com/go" + + "/resourcemanager/apiv3/resourcemanagerpb" + + ";resourcemanagerpb\252\002\037Google.Cloud.Resour" + + "ceManager.V3\312\002\037Google\\Cloud\\ResourceMana" + + "ger\\V3\352\002\"Google::Cloud::ResourceManager:" + + ":V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsProto.java b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsProto.java index 33ad55ba7878..1fd757e5e8c5 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsProto.java +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/ProjectsProto.java @@ -211,14 +211,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "permissions\032\220\001\312A#cloudresourcemanager.go" + "ogleapis.com\322Aghttps://www.googleapis.co" + "m/auth/cloud-platform,https://www.google" - + "apis.com/auth/cloud-platform.read-onlyB\357" + + "apis.com/auth/cloud-platform.read-onlyB\356" + "\001\n#com.google.cloud.resourcemanager.v3B\r" - + "ProjectsProtoP\001ZNgoogle.golang.org/genpr" - + "oto/googleapis/cloud/resourcemanager/v3;" - + "resourcemanager\252\002\037Google.Cloud.ResourceM" - + "anager.V3\312\002\037Google\\Cloud\\ResourceManager" - + "\\V3\352\002\"Google::Cloud::ResourceManager::V3" - + "b\006proto3" + + "ProjectsProtoP\001ZMcloud.google.com/go/res" + + "ourcemanager/apiv3/resourcemanagerpb;res" + + "ourcemanagerpb\252\002\037Google.Cloud.ResourceMa" + + "nager.V3\312\002\037Google\\Cloud\\ResourceManager\\" + + "V3\352\002\"Google::Cloud::ResourceManager::V3b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsProto.java b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsProto.java index 4d8c5cbd5643..c9113257226e 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsProto.java +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagBindingsProto.java @@ -104,13 +104,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001\312A#cloudresourcemanager.googleapis.com\322" + "Aghttps://www.googleapis.com/auth/cloud-" + "platform,https://www.googleapis.com/auth" - + "/cloud-platform.read-onlyB\362\001\n#com.google" + + "/cloud-platform.read-onlyB\361\001\n#com.google" + ".cloud.resourcemanager.v3B\020TagBindingsPr" - + "otoP\001ZNgoogle.golang.org/genproto/google" - + "apis/cloud/resourcemanager/v3;resourcema" - + "nager\252\002\037Google.Cloud.ResourceManager.V3\312" - + "\002\037Google\\Cloud\\ResourceManager\\V3\352\002\"Goog" - + "le::Cloud::ResourceManager::V3b\006proto3" + + "otoP\001ZMcloud.google.com/go/resourcemanag" + + "er/apiv3/resourcemanagerpb;resourcemanag" + + "erpb\252\002\037Google.Cloud.ResourceManager.V3\312\002" + + "\037Google\\Cloud\\ResourceManager\\V3\352\002\"Googl" + + "e::Cloud::ResourceManager::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysProto.java b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysProto.java index ae0734a87722..f3fa6613c5ee 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysProto.java +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagKeysProto.java @@ -149,13 +149,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "A#cloudresourcemanager.googleapis.com\322Ag" + "https://www.googleapis.com/auth/cloud-pl" + "atform,https://www.googleapis.com/auth/c" - + "loud-platform.read-onlyB\356\001\n#com.google.c" + + "loud-platform.read-onlyB\355\001\n#com.google.c" + "loud.resourcemanager.v3B\014TagKeysProtoP\001Z" - + "Ngoogle.golang.org/genproto/googleapis/c" - + "loud/resourcemanager/v3;resourcemanager\252" - + "\002\037Google.Cloud.ResourceManager.V3\312\002\037Goog" - + "le\\Cloud\\ResourceManager\\V3\352\002\"Google::Cl" - + "oud::ResourceManager::V3b\006proto3" + + "Mcloud.google.com/go/resourcemanager/api" + + "v3/resourcemanagerpb;resourcemanagerpb\252\002" + + "\037Google.Cloud.ResourceManager.V3\312\002\037Googl" + + "e\\Cloud\\ResourceManager\\V3\352\002\"Google::Clo" + + "ud::ResourceManager::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesProto.java b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesProto.java index d2266f913bc6..4a351fe67a5c 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesProto.java +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/java/com/google/cloud/resourcemanager/v3/TagValuesProto.java @@ -152,13 +152,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "udresourcemanager.googleapis.com\322Aghttps" + "://www.googleapis.com/auth/cloud-platfor" + "m,https://www.googleapis.com/auth/cloud-" - + "platform.read-onlyB\360\001\n#com.google.cloud." - + "resourcemanager.v3B\016TagValuesProtoP\001ZNgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/resourcemanager/v3;resourcemanager\252\002\037G" - + "oogle.Cloud.ResourceManager.V3\312\002\037Google\\" - + "Cloud\\ResourceManager\\V3\352\002\"Google::Cloud" - + "::ResourceManager::V3b\006proto3" + + "platform.read-onlyB\357\001\n#com.google.cloud." + + "resourcemanager.v3B\016TagValuesProtoP\001ZMcl" + + "oud.google.com/go/resourcemanager/apiv3/" + + "resourcemanagerpb;resourcemanagerpb\252\002\037Go" + + "ogle.Cloud.ResourceManager.V3\312\002\037Google\\C" + + "loud\\ResourceManager\\V3\352\002\"Google::Cloud:" + + ":ResourceManager::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/folders.proto b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/folders.proto index af87809d751f..98568a26e65f 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/folders.proto +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/folders.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ResourceManager.V3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3;resourcemanager"; +option go_package = "cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb"; option java_multiple_files = true; option java_outer_classname = "FoldersProto"; option java_package = "com.google.cloud.resourcemanager.v3"; diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/organizations.proto b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/organizations.proto index 0e99a1552202..8f8a6f34a53f 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/organizations.proto +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/organizations.proto @@ -25,7 +25,7 @@ import "google/iam/v1/policy.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ResourceManager.V3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3;resourcemanager"; +option go_package = "cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb"; option java_multiple_files = true; option java_outer_classname = "OrganizationsProto"; option java_package = "com.google.cloud.resourcemanager.v3"; diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/projects.proto b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/projects.proto index 3d2feb08d57b..693e4609e96a 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/projects.proto +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/projects.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ResourceManager.V3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3;resourcemanager"; +option go_package = "cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb"; option java_multiple_files = true; option java_outer_classname = "ProjectsProto"; option java_package = "com.google.cloud.resourcemanager.v3"; diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_bindings.proto b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_bindings.proto index 6c8f260a4171..a9dbac3b06f2 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_bindings.proto +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_bindings.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.ResourceManager.V3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3;resourcemanager"; +option go_package = "cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb"; option java_multiple_files = true; option java_outer_classname = "TagBindingsProto"; option java_package = "com.google.cloud.resourcemanager.v3"; diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_keys.proto b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_keys.proto index 5ecf0b405bfe..3d0500141b13 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_keys.proto +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_keys.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ResourceManager.V3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3;resourcemanager"; +option go_package = "cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb"; option java_multiple_files = true; option java_outer_classname = "TagKeysProto"; option java_package = "com.google.cloud.resourcemanager.v3"; diff --git a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_values.proto b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_values.proto index 86ba70125578..7cace43097ff 100644 --- a/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_values.proto +++ b/java-resourcemanager/proto-google-cloud-resourcemanager-v3/src/main/proto/google/cloud/resourcemanager/v3/tag_values.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ResourceManager.V3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3;resourcemanager"; +option go_package = "cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb"; option java_multiple_files = true; option java_outer_classname = "TagValuesProto"; option java_package = "com.google.cloud.resourcemanager.v3"; diff --git a/java-retail/README.md b/java-retail/README.md index d4ae291fe43e..e98fc8e0cb96 100644 --- a/java-retail/README.md +++ b/java-retail/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-retail - 2.10.0 + 2.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-retail:2.10.0' +implementation 'com.google.cloud:google-cloud-retail:2.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.11.0" ``` ## Authentication diff --git a/java-retail/google-cloud-retail-bom/pom.xml b/java-retail/google-cloud-retail-bom/pom.xml index a1c1f808aa77..ba291a5423e0 100644 --- a/java-retail/google-cloud-retail-bom/pom.xml +++ b/java-retail/google-cloud-retail-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-retail-bom - 2.11.0 + 2.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,37 +27,37 @@ com.google.cloud google-cloud-retail - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-retail-v2 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-retail-v2alpha - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-retail-v2beta - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-retail-v2 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-retail-v2alpha - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-retail-v2beta - 2.11.0 + 2.12.0 diff --git a/java-retail/google-cloud-retail/pom.xml b/java-retail/google-cloud-retail/pom.xml index 1f049245cab1..72d30714d340 100644 --- a/java-retail/google-cloud-retail/pom.xml +++ b/java-retail/google-cloud-retail/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-retail - 2.11.0 + 2.12.0 jar Google Cloud Retail Retail solutions API. com.google.cloud google-cloud-retail-parent - 2.11.0 + 2.12.0 google-cloud-retail diff --git a/java-retail/grpc-google-cloud-retail-v2/pom.xml b/java-retail/grpc-google-cloud-retail-v2/pom.xml index 20518d407807..2eba055a78ae 100644 --- a/java-retail/grpc-google-cloud-retail-v2/pom.xml +++ b/java-retail/grpc-google-cloud-retail-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-retail-v2 - 2.11.0 + 2.12.0 grpc-google-cloud-retail-v2 GRPC library for google-cloud-retail com.google.cloud google-cloud-retail-parent - 2.11.0 + 2.12.0 diff --git a/java-retail/grpc-google-cloud-retail-v2alpha/pom.xml b/java-retail/grpc-google-cloud-retail-v2alpha/pom.xml index 4047b1e04f01..665310e924cb 100644 --- a/java-retail/grpc-google-cloud-retail-v2alpha/pom.xml +++ b/java-retail/grpc-google-cloud-retail-v2alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-retail-v2alpha - 2.11.0 + 2.12.0 grpc-google-cloud-retail-v2alpha GRPC library for google-cloud-retail com.google.cloud google-cloud-retail-parent - 2.11.0 + 2.12.0 diff --git a/java-retail/grpc-google-cloud-retail-v2beta/pom.xml b/java-retail/grpc-google-cloud-retail-v2beta/pom.xml index c3c55442b067..b0d7ef188a22 100644 --- a/java-retail/grpc-google-cloud-retail-v2beta/pom.xml +++ b/java-retail/grpc-google-cloud-retail-v2beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-retail-v2beta - 2.11.0 + 2.12.0 grpc-google-cloud-retail-v2beta GRPC library for google-cloud-retail com.google.cloud google-cloud-retail-parent - 2.11.0 + 2.12.0 diff --git a/java-retail/pom.xml b/java-retail/pom.xml index c26b4ea960df..162e83a65d89 100644 --- a/java-retail/pom.xml +++ b/java-retail/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-retail-parent pom - 2.11.0 + 2.12.0 Google Cloud Retail Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,37 +29,37 @@ com.google.cloud google-cloud-retail - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-retail-v2beta - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-retail-v2alpha - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-retail-v2beta - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-retail-v2alpha - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-retail-v2 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-retail-v2 - 2.11.0 + 2.12.0 diff --git a/java-retail/proto-google-cloud-retail-v2/pom.xml b/java-retail/proto-google-cloud-retail-v2/pom.xml index dd81fd8c486e..2821d842dc3b 100644 --- a/java-retail/proto-google-cloud-retail-v2/pom.xml +++ b/java-retail/proto-google-cloud-retail-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-retail-v2 - 2.11.0 + 2.12.0 proto-google-cloud-retail-v2 Proto library for google-cloud-retail com.google.cloud google-cloud-retail-parent - 2.11.0 + 2.12.0 diff --git a/java-retail/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogProto.java b/java-retail/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogProto.java index dbcf71c1bc66..92d18f418892 100644 --- a/java-retail/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogProto.java +++ b/java-retail/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/CatalogProto.java @@ -131,12 +131,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "2*.google.cloud.retail.v2.ProductLevelCo" + "nfigB\003\340A\002:^\352A[\n\035retail.googleapis.com/Ca" + "talog\022:projects/{project}/locations/{loc" - + "ation}/catalogs/{catalog}B\301\001\n\032com.google" - + ".cloud.retail.v2B\014CatalogProtoP\001Z4.0.0 com.google.api.grpc proto-google-cloud-retail-v2alpha - 2.11.0 + 2.12.0 proto-google-cloud-retail-v2alpha Proto library for google-cloud-retail com.google.cloud google-cloud-retail-parent - 2.11.0 + 2.12.0 diff --git a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CatalogProto.java b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CatalogProto.java index 3aec10ee6ad9..4d3d5ef1bb9a 100644 --- a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CatalogProto.java +++ b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CatalogProto.java @@ -160,13 +160,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".cloud.retail.v2alpha.MerchantCenterLink" + "ingConfig:^\352A[\n\035retail.googleapis.com/Ca" + "talog\022:projects/{project}/locations/{loc" - + "ation}/catalogs/{catalog}B\332\001\n\037com.google" - + ".cloud.retail.v2alphaB\014CatalogProtoP\001ZAg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/retail/v2alpha;retail\242\002\006RETAIL\252\002\033Goog" - + "le.Cloud.Retail.V2Alpha\312\002\033Google\\Cloud\\R" - + "etail\\V2alpha\352\002\036Google::Cloud::Retail::V" - + "2alphab\006proto3" + + "ation}/catalogs/{catalog}B\320\001\n\037com.google" + + ".cloud.retail.v2alphaB\014CatalogProtoP\001Z7c" + + "loud.google.com/go/retail/apiv2alpha/ret" + + "ailpb;retailpb\242\002\006RETAIL\252\002\033Google.Cloud.R" + + "etail.V2Alpha\312\002\033Google\\Cloud\\Retail\\V2al" + + "pha\352\002\036Google::Cloud::Retail::V2alphab\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceProto.java b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceProto.java index 6bba0534bca0..4c50d100cef4 100644 --- a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceProto.java @@ -228,13 +228,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/*/catalogs/*/attributesConfig}:replace" + "CatalogAttribute:\001*\032I\312A\025retail.googleapi" + "s.com\322A.https://www.googleapis.com/auth/" - + "cloud-platformB\341\001\n\037com.google.cloud.reta" - + "il.v2alphaB\023CatalogServiceProtoP\001ZAgoogl" - + "e.golang.org/genproto/googleapis/cloud/r" - + "etail/v2alpha;retail\242\002\006RETAIL\252\002\033Google.C" - + "loud.Retail.V2Alpha\312\002\033Google\\Cloud\\Retai" - + "l\\V2alpha\352\002\036Google::Cloud::Retail::V2alp" - + "hab\006proto3" + + "cloud-platformB\327\001\n\037com.google.cloud.reta" + + "il.v2alphaB\023CatalogServiceProtoP\001Z7cloud" + + ".google.com/go/retail/apiv2alpha/retailp" + + "b;retailpb\242\002\006RETAIL\252\002\033Google.Cloud.Retai" + + "l.V2Alpha\312\002\033Google\\Cloud\\Retail\\V2alpha\352" + + "\002\036Google::Cloud::Retail::V2alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CommonProto.java b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CommonProto.java index 629f1c7d8333..67ae659eb62b 100644 --- a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CommonProto.java +++ b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CommonProto.java @@ -221,12 +221,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "SolutionUseCase\022(\n$SEARCH_SOLUTION_USE_C" + "ASE_UNSPECIFIED\020\000\022#\n\037SEARCH_SOLUTION_USE" + "_CASE_SEARCH\020\001\022#\n\037SEARCH_SOLUTION_USE_CA" - + "SE_BROWSE\020\002B\331\001\n\037com.google.cloud.retail." - + "v2alphaB\013CommonProtoP\001ZAgoogle.golang.or" - + "g/genproto/googleapis/cloud/retail/v2alp" - + "ha;retail\242\002\006RETAIL\252\002\033Google.Cloud.Retail" - + ".V2Alpha\312\002\033Google\\Cloud\\Retail\\V2alpha\352\002" - + "\036Google::Cloud::Retail::V2alphab\006proto3" + + "SE_BROWSE\020\002B\317\001\n\037com.google.cloud.retail." + + "v2alphaB\013CommonProtoP\001Z7cloud.google.com" + + "/go/retail/apiv2alpha/retailpb;retailpb\242" + + "\002\006RETAIL\252\002\033Google.Cloud.Retail.V2Alpha\312\002" + + "\033Google\\Cloud\\Retail\\V2alpha\352\002\036Google::C" + + "loud::Retail::V2alphab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CompletionServiceProto.java b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CompletionServiceProto.java index e596737b5ad1..329d60ceba45 100644 --- a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CompletionServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/CompletionServiceProto.java @@ -113,13 +113,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pletionDataResponse\022*google.cloud.retail" + ".v2alpha.ImportMetadata\032I\312A\025retail.googl" + "eapis.com\322A.https://www.googleapis.com/a" - + "uth/cloud-platformB\344\001\n\037com.google.cloud." + + "uth/cloud-platformB\332\001\n\037com.google.cloud." + "retail.v2alphaB\026CompletionServiceProtoP\001" - + "ZAgoogle.golang.org/genproto/googleapis/" - + "cloud/retail/v2alpha;retail\242\002\006RETAIL\252\002\033G" - + "oogle.Cloud.Retail.V2Alpha\312\002\033Google\\Clou" - + "d\\Retail\\V2alpha\352\002\036Google::Cloud::Retail" - + "::V2alphab\006proto3" + + "Z7cloud.google.com/go/retail/apiv2alpha/" + + "retailpb;retailpb\242\002\006RETAIL\252\002\033Google.Clou" + + "d.Retail.V2Alpha\312\002\033Google\\Cloud\\Retail\\V" + + "2alpha\352\002\036Google::Cloud::Retail::V2alphab" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/ControlProto.java b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/ControlProto.java index ae60703bc859..262454a3b854 100644 --- a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/ControlProto.java +++ b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/ControlProto.java @@ -58,13 +58,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rchSolutionUseCase:q\352An\n\035retail.googleap" + "is.com/Control\022Mprojects/{project}/locat" + "ions/{location}/catalogs/{catalog}/contr" - + "ols/{control}B\t\n\007controlB\332\001\n\037com.google." - + "cloud.retail.v2alphaB\014ControlProtoP\001ZAgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/retail/v2alpha;retail\242\002\006RETAIL\252\002\033Googl" - + "e.Cloud.Retail.V2Alpha\312\002\033Google\\Cloud\\Re" - + "tail\\V2alpha\352\002\036Google::Cloud::Retail::V2" - + "alphab\006proto3" + + "ols/{control}B\t\n\007controlB\320\001\n\037com.google." + + "cloud.retail.v2alphaB\014ControlProtoP\001Z7cl" + + "oud.google.com/go/retail/apiv2alpha/reta" + + "ilpb;retailpb\242\002\006RETAIL\252\002\033Google.Cloud.Re" + + "tail.V2Alpha\312\002\033Google\\Cloud\\Retail\\V2alp" + + "ha\352\002\036Google::Cloud::Retail::V2alphab\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceProto.java b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceProto.java index 07f793a75b91..ccea3d000b06 100644 --- a/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2alpha/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceProto.java @@ -111,13 +111,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"M\202\323\344\223\002>\0224.0.0 com.google.api.grpc proto-google-cloud-retail-v2beta - 2.11.0 + 2.12.0 proto-google-cloud-retail-v2beta Proto library for google-cloud-retail com.google.cloud google-cloud-retail-parent - 2.11.0 + 2.12.0 diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CatalogProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CatalogProto.java index b7a8fe15721f..64009a8154df 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CatalogProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CatalogProto.java @@ -160,12 +160,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".MerchantCenterLinkingConfig:^\352A[\n\035retai" + "l.googleapis.com/Catalog\022:projects/{proj" + "ect}/locations/{location}/catalogs/{cata" - + "log}B\325\001\n\036com.google.cloud.retail.v2betaB" - + "\014CatalogProtoP\001Z@google.golang.org/genpr" - + "oto/googleapis/cloud/retail/v2beta;retai" - + "l\242\002\006RETAIL\252\002\032Google.Cloud.Retail.V2Beta\312" - + "\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Google::C" - + "loud::Retail::V2betab\006proto3" + + "log}B\313\001\n\036com.google.cloud.retail.v2betaB" + + "\014CatalogProtoP\001Z6cloud.google.com/go/ret" + + "ail/apiv2beta/retailpb;retailpb\242\002\006RETAIL" + + "\252\002\032Google.Cloud.Retail.V2Beta\312\002\032Google\\C" + + "loud\\Retail\\V2beta\352\002\035Google::Cloud::Reta" + + "il::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CatalogServiceProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CatalogServiceProto.java index c742f900a0a0..dc4b27cb0d62 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CatalogServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CatalogServiceProto.java @@ -227,13 +227,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "catalogs/*/attributesConfig}:replaceCata" + "logAttribute:\001*\032I\312A\025retail.googleapis.co" + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformB\334\001\n\036com.google.cloud.retail.v" - + "2betaB\023CatalogServiceProtoP\001Z@google.gol" - + "ang.org/genproto/googleapis/cloud/retail" - + "/v2beta;retail\242\002\006RETAIL\252\002\032Google.Cloud.R" - + "etail.V2Beta\312\002\032Google\\Cloud\\Retail\\V2bet" - + "a\352\002\035Google::Cloud::Retail::V2betab\006proto" - + "3" + + "d-platformB\322\001\n\036com.google.cloud.retail.v" + + "2betaB\023CatalogServiceProtoP\001Z6cloud.goog" + + "le.com/go/retail/apiv2beta/retailpb;reta" + + "ilpb\242\002\006RETAIL\252\002\032Google.Cloud.Retail.V2Be" + + "ta\312\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Google" + + "::Cloud::Retail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CommonProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CommonProto.java index 02712480a3bb..fd2af1bf7ece 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CommonProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CommonProto.java @@ -220,13 +220,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ENABLED\020\003*\213\001\n\025SearchSolutionUseCase\022(\n$S" + "EARCH_SOLUTION_USE_CASE_UNSPECIFIED\020\000\022#\n" + "\037SEARCH_SOLUTION_USE_CASE_SEARCH\020\001\022#\n\037SE" - + "ARCH_SOLUTION_USE_CASE_BROWSE\020\002B\324\001\n\036com." + + "ARCH_SOLUTION_USE_CASE_BROWSE\020\002B\312\001\n\036com." + "google.cloud.retail.v2betaB\013CommonProtoP" - + "\001Z@google.golang.org/genproto/googleapis" - + "/cloud/retail/v2beta;retail\242\002\006RETAIL\252\002\032G" - + "oogle.Cloud.Retail.V2Beta\312\002\032Google\\Cloud" - + "\\Retail\\V2beta\352\002\035Google::Cloud::Retail::" - + "V2betab\006proto3" + + "\001Z6cloud.google.com/go/retail/apiv2beta/" + + "retailpb;retailpb\242\002\006RETAIL\252\002\032Google.Clou" + + "d.Retail.V2Beta\312\002\032Google\\Cloud\\Retail\\V2" + + "beta\352\002\035Google::Cloud::Retail::V2betab\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CompletionServiceProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CompletionServiceProto.java index 7b78b28e349c..6b4610c248d3 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CompletionServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/CompletionServiceProto.java @@ -97,13 +97,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ompletionDataResponse\022)google.cloud.reta" + "il.v2beta.ImportMetadata\032I\312A\025retail.goog" + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformB\337\001\n\036com.google.cloud" + + "auth/cloud-platformB\325\001\n\036com.google.cloud" + ".retail.v2betaB\026CompletionServiceProtoP\001" - + "Z@google.golang.org/genproto/googleapis/" - + "cloud/retail/v2beta;retail\242\002\006RETAIL\252\002\032Go" - + "ogle.Cloud.Retail.V2Beta\312\002\032Google\\Cloud\\" - + "Retail\\V2beta\352\002\035Google::Cloud::Retail::V" - + "2betab\006proto3" + + "Z6cloud.google.com/go/retail/apiv2beta/r" + + "etailpb;retailpb\242\002\006RETAIL\252\002\032Google.Cloud" + + ".Retail.V2Beta\312\002\032Google\\Cloud\\Retail\\V2b" + + "eta\352\002\035Google::Cloud::Retail::V2betab\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ControlProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ControlProto.java index 3e1a2093a6d0..986d540415ee 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ControlProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ControlProto.java @@ -58,12 +58,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ionUseCase:q\352An\n\035retail.googleapis.com/C" + "ontrol\022Mprojects/{project}/locations/{lo" + "cation}/catalogs/{catalog}/controls/{con" - + "trol}B\t\n\007controlB\325\001\n\036com.google.cloud.re" - + "tail.v2betaB\014ControlProtoP\001Z@google.gola" - + "ng.org/genproto/googleapis/cloud/retail/" - + "v2beta;retail\242\002\006RETAIL\252\002\032Google.Cloud.Re" - + "tail.V2Beta\312\002\032Google\\Cloud\\Retail\\V2beta" - + "\352\002\035Google::Cloud::Retail::V2betab\006proto3" + + "trol}B\t\n\007controlB\313\001\n\036com.google.cloud.re" + + "tail.v2betaB\014ControlProtoP\001Z6cloud.googl" + + "e.com/go/retail/apiv2beta/retailpb;retai" + + "lpb\242\002\006RETAIL\252\002\032Google.Cloud.Retail.V2Bet" + + "a\312\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Google:" + + ":Cloud::Retail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ControlServiceProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ControlServiceProto.java index 588e2f7f89d7..49229f013a6e 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ControlServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ControlServiceProto.java @@ -111,13 +111,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "parent=projects/*/locations/*/catalogs/*" + "}/controls\332A\006parent\032I\312A\025retail.googleapi" + "s.com\322A.https://www.googleapis.com/auth/" - + "cloud-platformB\334\001\n\036com.google.cloud.reta" - + "il.v2betaB\023ControlServiceProtoP\001Z@google" - + ".golang.org/genproto/googleapis/cloud/re" - + "tail/v2beta;retail\242\002\006RETAIL\252\002\032Google.Clo" - + "ud.Retail.V2Beta\312\002\032Google\\Cloud\\Retail\\V" - + "2beta\352\002\035Google::Cloud::Retail::V2betab\006p" - + "roto3" + + "cloud-platformB\322\001\n\036com.google.cloud.reta" + + "il.v2betaB\023ControlServiceProtoP\001Z6cloud." + + "google.com/go/retail/apiv2beta/retailpb;" + + "retailpb\242\002\006RETAIL\252\002\032Google.Cloud.Retail." + + "V2Beta\312\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Go" + + "ogle::Cloud::Retail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ExportConfigProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ExportConfigProto.java index 8ec79ff24519..fa91443af5a7 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ExportConfigProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ExportConfigProto.java @@ -90,12 +90,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "beta.GcsOutputResult\"<\n\024BigQueryOutputRe" + "sult\022\022\n\ndataset_id\030\001 \001(\t\022\020\n\010table_id\030\002 \001" + "(\t\"%\n\017GcsOutputResult\022\022\n\noutput_uri\030\001 \001(" - + "\tB\332\001\n\036com.google.cloud.retail.v2betaB\021Ex" - + "portConfigProtoP\001Z@google.golang.org/gen" - + "proto/googleapis/cloud/retail/v2beta;ret" - + "ail\242\002\006RETAIL\252\002\032Google.Cloud.Retail.V2Bet" - + "a\312\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Google:" - + ":Cloud::Retail::V2betab\006proto3" + + "\tB\320\001\n\036com.google.cloud.retail.v2betaB\021Ex" + + "portConfigProtoP\001Z6cloud.google.com/go/r" + + "etail/apiv2beta/retailpb;retailpb\242\002\006RETA" + + "IL\252\002\032Google.Cloud.Retail.V2Beta\312\002\032Google" + + "\\Cloud\\Retail\\V2beta\352\002\035Google::Cloud::Re" + + "tail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ImportConfigProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ImportConfigProto.java index f1644a69b511..776b29d793dc 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ImportConfigProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ImportConfigProto.java @@ -178,13 +178,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ventImportSummary\022\033\n\023joined_events_count" + "\030\001 \001(\003\022\035\n\025unjoined_events_count\030\002 \001(\003\"I\n" + "\034ImportCompletionDataResponse\022)\n\rerror_s" - + "amples\030\001 \003(\0132\022.google.rpc.StatusB\332\001\n\036com" + + "amples\030\001 \003(\0132\022.google.rpc.StatusB\320\001\n\036com" + ".google.cloud.retail.v2betaB\021ImportConfi" - + "gProtoP\001Z@google.golang.org/genproto/goo" - + "gleapis/cloud/retail/v2beta;retail\242\002\006RET" - + "AIL\252\002\032Google.Cloud.Retail.V2Beta\312\002\032Googl" - + "e\\Cloud\\Retail\\V2beta\352\002\035Google::Cloud::R" - + "etail::V2betab\006proto3" + + "gProtoP\001Z6cloud.google.com/go/retail/api" + + "v2beta/retailpb;retailpb\242\002\006RETAIL\252\002\032Goog" + + "le.Cloud.Retail.V2Beta\312\002\032Google\\Cloud\\Re" + + "tail\\V2beta\352\002\035Google::Cloud::Retail::V2b" + + "etab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ModelProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ModelProto.java index 502851d8f278..6c35e64902d0 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ModelProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ModelProto.java @@ -82,13 +82,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "IED\020\000\022\013\n\007DATA_OK\020\001\022\016\n\nDATA_ERROR\020\002:k\352Ah\n" + "\033retail.googleapis.com/Model\022Iprojects/{" + "project}/locations/{location}/catalogs/{" - + "catalog}/models/{model}B\323\001\n\036com.google.c" - + "loud.retail.v2betaB\nModelProtoP\001Z@google" - + ".golang.org/genproto/googleapis/cloud/re" - + "tail/v2beta;retail\242\002\006RETAIL\252\002\032Google.Clo" - + "ud.Retail.V2Beta\312\002\032Google\\Cloud\\Retail\\V" - + "2beta\352\002\035Google::Cloud::Retail::V2betab\006p" - + "roto3" + + "catalog}/models/{model}B\311\001\n\036com.google.c" + + "loud.retail.v2betaB\nModelProtoP\001Z6cloud." + + "google.com/go/retail/apiv2beta/retailpb;" + + "retailpb\242\002\006RETAIL\252\002\032Google.Cloud.Retail." + + "V2Beta\312\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Go" + + "ogle::Cloud::Retail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ModelServiceProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ModelServiceProto.java index 45946e14bf60..a4cad55470a7 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ModelServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ModelServiceProto.java @@ -148,13 +148,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ModelResponse\022,google.cloud.retail.v2bet" + "a.TuneModelMetadata\032I\312A\025retail.googleapi" + "s.com\322A.https://www.googleapis.com/auth/" - + "cloud-platformB\332\001\n\036com.google.cloud.reta" - + "il.v2betaB\021ModelServiceProtoP\001Z@google.g" - + "olang.org/genproto/googleapis/cloud/reta" - + "il/v2beta;retail\242\002\006RETAIL\252\002\032Google.Cloud" - + ".Retail.V2Beta\312\002\032Google\\Cloud\\Retail\\V2b" - + "eta\352\002\035Google::Cloud::Retail::V2betab\006pro" - + "to3" + + "cloud-platformB\320\001\n\036com.google.cloud.reta" + + "il.v2betaB\021ModelServiceProtoP\001Z6cloud.go" + + "ogle.com/go/retail/apiv2beta/retailpb;re" + + "tailpb\242\002\006RETAIL\252\002\032Google.Cloud.Retail.V2" + + "Beta\312\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Goog" + + "le::Cloud::Retail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PredictionServiceProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PredictionServiceProto.java index 912cf40ad3c1..b47764f9dd90 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PredictionServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PredictionServiceProto.java @@ -96,13 +96,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cement=projects/*/locations/*/catalogs/*" + "/servingConfigs/*}:predict:\001*\032I\312A\025retail" + ".googleapis.com\322A.https://www.googleapis" - + ".com/auth/cloud-platformB\337\001\n\036com.google." + + ".com/auth/cloud-platformB\325\001\n\036com.google." + "cloud.retail.v2betaB\026PredictionServicePr" - + "otoP\001Z@google.golang.org/genproto/google" - + "apis/cloud/retail/v2beta;retail\242\002\006RETAIL" - + "\252\002\032Google.Cloud.Retail.V2Beta\312\002\032Google\\C" - + "loud\\Retail\\V2beta\352\002\035Google::Cloud::Reta" - + "il::V2betab\006proto3" + + "otoP\001Z6cloud.google.com/go/retail/apiv2b" + + "eta/retailpb;retailpb\242\002\006RETAIL\252\002\032Google." + + "Cloud.Retail.V2Beta\312\002\032Google\\Cloud\\Retai" + + "l\\V2beta\352\002\035Google::Cloud::Retail::V2beta" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ProductProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ProductProto.java index 22bb00c8e19a..3923f280db70 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ProductProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ProductProto.java @@ -97,16 +97,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ORDER\020\004:\204\001\352A\200\001\n\035retail.googleapis.com/Pr" + "oduct\022_projects/{project}/locations/{loc" + "ation}/catalogs/{catalog}/branches/{bran" - + "ch}/products/{product}B\014\n\nexpirationB\304\002\n" + + "ch}/products/{product}B\014\n\nexpirationB\272\002\n" + "\036com.google.cloud.retail.v2betaB\014Product" - + "ProtoP\001Z@google.golang.org/genproto/goog" - + "leapis/cloud/retail/v2beta;retail\242\002\006RETA" - + "IL\252\002\032Google.Cloud.Retail.V2Beta\312\002\032Google" - + "\\Cloud\\Retail\\V2beta\352\002\035Google::Cloud::Re" - + "tail::V2beta\352Al\n\034retail.googleapis.com/B" - + "ranch\022Lprojects/{project}/locations/{loc" - + "ation}/catalogs/{catalog}/branches/{bran" - + "ch}b\006proto3" + + "ProtoP\001Z6cloud.google.com/go/retail/apiv" + + "2beta/retailpb;retailpb\242\002\006RETAIL\252\002\032Googl" + + "e.Cloud.Retail.V2Beta\312\002\032Google\\Cloud\\Ret" + + "ail\\V2beta\352\002\035Google::Cloud::Retail::V2be" + + "ta\352Al\n\034retail.googleapis.com/Branch\022Lpro" + + "jects/{project}/locations/{location}/cat" + + "alogs/{catalog}/branches/{branch}b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ProductServiceProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ProductServiceProto.java index 6ea396e4a601..70fd58499d6a 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ProductServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ProductServiceProto.java @@ -263,13 +263,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "onse\0229google.cloud.retail.v2beta.RemoveL" + "ocalInventoriesMetadata\032I\312A\025retail.googl" + "eapis.com\322A.https://www.googleapis.com/a" - + "uth/cloud-platformB\334\001\n\036com.google.cloud." - + "retail.v2betaB\023ProductServiceProtoP\001Z@go" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/retail/v2beta;retail\242\002\006RETAIL\252\002\032Google" - + ".Cloud.Retail.V2Beta\312\002\032Google\\Cloud\\Reta" - + "il\\V2beta\352\002\035Google::Cloud::Retail::V2bet" - + "ab\006proto3" + + "uth/cloud-platformB\322\001\n\036com.google.cloud." + + "retail.v2betaB\023ProductServiceProtoP\001Z6cl" + + "oud.google.com/go/retail/apiv2beta/retai" + + "lpb;retailpb\242\002\006RETAIL\252\002\032Google.Cloud.Ret" + + "ail.V2Beta\312\002\032Google\\Cloud\\Retail\\V2beta\352" + + "\002\035Google::Cloud::Retail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PromotionProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PromotionProto.java index de4a687e7805..bc04a1c8b780 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PromotionProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PromotionProto.java @@ -42,13 +42,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n*google/cloud/retail/v2beta/promotion.p" + "roto\022\032google.cloud.retail.v2beta\"!\n\tProm" - + "otion\022\024\n\014promotion_id\030\001 \001(\tB\327\001\n\036com.goog" + + "otion\022\024\n\014promotion_id\030\001 \001(\tB\315\001\n\036com.goog" + "le.cloud.retail.v2betaB\016PromotionProtoP\001" - + "Z@google.golang.org/genproto/googleapis/" - + "cloud/retail/v2beta;retail\242\002\006RETAIL\252\002\032Go" - + "ogle.Cloud.Retail.V2Beta\312\002\032Google\\Cloud\\" - + "Retail\\V2beta\352\002\035Google::Cloud::Retail::V" - + "2betab\006proto3" + + "Z6cloud.google.com/go/retail/apiv2beta/r" + + "etailpb;retailpb\242\002\006RETAIL\252\002\032Google.Cloud" + + ".Retail.V2Beta\312\002\032Google\\Cloud\\Retail\\V2b" + + "eta\352\002\035Google::Cloud::Retail::V2betab\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PurgeConfigProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PurgeConfigProto.java index e5b92e64a350..12d2dc9bc51d 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PurgeConfigProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/PurgeConfigProto.java @@ -56,12 +56,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "A\037\n\035retail.googleapis.com/Catalog\022\023\n\006fil" + "ter\030\002 \001(\tB\003\340A\002\022\r\n\005force\030\003 \001(\010\"6\n\027PurgeUs" + "erEventsResponse\022\033\n\023purged_events_count\030" - + "\001 \001(\003B\331\001\n\036com.google.cloud.retail.v2beta" - + "B\020PurgeConfigProtoP\001Z@google.golang.org/" - + "genproto/googleapis/cloud/retail/v2beta;" - + "retail\242\002\006RETAIL\252\002\032Google.Cloud.Retail.V2" - + "Beta\312\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Goog" - + "le::Cloud::Retail::V2betab\006proto3" + + "\001 \001(\003B\317\001\n\036com.google.cloud.retail.v2beta" + + "B\020PurgeConfigProtoP\001Z6cloud.google.com/g" + + "o/retail/apiv2beta/retailpb;retailpb\242\002\006R" + + "ETAIL\252\002\032Google.Cloud.Retail.V2Beta\312\002\032Goo" + + "gle\\Cloud\\Retail\\V2beta\352\002\035Google::Cloud:" + + ":Retail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/SearchServiceProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/SearchServiceProto.java index 471788fcfead..16af8218eee7 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/SearchServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/SearchServiceProto.java @@ -220,13 +220,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rojects/*/locations/*/catalogs/*/serving" + "Configs/*}:search:\001*\032I\312A\025retail.googleap" + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\333\001\n\036com.google.cloud.ret" - + "ail.v2betaB\022SearchServiceProtoP\001Z@google" - + ".golang.org/genproto/googleapis/cloud/re" - + "tail/v2beta;retail\242\002\006RETAIL\252\002\032Google.Clo" - + "ud.Retail.V2Beta\312\002\032Google\\Cloud\\Retail\\V" - + "2beta\352\002\035Google::Cloud::Retail::V2betab\006p" - + "roto3" + + "/cloud-platformB\321\001\n\036com.google.cloud.ret" + + "ail.v2betaB\022SearchServiceProtoP\001Z6cloud." + + "google.com/go/retail/apiv2beta/retailpb;" + + "retailpb\242\002\006RETAIL\252\002\032Google.Cloud.Retail." + + "V2Beta\312\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Go" + + "ogle::Cloud::Retail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ServingConfigProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ServingConfigProto.java index 2bc7681bed50..639f5a0e9ae8 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ServingConfigProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ServingConfigProto.java @@ -71,13 +71,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "SITY\020\003:\205\001\352A\201\001\n#retail.googleapis.com/Ser" + "vingConfig\022Zprojects/{project}/locations" + "/{location}/catalogs/{catalog}/servingCo" - + "nfigs/{serving_config}B\333\001\n\036com.google.cl" + + "nfigs/{serving_config}B\321\001\n\036com.google.cl" + "oud.retail.v2betaB\022ServingConfigProtoP\001Z" - + "@google.golang.org/genproto/googleapis/c" - + "loud/retail/v2beta;retail\242\002\006RETAIL\252\002\032Goo" - + "gle.Cloud.Retail.V2Beta\312\002\032Google\\Cloud\\R" - + "etail\\V2beta\352\002\035Google::Cloud::Retail::V2" - + "betab\006proto3" + + "6cloud.google.com/go/retail/apiv2beta/re" + + "tailpb;retailpb\242\002\006RETAIL\252\002\032Google.Cloud." + + "Retail.V2Beta\312\002\032Google\\Cloud\\Retail\\V2be" + + "ta\352\002\035Google::Cloud::Retail::V2betab\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ServingConfigServiceProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ServingConfigServiceProto.java index 26576528a8f5..f72b0e05ec6a 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ServingConfigServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/ServingConfigServiceProto.java @@ -142,13 +142,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "locations/*/catalogs/*/servingConfigs/*}" + ":removeControl:\001*\332A\016serving_config\032I\312A\025r" + "etail.googleapis.com\322A.https://www.googl" - + "eapis.com/auth/cloud-platformB\342\001\n\036com.go" + + "eapis.com/auth/cloud-platformB\330\001\n\036com.go" + "ogle.cloud.retail.v2betaB\031ServingConfigS" - + "erviceProtoP\001Z@google.golang.org/genprot" - + "o/googleapis/cloud/retail/v2beta;retail\242" - + "\002\006RETAIL\252\002\032Google.Cloud.Retail.V2Beta\312\002\032" - + "Google\\Cloud\\Retail\\V2beta\352\002\035Google::Clo" - + "ud::Retail::V2betab\006proto3" + + "erviceProtoP\001Z6cloud.google.com/go/retai" + + "l/apiv2beta/retailpb;retailpb\242\002\006RETAIL\252\002" + + "\032Google.Cloud.Retail.V2Beta\312\002\032Google\\Clo" + + "ud\\Retail\\V2beta\352\002\035Google::Cloud::Retail" + + "::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/UserEventProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/UserEventProto.java index 2d93c08671cc..841b2bc11c0e 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/UserEventProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/UserEventProto.java @@ -91,12 +91,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "osition\030\003 \001(\005\"n\n\023PurchaseTransaction\022\n\n\002" + "id\030\001 \001(\t\022\024\n\007revenue\030\002 \001(\002B\003\340A\002\022\013\n\003tax\030\003 " + "\001(\002\022\014\n\004cost\030\004 \001(\002\022\032\n\rcurrency_code\030\005 \001(\t" - + "B\003\340A\002B\327\001\n\036com.google.cloud.retail.v2beta" - + "B\016UserEventProtoP\001Z@google.golang.org/ge" - + "nproto/googleapis/cloud/retail/v2beta;re" - + "tail\242\002\006RETAIL\252\002\032Google.Cloud.Retail.V2Be" - + "ta\312\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Google" - + "::Cloud::Retail::V2betab\006proto3" + + "B\003\340A\002B\315\001\n\036com.google.cloud.retail.v2beta" + + "B\016UserEventProtoP\001Z6cloud.google.com/go/" + + "retail/apiv2beta/retailpb;retailpb\242\002\006RET" + + "AIL\252\002\032Google.Cloud.Retail.V2Beta\312\002\032Googl" + + "e\\Cloud\\Retail\\V2beta\352\002\035Google::Cloud::R" + + "etail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/UserEventServiceProto.java b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/UserEventServiceProto.java index 967da628048f..2c6867a05141 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/UserEventServiceProto.java +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/java/com/google/cloud/retail/v2beta/UserEventServiceProto.java @@ -114,12 +114,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "RejoinUserEventsResponse\022\030RejoinUserEven" + "tsMetadata\032I\312A\025retail.googleapis.com\322A.h" + "ttps://www.googleapis.com/auth/cloud-pla" - + "tformB\336\001\n\036com.google.cloud.retail.v2beta" - + "B\025UserEventServiceProtoP\001Z@google.golang" - + ".org/genproto/googleapis/cloud/retail/v2" - + "beta;retail\242\002\006RETAIL\252\002\032Google.Cloud.Reta" - + "il.V2Beta\312\002\032Google\\Cloud\\Retail\\V2beta\352\002" - + "\035Google::Cloud::Retail::V2betab\006proto3" + + "tformB\324\001\n\036com.google.cloud.retail.v2beta" + + "B\025UserEventServiceProtoP\001Z6cloud.google." + + "com/go/retail/apiv2beta/retailpb;retailp" + + "b\242\002\006RETAIL\252\002\032Google.Cloud.Retail.V2Beta\312" + + "\002\032Google\\Cloud\\Retail\\V2beta\352\002\035Google::C" + + "loud::Retail::V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/catalog.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/catalog.proto index ca691cc86ae8..f7a3d3576255 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/catalog.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/catalog.proto @@ -22,7 +22,7 @@ import "google/cloud/retail/v2beta/common.proto"; import "google/cloud/retail/v2beta/import_config.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "CatalogProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/catalog_service.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/catalog_service.proto index bab1fc34aa5e..337111764f1f 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/catalog_service.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/catalog_service.proto @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "CatalogServiceProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/common.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/common.proto index 5aab1d0ddc31..6ef6bfaa305f 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/common.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/common.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/completion_service.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/completion_service.proto index 635189b60960..ebd845dc2f37 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/completion_service.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/completion_service.proto @@ -25,7 +25,7 @@ import "google/cloud/retail/v2beta/import_config.proto"; import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "CompletionServiceProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/control.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/control.proto index 2d6367199eeb..e44cfdd672dc 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/control.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/control.proto @@ -22,7 +22,7 @@ import "google/cloud/retail/v2beta/common.proto"; import "google/cloud/retail/v2beta/search_service.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ControlProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/control_service.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/control_service.proto index a0a9d2e732fd..6a9a8707fb24 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/control_service.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/control_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ControlServiceProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/export_config.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/export_config.proto index d330c6faa530..9efc0d195a62 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/export_config.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/export_config.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ExportConfigProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/import_config.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/import_config.proto index e544f6471a0c..d6d457c508e2 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/import_config.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/import_config.proto @@ -26,7 +26,7 @@ import "google/rpc/status.proto"; import "google/type/date.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ImportConfigProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/model.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/model.proto index 3141b0df500e..deb4a0ade5c0 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/model.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/model.proto @@ -22,7 +22,7 @@ import "google/cloud/retail/v2beta/common.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ModelProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/model_service.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/model_service.proto index 3a9a3c5a360c..5a73dd605a59 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/model_service.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/model_service.proto @@ -26,7 +26,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ModelServiceProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/prediction_service.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/prediction_service.proto index 7b3f322f197b..9856ad285027 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/prediction_service.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/prediction_service.proto @@ -24,7 +24,7 @@ import "google/cloud/retail/v2beta/user_event.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "PredictionServiceProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/product.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/product.proto index 383c06a2bab2..a4f3e869307c 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/product.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/product.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ProductProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/product_service.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/product_service.proto index 0c09943324d0..6ebb4003d638 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/product_service.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/product_service.proto @@ -29,7 +29,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ProductServiceProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/promotion.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/promotion.proto index 5346f14d363b..e388f3aeb7a6 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/promotion.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/promotion.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.retail.v2beta; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "PromotionProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/purge_config.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/purge_config.proto index 25502cd7d16f..377c465499ae 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/purge_config.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/purge_config.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "PurgeConfigProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/search_service.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/search_service.proto index 9bbf255b2152..71ae51eb4e67 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/search_service.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/search_service.proto @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "SearchServiceProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/serving_config.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/serving_config.proto index 35d1cf853533..e82b3c5994e7 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/serving_config.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/serving_config.proto @@ -22,7 +22,7 @@ import "google/cloud/retail/v2beta/common.proto"; import "google/cloud/retail/v2beta/search_service.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ServingConfigProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/serving_config_service.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/serving_config_service.proto index 46bdcd9b04f7..66b210b3ab17 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/serving_config_service.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/serving_config_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "ServingConfigServiceProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/user_event.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/user_event.proto index 3d88483e79fe..5adf86027fc1 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/user_event.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/user_event.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "UserEventProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/user_event_service.proto b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/user_event_service.proto index 4dc822bdc3b3..c7dd29ffe851 100644 --- a/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/user_event_service.proto +++ b/java-retail/proto-google-cloud-retail-v2beta/src/main/proto/google/cloud/retail/v2beta/user_event_service.proto @@ -27,7 +27,7 @@ import "google/cloud/retail/v2beta/user_event.proto"; import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/retail/v2beta;retail"; +option go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; option java_multiple_files = true; option java_outer_classname = "UserEventServiceProto"; option java_package = "com.google.cloud.retail.v2beta"; diff --git a/java-run/README.md b/java-run/README.md index 9854d9135701..0d1cd0eb08e6 100644 --- a/java-run/README.md +++ b/java-run/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-run - 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-run:0.8.0' +implementation 'com.google.cloud:google-cloud-run:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-run" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-run" % "0.9.0" ``` ## Authentication diff --git a/java-run/google-cloud-run-bom/pom.xml b/java-run/google-cloud-run-bom/pom.xml index 9631ba46673b..b8414c56020a 100644 --- a/java-run/google-cloud-run-bom/pom.xml +++ b/java-run/google-cloud-run-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-run-bom - 0.9.0 + 0.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-run - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-run-v2 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-run-v2 - 0.9.0 + 0.10.0 diff --git a/java-run/google-cloud-run/pom.xml b/java-run/google-cloud-run/pom.xml index c3a44ccfb641..3186badcaec9 100644 --- a/java-run/google-cloud-run/pom.xml +++ b/java-run/google-cloud-run/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-run - 0.9.0 + 0.10.0 jar Google Cloud Run Cloud Run is a managed compute platform that enables you to run containers that are invocable via requests or events. com.google.cloud google-cloud-run-parent - 0.9.0 + 0.10.0 google-cloud-run diff --git a/java-run/grpc-google-cloud-run-v2/pom.xml b/java-run/grpc-google-cloud-run-v2/pom.xml index a880f30c99f4..991de6e49952 100644 --- a/java-run/grpc-google-cloud-run-v2/pom.xml +++ b/java-run/grpc-google-cloud-run-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-run-v2 - 0.9.0 + 0.10.0 grpc-google-cloud-run-v2 GRPC library for google-cloud-run com.google.cloud google-cloud-run-parent - 0.9.0 + 0.10.0 diff --git a/java-run/pom.xml b/java-run/pom.xml index 802c9f92dea4..f975a985ad8e 100644 --- a/java-run/pom.xml +++ b/java-run/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-run-parent pom - 0.9.0 + 0.10.0 Google Cloud Run Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-run - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-run-v2 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-run-v2 - 0.9.0 + 0.10.0 diff --git a/java-run/proto-google-cloud-run-v2/pom.xml b/java-run/proto-google-cloud-run-v2/pom.xml index 23741ab4a20f..e1103ce007a7 100644 --- a/java-run/proto-google-cloud-run-v2/pom.xml +++ b/java-run/proto-google-cloud-run-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-run-v2 - 0.9.0 + 0.10.0 proto-google-cloud-run-v2 Proto library for google-cloud-run com.google.cloud google-cloud-run-parent - 0.9.0 + 0.10.0 diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java index 08615344388f..9c16cf48cecf 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java @@ -80,10 +80,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_WARMING\020\014\"~\n\017ExecutionReason\022\036\n\032EXECUTI" + "ON_REASON_UNDEFINED\020\000\022$\n JOB_STATUS_SERV" + "ICE_POLLING_ERROR\020\001\022\026\n\022NON_ZERO_EXIT_COD" - + "E\020\002\022\r\n\tCANCELLED\020\003B\t\n\007reasonsBc\n\027com.goo" - + "gle.cloud.run.v2B\016ConditionProtoP\001Z6goog" - + "le.golang.org/genproto/googleapis/cloud/" - + "run/v2;runb\006proto3" + + "E\020\002\022\r\n\tCANCELLED\020\003B\t\n\007reasonsBV\n\027com.goo" + + "gle.cloud.run.v2B\016ConditionProtoP\001Z)clou" + + "d.google.com/go/run/apiv2/runpb;runpbb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java index 121d1800dc37..2b7199a2799f 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java @@ -130,10 +130,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tions/*/jobs/*/executions/*}\332A\004name\312A\026\n\t" + "Execution\022\tExecution\032F\312A\022run.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformBc\n\027com.google.cloud.run.v2B" - + "\016ExecutionProtoP\001Z6google.golang.org/gen" - + "proto/googleapis/cloud/run/v2;runb\006proto" - + "3" + + "oud-platformBV\n\027com.google.cloud.run.v2B" + + "\016ExecutionProtoP\001Z)cloud.google.com/go/r" + + "un/apiv2/runpb;runpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java index a1643de63edf..eae676a66a73 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java @@ -60,10 +60,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "te\030\005 \001(\0132!.google.cloud.run.v2.TaskTempl" + "ateB\003\340A\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + "value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001Bk\n\027com.googl" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B^\n\027com.googl" + "e.cloud.run.v2B\026ExecutionTemplateProtoP\001" - + "Z6google.golang.org/genproto/googleapis/" - + "cloud/run/v2;runb\006proto3" + + "Z)cloud.google.com/go/run/apiv2/runpb;ru" + + "npbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java index 44e47739c7fb..f4eb7921dbca 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java @@ -181,10 +181,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\223\002D\"?/v2/{resource=projects/*/locations/" + "*/jobs/*}:testIamPermissions:\001*\032F\312A\022run." + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB]\n\027com.google.cl" - + "oud.run.v2B\010JobProtoP\001Z6google.golang.or" - + "g/genproto/googleapis/cloud/run/v2;runP\000" - + "b\006proto3" + + "com/auth/cloud-platformBP\n\027com.google.cl" + + "oud.run.v2B\010JobProtoP\001Z)cloud.google.com" + + "/go/run/apiv2/runpb;runpbP\000b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java index 4a3d8572d471..109e6ac16368 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java @@ -155,20 +155,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "PHeader\".\n\nHTTPHeader\022\021\n\004name\030\001 \001(\tB\003\340A\002" + "\022\r\n\005value\030\002 \001(\t\"\037\n\017TCPSocketAction\022\014\n\004po" + "rt\030\001 \001(\005\"+\n\nGRPCAction\022\014\n\004port\030\001 \001(\005\022\017\n\007" - + "service\030\002 \001(\tB\366\003\n\027com.google.cloud.run.v" - + "2B\013K8sMinProtoP\001Z6google.golang.org/genp" - + "roto/googleapis/cloud/run/v2;run\352Ax\n!clo" - + "udkms.googleapis.com/CryptoKey\022Sprojects" - + "/{project}/locations/{location}/keyRings" - + "/{key_ring}/cryptoKeys/{crypto_key}\352AJ\n#" - + "secretmanager.googleapis.com/Secret\022#pro" - + "jects/{project}/secrets/{secret}\352Ad\n*sec" - + "retmanager.googleapis.com/SecretVersion\022" - + "6projects/{project}/secrets/{secret}/ver" - + "sions/{version}\352Ad\n\"vpcaccess.googleapis" - + ".com/Connector\022>projects/{project}/locat" - + "ions/{location}/connectors/{connector}b\006" - + "proto3" + + "service\030\002 \001(\tB\351\003\n\027com.google.cloud.run.v" + + "2B\013K8sMinProtoP\001Z)cloud.google.com/go/ru" + + "n/apiv2/runpb;runpb\352Ax\n!cloudkms.googlea" + + "pis.com/CryptoKey\022Sprojects/{project}/lo" + + "cations/{location}/keyRings/{key_ring}/c" + + "ryptoKeys/{crypto_key}\352AJ\n#secretmanager" + + ".googleapis.com/Secret\022#projects/{projec" + + "t}/secrets/{secret}\352Ad\n*secretmanager.go" + + "ogleapis.com/SecretVersion\0226projects/{pr" + + "oject}/secrets/{secret}/versions/{versio" + + "n}\352Ad\n\"vpcaccess.googleapis.com/Connecto" + + "r\022>projects/{project}/locations/{locatio" + + "n}/connectors/{connector}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java index cf15b68ad9e0..5d35e19a7b40 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java @@ -142,10 +142,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/*}\212\323\344\223\002.\022,\n\004name\022$projects/*/locations" + "/{location=*}/**\332A\004name\312A\024\n\010Revision\022\010Re" + "vision\032F\312A\022run.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformBb" + + "www.googleapis.com/auth/cloud-platformBU" + "\n\027com.google.cloud.run.v2B\rRevisionProto" - + "P\001Z6google.golang.org/genproto/googleapi" - + "s/cloud/run/v2;runb\006proto3" + + "P\001Z)cloud.google.com/go/run/apiv2/runpb;" + + "runpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java index b25c31923964..90d7f124bc42 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java @@ -72,10 +72,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "instance_request_concurrency\030\017 \001(\005\032-\n\013La" + "belsEntry\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\005va" - + "lue\030\002 \001(\t:\0028\001Bj\n\027com.google.cloud.run.v2" - + "B\025RevisionTemplateProtoP\001Z6google.golang" - + ".org/genproto/googleapis/cloud/run/v2;ru" - + "nb\006proto3" + + "lue\030\002 \001(\t:\0028\001B]\n\027com.google.cloud.run.v2" + + "B\025RevisionTemplateProtoP\001Z)cloud.google." + + "com/go/run/apiv2/runpb;runpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java index 13250613bb93..2ea48211e4e2 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java @@ -181,10 +181,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ponse\"N\202\323\344\223\002H\"C/v2/{resource=projects/*/" + "locations/*/services/*}:testIamPermissio" + "ns:\001*\032F\312A\022run.googleapis.com\322A.https://w" - + "ww.googleapis.com/auth/cloud-platformBa\n" + + "ww.googleapis.com/auth/cloud-platformBT\n" + "\027com.google.cloud.run.v2B\014ServiceProtoP\001" - + "Z6google.golang.org/genproto/googleapis/" - + "cloud/run/v2;runb\006proto3" + + "Z)cloud.google.com/go/run/apiv2/runpb;ru" + + "npbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java index 7692bb2c674e..29acdc07d6eb 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java @@ -130,9 +130,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "t=projects/*/locations/*/jobs/*/executio" + "ns/*}/tasks\332A\006parent\032F\312A\022run.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB^\n\027com.google.cloud.run.v2B" - + "\tTaskProtoP\001Z6google.golang.org/genproto" - + "/googleapis/cloud/run/v2;runb\006proto3" + + "oud-platformBQ\n\027com.google.cloud.run.v2B" + + "\tTaskProtoP\001Z)cloud.google.com/go/run/ap" + + "iv2/runpb;runpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java index 1a3f06c96328..0bf77f915962 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java @@ -55,9 +55,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022>\n\016encryption_key\030\007 \001(\tB&\372A#\n!cloudkms." + "googleapis.com/CryptoKey\0222\n\nvpc_access\030\010" + " \001(\0132\036.google.cloud.run.v2.VpcAccessB\t\n\007" - + "retriesBf\n\027com.google.cloud.run.v2B\021Task" - + "TemplateProtoP\001Z6google.golang.org/genpr" - + "oto/googleapis/cloud/run/v2;runb\006proto3" + + "retriesBY\n\027com.google.cloud.run.v2B\021Task" + + "TemplateProtoP\001Z)cloud.google.com/go/run" + + "/apiv2/runpb;runpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java index fba638e7548e..bc616c536f49 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java @@ -59,9 +59,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_TARGET_ALLOCATION_TYPE_UNSPECIFIED\020\000\022)\n" + "%TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\020\001" + "\022+\n\'TRAFFIC_TARGET_ALLOCATION_TYPE_REVIS" - + "ION\020\002Bg\n\027com.google.cloud.run.v2B\022Traffi" - + "cTargetProtoP\001Z6google.golang.org/genpro" - + "to/googleapis/cloud/run/v2;runb\006proto3" + + "ION\020\002BZ\n\027com.google.cloud.run.v2B\022Traffi" + + "cTargetProtoP\001Z)cloud.google.com/go/run/" + + "apiv2/runpb;runpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java index 176da39ff944..6c2100adc397 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java +++ b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java @@ -69,10 +69,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "MENT_GEN1\020\001\022\036\n\032EXECUTION_ENVIRONMENT_GEN" + "2\020\002*p\n\035EncryptionKeyRevocationAction\0220\n," + "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECI" - + "FIED\020\000\022\017\n\013PREVENT_NEW\020\001\022\014\n\010SHUTDOWN\020\002Bh\n" + + "FIED\020\000\022\017\n\013PREVENT_NEW\020\001\022\014\n\010SHUTDOWN\020\002B[\n" + "\027com.google.cloud.run.v2B\023VendorSettings" - + "ProtoP\001Z6google.golang.org/genproto/goog" - + "leapis/cloud/run/v2;runb\006proto3" + + "ProtoP\001Z)cloud.google.com/go/run/apiv2/r" + + "unpb;runpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto index bf23a68e92f5..1aaecc02c601 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto @@ -18,7 +18,7 @@ package google.cloud.run.v2; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "ConditionProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto index 0d9bde3a641d..1c2cf832f8e6 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto @@ -26,7 +26,7 @@ import "google/cloud/run/v2/task_template.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "ExecutionProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution_template.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution_template.proto index f8fe9c4204fa..17e4a4439a15 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution_template.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution_template.proto @@ -19,7 +19,7 @@ package google.cloud.run.v2; import "google/api/field_behavior.proto"; import "google/cloud/run/v2/task_template.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "ExecutionTemplateProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto index 349973099b9e..5a04b5318804 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto @@ -31,7 +31,7 @@ import "google/iam/v1/policy.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "JobProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto index f09c96bc81c0..b5b2353828eb 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto @@ -19,7 +19,7 @@ package google.cloud.run.v2; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "K8sMinProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto index 117f4f118864..753776b47d1b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto @@ -29,7 +29,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "RevisionProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto index 2abd4d9eecb9..7dd2b895d437 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto @@ -21,7 +21,7 @@ import "google/cloud/run/v2/k8s.min.proto"; import "google/cloud/run/v2/vendor_settings.proto"; import "google/protobuf/duration.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "RevisionTemplateProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto index a2eb4039a335..6620d79d2a5a 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto @@ -31,7 +31,7 @@ import "google/iam/v1/policy.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto index 0b73bb38dd75..45584e3ce203 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto @@ -27,7 +27,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "TaskProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto index 5507bfd8f2cb..f19ee7960ce2 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto @@ -21,7 +21,7 @@ import "google/cloud/run/v2/k8s.min.proto"; import "google/cloud/run/v2/vendor_settings.proto"; import "google/protobuf/duration.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "TaskTemplateProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/traffic_target.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/traffic_target.proto index f0f1fc0a4fcc..b1836ad14601 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/traffic_target.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/traffic_target.proto @@ -18,7 +18,7 @@ package google.cloud.run.v2; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "TrafficTargetProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto index 8e70538995f8..1b166ec62ca0 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto +++ b/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto @@ -18,7 +18,7 @@ package google.cloud.run.v2; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/run/v2;run"; +option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; option java_multiple_files = true; option java_outer_classname = "VendorSettingsProto"; option java_package = "com.google.cloud.run.v2"; diff --git a/java-scheduler/README.md b/java-scheduler/README.md index cd8f671e94d4..b667b76b8b12 100644 --- a/java-scheduler/README.md +++ b/java-scheduler/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-scheduler - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-scheduler:2.8.0' +implementation 'com.google.cloud:google-cloud-scheduler:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.9.0" ``` ## Authentication diff --git a/java-scheduler/google-cloud-scheduler-bom/pom.xml b/java-scheduler/google-cloud-scheduler-bom/pom.xml index 245e3a727033..22eae3af7b62 100644 --- a/java-scheduler/google-cloud-scheduler-bom/pom.xml +++ b/java-scheduler/google-cloud-scheduler-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-scheduler-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-scheduler - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.94.0 + 0.95.0 com.google.api.grpc grpc-google-cloud-scheduler-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.94.0 + 0.95.0 com.google.api.grpc proto-google-cloud-scheduler-v1 - 2.9.0 + 2.10.0 diff --git a/java-scheduler/google-cloud-scheduler/pom.xml b/java-scheduler/google-cloud-scheduler/pom.xml index b9411fda6e36..1003ce613312 100644 --- a/java-scheduler/google-cloud-scheduler/pom.xml +++ b/java-scheduler/google-cloud-scheduler/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-scheduler - 2.9.0 + 2.10.0 jar Google Cloud Scheduler Fully managed cron job service com.google.cloud google-cloud-scheduler-parent - 2.9.0 + 2.10.0 google-cloud-scheduler diff --git a/java-scheduler/grpc-google-cloud-scheduler-v1/pom.xml b/java-scheduler/grpc-google-cloud-scheduler-v1/pom.xml index 219bb7525027..d49446585dab 100644 --- a/java-scheduler/grpc-google-cloud-scheduler-v1/pom.xml +++ b/java-scheduler/grpc-google-cloud-scheduler-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-scheduler-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-scheduler-v1 GRPC library for grpc-google-cloud-scheduler-v1 com.google.cloud google-cloud-scheduler-parent - 2.9.0 + 2.10.0 diff --git a/java-scheduler/grpc-google-cloud-scheduler-v1beta1/pom.xml b/java-scheduler/grpc-google-cloud-scheduler-v1beta1/pom.xml index 906088668d05..65fa653ba64e 100644 --- a/java-scheduler/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/java-scheduler/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.94.0 + 0.95.0 grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.cloud google-cloud-scheduler-parent - 2.9.0 + 2.10.0 diff --git a/java-scheduler/pom.xml b/java-scheduler/pom.xml index 4a7e0f27ed43..f3cc519a29d6 100644 --- a/java-scheduler/pom.xml +++ b/java-scheduler/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-scheduler-parent pom - 2.9.0 + 2.10.0 Google Cloud Scheduler Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.94.0 + 0.95.0 com.google.api.grpc proto-google-cloud-scheduler-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.94.0 + 0.95.0 com.google.api.grpc grpc-google-cloud-scheduler-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-scheduler - 2.9.0 + 2.10.0 diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/pom.xml b/java-scheduler/proto-google-cloud-scheduler-v1/pom.xml index 6368938e8f2d..a15cdec9d715 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/pom.xml +++ b/java-scheduler/proto-google-cloud-scheduler-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-scheduler-v1 - 2.9.0 + 2.10.0 proto-google-cloud-scheduler-v1 PROTO library for proto-google-cloud-scheduler-v1 com.google.cloud google-cloud-scheduler-parent - 2.9.0 + 2.10.0 diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java index 3ab2b89b94d1..5b0c94da548b 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java @@ -76,10 +76,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "7\n\024min_backoff_duration\030\003 \001(\0132\031.google.p" + "rotobuf.Duration\0227\n\024max_backoff_duration" + "\030\004 \001(\0132\031.google.protobuf.Duration\022\025\n\rmax" - + "_doublings\030\005 \001(\005Bo\n\035com.google.cloud.sch" - + "eduler.v1B\010JobProtoP\001ZBgoogle.golang.org" - + "/genproto/googleapis/cloud/scheduler/v1;" - + "schedulerb\006proto3" + + "_doublings\030\005 \001(\005Bh\n\035com.google.cloud.sch" + + "eduler.v1B\010JobProtoP\001Z;cloud.google.com/" + + "go/scheduler/apiv1/schedulerpb;scheduler" + + "pbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java index bfc2b1cf4513..95e4a84b0295 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java @@ -133,11 +133,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\344\223\0021\",/v1/{name=projects/*/locations/*/j" + "obs/*}:run:\001*\332A\004name\032Q\312A\035cloudscheduler." + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB\201\001\n\035com.google.c" - + "loud.scheduler.v1B\016SchedulerProtoP\001ZBgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/scheduler/v1;scheduler\242\002\tSCHEDULERb\006pro" - + "to3" + + "com/auth/cloud-platformBz\n\035com.google.cl" + + "oud.scheduler.v1B\016SchedulerProtoP\001Z;clou" + + "d.google.com/go/scheduler/apiv1/schedule" + + "rpb;schedulerpb\242\002\tSCHEDULERb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java index 2b767372611d..c898cac06ca3 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java @@ -104,12 +104,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e_account_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*" + "s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED" + "\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004" - + "\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\265\001\n" + + "\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\256\001\n" + "\035com.google.cloud.scheduler.v1B\013TargetPr" - + "otoP\001ZBgoogle.golang.org/genproto/google" - + "apis/cloud/scheduler/v1;scheduler\352A@\n\033pu" - + "bsub.googleapis.com/Topic\022!projects/{pro" - + "ject}/topics/{topic}b\006proto3" + + "otoP\001Z;cloud.google.com/go/scheduler/api" + + "v1/schedulerpb;schedulerpb\352A@\n\033pubsub.go" + + "ogleapis.com/Topic\022!projects/{project}/t" + + "opics/{topic}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto index 89ce8cbd338c..7c6caab2f08b 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto @@ -25,7 +25,7 @@ import "google/cloud/scheduler/v1/job.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1;scheduler"; +option go_package = "cloud.google.com/go/scheduler/apiv1/schedulerpb;schedulerpb"; option java_multiple_files = true; option java_outer_classname = "SchedulerProto"; option java_package = "com.google.cloud.scheduler.v1"; diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto index 7e43ff1647fd..bda5a3b54a9a 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto @@ -23,7 +23,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1;scheduler"; +option go_package = "cloud.google.com/go/scheduler/apiv1/schedulerpb;schedulerpb"; option java_multiple_files = true; option java_outer_classname = "JobProto"; option java_package = "com.google.cloud.scheduler.v1"; diff --git a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto index 07466ce97654..e2928a34a8ea 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto @@ -19,7 +19,7 @@ package google.cloud.scheduler.v1; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1;scheduler"; +option go_package = "cloud.google.com/go/scheduler/apiv1/schedulerpb;schedulerpb"; option java_multiple_files = true; option java_outer_classname = "TargetProto"; option java_package = "com.google.cloud.scheduler.v1"; diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/pom.xml b/java-scheduler/proto-google-cloud-scheduler-v1beta1/pom.xml index d091bc626ef2..d4d46a15f01f 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.94.0 + 0.95.0 proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-scheduler-v1beta1 com.google.cloud google-cloud-scheduler-parent - 2.9.0 + 2.10.0 diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java index 038a46555fd8..9aaf029a5e1a 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java @@ -79,10 +79,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "koff_duration\030\003 \001(\0132\031.google.protobuf.Du" + "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g" + "oogle.protobuf.Duration\022\025\n\rmax_doublings" - + "\030\005 \001(\005By\n\"com.google.cloud.scheduler.v1b" - + "eta1B\010JobProtoP\001ZGgoogle.golang.org/genp" - + "roto/googleapis/cloud/scheduler/v1beta1;" - + "schedulerb\006proto3" + + "\030\005 \001(\005Br\n\"com.google.cloud.scheduler.v1b" + + "eta1B\010JobProtoP\001Z@cloud.google.com/go/sc" + + "heduler/apiv1beta1/schedulerpb;scheduler" + + "pbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java index 6f3b93d90bf2..f31a6d82b1fa 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java @@ -139,11 +139,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1.Job\"C\202\323\344\223\0026\"1/v1beta1/{name=projects/*" + "/locations/*/jobs/*}:run:\001*\332A\004name\032Q\312A\035c" + "loudscheduler.googleapis.com\322A.https://w" - + "ww.googleapis.com/auth/cloud-platformB\213\001" + + "ww.googleapis.com/auth/cloud-platformB\204\001" + "\n\"com.google.cloud.scheduler.v1beta1B\016Sc" - + "hedulerProtoP\001ZGgoogle.golang.org/genpro" - + "to/googleapis/cloud/scheduler/v1beta1;sc" - + "heduler\242\002\tSCHEDULERb\006proto3" + + "hedulerProtoP\001Z@cloud.google.com/go/sche" + + "duler/apiv1beta1/schedulerpb;schedulerpb" + + "\242\002\tSCHEDULERb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java index 79f4a379794c..784535e64a1e 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java @@ -106,12 +106,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nce\030\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_U" + "NSPECIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020" + "\003\022\007\n\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPT" - + "IONS\020\007B\277\001\n\"com.google.cloud.scheduler.v1" - + "beta1B\013TargetProtoP\001ZGgoogle.golang.org/" - + "genproto/googleapis/cloud/scheduler/v1be" - + "ta1;scheduler\352A@\n\033pubsub.googleapis.com/" - + "Topic\022!projects/{project}/topics/{topic}" - + "b\006proto3" + + "IONS\020\007B\270\001\n\"com.google.cloud.scheduler.v1" + + "beta1B\013TargetProtoP\001Z@cloud.google.com/g" + + "o/scheduler/apiv1beta1/schedulerpb;sched" + + "ulerpb\352A@\n\033pubsub.googleapis.com/Topic\022!" + + "projects/{project}/topics/{topic}b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto index f9a2da03ff22..210e0f294121 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto @@ -24,7 +24,7 @@ import "google/cloud/scheduler/v1beta1/job.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1;scheduler"; +option go_package = "cloud.google.com/go/scheduler/apiv1beta1/schedulerpb;schedulerpb"; option java_multiple_files = true; option java_outer_classname = "SchedulerProto"; option java_package = "com.google.cloud.scheduler.v1beta1"; diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto index 2353beecac83..2674217d97e1 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto @@ -23,7 +23,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1;scheduler"; +option go_package = "cloud.google.com/go/scheduler/apiv1beta1/schedulerpb;schedulerpb"; option java_multiple_files = true; option java_outer_classname = "JobProto"; option java_package = "com.google.cloud.scheduler.v1beta1"; diff --git a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto index f98f210dc40c..af1c3484e50c 100644 --- a/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto +++ b/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto @@ -18,7 +18,7 @@ package google.cloud.scheduler.v1beta1; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1;scheduler"; +option go_package = "cloud.google.com/go/scheduler/apiv1beta1/schedulerpb;schedulerpb"; option java_multiple_files = true; option java_outer_classname = "TargetProto"; option java_package = "com.google.cloud.scheduler.v1beta1"; diff --git a/java-secretmanager/README.md b/java-secretmanager/README.md index 90cf9a15a8ed..6d09dba4a000 100644 --- a/java-secretmanager/README.md +++ b/java-secretmanager/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-secretmanager - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-secretmanager:2.8.0' +implementation 'com.google.cloud:google-cloud-secretmanager:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.9.0" ``` ## Authentication diff --git a/java-secretmanager/google-cloud-secretmanager-bom/pom.xml b/java-secretmanager/google-cloud-secretmanager-bom/pom.xml index 8b779999abbf..eb81a62a3acd 100644 --- a/java-secretmanager/google-cloud-secretmanager-bom/pom.xml +++ b/java-secretmanager/google-cloud-secretmanager-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-secretmanager-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-secretmanager - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-secretmanager-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-secretmanager-v1beta1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-secretmanager-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-secretmanager-v1beta1 - 2.9.0 + 2.10.0 diff --git a/java-secretmanager/google-cloud-secretmanager/pom.xml b/java-secretmanager/google-cloud-secretmanager/pom.xml index bdb6fc500632..e22129e43666 100644 --- a/java-secretmanager/google-cloud-secretmanager/pom.xml +++ b/java-secretmanager/google-cloud-secretmanager/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-secretmanager - 2.9.0 + 2.10.0 jar Google Cloud Secret Manager Java idiomatic client for Google Cloud Secret Manager com.google.cloud google-cloud-secretmanager-parent - 2.9.0 + 2.10.0 google-cloud-secretmanager diff --git a/java-secretmanager/grpc-google-cloud-secretmanager-v1/pom.xml b/java-secretmanager/grpc-google-cloud-secretmanager-v1/pom.xml index 7b13c70d8ddb..139fa4b4c2fb 100644 --- a/java-secretmanager/grpc-google-cloud-secretmanager-v1/pom.xml +++ b/java-secretmanager/grpc-google-cloud-secretmanager-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-secretmanager-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-secretmanager-v1 GRPC library for grpc-google-cloud-secretmanager-v1 com.google.cloud google-cloud-secretmanager-parent - 2.9.0 + 2.10.0 diff --git a/java-secretmanager/grpc-google-cloud-secretmanager-v1beta1/pom.xml b/java-secretmanager/grpc-google-cloud-secretmanager-v1beta1/pom.xml index 525c4da5aa45..9f125a037b9c 100644 --- a/java-secretmanager/grpc-google-cloud-secretmanager-v1beta1/pom.xml +++ b/java-secretmanager/grpc-google-cloud-secretmanager-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-secretmanager-v1beta1 - 2.9.0 + 2.10.0 grpc-google-cloud-secretmanager-v1beta1 GRPC library for grpc-google-cloud-secretmanager-v1beta1 com.google.cloud google-cloud-secretmanager-parent - 2.9.0 + 2.10.0 diff --git a/java-secretmanager/pom.xml b/java-secretmanager/pom.xml index 5fbf7aeabada..74753b1b948b 100644 --- a/java-secretmanager/pom.xml +++ b/java-secretmanager/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-secretmanager-parent pom - 2.9.0 + 2.10.0 Google Cloud secretmanager Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-secretmanager-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-secretmanager-v1beta1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-secretmanager-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-secretmanager-v1beta1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-secretmanager - 2.9.0 + 2.10.0 diff --git a/java-secretmanager/proto-google-cloud-secretmanager-v1/pom.xml b/java-secretmanager/proto-google-cloud-secretmanager-v1/pom.xml index a84daf47f39e..7c9c115fdbc0 100644 --- a/java-secretmanager/proto-google-cloud-secretmanager-v1/pom.xml +++ b/java-secretmanager/proto-google-cloud-secretmanager-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-secretmanager-v1 - 2.9.0 + 2.10.0 proto-google-cloud-secretmanager-v1 PROTO library for proto-google-cloud-secretmanager-v1 com.google.cloud google-cloud-secretmanager-parent - 2.9.0 + 2.10.0 diff --git a/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/ResourcesProto.java b/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/ResourcesProto.java index 404b7fb6e27c..0e676e83bd06 100644 --- a/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/ResourcesProto.java +++ b/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/ResourcesProto.java @@ -188,13 +188,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tampB\003\340A\001\0227\n\017rotation_period\030\002 \001(\0132\031.goo" + "gle.protobuf.DurationB\003\340A\004\"L\n\rSecretPayl" + "oad\022\014\n\004data\030\001 \001(\014\022\035\n\013data_crc32c\030\002 \001(\003B\003" - + "\340A\001H\000\210\001\001B\016\n\014_data_crc32cB\355\001\n!com.google." + + "\340A\001H\000\210\001\001B\016\n\014_data_crc32cB\352\001\n!com.google." + "cloud.secretmanager.v1B\016ResourcesProtoP\001" - + "ZJgoogle.golang.org/genproto/googleapis/" - + "cloud/secretmanager/v1;secretmanager\370\001\001\242" - + "\002\003GSM\252\002\035Google.Cloud.SecretManager.V1\312\002\035" - + "Google\\Cloud\\SecretManager\\V1\352\002 Google::" - + "Cloud::SecretManager::V1b\006proto3" + + "ZGcloud.google.com/go/secretmanager/apiv" + + "1/secretmanagerpb;secretmanagerpb\370\001\001\242\002\003G" + + "SM\252\002\035Google.Cloud.SecretManager.V1\312\002\035Goo" + + "gle\\Cloud\\SecretManager\\V1\352\002 Google::Clo" + + "ud::SecretManager::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/ServiceProto.java b/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/ServiceProto.java index 48e7a44f0875..d2b5ef19859c 100644 --- a/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/ServiceProto.java +++ b/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/ServiceProto.java @@ -222,13 +222,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\223\002;\"6/v1/{resource=projects/*/secrets/*}" + ":testIamPermissions:\001*\032P\312A\034secretmanager" + ".googleapis.com\322A.https://www.googleapis" - + ".com/auth/cloud-platformB\353\001\n!com.google." - + "cloud.secretmanager.v1B\014ServiceProtoP\001ZJ" - + "google.golang.org/genproto/googleapis/cl" - + "oud/secretmanager/v1;secretmanager\370\001\001\242\002\003" - + "GSM\252\002\035Google.Cloud.SecretManager.V1\312\002\035Go" - + "ogle\\Cloud\\SecretManager\\V1\352\002 Google::Cl" - + "oud::SecretManager::V1b\006proto3" + + ".com/auth/cloud-platformB\350\001\n!com.google." + + "cloud.secretmanager.v1B\014ServiceProtoP\001ZG" + + "cloud.google.com/go/secretmanager/apiv1/" + + "secretmanagerpb;secretmanagerpb\370\001\001\242\002\003GSM" + + "\252\002\035Google.Cloud.SecretManager.V1\312\002\035Googl" + + "e\\Cloud\\SecretManager\\V1\352\002 Google::Cloud" + + "::SecretManager::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/proto/google/cloud/secretmanager/v1/resources.proto b/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/proto/google/cloud/secretmanager/v1/resources.proto index 3c6591e3b9b3..3fcf8b405bc6 100644 --- a/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/proto/google/cloud/secretmanager/v1/resources.proto +++ b/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/proto/google/cloud/secretmanager/v1/resources.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.SecretManager.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/secretmanager/v1;secretmanager"; +option go_package = "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb;secretmanagerpb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.secretmanager.v1"; diff --git a/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/proto/google/cloud/secretmanager/v1/service.proto b/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/proto/google/cloud/secretmanager/v1/service.proto index 52b3b0943c81..029d38f4a9bd 100644 --- a/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/proto/google/cloud/secretmanager/v1/service.proto +++ b/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/proto/google/cloud/secretmanager/v1/service.proto @@ -28,7 +28,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.SecretManager.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/secretmanager/v1;secretmanager"; +option go_package = "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb;secretmanagerpb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.secretmanager.v1"; diff --git a/java-secretmanager/proto-google-cloud-secretmanager-v1beta1/pom.xml b/java-secretmanager/proto-google-cloud-secretmanager-v1beta1/pom.xml index 01a33558a10e..9993d84d6e2c 100644 --- a/java-secretmanager/proto-google-cloud-secretmanager-v1beta1/pom.xml +++ b/java-secretmanager/proto-google-cloud-secretmanager-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-secretmanager-v1beta1 - 2.9.0 + 2.10.0 proto-google-cloud-secretmanager-v1beta1 PROTO library for proto-google-cloud-secretmanager-v1beta1 com.google.cloud google-cloud-secretmanager-parent - 2.9.0 + 2.10.0 diff --git a/java-security-private-ca/README.md b/java-security-private-ca/README.md index 1abca4faa9a1..17ec60146787 100644 --- a/java-security-private-ca/README.md +++ b/java-security-private-ca/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-security-private-ca - 2.10.0 + 2.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-security-private-ca:2.10.0' +implementation 'com.google.cloud:google-cloud-security-private-ca:2.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "2.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "2.11.0" ``` ## Authentication diff --git a/java-security-private-ca/google-cloud-security-private-ca-bom/pom.xml b/java-security-private-ca/google-cloud-security-private-ca-bom/pom.xml index 3ada644dda5a..c09bfc11752a 100644 --- a/java-security-private-ca/google-cloud-security-private-ca-bom/pom.xml +++ b/java-security-private-ca/google-cloud-security-private-ca-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-security-private-ca-bom - 2.11.0 + 2.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-security-private-ca - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-security-private-ca-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc grpc-google-cloud-security-private-ca-v1 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-security-private-ca-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc proto-google-cloud-security-private-ca-v1 - 2.11.0 + 2.12.0 diff --git a/java-security-private-ca/google-cloud-security-private-ca/pom.xml b/java-security-private-ca/google-cloud-security-private-ca/pom.xml index b7daad152b62..f71d61831a5a 100644 --- a/java-security-private-ca/google-cloud-security-private-ca/pom.xml +++ b/java-security-private-ca/google-cloud-security-private-ca/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-security-private-ca - 2.11.0 + 2.12.0 jar Google Certificate Authority Service simplifies the deployment and management of private CAs without managing infrastructure. com.google.cloud google-cloud-security-private-ca-parent - 2.11.0 + 2.12.0 google-cloud-security-private-ca diff --git a/java-security-private-ca/grpc-google-cloud-security-private-ca-v1/pom.xml b/java-security-private-ca/grpc-google-cloud-security-private-ca-v1/pom.xml index 1bb5d6123d83..7e5a7da843fa 100644 --- a/java-security-private-ca/grpc-google-cloud-security-private-ca-v1/pom.xml +++ b/java-security-private-ca/grpc-google-cloud-security-private-ca-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-security-private-ca-v1 - 2.11.0 + 2.12.0 grpc-google-cloud-security-private-ca-v1 GRPC library for google-cloud-security-private-ca com.google.cloud google-cloud-security-private-ca-parent - 2.11.0 + 2.12.0 diff --git a/java-security-private-ca/grpc-google-cloud-security-private-ca-v1beta1/pom.xml b/java-security-private-ca/grpc-google-cloud-security-private-ca-v1beta1/pom.xml index 1710e8ef2e5f..5d7344afc961 100644 --- a/java-security-private-ca/grpc-google-cloud-security-private-ca-v1beta1/pom.xml +++ b/java-security-private-ca/grpc-google-cloud-security-private-ca-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-security-private-ca-v1beta1 - 0.18.0 + 0.19.0 grpc-google-cloud-security-private-ca-v1beta1 GRPC library for google-cloud-security-private-ca com.google.cloud google-cloud-security-private-ca-parent - 2.11.0 + 2.12.0 diff --git a/java-security-private-ca/pom.xml b/java-security-private-ca/pom.xml index fd9f6469969b..50fc0ba472bc 100644 --- a/java-security-private-ca/pom.xml +++ b/java-security-private-ca/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-security-private-ca-parent pom - 2.11.0 + 2.12.0 Google Certificate Authority Service Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-security-private-ca - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-security-private-ca-v1 - 2.11.0 + 2.12.0 com.google.api.grpc grpc-google-cloud-security-private-ca-v1 - 2.11.0 + 2.12.0 com.google.api.grpc proto-google-cloud-security-private-ca-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc grpc-google-cloud-security-private-ca-v1beta1 - 0.18.0 + 0.19.0 diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/pom.xml b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/pom.xml index 951d0afec185..05bb5fe9bc87 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/pom.xml +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-security-private-ca-v1 - 2.11.0 + 2.12.0 proto-google-cloud-security-private-ca-v1 Proto library for google-cloud-security-private-ca com.google.cloud google-cloud-security-private-ca-parent - 2.11.0 + 2.12.0 diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/PrivateCaProto.java b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/PrivateCaProto.java index 140434caa3a8..c3bb0b0b77f4 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/PrivateCaProto.java +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/PrivateCaProto.java @@ -543,13 +543,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ",update_mask\312A(\n\023CertificateTemplate\022\021Op" + "erationMetadata\032L\312A\030privateca.googleapis" + ".com\322A.https://www.googleapis.com/auth/c" - + "loud-platformB\375\001\n&com.google.cloud.secur" - + "ity.privateca.v1B\016PrivateCaProtoP\001ZKgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "security/privateca/v1;privateca\370\001\001\252\002\"Goo" - + "gle.Cloud.Security.PrivateCA.V1\312\002\"Google" - + "\\Cloud\\Security\\PrivateCA\\V1\352\002&Google::C" - + "loud::Security::PrivateCA::V1b\006proto3" + + "loud-platformB\366\001\n&com.google.cloud.secur" + + "ity.privateca.v1B\016PrivateCaProtoP\001ZDclou" + + "d.google.com/go/security/privateca/apiv1" + + "/privatecapb;privatecapb\370\001\001\252\002\"Google.Clo" + + "ud.Security.PrivateCA.V1\312\002\"Google\\Cloud\\" + + "Security\\PrivateCA\\V1\352\002&Google::Cloud::S" + + "ecurity::PrivateCA::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/PrivateCaResourcesProto.java b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/PrivateCaResourcesProto.java index 0a2942a29355..7377069ad5cb 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/PrivateCaResourcesProto.java +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/PrivateCaResourcesProto.java @@ -497,13 +497,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "IBUTE_AUTHORITY_COMPROMISE\020\010*]\n\022SubjectR" + "equestMode\022$\n SUBJECT_REQUEST_MODE_UNSPE" + "CIFIED\020\000\022\013\n\007DEFAULT\020\001\022\024\n\020REFLECTED_SPIFF" - + "E\020\002B\206\002\n&com.google.cloud.security.privat" - + "eca.v1B\027PrivateCaResourcesProtoP\001ZKgoogl" - + "e.golang.org/genproto/googleapis/cloud/s" - + "ecurity/privateca/v1;privateca\370\001\001\252\002\"Goog" - + "le.Cloud.Security.PrivateCA.V1\312\002\"Google\\" - + "Cloud\\Security\\PrivateCA\\V1\352\002&Google::Cl" - + "oud::Security::PrivateCA::V1b\006proto3" + + "E\020\002B\377\001\n&com.google.cloud.security.privat" + + "eca.v1B\027PrivateCaResourcesProtoP\001ZDcloud" + + ".google.com/go/security/privateca/apiv1/" + + "privatecapb;privatecapb\370\001\001\252\002\"Google.Clou" + + "d.Security.PrivateCA.V1\312\002\"Google\\Cloud\\S" + + "ecurity\\PrivateCA\\V1\352\002&Google::Cloud::Se" + + "curity::PrivateCA::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/proto/google/cloud/security/privateca/v1/resources.proto b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/proto/google/cloud/security/privateca/v1/resources.proto index 3f6dfb17110d..d1102ccb9955 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/proto/google/cloud/security/privateca/v1/resources.proto +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/proto/google/cloud/security/privateca/v1/resources.proto @@ -24,7 +24,7 @@ import "google/type/expr.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Security.PrivateCA.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/security/privateca/v1;privateca"; +option go_package = "cloud.google.com/go/security/privateca/apiv1/privatecapb;privatecapb"; option java_multiple_files = true; option java_outer_classname = "PrivateCaResourcesProto"; option java_package = "com.google.cloud.security.privateca.v1"; diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/proto/google/cloud/security/privateca/v1/service.proto b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/proto/google/cloud/security/privateca/v1/service.proto index 2ab59538323d..ab3d46f719c8 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/proto/google/cloud/security/privateca/v1/service.proto +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1/src/main/proto/google/cloud/security/privateca/v1/service.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Security.PrivateCA.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/security/privateca/v1;privateca"; +option go_package = "cloud.google.com/go/security/privateca/apiv1/privatecapb;privatecapb"; option java_multiple_files = true; option java_outer_classname = "PrivateCaProto"; option java_package = "com.google.cloud.security.privateca.v1"; diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/pom.xml b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/pom.xml index 27b024f7bbbe..83dc02e78bd5 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/pom.xml +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-security-private-ca-v1beta1 - 0.18.0 + 0.19.0 proto-google-cloud-security-private-ca-v1beta1 Proto library for google-cloud-security-private-ca com.google.cloud google-cloud-security-private-ca-parent - 2.11.0 + 2.12.0 diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/PrivateCaProto.java b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/PrivateCaProto.java index 4bcb2c23b2c8..11d34c2037ee 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/PrivateCaProto.java +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/PrivateCaProto.java @@ -402,14 +402,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ent=projects/*/locations/*}/reusableConf" + "igs\332A\006parent\032L\312A\030privateca.googleapis.co" + "m\322A.https://www.googleapis.com/auth/clou" - + "d-platformB\226\002\n+com.google.cloud.security" - + ".privateca.v1beta1B\016PrivateCaProtoP\001ZPgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/security/privateca/v1beta1;privateca\370\001" - + "\001\252\002\'Google.Cloud.Security.PrivateCA.V1Be" - + "ta1\312\002\'Google\\Cloud\\Security\\PrivateCA\\V1" - + "beta1\352\002+Google::Cloud::Security::Private" - + "CA::V1beta1b\006proto3" + + "d-platformB\217\002\n+com.google.cloud.security" + + ".privateca.v1beta1B\016PrivateCaProtoP\001ZIcl" + + "oud.google.com/go/security/privateca/api" + + "v1beta1/privatecapb;privatecapb\370\001\001\252\002\'Goo" + + "gle.Cloud.Security.PrivateCA.V1Beta1\312\002\'G" + + "oogle\\Cloud\\Security\\PrivateCA\\V1beta1\352\002" + + "+Google::Cloud::Security::PrivateCA::V1b" + + "eta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/PrivateCaResourcesProto.java b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/PrivateCaResourcesProto.java index 27831050c7d1..d2577d368709 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/PrivateCaResourcesProto.java +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/PrivateCaResourcesProto.java @@ -447,15 +447,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023AFFILIATION_CHANGED\020\003\022\016\n\nSUPERSEDED\020\004\022\032" + "\n\026CESSATION_OF_OPERATION\020\005\022\024\n\020CERTIFICAT" + "E_HOLD\020\006\022\027\n\023PRIVILEGE_WITHDRAWN\020\007\022\"\n\036ATT" - + "RIBUTE_AUTHORITY_COMPROMISE\020\010B\237\002\n+com.go" + + "RIBUTE_AUTHORITY_COMPROMISE\020\010B\230\002\n+com.go" + "ogle.cloud.security.privateca.v1beta1B\027P" - + "rivateCaResourcesProtoP\001ZPgoogle.golang." - + "org/genproto/googleapis/cloud/security/p" - + "rivateca/v1beta1;privateca\370\001\001\252\002\'Google.C" - + "loud.Security.PrivateCA.V1Beta1\312\002\'Google" - + "\\Cloud\\Security\\PrivateCA\\V1beta1\352\002+Goog" - + "le::Cloud::Security::PrivateCA::V1beta1b" - + "\006proto3" + + "rivateCaResourcesProtoP\001ZIcloud.google.c" + + "om/go/security/privateca/apiv1beta1/priv" + + "atecapb;privatecapb\370\001\001\252\002\'Google.Cloud.Se" + + "curity.PrivateCA.V1Beta1\312\002\'Google\\Cloud\\" + + "Security\\PrivateCA\\V1beta1\352\002+Google::Clo" + + "ud::Security::PrivateCA::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/proto/google/cloud/security/privateca/v1beta1/resources.proto b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/proto/google/cloud/security/privateca/v1beta1/resources.proto index 5e98d97ace1b..736ba6e70040 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/proto/google/cloud/security/privateca/v1beta1/resources.proto +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/proto/google/cloud/security/privateca/v1beta1/resources.proto @@ -24,7 +24,7 @@ import "google/protobuf/wrappers.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Security.PrivateCA.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1;privateca"; +option go_package = "cloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb"; option java_multiple_files = true; option java_outer_classname = "PrivateCaResourcesProto"; option java_package = "com.google.cloud.security.privateca.v1beta1"; diff --git a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/proto/google/cloud/security/privateca/v1beta1/service.proto b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/proto/google/cloud/security/privateca/v1beta1/service.proto index 965736b954f8..b83b3daf8845 100644 --- a/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/proto/google/cloud/security/privateca/v1beta1/service.proto +++ b/java-security-private-ca/proto-google-cloud-security-private-ca-v1beta1/src/main/proto/google/cloud/security/privateca/v1beta1/service.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Security.PrivateCA.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1;privateca"; +option go_package = "cloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb"; option java_multiple_files = true; option java_outer_classname = "PrivateCaProto"; option java_package = "com.google.cloud.security.privateca.v1beta1"; diff --git a/java-securitycenter-settings/README.md b/java-securitycenter-settings/README.md index 60cf6b3c3ed4..7c4997054d6d 100644 --- a/java-securitycenter-settings/README.md +++ b/java-securitycenter-settings/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-securitycenter-settings - 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-securitycenter-settings:0.11.0' +implementation 'com.google.cloud:google-cloud-securitycenter-settings:0.12.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.11.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.12.0" ``` ## Authentication diff --git a/java-securitycenter-settings/google-cloud-securitycenter-settings-bom/pom.xml b/java-securitycenter-settings/google-cloud-securitycenter-settings-bom/pom.xml index d318c5215b8c..c5fc8f24dd1f 100644 --- a/java-securitycenter-settings/google-cloud-securitycenter-settings-bom/pom.xml +++ b/java-securitycenter-settings/google-cloud-securitycenter-settings-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-securitycenter-settings-bom - 0.12.0 + 0.13.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,17 +23,17 @@ com.google.cloud google-cloud-securitycenter-settings - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-securitycenter-settings-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-securitycenter-settings-v1beta1 - 0.12.0 + 0.13.0 diff --git a/java-securitycenter-settings/google-cloud-securitycenter-settings/pom.xml b/java-securitycenter-settings/google-cloud-securitycenter-settings/pom.xml index f410b9bc8083..238bcc1e7628 100644 --- a/java-securitycenter-settings/google-cloud-securitycenter-settings/pom.xml +++ b/java-securitycenter-settings/google-cloud-securitycenter-settings/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-securitycenter-settings - 0.12.0 + 0.13.0 jar Google Security Command Center Settings API is the canonical security and data risk database for Google Cloud. Security Command Center enables you to understand your security and data attack surface by providing asset inventory, discovery, search, and management. com.google.cloud google-cloud-securitycenter-settings-parent - 0.12.0 + 0.13.0 google-cloud-securitycenter-settings diff --git a/java-securitycenter-settings/grpc-google-cloud-securitycenter-settings-v1beta1/pom.xml b/java-securitycenter-settings/grpc-google-cloud-securitycenter-settings-v1beta1/pom.xml index 047178cab6ab..a3cb0f981963 100644 --- a/java-securitycenter-settings/grpc-google-cloud-securitycenter-settings-v1beta1/pom.xml +++ b/java-securitycenter-settings/grpc-google-cloud-securitycenter-settings-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-settings-v1beta1 - 0.12.0 + 0.13.0 grpc-google-cloud-securitycenter-settings-v1beta1 GRPC library for grpc-google-cloud-securitycenter-settings-v1beta1 com.google.cloud google-cloud-securitycenter-settings-parent - 0.12.0 + 0.13.0 diff --git a/java-securitycenter-settings/pom.xml b/java-securitycenter-settings/pom.xml index e2cb6a8d81ea..3e29856fa984 100644 --- a/java-securitycenter-settings/pom.xml +++ b/java-securitycenter-settings/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-securitycenter-settings-parent pom - 0.12.0 + 0.13.0 Google Security Command Center Settings API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-securitycenter-settings - 0.12.0 + 0.13.0 com.google.api.grpc proto-google-cloud-securitycenter-settings-v1beta1 - 0.12.0 + 0.13.0 com.google.api.grpc grpc-google-cloud-securitycenter-settings-v1beta1 - 0.12.0 + 0.13.0 diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/pom.xml b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/pom.xml index 0e0da67dae56..225dcb404276 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/pom.xml +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-settings-v1beta1 - 0.12.0 + 0.13.0 proto-google-cloud-securitycenter-settings-v1beta1 PROTO library for proto-google-cloud-securitycenter-settings-v1beta1 com.google.cloud google-cloud-securitycenter-settings-parent - 0.12.0 + 0.13.0 diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/BillingSettingsProto.java b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/BillingSettingsProto.java index 1f65ce8b08b7..3829c196c4a2 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/BillingSettingsProto.java +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/BillingSettingsProto.java @@ -56,15 +56,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "IED\020\000\022\014\n\010STANDARD\020\001\022\013\n\007PREMIUM\020\002*`\n\013Bill" + "ingType\022\034\n\030BILLING_TYPE_UNSPECIFIED\020\000\022\020\n" + "\014SUBSCRIPTION\020\001\022\026\n\022TRIAL_SUBSCRIPTION\020\002\022" - + "\t\n\005ALPHA\020\003B\264\002\n0com.google.cloud.security" + + "\t\n\005ALPHA\020\003B\254\002\n0com.google.cloud.security" + "center.settings.v1beta1B\024BillingSettings" - + "ProtoP\001ZTgoogle.golang.org/genproto/goog" - + "leapis/cloud/securitycenter/settings/v1b" - + "eta1;settings\370\001\001\252\002,Google.Cloud.Security" - + "Center.Settings.V1Beta1\312\002,Google\\Cloud\\S" - + "ecurityCenter\\Settings\\V1beta1\352\0020Google:" - + ":Cloud::SecurityCenter::Settings::V1beta" - + "1b\006proto3" + + "ProtoP\001ZLcloud.google.com/go/securitycen" + + "ter/settings/apiv1beta1/settingspb;setti" + + "ngspb\370\001\001\252\002,Google.Cloud.SecurityCenter.S" + + "ettings.V1Beta1\312\002,Google\\Cloud\\SecurityC" + + "enter\\Settings\\V1beta1\352\0020Google::Cloud::" + + "SecurityCenter::Settings::V1beta1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/ComponentSettingsProto.java b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/ComponentSettingsProto.java index f9cd8a3e5b28..1f6c76f41565 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/ComponentSettingsProto.java +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/ComponentSettingsProto.java @@ -132,15 +132,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ntSettings\022\033\n\023approved_identities\030\001 \003(\t*" + "l\n\030ComponentEnablementState\022*\n&COMPONENT" + "_ENABLEMENT_STATE_UNSPECIFIED\020\000\022\013\n\007DISAB" - + "LE\020\001\022\n\n\006ENABLE\020\002\022\013\n\007INHERIT\020\003B\266\002\n0com.go" + + "LE\020\001\022\n\n\006ENABLE\020\002\022\013\n\007INHERIT\020\003B\256\002\n0com.go" + "ogle.cloud.securitycenter.settings.v1bet" - + "a1B\026ComponentSettingsProtoP\001ZTgoogle.gol" - + "ang.org/genproto/googleapis/cloud/securi" - + "tycenter/settings/v1beta1;settings\370\001\001\252\002," - + "Google.Cloud.SecurityCenter.Settings.V1B" - + "eta1\312\002,Google\\Cloud\\SecurityCenter\\Setti" - + "ngs\\V1beta1\352\0020Google::Cloud::SecurityCen" - + "ter::Settings::V1beta1b\006proto3" + + "a1B\026ComponentSettingsProtoP\001ZLcloud.goog" + + "le.com/go/securitycenter/settings/apiv1b" + + "eta1/settingspb;settingspb\370\001\001\252\002,Google.C" + + "loud.SecurityCenter.Settings.V1Beta1\312\002,G" + + "oogle\\Cloud\\SecurityCenter\\Settings\\V1be" + + "ta1\352\0020Google::Cloud::SecurityCenter::Set" + + "tings::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/DetectorsProto.java b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/DetectorsProto.java index be2633ca703f..ec54e5cb2ac9 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/DetectorsProto.java +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/DetectorsProto.java @@ -49,15 +49,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "B\003\340A\003\022\026\n\tcomponent\030\002 \001(\tB\003\340A\003\022T\n\014billing" + "_tier\030\003 \001(\01629.google.cloud.securitycente" + "r.settings.v1beta1.BillingTierB\003\340A\003\022\034\n\017d" - + "etector_labels\030\004 \003(\tB\003\340A\003B\256\002\n0com.google" + + "etector_labels\030\004 \003(\tB\003\340A\003B\246\002\n0com.google" + ".cloud.securitycenter.settings.v1beta1B\016" - + "DetectorsProtoP\001ZTgoogle.golang.org/genp" - + "roto/googleapis/cloud/securitycenter/set" - + "tings/v1beta1;settings\370\001\001\252\002,Google.Cloud" - + ".SecurityCenter.Settings.V1Beta1\312\002,Googl" - + "e\\Cloud\\SecurityCenter\\Settings\\V1beta1\352" - + "\0020Google::Cloud::SecurityCenter::Setting" - + "s::V1beta1b\006proto3" + + "DetectorsProtoP\001ZLcloud.google.com/go/se" + + "curitycenter/settings/apiv1beta1/setting" + + "spb;settingspb\370\001\001\252\002,Google.Cloud.Securit" + + "yCenter.Settings.V1Beta1\312\002,Google\\Cloud\\" + + "SecurityCenter\\Settings\\V1beta1\352\0020Google" + + "::Cloud::SecurityCenter::Settings::V1bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SettingsProto.java b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SettingsProto.java index 3de379a2311e..df5a53f43854 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SettingsProto.java +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SettingsProto.java @@ -99,15 +99,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/clusters/{cluster}/settings\022?projects/{" + "project}/regions/{region}/clusters/{clus" + "ter}/settings\022;projects/{project}/zones/" - + "{zone}/clusters/{cluster}/settingsB\255\002\n0c" + + "{zone}/clusters/{cluster}/settingsB\245\002\n0c" + "om.google.cloud.securitycenter.settings." - + "v1beta1B\rSettingsProtoP\001ZTgoogle.golang." - + "org/genproto/googleapis/cloud/securityce" - + "nter/settings/v1beta1;settings\370\001\001\252\002,Goog" - + "le.Cloud.SecurityCenter.Settings.V1Beta1" - + "\312\002,Google\\Cloud\\SecurityCenter\\Settings\\" - + "V1beta1\352\0020Google::Cloud::SecurityCenter:" - + ":Settings::V1beta1b\006proto3" + + "v1beta1B\rSettingsProtoP\001ZLcloud.google.c" + + "om/go/securitycenter/settings/apiv1beta1" + + "/settingspb;settingspb\370\001\001\252\002,Google.Cloud" + + ".SecurityCenter.Settings.V1Beta1\312\002,Googl" + + "e\\Cloud\\SecurityCenter\\Settings\\V1beta1\352" + + "\0020Google::Cloud::SecurityCenter::Setting" + + "s::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SettingsServiceProto.java b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SettingsServiceProto.java index 04aea2b8481f..8c5d2970fe74 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SettingsServiceProto.java +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SettingsServiceProto.java @@ -340,15 +340,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nt=organizations/*}/components\332A\006parent\032" + "Q\312A\035securitycenter.googleapis.com\322A.http" + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\264\002\n0com.google.cloud.securitycenter.s" + + "rmB\254\002\n0com.google.cloud.securitycenter.s" + "ettings.v1beta1B\024SettingsServiceProtoP\001Z" - + "Tgoogle.golang.org/genproto/googleapis/c" - + "loud/securitycenter/settings/v1beta1;set" - + "tings\370\001\001\252\002,Google.Cloud.SecurityCenter.S" - + "ettings.V1Beta1\312\002,Google\\Cloud\\SecurityC" - + "enter\\Settings\\V1beta1\352\0020Google::Cloud::" - + "SecurityCenter::Settings::V1beta1b\006proto" - + "3" + + "Lcloud.google.com/go/securitycenter/sett" + + "ings/apiv1beta1/settingspb;settingspb\370\001\001" + + "\252\002,Google.Cloud.SecurityCenter.Settings." + + "V1Beta1\312\002,Google\\Cloud\\SecurityCenter\\Se" + + "ttings\\V1beta1\352\0020Google::Cloud::Security" + + "Center::Settings::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SinkProto.java b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SinkProto.java index 7726a4e68f17..913871014388 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SinkProto.java +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/SinkProto.java @@ -43,15 +43,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n@google/cloud/securitycenter/settings/v" + "1beta1/sink_settings.proto\022,google.cloud" + ".securitycenter.settings.v1beta1\",\n\014Sink" - + "Settings\022\034\n\024logging_sink_project\030\001 \001(\tB\251" + + "Settings\022\034\n\024logging_sink_project\030\001 \001(\tB\241" + "\002\n0com.google.cloud.securitycenter.setti" - + "ngs.v1beta1B\tSinkProtoP\001ZTgoogle.golang." - + "org/genproto/googleapis/cloud/securityce" - + "nter/settings/v1beta1;settings\370\001\001\252\002,Goog" - + "le.Cloud.SecurityCenter.Settings.V1Beta1" - + "\312\002,Google\\Cloud\\SecurityCenter\\Settings\\" - + "V1beta1\352\0020Google::Cloud::SecurityCenter:" - + ":Settings::V1beta1b\006proto3" + + "ngs.v1beta1B\tSinkProtoP\001ZLcloud.google.c" + + "om/go/securitycenter/settings/apiv1beta1" + + "/settingspb;settingspb\370\001\001\252\002,Google.Cloud" + + ".SecurityCenter.Settings.V1Beta1\312\002,Googl" + + "e\\Cloud\\SecurityCenter\\Settings\\V1beta1\352" + + "\0020Google::Cloud::SecurityCenter::Setting" + + "s::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/billing_settings.proto b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/billing_settings.proto index 976ebbd1d323..9487bc4d4fc1 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/billing_settings.proto +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/billing_settings.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.SecurityCenter.Settings.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1;settings"; +option go_package = "cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb;settingspb"; option java_multiple_files = true; option java_outer_classname = "BillingSettingsProto"; option java_package = "com.google.cloud.securitycenter.settings.v1beta1"; diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/component_settings.proto b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/component_settings.proto index 8b352e38ae8f..90e4fbf8b2b2 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/component_settings.proto +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/component_settings.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.SecurityCenter.Settings.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1;settings"; +option go_package = "cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb;settingspb"; option java_multiple_files = true; option java_outer_classname = "ComponentSettingsProto"; option java_package = "com.google.cloud.securitycenter.settings.v1beta1"; diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/detector.proto b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/detector.proto index 65c7631a32b1..f74a3155ed02 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/detector.proto +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/detector.proto @@ -21,7 +21,7 @@ import "google/cloud/securitycenter/settings/v1beta1/billing_settings.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.SecurityCenter.Settings.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1;settings"; +option go_package = "cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb;settingspb"; option java_multiple_files = true; option java_outer_classname = "DetectorsProto"; option java_package = "com.google.cloud.securitycenter.settings.v1beta1"; diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/securitycenter_settings_service.proto b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/securitycenter_settings_service.proto index e5263695d46e..c7bb82b7de23 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/securitycenter_settings_service.proto +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/securitycenter_settings_service.proto @@ -28,7 +28,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.SecurityCenter.Settings.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1;settings"; +option go_package = "cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb;settingspb"; option java_multiple_files = true; option java_outer_classname = "SettingsServiceProto"; option java_package = "com.google.cloud.securitycenter.settings.v1beta1"; diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/settings.proto b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/settings.proto index 7f6b8daf4686..39916d246405 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/settings.proto +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/settings.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.SecurityCenter.Settings.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1;settings"; +option go_package = "cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb;settingspb"; option java_multiple_files = true; option java_outer_classname = "SettingsProto"; option java_package = "com.google.cloud.securitycenter.settings.v1beta1"; diff --git a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/sink_settings.proto b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/sink_settings.proto index 1912af5cbb16..853c9d3dbb9e 100644 --- a/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/sink_settings.proto +++ b/java-securitycenter-settings/proto-google-cloud-securitycenter-settings-v1beta1/src/main/proto/google/cloud/securitycenter/settings/v1beta1/sink_settings.proto @@ -19,7 +19,7 @@ package google.cloud.securitycenter.settings.v1beta1; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.SecurityCenter.Settings.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1;settings"; +option go_package = "cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb;settingspb"; option java_multiple_files = true; option java_outer_classname = "SinkProto"; option java_package = "com.google.cloud.securitycenter.settings.v1beta1"; diff --git a/java-securitycenter/README.md b/java-securitycenter/README.md index 1bd2e3649a46..6674192f5ffa 100644 --- a/java-securitycenter/README.md +++ b/java-securitycenter/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-securitycenter - 2.16.0 + 2.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycenter:2.16.0' +implementation 'com.google.cloud:google-cloud-securitycenter:2.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.16.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.17.0" ``` ## Authentication diff --git a/java-securitycenter/google-cloud-securitycenter-bom/pom.xml b/java-securitycenter/google-cloud-securitycenter-bom/pom.xml index 63ebde124b4d..34641250c386 100644 --- a/java-securitycenter/google-cloud-securitycenter-bom/pom.xml +++ b/java-securitycenter/google-cloud-securitycenter-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-securitycenter-bom - 2.17.0 + 2.18.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,37 +23,37 @@ com.google.cloud google-cloud-securitycenter - 2.17.0 + 2.18.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 2.17.0 + 2.18.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.112.0 + 0.113.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.112.0 + 0.113.0 com.google.api.grpc proto-google-cloud-securitycenter-v1 - 2.17.0 + 2.18.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.112.0 + 0.113.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.112.0 + 0.113.0 diff --git a/java-securitycenter/google-cloud-securitycenter/pom.xml b/java-securitycenter/google-cloud-securitycenter/pom.xml index 82846065c8b3..089a91023f69 100644 --- a/java-securitycenter/google-cloud-securitycenter/pom.xml +++ b/java-securitycenter/google-cloud-securitycenter/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-securitycenter - 2.17.0 + 2.18.0 jar Google Cloud Security Command Center Java idiomatic client for Google Cloud Security Command Center com.google.cloud google-cloud-securitycenter-parent - 2.17.0 + 2.18.0 google-cloud-securitycenter diff --git a/java-securitycenter/grpc-google-cloud-securitycenter-v1/pom.xml b/java-securitycenter/grpc-google-cloud-securitycenter-v1/pom.xml index 33084452034e..490fa24a75cf 100644 --- a/java-securitycenter/grpc-google-cloud-securitycenter-v1/pom.xml +++ b/java-securitycenter/grpc-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 2.17.0 + 2.18.0 grpc-google-cloud-securitycenter-v1 GRPC library for grpc-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 2.17.0 + 2.18.0 diff --git a/java-securitycenter/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/java-securitycenter/grpc-google-cloud-securitycenter-v1beta1/pom.xml index 5d8f6dfd4cf0..a05c876463d6 100644 --- a/java-securitycenter/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/java-securitycenter/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.112.0 + 0.113.0 grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.17.0 + 2.18.0 diff --git a/java-securitycenter/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml b/java-securitycenter/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml index 50c301039df0..9122f008a73b 100644 --- a/java-securitycenter/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/java-securitycenter/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.112.0 + 0.113.0 grpc-google-cloud-securitycenter-v1p1beta1 GRPC library for grpc-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.17.0 + 2.18.0 diff --git a/java-securitycenter/pom.xml b/java-securitycenter/pom.xml index 216919d01cdc..cdde6f1a0af8 100644 --- a/java-securitycenter/pom.xml +++ b/java-securitycenter/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-securitycenter-parent pom - 2.17.0 + 2.18.0 Google Cloud Security Command Center Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,37 +29,37 @@ com.google.api.grpc proto-google-cloud-securitycenter-v1 - 2.17.0 + 2.18.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.112.0 + 0.113.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.112.0 + 0.113.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 2.17.0 + 2.18.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.112.0 + 0.113.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.112.0 + 0.113.0 com.google.cloud google-cloud-securitycenter - 2.17.0 + 2.18.0 diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/pom.xml b/java-securitycenter/proto-google-cloud-securitycenter-v1/pom.xml index 547c7453f837..56a01e66ef10 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/pom.xml +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1 - 2.17.0 + 2.18.0 proto-google-cloud-securitycenter-v1 PROTO library for proto-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 2.17.0 + 2.18.0 diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java index 5c0979a76602..974bab74f19b 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AccessProto.java @@ -62,13 +62,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "er_name\030\013 \001(\t\"R\n\034ServiceAccountDelegatio" + "nInfo\022\027\n\017principal_email\030\001 \001(\t\022\031\n\021princi" + "pal_subject\030\002 \001(\t\"\"\n\013Geolocation\022\023\n\013regi" - + "on_code\030\001 \001(\tB\347\001\n\"com.google.cloud.secur" - + "itycenter.v1B\013AccessProtoP\001ZLgoogle.gola" - + "ng.org/genproto/googleapis/cloud/securit" - + "ycenter/v1;securitycenter\252\002\036Google.Cloud" - + ".SecurityCenter.V1\312\002\036Google\\Cloud\\Securi" - + "tyCenter\\V1\352\002!Google::Cloud::SecurityCen" - + "ter::V1b\006proto3" + + "on_code\030\001 \001(\tB\345\001\n\"com.google.cloud.secur" + + "itycenter.v1B\013AccessProtoP\001ZJcloud.googl" + + "e.com/go/securitycenter/apiv1/securityce" + + "nterpb;securitycenterpb\252\002\036Google.Cloud.S" + + "ecurityCenter.V1\312\002\036Google\\Cloud\\Security" + + "Center\\V1\352\002!Google::Cloud::SecurityCente" + + "r::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java index 487cf1492902..5e754b46919c 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/AssetOuterClass.java @@ -85,13 +85,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogleapis.com/Asset\022+organizations/{orga" + "nization}/assets/{asset}\022\037folders/{folde" + "r}/assets/{asset}\022!projects/{project}/as" - + "sets/{asset}B\332\001\n\"com.google.cloud.securi" - + "tycenter.v1P\001ZLgoogle.golang.org/genprot" - + "o/googleapis/cloud/securitycenter/v1;sec" - + "uritycenter\252\002\036Google.Cloud.SecurityCente" - + "r.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!" - + "Google::Cloud::SecurityCenter::V1b\006proto" - + "3" + + "sets/{asset}B\330\001\n\"com.google.cloud.securi" + + "tycenter.v1P\001ZJcloud.google.com/go/secur" + + "itycenter/apiv1/securitycenterpb;securit" + + "ycenterpb\252\002\036Google.Cloud.SecurityCenter." + + "V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Go" + + "ogle::Cloud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java index d95fbeacac76..9153be286b90 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BigQueryExportProto.java @@ -55,13 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "port\0225organizations/{organization}/bigQu" + "eryExports/{export}\022)folders/{folder}/bi" + "gQueryExports/{export}\022+projects/{projec" - + "t}/bigQueryExports/{export}B\357\001\n\"com.goog" + + "t}/bigQueryExports/{export}B\355\001\n\"com.goog" + "le.cloud.securitycenter.v1B\023BigQueryExpo" - + "rtProtoP\001ZLgoogle.golang.org/genproto/go" - + "ogleapis/cloud/securitycenter/v1;securit" - + "ycenter\252\002\036Google.Cloud.SecurityCenter.V1" - + "\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Goog" - + "le::Cloud::SecurityCenter::V1b\006proto3" + + "rtProtoP\001ZJcloud.google.com/go/securityc" + + "enter/apiv1/securitycenterpb;securitycen" + + "terpb\252\002\036Google.Cloud.SecurityCenter.V1\312\002" + + "\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google" + + "::Cloud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java index f6df500c8e2d..5eff8fc753e3 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ComplianceProto.java @@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n/google/cloud/securitycenter/v1/complia" + "nce.proto\022\036google.cloud.securitycenter.v" + "1\"<\n\nCompliance\022\020\n\010standard\030\001 \001(\t\022\017\n\007ver" - + "sion\030\002 \001(\t\022\013\n\003ids\030\003 \003(\tB\353\001\n\"com.google.c" + + "sion\030\002 \001(\t\022\013\n\003ids\030\003 \003(\tB\351\001\n\"com.google.c" + "loud.securitycenter.v1B\017ComplianceProtoP" - + "\001ZLgoogle.golang.org/genproto/googleapis" - + "/cloud/securitycenter/v1;securitycenter\252" - + "\002\036Google.Cloud.SecurityCenter.V1\312\002\036Googl" - + "e\\Cloud\\SecurityCenter\\V1\352\002!Google::Clou" - + "d::SecurityCenter::V1b\006proto3" + + "\001ZJcloud.google.com/go/securitycenter/ap" + + "iv1/securitycenterpb;securitycenterpb\252\002\036" + + "Google.Cloud.SecurityCenter.V1\312\002\036Google\\" + + "Cloud\\SecurityCenter\\V1\352\002!Google::Cloud:" + + ":SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java index db47396e9936..34d4f5fb26dc 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ConnectionProto.java @@ -48,13 +48,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\01623.google.cloud.securitycenter.v1.Co" + "nnection.Protocol\"R\n\010Protocol\022\030\n\024PROTOCO" + "L_UNSPECIFIED\020\000\022\010\n\004ICMP\020\001\022\007\n\003TCP\020\006\022\007\n\003UD" - + "P\020\021\022\007\n\003GRE\020/\022\007\n\003ESP\0202B\353\001\n\"com.google.clo" + + "P\020\021\022\007\n\003GRE\020/\022\007\n\003ESP\0202B\351\001\n\"com.google.clo" + "ud.securitycenter.v1B\017ConnectionProtoP\001Z" - + "Lgoogle.golang.org/genproto/googleapis/c" - + "loud/securitycenter/v1;securitycenter\252\002\036" - + "Google.Cloud.SecurityCenter.V1\312\002\036Google\\" - + "Cloud\\SecurityCenter\\V1\352\002!Google::Cloud:" - + ":SecurityCenter::V1b\006proto3" + + "Jcloud.google.com/go/securitycenter/apiv" + + "1/securitycenterpb;securitycenterpb\252\002\036Go" + + "ogle.Cloud.SecurityCenter.V1\312\002\036Google\\Cl" + + "oud\\SecurityCenter\\V1\352\002!Google::Cloud::S" + + "ecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java index f5a73ac38211..55a0ef09865c 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContactDetailsProto.java @@ -48,13 +48,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_details.proto\022\036google.cloud.securitycen" + "ter.v1\"K\n\016ContactDetails\0229\n\010contacts\030\001 \003" + "(\0132\'.google.cloud.securitycenter.v1.Cont" - + "act\"\030\n\007Contact\022\r\n\005email\030\001 \001(\tB\357\001\n\"com.go" + + "act\"\030\n\007Contact\022\r\n\005email\030\001 \001(\tB\355\001\n\"com.go" + "ogle.cloud.securitycenter.v1B\023ContactDet" - + "ailsProtoP\001ZLgoogle.golang.org/genproto/" - + "googleapis/cloud/securitycenter/v1;secur" - + "itycenter\252\002\036Google.Cloud.SecurityCenter." - + "V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Go" - + "ogle::Cloud::SecurityCenter::V1b\006proto3" + + "ailsProtoP\001ZJcloud.google.com/go/securit" + + "ycenter/apiv1/securitycenterpb;securityc" + + "enterpb\252\002\036Google.Cloud.SecurityCenter.V1" + + "\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Goog" + + "le::Cloud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java index d30752290907..90c5c47e9fe6 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ContainerProto.java @@ -45,14 +45,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032*google/cloud/securitycenter/v1/label.p" + "roto\"o\n\tContainer\022\014\n\004name\030\001 \001(\t\022\013\n\003uri\030\002" + " \001(\t\022\020\n\010image_id\030\003 \001(\t\0225\n\006labels\030\004 \003(\0132%" - + ".google.cloud.securitycenter.v1.LabelB\352\001" + + ".google.cloud.securitycenter.v1.LabelB\350\001" + "\n\"com.google.cloud.securitycenter.v1B\016Co" - + "ntainerProtoP\001ZLgoogle.golang.org/genpro" - + "to/googleapis/cloud/securitycenter/v1;se" - + "curitycenter\252\002\036Google.Cloud.SecurityCent" - + "er.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002" - + "!Google::Cloud::SecurityCenter::V1b\006prot" - + "o3" + + "ntainerProtoP\001ZJcloud.google.com/go/secu" + + "ritycenter/apiv1/securitycenterpb;securi" + + "tycenterpb\252\002\036Google.Cloud.SecurityCenter" + + ".V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!G" + + "oogle::Cloud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java index 6561ea4e7443..420c7d08e9ee 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DatabaseProto.java @@ -44,13 +44,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.proto\022\036google.cloud.securitycenter.v1\"" + "b\n\010Database\022\014\n\004name\030\001 \001(\t\022\024\n\014display_nam" + "e\030\002 \001(\t\022\021\n\tuser_name\030\003 \001(\t\022\r\n\005query\030\004 \001(" - + "\t\022\020\n\010grantees\030\005 \003(\tB\351\001\n\"com.google.cloud" - + ".securitycenter.v1B\rDatabaseProtoP\001ZLgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/securitycenter/v1;securitycenter\252\002\036Goog" - + "le.Cloud.SecurityCenter.V1\312\002\036Google\\Clou" - + "d\\SecurityCenter\\V1\352\002!Google::Cloud::Sec" - + "urityCenter::V1b\006proto3" + + "\t\022\020\n\010grantees\030\005 \003(\tB\347\001\n\"com.google.cloud" + + ".securitycenter.v1B\rDatabaseProtoP\001ZJclo" + + "ud.google.com/go/securitycenter/apiv1/se" + + "curitycenterpb;securitycenterpb\252\002\036Google" + + ".Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\" + + "SecurityCenter\\V1\352\002!Google::Cloud::Secur" + + "ityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java index 40827fa73574..a82801d3ec33 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExfiltrationProto.java @@ -51,13 +51,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "urce\022>\n\007targets\030\002 \003(\0132-.google.cloud.sec" + "uritycenter.v1.ExfilResource\"1\n\rExfilRes" + "ource\022\014\n\004name\030\001 \001(\t\022\022\n\ncomponents\030\002 \003(\tB" - + "\355\001\n\"com.google.cloud.securitycenter.v1B\021" - + "ExfiltrationProtoP\001ZLgoogle.golang.org/g" - + "enproto/googleapis/cloud/securitycenter/" - + "v1;securitycenter\252\002\036Google.Cloud.Securit" - + "yCenter.V1\312\002\036Google\\Cloud\\SecurityCenter" - + "\\V1\352\002!Google::Cloud::SecurityCenter::V1b" - + "\006proto3" + + "\353\001\n\"com.google.cloud.securitycenter.v1B\021" + + "ExfiltrationProtoP\001ZJcloud.google.com/go" + + "/securitycenter/apiv1/securitycenterpb;s" + + "ecuritycenterpb\252\002\036Google.Cloud.SecurityC" + + "enter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V" + + "1\352\002!Google::Cloud::SecurityCenter::V1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java index e8f818e39847..b0586ce2f0d0 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemProto.java @@ -55,13 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "{source}/findings/{finding}/externalSyst" + "ems/{externalsystem}\022Wprojects/{project}" + "/sources/{source}/findings/{finding}/ext" - + "ernalSystems/{externalsystem}B\357\001\n\"com.go" + + "ernalSystems/{externalsystem}B\355\001\n\"com.go" + "ogle.cloud.securitycenter.v1B\023ExternalSy" - + "stemProtoP\001ZLgoogle.golang.org/genproto/" - + "googleapis/cloud/securitycenter/v1;secur" - + "itycenter\252\002\036Google.Cloud.SecurityCenter." - + "V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Go" - + "ogle::Cloud::SecurityCenter::V1b\006proto3" + + "stemProtoP\001ZJcloud.google.com/go/securit" + + "ycenter/apiv1/securitycenterpb;securityc" + + "enterpb\252\002\036Google.Cloud.SecurityCenter.V1" + + "\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Goog" + + "le::Cloud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java index 2f6f2c0f961c..4ad67d958430 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FileProto.java @@ -44,13 +44,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oto\022\036google.cloud.securitycenter.v1\"s\n\004F" + "ile\022\014\n\004path\030\001 \001(\t\022\014\n\004size\030\002 \001(\003\022\016\n\006sha25" + "6\030\003 \001(\t\022\023\n\013hashed_size\030\004 \001(\003\022\030\n\020partiall" - + "y_hashed\030\005 \001(\010\022\020\n\010contents\030\006 \001(\tB\345\001\n\"com" + + "y_hashed\030\005 \001(\010\022\020\n\010contents\030\006 \001(\tB\343\001\n\"com" + ".google.cloud.securitycenter.v1B\tFilePro" - + "toP\001ZLgoogle.golang.org/genproto/googlea" - + "pis/cloud/securitycenter/v1;securitycent" - + "er\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Go" - + "ogle\\Cloud\\SecurityCenter\\V1\352\002!Google::C" - + "loud::SecurityCenter::V1b\006proto3" + + "toP\001ZJcloud.google.com/go/securitycenter" + + "/apiv1/securitycenterpb;securitycenterpb" + + "\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Goog" + + "le\\Cloud\\SecurityCenter\\V1\352\002!Google::Clo" + + "ud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java index b9d80a7d04dd..d897068a6026 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java @@ -146,12 +146,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "findings/{finding}\0224folders/{folder}/sou" + "rces/{source}/findings/{finding}\0226projec" + "ts/{project}/sources/{source}/findings/{" - + "finding}B\332\001\n\"com.google.cloud.securityce" - + "nter.v1P\001ZLgoogle.golang.org/genproto/go" - + "ogleapis/cloud/securitycenter/v1;securit" - + "ycenter\252\002\036Google.Cloud.SecurityCenter.V1" - + "\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Goog" - + "le::Cloud::SecurityCenter::V1b\006proto3" + + "finding}B\330\001\n\"com.google.cloud.securityce" + + "nter.v1P\001ZJcloud.google.com/go/securityc" + + "enter/apiv1/securitycenterpb;securitycen" + + "terpb\252\002\036Google.Cloud.SecurityCenter.V1\312\002" + + "\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google" + + "::Cloud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java index a86b98b9f48f..be0c9cf67dc4 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FolderProto.java @@ -43,13 +43,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n+google/cloud/securitycenter/v1/folder." + "proto\022\036google.cloud.securitycenter.v1\"G\n" + "\006Folder\022\027\n\017resource_folder\030\001 \001(\t\022$\n\034reso" - + "urce_folder_display_name\030\002 \001(\tB\347\001\n\"com.g" + + "urce_folder_display_name\030\002 \001(\tB\345\001\n\"com.g" + "oogle.cloud.securitycenter.v1B\013FolderPro" - + "toP\001ZLgoogle.golang.org/genproto/googlea" - + "pis/cloud/securitycenter/v1;securitycent" - + "er\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Go" - + "ogle\\Cloud\\SecurityCenter\\V1\352\002!Google::C" - + "loud::SecurityCenter::V1b\006proto3" + + "toP\001ZJcloud.google.com/go/securitycenter" + + "/apiv1/securitycenterpb;securitycenterpb" + + "\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Goog" + + "le\\Cloud\\SecurityCenter\\V1\352\002!Google::Clo" + + "ud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java index b37cd930a5f4..43c6423f61d9 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IamBindingProto.java @@ -46,13 +46,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "le.cloud.securitycenter.v1.IamBinding.Ac" + "tion\022\014\n\004role\030\002 \001(\t\022\016\n\006member\030\003 \001(\t\"5\n\006Ac" + "tion\022\026\n\022ACTION_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n" - + "\006REMOVE\020\002B\353\001\n\"com.google.cloud.securityc" - + "enter.v1B\017IamBindingProtoP\001ZLgoogle.gola" - + "ng.org/genproto/googleapis/cloud/securit" - + "ycenter/v1;securitycenter\252\002\036Google.Cloud" - + ".SecurityCenter.V1\312\002\036Google\\Cloud\\Securi" - + "tyCenter\\V1\352\002!Google::Cloud::SecurityCen" - + "ter::V1b\006proto3" + + "\006REMOVE\020\002B\351\001\n\"com.google.cloud.securityc" + + "enter.v1B\017IamBindingProtoP\001ZJcloud.googl" + + "e.com/go/securitycenter/apiv1/securityce" + + "nterpb;securitycenterpb\252\002\036Google.Cloud.S" + + "ecurityCenter.V1\312\002\036Google\\Cloud\\Security" + + "Center\\V1\352\002!Google::Cloud::SecurityCente" + + "r::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java index 6f3d276bdf7f..b28a8cbfe863 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/IndicatorProto.java @@ -74,13 +74,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "moryHashSignature.Detection\032:\n\tDetection" + "\022\016\n\006binary\030\002 \001(\t\022\035\n\025percent_pages_matche" + "d\030\003 \001(\001\032&\n\021YaraRuleSignature\022\021\n\tyara_rul" - + "e\030\005 \001(\tB\013\n\tsignatureB\352\001\n\"com.google.clou" - + "d.securitycenter.v1B\016IndicatorProtoP\001ZLg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/securitycenter/v1;securitycenter\252\002\036Go" - + "ogle.Cloud.SecurityCenter.V1\312\002\036Google\\Cl" - + "oud\\SecurityCenter\\V1\352\002!Google::Cloud::S" - + "ecurityCenter::V1b\006proto3" + + "e\030\005 \001(\tB\013\n\tsignatureB\350\001\n\"com.google.clou" + + "d.securitycenter.v1B\016IndicatorProtoP\001ZJc" + + "loud.google.com/go/securitycenter/apiv1/" + + "securitycenterpb;securitycenterpb\252\002\036Goog" + + "le.Cloud.SecurityCenter.V1\312\002\036Google\\Clou" + + "d\\SecurityCenter\\V1\352\002!Google::Cloud::Sec" + + "urityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitProto.java index fa7df48af1fa..502ce08880b8 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitProto.java @@ -50,13 +50,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "xpected_kernel_code_pages\030\006 \001(\010\022&\n\036unexp" + "ected_system_call_handler\030\007 \001(\010\022$\n\034unexp" + "ected_interrupt_handler\030\010 \001(\010\022(\n unexpec" - + "ted_processes_in_runqueue\030\t \001(\010B\356\001\n\"com." + + "ted_processes_in_runqueue\030\t \001(\010B\354\001\n\"com." + "google.cloud.securitycenter.v1B\022KernelRo" - + "otkitProtoP\001ZLgoogle.golang.org/genproto" - + "/googleapis/cloud/securitycenter/v1;secu" - + "ritycenter\252\002\036Google.Cloud.SecurityCenter" - + ".V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!G" - + "oogle::Cloud::SecurityCenter::V1b\006proto3" + + "otkitProtoP\001ZJcloud.google.com/go/securi" + + "tycenter/apiv1/securitycenterpb;security" + + "centerpb\252\002\036Google.Cloud.SecurityCenter.V" + + "1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Goo" + + "gle::Cloud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java index 6f7b657f069c..ba27adbcf7f4 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KubernetesProto.java @@ -105,14 +105,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022\022\n\016SERVICEACCOUNT\020\002\022\t\n\005GROUP\020\003\032}\n\014Acces" + "sReview\022\r\n\005group\030\001 \001(\t\022\n\n\002ns\030\002 \001(\t\022\014\n\004na" + "me\030\003 \001(\t\022\020\n\010resource\030\004 \001(\t\022\023\n\013subresourc" - + "e\030\005 \001(\t\022\014\n\004verb\030\006 \001(\t\022\017\n\007version\030\007 \001(\tB\353" + + "e\030\005 \001(\t\022\014\n\004verb\030\006 \001(\t\022\017\n\007version\030\007 \001(\tB\351" + "\001\n\"com.google.cloud.securitycenter.v1B\017K" - + "ubernetesProtoP\001ZLgoogle.golang.org/genp" - + "roto/googleapis/cloud/securitycenter/v1;" - + "securitycenter\252\002\036Google.Cloud.SecurityCe" - + "nter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1" - + "\352\002!Google::Cloud::SecurityCenter::V1b\006pr" - + "oto3" + + "ubernetesProtoP\001ZJcloud.google.com/go/se" + + "curitycenter/apiv1/securitycenterpb;secu" + + "ritycenterpb\252\002\036Google.Cloud.SecurityCent" + + "er.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002" + + "!Google::Cloud::SecurityCenter::V1b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java index c8fd6d2a0902..c73358606d02 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/LabelProto.java @@ -42,13 +42,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n*google/cloud/securitycenter/v1/label.p" + "roto\022\036google.cloud.securitycenter.v1\"$\n\005" - + "Label\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\tB\346\001\n\"c" + + "Label\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\tB\344\001\n\"c" + "om.google.cloud.securitycenter.v1B\nLabel" - + "ProtoP\001ZLgoogle.golang.org/genproto/goog" - + "leapis/cloud/securitycenter/v1;securityc" - + "enter\252\002\036Google.Cloud.SecurityCenter.V1\312\002" - + "\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google" - + "::Cloud::SecurityCenter::V1b\006proto3" + + "ProtoP\001ZJcloud.google.com/go/securitycen" + + "ter/apiv1/securitycenterpb;securitycente" + + "rpb\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036G" + + "oogle\\Cloud\\SecurityCenter\\V1\352\002!Google::" + + "Cloud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java index eaec5063191b..870a2a26d426 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MitreAttackProto.java @@ -83,13 +83,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "S\020\037\022\035\n\031NETWORK_SERVICE_DISCOVERY\020 \022\035\n\031AC" + "CESS_TOKEN_MANIPULATION\020!\022%\n!ABUSE_ELEVA" + "TION_CONTROL_MECHANISM\020\"\022\024\n\020DEFAULT_ACCO" - + "UNTS\020#B\354\001\n\"com.google.cloud.securitycent" - + "er.v1B\020MitreAttackProtoP\001ZLgoogle.golang" - + ".org/genproto/googleapis/cloud/securityc" - + "enter/v1;securitycenter\252\002\036Google.Cloud.S" - + "ecurityCenter.V1\312\002\036Google\\Cloud\\Security" - + "Center\\V1\352\002!Google::Cloud::SecurityCente" - + "r::V1b\006proto3" + + "UNTS\020#B\352\001\n\"com.google.cloud.securitycent" + + "er.v1B\020MitreAttackProtoP\001ZJcloud.google." + + "com/go/securitycenter/apiv1/securitycent" + + "erpb;securitycenterpb\252\002\036Google.Cloud.Sec" + + "urityCenter.V1\312\002\036Google\\Cloud\\SecurityCe" + + "nter\\V1\352\002!Google::Cloud::SecurityCenter:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java index b6b1cd23126c..ffcd486ae786 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/MuteConfigProto.java @@ -55,13 +55,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rganization}/muteConfigs/{mute_config}\022*" + "folders/{folder}/muteConfigs/{mute_confi" + "g}\022,projects/{project}/muteConfigs/{mute" - + "_config}B\353\001\n\"com.google.cloud.securityce" - + "nter.v1B\017MuteConfigProtoP\001ZLgoogle.golan" - + "g.org/genproto/googleapis/cloud/security" - + "center/v1;securitycenter\252\002\036Google.Cloud." - + "SecurityCenter.V1\312\002\036Google\\Cloud\\Securit" - + "yCenter\\V1\352\002!Google::Cloud::SecurityCent" - + "er::V1b\006proto3" + + "_config}B\351\001\n\"com.google.cloud.securityce" + + "nter.v1B\017MuteConfigProtoP\001ZJcloud.google" + + ".com/go/securitycenter/apiv1/securitycen" + + "terpb;securitycenterpb\252\002\036Google.Cloud.Se" + + "curityCenter.V1\312\002\036Google\\Cloud\\SecurityC" + + "enter\\V1\352\002!Google::Cloud::SecurityCenter" + + "::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java index 03264f602d0f..f2daa3acecd9 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigProto.java @@ -61,15 +61,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ers/{folder}/notificationConfigs/{notifi" + "cation_config}\0224.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.112.0 + 0.113.0 proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.17.0 + 2.18.0 diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java index 7a3352ef6762..d4ecde6fce99 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/AssetOuterClass.java @@ -72,11 +72,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rtiesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026" + ".google.protobuf.Value:\0028\001:U\352AR\n#securit" + "ycenter.googleapis.com/Asset\022+organizati" - + "ons/{organization}/assets/{asset}B~\n\'com" - + ".google.cloud.securitycenter.v1beta1P\001ZQ" - + "google.golang.org/genproto/googleapis/cl" - + "oud/securitycenter/v1beta1;securitycente" - + "rb\006proto3" + + "ons/{organization}/assets/{asset}B|\n\'com" + + ".google.cloud.securitycenter.v1beta1P\001ZO" + + "cloud.google.com/go/securitycenter/apiv1" + + "beta1/securitycenterpb;securitycenterpbb" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java index dab6e23eb147..4995b063cf3c 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/FindingOuterClass.java @@ -68,10 +68,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "VE\020\001\022\014\n\010INACTIVE\020\002:l\352Ai\n%securitycenter." + "googleapis.com/Finding\022@organizations/{o" + "rganization}/sources/{source}/findings/{" - + "finding}B~\n\'com.google.cloud.securitycen" - + "ter.v1beta1P\001ZQgoogle.golang.org/genprot" - + "o/googleapis/cloud/securitycenter/v1beta" - + "1;securitycenterb\006proto3" + + "finding}B|\n\'com.google.cloud.securitycen" + + "ter.v1beta1P\001ZOcloud.google.com/go/secur" + + "itycenter/apiv1beta1/securitycenterpb;se" + + "curitycenterpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java index 81d790175009..2aaef83b39a3 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/OrganizationSettingsOuterClass.java @@ -60,10 +60,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "IED\020\000\022\020\n\014INCLUDE_ONLY\020\001\022\013\n\007EXCLUDE\020\002:j\352A" + "g\n2securitycenter.googleapis.com/Organiz" + "ationSettings\0221organizations/{organizati" - + "on}/organizationSettingsB~\n\'com.google.c" - + "loud.securitycenter.v1beta1P\001ZQgoogle.go" - + "lang.org/genproto/googleapis/cloud/secur" - + "itycenter/v1beta1;securitycenterb\006proto3" + + "on}/organizationSettingsB|\n\'com.google.c" + + "loud.securitycenter.v1beta1P\001ZOcloud.goo" + + "gle.com/go/securitycenter/apiv1beta1/sec" + + "uritycenterpb;securitycenterpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java index d635a4d59736..54d700bd09bf 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/RunAssetDiscoveryResponseOuterClass.java @@ -49,10 +49,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ryResponse.State\022+\n\010duration\030\002 \001(\0132\031.goo" + "gle.protobuf.Duration\"M\n\005State\022\025\n\021STATE_" + "UNSPECIFIED\020\000\022\r\n\tCOMPLETED\020\001\022\016\n\nSUPERSED" - + "ED\020\002\022\016\n\nTERMINATED\020\003B~\n\'com.google.cloud" - + ".securitycenter.v1beta1P\001ZQgoogle.golang" - + ".org/genproto/googleapis/cloud/securityc" - + "enter/v1beta1;securitycenterb\006proto3" + + "ED\020\002\022\016\n\nTERMINATED\020\003B|\n\'com.google.cloud" + + ".securitycenter.v1beta1P\001ZOcloud.google." + + "com/go/securitycenter/apiv1beta1/securit" + + "ycenterpb;securitycenterpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java index 86d9298df4fd..3a329af7005d 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityMarksOuterClass.java @@ -55,11 +55,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "urityMarks\0229organizations/{organization}" + "/assets/{asset}/securityMarks\022Norganizat" + "ions/{organization}/sources/{source}/fin" - + "dings/{finding}/securityMarksB~\n\'com.goo" - + "gle.cloud.securitycenter.v1beta1P\001ZQgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "securitycenter/v1beta1;securitycenterb\006p" - + "roto3" + + "dings/{finding}/securityMarksB|\n\'com.goo" + + "gle.cloud.securitycenter.v1beta1P\001ZOclou" + + "d.google.com/go/securitycenter/apiv1beta" + + "1/securitycenterpb;securitycenterpbb\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java index a864638fc7be..cb3d02d39e54 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritycenterService.java @@ -345,10 +345,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "*/securityMarks}:\016security_marks\332A\016secur" + "ity_marks\032Q\312A\035securitycenter.googleapis." + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB~\n\'com.google.cloud.securit" - + "ycenter.v1beta1P\001ZQgoogle.golang.org/gen" - + "proto/googleapis/cloud/securitycenter/v1" - + "beta1;securitycenterb\006proto3" + + "oud-platformB|\n\'com.google.cloud.securit" + + "ycenter.v1beta1P\001ZOcloud.google.com/go/s" + + "ecuritycenter/apiv1beta1/securitycenterp" + + "b;securitycenterpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOuterClass.java index 105e38820b84..561b0643898b 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SourceOuterClass.java @@ -46,11 +46,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ource\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(" + "\t\022\023\n\013description\030\003 \001(\t:X\352AU\n$securitycen" + "ter.googleapis.com/Source\022-organizations" - + "/{organization}/sources/{source}B~\n\'com." - + "google.cloud.securitycenter.v1beta1P\001ZQg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/securitycenter/v1beta1;securitycenter" - + "b\006proto3" + + "/{organization}/sources/{source}B|\n\'com." + + "google.cloud.securitycenter.v1beta1P\001ZOc" + + "loud.google.com/go/securitycenter/apiv1b" + + "eta1/securitycenterpb;securitycenterpbb\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto index 415e7a2f094f..897925017009 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/asset.proto @@ -22,7 +22,7 @@ import "google/cloud/securitycenter/v1beta1/security_marks.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto index 768bf411c7eb..66609f3f27d4 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/finding.proto @@ -22,7 +22,7 @@ import "google/cloud/securitycenter/v1beta1/security_marks.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/organization_settings.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/organization_settings.proto index b447bf6e39d4..3c9509ba9620 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/organization_settings.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/organization_settings.proto @@ -18,7 +18,7 @@ package google.cloud.securitycenter.v1beta1; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/run_asset_discovery_response.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/run_asset_discovery_response.proto index cab92d902c37..dfda29a29aa9 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/run_asset_discovery_response.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/run_asset_discovery_response.proto @@ -18,7 +18,7 @@ package google.cloud.securitycenter.v1beta1; import "google/protobuf/duration.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/security_marks.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/security_marks.proto index f1dc88d7cd4b..5bae35479a6d 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/security_marks.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/security_marks.proto @@ -18,7 +18,7 @@ package google.cloud.securitycenter.v1beta1; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto index 55276ef7f1c8..e45ac6df4483 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/securitycenter_service.proto @@ -33,7 +33,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto index a4a49749ed30..d6fec93631dd 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/proto/google/cloud/securitycenter/v1beta1/source.proto @@ -18,7 +18,7 @@ package google.cloud.securitycenter.v1beta1; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/pom.xml b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/pom.xml index 3379a022ed40..3ae60c7b0c76 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.112.0 + 0.113.0 proto-google-cloud-securitycenter-v1p1beta1 PROTO library for proto-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.17.0 + 2.18.0 diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOuterClass.java index e9987cb05e9e..fe0cca0e5bf3 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/AssetOuterClass.java @@ -86,14 +86,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001\352A\226\001\n#securitycenter.googleapis.com/Ass" + "et\022+organizations/{organization}/assets/" + "{asset}\022\037folders/{folder}/assets/{asset}" - + "\022!projects/{project}/assets/{asset}B\375\001\n)" + + "\022!projects/{project}/assets/{asset}B\373\001\n)" + "com.google.cloud.securitycenter.v1p1beta" - + "1P\001ZSgoogle.golang.org/genproto/googleap" - + "is/cloud/securitycenter/v1p1beta1;securi" - + "tycenter\252\002%Google.Cloud.SecurityCenter.V" - + "1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V" - + "1p1beta1\352\002(Google::Cloud::SecurityCenter" - + "::V1p1beta1b\006proto3" + + "1P\001ZQcloud.google.com/go/securitycenter/" + + "apiv1p1beta1/securitycenterpb;securityce" + + "nterpb\252\002%Google.Cloud.SecurityCenter.V1P" + + "1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p" + + "1beta1\352\002(Google::Cloud::SecurityCenter::" + + "V1p1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java index 24dc5d0a922f..fcdff8d934fc 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FindingOuterClass.java @@ -75,14 +75,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "on}/sources/{source}/findings/{finding}\022" + "4folders/{folder}/sources/{source}/findi" + "ngs/{finding}\0226projects/{project}/source" - + "s/{source}/findings/{finding}B\375\001\n)com.go" - + "ogle.cloud.securitycenter.v1p1beta1P\001ZSg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/securitycenter/v1p1beta1;securitycent" - + "er\252\002%Google.Cloud.SecurityCenter.V1P1Bet" - + "a1\312\002%Google\\Cloud\\SecurityCenter\\V1p1bet" - + "a1\352\002(Google::Cloud::SecurityCenter::V1p1" - + "beta1b\006proto3" + + "s/{source}/findings/{finding}B\373\001\n)com.go" + + "ogle.cloud.securitycenter.v1p1beta1P\001ZQc" + + "loud.google.com/go/securitycenter/apiv1p" + + "1beta1/securitycenterpb;securitycenterpb" + + "\252\002%Google.Cloud.SecurityCenter.V1P1Beta1" + + "\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1" + + "\352\002(Google::Cloud::SecurityCenter::V1p1be" + + "ta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java index da9889604591..061325353bdb 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/FolderProto.java @@ -44,14 +44,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "folder.proto\022%google.cloud.securitycente" + "r.v1p1beta1\"G\n\006Folder\022\027\n\017resource_folder" + "\030\001 \001(\t\022$\n\034resource_folder_display_name\030\002" - + " \001(\tB\212\002\n)com.google.cloud.securitycenter" - + ".v1p1beta1B\013FolderProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/cloud/securityc" - + "enter/v1p1beta1;securitycenter\252\002%Google." - + "Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\" - + "Cloud\\SecurityCenter\\V1p1beta1\352\002(Google:" - + ":Cloud::SecurityCenter::V1p1Beta1b\006proto" - + "3" + + " \001(\tB\210\002\n)com.google.cloud.securitycenter" + + ".v1p1beta1B\013FolderProtoP\001ZQcloud.google." + + "com/go/securitycenter/apiv1p1beta1/secur" + + "itycenterpb;securitycenterpb\252\002%Google.Cl" + + "oud.SecurityCenter.V1P1Beta1\312\002%Google\\Cl" + + "oud\\SecurityCenter\\V1p1beta1\352\002(Google::C" + + "loud::SecurityCenter::V1p1Beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java index 02be35e22aad..d1ae6e2b9139 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationConfigOuterClass.java @@ -62,15 +62,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ritycenter.googleapis.com/NotificationCo" + "nfig\022Forganizations/{organization}/notif" + "icationConfigs/{notification_config}B\017\n\r" - + "notify_configB\300\002\n)com.google.cloud.secur" - + "itycenter.v1p1beta1P\001ZSgoogle.golang.org" - + "/genproto/googleapis/cloud/securitycente" - + "r/v1p1beta1;securitycenter\252\002%Google.Clou" - + "d.SecurityCenter.V1P1Beta1\312\002%Google\\Clou" - + "d\\SecurityCenter\\V1p1beta1\352\002(Google::Clo" - + "ud::SecurityCenter::V1p1beta1\352A@\n\033pubsub" - + ".googleapis.com/Topic\022!projects/{project" - + "}/topics/{topic}b\006proto3" + + "notify_configB\276\002\n)com.google.cloud.secur" + + "itycenter.v1p1beta1P\001ZQcloud.google.com/" + + "go/securitycenter/apiv1p1beta1/securityc" + + "enterpb;securitycenterpb\252\002%Google.Cloud." + + "SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\" + + "SecurityCenter\\V1p1beta1\352\002(Google::Cloud" + + "::SecurityCenter::V1p1beta1\352A@\n\033pubsub.g" + + "oogleapis.com/Topic\022!projects/{project}/" + + "topics/{topic}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java index b9d898b9d095..5574df81394e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/NotificationMessageOuterClass.java @@ -50,13 +50,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "g\030\002 \001(\0132..google.cloud.securitycenter.v1" + "p1beta1.FindingH\000\022A\n\010resource\030\003 \001(\0132/.go" + "ogle.cloud.securitycenter.v1p1beta1.Reso" - + "urceB\007\n\005eventB\375\001\n)com.google.cloud.secur" - + "itycenter.v1p1beta1P\001ZSgoogle.golang.org" - + "/genproto/googleapis/cloud/securitycente" - + "r/v1p1beta1;securitycenter\252\002%Google.Clou" - + "d.SecurityCenter.V1P1Beta1\312\002%Google\\Clou" - + "d\\SecurityCenter\\V1p1beta1\352\002(Google::Clo" - + "ud::SecurityCenter::V1p1beta1b\006proto3" + + "urceB\007\n\005eventB\373\001\n)com.google.cloud.secur" + + "itycenter.v1p1beta1P\001ZQcloud.google.com/" + + "go/securitycenter/apiv1p1beta1/securityc" + + "enterpb;securitycenterpb\252\002%Google.Cloud." + + "SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\" + + "SecurityCenter\\V1p1beta1\352\002(Google::Cloud" + + "::SecurityCenter::V1p1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java index 7fbd0dbb552e..e5b3709f0e5b 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/OrganizationSettingsOuterClass.java @@ -61,13 +61,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "LUDE_ONLY\020\001\022\013\n\007EXCLUDE\020\002:j\352Ag\n2securityc" + "enter.googleapis.com/OrganizationSetting" + "s\0221organizations/{organization}/organiza" - + "tionSettingsB\375\001\n)com.google.cloud.securi" - + "tycenter.v1p1beta1P\001ZSgoogle.golang.org/" - + "genproto/googleapis/cloud/securitycenter" - + "/v1p1beta1;securitycenter\252\002%Google.Cloud" - + ".SecurityCenter.V1P1Beta1\312\002%Google\\Cloud" - + "\\SecurityCenter\\V1p1beta1\352\002(Google::Clou" - + "d::SecurityCenter::V1p1beta1b\006proto3" + + "tionSettingsB\373\001\n)com.google.cloud.securi" + + "tycenter.v1p1beta1P\001ZQcloud.google.com/g" + + "o/securitycenter/apiv1p1beta1/securityce" + + "nterpb;securitycenterpb\252\002%Google.Cloud.S" + + "ecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\S" + + "ecurityCenter\\V1p1beta1\352\002(Google::Cloud:" + + ":SecurityCenter::V1p1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java index 3884c5231a51..42148ad9c623 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/ResourceProto.java @@ -49,14 +49,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "y_name\030\003 \001(\t\022\016\n\006parent\030\004 \001(\t\022\033\n\023parent_d" + "isplay_name\030\005 \001(\t\022C\n\007folders\030\007 \003(\0132-.goo" + "gle.cloud.securitycenter.v1p1beta1.Folde" - + "rB\003\340A\003B\214\002\n)com.google.cloud.securitycent" - + "er.v1p1beta1B\rResourceProtoP\001ZSgoogle.go" - + "lang.org/genproto/googleapis/cloud/secur" - + "itycenter/v1p1beta1;securitycenter\252\002%Goo" - + "gle.Cloud.SecurityCenter.V1P1Beta1\312\002%Goo" - + "gle\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Goo" - + "gle::Cloud::SecurityCenter::V1p1beta1b\006p" - + "roto3" + + "rB\003\340A\003B\212\002\n)com.google.cloud.securitycent" + + "er.v1p1beta1B\rResourceProtoP\001ZQcloud.goo" + + "gle.com/go/securitycenter/apiv1p1beta1/s" + + "ecuritycenterpb;securitycenterpb\252\002%Googl" + + "e.Cloud.SecurityCenter.V1P1Beta1\312\002%Googl" + + "e\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Googl" + + "e::Cloud::SecurityCenter::V1p1beta1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java index 87c3a347d19d..4aecec37d700 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/RunAssetDiscoveryResponseOuterClass.java @@ -49,14 +49,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "iscoveryResponse.State\022+\n\010duration\030\002 \001(\013" + "2\031.google.protobuf.Duration\"M\n\005State\022\025\n\021" + "STATE_UNSPECIFIED\020\000\022\r\n\tCOMPLETED\020\001\022\016\n\nSU" - + "PERSEDED\020\002\022\016\n\nTERMINATED\020\003B\375\001\n)com.googl" - + "e.cloud.securitycenter.v1p1beta1P\001ZSgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "securitycenter/v1p1beta1;securitycenter\252" - + "\002%Google.Cloud.SecurityCenter.V1P1Beta1\312" - + "\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352" - + "\002(Google::Cloud::SecurityCenter::V1p1bet" - + "a1b\006proto3" + + "PERSEDED\020\002\022\016\n\nTERMINATED\020\003B\373\001\n)com.googl" + + "e.cloud.securitycenter.v1p1beta1P\001ZQclou" + + "d.google.com/go/securitycenter/apiv1p1be" + + "ta1/securitycenterpb;securitycenterpb\252\002%" + + "Google.Cloud.SecurityCenter.V1P1Beta1\312\002%" + + "Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(" + + "Google::Cloud::SecurityCenter::V1p1beta1" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java index 166fc8a61204..86c3be97c6cb 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityMarksOuterClass.java @@ -62,13 +62,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ders/{folder}/sources/{source}/findings/" + "{finding}/securityMarks\022Dprojects/{proje" + "ct}/sources/{source}/findings/{finding}/" - + "securityMarksB\375\001\n)com.google.cloud.secur" - + "itycenter.v1p1beta1P\001ZSgoogle.golang.org" - + "/genproto/googleapis/cloud/securitycente" - + "r/v1p1beta1;securitycenter\252\002%Google.Clou" - + "d.SecurityCenter.V1P1Beta1\312\002%Google\\Clou" - + "d\\SecurityCenter\\V1p1beta1\352\002(Google::Clo" - + "ud::SecurityCenter::V1p1beta1b\006proto3" + + "securityMarksB\373\001\n)com.google.cloud.secur" + + "itycenter.v1p1beta1P\001ZQcloud.google.com/" + + "go/securitycenter/apiv1p1beta1/securityc" + + "enterpb;securitycenterpb\252\002%Google.Cloud." + + "SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\" + + "SecurityCenter\\V1p1beta1\352\002(Google::Cloud" + + "::SecurityCenter::V1p1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java index ef447d6d5a89..069fb1b1c63c 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecuritycenterService.java @@ -494,13 +494,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ity_marks\332A\032security_marks,update_mask\032Q" + "\312A\035securitycenter.googleapis.com\322A.https" + "://www.googleapis.com/auth/cloud-platfor" - + "mB\375\001\n)com.google.cloud.securitycenter.v1" - + "p1beta1P\001ZSgoogle.golang.org/genproto/go" - + "ogleapis/cloud/securitycenter/v1p1beta1;" - + "securitycenter\252\002%Google.Cloud.SecurityCe" - + "nter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCe" - + "nter\\V1p1beta1\352\002(Google::Cloud::Security" - + "Center::V1p1beta1P\000P\001b\006proto3" + + "mB\373\001\n)com.google.cloud.securitycenter.v1" + + "p1beta1P\001ZQcloud.google.com/go/securityc" + + "enter/apiv1p1beta1/securitycenterpb;secu" + + "ritycenterpb\252\002%Google.Cloud.SecurityCent" + + "er.V1P1Beta1\312\002%Google\\Cloud\\SecurityCent" + + "er\\V1p1beta1\352\002(Google::Cloud::SecurityCe" + + "nter::V1p1beta1P\000P\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java index a9c79fa220f7..18f0c3135584 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SourceOuterClass.java @@ -49,13 +49,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "apis.com/Source\022-organizations/{organiza" + "tion}/sources/{source}\022!folders/{folder}" + "/sources/{source}\022#projects/{project}/so" - + "urces/{source}B\375\001\n)com.google.cloud.secu" - + "ritycenter.v1p1beta1P\001ZSgoogle.golang.or" - + "g/genproto/googleapis/cloud/securitycent" - + "er/v1p1beta1;securitycenter\252\002%Google.Clo" - + "ud.SecurityCenter.V1P1Beta1\312\002%Google\\Clo" - + "ud\\SecurityCenter\\V1p1beta1\352\002(Google::Cl" - + "oud::SecurityCenter::V1p1beta1b\006proto3" + + "urces/{source}B\373\001\n)com.google.cloud.secu" + + "ritycenter.v1p1beta1P\001ZQcloud.google.com" + + "/go/securitycenter/apiv1p1beta1/security" + + "centerpb;securitycenterpb\252\002%Google.Cloud" + + ".SecurityCenter.V1P1Beta1\312\002%Google\\Cloud" + + "\\SecurityCenter\\V1p1beta1\352\002(Google::Clou" + + "d::SecurityCenter::V1p1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/asset.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/asset.proto index 45fdcbf5a5a4..df4a093f15f0 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/asset.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/asset.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto index 5edd3d86296b..f88034bb5ad6 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/finding.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/folder.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/folder.proto index 28a587163c1c..c94f2da69a66 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/folder.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/folder.proto @@ -18,7 +18,7 @@ package google.cloud.securitycenter.v1p1beta1; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_outer_classname = "FolderProto"; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_config.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_config.proto index faaab37b102e..87f2dbbc683d 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_config.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_config.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_message.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_message.proto index 78a3e781f127..eb1c43a5778b 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_message.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/notification_message.proto @@ -20,7 +20,7 @@ import "google/cloud/securitycenter/v1p1beta1/finding.proto"; import "google/cloud/securitycenter/v1p1beta1/resource.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/organization_settings.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/organization_settings.proto index b80f046d6b8b..b4d26c907a25 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/organization_settings.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/organization_settings.proto @@ -19,7 +19,7 @@ package google.cloud.securitycenter.v1p1beta1; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/resource.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/resource.proto index 3b2d2d437e8e..fd1ef2e266ea 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/resource.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/resource.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/cloud/securitycenter/v1p1beta1/folder.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_outer_classname = "ResourceProto"; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto index 835e33fbdf11..96c4f1d1459d 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response.proto @@ -19,7 +19,7 @@ package google.cloud.securitycenter.v1p1beta1; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/security_marks.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/security_marks.proto index 2245605b3e47..52762b5be34a 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/security_marks.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/security_marks.proto @@ -19,7 +19,7 @@ package google.cloud.securitycenter.v1p1beta1; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto index 958e69714cfb..b2fae10eebf7 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto @@ -39,7 +39,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1"; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/source.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/source.proto index e2a556595560..bcbc5e62a878 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/source.proto +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/source.proto @@ -19,7 +19,7 @@ package google.cloud.securitycenter.v1p1beta1; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter"; +option go_package = "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb"; option java_multiple_files = true; option java_package = "com.google.cloud.securitycenter.v1p1beta1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1p1beta1"; diff --git a/java-service-control/google-cloud-service-control-bom/pom.xml b/java-service-control/google-cloud-service-control-bom/pom.xml index 301d20f19aa6..b7b6500b4f29 100644 --- a/java-service-control/google-cloud-service-control-bom/pom.xml +++ b/java-service-control/google-cloud-service-control-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-service-control-bom - 1.9.0 + 1.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-service-control - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-service-control-v1 - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-service-control-v2 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-service-control-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-service-control-v2 - 1.9.0 + 1.10.0 diff --git a/java-service-control/google-cloud-service-control/pom.xml b/java-service-control/google-cloud-service-control/pom.xml index b14efa230358..59011bd10a48 100644 --- a/java-service-control/google-cloud-service-control/pom.xml +++ b/java-service-control/google-cloud-service-control/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-service-control - 1.9.0 + 1.10.0 jar Google Service Control API Service Control API is a foundational platform for creating, managing, securing, and consuming APIs and services across organizations. It is used by Google APIs, Cloud APIs, Cloud Endpoints, and API Gateway. com.google.cloud google-cloud-service-control-parent - 1.9.0 + 1.10.0 google-cloud-service-control diff --git a/java-service-control/grpc-google-cloud-service-control-v1/pom.xml b/java-service-control/grpc-google-cloud-service-control-v1/pom.xml index b5ff998dea89..791c83ec4f24 100644 --- a/java-service-control/grpc-google-cloud-service-control-v1/pom.xml +++ b/java-service-control/grpc-google-cloud-service-control-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-service-control-v1 - 1.9.0 + 1.10.0 grpc-google-cloud-service-control-v1 GRPC library for google-cloud-service-control com.google.cloud google-cloud-service-control-parent - 1.9.0 + 1.10.0 diff --git a/java-service-control/grpc-google-cloud-service-control-v2/pom.xml b/java-service-control/grpc-google-cloud-service-control-v2/pom.xml index e704f819ba1b..269138411022 100644 --- a/java-service-control/grpc-google-cloud-service-control-v2/pom.xml +++ b/java-service-control/grpc-google-cloud-service-control-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-service-control-v2 - 1.9.0 + 1.10.0 grpc-google-cloud-service-control-v2 GRPC library for google-cloud-service-control com.google.cloud google-cloud-service-control-parent - 1.9.0 + 1.10.0 diff --git a/java-service-control/pom.xml b/java-service-control/pom.xml index 3553cd62422b..717b9139634e 100644 --- a/java-service-control/pom.xml +++ b/java-service-control/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-service-control-parent pom - 1.9.0 + 1.10.0 Google Service Control API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-service-control - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-service-control-v2 - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-service-control-v2 - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-service-control-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-service-control-v1 - 1.9.0 + 1.10.0 diff --git a/java-service-control/proto-google-cloud-service-control-v1/pom.xml b/java-service-control/proto-google-cloud-service-control-v1/pom.xml index 641dc1640b41..ec397f4c449a 100644 --- a/java-service-control/proto-google-cloud-service-control-v1/pom.xml +++ b/java-service-control/proto-google-cloud-service-control-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-service-control-v1 - 1.9.0 + 1.10.0 proto-google-cloud-service-control-v1 Proto library for google-cloud-service-control com.google.cloud google-cloud-service-control-parent - 1.9.0 + 1.10.0 diff --git a/java-service-control/proto-google-cloud-service-control-v2/pom.xml b/java-service-control/proto-google-cloud-service-control-v2/pom.xml index 4f274466606e..35a45c4fd2ab 100644 --- a/java-service-control/proto-google-cloud-service-control-v2/pom.xml +++ b/java-service-control/proto-google-cloud-service-control-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-service-control-v2 - 1.9.0 + 1.10.0 proto-google-cloud-service-control-v2 Proto library for google-cloud-service-control com.google.cloud google-cloud-service-control-parent - 1.9.0 + 1.10.0 diff --git a/java-service-management/google-cloud-service-management-bom/pom.xml b/java-service-management/google-cloud-service-management-bom/pom.xml index 2bf33a010da0..f05d9cbae220 100644 --- a/java-service-management/google-cloud-service-management-bom/pom.xml +++ b/java-service-management/google-cloud-service-management-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-service-management-bom - 3.7.0 + 3.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-service-management - 3.7.0 + 3.8.0 com.google.api.grpc grpc-google-cloud-service-management-v1 - 3.7.0 + 3.8.0 com.google.api.grpc proto-google-cloud-service-management-v1 - 3.7.0 + 3.8.0 diff --git a/java-service-management/google-cloud-service-management/pom.xml b/java-service-management/google-cloud-service-management/pom.xml index d19886118f1d..a6bfba17b726 100644 --- a/java-service-management/google-cloud-service-management/pom.xml +++ b/java-service-management/google-cloud-service-management/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-service-management - 3.7.0 + 3.8.0 jar Google Service Management API is a foundational platform for creating, managing, securing, and consuming APIs and services across organizations. It is used by Google APIs, Cloud APIs, Cloud Endpoints, and API Gateway. Service Infrastructure provides a wide range of features to service consumers and service producers, including authentication, authorization, auditing, rate limiting, analytics, billing, logging, and monitoring. com.google.cloud google-cloud-service-management-parent - 3.7.0 + 3.8.0 google-cloud-service-management diff --git a/java-service-management/grpc-google-cloud-service-management-v1/pom.xml b/java-service-management/grpc-google-cloud-service-management-v1/pom.xml index 5f622c62e622..82658adffae5 100644 --- a/java-service-management/grpc-google-cloud-service-management-v1/pom.xml +++ b/java-service-management/grpc-google-cloud-service-management-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-service-management-v1 - 3.7.0 + 3.8.0 grpc-google-cloud-service-management-v1 GRPC library for google-cloud-service-management com.google.cloud google-cloud-service-management-parent - 3.7.0 + 3.8.0 diff --git a/java-service-management/pom.xml b/java-service-management/pom.xml index 4402751de9cc..43e0cba6cd01 100644 --- a/java-service-management/pom.xml +++ b/java-service-management/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-service-management-parent pom - 3.7.0 + 3.8.0 Google Service Management API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-service-management - 3.7.0 + 3.8.0 com.google.api.grpc proto-google-cloud-service-management-v1 - 3.7.0 + 3.8.0 com.google.api.grpc grpc-google-cloud-service-management-v1 - 3.7.0 + 3.8.0 diff --git a/java-service-management/proto-google-cloud-service-management-v1/pom.xml b/java-service-management/proto-google-cloud-service-management-v1/pom.xml index 4add1eeb5b13..9dc46b871169 100644 --- a/java-service-management/proto-google-cloud-service-management-v1/pom.xml +++ b/java-service-management/proto-google-cloud-service-management-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-service-management-v1 - 3.7.0 + 3.8.0 proto-google-cloud-service-management-v1 Proto library for google-cloud-service-management com.google.cloud google-cloud-service-management-parent - 3.7.0 + 3.8.0 diff --git a/java-service-usage/google-cloud-service-usage-bom/pom.xml b/java-service-usage/google-cloud-service-usage-bom/pom.xml index afdb730ccef1..79fb92c00059 100644 --- a/java-service-usage/google-cloud-service-usage-bom/pom.xml +++ b/java-service-usage/google-cloud-service-usage-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-service-usage-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-service-usage - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-service-usage-v1beta1 - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-service-usage-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-service-usage-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-service-usage-v1beta1 - 0.13.0 + 0.14.0 diff --git a/java-service-usage/google-cloud-service-usage/pom.xml b/java-service-usage/google-cloud-service-usage/pom.xml index 64a26c96c7da..2b33b9ba487b 100644 --- a/java-service-usage/google-cloud-service-usage/pom.xml +++ b/java-service-usage/google-cloud-service-usage/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-service-usage - 2.9.0 + 2.10.0 jar Google Service Usage Service Usage is an infrastructure service of Google Cloud that lets you list and manage other APIs and services in your Cloud projects. com.google.cloud google-cloud-service-usage-parent - 2.9.0 + 2.10.0 google-cloud-service-usage diff --git a/java-service-usage/grpc-google-cloud-service-usage-v1/pom.xml b/java-service-usage/grpc-google-cloud-service-usage-v1/pom.xml index b181bdb6ce7a..3d71b986b5a9 100644 --- a/java-service-usage/grpc-google-cloud-service-usage-v1/pom.xml +++ b/java-service-usage/grpc-google-cloud-service-usage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-service-usage-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-service-usage-v1 GRPC library for google-cloud-service-usage com.google.cloud google-cloud-service-usage-parent - 2.9.0 + 2.10.0 diff --git a/java-service-usage/grpc-google-cloud-service-usage-v1beta1/pom.xml b/java-service-usage/grpc-google-cloud-service-usage-v1beta1/pom.xml index b7550257ff1d..3f58397aa3bf 100644 --- a/java-service-usage/grpc-google-cloud-service-usage-v1beta1/pom.xml +++ b/java-service-usage/grpc-google-cloud-service-usage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-service-usage-v1beta1 - 0.13.0 + 0.14.0 grpc-google-cloud-service-usage-v1beta1 GRPC library for google-cloud-service-usage com.google.cloud google-cloud-service-usage-parent - 2.9.0 + 2.10.0 diff --git a/java-service-usage/pom.xml b/java-service-usage/pom.xml index a4419e43f393..420a21e7d1c4 100644 --- a/java-service-usage/pom.xml +++ b/java-service-usage/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-service-usage-parent pom - 2.9.0 + 2.10.0 Google Service Usage Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-service-usage - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-service-usage-v1beta1 - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-service-usage-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-service-usage-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-service-usage-v1beta1 - 0.13.0 + 0.14.0 diff --git a/java-service-usage/proto-google-cloud-service-usage-v1/pom.xml b/java-service-usage/proto-google-cloud-service-usage-v1/pom.xml index a896510a1fb9..ac937165420a 100644 --- a/java-service-usage/proto-google-cloud-service-usage-v1/pom.xml +++ b/java-service-usage/proto-google-cloud-service-usage-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-service-usage-v1 - 2.9.0 + 2.10.0 proto-google-cloud-service-usage-v1 Proto library for google-cloud-service-usage com.google.cloud google-cloud-service-usage-parent - 2.9.0 + 2.10.0 diff --git a/java-service-usage/proto-google-cloud-service-usage-v1beta1/pom.xml b/java-service-usage/proto-google-cloud-service-usage-v1beta1/pom.xml index 36b537e68c0c..652b2cec77fc 100644 --- a/java-service-usage/proto-google-cloud-service-usage-v1beta1/pom.xml +++ b/java-service-usage/proto-google-cloud-service-usage-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-service-usage-v1beta1 - 0.13.0 + 0.14.0 proto-google-cloud-service-usage-v1beta1 Proto library for google-cloud-service-usage com.google.cloud google-cloud-service-usage-parent - 2.9.0 + 2.10.0 diff --git a/java-servicedirectory/README.md b/java-servicedirectory/README.md index 43d44abecc6c..88d45ccec252 100644 --- a/java-servicedirectory/README.md +++ b/java-servicedirectory/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-servicedirectory - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-servicedirectory:2.9.0' +implementation 'com.google.cloud:google-cloud-servicedirectory:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.10.0" ``` ## Authentication diff --git a/java-servicedirectory/google-cloud-servicedirectory-bom/pom.xml b/java-servicedirectory/google-cloud-servicedirectory-bom/pom.xml index 6dd10c004744..d073e25d88b1 100644 --- a/java-servicedirectory/google-cloud-servicedirectory-bom/pom.xml +++ b/java-servicedirectory/google-cloud-servicedirectory-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-servicedirectory-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-servicedirectory - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-servicedirectory-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc grpc-google-cloud-servicedirectory-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-servicedirectory-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc proto-google-cloud-servicedirectory-v1 - 2.10.0 + 2.11.0 diff --git a/java-servicedirectory/google-cloud-servicedirectory/pom.xml b/java-servicedirectory/google-cloud-servicedirectory/pom.xml index c007f8144c89..d47b5b73c495 100644 --- a/java-servicedirectory/google-cloud-servicedirectory/pom.xml +++ b/java-servicedirectory/google-cloud-servicedirectory/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-servicedirectory - 2.10.0 + 2.11.0 jar Google Cloud Service Directory Java idiomatic client for Google Cloud Service Directory com.google.cloud google-cloud-servicedirectory-parent - 2.10.0 + 2.11.0 google-cloud-servicedirectory diff --git a/java-servicedirectory/grpc-google-cloud-servicedirectory-v1/pom.xml b/java-servicedirectory/grpc-google-cloud-servicedirectory-v1/pom.xml index e4d7898729e3..8ef723b67870 100644 --- a/java-servicedirectory/grpc-google-cloud-servicedirectory-v1/pom.xml +++ b/java-servicedirectory/grpc-google-cloud-servicedirectory-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-servicedirectory-v1 - 2.10.0 + 2.11.0 grpc-google-cloud-servicedirectory-v1 GRPC library for grpc-google-cloud-servicedirectory-v1 com.google.cloud google-cloud-servicedirectory-parent - 2.10.0 + 2.11.0 diff --git a/java-servicedirectory/grpc-google-cloud-servicedirectory-v1beta1/pom.xml b/java-servicedirectory/grpc-google-cloud-servicedirectory-v1beta1/pom.xml index ab333653595f..47002b53b06d 100644 --- a/java-servicedirectory/grpc-google-cloud-servicedirectory-v1beta1/pom.xml +++ b/java-servicedirectory/grpc-google-cloud-servicedirectory-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-servicedirectory-v1beta1 - 0.18.0 + 0.19.0 grpc-google-cloud-servicedirectory-v1beta1 GRPC library for grpc-google-cloud-servicedirectory-v1beta1 com.google.cloud google-cloud-servicedirectory-parent - 2.10.0 + 2.11.0 diff --git a/java-servicedirectory/pom.xml b/java-servicedirectory/pom.xml index 3021620f7fba..492a09509073 100644 --- a/java-servicedirectory/pom.xml +++ b/java-servicedirectory/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-servicedirectory-parent pom - 2.10.0 + 2.11.0 Google Cloud Service Directory Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-servicedirectory-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc proto-google-cloud-servicedirectory-v1 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-servicedirectory-v1beta1 - 0.18.0 + 0.19.0 com.google.api.grpc grpc-google-cloud-servicedirectory-v1 - 2.10.0 + 2.11.0 com.google.cloud google-cloud-servicedirectory - 2.10.0 + 2.11.0 diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/pom.xml b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/pom.xml index e05f901267d2..f24c72e2b5c5 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/pom.xml +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-servicedirectory-v1 - 2.10.0 + 2.11.0 proto-google-cloud-servicedirectory-v1 PROTO library for proto-google-cloud-servicedirectory-v1 com.google.cloud google-cloud-servicedirectory-parent - 2.10.0 + 2.11.0 diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/EndpointProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/EndpointProto.java index 130a2a1bc432..fcfed73b7314 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/EndpointProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/EndpointProto.java @@ -58,9 +58,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tion}/namespaces/{namespace}/services/{s" + "ervice}/endpoints/{endpoint}B\370\001\n$com.goo" + "gle.cloud.servicedirectory.v1B\rEndpointP" - + "rotoP\001ZPgoogle.golang.org/genproto/googl" - + "eapis/cloud/servicedirectory/v1;serviced" - + "irectory\370\001\001\252\002 Google.Cloud.ServiceDirect" + + "rotoP\001ZPcloud.google.com/go/servicedirec" + + "tory/apiv1/servicedirectorypb;servicedir" + + "ectorypb\370\001\001\252\002 Google.Cloud.ServiceDirect" + "ory.V1\312\002 Google\\Cloud\\ServiceDirectory\\V" + "1\352\002#Google::Cloud::ServiceDirectory::V1b" + "\006proto3" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/LookupServiceProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/LookupServiceProto.java index e02120d498c7..be327239f468 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/LookupServiceProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/LookupServiceProto.java @@ -65,9 +65,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "servicedirectory.googleapis.com\322A.https:" + "//www.googleapis.com/auth/cloud-platform" + "B\375\001\n$com.google.cloud.servicedirectory.v" - + "1B\022LookupServiceProtoP\001ZPgoogle.golang.o" - + "rg/genproto/googleapis/cloud/servicedire" - + "ctory/v1;servicedirectory\370\001\001\252\002 Google.Cl" + + "1B\022LookupServiceProtoP\001ZPcloud.google.co" + + "m/go/servicedirectory/apiv1/servicedirec" + + "torypb;servicedirectorypb\370\001\001\252\002 Google.Cl" + "oud.ServiceDirectory.V1\312\002 Google\\Cloud\\S" + "erviceDirectory\\V1\352\002#Google::Cloud::Serv" + "iceDirectory::V1b\006proto3" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/NamespaceProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/NamespaceProto.java index 63fe62aa9b0f..049a93a6a42a 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/NamespaceProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/NamespaceProto.java @@ -55,9 +55,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ctory.googleapis.com/Namespace\022>projects" + "/{project}/locations/{location}/namespac" + "es/{namespace}B\371\001\n$com.google.cloud.serv" - + "icedirectory.v1B\016NamespaceProtoP\001ZPgoogl" - + "e.golang.org/genproto/googleapis/cloud/s" - + "ervicedirectory/v1;servicedirectory\370\001\001\252\002" + + "icedirectory.v1B\016NamespaceProtoP\001ZPcloud" + + ".google.com/go/servicedirectory/apiv1/se" + + "rvicedirectorypb;servicedirectorypb\370\001\001\252\002" + " Google.Cloud.ServiceDirectory.V1\312\002 Goog" + "le\\Cloud\\ServiceDirectory\\V1\352\002#Google::C" + "loud::ServiceDirectory::V1b\006proto3" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/RegistrationServiceProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/RegistrationServiceProto.java index 70496503f5cb..b848f32894db 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/RegistrationServiceProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/RegistrationServiceProto.java @@ -280,9 +280,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pis.com\322A.https://www.googleapis.com/aut" + "h/cloud-platformB\203\002\n$com.google.cloud.se" + "rvicedirectory.v1B\030RegistrationServicePr" - + "otoP\001ZPgoogle.golang.org/genproto/google" - + "apis/cloud/servicedirectory/v1;servicedi" - + "rectory\370\001\001\252\002 Google.Cloud.ServiceDirecto" + + "otoP\001ZPcloud.google.com/go/servicedirect" + + "ory/apiv1/servicedirectorypb;servicedire" + + "ctorypb\370\001\001\252\002 Google.Cloud.ServiceDirecto" + "ry.V1\312\002 Google\\Cloud\\ServiceDirectory\\V1" + "\352\002#Google::Cloud::ServiceDirectory::V1b\006" + "proto3" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/ServiceProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/ServiceProto.java index 3cb3bdf80cf6..f20a1b0572c7 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/ServiceProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/ServiceProto.java @@ -59,9 +59,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ects/{project}/locations/{location}/name" + "spaces/{namespace}/services/{service}B\367\001" + "\n$com.google.cloud.servicedirectory.v1B\014" - + "ServiceProtoP\001ZPgoogle.golang.org/genpro" - + "to/googleapis/cloud/servicedirectory/v1;" - + "servicedirectory\370\001\001\252\002 Google.Cloud.Servi" + + "ServiceProtoP\001ZPcloud.google.com/go/serv" + + "icedirectory/apiv1/servicedirectorypb;se" + + "rvicedirectorypb\370\001\001\252\002 Google.Cloud.Servi" + "ceDirectory.V1\312\002 Google\\Cloud\\ServiceDir" + "ectory\\V1\352\002#Google::Cloud::ServiceDirect" + "ory::V1b\006proto3" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/endpoint.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/endpoint.proto index 5748f304db2d..c4b7b259bce2 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/endpoint.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/endpoint.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "EndpointProto"; option java_package = "com.google.cloud.servicedirectory.v1"; diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/lookup_service.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/lookup_service.proto index c51582b310f1..34f54de6eaeb 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/lookup_service.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/lookup_service.proto @@ -24,7 +24,7 @@ import "google/cloud/servicedirectory/v1/service.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "LookupServiceProto"; option java_package = "com.google.cloud.servicedirectory.v1"; diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/namespace.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/namespace.proto index e4a3c1ea74d6..b4ca4697d693 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/namespace.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/namespace.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "NamespaceProto"; option java_package = "com.google.cloud.servicedirectory.v1"; diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/registration_service.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/registration_service.proto index 8c0a61a70fca..b854db726f81 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/registration_service.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/registration_service.proto @@ -30,7 +30,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "RegistrationServiceProto"; option java_package = "com.google.cloud.servicedirectory.v1"; diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/service.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/service.proto index 803de1f5da09..894c518d9c88 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/service.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/proto/google/cloud/servicedirectory/v1/service.proto @@ -22,7 +22,7 @@ import "google/cloud/servicedirectory/v1/endpoint.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.servicedirectory.v1"; diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/pom.xml b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/pom.xml index 980167d84fbf..d431e390a3d2 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/pom.xml +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-servicedirectory-v1beta1 - 0.18.0 + 0.19.0 proto-google-cloud-servicedirectory-v1beta1 PROTO library for proto-google-cloud-servicedirectory-v1beta1 com.google.cloud google-cloud-servicedirectory-parent - 2.10.0 + 2.11.0 diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/EndpointProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/EndpointProto.java index d6754fe99c90..6f4577e655cc 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/EndpointProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/EndpointProto.java @@ -63,9 +63,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cations/{location}/namespaces/{namespace" + "}/services/{service}/endpoints/{endpoint" + "}B\365\002\n)com.google.cloud.servicedirectory." - + "v1beta1B\rEndpointProtoP\001ZUgoogle.golang." - + "org/genproto/googleapis/cloud/servicedir" - + "ectory/v1beta1;servicedirectory\370\001\001\252\002%Goo" + + "v1beta1B\rEndpointProtoP\001ZUcloud.google.c" + + "om/go/servicedirectory/apiv1beta1/servic" + + "edirectorypb;servicedirectorypb\370\001\001\252\002%Goo" + "gle.Cloud.ServiceDirectory.V1Beta1\312\002%Goo" + "gle\\Cloud\\ServiceDirectory\\V1beta1\352\002(Goo" + "gle::Cloud::ServiceDirectory::V1beta1\352Aa" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceProto.java index d4aa8b84c586..b86cd72d7f50 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceProto.java @@ -66,9 +66,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cedirectory.googleapis.com\322A.https://www" + ".googleapis.com/auth/cloud-platformB\226\002\n)" + "com.google.cloud.servicedirectory.v1beta" - + "1B\022LookupServiceProtoP\001ZUgoogle.golang.o" - + "rg/genproto/googleapis/cloud/servicedire" - + "ctory/v1beta1;servicedirectory\370\001\001\252\002%Goog" + + "1B\022LookupServiceProtoP\001ZUcloud.google.co" + + "m/go/servicedirectory/apiv1beta1/service" + + "directorypb;servicedirectorypb\370\001\001\252\002%Goog" + "le.Cloud.ServiceDirectory.V1Beta1\312\002%Goog" + "le\\Cloud\\ServiceDirectory\\V1beta1\352\002(Goog" + "le::Cloud::ServiceDirectory::V1beta1b\006pr" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/NamespaceProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/NamespaceProto.java index c0131a47091b..96105ee15db9 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/NamespaceProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/NamespaceProto.java @@ -59,10 +59,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "y.googleapis.com/Namespace\022>projects/{pr" + "oject}/locations/{location}/namespaces/{" + "namespace}B\222\002\n)com.google.cloud.serviced" - + "irectory.v1beta1B\016NamespaceProtoP\001ZUgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "servicedirectory/v1beta1;servicedirector" - + "y\370\001\001\252\002%Google.Cloud.ServiceDirectory.V1B" + + "irectory.v1beta1B\016NamespaceProtoP\001ZUclou" + + "d.google.com/go/servicedirectory/apiv1be" + + "ta1/servicedirectorypb;servicedirectoryp" + + "b\370\001\001\252\002%Google.Cloud.ServiceDirectory.V1B" + "eta1\312\002%Google\\Cloud\\ServiceDirectory\\V1b" + "eta1\352\002(Google::Cloud::ServiceDirectory::" + "V1beta1b\006proto3" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceProto.java index ac36b7946e1a..d71cfae76f28 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceProto.java @@ -288,9 +288,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "https://www.googleapis.com/auth/cloud-pl" + "atformB\234\002\n)com.google.cloud.servicedirec" + "tory.v1beta1B\030RegistrationServiceProtoP\001" - + "ZUgoogle.golang.org/genproto/googleapis/" - + "cloud/servicedirectory/v1beta1;servicedi" - + "rectory\370\001\001\252\002%Google.Cloud.ServiceDirecto" + + "ZUcloud.google.com/go/servicedirectory/a" + + "piv1beta1/servicedirectorypb;servicedire" + + "ctorypb\370\001\001\252\002%Google.Cloud.ServiceDirecto" + "ry.V1Beta1\312\002%Google\\Cloud\\ServiceDirecto" + "ry\\V1beta1\352\002(Google::Cloud::ServiceDirec" + "tory::V1beta1b\006proto3" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ServiceProto.java b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ServiceProto.java index a30308100b5f..aa9539c1f767 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ServiceProto.java +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/java/com/google/cloud/servicedirectory/v1beta1/ServiceProto.java @@ -63,9 +63,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "s/{project}/locations/{location}/namespa" + "ces/{namespace}/services/{service}B\220\002\n)c" + "om.google.cloud.servicedirectory.v1beta1" - + "B\014ServiceProtoP\001ZUgoogle.golang.org/genp" - + "roto/googleapis/cloud/servicedirectory/v" - + "1beta1;servicedirectory\370\001\001\252\002%Google.Clou" + + "B\014ServiceProtoP\001ZUcloud.google.com/go/se" + + "rvicedirectory/apiv1beta1/servicedirecto" + + "rypb;servicedirectorypb\370\001\001\252\002%Google.Clou" + "d.ServiceDirectory.V1Beta1\312\002%Google\\Clou" + "d\\ServiceDirectory\\V1beta1\352\002(Google::Clo" + "ud::ServiceDirectory::V1beta1b\006proto3" diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/endpoint.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/endpoint.proto index 7a3fbb2e6432..d843b10dfe14 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/endpoint.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/endpoint.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "EndpointProto"; option java_package = "com.google.cloud.servicedirectory.v1beta1"; diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/lookup_service.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/lookup_service.proto index a411ee734dcb..1c1a0abe3ec3 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/lookup_service.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/lookup_service.proto @@ -24,7 +24,7 @@ import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "LookupServiceProto"; option java_package = "com.google.cloud.servicedirectory.v1beta1"; diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/namespace.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/namespace.proto index 4fc1ce806875..acb7474b79be 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/namespace.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/namespace.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "NamespaceProto"; option java_package = "com.google.cloud.servicedirectory.v1beta1"; diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/registration_service.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/registration_service.proto index b5f7e254b583..8dae294032bf 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/registration_service.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/registration_service.proto @@ -30,7 +30,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "RegistrationServiceProto"; option java_package = "com.google.cloud.servicedirectory.v1beta1"; diff --git a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/service.proto b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/service.proto index 4671bb663462..12b7e58a13ca 100644 --- a/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/service.proto +++ b/java-servicedirectory/proto-google-cloud-servicedirectory-v1beta1/src/main/proto/google/cloud/servicedirectory/v1beta1/service.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1;servicedirectory"; +option go_package = "cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb;servicedirectorypb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.servicedirectory.v1beta1"; diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md new file mode 100644 index 000000000000..f9737573f697 --- /dev/null +++ b/java-shared-dependencies/CHANGELOG.md @@ -0,0 +1,1105 @@ +# Changelog + + +## [3.1.2](https://github.com/googleapis/java-shared-dependencies/compare/v3.1.1...v3.1.2) (2023-01-20) + + +### Bug Fixes + +* **java:** Skip fixing poms for special modules ([#1744](https://github.com/googleapis/java-shared-dependencies/issues/1744)) ([#971](https://github.com/googleapis/java-shared-dependencies/issues/971)) ([74a96f1](https://github.com/googleapis/java-shared-dependencies/commit/74a96f1155418bde285877b72b4d7e600d08beb6)) + + +### Dependencies + +* Update dependency com.google.api:gapic-generator-java-bom to v2.14.0 ([#972](https://github.com/googleapis/java-shared-dependencies/issues/972)) ([2c742b5](https://github.com/googleapis/java-shared-dependencies/commit/2c742b56afc441f4922e6f6c737d3c3374ceadec)) +* Update dependency com.google.cloud:google-cloud-core-bom to v2.9.3 ([#974](https://github.com/googleapis/java-shared-dependencies/issues/974)) ([e4cb2ae](https://github.com/googleapis/java-shared-dependencies/commit/e4cb2ae34648c61ac40b7c9628e4ec088186fd57)) +* Update google.core.version to v2.9.2 ([#969](https://github.com/googleapis/java-shared-dependencies/issues/969)) ([aa946a6](https://github.com/googleapis/java-shared-dependencies/commit/aa946a6e33a5c8c3d6ae37bb07c3872c0bab793b)) +* Update google.core.version to v2.9.4 ([#976](https://github.com/googleapis/java-shared-dependencies/issues/976)) ([718246c](https://github.com/googleapis/java-shared-dependencies/commit/718246c985488b138eb0113b5a3200d3eb2af31d)) + +## [3.1.1](https://github.com/googleapis/java-shared-dependencies/compare/v3.1.0...v3.1.1) (2023-01-09) + + +### Dependencies + +* Adding `gapic-generator-java-bom` to `first-party-dependencies` ([#957](https://github.com/googleapis/java-shared-dependencies/issues/957)) ([f051e6e](https://github.com/googleapis/java-shared-dependencies/commit/f051e6ee0ad4a705014d9d2f8211ddad464b3ca4)) +* Update dependency com.google.api-client:google-api-client-bom to v2.1.2 ([#956](https://github.com/googleapis/java-shared-dependencies/issues/956)) ([dbfde36](https://github.com/googleapis/java-shared-dependencies/commit/dbfde36f5b0806192ea99d45382c84cff518f500)) +* Update dependency com.google.api:api-common to v2.3.1 ([#947](https://github.com/googleapis/java-shared-dependencies/issues/947)) ([f35c3bf](https://github.com/googleapis/java-shared-dependencies/commit/f35c3bf518e8b488ddeb28a6ff86719b24a62df5)) +* Update dependency com.google.auth:google-auth-library-bom to v1.14.0 ([#950](https://github.com/googleapis/java-shared-dependencies/issues/950)) ([e5609ca](https://github.com/googleapis/java-shared-dependencies/commit/e5609ca23657e1c37825c6d8930da1fb5080b8a6)) +* Update dependency com.google.code.gson:gson to v2.10.1 ([#958](https://github.com/googleapis/java-shared-dependencies/issues/958)) ([bd35327](https://github.com/googleapis/java-shared-dependencies/commit/bd353274c16d01915923a6fa34796d0b78672fb0)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.17.0 ([#955](https://github.com/googleapis/java-shared-dependencies/issues/955)) ([b656786](https://github.com/googleapis/java-shared-dependencies/commit/b6567863e659ff3eb6cc7b4b42a42acc7ebd24ed)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.18.0 ([#961](https://github.com/googleapis/java-shared-dependencies/issues/961)) ([0c4ff89](https://github.com/googleapis/java-shared-dependencies/commit/0c4ff895e103164dc0c95bc9789f9a3dc6c2f1a4)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#948](https://github.com/googleapis/java-shared-dependencies/issues/948)) ([812ce38](https://github.com/googleapis/java-shared-dependencies/commit/812ce38e95de4db15184f9dd38bbd4c2affa2133)) +* Update dependency io.grpc:grpc-bom to v1.51.1 ([#953](https://github.com/googleapis/java-shared-dependencies/issues/953)) ([a86e70a](https://github.com/googleapis/java-shared-dependencies/commit/a86e70ac7be07cdb3b69d0cf4fc1afedbf7048fd)) +* Update dependency org.checkerframework:checker-qual to v3.29.0 ([#959](https://github.com/googleapis/java-shared-dependencies/issues/959)) ([784a79b](https://github.com/googleapis/java-shared-dependencies/commit/784a79b49b109d18858fd603dbdd37a4947280af)) +* Update dependency org.threeten:threetenbp to v1.6.5 ([#946](https://github.com/googleapis/java-shared-dependencies/issues/946)) ([403555e](https://github.com/googleapis/java-shared-dependencies/commit/403555e4010aef84e909e0b0e48cf5571d9e3184)) +* Update google.core.version to v2.9.1 ([#962](https://github.com/googleapis/java-shared-dependencies/issues/962)) ([c1e648d](https://github.com/googleapis/java-shared-dependencies/commit/c1e648d5045f871ed5670f949978430ad2d49484)) +* Update iam.version to v1.6.23 ([#954](https://github.com/googleapis/java-shared-dependencies/issues/954)) ([bb4730e](https://github.com/googleapis/java-shared-dependencies/commit/bb4730e7dcac57b6653825d63c7408d2182b0a27)) + +## [3.1.0](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.6...v3.1.0) (2022-12-05) + + +### Features + +* Next release from main branch is 3.1.0 ([#910](https://github.com/googleapis/java-shared-dependencies/issues/910)) ([3e36bc6](https://github.com/googleapis/java-shared-dependencies/commit/3e36bc6c5a6ffff771480200ecf5908cb347a50a)) + + +### Dependencies + +* Update dependency com.fasterxml.jackson:jackson-bom to v2.14.1 ([#924](https://github.com/googleapis/java-shared-dependencies/issues/924)) ([c630375](https://github.com/googleapis/java-shared-dependencies/commit/c630375d5059b4ac367979a2507c3870840c08e4)) +* Update dependency com.google.api-client:google-api-client-bom to v2.1.0 ([#934](https://github.com/googleapis/java-shared-dependencies/issues/934)) ([8af7b00](https://github.com/googleapis/java-shared-dependencies/commit/8af7b00cf0758df4015b1999d6f824ba1864be00)) +* Update dependency com.google.api-client:google-api-client-bom to v2.1.1 ([#941](https://github.com/googleapis/java-shared-dependencies/issues/941)) ([6a6e3e7](https://github.com/googleapis/java-shared-dependencies/commit/6a6e3e7d3232c7d74f92849a98e607a6d22b7b4e)) +* Update dependency com.google.auth:google-auth-library-bom to v1.13.0 ([#917](https://github.com/googleapis/java-shared-dependencies/issues/917)) ([1e2448c](https://github.com/googleapis/java-shared-dependencies/commit/1e2448c60cbe3e215b4f9f772d8e0c7cb1434bd0)) +* Update dependency com.google.cloud:grpc-gcp to v1.3.2 ([#942](https://github.com/googleapis/java-shared-dependencies/issues/942)) ([66c3e2a](https://github.com/googleapis/java-shared-dependencies/commit/66c3e2acda213fe9aea60b85f8543e3fdeaa2ecf)) +* Update dependency com.google.cloud.tools:dependencies to v1.5.13 ([#914](https://github.com/googleapis/java-shared-dependencies/issues/914)) ([9c0fa2c](https://github.com/googleapis/java-shared-dependencies/commit/9c0fa2c06ed04a3dddd9f0fd908865279393d373)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.10 ([#936](https://github.com/googleapis/java-shared-dependencies/issues/936)) ([f8abca8](https://github.com/googleapis/java-shared-dependencies/commit/f8abca8e075c59461c88b8c79fd1c5cd5eacb509)) +* Update dependency io.grpc:grpc-bom to v1.51.0 ([#919](https://github.com/googleapis/java-shared-dependencies/issues/919)) ([713b331](https://github.com/googleapis/java-shared-dependencies/commit/713b331a39917725ed4bd95c80c083c23d2a192e)) +* Update dependency io.perfmark:perfmark-api to v0.26.0 ([#907](https://github.com/googleapis/java-shared-dependencies/issues/907)) ([950cca6](https://github.com/googleapis/java-shared-dependencies/commit/950cca6df2d7e7d24ab8dd7e32c7a264e89d721f)) +* Update dependency org.apache.httpcomponents:httpclient to v4.5.14 ([#943](https://github.com/googleapis/java-shared-dependencies/issues/943)) ([7590b65](https://github.com/googleapis/java-shared-dependencies/commit/7590b6538290d3f9892b2b302505d3ecfca69530)) +* Update dependency org.apache.httpcomponents:httpcore to v4.4.16 ([#933](https://github.com/googleapis/java-shared-dependencies/issues/933)) ([6a68eb9](https://github.com/googleapis/java-shared-dependencies/commit/6a68eb96179a13cf324b4a4026ff6877d447a334)) +* Update dependency org.checkerframework:checker-qual to v3.28.0 ([#940](https://github.com/googleapis/java-shared-dependencies/issues/940)) ([5ea57c3](https://github.com/googleapis/java-shared-dependencies/commit/5ea57c3f5490c3cf7048e71dfab63aba8d7b874f)) +* Update gax.version to v2.20.1 ([#937](https://github.com/googleapis/java-shared-dependencies/issues/937)) ([ca30914](https://github.com/googleapis/java-shared-dependencies/commit/ca30914b59516c634de24b1fa33c8a6c454a0cef)) +* Update google.common-protos.version to v2.11.0 ([#935](https://github.com/googleapis/java-shared-dependencies/issues/935)) ([e92f583](https://github.com/googleapis/java-shared-dependencies/commit/e92f58361c0062414c34b669161f9d6284b0903f)) +* Update google.core.version to v2.8.28 ([#909](https://github.com/googleapis/java-shared-dependencies/issues/909)) ([79a731e](https://github.com/googleapis/java-shared-dependencies/commit/79a731e057fa7b1ac5f4bc6ae15869726bc9c20a)) +* Update google.core.version to v2.9.0 ([#944](https://github.com/googleapis/java-shared-dependencies/issues/944)) ([a50513b](https://github.com/googleapis/java-shared-dependencies/commit/a50513bc8902d059a7b53dc852b02b7e2f9bc3e6)) +* Update iam.version to v1.6.10 ([#915](https://github.com/googleapis/java-shared-dependencies/issues/915)) ([2c06312](https://github.com/googleapis/java-shared-dependencies/commit/2c06312732a56fd94f0ce8447062b42b3da15c92)) +* Update iam.version to v1.6.11 ([#916](https://github.com/googleapis/java-shared-dependencies/issues/916)) ([10b152d](https://github.com/googleapis/java-shared-dependencies/commit/10b152ded8ceded5ae3c60774ea8e75c7b69d9d8)) +* Update iam.version to v1.6.12 ([#918](https://github.com/googleapis/java-shared-dependencies/issues/918)) ([db57153](https://github.com/googleapis/java-shared-dependencies/commit/db57153752380dacb773530aef8079ff68772fc9)) +* Update iam.version to v1.6.13 ([#920](https://github.com/googleapis/java-shared-dependencies/issues/920)) ([763197e](https://github.com/googleapis/java-shared-dependencies/commit/763197e94a34620a2e234885fcdbdcb5fba144c2)) +* Update iam.version to v1.6.14 ([#921](https://github.com/googleapis/java-shared-dependencies/issues/921)) ([036cf6f](https://github.com/googleapis/java-shared-dependencies/commit/036cf6f0df788e9bffd5e21bfd8e560a797ed37d)) +* Update iam.version to v1.6.15 ([#922](https://github.com/googleapis/java-shared-dependencies/issues/922)) ([98b11a7](https://github.com/googleapis/java-shared-dependencies/commit/98b11a72f3818e4505d468c47b7c8105a3b55847)) +* Update iam.version to v1.6.16 ([#923](https://github.com/googleapis/java-shared-dependencies/issues/923)) ([b44d6ba](https://github.com/googleapis/java-shared-dependencies/commit/b44d6babd71d89ed27a0d7cac229d04111bb39e7)) +* Update iam.version to v1.6.17 ([#925](https://github.com/googleapis/java-shared-dependencies/issues/925)) ([f24a7f8](https://github.com/googleapis/java-shared-dependencies/commit/f24a7f8577ca90153d86b9ed3eab5954c1fc5500)) +* Update iam.version to v1.6.18 ([#926](https://github.com/googleapis/java-shared-dependencies/issues/926)) ([c77314d](https://github.com/googleapis/java-shared-dependencies/commit/c77314d5bdfbe960e6f71fb8dc044a60d1973038)) +* Update iam.version to v1.6.19 ([#927](https://github.com/googleapis/java-shared-dependencies/issues/927)) ([2990cf0](https://github.com/googleapis/java-shared-dependencies/commit/2990cf020e526ddba54c2a0542ef8e01f4f517f5)) +* Update iam.version to v1.6.20 ([#928](https://github.com/googleapis/java-shared-dependencies/issues/928)) ([7dbd204](https://github.com/googleapis/java-shared-dependencies/commit/7dbd204cdc0df7107c656e28766afeb14f6793c4)) +* Update iam.version to v1.6.21 ([#929](https://github.com/googleapis/java-shared-dependencies/issues/929)) ([cec2265](https://github.com/googleapis/java-shared-dependencies/commit/cec2265e43eaac7cc1be3c9bb42c0d93872f4075)) +* Update iam.version to v1.6.22 ([#931](https://github.com/googleapis/java-shared-dependencies/issues/931)) ([812ccf4](https://github.com/googleapis/java-shared-dependencies/commit/812ccf46fb0ada475dea2f6eb53839be8940dbde)) +* Update iam.version to v1.6.8 ([#906](https://github.com/googleapis/java-shared-dependencies/issues/906)) ([68ebe06](https://github.com/googleapis/java-shared-dependencies/commit/68ebe06101ec5b24fddb48012e3487c37827ba6a)) +* Update iam.version to v1.6.9 ([#912](https://github.com/googleapis/java-shared-dependencies/issues/912)) ([6a3097b](https://github.com/googleapis/java-shared-dependencies/commit/6a3097b559319f643f63727bd6d4ce5d30091317)) + +## [3.0.6](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.5...v3.0.6) (2022-11-07) + + +### Dependencies + +* Update dependency com.fasterxml.jackson:jackson-bom to v2.14.0 ([#901](https://github.com/googleapis/java-shared-dependencies/issues/901)) ([33c5511](https://github.com/googleapis/java-shared-dependencies/commit/33c55112ff485da1d7a0a32d8b6dade33aa04ff8)) +* Update dependency com.google.api-client:google-api-client-bom to v2.0.1 ([#899](https://github.com/googleapis/java-shared-dependencies/issues/899)) ([4029e89](https://github.com/googleapis/java-shared-dependencies/commit/4029e89be507ddfa030515565fdb6fbf8997324e)) +* Update dependency com.google.api:api-common to v2.2.2 ([#892](https://github.com/googleapis/java-shared-dependencies/issues/892)) ([5c59fbd](https://github.com/googleapis/java-shared-dependencies/commit/5c59fbd3c3cf3efbfda50420c8048e3ff257084c)) +* Update dependency com.google.cloud:grpc-gcp to v1.3.1 ([#884](https://github.com/googleapis/java-shared-dependencies/issues/884)) ([9fffe24](https://github.com/googleapis/java-shared-dependencies/commit/9fffe243b631565a00b0a848a6c73163b1dd33a4)) +* Update dependency com.google.code.gson:gson to v2.10 ([#887](https://github.com/googleapis/java-shared-dependencies/issues/887)) ([15017de](https://github.com/googleapis/java-shared-dependencies/commit/15017de39a35f90bc1b38b828edc23fdce524a07)) +* Update dependency com.google.http-client:google-http-client-bom to v1.42.3 ([#893](https://github.com/googleapis/java-shared-dependencies/issues/893)) ([4c0de9b](https://github.com/googleapis/java-shared-dependencies/commit/4c0de9bd188bfab5fe126c8b01b4d7168f8a5079)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#889](https://github.com/googleapis/java-shared-dependencies/issues/889)) ([8576271](https://github.com/googleapis/java-shared-dependencies/commit/85762716d1bbb97c447f86451094fb8af2528470)) +* Update dependency io.grpc:grpc-bom to v1.50.2 ([#878](https://github.com/googleapis/java-shared-dependencies/issues/878)) ([fd569af](https://github.com/googleapis/java-shared-dependencies/commit/fd569af1e5f1b195e2421fc9e02d8b67afe1c638)) +* Update dependency org.checkerframework:checker-qual to v3.27.0 ([#896](https://github.com/googleapis/java-shared-dependencies/issues/896)) ([f0f7931](https://github.com/googleapis/java-shared-dependencies/commit/f0f7931937a0ed9a32fd87cd58c82b787d368242)) +* Update dependency org.threeten:threetenbp to v1.6.4 ([#894](https://github.com/googleapis/java-shared-dependencies/issues/894)) ([899682d](https://github.com/googleapis/java-shared-dependencies/commit/899682d0405645d9d5288b298af2fda228414669)) +* Update gax.version to v2.19.5 ([#903](https://github.com/googleapis/java-shared-dependencies/issues/903)) ([3e4d8b3](https://github.com/googleapis/java-shared-dependencies/commit/3e4d8b35d3f682b07326ffa0a3e552d097f25a65)) +* Update google.common-protos.version to v2.10.0 ([#900](https://github.com/googleapis/java-shared-dependencies/issues/900)) ([53b54c3](https://github.com/googleapis/java-shared-dependencies/commit/53b54c35f3a7c19df488921a6077e7a9bfb0b103)) +* Update google.core.version to v2.8.23 ([#885](https://github.com/googleapis/java-shared-dependencies/issues/885)) ([686dd7c](https://github.com/googleapis/java-shared-dependencies/commit/686dd7c8f541189302e8cac4ae72ed7d967b5b3f)) +* Update google.core.version to v2.8.24 ([#890](https://github.com/googleapis/java-shared-dependencies/issues/890)) ([1effda3](https://github.com/googleapis/java-shared-dependencies/commit/1effda381c7b886f5ae4d2dac9473da821e655fe)) +* Update google.core.version to v2.8.27 ([#902](https://github.com/googleapis/java-shared-dependencies/issues/902)) ([3bcb804](https://github.com/googleapis/java-shared-dependencies/commit/3bcb804dec4358ed0a9c6c35cf4c35f817821e9a)) +* Update iam.version to v1.6.6 ([#886](https://github.com/googleapis/java-shared-dependencies/issues/886)) ([03d0690](https://github.com/googleapis/java-shared-dependencies/commit/03d0690f01f9217e31dd65d55c28a47f2f2deb22)) +* Update iam.version to v1.6.7 ([#895](https://github.com/googleapis/java-shared-dependencies/issues/895)) ([6cebc20](https://github.com/googleapis/java-shared-dependencies/commit/6cebc205daa98b96a8b27b3fc3cd222319b27e59)) + +## [3.0.5](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.4...v3.0.5) (2022-10-20) + + +### Dependencies + +* Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4.20221013 ([#868](https://github.com/googleapis/java-shared-dependencies/issues/868)) ([ffa7272](https://github.com/googleapis/java-shared-dependencies/commit/ffa7272e6d4775905e64173b3617555ee355019d)) +* Update dependency com.google.auth:google-auth-library-bom to v1.12.0 ([#870](https://github.com/googleapis/java-shared-dependencies/issues/870)) ([6e76f19](https://github.com/googleapis/java-shared-dependencies/commit/6e76f19133515b755b78185ce0135943e878a368)) +* Update dependency com.google.auth:google-auth-library-bom to v1.12.1 ([#871](https://github.com/googleapis/java-shared-dependencies/issues/871)) ([f7f5dc2](https://github.com/googleapis/java-shared-dependencies/commit/f7f5dc26dd54f33954bdf5d43314020de58e055b)) +* Update dependency com.google.cloud:grpc-gcp to v1.3.0 ([#867](https://github.com/googleapis/java-shared-dependencies/issues/867)) ([1927a92](https://github.com/googleapis/java-shared-dependencies/commit/1927a926c615eabbf0e7377c65232e0e5268220e)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#865](https://github.com/googleapis/java-shared-dependencies/issues/865)) ([b1734ec](https://github.com/googleapis/java-shared-dependencies/commit/b1734ec1c20e7bdf2582b31fde4648aa9f8de2fe)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#872](https://github.com/googleapis/java-shared-dependencies/issues/872)) ([1c303f2](https://github.com/googleapis/java-shared-dependencies/commit/1c303f2aa5145da4c93605a2d1088e8a3884de81)) +* Update dependency gcp-releasetool to v1.8.10 ([#853](https://github.com/googleapis/java-shared-dependencies/issues/853)) ([c815a59](https://github.com/googleapis/java-shared-dependencies/commit/c815a5996d28676de015d5dd41e2b0405f4bb9dc)) +* Update dependency google-api-core to v2.10.2 ([#858](https://github.com/googleapis/java-shared-dependencies/issues/858)) ([387a156](https://github.com/googleapis/java-shared-dependencies/commit/387a15662db0b20e72fe5bf961c02eb2bc4e75d9)) +* Update dependency io.grpc:grpc-bom to v1.50.0 ([#866](https://github.com/googleapis/java-shared-dependencies/issues/866)) ([3d3d443](https://github.com/googleapis/java-shared-dependencies/commit/3d3d4434636e605f47082641e8e495bbce8f9515)) +* Update dependency io.grpc:grpc-bom to v1.50.1 ([#873](https://github.com/googleapis/java-shared-dependencies/issues/873)) ([956309d](https://github.com/googleapis/java-shared-dependencies/commit/956309d76c9de46885711a77afbfce0d28971096)) +* Update dependency org.checkerframework:checker-qual to v3.26.0 ([#852](https://github.com/googleapis/java-shared-dependencies/issues/852)) ([6926b33](https://github.com/googleapis/java-shared-dependencies/commit/6926b33b83d1aa63e0c78b7b8c72cd1d80e28ef3)) +* Update dependency org.threeten:threetenbp to v1.6.3 ([#869](https://github.com/googleapis/java-shared-dependencies/issues/869)) ([fa4999b](https://github.com/googleapis/java-shared-dependencies/commit/fa4999b6310940e62456e83dad3ec76a7406a218)) +* Update dependency typing-extensions to v4.4.0 ([#854](https://github.com/googleapis/java-shared-dependencies/issues/854)) ([43bd31b](https://github.com/googleapis/java-shared-dependencies/commit/43bd31b66eef50d82ecf8a692053f10eb385d5c1)) +* Update dependency zipp to v3.9.0 ([#859](https://github.com/googleapis/java-shared-dependencies/issues/859)) ([a070ad0](https://github.com/googleapis/java-shared-dependencies/commit/a070ad04ef1bab5690487ba13dd4060827851edf)) +* Update gax.version to v2.19.4 ([#875](https://github.com/googleapis/java-shared-dependencies/issues/875)) ([227bdd8](https://github.com/googleapis/java-shared-dependencies/commit/227bdd86f368b89309814c615828544c29871a5d)) +* Update google.core.version to v2.8.21 ([#861](https://github.com/googleapis/java-shared-dependencies/issues/861)) ([8b502bd](https://github.com/googleapis/java-shared-dependencies/commit/8b502bd43760a2e52cf107567011d9c5132e74bd)) +* Update google.core.version to v2.8.22 ([#879](https://github.com/googleapis/java-shared-dependencies/issues/879)) ([0360e93](https://github.com/googleapis/java-shared-dependencies/commit/0360e931dc45034d3c3c554f2c29ad7ea4a0a9bb)) +* Update iam.version to v1.6.3 ([#857](https://github.com/googleapis/java-shared-dependencies/issues/857)) ([b39e683](https://github.com/googleapis/java-shared-dependencies/commit/b39e6838c3f3f6ef2b350efe8aec1b622893421a)) +* Update iam.version to v1.6.4 ([#862](https://github.com/googleapis/java-shared-dependencies/issues/862)) ([85c9794](https://github.com/googleapis/java-shared-dependencies/commit/85c979401c34454b2d5681eed9d8b3b3679413be)) + +## [3.0.4](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.3...v3.0.4) (2022-10-03) + + +### Dependencies + +* Update dependency cachetools to v5 ([#816](https://github.com/googleapis/java-shared-dependencies/issues/816)) ([3f6c408](https://github.com/googleapis/java-shared-dependencies/commit/3f6c408210c931c286235f61c7aadea5bf5cfe4d)) +* Update dependency certifi to v2022.9.24 ([#818](https://github.com/googleapis/java-shared-dependencies/issues/818)) ([5f04b97](https://github.com/googleapis/java-shared-dependencies/commit/5f04b97c2343146600e8c9ee65afdeb58f5743a6)) +* Update dependency charset-normalizer to v2.1.1 ([#822](https://github.com/googleapis/java-shared-dependencies/issues/822)) ([6997c5a](https://github.com/googleapis/java-shared-dependencies/commit/6997c5acad937ebe3594330de73261a424d42cf3)) +* Update dependency click to v8.1.3 ([#823](https://github.com/googleapis/java-shared-dependencies/issues/823)) ([42bf9f8](https://github.com/googleapis/java-shared-dependencies/commit/42bf9f834fdafea60f2be7ccbf7d363e058cd7c2)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#837](https://github.com/googleapis/java-shared-dependencies/issues/837)) ([d31e507](https://github.com/googleapis/java-shared-dependencies/commit/d31e5077c7e036de5e238e9a611df7ced527574a)) +* Update dependency gcp-releasetool to v1.8.8 ([#819](https://github.com/googleapis/java-shared-dependencies/issues/819)) ([8245d97](https://github.com/googleapis/java-shared-dependencies/commit/8245d975fb12e81454ec7664f9a7c9809bbac697)) +* Update dependency gcp-releasetool to v1.8.9 ([#846](https://github.com/googleapis/java-shared-dependencies/issues/846)) ([04e3283](https://github.com/googleapis/java-shared-dependencies/commit/04e32831c6e87c372444901013a747d2d02ce38d)) +* Update dependency google-api-core to v2.10.1 ([#824](https://github.com/googleapis/java-shared-dependencies/issues/824)) ([818b9aa](https://github.com/googleapis/java-shared-dependencies/commit/818b9aa2ac99d8b1f9b39a74b626122aed5f1d94)) +* Update dependency google-auth to v2.12.0 ([#825](https://github.com/googleapis/java-shared-dependencies/issues/825)) ([07c544b](https://github.com/googleapis/java-shared-dependencies/commit/07c544b5e0fa9f7110bbc957570f7a405962072e)) +* Update dependency google-cloud-core to v2.3.2 ([#820](https://github.com/googleapis/java-shared-dependencies/issues/820)) ([2a219e8](https://github.com/googleapis/java-shared-dependencies/commit/2a219e86f187ba5ad72f2570bd58ca6100128c43)) +* Update dependency google-cloud-storage to v2.5.0 ([#826](https://github.com/googleapis/java-shared-dependencies/issues/826)) ([bb10d18](https://github.com/googleapis/java-shared-dependencies/commit/bb10d1858a515f09d365362ffa0110a5b362c96b)) +* Update dependency google-crc32c to v1.5.0 ([#827](https://github.com/googleapis/java-shared-dependencies/issues/827)) ([7e5dae6](https://github.com/googleapis/java-shared-dependencies/commit/7e5dae60d667cb84b9ee4f6c977bdc35e79e4cf6)) +* Update dependency google-resumable-media to v2.4.0 ([#838](https://github.com/googleapis/java-shared-dependencies/issues/838)) ([ad82d63](https://github.com/googleapis/java-shared-dependencies/commit/ad82d6378f64039da383509638fb4782908eb4bc)) +* Update dependency googleapis-common-protos to v1.56.4 ([#821](https://github.com/googleapis/java-shared-dependencies/issues/821)) ([93d7745](https://github.com/googleapis/java-shared-dependencies/commit/93d77458c9bbf84ec367cdb4caaa41e6f71675c6)) +* Update dependency importlib-metadata to v4.12.0 ([#832](https://github.com/googleapis/java-shared-dependencies/issues/832)) ([ee19fb1](https://github.com/googleapis/java-shared-dependencies/commit/ee19fb1ca5a2a2e1985297e3b72d44de68bc72e3)) +* Update dependency importlib-metadata to v4.13.0 ([#843](https://github.com/googleapis/java-shared-dependencies/issues/843)) ([d2ede60](https://github.com/googleapis/java-shared-dependencies/commit/d2ede601eee8c875780c7eb5924623537480c509)) +* Update dependency importlib-metadata to v5 ([#845](https://github.com/googleapis/java-shared-dependencies/issues/845)) ([03ac7e8](https://github.com/googleapis/java-shared-dependencies/commit/03ac7e800274c5f58d2bc4ddd0561bfcdea1bb27)) +* Update dependency io.grpc:grpc-bom to v1.49.1 ([#802](https://github.com/googleapis/java-shared-dependencies/issues/802)) ([b8c54bf](https://github.com/googleapis/java-shared-dependencies/commit/b8c54bf8f1ddecc788cee151f8afe42de45bdc9d)) +* Update dependency io.grpc:grpc-bom to v1.49.2 ([#842](https://github.com/googleapis/java-shared-dependencies/issues/842)) ([1b1cfa2](https://github.com/googleapis/java-shared-dependencies/commit/1b1cfa27d05f7732da12721305cf41dcbebda232)) +* Update dependency jeepney to v0.8.0 ([#833](https://github.com/googleapis/java-shared-dependencies/issues/833)) ([15d2f9f](https://github.com/googleapis/java-shared-dependencies/commit/15d2f9f52b5a3259db0813df3d2424e256ccb372)) +* Update dependency jinja2 to v3.1.2 ([#834](https://github.com/googleapis/java-shared-dependencies/issues/834)) ([c188f95](https://github.com/googleapis/java-shared-dependencies/commit/c188f95acdb3349f1c4b3ed56e5fffb75e8fbc8d)) +* Update dependency keyring to v23.9.3 ([#828](https://github.com/googleapis/java-shared-dependencies/issues/828)) ([b185aaa](https://github.com/googleapis/java-shared-dependencies/commit/b185aaae716d4d97cb64f0426cac0e778f11223d)) +* Update dependency markupsafe to v2.1.1 ([#829](https://github.com/googleapis/java-shared-dependencies/issues/829)) ([add2825](https://github.com/googleapis/java-shared-dependencies/commit/add2825bd34cd80f529dbe0dadb3c84219177916)) +* Update dependency org.threeten:threetenbp to v1.6.2 ([#808](https://github.com/googleapis/java-shared-dependencies/issues/808)) ([2d2eabd](https://github.com/googleapis/java-shared-dependencies/commit/2d2eabd14d8150207885ea47280c0f7ff3d2962f)) +* Update dependency protobuf to v3.20.2 ([#830](https://github.com/googleapis/java-shared-dependencies/issues/830)) ([5afa76f](https://github.com/googleapis/java-shared-dependencies/commit/5afa76f9ef4705aecba49abc7bb93982fb1ecf3e)) +* Update dependency protobuf to v3.20.3 ([#839](https://github.com/googleapis/java-shared-dependencies/issues/839)) ([d9fc7dd](https://github.com/googleapis/java-shared-dependencies/commit/d9fc7ddd3e663458e6ea3f78a3c6241377df0319)) +* Update dependency protobuf to v4 ([#817](https://github.com/googleapis/java-shared-dependencies/issues/817)) ([ee8d154](https://github.com/googleapis/java-shared-dependencies/commit/ee8d154287ccd256b4dcfa48f28f5ec61a91fe3e)) +* Update dependency pyjwt to v2.5.0 ([#812](https://github.com/googleapis/java-shared-dependencies/issues/812)) ([4d4528e](https://github.com/googleapis/java-shared-dependencies/commit/4d4528e8ce269d49b99d2dbc4fcda2dc37a058cb)) +* Update dependency requests to v2.28.1 ([#813](https://github.com/googleapis/java-shared-dependencies/issues/813)) ([a3a8d89](https://github.com/googleapis/java-shared-dependencies/commit/a3a8d89b0117007a7108553c70aa82dd289e1691)) +* Update dependency typing-extensions to v4.3.0 ([#814](https://github.com/googleapis/java-shared-dependencies/issues/814)) ([da875e5](https://github.com/googleapis/java-shared-dependencies/commit/da875e5e91fa9d8c177e6c3afc9e34242eb914b7)) +* Update dependency zipp to v3.8.1 ([#815](https://github.com/googleapis/java-shared-dependencies/issues/815)) ([15585fd](https://github.com/googleapis/java-shared-dependencies/commit/15585fd0216013fe93be011f93f391f6269aa777)) +* Update gax.version to v2.19.2 ([#847](https://github.com/googleapis/java-shared-dependencies/issues/847)) ([c4afe1f](https://github.com/googleapis/java-shared-dependencies/commit/c4afe1fdc88af29ab039cea618d52c15c90e43e9)) +* Update google.common-protos.version to v2.9.3 ([#803](https://github.com/googleapis/java-shared-dependencies/issues/803)) ([a3e8e5e](https://github.com/googleapis/java-shared-dependencies/commit/a3e8e5eb53a8da14abf3b8d81a4f34fbb2f3b8f9)) +* Update google.common-protos.version to v2.9.5 ([#831](https://github.com/googleapis/java-shared-dependencies/issues/831)) ([1c901db](https://github.com/googleapis/java-shared-dependencies/commit/1c901db8a7740afaec3e809e51d4d369fbf469c4)) +* Update google.common-protos.version to v2.9.6 ([#844](https://github.com/googleapis/java-shared-dependencies/issues/844)) ([9e156be](https://github.com/googleapis/java-shared-dependencies/commit/9e156be59bd89959f04252c3045b8cd7a8be8070)) +* Update google.core.version to v2.8.13 ([#804](https://github.com/googleapis/java-shared-dependencies/issues/804)) ([45ae571](https://github.com/googleapis/java-shared-dependencies/commit/45ae57142bd6d5334eedd46243736b200a459795)) +* Update google.core.version to v2.8.14 ([#805](https://github.com/googleapis/java-shared-dependencies/issues/805)) ([02c9397](https://github.com/googleapis/java-shared-dependencies/commit/02c9397a84bf3fcca8d04e4c9867cc47689abde2)) +* Update google.core.version to v2.8.15 ([#807](https://github.com/googleapis/java-shared-dependencies/issues/807)) ([980856c](https://github.com/googleapis/java-shared-dependencies/commit/980856c43981992a3d08f69eac83aeada752d244)) +* Update google.core.version to v2.8.16 ([#810](https://github.com/googleapis/java-shared-dependencies/issues/810)) ([c2b2c9a](https://github.com/googleapis/java-shared-dependencies/commit/c2b2c9a327fd588f69524bb93a17e5d4ae8f5a42)) +* Update google.core.version to v2.8.17 ([#835](https://github.com/googleapis/java-shared-dependencies/issues/835)) ([3def21d](https://github.com/googleapis/java-shared-dependencies/commit/3def21df2e4253e3df0da064b6c4e472df079d2b)) +* Update google.core.version to v2.8.18 ([#840](https://github.com/googleapis/java-shared-dependencies/issues/840)) ([46566dc](https://github.com/googleapis/java-shared-dependencies/commit/46566dc18c4b1ed41c482b4ce21b92651e2f9dc5)) +* Update google.core.version to v2.8.19 ([#841](https://github.com/googleapis/java-shared-dependencies/issues/841)) ([99afde9](https://github.com/googleapis/java-shared-dependencies/commit/99afde97ea498f549eb75cc58c4ed88edf81b20d)) +* Update google.core.version to v2.8.20 ([#848](https://github.com/googleapis/java-shared-dependencies/issues/848)) ([c980c4f](https://github.com/googleapis/java-shared-dependencies/commit/c980c4fdfc8890d812b4881ba5b87bfd21269a5f)) +* Update iam.version to v1.6.1 ([#806](https://github.com/googleapis/java-shared-dependencies/issues/806)) ([a50158d](https://github.com/googleapis/java-shared-dependencies/commit/a50158d3b83cf8e02d8ee08c94e512b5669a927b)) +* Update iam.version to v1.6.2 ([#849](https://github.com/googleapis/java-shared-dependencies/issues/849)) ([e43ac96](https://github.com/googleapis/java-shared-dependencies/commit/e43ac96bc189a096a9311c9b03e85c86bea07e99)) + +## [3.0.3](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3) (2022-09-14) + + +### Dependencies + +* Google-cloud-core 2.8.12 ([#799](https://github.com/googleapis/java-shared-dependencies/issues/799)) ([1b3db8d](https://github.com/googleapis/java-shared-dependencies/commit/1b3db8d1e17c49ebae79fc96164fa9058e1df6e3)) +* Moving gson to first-party-dependencies ([#800](https://github.com/googleapis/java-shared-dependencies/issues/800)) ([a41fcc1](https://github.com/googleapis/java-shared-dependencies/commit/a41fcc11d32e02e5af2837561792e3919f6d4b3f)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#797](https://github.com/googleapis/java-shared-dependencies/issues/797)) ([bc5fdc9](https://github.com/googleapis/java-shared-dependencies/commit/bc5fdc9b3af7973c28f063a9ac156fe2af562814)) +* Update gax.version to v2.19.1 ([#798](https://github.com/googleapis/java-shared-dependencies/issues/798)) ([84e5487](https://github.com/googleapis/java-shared-dependencies/commit/84e5487b2e3dce4bb60badecebde788c3cb702b8)) +* Update google.core.version to v2.8.11 ([#793](https://github.com/googleapis/java-shared-dependencies/issues/793)) ([63c1297](https://github.com/googleapis/java-shared-dependencies/commit/63c129722aa0b821031ff5b4c11004adf7b12044)) + +## [3.0.2](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2) (2022-09-08) + + +### Dependencies + +* Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 ([#789](https://github.com/googleapis/java-shared-dependencies/issues/789)) ([6cf91a9](https://github.com/googleapis/java-shared-dependencies/commit/6cf91a96b9ea6af0fb845b50582dac7aa2892cab)) +* Update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#781](https://github.com/googleapis/java-shared-dependencies/issues/781)) ([8859e61](https://github.com/googleapis/java-shared-dependencies/commit/8859e61808bfc5cd9546e27e945fc855b36d2554)) +* Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#790](https://github.com/googleapis/java-shared-dependencies/issues/790)) ([3431a47](https://github.com/googleapis/java-shared-dependencies/commit/3431a471cbf874a67a4f1a42e31f0ed891dedc92)) +* Update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#773](https://github.com/googleapis/java-shared-dependencies/issues/773)) ([27fc79f](https://github.com/googleapis/java-shared-dependencies/commit/27fc79f00ee70011df6a368bb8fcfad7f0ce41f0)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#776](https://github.com/googleapis/java-shared-dependencies/issues/776)) ([bf333b8](https://github.com/googleapis/java-shared-dependencies/commit/bf333b8c88072d21cb959db4d3328bbb55d9ef5c)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#780](https://github.com/googleapis/java-shared-dependencies/issues/780)) ([da7f44d](https://github.com/googleapis/java-shared-dependencies/commit/da7f44d71d6d7f372b5313dab68ce220308614d4)) +* Update dependency io.grpc:grpc-bom to v1.48.1 ([#768](https://github.com/googleapis/java-shared-dependencies/issues/768)) ([5c7768d](https://github.com/googleapis/java-shared-dependencies/commit/5c7768d3c9665dd356de6c39c0a6a5fa6e992f2e)) +* Update dependency io.grpc:grpc-bom to v1.49.0 ([#786](https://github.com/googleapis/java-shared-dependencies/issues/786)) ([8734812](https://github.com/googleapis/java-shared-dependencies/commit/8734812f1b4e2faaa48caf41eff59a85892ae344)) +* Update dependency org.checkerframework:checker-qual to v3.24.0 ([#775](https://github.com/googleapis/java-shared-dependencies/issues/775)) ([df74b7b](https://github.com/googleapis/java-shared-dependencies/commit/df74b7b0dd5dd592523f302d9fb36adb5991cb0b)) +* Update dependency org.checkerframework:checker-qual to v3.25.0 ([#788](https://github.com/googleapis/java-shared-dependencies/issues/788)) ([207035b](https://github.com/googleapis/java-shared-dependencies/commit/207035bd04c9305899eea540acbefaf06a7b1ec9)) +* Update dependency org.threeten:threetenbp to v1.6.1 ([#782](https://github.com/googleapis/java-shared-dependencies/issues/782)) ([0f218ae](https://github.com/googleapis/java-shared-dependencies/commit/0f218aeb6aa33cf1da4a8b1d6c82bbf87946dab9)) +* Update gax.version to v2.19.0 ([#785](https://github.com/googleapis/java-shared-dependencies/issues/785)) ([4448331](https://github.com/googleapis/java-shared-dependencies/commit/4448331c4c6d88ea8076260776d1d47d24aa19fa)) +* Update google.core.version to v2.8.10 ([#787](https://github.com/googleapis/java-shared-dependencies/issues/787)) ([3c344d5](https://github.com/googleapis/java-shared-dependencies/commit/3c344d515e3b9215db5a1f8ef550d800d974e558)) +* Update google.core.version to v2.8.7 ([#774](https://github.com/googleapis/java-shared-dependencies/issues/774)) ([d0cd5e8](https://github.com/googleapis/java-shared-dependencies/commit/d0cd5e8f6ca88787fe0dbf7f30c849cb4c4fae5e)) +* Update google.core.version to v2.8.8 ([#777](https://github.com/googleapis/java-shared-dependencies/issues/777)) ([f00571c](https://github.com/googleapis/java-shared-dependencies/commit/f00571cd1e9f1c4e011fba4a1e1674c1d8d60200)) +* Update google.core.version to v2.8.9 ([#784](https://github.com/googleapis/java-shared-dependencies/issues/784)) ([aa8e505](https://github.com/googleapis/java-shared-dependencies/commit/aa8e505dbb1214b2239e55d5ac83b00c167d77e4)) + +## [3.0.1](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.0...v3.0.1) (2022-08-02) + + +### Dependencies + +* update dependency com.google.code.gson:gson to v2.9.1 ([#766](https://github.com/googleapis/java-shared-dependencies/issues/766)) ([f7b2b06](https://github.com/googleapis/java-shared-dependencies/commit/f7b2b06b80e3e95ff8ab9b1d6a2638ef3069298a)) +* update gax.version to v2.18.7 ([#767](https://github.com/googleapis/java-shared-dependencies/issues/767)) ([9650368](https://github.com/googleapis/java-shared-dependencies/commit/96503682e98cdf348ea2c1365a03a60f4322c712)) +* update google.core.version to v2.8.6 ([#770](https://github.com/googleapis/java-shared-dependencies/issues/770)) ([cfd4377](https://github.com/googleapis/java-shared-dependencies/commit/cfd4377dc178cebb4724065d55d185ce03988d55)) + +## [3.0.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.13.0...v3.0.0) (2022-07-29) + + +### Bug Fixes + +* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-shared-dependencies/issues/1485)) ([#738](https://github.com/googleapis/java-shared-dependencies/issues/738)) ([11bc8f8](https://github.com/googleapis/java-shared-dependencies/commit/11bc8f81f28be88a97fdeafca21724e33638770c)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#729](https://github.com/googleapis/java-shared-dependencies/issues/729)) ([1fa59af](https://github.com/googleapis/java-shared-dependencies/commit/1fa59af80abb9f278f57658c10158567e825fec6)) +* update dependency com.google.api-client:google-api-client-bom to v2 ([#746](https://github.com/googleapis/java-shared-dependencies/issues/746)) ([2dcb2e0](https://github.com/googleapis/java-shared-dependencies/commit/2dcb2e071e0ba0eea21bb575bd13cd559d4a1ca6)) +* update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.2 ([#741](https://github.com/googleapis/java-shared-dependencies/issues/741)) ([3352d6c](https://github.com/googleapis/java-shared-dependencies/commit/3352d6c36111c04e3f6f3e6360470fa3efb10d8f)) +* update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#726](https://github.com/googleapis/java-shared-dependencies/issues/726)) ([2c5d64c](https://github.com/googleapis/java-shared-dependencies/commit/2c5d64c127db8384e49113acfeac6928716a2d7f)) +* update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#742](https://github.com/googleapis/java-shared-dependencies/issues/742)) ([4f53527](https://github.com/googleapis/java-shared-dependencies/commit/4f53527bda7f40896711b7c1d1c02453321ffbc8)) +* update dependency com.google.cloud:first-party-dependencies to v2 ([#747](https://github.com/googleapis/java-shared-dependencies/issues/747)) ([e970ac0](https://github.com/googleapis/java-shared-dependencies/commit/e970ac0599941c825dc2516146a7c6673e68a9b9)) +* update dependency com.google.cloud:grpc-gcp to v1.2.1 ([#751](https://github.com/googleapis/java-shared-dependencies/issues/751)) ([b3284b6](https://github.com/googleapis/java-shared-dependencies/commit/b3284b6ee52a96a6ea8696a05a94443df9ee5b9f)) +* update dependency com.google.cloud:third-party-dependencies to v2 ([#748](https://github.com/googleapis/java-shared-dependencies/issues/748)) ([573b41a](https://github.com/googleapis/java-shared-dependencies/commit/573b41a69504372741cbeb01dd200e7c71967186)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#730](https://github.com/googleapis/java-shared-dependencies/issues/730)) ([6b47126](https://github.com/googleapis/java-shared-dependencies/commit/6b47126686b603a5d112e097ce6aa3a1880daf6f)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#749](https://github.com/googleapis/java-shared-dependencies/issues/749)) ([299d7b0](https://github.com/googleapis/java-shared-dependencies/commit/299d7b0d4920644e2c3070d12dd1d97da17a5e88)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#722](https://github.com/googleapis/java-shared-dependencies/issues/722)) ([7a96b12](https://github.com/googleapis/java-shared-dependencies/commit/7a96b1259a526b63e9376fd6cc18b27cddeb5f0f)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#756](https://github.com/googleapis/java-shared-dependencies/issues/756)) ([3d0bac2](https://github.com/googleapis/java-shared-dependencies/commit/3d0bac23487aebb94267c0708f41ff6c02a028a4)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#759](https://github.com/googleapis/java-shared-dependencies/issues/759)) ([5a54ef1](https://github.com/googleapis/java-shared-dependencies/commit/5a54ef1a2d56244166d4fcc46041d62c0dc4b411)) +* update dependency io.grpc:grpc-bom to v1.48.0 ([#752](https://github.com/googleapis/java-shared-dependencies/issues/752)) ([20ac908](https://github.com/googleapis/java-shared-dependencies/commit/20ac908932a5e7c8e581bdfcd68579d7e1cedd5f)) +* update dependency org.checkerframework:checker-qual to v3.23.0 ([#736](https://github.com/googleapis/java-shared-dependencies/issues/736)) ([fc01d8f](https://github.com/googleapis/java-shared-dependencies/commit/fc01d8f93f391f12fdb800d5006f0b4505832eeb)) +* update gax.version to v2.18.3 ([#731](https://github.com/googleapis/java-shared-dependencies/issues/731)) ([e8ee554](https://github.com/googleapis/java-shared-dependencies/commit/e8ee554707acb2f71c739d08e2ff02fbe43ffa52)) +* update gax.version to v2.18.4 ([#735](https://github.com/googleapis/java-shared-dependencies/issues/735)) ([11c7415](https://github.com/googleapis/java-shared-dependencies/commit/11c74152a84697924de3a0e838b05f606c3098f7)) +* update gax.version to v2.18.5 ([#758](https://github.com/googleapis/java-shared-dependencies/issues/758)) ([7469fc1](https://github.com/googleapis/java-shared-dependencies/commit/7469fc1cc5095b39a5738e60156711a268f6e052)) +* update gax.version to v2.18.6 ([#763](https://github.com/googleapis/java-shared-dependencies/issues/763)) ([b5ca2f7](https://github.com/googleapis/java-shared-dependencies/commit/b5ca2f7b4d81c705823253f4f03363a32d2be48b)) +* update google.common-protos.version to v2.9.1 ([#724](https://github.com/googleapis/java-shared-dependencies/issues/724)) ([5213dbb](https://github.com/googleapis/java-shared-dependencies/commit/5213dbbfa9c9b73d2420ec2be7782f16c9c4955f)) +* update google.core.version to v2.8.1 ([#725](https://github.com/googleapis/java-shared-dependencies/issues/725)) ([575858a](https://github.com/googleapis/java-shared-dependencies/commit/575858a60f76e46bbc2a2435c2b6c01c8f4ab681)) +* update google.core.version to v2.8.3 ([#760](https://github.com/googleapis/java-shared-dependencies/issues/760)) ([cb10ae4](https://github.com/googleapis/java-shared-dependencies/commit/cb10ae4b76939215ea465af74163b3d4ad65a548)) +* update google.core.version to v2.8.4 ([#762](https://github.com/googleapis/java-shared-dependencies/issues/762)) ([821daaf](https://github.com/googleapis/java-shared-dependencies/commit/821daafefdbcfdfe6e363e580747538096a562ef)) +* update google.core.version to v2.8.5 ([#764](https://github.com/googleapis/java-shared-dependencies/issues/764)) ([a1f8f50](https://github.com/googleapis/java-shared-dependencies/commit/a1f8f501b54143a2cec8e72efd4ceb3ce47f13ae)) +* update iam.version to v1.5.0 ([#732](https://github.com/googleapis/java-shared-dependencies/issues/732)) ([9dce0e5](https://github.com/googleapis/java-shared-dependencies/commit/9dce0e5199c1e425119adc804304958f58003a27)) +* update iam.version to v1.5.1 ([#737](https://github.com/googleapis/java-shared-dependencies/issues/737)) ([df39168](https://github.com/googleapis/java-shared-dependencies/commit/df391685d42fcb1b04f03ab1380a594893bdce37)) +* update iam.version to v1.5.2 ([#743](https://github.com/googleapis/java-shared-dependencies/issues/743)) ([cdde697](https://github.com/googleapis/java-shared-dependencies/commit/cdde697f25a89fc8c2ec7eae6b7c54f69977bb1c)) + +## [2.13.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.12.0...v2.13.0) (2022-06-22) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.35.0 ([#709](https://github.com/googleapis/java-shared-dependencies/issues/709)) ([239f8c3](https://github.com/googleapis/java-shared-dependencies/commit/239f8c33a11e233e6af79aee8c7e68cd156a0554)) +* update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#713](https://github.com/googleapis/java-shared-dependencies/issues/713)) ([6559b45](https://github.com/googleapis/java-shared-dependencies/commit/6559b45b027dba783a9525d35e32183d78773cbe)) +* update dependency com.google.api:api-common to v2.2.1 ([#710](https://github.com/googleapis/java-shared-dependencies/issues/710)) ([650d4c5](https://github.com/googleapis/java-shared-dependencies/commit/650d4c5f8c3cfce711257d47280ad773cd2e2414)) +* update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#701](https://github.com/googleapis/java-shared-dependencies/issues/701)) ([d24730f](https://github.com/googleapis/java-shared-dependencies/commit/d24730f78669f80b109e590b903446e5552e3e36)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#711](https://github.com/googleapis/java-shared-dependencies/issues/711)) ([5168a18](https://github.com/googleapis/java-shared-dependencies/commit/5168a181722128d434a0d0d2ab5cc485686bbc78)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.0 ([#708](https://github.com/googleapis/java-shared-dependencies/issues/708)) ([620336e](https://github.com/googleapis/java-shared-dependencies/commit/620336e6733e2017116e5e8a7b403b183a728bc1)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.1 ([#712](https://github.com/googleapis/java-shared-dependencies/issues/712)) ([a2c18a5](https://github.com/googleapis/java-shared-dependencies/commit/a2c18a5bc4152cc9034cec691a29f54a35c38a51)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#703](https://github.com/googleapis/java-shared-dependencies/issues/703)) ([5f9fe12](https://github.com/googleapis/java-shared-dependencies/commit/5f9fe1200b4bdf4c54bf947c21bd3ed02f26f990)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#705](https://github.com/googleapis/java-shared-dependencies/issues/705)) ([c68edfb](https://github.com/googleapis/java-shared-dependencies/commit/c68edfbe7e1993e1112640b867b29aa2fbcf7579)) +* update dependency io.grpc:grpc-bom to v1.47.0 ([#707](https://github.com/googleapis/java-shared-dependencies/issues/707)) ([d02918a](https://github.com/googleapis/java-shared-dependencies/commit/d02918a0418cd65d1d247f27afb0637f1f8f5666)) +* update dependency org.checkerframework:checker-qual to v3.22.1 ([#706](https://github.com/googleapis/java-shared-dependencies/issues/706)) ([545843b](https://github.com/googleapis/java-shared-dependencies/commit/545843b492cead230b8cc72a1dae7d4922f33b39)) +* update dependency org.checkerframework:checker-qual to v3.22.2 ([#717](https://github.com/googleapis/java-shared-dependencies/issues/717)) ([142852a](https://github.com/googleapis/java-shared-dependencies/commit/142852a37140f221197f5c71aed451def353b1e0)) +* update gax.version to v2.18.2 ([#718](https://github.com/googleapis/java-shared-dependencies/issues/718)) ([5f8156e](https://github.com/googleapis/java-shared-dependencies/commit/5f8156e55c6a07b018a8c5efafa68be781b4288b)) +* update google.common-protos.version to v2.9.0 ([#714](https://github.com/googleapis/java-shared-dependencies/issues/714)) ([9e5591e](https://github.com/googleapis/java-shared-dependencies/commit/9e5591ec3035350450ecbfebd00e08216433b06c)) +* update google.core.version to v2.8.0 ([#719](https://github.com/googleapis/java-shared-dependencies/issues/719)) ([4023c60](https://github.com/googleapis/java-shared-dependencies/commit/4023c6063a2c5b5308da531df1a08c90c491965d)) +* update iam.version to v1.4.0 ([#700](https://github.com/googleapis/java-shared-dependencies/issues/700)) ([c1097a4](https://github.com/googleapis/java-shared-dependencies/commit/c1097a46ab0739b0b7234bc510e4c3d9ce2c2861)) +* update iam.version to v1.4.1 ([#716](https://github.com/googleapis/java-shared-dependencies/issues/716)) ([e2dc7c2](https://github.com/googleapis/java-shared-dependencies/commit/e2dc7c21c39e007878841e2664d548ec44a72d54)) + +## [2.12.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.11.0...v2.12.0) (2022-05-19) + + +### Features + +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-shared-dependencies/issues/1440)) ([#697](https://github.com/googleapis/java-shared-dependencies/issues/697)) ([f10ec4e](https://github.com/googleapis/java-shared-dependencies/commit/f10ec4e664d8fde868effe366b7182a5fad08dd0)) + + +### Dependencies + +* update gax.version to v2.18.1 ([#695](https://github.com/googleapis/java-shared-dependencies/issues/695)) ([09bc61c](https://github.com/googleapis/java-shared-dependencies/commit/09bc61c9152a99bfe87554a07324f15ae6217d6e)) +* update google.core.version to v2.7.1 ([#698](https://github.com/googleapis/java-shared-dependencies/issues/698)) ([43de259](https://github.com/googleapis/java-shared-dependencies/commit/43de2593f1a6e8fa5e34799364ab683246ddd449)) + +## [2.11.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.10.0...v2.11.0) (2022-05-18) + + +### Features + +* next release from main branch is 2.11.0 ([#674](https://github.com/googleapis/java-shared-dependencies/issues/674)) ([611e3b7](https://github.com/googleapis/java-shared-dependencies/commit/611e3b7c50108a71efc94415166b85d2bf8647e5)) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#689](https://github.com/googleapis/java-shared-dependencies/issues/689)) ([03897e3](https://github.com/googleapis/java-shared-dependencies/commit/03897e30a71f8f1aa37233da2433ee5afccc1d61)) +* update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#685](https://github.com/googleapis/java-shared-dependencies/issues/685)) ([9bc0557](https://github.com/googleapis/java-shared-dependencies/commit/9bc0557d8ce2f3d8dc7c8ffafdd36fd4c03e2df5)) +* update dependency com.google.api:api-common to v2.2.0 ([#690](https://github.com/googleapis/java-shared-dependencies/issues/690)) ([47a8736](https://github.com/googleapis/java-shared-dependencies/commit/47a87365e51f73132b15b054d85f8c9baa8e89f6)) +* update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#691](https://github.com/googleapis/java-shared-dependencies/issues/691)) ([ec6aab7](https://github.com/googleapis/java-shared-dependencies/commit/ec6aab72eaed43574efe47a696bba6a612f161bb)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#672](https://github.com/googleapis/java-shared-dependencies/issues/672)) ([8c7e530](https://github.com/googleapis/java-shared-dependencies/commit/8c7e530d3c7170b2fb76cc27a05164524ba4e00b)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#684](https://github.com/googleapis/java-shared-dependencies/issues/684)) ([1305356](https://github.com/googleapis/java-shared-dependencies/commit/1305356775247dbb641b60654ac56da43513088e)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#678](https://github.com/googleapis/java-shared-dependencies/issues/678)) ([3e6d4a1](https://github.com/googleapis/java-shared-dependencies/commit/3e6d4a1a8e5d45723071a62c99bb1ab87d2b2b84)) +* update dependency io.grpc:grpc-bom to v1.46.0 ([#680](https://github.com/googleapis/java-shared-dependencies/issues/680)) ([b8a052b](https://github.com/googleapis/java-shared-dependencies/commit/b8a052b75a1bc2703500b4f31c5c6dac887ab8be)) +* update dependency org.checkerframework:checker-qual to v3.22.0 ([#683](https://github.com/googleapis/java-shared-dependencies/issues/683)) ([b0a30cd](https://github.com/googleapis/java-shared-dependencies/commit/b0a30cdecae8dcfb3a6d36e3f194c39a0086673e)) +* update gax.version to v2.17.0 ([#687](https://github.com/googleapis/java-shared-dependencies/issues/687)) ([e0e89ea](https://github.com/googleapis/java-shared-dependencies/commit/e0e89eade481effc723c9c7261f2ebf4e5883621)) +* update gax.version to v2.18.0 ([#692](https://github.com/googleapis/java-shared-dependencies/issues/692)) ([9536612](https://github.com/googleapis/java-shared-dependencies/commit/9536612c77af1e4d912c5b63515ea6f750e53810)) +* update google.core.version to v2.6.1 ([#671](https://github.com/googleapis/java-shared-dependencies/issues/671)) ([e3d1aeb](https://github.com/googleapis/java-shared-dependencies/commit/e3d1aebed31f8e91109d5865afd9525ac3595c90)) +* update google.core.version to v2.7.0 ([#693](https://github.com/googleapis/java-shared-dependencies/issues/693)) ([2171677](https://github.com/googleapis/java-shared-dependencies/commit/2171677e16190de9f37dc16c924d829ea8ccd86c)) +* update iam.version to v1.3.2 ([#673](https://github.com/googleapis/java-shared-dependencies/issues/673)) ([9882baa](https://github.com/googleapis/java-shared-dependencies/commit/9882baa3ecc8d7584788af1916f0d8c5ec670b5c)) +* update iam.version to v1.3.3 ([#679](https://github.com/googleapis/java-shared-dependencies/issues/679)) ([9fe34c8](https://github.com/googleapis/java-shared-dependencies/commit/9fe34c89eabed5eeebad986bffeeeb64dbbc38c1)) +* update iam.version to v1.3.4 ([#686](https://github.com/googleapis/java-shared-dependencies/issues/686)) ([4e95b3a](https://github.com/googleapis/java-shared-dependencies/commit/4e95b3a1d4302812338c220df316391c19ef7473)) +* update opencensus.version to v0.31.1 ([#682](https://github.com/googleapis/java-shared-dependencies/issues/682)) ([5d25746](https://github.com/googleapis/java-shared-dependencies/commit/5d25746bc6c9329b240204cbe7b83e2fee4c6cb3)) + +## [2.10.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.9.0...v2.10.0) (2022-04-15) + + +### Dependencies + +* google-cloud-core 2.6.0 ([#668](https://github.com/googleapis/java-shared-dependencies/issues/668)) ([22f4d18](https://github.com/googleapis/java-shared-dependencies/commit/22f4d1809cbb9848174b3569ab527e4bef00d443)) +* reverting protobuf to 3.19.4 ([#657](https://github.com/googleapis/java-shared-dependencies/issues/657)) ([8501e6d](https://github.com/googleapis/java-shared-dependencies/commit/8501e6d842c10d2370bbd5d5246070134336bddd)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220328 ([#646](https://github.com/googleapis/java-shared-dependencies/issues/646)) ([7bfd6d7](https://github.com/googleapis/java-shared-dependencies/commit/7bfd6d7073859d1955b91b368c6713a72ffa14b6)) +* update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#662](https://github.com/googleapis/java-shared-dependencies/issues/662)) ([1b8e378](https://github.com/googleapis/java-shared-dependencies/commit/1b8e378fe0ccf2a28c759868caaf5ba593a95728)) +* update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#652](https://github.com/googleapis/java-shared-dependencies/issues/652)) ([1cc80ee](https://github.com/googleapis/java-shared-dependencies/commit/1cc80ee984ebcad9bc2a95e2f28c0a49fe924b37)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#669](https://github.com/googleapis/java-shared-dependencies/issues/669)) ([61b7834](https://github.com/googleapis/java-shared-dependencies/commit/61b78341b34a251722be4805a6bdd895cd64836c)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#654](https://github.com/googleapis/java-shared-dependencies/issues/654)) ([140ef40](https://github.com/googleapis/java-shared-dependencies/commit/140ef405bc17ed83f5ce177df59affca14fbe49c)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#658](https://github.com/googleapis/java-shared-dependencies/issues/658)) ([f6f93e5](https://github.com/googleapis/java-shared-dependencies/commit/f6f93e5b9172c9684623c4c148e4a8fe2fae1e94)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 ([#655](https://github.com/googleapis/java-shared-dependencies/issues/655)) ([20cd9ed](https://github.com/googleapis/java-shared-dependencies/commit/20cd9eda112c96836a5ab7485a4247ed2bc0edb8)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 ([#663](https://github.com/googleapis/java-shared-dependencies/issues/663)) ([f011a46](https://github.com/googleapis/java-shared-dependencies/commit/f011a46c551dba16851b4f8c919c40452fc5d5c3)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#651](https://github.com/googleapis/java-shared-dependencies/issues/651)) ([ad2ff73](https://github.com/googleapis/java-shared-dependencies/commit/ad2ff73207dd6493321c77d8eca0022baf13b4ce)) +* update dependency io.grpc:grpc-bom to v1.45.1 ([#647](https://github.com/googleapis/java-shared-dependencies/issues/647)) ([38e46fc](https://github.com/googleapis/java-shared-dependencies/commit/38e46fc4f03af0a02f30ce4a2fa222c71797ae15)) +* update dependency org.checkerframework:checker-qual to v3.21.4 ([#650](https://github.com/googleapis/java-shared-dependencies/issues/650)) ([125e80a](https://github.com/googleapis/java-shared-dependencies/commit/125e80ab2c3225a00c03f5ff5de94872ebb94303)) +* update gax.version to v2.15.0 ([#649](https://github.com/googleapis/java-shared-dependencies/issues/649)) ([c7f32a6](https://github.com/googleapis/java-shared-dependencies/commit/c7f32a68b14520104432282ac9598643700162eb)) +* update gax.version to v2.16.0 ([#664](https://github.com/googleapis/java-shared-dependencies/issues/664)) ([caaf941](https://github.com/googleapis/java-shared-dependencies/commit/caaf941643af04295f5527a0144587d7bf040862)) +* update google.common-protos.version to v2.8.1 ([#656](https://github.com/googleapis/java-shared-dependencies/issues/656)) ([df4a4a2](https://github.com/googleapis/java-shared-dependencies/commit/df4a4a2130a3cdb2965ea42962d1ea6a85506ba7)) +* update google.common-protos.version to v2.8.2 ([#659](https://github.com/googleapis/java-shared-dependencies/issues/659)) ([b499e2b](https://github.com/googleapis/java-shared-dependencies/commit/b499e2bc99506d48d26e35bf6e68c09409ce8b11)) +* update google.common-protos.version to v2.8.3 ([#660](https://github.com/googleapis/java-shared-dependencies/issues/660)) ([461081c](https://github.com/googleapis/java-shared-dependencies/commit/461081c0cf73057c1f6e07fc573453ad467a60ae)) +* update iam.version to v1.3.0 ([#648](https://github.com/googleapis/java-shared-dependencies/issues/648)) ([6670c4f](https://github.com/googleapis/java-shared-dependencies/commit/6670c4f61fcf075c543bfd148eea49796e0662ce)) +* update iam.version to v1.3.1 ([#661](https://github.com/googleapis/java-shared-dependencies/issues/661)) ([cc8fbe6](https://github.com/googleapis/java-shared-dependencies/commit/cc8fbe6eae03341c2ece7d3356febc843a74a812)) + +## [2.9.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.8.0...v2.9.0) (2022-03-28) + + +### Dependencies + +* guava 31.1 ([#635](https://github.com/googleapis/java-shared-dependencies/issues/635)) ([0939b06](https://github.com/googleapis/java-shared-dependencies/commit/0939b063a79cd4ffafb49cf04861ce577e35efd6)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2 ([#626](https://github.com/googleapis/java-shared-dependencies/issues/626)) ([6014663](https://github.com/googleapis/java-shared-dependencies/commit/601466339c9631faa88033d1ff1e31582fb67b7b)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220324 ([#636](https://github.com/googleapis/java-shared-dependencies/issues/636)) ([6c833fa](https://github.com/googleapis/java-shared-dependencies/commit/6c833faa7815147013999bfc2bb6935fd8fe6b34)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.4 ([#642](https://github.com/googleapis/java-shared-dependencies/issues/642)) ([57bd912](https://github.com/googleapis/java-shared-dependencies/commit/57bd9124ce8981b7b3b5d0c87b7c1e5f935b7150)) +* update dependency com.google.api:api-common to v2.1.5 ([#637](https://github.com/googleapis/java-shared-dependencies/issues/637)) ([d3a00fa](https://github.com/googleapis/java-shared-dependencies/commit/d3a00fa5ce9908000122d8365fb2f2d0e388494b)) +* update dependency com.google.auth:google-auth-library-bom to v1.6.0 ([#631](https://github.com/googleapis/java-shared-dependencies/issues/631)) ([53dc7c2](https://github.com/googleapis/java-shared-dependencies/commit/53dc7c2fe255a6c7ca059dd414449bf96780f936)) +* update dependency com.google.cloud:google-cloud-core-bom to v2.5.11 ([#644](https://github.com/googleapis/java-shared-dependencies/issues/644)) ([4331dcc](https://github.com/googleapis/java-shared-dependencies/commit/4331dcc331e8377fcc57e5404321611186ca22cb)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.5 ([#638](https://github.com/googleapis/java-shared-dependencies/issues/638)) ([e007d23](https://github.com/googleapis/java-shared-dependencies/commit/e007d2381bd388a1c199fc3f31d0b965f8ae592d)) +* update dependency io.grpc:grpc-bom to v1.45.0 ([#630](https://github.com/googleapis/java-shared-dependencies/issues/630)) ([20334e3](https://github.com/googleapis/java-shared-dependencies/commit/20334e30d256897cd7ef52c646e5c4549cd7ae69)) +* update dependency org.threeten:threetenbp to v1.6.0 ([#633](https://github.com/googleapis/java-shared-dependencies/issues/633)) ([1a2716d](https://github.com/googleapis/java-shared-dependencies/commit/1a2716d22e442c5cd6adea9449756b9ac3ddbf8e)) +* update gax.version to v2.13.0 ([#641](https://github.com/googleapis/java-shared-dependencies/issues/641)) ([b863746](https://github.com/googleapis/java-shared-dependencies/commit/b863746727fadd45c35198f58eb862f47fe14945)) +* update google.common-protos.version to v2.8.0 ([#639](https://github.com/googleapis/java-shared-dependencies/issues/639)) ([252afba](https://github.com/googleapis/java-shared-dependencies/commit/252afba1df8e4cfdf2574d127097b0978b7778c0)) +* update google.core.version to v2.5.10 ([#628](https://github.com/googleapis/java-shared-dependencies/issues/628)) ([fec6f51](https://github.com/googleapis/java-shared-dependencies/commit/fec6f5121384a04a389bad6f6477a9a5ce468016)) +* update iam.version to v1.2.10 ([#625](https://github.com/googleapis/java-shared-dependencies/issues/625)) ([0d7ca29](https://github.com/googleapis/java-shared-dependencies/commit/0d7ca2924bd24abe14883c173156bb4dc5fb90bf)) + +## [2.8.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.7.0...v2.8.0) (2022-03-02) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#602](https://github.com/googleapis/java-shared-dependencies/issues/602)) ([85b132f](https://github.com/googleapis/java-shared-dependencies/commit/85b132f5830772646025b6a9fbbb970a941b86b5)) +* update dependency com.google.api:api-common to v2.1.4 ([#605](https://github.com/googleapis/java-shared-dependencies/issues/605)) ([ca7d49a](https://github.com/googleapis/java-shared-dependencies/commit/ca7d49aee26b6d90abd2afd61c20861d2307fe9c)) +* update dependency com.google.auth:google-auth-library-bom to v1.5.3 ([#614](https://github.com/googleapis/java-shared-dependencies/issues/614)) ([e6413f3](https://github.com/googleapis/java-shared-dependencies/commit/e6413f3b1be78473ace7085c344eda2d78cdf01a)) +* update dependency com.google.cloud:google-cloud-core to v2.5.6 ([#621](https://github.com/googleapis/java-shared-dependencies/issues/621)) ([3d5669f](https://github.com/googleapis/java-shared-dependencies/commit/3d5669f215689dd2df71200ffe37d5a9d385cda8)) +* update dependency com.google.code.gson:gson to v2.9.0 ([#611](https://github.com/googleapis/java-shared-dependencies/issues/611)) ([f59c28d](https://github.com/googleapis/java-shared-dependencies/commit/f59c28d8cd30ada1237f7722135ba148dce6315e)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.4 ([#608](https://github.com/googleapis/java-shared-dependencies/issues/608)) ([f9a4f23](https://github.com/googleapis/java-shared-dependencies/commit/f9a4f23d3a32148ac59e53eaae6558ccbceca12c)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.1 ([#606](https://github.com/googleapis/java-shared-dependencies/issues/606)) ([3882494](https://github.com/googleapis/java-shared-dependencies/commit/3882494770d48fcc02ed19088aa06612a8e440eb)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#593](https://github.com/googleapis/java-shared-dependencies/issues/593)) ([1e155bf](https://github.com/googleapis/java-shared-dependencies/commit/1e155bfc957bbb7e25d2e0994cdecaa81843bdc5)) +* update dependency io.grpc:grpc-bom to v1.44.1 ([#613](https://github.com/googleapis/java-shared-dependencies/issues/613)) ([3038a2c](https://github.com/googleapis/java-shared-dependencies/commit/3038a2c86cd20c91b65f2d7926eeb739147a68db)) +* update dependency junit:junit to v4.13.2 ([#607](https://github.com/googleapis/java-shared-dependencies/issues/607)) ([987e617](https://github.com/googleapis/java-shared-dependencies/commit/987e61796c7a093e005fe8832cf39275c391b2c1)) +* update dependency org.checkerframework:checker-qual to v3.21.3 ([#596](https://github.com/googleapis/java-shared-dependencies/issues/596)) ([ac5083c](https://github.com/googleapis/java-shared-dependencies/commit/ac5083cd010924dc128f041c2cdbab20166a6bf0)) +* update gax.version to v2.12.2 ([#592](https://github.com/googleapis/java-shared-dependencies/issues/592)) ([713ff8d](https://github.com/googleapis/java-shared-dependencies/commit/713ff8dd94f939c417524616bc47c771a3fbe0cf)) +* update google.common-protos.version to v2.7.4 ([#603](https://github.com/googleapis/java-shared-dependencies/issues/603)) ([bb9b4c7](https://github.com/googleapis/java-shared-dependencies/commit/bb9b4c7e39552cc73b3b9d4c826b26e8cb74459f)) +* update google.core.version ([#599](https://github.com/googleapis/java-shared-dependencies/issues/599)) ([327d0df](https://github.com/googleapis/java-shared-dependencies/commit/327d0df9b57203c0d4f426de0380770d3d7910d6)) +* update iam.version to v1.2.6 ([#598](https://github.com/googleapis/java-shared-dependencies/issues/598)) ([2801439](https://github.com/googleapis/java-shared-dependencies/commit/280143964c7c3b93a8d7f67215ba2cc74ffce761)) + +## [2.7.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.6.0...v2.7.0) (2022-01-28) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.1 ([#555](https://github.com/googleapis/java-shared-dependencies/issues/555)) ([67b5663](https://github.com/googleapis/java-shared-dependencies/commit/67b56635509215fd132b2ffbcaed995a6de93879)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#580](https://github.com/googleapis/java-shared-dependencies/issues/580)) ([895dba2](https://github.com/googleapis/java-shared-dependencies/commit/895dba2afef6c295b0e21a4ccd27feee1b6af8e2)) +* update dependency com.google.api:api-common to v2.1.3 ([#587](https://github.com/googleapis/java-shared-dependencies/issues/587)) ([5dbbce8](https://github.com/googleapis/java-shared-dependencies/commit/5dbbce80baa045818757912e6db4f222c12b75f6)) +* update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#578](https://github.com/googleapis/java-shared-dependencies/issues/578)) ([c274c62](https://github.com/googleapis/java-shared-dependencies/commit/c274c62905192bcc48c82104bf50cbeaa1894c2b)) +* update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#582](https://github.com/googleapis/java-shared-dependencies/issues/582)) ([314da38](https://github.com/googleapis/java-shared-dependencies/commit/314da38c9f12cf425b5d1be8297e9f2a78d13948)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#579](https://github.com/googleapis/java-shared-dependencies/issues/579)) ([c8df06d](https://github.com/googleapis/java-shared-dependencies/commit/c8df06ddb3f4a975e928bbdd9dfae293e81efa39)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.0 ([#576](https://github.com/googleapis/java-shared-dependencies/issues/576)) ([3315988](https://github.com/googleapis/java-shared-dependencies/commit/3315988059ca0223f078b0f760960674bfa8c04a)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#571](https://github.com/googleapis/java-shared-dependencies/issues/571)) ([c1931e1](https://github.com/googleapis/java-shared-dependencies/commit/c1931e1c4611ca3d1e2afac1c9e983cf1ec4a7de)) +* update dependency io.grpc:grpc-bom to v1.44.0 ([#586](https://github.com/googleapis/java-shared-dependencies/issues/586)) ([52c47b7](https://github.com/googleapis/java-shared-dependencies/commit/52c47b7425af438ba1a82dac87f9002353a6a87a)) +* update dependency org.checkerframework:checker-qual to v3.21.1 ([#554](https://github.com/googleapis/java-shared-dependencies/issues/554)) ([81bbb91](https://github.com/googleapis/java-shared-dependencies/commit/81bbb91774ab67161371bfd0dfd143de89dee4c9)) +* update gax.version to v2.11.0 ([#581](https://github.com/googleapis/java-shared-dependencies/issues/581)) ([1899612](https://github.com/googleapis/java-shared-dependencies/commit/189961226f84cdd4e283780d2c7d4a4dffc3e00c)) +* update gax.version to v2.9.0 ([#573](https://github.com/googleapis/java-shared-dependencies/issues/573)) ([ee5e38e](https://github.com/googleapis/java-shared-dependencies/commit/ee5e38efea574eeb2b5803192da98ba1ce1c8e6e)) +* update google.common-protos.version to v2.7.2 ([#588](https://github.com/googleapis/java-shared-dependencies/issues/588)) ([caac0e6](https://github.com/googleapis/java-shared-dependencies/commit/caac0e68e336b801becb6322b5b81fce1824ad8a)) +* update google.core.version to v2.4.0 ([#589](https://github.com/googleapis/java-shared-dependencies/issues/589)) ([6a292e3](https://github.com/googleapis/java-shared-dependencies/commit/6a292e3530a06d6b228f3154ed4e979ef68d7aeb)) +* update iam.version to v1.2.1 ([#569](https://github.com/googleapis/java-shared-dependencies/issues/569)) ([62dd270](https://github.com/googleapis/java-shared-dependencies/commit/62dd2705b257c4bb539bfe619234f38d0e13b138)) +* update opencensus.version to v0.30.0 ([#552](https://github.com/googleapis/java-shared-dependencies/issues/552)) ([ebae62e](https://github.com/googleapis/java-shared-dependencies/commit/ebae62eca75234db4fd571f42b8ed0f6ce1bd1f7)) +* update opencensus.version to v0.31.0 ([#585](https://github.com/googleapis/java-shared-dependencies/issues/585)) ([021b066](https://github.com/googleapis/java-shared-dependencies/commit/021b066a833af1629c89fcca593d16b9786ee0bf)) + +## [2.6.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.5.1...v2.6.0) (2022-01-07) + + +### Bug Fixes + +* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-shared-dependencies/issues/1299)) ([#546](https://www.github.com/googleapis/java-shared-dependencies/issues/546)) ([d8bb8d9](https://www.github.com/googleapis/java-shared-dependencies/commit/d8bb8d9d8e3b8c582f768cd3164e8580ec334511)) +* **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-shared-dependencies/issues/1301)) ([#557](https://www.github.com/googleapis/java-shared-dependencies/issues/557)) ([6b57d08](https://www.github.com/googleapis/java-shared-dependencies/commit/6b57d08816ec6c1dfb637cae022624e896930ad8)) + + +### Dependencies + +* gRPC upgrade to 1.43.2 ([#567](https://www.github.com/googleapis/java-shared-dependencies/issues/567)) ([c946655](https://www.github.com/googleapis/java-shared-dependencies/commit/c94665571f26d24fbbb3f89ef5a3db99663bfdba)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#563](https://www.github.com/googleapis/java-shared-dependencies/issues/563)) ([0aedddb](https://www.github.com/googleapis/java-shared-dependencies/commit/0aedddb9a535753767d56f5910f355c7a1c8509c)) +* update dependency com.google.api:api-common to v2.1.2 ([2f154a3](https://www.github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#562](https://www.github.com/googleapis/java-shared-dependencies/issues/562)) ([6da0735](https://www.github.com/googleapis/java-shared-dependencies/commit/6da0735d4db9df998d11c549488a024b800bed65)) +* update dependency io.grpc:grpc-bom to v1.43.1 ([#553](https://www.github.com/googleapis/java-shared-dependencies/issues/553)) ([b787c8f](https://www.github.com/googleapis/java-shared-dependencies/commit/b787c8f2032b7ffc9797158c3ff214b7813f34b7)) +* update dependency org.apache.httpcomponents:httpcore to v4.4.15 ([#550](https://www.github.com/googleapis/java-shared-dependencies/issues/550)) ([e2d3dba](https://www.github.com/googleapis/java-shared-dependencies/commit/e2d3dbad6dd54c117abb5ab1b6137cfee4e5a32b)) +* update dependency org.checkerframework:checker-qual to v3.20.0 ([#549](https://www.github.com/googleapis/java-shared-dependencies/issues/549)) ([586df59](https://www.github.com/googleapis/java-shared-dependencies/commit/586df5949d4ddca11d0705d696882c32d8436c31)) +* update gax.version to v2.8.0 ([#564](https://www.github.com/googleapis/java-shared-dependencies/issues/564)) ([9ad5d4f](https://www.github.com/googleapis/java-shared-dependencies/commit/9ad5d4f5385753a0c5739ef400f5d346e3342b84)) +* update gax.version to v2.8.1 ([2f154a3](https://www.github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) +* update google.common-protos.version to v2.7.1 ([#561](https://www.github.com/googleapis/java-shared-dependencies/issues/561)) ([9aa860d](https://www.github.com/googleapis/java-shared-dependencies/commit/9aa860d92f745f1d4382eb16439bf17ac6ca8ae9)) +* update google.core.version to v2.3.5 ([#565](https://www.github.com/googleapis/java-shared-dependencies/issues/565)) ([2f154a3](https://www.github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) +* update iam.version to v1.2.0 ([#547](https://www.github.com/googleapis/java-shared-dependencies/issues/547)) ([3232c82](https://www.github.com/googleapis/java-shared-dependencies/commit/3232c828b628cb604a200b3e569e56e758e5e11d)) +* upgrading protobuf to 3.19.2 ([#560](https://www.github.com/googleapis/java-shared-dependencies/issues/560)) ([7ef3325](https://www.github.com/googleapis/java-shared-dependencies/commit/7ef33250f5473348d3546210b7a534360f476101)) + +### [2.5.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.5.0...v2.5.1) (2021-12-03) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.1 ([#533](https://www.github.com/googleapis/java-shared-dependencies/issues/533)) ([4e23adb](https://www.github.com/googleapis/java-shared-dependencies/commit/4e23adb666dfaa18ae8bf869aca030153de16d62)) +* update gax.version to v2.7.1 ([#544](https://www.github.com/googleapis/java-shared-dependencies/issues/544)) ([5a0c480](https://www.github.com/googleapis/java-shared-dependencies/commit/5a0c480671fa834e600edc6ac6fe77967d1b79b3)) +* update google.common-protos.version to v2.7.0 ([#542](https://www.github.com/googleapis/java-shared-dependencies/issues/542)) ([af97eb5](https://www.github.com/googleapis/java-shared-dependencies/commit/af97eb5d9cff397080fdb3d4a6dbf7c2692e0358)) +* update google.core.version to v2.3.3 ([#534](https://www.github.com/googleapis/java-shared-dependencies/issues/534)) ([885acef](https://www.github.com/googleapis/java-shared-dependencies/commit/885acefe4ff5313eb53dc43b4825ca597b97dcfd)) + +## [2.5.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.4.0...v2.5.0) (2021-11-12) + + +### Features + +* next release from main branch is 2.5.0 ([#510](https://www.github.com/googleapis/java-shared-dependencies/issues/510)) ([ca9eb8a](https://www.github.com/googleapis/java-shared-dependencies/commit/ca9eb8a40ae81d69de0d82d9499ef21b0136ae49)) + + +### Bug Fixes + +* dependencies.sh to work with Java 17 ([#516](https://www.github.com/googleapis/java-shared-dependencies/issues/516)) ([8422c1d](https://www.github.com/googleapis/java-shared-dependencies/commit/8422c1d7e9ef479f348e63c530789050b5235426)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.0 ([#508](https://www.github.com/googleapis/java-shared-dependencies/issues/508)) ([ae32d16](https://www.github.com/googleapis/java-shared-dependencies/commit/ae32d1689c78fc1469206c8c0df0ebaca59edd2c)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#506](https://www.github.com/googleapis/java-shared-dependencies/issues/506)) ([b9a8209](https://www.github.com/googleapis/java-shared-dependencies/commit/b9a82098655f29e858bd0c7a9b1049a379e5062a)) +* update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#524](https://www.github.com/googleapis/java-shared-dependencies/issues/524)) ([fc07879](https://www.github.com/googleapis/java-shared-dependencies/commit/fc07879fa6531e39b21977fe77abc19354a1fd33)) +* update dependency com.google.code.gson:gson to v2.8.9 ([#509](https://www.github.com/googleapis/java-shared-dependencies/issues/509)) ([bece99b](https://www.github.com/googleapis/java-shared-dependencies/commit/bece99bb3e0365e60e7376ba18d046ab6436a235)) +* update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#512](https://www.github.com/googleapis/java-shared-dependencies/issues/512)) ([c281f13](https://www.github.com/googleapis/java-shared-dependencies/commit/c281f137525e2111e97349657be578ed1fc832f2)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#505](https://www.github.com/googleapis/java-shared-dependencies/issues/505)) ([94cde96](https://www.github.com/googleapis/java-shared-dependencies/commit/94cde96069900f9f8c2ff9a522671d03b26828bd)) +* update dependency io.grpc:grpc-bom to v1.42.1 ([#513](https://www.github.com/googleapis/java-shared-dependencies/issues/513)) ([0d2b774](https://www.github.com/googleapis/java-shared-dependencies/commit/0d2b774287a132821cc6fe2789140086bc48d525)) +* update dependency org.checkerframework:checker-qual to v3.19.0 ([#501](https://www.github.com/googleapis/java-shared-dependencies/issues/501)) ([2b3e0b5](https://www.github.com/googleapis/java-shared-dependencies/commit/2b3e0b5ddc3a645b20a837f3123394f1ca114f08)) +* update dependency org.threeten:threetenbp to v1.5.2 ([#514](https://www.github.com/googleapis/java-shared-dependencies/issues/514)) ([4885f40](https://www.github.com/googleapis/java-shared-dependencies/commit/4885f402e2c70435cd10d4f1b893df9873808c56)) +* update gax.version to v2.7.0 ([#515](https://www.github.com/googleapis/java-shared-dependencies/issues/515)) ([567e728](https://www.github.com/googleapis/java-shared-dependencies/commit/567e728b0e59233a04e2d04183e6a0c36cca2437)) +* update google.core.version to v2.3.0 ([#530](https://www.github.com/googleapis/java-shared-dependencies/issues/530)) ([78e87e9](https://www.github.com/googleapis/java-shared-dependencies/commit/78e87e96befab34dc4a494e752aeb473cd14a156)) +* update iam.version to v1.1.7 ([#504](https://www.github.com/googleapis/java-shared-dependencies/issues/504)) ([63dd583](https://www.github.com/googleapis/java-shared-dependencies/commit/63dd583c80f35b01a66fd1908d41467468c66436)) + +## [2.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.3.0...v2.4.0) (2021-10-18) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.0 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.api:api-common to v2.0.5 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.guava:guava-bom to v31 ([#498](https://www.github.com/googleapis/java-shared-dependencies/issues/498)) ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#494](https://www.github.com/googleapis/java-shared-dependencies/issues/494)) ([a30e376](https://www.github.com/googleapis/java-shared-dependencies/commit/a30e3762b5fb0e2d31304d211c12eb2c1320f0c1)) +* update dependency io.grpc:grpc-bom to v1.41.0 ([#482](https://www.github.com/googleapis/java-shared-dependencies/issues/482)) ([8a7d227](https://www.github.com/googleapis/java-shared-dependencies/commit/8a7d227f2a1dab9ff23d247a4e6131c817804c36)) +* update gax.version to v2.6.1 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update iam.version to v1.1.6 ([#485](https://www.github.com/googleapis/java-shared-dependencies/issues/485)) ([cef7e09](https://www.github.com/googleapis/java-shared-dependencies/commit/cef7e090bbc2e3ae775fa83505f98df286ba7d42)) + +## [2.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.2.1...v2.3.0) (2021-09-22) + + +### Dependencies + +* keep protobuf at 3.17.3 (not the latest 3.18.0) ([#476](https://www.github.com/googleapis/java-shared-dependencies/issues/476)) ([e207c81](https://www.github.com/googleapis/java-shared-dependencies/commit/e207c818f220967e3618d7a9d36f2cf26c07892e)) +* update gax.version to v2.5.0 ([#479](https://www.github.com/googleapis/java-shared-dependencies/issues/479)) ([e22e62a](https://www.github.com/googleapis/java-shared-dependencies/commit/e22e62a3b248023ae94da2a02ec50006377a5157)) +* update google.core.version to v2.1.4 ([#473](https://www.github.com/googleapis/java-shared-dependencies/issues/473)) ([116f278](https://www.github.com/googleapis/java-shared-dependencies/commit/116f2783dfc18f215905ceaff9f85f331f83472b)) +* update google.core.version to v2.1.6 ([#478](https://www.github.com/googleapis/java-shared-dependencies/issues/478)) ([9e09728](https://www.github.com/googleapis/java-shared-dependencies/commit/9e0972834764b25e5e194e0e805efc5453120df3)) +* update iam.version to v1.1.1 ([#470](https://www.github.com/googleapis/java-shared-dependencies/issues/470)) ([3b6e960](https://www.github.com/googleapis/java-shared-dependencies/commit/3b6e96050af8d976a30165481d764d8226143a39)) +* update iam.version to v1.1.2 ([#472](https://www.github.com/googleapis/java-shared-dependencies/issues/472)) ([85329cc](https://www.github.com/googleapis/java-shared-dependencies/commit/85329cc6c13d16fe2eeeb076959ee16a752c1f9e)) + +### [2.2.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.2.0...v2.2.1) (2021-09-13) + + +### Dependencies + +* update gax.version to v2.4.1 ([#464](https://www.github.com/googleapis/java-shared-dependencies/issues/464)) ([bc7c6d7](https://www.github.com/googleapis/java-shared-dependencies/commit/bc7c6d7ca161ebfa31895c375d65bca29d4c7336)) +* update google.core.version to v2.1.3 ([#465](https://www.github.com/googleapis/java-shared-dependencies/issues/465)) ([848f608](https://www.github.com/googleapis/java-shared-dependencies/commit/848f608ae850bd2dd80ec56034eb0c9a18f0415b)) + +## [2.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.1.0...v2.2.0) (2021-08-31) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.5 ([#456](https://www.github.com/googleapis/java-shared-dependencies/issues/456)) ([05b58e8](https://www.github.com/googleapis/java-shared-dependencies/commit/05b58e84ff6617bdcbb1ea644aa6e061bdea0319)) +* update dependency com.google.api:api-common to v2.0.2 ([#450](https://www.github.com/googleapis/java-shared-dependencies/issues/450)) ([51caebe](https://www.github.com/googleapis/java-shared-dependencies/commit/51caebe89bfade98866f63952bf82bc663a0179a)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#455](https://www.github.com/googleapis/java-shared-dependencies/issues/455)) ([82a5e42](https://www.github.com/googleapis/java-shared-dependencies/commit/82a5e42b06570a2c7c9d53b03161b110a44487a1)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.32.1 ([#447](https://www.github.com/googleapis/java-shared-dependencies/issues/447)) ([9d2b895](https://www.github.com/googleapis/java-shared-dependencies/commit/9d2b8958f62daa6a3015a8ac052762fb3d79b35b)) +* update dependency io.grpc:grpc-bom to v1.40.1 ([#451](https://www.github.com/googleapis/java-shared-dependencies/issues/451)) ([df668ea](https://www.github.com/googleapis/java-shared-dependencies/commit/df668ead8830a40acf9d5605d47f93c465b779c0)) +* update gax.version to v2.4.0 ([#458](https://www.github.com/googleapis/java-shared-dependencies/issues/458)) ([a797d9e](https://www.github.com/googleapis/java-shared-dependencies/commit/a797d9eb8a4bcb3025a9511eae61271278a4a5c9)) +* update google.common-protos.version to v2.5.0 ([#457](https://www.github.com/googleapis/java-shared-dependencies/issues/457)) ([38c7bb9](https://www.github.com/googleapis/java-shared-dependencies/commit/38c7bb925414d90ff3065650d06589f79bcab9b6)) +* update google.core.version to v2.1.1 ([#449](https://www.github.com/googleapis/java-shared-dependencies/issues/449)) ([b28723a](https://www.github.com/googleapis/java-shared-dependencies/commit/b28723ace0c27ebc73f23a2d094e0fe9ba8a9075)) +* update google.core.version to v2.1.2 ([#459](https://www.github.com/googleapis/java-shared-dependencies/issues/459)) ([df4d5b7](https://www.github.com/googleapis/java-shared-dependencies/commit/df4d5b7717386f5e0e2cca87bd9afc56b2c7aee8)) +* update iam.version to v1.1.0 ([#448](https://www.github.com/googleapis/java-shared-dependencies/issues/448)) ([3967928](https://www.github.com/googleapis/java-shared-dependencies/commit/39679287f3ef8c1cbca5dfc8aca3f69cfee3d4a6)) + +## [2.1.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.0.1...v2.1.0) (2021-08-23) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#439](https://www.github.com/googleapis/java-shared-dependencies/issues/439)) ([ca52bd9](https://www.github.com/googleapis/java-shared-dependencies/commit/ca52bd9c099c96bf7b5a57aa85d39b58a610c875)) +* update dependency com.google.cloud:google-cloud-core-bom to v2.1.0 ([#444](https://www.github.com/googleapis/java-shared-dependencies/issues/444)) ([ff914c6](https://www.github.com/googleapis/java-shared-dependencies/commit/ff914c6de9e3e7fa6ba75591d3d5077c5421827d)) +* update dependency com.google.code.gson:gson to v2.8.8 ([#442](https://www.github.com/googleapis/java-shared-dependencies/issues/442)) ([79a093f](https://www.github.com/googleapis/java-shared-dependencies/commit/79a093f9ccea4d47cf8b678570a1c9699029a8b2)) +* update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#441](https://www.github.com/googleapis/java-shared-dependencies/issues/441)) ([e644a4b](https://www.github.com/googleapis/java-shared-dependencies/commit/e644a4b504ab8aa5771f9be36861d1730ea9bcc9)) +* update dependency io.grpc:grpc-bom to v1.40.0 ([#438](https://www.github.com/googleapis/java-shared-dependencies/issues/438)) ([c3f8fb4](https://www.github.com/googleapis/java-shared-dependencies/commit/c3f8fb4408f5dc6c7f7dc0e14f0c24fa755433a5)) +* update gax.version to v2.3.0 ([#437](https://www.github.com/googleapis/java-shared-dependencies/issues/437)) ([e59aaad](https://www.github.com/googleapis/java-shared-dependencies/commit/e59aaadd76e40ab5ea31c3e812686a4ba0471a49)) + +### [2.0.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.0.0...v2.0.1) (2021-08-11) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.1 ([#431](https://www.github.com/googleapis/java-shared-dependencies/issues/431)) ([b1a52c8](https://www.github.com/googleapis/java-shared-dependencies/commit/b1a52c83e19be7be80086f2010e928171b046f62)) +* update gax.version to v2.1.0 ([#432](https://www.github.com/googleapis/java-shared-dependencies/issues/432)) ([7f53006](https://www.github.com/googleapis/java-shared-dependencies/commit/7f53006d021e839f52325a87d7c4715eff88818d)) +* update google.core.version to v2.0.4 ([#430](https://www.github.com/googleapis/java-shared-dependencies/issues/430)) ([d0465ad](https://www.github.com/googleapis/java-shared-dependencies/commit/d0465ad3a79993d4e854078ea992e53ab9add07f)) +* update google.core.version to v2.0.5 ([#434](https://www.github.com/googleapis/java-shared-dependencies/issues/434)) ([af00753](https://www.github.com/googleapis/java-shared-dependencies/commit/af0075390034cba5cefede8260ab03f728d525a8)) + +## [2.0.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.4.0...v2.0.0) (2021-08-03) + + +### ⚠ BREAKING CHANGES + +* promote to 2.0.0 (#428) + +### Features + +* promote to 2.0.0 ([#428](https://www.github.com/googleapis/java-shared-dependencies/issues/428)) ([4db31f2](https://www.github.com/googleapis/java-shared-dependencies/commit/4db31f29f1668d4743e8af8996b0c4b30e6831b3)) + + +### Documentation + +* we don't use this as a parent pom ([#407](https://www.github.com/googleapis/java-shared-dependencies/issues/407)) ([4c86aaf](https://www.github.com/googleapis/java-shared-dependencies/commit/4c86aafc05097b6702056f5cb37736127b6df306)) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.4 ([#398](https://www.github.com/googleapis/java-shared-dependencies/issues/398)) ([f0d49b5](https://www.github.com/googleapis/java-shared-dependencies/commit/f0d49b54ba334f9351c66c9924e3d0d2ed7c0016)) +* update dependency com.google.api:api-common to v1.10.6 ([#411](https://www.github.com/googleapis/java-shared-dependencies/issues/411)) ([79801b5](https://www.github.com/googleapis/java-shared-dependencies/commit/79801b5fee08a8c97e275ed3674ab6c83b204a90)) +* update dependency com.google.api:api-common to v2 ([#414](https://www.github.com/googleapis/java-shared-dependencies/issues/414)) ([17f6e68](https://www.github.com/googleapis/java-shared-dependencies/commit/17f6e68a2792843dd41d3877c095e97c052c5ac0)) +* update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#400](https://www.github.com/googleapis/java-shared-dependencies/issues/400)) ([0d5a95b](https://www.github.com/googleapis/java-shared-dependencies/commit/0d5a95b84076684f84b0fdbb93a706113f44457d)) +* update dependency com.google.auth:google-auth-library-bom to v1 ([#413](https://www.github.com/googleapis/java-shared-dependencies/issues/413)) ([94897d3](https://www.github.com/googleapis/java-shared-dependencies/commit/94897d30bb1cac0059e272b058f6221fb7e4733f)) +* update dependency com.google.cloud:grpc-gcp to v1.1.0 ([#403](https://www.github.com/googleapis/java-shared-dependencies/issues/403)) ([3cc59f1](https://www.github.com/googleapis/java-shared-dependencies/commit/3cc59f15ebb31a7f97c9f3d78057022afabe75e9)) +* update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#406](https://www.github.com/googleapis/java-shared-dependencies/issues/406)) ([2905787](https://www.github.com/googleapis/java-shared-dependencies/commit/29057879adeda8bc40a903ef3b5feafc83c3d972)) +* update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#426](https://www.github.com/googleapis/java-shared-dependencies/issues/426)) ([853b68b](https://www.github.com/googleapis/java-shared-dependencies/commit/853b68b16c88c3abb745ee1f71ba4bb317cbc680)) +* update gax.version to v1.67.0 ([#405](https://www.github.com/googleapis/java-shared-dependencies/issues/405)) ([632dcd0](https://www.github.com/googleapis/java-shared-dependencies/commit/632dcd0a9f10b034a2a2ec92c7c3413490dd2a03)) +* update gax.version to v2 (major) ([#418](https://www.github.com/googleapis/java-shared-dependencies/issues/418)) ([670a9e0](https://www.github.com/googleapis/java-shared-dependencies/commit/670a9e0a9588a7e592eb5dd8c0cb9ab08e07293e)) +* update google.core.version to v1.96.1 ([#417](https://www.github.com/googleapis/java-shared-dependencies/issues/417)) ([49db9cb](https://www.github.com/googleapis/java-shared-dependencies/commit/49db9cb473c8d3d794ad57a41cfc223239482174)) +* update google.core.version to v2 (major) ([#427](https://www.github.com/googleapis/java-shared-dependencies/issues/427)) ([8cc7a92](https://www.github.com/googleapis/java-shared-dependencies/commit/8cc7a922cc3ba10a157e3649d7a783bbbcbee010)) +* update guava to 30.1.1-jre ([#423](https://www.github.com/googleapis/java-shared-dependencies/issues/423)) ([94aca59](https://www.github.com/googleapis/java-shared-dependencies/commit/94aca597804d7b45aae22811b277c44281e62d64)) + +## [1.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.3.0...v1.4.0) (2021-06-30) + + +### Features + +* add grpc-gcp to dependencyManagement ([#389](https://www.github.com/googleapis/java-shared-dependencies/issues/389)) ([57fd2e6](https://www.github.com/googleapis/java-shared-dependencies/commit/57fd2e646e28e37e0b5e4e1b37425d4897a8776f)) + + +### Bug Fixes + +* Add `shopt -s nullglob` to dependencies script ([#392](https://www.github.com/googleapis/java-shared-dependencies/issues/392)) ([f8f29df](https://www.github.com/googleapis/java-shared-dependencies/commit/f8f29df1c9cc6eca517c99113fb9509fd611ac92)) +* Add common httpclient and oauth dependencies ([#391](https://www.github.com/googleapis/java-shared-dependencies/issues/391)) ([09660e1](https://www.github.com/googleapis/java-shared-dependencies/commit/09660e1e50c96dcd7df4e80d8ad357f8256eda6c)) +* Update dependencies.sh to not break on mac ([#384](https://www.github.com/googleapis/java-shared-dependencies/issues/384)) ([0ae2841](https://www.github.com/googleapis/java-shared-dependencies/commit/0ae2841d7ce2885d041795c58a38d2d3973c2e5a)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#390](https://www.github.com/googleapis/java-shared-dependencies/issues/390)) ([00288c1](https://www.github.com/googleapis/java-shared-dependencies/commit/00288c18d09616582c8bec961ecc5c00ef1d4288)) +* update dependency com.google.api:api-common to v1.10.4 ([#385](https://www.github.com/googleapis/java-shared-dependencies/issues/385)) ([5f2b39b](https://www.github.com/googleapis/java-shared-dependencies/commit/5f2b39b5bdc4cec9d5ab2f050e11000ed372d057)) +* update dependency com.google.api:gax-grpc to v1.65.1 ([#382](https://www.github.com/googleapis/java-shared-dependencies/issues/382)) ([a2a1547](https://www.github.com/googleapis/java-shared-dependencies/commit/a2a15471dee21207a0b97b3bc8f6f59d6a4a2d13)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#379](https://www.github.com/googleapis/java-shared-dependencies/issues/379)) ([6f43eb5](https://www.github.com/googleapis/java-shared-dependencies/commit/6f43eb553dca98140d343bee3f1003096d79ee6c)) +* update dependency io.grpc:grpc-bom to v1.38.1 ([#386](https://www.github.com/googleapis/java-shared-dependencies/issues/386)) ([7b1d4cf](https://www.github.com/googleapis/java-shared-dependencies/commit/7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca)) +* update dependency io.grpc:grpc-bom to v1.39.0 ([#394](https://www.github.com/googleapis/java-shared-dependencies/issues/394)) ([ebc8af6](https://www.github.com/googleapis/java-shared-dependencies/commit/ebc8af6b3f850b58b35d9720a7a0b1545d4616bd)) +* update gax.version to v1.66.0 ([#395](https://www.github.com/googleapis/java-shared-dependencies/issues/395)) ([c73f73e](https://www.github.com/googleapis/java-shared-dependencies/commit/c73f73e84740a8117be342a66e179eaf3e29c6fd)) +* update google.core.version to v1.95.1 ([#381](https://www.github.com/googleapis/java-shared-dependencies/issues/381)) ([4496153](https://www.github.com/googleapis/java-shared-dependencies/commit/44961532f621b0ab19e9e7feebb7d588aef5d423)) +* update google.core.version to v1.95.2 ([#383](https://www.github.com/googleapis/java-shared-dependencies/issues/383)) ([7216859](https://www.github.com/googleapis/java-shared-dependencies/commit/7216859bcd67fa1ce1119831c33c50a2d5b79324)) +* update google.core.version to v1.95.3 ([#388](https://www.github.com/googleapis/java-shared-dependencies/issues/388)) ([354e4e8](https://www.github.com/googleapis/java-shared-dependencies/commit/354e4e811f4ba886406681a4261ac0455a9eb2d2)) +* update google.core.version to v1.95.4 ([#393](https://www.github.com/googleapis/java-shared-dependencies/issues/393)) ([be78ad8](https://www.github.com/googleapis/java-shared-dependencies/commit/be78ad85e31d8876eabafee7aa8242712573cb46)) + +## [1.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.2.0...v1.3.0) (2021-06-03) + + +### Features + +* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#365](https://www.github.com/googleapis/java-shared-dependencies/issues/365)) ([7e8309b](https://www.github.com/googleapis/java-shared-dependencies/commit/7e8309bf67ade0fe2b09f792848136cd88b4d2e4)) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#368](https://www.github.com/googleapis/java-shared-dependencies/issues/368)) ([38256a8](https://www.github.com/googleapis/java-shared-dependencies/commit/38256a82cb6896c3f5e5ea6ca5d8d671c412bf84)) +* update dependency com.google.cloud:google-cloud-core-bom to v1.95.0 ([#377](https://www.github.com/googleapis/java-shared-dependencies/issues/377)) ([297ea62](https://www.github.com/googleapis/java-shared-dependencies/commit/297ea621e02f8c0679c8b07ed399d11eaacecc14)) +* update dependency com.google.code.gson:gson to v2.8.7 ([#370](https://www.github.com/googleapis/java-shared-dependencies/issues/370)) ([cdc1b8e](https://www.github.com/googleapis/java-shared-dependencies/commit/cdc1b8ea1c93f97b712081ca8dc8ea57f342b69e)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#369](https://www.github.com/googleapis/java-shared-dependencies/issues/369)) ([5a19574](https://www.github.com/googleapis/java-shared-dependencies/commit/5a19574bc626bb3c6b573ed1d177e8907188dec1)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#374](https://www.github.com/googleapis/java-shared-dependencies/issues/374)) ([83516e6](https://www.github.com/googleapis/java-shared-dependencies/commit/83516e691b99e5e5d22d27e561781a5ade5fb514)) +* update dependency io.grpc:grpc-bom to v1.38.0 ([#364](https://www.github.com/googleapis/java-shared-dependencies/issues/364)) ([00db570](https://www.github.com/googleapis/java-shared-dependencies/commit/00db5701c3b0aa609f3778c06911a9a0248ca342)) +* update gax.version to v1.65.0 ([#376](https://www.github.com/googleapis/java-shared-dependencies/issues/376)) ([b793a0d](https://www.github.com/googleapis/java-shared-dependencies/commit/b793a0d7744ff1b0f8ae5d3d13ec4776ae8d3089)) +* update google.common-protos.version to v2.3.1 ([#366](https://www.github.com/googleapis/java-shared-dependencies/issues/366)) ([7d6a7fa](https://www.github.com/googleapis/java-shared-dependencies/commit/7d6a7fa7a2cad2b3f2ecf45e42d2ed5db0b60a43)) +* update google.common-protos.version to v2.3.2 ([#375](https://www.github.com/googleapis/java-shared-dependencies/issues/375)) ([68a47ad](https://www.github.com/googleapis/java-shared-dependencies/commit/68a47ad3243f3e980db74c9c8505a1b3063c131b)) + +## [1.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.1.0...v1.2.0) (2021-05-18) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#353](https://www.github.com/googleapis/java-shared-dependencies/issues/353)) ([8d72ab0](https://www.github.com/googleapis/java-shared-dependencies/commit/8d72ab003e08c864aedc17fc190ba26f393bf0c7)) +* update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#360](https://www.github.com/googleapis/java-shared-dependencies/issues/360)) ([8f952d0](https://www.github.com/googleapis/java-shared-dependencies/commit/8f952d05745358fc426a1a2dcb688da5d5010239)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#355](https://www.github.com/googleapis/java-shared-dependencies/issues/355)) ([09858fb](https://www.github.com/googleapis/java-shared-dependencies/commit/09858fb4f1b78a77e828501597d20df4db0ebfcf)) +* update dependency io.grpc:grpc-bom to v1.37.1 ([#359](https://www.github.com/googleapis/java-shared-dependencies/issues/359)) ([bc9869e](https://www.github.com/googleapis/java-shared-dependencies/commit/bc9869e914314f951afd69f2acae95c414398f43)) +* update google.common-protos.version to v2.2.1 ([#358](https://www.github.com/googleapis/java-shared-dependencies/issues/358)) ([a3ed764](https://www.github.com/googleapis/java-shared-dependencies/commit/a3ed764a0e5143ee323d4b69c9747b8265d349e2)) +* update iam.version to v1.0.14 ([#352](https://www.github.com/googleapis/java-shared-dependencies/issues/352)) ([bea9a01](https://www.github.com/googleapis/java-shared-dependencies/commit/bea9a01788ac1332a4bc7e06574ef5701700fe90)) + +## [1.1.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.0.0...v1.1.0) (2021-05-10) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.16.0 ([#348](https://www.github.com/googleapis/java-shared-dependencies/issues/348)) ([0aacfde](https://www.github.com/googleapis/java-shared-dependencies/commit/0aacfdeec70e30803734db8287c47e4fad5481ef)) +* update gax.version to v1.64.0 ([#345](https://www.github.com/googleapis/java-shared-dependencies/issues/345)) ([478bd35](https://www.github.com/googleapis/java-shared-dependencies/commit/478bd35296293e81c7e70157f50bfbebdc1bb54d)) +* update iam.version to v1.0.13 ([#343](https://www.github.com/googleapis/java-shared-dependencies/issues/343)) ([3637923](https://www.github.com/googleapis/java-shared-dependencies/commit/363792392b71deff5cc5731104b631122fba5e61)) + +## [1.0.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.21.1...v1.0.0) (2021-04-23) + + +### Features + +* promote to 1.0.0 ([#341](https://www.github.com/googleapis/java-shared-dependencies/issues/341)) ([eddce7b](https://www.github.com/googleapis/java-shared-dependencies/commit/eddce7bda196d757c0bb93a05574cc742e3d7ff6)) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.3 ([#340](https://www.github.com/googleapis/java-shared-dependencies/issues/340)) ([6a7fc33](https://www.github.com/googleapis/java-shared-dependencies/commit/6a7fc33548c199d5f310b3ee5024907882d22726)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#334](https://www.github.com/googleapis/java-shared-dependencies/issues/334)) ([e5c747d](https://www.github.com/googleapis/java-shared-dependencies/commit/e5c747d245194effc258ae706e7764153010cd53)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#338](https://www.github.com/googleapis/java-shared-dependencies/issues/338)) ([ffa1df5](https://www.github.com/googleapis/java-shared-dependencies/commit/ffa1df5497b5365f520b665a202b8caf6521fc9d)) +* update dependency org.threeten:threetenbp to v1.5.1 ([#335](https://www.github.com/googleapis/java-shared-dependencies/issues/335)) ([c8c6df4](https://www.github.com/googleapis/java-shared-dependencies/commit/c8c6df48e7f80944544939e502f4f08543af2631)) +* update google.core.version to v1.94.8 ([#342](https://www.github.com/googleapis/java-shared-dependencies/issues/342)) ([d946dd2](https://www.github.com/googleapis/java-shared-dependencies/commit/d946dd2299aac32f969a2226a1391e1e73f00e62)) + +### [0.21.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.21.0...v0.21.1) (2021-04-19) + + +### Bug Fixes + +* release scripts from issuing overlapping phases ([#332](https://www.github.com/googleapis/java-shared-dependencies/issues/332)) ([e289825](https://www.github.com/googleapis/java-shared-dependencies/commit/e289825a3bc45b4796db7ce4347f8d9d9251a410)) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.3 ([#329](https://www.github.com/googleapis/java-shared-dependencies/issues/329)) ([a77b4fc](https://www.github.com/googleapis/java-shared-dependencies/commit/a77b4fcc2ea5caf366c76a4698bac6d4c9abc92e)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#326](https://www.github.com/googleapis/java-shared-dependencies/issues/326)) ([409d24f](https://www.github.com/googleapis/java-shared-dependencies/commit/409d24f8a0cac30e41ca45eb2711aecb335d70dd)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.3 ([#328](https://www.github.com/googleapis/java-shared-dependencies/issues/328)) ([88cfc08](https://www.github.com/googleapis/java-shared-dependencies/commit/88cfc08952881200e23ed95cfa2eebad85ec7ab3)) +* update google.core.version to v1.94.7 ([#324](https://www.github.com/googleapis/java-shared-dependencies/issues/324)) ([0412c88](https://www.github.com/googleapis/java-shared-dependencies/commit/0412c88468940c1182bc0761bfe269a6688fe7b7)) +* update iam.version to v1.0.12 ([#327](https://www.github.com/googleapis/java-shared-dependencies/issues/327)) ([548d5f5](https://www.github.com/googleapis/java-shared-dependencies/commit/548d5f53c4f264f1cbb9ca72fdfe4608ab16b480)) + +## [0.21.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.1...v0.21.0) (2021-04-09) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v0.25.0 ([#310](https://www.github.com/googleapis/java-shared-dependencies/issues/310)) ([8f3a0f0](https://www.github.com/googleapis/java-shared-dependencies/commit/8f3a0f002b787f7b27cfe031654fa20bf342f839)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#311](https://www.github.com/googleapis/java-shared-dependencies/issues/311)) ([6c47a3e](https://www.github.com/googleapis/java-shared-dependencies/commit/6c47a3edbd9da04ba255487a66c0f3a41393217d)) +* update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#315](https://www.github.com/googleapis/java-shared-dependencies/issues/315)) ([dc254ca](https://www.github.com/googleapis/java-shared-dependencies/commit/dc254ca7359b68fe9411f7b96130ffb416b45c6f)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#309](https://www.github.com/googleapis/java-shared-dependencies/issues/309)) ([37225e2](https://www.github.com/googleapis/java-shared-dependencies/commit/37225e2d1b32a618765391720b57ff29e7b8f7f9)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#321](https://www.github.com/googleapis/java-shared-dependencies/issues/321)) ([273c66d](https://www.github.com/googleapis/java-shared-dependencies/commit/273c66d374f7cd6040aac2f302fd1c1dc0f4a1c0)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#308](https://www.github.com/googleapis/java-shared-dependencies/issues/308)) ([b29dd05](https://www.github.com/googleapis/java-shared-dependencies/commit/b29dd0535f02b56607f64ba69e85d4d468902789)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#316](https://www.github.com/googleapis/java-shared-dependencies/issues/316)) ([9c00d77](https://www.github.com/googleapis/java-shared-dependencies/commit/9c00d7753c1f7b963deb9ad69dcfe24ba28da5a2)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#319](https://www.github.com/googleapis/java-shared-dependencies/issues/319)) ([15e5ae2](https://www.github.com/googleapis/java-shared-dependencies/commit/15e5ae2ef46eedcd790ffd8644677d36db5c63f9)) +* update dependency io.grpc:grpc-bom to v1.37.0 ([#313](https://www.github.com/googleapis/java-shared-dependencies/issues/313)) ([c599351](https://www.github.com/googleapis/java-shared-dependencies/commit/c5993511c7305e1ced42d73552a93a25dc5e1ac1)) +* update gax.version to v1.63.0 ([#318](https://www.github.com/googleapis/java-shared-dependencies/issues/318)) ([ba709da](https://www.github.com/googleapis/java-shared-dependencies/commit/ba709da6fb0e9bcfc83e663588336598737b46e4)) +* update google.core.version to v1.94.4 ([#305](https://www.github.com/googleapis/java-shared-dependencies/issues/305)) ([0d38f4c](https://www.github.com/googleapis/java-shared-dependencies/commit/0d38f4c9ffadcfd9446712b8bf0729399b0c9e91)) +* update google.core.version to v1.94.5 ([#320](https://www.github.com/googleapis/java-shared-dependencies/issues/320)) ([3439721](https://www.github.com/googleapis/java-shared-dependencies/commit/3439721da83a8b92d9c4b6ecfd158cfb1e1a0503)) +* update guava to 30.1.1-android ([#322](https://www.github.com/googleapis/java-shared-dependencies/issues/322)) ([a6b5d3b](https://www.github.com/googleapis/java-shared-dependencies/commit/a6b5d3b8ccfc352bf0d1678952ce3cd8b7a8361e)) +* update iam.version to v1.0.11 ([#304](https://www.github.com/googleapis/java-shared-dependencies/issues/304)) ([95a5264](https://www.github.com/googleapis/java-shared-dependencies/commit/95a526442b3d24c83782523d38dd3931e828d757)) + +### [0.20.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.0...v0.20.1) (2021-03-09) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 ([#301](https://www.github.com/googleapis/java-shared-dependencies/issues/301)) ([7c01eba](https://www.github.com/googleapis/java-shared-dependencies/commit/7c01ebabb6fd65b7404e56651b0ba27f505bb033)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#295](https://www.github.com/googleapis/java-shared-dependencies/issues/295)) ([a0774e9](https://www.github.com/googleapis/java-shared-dependencies/commit/a0774e9d62d00614142bc4c14214a83dda66d4ad)) +* update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 ([#292](https://www.github.com/googleapis/java-shared-dependencies/issues/292)) ([b629789](https://www.github.com/googleapis/java-shared-dependencies/commit/b629789e3a1cc9a7308b829c034b09b06e24fc07)) +* update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#293](https://www.github.com/googleapis/java-shared-dependencies/issues/293)) ([d85ec34](https://www.github.com/googleapis/java-shared-dependencies/commit/d85ec347ccdd14dfdab10d365d2c2f8df3035e4d)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#294](https://www.github.com/googleapis/java-shared-dependencies/issues/294)) ([58c01aa](https://www.github.com/googleapis/java-shared-dependencies/commit/58c01aa076e2c4954986185f913bac2c51a1e6fb)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#302](https://www.github.com/googleapis/java-shared-dependencies/issues/302)) ([e9d5e6e](https://www.github.com/googleapis/java-shared-dependencies/commit/e9d5e6ee6039915da186315ceada673ac37b88d3)) +* update google.core.version to v1.94.2 ([#296](https://www.github.com/googleapis/java-shared-dependencies/issues/296)) ([af83b90](https://www.github.com/googleapis/java-shared-dependencies/commit/af83b901be0c03d507189999215d35345602fad7)) +* update google.core.version to v1.94.3 ([#300](https://www.github.com/googleapis/java-shared-dependencies/issues/300)) ([3e73176](https://www.github.com/googleapis/java-shared-dependencies/commit/3e73176af0b07dfe621163b301174b5b5820dfa2)) + +## [0.20.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.19.0...v0.20.0) (2021-02-25) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#284](https://www.github.com/googleapis/java-shared-dependencies/issues/284)) ([5e4914c](https://www.github.com/googleapis/java-shared-dependencies/commit/5e4914cc4a8ccd41a219f150a7455da116d1594b)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([#288](https://www.github.com/googleapis/java-shared-dependencies/issues/288)) ([70bb862](https://www.github.com/googleapis/java-shared-dependencies/commit/70bb862029b840fbd99ba0109fa2b8f585812793)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#282](https://www.github.com/googleapis/java-shared-dependencies/issues/282)) ([44283bd](https://www.github.com/googleapis/java-shared-dependencies/commit/44283bdfdc9288b4a8d16b6ed3a61541792d147e)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#287](https://www.github.com/googleapis/java-shared-dependencies/issues/287)) ([bdae560](https://www.github.com/googleapis/java-shared-dependencies/commit/bdae5600f9033219ef8beb6c4d1c521fb062eaec)) +* update dependency io.grpc:grpc-bom to v1.36.0 ([#285](https://www.github.com/googleapis/java-shared-dependencies/issues/285)) ([c59771b](https://www.github.com/googleapis/java-shared-dependencies/commit/c59771b2436ac1a4fbc92b48049900472dd6d3ff)) +* update gax.version to v1.62.0 ([#291](https://www.github.com/googleapis/java-shared-dependencies/issues/291)) ([66bd070](https://www.github.com/googleapis/java-shared-dependencies/commit/66bd0702bd3deb64e0f6c73635e0ffd51a4d637e)) +* update google.common-protos.version to v2.1.0 ([#289](https://www.github.com/googleapis/java-shared-dependencies/issues/289)) ([43c9f02](https://www.github.com/googleapis/java-shared-dependencies/commit/43c9f026b1fa82f38dcb93b902281c2559e82d8e)) +* update iam.version to v1.0.9 ([#281](https://www.github.com/googleapis/java-shared-dependencies/issues/281)) ([ee44d0b](https://www.github.com/googleapis/java-shared-dependencies/commit/ee44d0b41e101931ccf5de2561dfcfcc9ff88b88)) + +## [0.19.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.18.0...v0.19.0) (2021-02-19) + + +### Bug Fixes + +* update repo name ([#274](https://www.github.com/googleapis/java-shared-dependencies/issues/274)) ([4a98470](https://www.github.com/googleapis/java-shared-dependencies/commit/4a98470b7493c98137191b7bb3cabca23f98628f)) + + +### Dependencies + +* downgrade opencensus version back to 0.28.0 ([#265](https://www.github.com/googleapis/java-shared-dependencies/issues/265)) ([f37025c](https://www.github.com/googleapis/java-shared-dependencies/commit/f37025c70f951b1e34904ee983815c0ed8ec4086)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#254](https://www.github.com/googleapis/java-shared-dependencies/issues/254)) ([1b0b4a6](https://www.github.com/googleapis/java-shared-dependencies/commit/1b0b4a637cae0c22cd0336c527002025780317d5)) +* update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#261](https://www.github.com/googleapis/java-shared-dependencies/issues/261)) ([1c0b7bd](https://www.github.com/googleapis/java-shared-dependencies/commit/1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706)) +* update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#272](https://www.github.com/googleapis/java-shared-dependencies/issues/272)) ([44fd4c3](https://www.github.com/googleapis/java-shared-dependencies/commit/44fd4c3c6cae98bd514525f03462b830050828a8)) +* update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#255](https://www.github.com/googleapis/java-shared-dependencies/issues/255)) ([6367023](https://www.github.com/googleapis/java-shared-dependencies/commit/63670233424e8f24c3924bba5e2cb6ca97525795)) +* update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#253](https://www.github.com/googleapis/java-shared-dependencies/issues/253)) ([ad87c74](https://www.github.com/googleapis/java-shared-dependencies/commit/ad87c74d9d893726042156d65850806d92e79952)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#278](https://www.github.com/googleapis/java-shared-dependencies/issues/278)) ([989efbd](https://www.github.com/googleapis/java-shared-dependencies/commit/989efbd29bcf4135f7abce49a697303df2cf1a60)) +* update dependency io.grpc:grpc-bom to v1.35.0 ([#248](https://www.github.com/googleapis/java-shared-dependencies/issues/248)) ([7a28c6e](https://www.github.com/googleapis/java-shared-dependencies/commit/7a28c6e7053c181993b1288adcae56de89312113)) +* update gax.version to v1.61.0 ([#277](https://www.github.com/googleapis/java-shared-dependencies/issues/277)) ([f1c3fb9](https://www.github.com/googleapis/java-shared-dependencies/commit/f1c3fb9295f2e1c130b9fc329faa60f4f8474ba6)) +* update iam.version to v1.0.7 ([#252](https://www.github.com/googleapis/java-shared-dependencies/issues/252)) ([5cb3ed9](https://www.github.com/googleapis/java-shared-dependencies/commit/5cb3ed906537269cd7f8d9ccf4b065754b5f5b48)) +* update iam.version to v1.0.8 ([#273](https://www.github.com/googleapis/java-shared-dependencies/issues/273)) ([4d5e7f7](https://www.github.com/googleapis/java-shared-dependencies/commit/4d5e7f720d847918b307a83c95cea10c244ba595)) + +## [0.18.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.1...v0.18.0) (2021-01-13) + + +### Features + +* add commons-codec to dependencyManagement ([#251](https://www.github.com/googleapis/java-shared-dependencies/issues/251)) ([4ee990d](https://www.github.com/googleapis/java-shared-dependencies/commit/4ee990d79c9207c81155f6ee9279308a2d4d0f9d)) + + +### Dependencies + +* update dependency com.google.errorprone:error_prone_annotations to v2.5.0 ([#247](https://www.github.com/googleapis/java-shared-dependencies/issues/247)) ([37c0861](https://www.github.com/googleapis/java-shared-dependencies/commit/37c0861cfb89f13a0682c98067c633b13b30b827)) + +### [0.17.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.0...v0.17.1) (2021-01-12) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.1 ([#245](https://www.github.com/googleapis/java-shared-dependencies/issues/245)) ([5ffc8a0](https://www.github.com/googleapis/java-shared-dependencies/commit/5ffc8a0d173ea0222ac9610ece0ac2aeb1d17f27)) + +## [0.17.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.16.1...v0.17.0) (2020-12-15) + + +### Dependencies + +* update dependency com.google.guava:guava-bom to v30.1-android ([#236](https://www.github.com/googleapis/java-shared-dependencies/issues/236)) ([78ebf7f](https://www.github.com/googleapis/java-shared-dependencies/commit/78ebf7fcec3ec0308ccd5103b719f02dde7ec6d8)) +* update dependency io.grpc:grpc-bom to v1.34.1 ([#238](https://www.github.com/googleapis/java-shared-dependencies/issues/238)) ([ee7e020](https://www.github.com/googleapis/java-shared-dependencies/commit/ee7e020a4631f2b288d1c6f5d681423d156e3c2d)) +* update iam.version to v1.0.5 ([#237](https://www.github.com/googleapis/java-shared-dependencies/issues/237)) ([bbe6be6](https://www.github.com/googleapis/java-shared-dependencies/commit/bbe6be650a93cf365f2439ae9c8bebf2ade83ddd)) + +### [0.16.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.16.0...v0.16.1) (2020-12-14) + + +### Dependencies + +* rollback gRPC to 1.33.1 ([#234](https://www.github.com/googleapis/java-shared-dependencies/issues/234)) ([67cc384](https://www.github.com/googleapis/java-shared-dependencies/commit/67cc384bacab8592d5bbc92db2469affee473eb7)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.1 ([#229](https://www.github.com/googleapis/java-shared-dependencies/issues/229)) ([1c13161](https://www.github.com/googleapis/java-shared-dependencies/commit/1c13161fa289cd5f3923f389fd5b14f3b7b4a84d)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#235](https://www.github.com/googleapis/java-shared-dependencies/issues/235)) ([67434eb](https://www.github.com/googleapis/java-shared-dependencies/commit/67434eb4bb0789abcabb3055155672b2c2e70125)) +* update iam.version to v1.0.4 ([#231](https://www.github.com/googleapis/java-shared-dependencies/issues/231)) ([5edf99e](https://www.github.com/googleapis/java-shared-dependencies/commit/5edf99e0149a1b70eb52b8921e9eb04fb84d9160)) + +## [0.16.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.15.0...v0.16.0) (2020-12-02) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.0 ([#225](https://www.github.com/googleapis/java-shared-dependencies/issues/225)) ([b78a1ef](https://www.github.com/googleapis/java-shared-dependencies/commit/b78a1ef83ad946b0d29cd0dff46e48fbde44d120)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#215](https://www.github.com/googleapis/java-shared-dependencies/issues/215)) ([08d643a](https://www.github.com/googleapis/java-shared-dependencies/commit/08d643aaf289984b87d734274830712af82585b6)) +* update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#217](https://www.github.com/googleapis/java-shared-dependencies/issues/217)) ([01a9c64](https://www.github.com/googleapis/java-shared-dependencies/commit/01a9c6442906e8482a53712eba95ccc6f7040928)) +* update dependency io.grpc:grpc-bom to v1.34.0 ([#228](https://www.github.com/googleapis/java-shared-dependencies/issues/228)) ([425d1ea](https://www.github.com/googleapis/java-shared-dependencies/commit/425d1eab2a046c365f816f946576e4030e7c3696)) +* update gax.version to v1.60.1 ([#223](https://www.github.com/googleapis/java-shared-dependencies/issues/223)) ([84c75bd](https://www.github.com/googleapis/java-shared-dependencies/commit/84c75bdbd3f86ef7187373289ee08ad3a0c24719)) +* update google.core.version to v1.94.0 ([#212](https://www.github.com/googleapis/java-shared-dependencies/issues/212)) ([764ef5e](https://www.github.com/googleapis/java-shared-dependencies/commit/764ef5e9a2272cd9244a8fc5cc107ffacf9e9d5b)) + +## [0.15.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.14.1...v0.15.0) (2020-11-10) + + +### Dependencies + +* update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#207](https://www.github.com/googleapis/java-shared-dependencies/issues/207)) ([5e3198d](https://www.github.com/googleapis/java-shared-dependencies/commit/5e3198de5e1d0fe55c4d947b12984db7726059da)) +* update google.common-protos.version to v2.0.1 ([#205](https://www.github.com/googleapis/java-shared-dependencies/issues/205)) ([6b12417](https://www.github.com/googleapis/java-shared-dependencies/commit/6b1241737d34e99a55acdcd439aa71ad28d1e26c)) +* update iam.version to v1.0.3 ([#206](https://www.github.com/googleapis/java-shared-dependencies/issues/206)) ([94a4e31](https://www.github.com/googleapis/java-shared-dependencies/commit/94a4e31634718a206ef0f5ff1a8801dc7be4c5c5)) + +### [0.14.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.14.0...v0.14.1) (2020-10-31) + + +### Dependencies + +* update google.core.version to v1.93.10 ([#200](https://www.github.com/googleapis/java-shared-dependencies/issues/200)) ([2d73dc1](https://www.github.com/googleapis/java-shared-dependencies/commit/2d73dc152469d175c74f85c5c76dcc67993c9783)) + +## [0.14.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.13.0...v0.14.0) (2020-10-31) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.33.1 ([#192](https://www.github.com/googleapis/java-shared-dependencies/issues/192)) ([b29384d](https://www.github.com/googleapis/java-shared-dependencies/commit/b29384dc40c812f1848f00695228d5437556f029)) +* update dependency org.threeten:threetenbp to v1.5.0 ([#196](https://www.github.com/googleapis/java-shared-dependencies/issues/196)) ([825a6fa](https://www.github.com/googleapis/java-shared-dependencies/commit/825a6fa375d12f1caa0a515b784ffde182bac98d)) +* update iam.version to v1.0.2 ([#194](https://www.github.com/googleapis/java-shared-dependencies/issues/194)) ([5c57239](https://www.github.com/googleapis/java-shared-dependencies/commit/5c572399a1b453f4dc5f6ef8d8850a35be2aef75)) + +## [0.13.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.1...v0.13.0) (2020-10-20) + + +### Features + +* add jackson-core to the list of managed dependencies ([#190](https://www.github.com/googleapis/java-shared-dependencies/issues/190)) ([b37035e](https://www.github.com/googleapis/java-shared-dependencies/commit/b37035ed9b0beeb5e07d6e1c121154eece1a2c87)) + + +### Dependencies + +* update dependency com.google.guava:guava-bom to v30 ([#181](https://www.github.com/googleapis/java-shared-dependencies/issues/181)) ([bdb1e58](https://www.github.com/googleapis/java-shared-dependencies/commit/bdb1e582288d06a872e36ac8b778563f2d088468)) +* update gax.version to v1.60.0 ([#187](https://www.github.com/googleapis/java-shared-dependencies/issues/187)) ([8a8adf7](https://www.github.com/googleapis/java-shared-dependencies/commit/8a8adf7745d563c449bf095aad63b5e4a94e1a7d)) +* update google.common-protos.version to v2 ([#174](https://www.github.com/googleapis/java-shared-dependencies/issues/174)) ([3f7e3ff](https://www.github.com/googleapis/java-shared-dependencies/commit/3f7e3ffd5e07d2f11f0aa981dae2bdf5381e429f)) + +### [0.12.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.0...v0.12.1) (2020-10-16) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.1 ([#180](https://www.github.com/googleapis/java-shared-dependencies/issues/180)) ([b1f2d5d](https://www.github.com/googleapis/java-shared-dependencies/commit/b1f2d5dfde24fcf683eeb5600fce7f51190ecce8)) + +## [0.12.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.11.0...v0.12.0) (2020-10-15) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.11 ([#169](https://www.github.com/googleapis/java-shared-dependencies/issues/169)) ([a1b18d1](https://www.github.com/googleapis/java-shared-dependencies/commit/a1b18d1838c2ceca882615d574ab5d0245794820)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.0 ([#171](https://www.github.com/googleapis/java-shared-dependencies/issues/171)) ([0c7635a](https://www.github.com/googleapis/java-shared-dependencies/commit/0c7635a82d922971ae6aac18dc2ee1879e017516)) + +## [0.11.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.2...v0.11.0) (2020-10-13) + + +### Dependencies + +* update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#166](https://www.github.com/googleapis/java-shared-dependencies/issues/166)) ([5721225](https://www.github.com/googleapis/java-shared-dependencies/commit/572122574ce8452b6a0fc6df919e9ce2d8ffd2ce)) +* update dependency io.grpc:grpc-bom to v1.32.2 ([#165](https://www.github.com/googleapis/java-shared-dependencies/issues/165)) ([b70ddb0](https://www.github.com/googleapis/java-shared-dependencies/commit/b70ddb00a3be97536cdd80bd57fe6bca1b0973e2)) + +### [0.10.2](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.1...v0.10.2) (2020-10-08) + + +### Dependencies + +* update dependency org.threeten:threetenbp to v1.4.5 ([#162](https://www.github.com/googleapis/java-shared-dependencies/issues/162)) ([54eccb5](https://www.github.com/googleapis/java-shared-dependencies/commit/54eccb533353ddfe537a7e069a696a3f0f70f211)) + +### [0.10.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.0...v0.10.1) (2020-10-06) + + +### Dependencies + +* update gax.version to v1.59.1 ([#159](https://www.github.com/googleapis/java-shared-dependencies/issues/159)) ([7c84443](https://www.github.com/googleapis/java-shared-dependencies/commit/7c84443db92e1d910590fa89c2e35b14613e7eba)) + +## [0.10.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.1...v0.10.0) (2020-09-23) + + +### Features + +* manage error-prone version ([#147](https://www.github.com/googleapis/java-shared-dependencies/issues/147)) ([0fb3108](https://www.github.com/googleapis/java-shared-dependencies/commit/0fb3108c96abcdef83b5051e842530e6c9934c37)) + + +### Dependencies + +* update google.core.version to v1.93.9 ([#148](https://www.github.com/googleapis/java-shared-dependencies/issues/148)) ([b2a680e](https://www.github.com/googleapis/java-shared-dependencies/commit/b2a680ec9297136dceb622463672cc554359ba5b)) + +### [0.9.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.0...v0.9.1) (2020-09-23) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.32.1 ([#133](https://www.github.com/googleapis/java-shared-dependencies/issues/133)) ([cde0463](https://www.github.com/googleapis/java-shared-dependencies/commit/cde0463dd15c2a510085a3d5e3ac7b418c2fc3d4)) +* update iam.version to v1.0.1 ([#136](https://www.github.com/googleapis/java-shared-dependencies/issues/136)) ([162e2bd](https://www.github.com/googleapis/java-shared-dependencies/commit/162e2bda35fc3427ce571c6747aae4c9eb5866f6)) + +## [0.9.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.8.6...v0.9.0) (2020-08-31) + + +### Bug Fixes + +* temporarily disable reporting to unblock releases ([#129](https://www.github.com/googleapis/java-shared-dependencies/issues/129)) ([7fff6f2](https://www.github.com/googleapis/java-shared-dependencies/commit/7fff6f2c94a19ba998d8cd47e8be5a6333808df8)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.13.0 ([#126](https://www.github.com/googleapis/java-shared-dependencies/issues/126)) ([908063f](https://www.github.com/googleapis/java-shared-dependencies/commit/908063f9b820dd3195b15537189e45be0d4acbbb)) +* update dependency io.grpc:grpc-bom to v1.31.1 ([#124](https://www.github.com/googleapis/java-shared-dependencies/issues/124)) ([553a339](https://www.github.com/googleapis/java-shared-dependencies/commit/553a3393f5bede0e90e16e2d0d87daa2b936ab32)) +* update google.common-protos.version to v1.18.1 ([#119](https://www.github.com/googleapis/java-shared-dependencies/issues/119)) ([05ad27e](https://www.github.com/googleapis/java-shared-dependencies/commit/05ad27e35fe082e148d377315b10943b187b5670)) +* update google.core.version to v1.93.8 ([f72cef3](https://www.github.com/googleapis/java-shared-dependencies/commit/f72cef3d78a036e2b2434bf08b0a75d57b2fa139)) +* update iam.version to v0.15.0 ([#118](https://www.github.com/googleapis/java-shared-dependencies/issues/118)) ([1409a16](https://www.github.com/googleapis/java-shared-dependencies/commit/1409a16826d3fd4a5d9cbcbe46ea4b4af8687a5c)) +* update iam.version to v1 (major) ([#120](https://www.github.com/googleapis/java-shared-dependencies/issues/120)) ([a6243a0](https://www.github.com/googleapis/java-shared-dependencies/commit/a6243a02129e42fec804b5769fb8e3f334ba84ce)) + +### [0.8.6](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.5...v0.8.6) (2020-08-07) + + +### Dependencies + +* update gax to v1.58.2 ([#115](https://www.github.com/googleapis/java-shared-dependencies/issues/115)) ([84b48b4](https://www.github.com/googleapis/java-shared-dependencies/commit/84b48b4e77a4b5b4a2db6030609abe241d5ee2e1)) + +### [0.8.5](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.4...v0.8.5) (2020-08-07) + + +### Dependencies + +* update gax to v1.58.1 ([#111](https://www.github.com/googleapis/java-shared-dependencies/issues/111)) ([93a1691](https://www.github.com/googleapis/java-shared-dependencies/commit/93a16915b863a610ffdabe0e23aec58c4ae5f4f1)) + +### [0.8.4](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.3...v0.8.4) (2020-08-04) + + +### Dependencies + +* update core dependencies ([#104](https://www.github.com/googleapis/java-shared-dependencies/issues/104)) ([5046818](https://www.github.com/googleapis/java-shared-dependencies/commit/504681803d2bba888404acffe9a8853746501358)) +* update dependency com.google.api:api-common to v1.10.0 ([#101](https://www.github.com/googleapis/java-shared-dependencies/issues/101)) ([6472fac](https://www.github.com/googleapis/java-shared-dependencies/commit/6472face89700e3f2f982c04a5e88801876580be)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.4 ([#103](https://www.github.com/googleapis/java-shared-dependencies/issues/103)) ([885bd0e](https://www.github.com/googleapis/java-shared-dependencies/commit/885bd0ef3c9e344bd1fc60e0f3264995064001d9)) + +### [0.8.3](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.2...v0.8.3) (2020-07-09) + + +### Dependencies + +* update core dependencies ([#96](https://www.github.com/googleapis/java-shared-dependencies/issues/96)) ([978e69e](https://www.github.com/googleapis/java-shared-dependencies/commit/978e69e9b5999630354ea204c034be2d6b8a2d80)) +* update dependency com.google.api-client:google-api-client-bom to v1.30.10 ([#99](https://www.github.com/googleapis/java-shared-dependencies/issues/99)) ([65c9cce](https://www.github.com/googleapis/java-shared-dependencies/commit/65c9ccea34275fa6f9599043d6e06df169bc433a)) +* update dependency com.google.api:api-common to v1.9.3 ([#91](https://www.github.com/googleapis/java-shared-dependencies/issues/91)) ([2a23a50](https://www.github.com/googleapis/java-shared-dependencies/commit/2a23a50ee5c73b581a02171048e20b14f999949f)) + +### [0.8.2](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.1...v0.8.2) (2020-07-01) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v0.21.0 ([#86](https://www.github.com/googleapis/java-shared-dependencies/issues/86)) ([dc9d717](https://www.github.com/googleapis/java-shared-dependencies/commit/dc9d717fdec4f0962141ba34e98f5737ec3bc57a)) +* update dependency com.google.http-client:google-http-client-bom to v1.36.0 ([#89](https://www.github.com/googleapis/java-shared-dependencies/issues/89)) ([12437d7](https://www.github.com/googleapis/java-shared-dependencies/commit/12437d7392a430299c3372d18d2650b62be60eaf)) +* update dependency io.grpc:grpc-bom to v1.30.1 ([#82](https://www.github.com/googleapis/java-shared-dependencies/issues/82)) ([a5199a0](https://www.github.com/googleapis/java-shared-dependencies/commit/a5199a02d5bde75e86349b37c1efae64a6379a40)) +* update dependency io.grpc:grpc-bom to v1.30.2 ([#85](https://www.github.com/googleapis/java-shared-dependencies/issues/85)) ([084d18d](https://www.github.com/googleapis/java-shared-dependencies/commit/084d18daab010c6b0be04e67b42ca8ab8ba5f3d5)) + +### [0.8.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.0...v0.8.1) (2020-06-13) + + +### Reverts + +* Revert "feat: mark javax annotations scope as provided (#70)" (#75) ([d2f23ec](https://www.github.com/googleapis/java-shared-dependencies/commit/d2f23ecae56a1ec07b1217f0fca5347dd0f0406b)), closes [#70](https://www.github.com/googleapis/java-shared-dependencies/issues/70) [#75](https://www.github.com/googleapis/java-shared-dependencies/issues/75) + +## [0.8.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.7.0...v0.8.0) (2020-06-12) + + +### Features + +* mark javax annotations scope as provided ([#70](https://www.github.com/googleapis/java-shared-dependencies/issues/70)) ([7bc7057](https://www.github.com/googleapis/java-shared-dependencies/commit/7bc70579a01ab761b52f8eef3d0a184b5eec26ae)) + + +### Dependencies + +* update core dependencies to v1.93.6 ([#74](https://www.github.com/googleapis/java-shared-dependencies/issues/74)) ([791639e](https://www.github.com/googleapis/java-shared-dependencies/commit/791639e805b2dcaf9b8e2c04a0428f74c029f94f)) +* update dependency com.google.api:api-common to v1.9.2 ([#63](https://www.github.com/googleapis/java-shared-dependencies/issues/63)) ([ee92a0e](https://www.github.com/googleapis/java-shared-dependencies/commit/ee92a0eb45595fa229cd6fa745f9f3cfa74bb65c)) +* update dependency io.grpc:grpc-bom to v1.30.0 ([#68](https://www.github.com/googleapis/java-shared-dependencies/issues/68)) ([ccf2310](https://www.github.com/googleapis/java-shared-dependencies/commit/ccf23106d29871855511cba0d4e704e4186347f5)) +* update gax to v1.57.0 ([#73](https://www.github.com/googleapis/java-shared-dependencies/issues/73)) ([b0ae1eb](https://www.github.com/googleapis/java-shared-dependencies/commit/b0ae1ebc7a6d4ca90ee50e3a827fcbcea06cfcf1)) + +## [0.7.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.6.0...v0.7.0) (2020-05-28) + + +### Features + +* add core test classifier (needed by BQ) ([#59](https://www.github.com/googleapis/java-shared-dependencies/issues/59)) ([a634d18](https://www.github.com/googleapis/java-shared-dependencies/commit/a634d1886072793f3143f8c5af51008a6d9c857e)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.12.2 ([#57](https://www.github.com/googleapis/java-shared-dependencies/issues/57)) ([751f170](https://www.github.com/googleapis/java-shared-dependencies/commit/751f1709b9f6bca6e5a22bf42feadc7373bceef7)) + +## [0.6.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.5.0...v0.6.0) (2020-05-27) + + +### Features + +* add grpc-iam-v1 to keep version consistent w proto-iam-v1 ([#55](https://www.github.com/googleapis/java-shared-dependencies/issues/55)) ([0fe26dd](https://www.github.com/googleapis/java-shared-dependencies/commit/0fe26dd73e7c3ada31e53c5f5a84ef4d3c4f3956)) + + +### Dependencies + +* update core dependencies to v1.93.5 ([#53](https://www.github.com/googleapis/java-shared-dependencies/issues/53)) ([9d8d4d6](https://www.github.com/googleapis/java-shared-dependencies/commit/9d8d4d602128e6e32486288cbbec117b80f3fbc6)) +* update dependency com.google.api:api-common to v1.9.1 ([#51](https://www.github.com/googleapis/java-shared-dependencies/issues/51)) ([40276df](https://www.github.com/googleapis/java-shared-dependencies/commit/40276df393e34fb72eead8499968792852a880c7)) + +## [0.5.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.4.0...v0.5.0) (2020-05-26) + + +### ⚠ BREAKING CHANGES + +* remove certain test deps and autovalue (#49) +* remove mockito-core (#44) + +### Features + +* remove certain test deps and autovalue ([#49](https://www.github.com/googleapis/java-shared-dependencies/issues/49)) ([0bcf1a0](https://www.github.com/googleapis/java-shared-dependencies/commit/0bcf1a064ab37e1fbb304640f714ad841762949c)) +* remove mockito-core ([#44](https://www.github.com/googleapis/java-shared-dependencies/issues/44)) ([b690f8d](https://www.github.com/googleapis/java-shared-dependencies/commit/b690f8d742cb954744fdb394e3978407561179ca)) + + +### Bug Fixes + +* remove grpc-testing since it's in grpc-bom ([#50](https://www.github.com/googleapis/java-shared-dependencies/issues/50)) ([d7df346](https://www.github.com/googleapis/java-shared-dependencies/commit/d7df346f8f54301c6113f4bb997b84df5d4f45c7)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.12.1 ([#48](https://www.github.com/googleapis/java-shared-dependencies/issues/48)) ([d367a31](https://www.github.com/googleapis/java-shared-dependencies/commit/d367a3122b94ec33f804200c38067ae0eac6ddc0)) + +## [0.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.3.1...v0.4.0) (2020-05-18) + + +### Features + +* add more shared dependencies ([#40](https://www.github.com/googleapis/java-shared-dependencies/issues/40)) ([34d7e2a](https://www.github.com/googleapis/java-shared-dependencies/commit/34d7e2a4bba3cc03d256de78cb2bf8543811742d)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.12.0 ([#38](https://www.github.com/googleapis/java-shared-dependencies/issues/38)) ([155653b](https://www.github.com/googleapis/java-shared-dependencies/commit/155653b52f32e917a1aa970a8c5a716f57c7e190)) + +### [0.3.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.3.0...v0.3.1) (2020-05-13) + + +### Dependencies + +* update autovalue.version to v1.7.2 ([#35](https://www.github.com/googleapis/java-shared-dependencies/issues/35)) ([50a1511](https://www.github.com/googleapis/java-shared-dependencies/commit/50a1511a47362a2de5cce26de0f0fbd6ea31c7cb)) + + +### Documentation + +* update CONTRIBUTING.md to include code formatting ([#534](https://www.github.com/googleapis/java-shared-dependencies/issues/534)) ([#34](https://www.github.com/googleapis/java-shared-dependencies/issues/34)) ([c916354](https://www.github.com/googleapis/java-shared-dependencies/commit/c91635446a457e01aa38e2cc384d3fd5d43c1b3b)) + +## [0.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.2.0...v0.3.0) (2020-05-05) + + +### Features + +* add grpc-testing, mockito and truth extensions ([#25](https://www.github.com/googleapis/java-shared-dependencies/issues/25)) ([e906514](https://www.github.com/googleapis/java-shared-dependencies/commit/e9065147889ec42ac7350e2559fabae9abf335a9)) + + +### Dependencies + +* update autovalue.version to v1.7.1 ([#29](https://www.github.com/googleapis/java-shared-dependencies/issues/29)) ([c9e80f8](https://www.github.com/googleapis/java-shared-dependencies/commit/c9e80f8e990d42ab4ebace439da2abe93d33afcb)) +* update dependency com.google.http-client:google-http-client-bom to v1.35.0 ([#23](https://www.github.com/googleapis/java-shared-dependencies/issues/23)) ([e1775c2](https://www.github.com/googleapis/java-shared-dependencies/commit/e1775c253b7ef1fdd306b30a6e7698a9370bbf81)) +* update dependency org.mockito:mockito-core to v3.3.3 ([#27](https://www.github.com/googleapis/java-shared-dependencies/issues/27)) ([8dfa3a5](https://www.github.com/googleapis/java-shared-dependencies/commit/8dfa3a5cc8c6a9e2477b63c2174d501a2bdec58a)) +* update dependency org.threeten:threetenbp to v1.4.4 ([#22](https://www.github.com/googleapis/java-shared-dependencies/issues/22)) ([4734794](https://www.github.com/googleapis/java-shared-dependencies/commit/47347943605ad7fdc3340a1a7691c500bbdf1fa2)) +* update google.common-protos.version to v1.18.0 ([#30](https://www.github.com/googleapis/java-shared-dependencies/issues/30)) ([6cb6cc1](https://www.github.com/googleapis/java-shared-dependencies/commit/6cb6cc1304f105307d60c013eaa1604a7537e17a)) + +## [0.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.1.1...v0.2.0) (2020-04-22) + + +### Features + +* add truth as a managed test scope dependency ([#19](https://www.github.com/googleapis/java-shared-dependencies/issues/19)) ([36167bf](https://www.github.com/googleapis/java-shared-dependencies/commit/36167bfc19475425416316ede28e72db4d683db1)) +* import google-cloud-core-bom to include all google-cloud-core-* artifacts ([#18](https://www.github.com/googleapis/java-shared-dependencies/issues/18)) ([ed3850c](https://www.github.com/googleapis/java-shared-dependencies/commit/ed3850c6a6ea491b570c461a2108c124c9ef71da)) +* import protobuf-bom to manage all protobuf artifacts ([#21](https://www.github.com/googleapis/java-shared-dependencies/issues/21)) ([dc0f1e0](https://www.github.com/googleapis/java-shared-dependencies/commit/dc0f1e0be1be33f5bdf0426cad1cc2df45f5d10a)) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.29.0 ([#16](https://www.github.com/googleapis/java-shared-dependencies/issues/16)) ([eac0d44](https://www.github.com/googleapis/java-shared-dependencies/commit/eac0d448b0701a3dd5788321ed0494eb2a618f9e)) + +### [0.1.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.1.0...v0.1.1) (2020-04-14) + + +### Dependencies + +* update core dependencies ([#2](https://www.github.com/googleapis/java-shared-dependencies/issues/2)) ([5589285](https://www.github.com/googleapis/java-shared-dependencies/commit/5589285e105ccd4746e3e194f959c72f17705d45)) +* update dependency com.google.cloud:google-cloud-core to v1.93.4 ([#9](https://www.github.com/googleapis/java-shared-dependencies/issues/9)) ([882cdd6](https://www.github.com/googleapis/java-shared-dependencies/commit/882cdd63f2948de1b29119b36032c45cb4887913)) +* update dependency com.google.guava:guava-bom to v29 ([#12](https://www.github.com/googleapis/java-shared-dependencies/issues/12)) ([9f844c4](https://www.github.com/googleapis/java-shared-dependencies/commit/9f844c4b86cfd5e228a1d3b215726d632c21abf6)) +* update dependency org.threeten:threetenbp to v1.4.3 ([#7](https://www.github.com/googleapis/java-shared-dependencies/issues/7)) ([cd8d481](https://www.github.com/googleapis/java-shared-dependencies/commit/cd8d4812c34568599c79edac45db5bc973eace0a)) + +## 0.1.0 (2020-03-30) + + +### Features + +* initial generation ([d4cec70](https://www.github.com/googleapis/java-shared-dependencies/commit/d4cec70fef2f22df1215e96793fe9f79b644d3b1)) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.9.0 ([#3](https://www.github.com/googleapis/java-shared-dependencies/issues/3)) ([4f6896a](https://www.github.com/googleapis/java-shared-dependencies/commit/4f6896ac883557ad2e61d0fc66567948ae6622d1)) +* update dependency org.threeten:threetenbp to v1.4.2 ([#4](https://www.github.com/googleapis/java-shared-dependencies/issues/4)) ([9446245](https://www.github.com/googleapis/java-shared-dependencies/commit/944624527027f4386d9e3ab82c64655998a17d7a)) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md new file mode 100644 index 000000000000..82f2ebe93e03 --- /dev/null +++ b/java-shared-dependencies/README.md @@ -0,0 +1,48 @@ +# Google Cloud Shared Dependencies + +Shared Maven dependencies for Google Cloud Java client libraries. + +[![Maven][maven-version-image]][maven-version-link] + +## Quickstart + +[//]: # ({x-version-update-start:google-cloud-shared-dependencies:released}) +If you are using Maven, add this to the `dependencyManagement` section. +```xml + + + + com.google.cloud + google-cloud-shared-dependencies + 2.6.0 + pom + import + + + +``` +[//]: # ({x-version-update-end}) + +## Versioning + +This library follows [Semantic Versioning](http://semver.org/). + +## Contributing + +Contributions to this library are always welcome and highly encouraged. + +See [CONTRIBUTING.md][contributing] documentation for more information on how to get started. + +Please note that this project is released with a Contributor Code of Conduct. By participating in +this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more +information. + +## License + +Apache 2.0 - See [LICENSE][license] for more information. + +[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-shared-dependencies.svg +[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-shared-dependencies&core=gav +[contributing]: https://github.com/googleapis/java-shared-dependencies/blob/main/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-shared-dependencies/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct +[license]: https://github.com/googleapis/java-shared-dependencies/blob/main/LICENSE diff --git a/java-shared-dependencies/dependency-convergence-check/README.md b/java-shared-dependencies/dependency-convergence-check/README.md new file mode 100644 index 000000000000..d593196eceaf --- /dev/null +++ b/java-shared-dependencies/dependency-convergence-check/README.md @@ -0,0 +1,6 @@ +# Dependency Convergence Check + +This project includes a test case for dependency convergence for some (not all) +artifacts in the Google Cloud Shared Dependencies BOM. + +This project is not meant to be used by end-users or published to Maven Central. diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml new file mode 100644 index 000000000000..fbb5afb43cef --- /dev/null +++ b/java-shared-dependencies/dependency-convergence-check/pom.xml @@ -0,0 +1,44 @@ + + + 4.0.0 + com.google.cloud + shared-dependencies-dependency-convergence-test + 3.2.0 + Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies + + An dependency convergence test case for the shared dependencies BOM. A failure of this test case means + the shared dependencies BOM has outdated dependencies; there are newer version of artifacts + appearing in the dependency tree. + + + + UTF-8 + 1.8 + 1.8 + + + + + + + + + + com.google.guava + guava + 31.0.1-jre + test + + + com.google.cloud.tools + dependencies + 1.5.13 + test + + + junit + junit + test + + + diff --git a/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java b/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java new file mode 100644 index 000000000000..66bf3d753eb7 --- /dev/null +++ b/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java @@ -0,0 +1,114 @@ +/* + * Copyright 2022 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 + * + * http://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; + +import static org.junit.Assert.assertTrue; + +import com.google.cloud.tools.opensource.classpath.ClassPathBuilder; +import com.google.cloud.tools.opensource.classpath.ClassPathEntry; +import com.google.cloud.tools.opensource.classpath.ClassPathResult; +import com.google.cloud.tools.opensource.classpath.DependencyMediation; +import com.google.cloud.tools.opensource.dependencies.Bom; +import com.google.cloud.tools.opensource.dependencies.DependencyPath; +import com.google.common.base.Joiner; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableSet; +import java.nio.file.Paths; +import java.util.HashSet; +import java.util.Set; +import org.eclipse.aether.artifact.Artifact; +import org.junit.Test; + +/** + * Test to ensure that certain artifacts in the dependency tree of each entry of the shared + * dependencies BOM have the same version. + */ +public class DependencyConvergenceTest { + + @Test + public void testGrpcConvergence() throws Exception { + // There were cases where the gRPC version set in the shared dependencies BOM and the gRPC + // version declared in gax-grpc's dependency broke the build of downstream projects. Two + // artifacts were using version range to specify exact gRPC versions. + // https://github.com/googleapis/java-shared-dependencies/pull/595 + Bom bom = Bom.readBom(Paths.get("../pom.xml")); + assertConvergence( + bom, + "io.grpc", + "grpc-netty-shaded", + ImmutableSet.of( + // Because OpenCensus's gRPC version does not use version range notation, it does not + // break downstream build + "opencensus-exporter-trace-stackdriver", + "opencensus-exporter-stats-stackdriver", + // Because grpc-gcp's gRPC version does not use version range notation, it does not + // break downstream build + "grpc-gcp", + // Because native-image-support's gRPC dependency is provided scope, it does not bring + // inconsistent gRPC artifacts to users' class paths. + "native-image-support")); + } + + /** + * Asserts the artifact specified at {@code groupId} and {@code artifactId} have the same version + * across the dependency trees of the managed dependencies of {@code bom}. + * + *

      Use {@code excludingArtifactIds} to ignore certain artifacts. + */ + private void assertConvergence( + Bom bom, String groupId, String artifactId, Set excludingArtifactIds) + throws Exception { + ImmutableList managedDependencies = bom.getManagedDependencies(); + + Set foundPaths = new HashSet<>(); + Set foundVersions = new HashSet<>(); + for (Artifact managedDependency : managedDependencies) { + if (excludingArtifactIds.contains(managedDependency.getArtifactId())) { + continue; + } + + ClassPathBuilder classPathBuilder = new ClassPathBuilder(); + ClassPathResult result = + classPathBuilder.resolve( + ImmutableList.of(managedDependency), false, DependencyMediation.MAVEN); + ImmutableList classPath = result.getClassPath(); + for (ClassPathEntry entry : classPath) { + Artifact artifact = entry.getArtifact(); + if (artifactId.equals(artifact.getArtifactId()) && groupId.equals(artifact.getGroupId())) { + ImmutableList dependencyPaths = result.getDependencyPaths(entry); + foundPaths.add(dependencyPaths.get(0)); + foundVersions.add(artifact.getVersion()); + } + } + } + + assertTrue( + "There should be at least one version in the graph but empty; " + + "please check the assertion is using correct groupID and artifactID.", + foundVersions.size() >= 1); + + // Duplicate versions found in the dependency trees + assertTrue( + "The version for " + + groupId + + ":" + + artifactId + + " should be one but there are multiple of them: " + + Joiner.on(", ").join(foundPaths), + foundVersions.size() <= 1); + } +} diff --git a/java-shared-dependencies/first-party-dependencies/java.header b/java-shared-dependencies/first-party-dependencies/java.header new file mode 100644 index 000000000000..d0970ba7d375 --- /dev/null +++ b/java-shared-dependencies/first-party-dependencies/java.header @@ -0,0 +1,15 @@ +^/\*$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|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\.$ +^ \*/$ diff --git a/java-shared-dependencies/first-party-dependencies/license-checks.xml b/java-shared-dependencies/first-party-dependencies/license-checks.xml new file mode 100644 index 000000000000..6597fced808e --- /dev/null +++ b/java-shared-dependencies/first-party-dependencies/license-checks.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml new file mode 100644 index 000000000000..8d2832312d18 --- /dev/null +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -0,0 +1,97 @@ + + + 4.0.0 + com.google.cloud + first-party-dependencies + pom + 3.2.0 + Google Cloud First-party Shared Dependencies + + Shared first-party dependencies for Google Cloud Java libraries. + + + + com.google.cloud + google-cloud-shared-config + 1.5.5 + + + + UTF-8 + ${project.artifactId} + 2.15.0 + 1.3.2 + 2.10.1 + 1.42.3 + 1.34.1 + 2.2.0 + + + + + + + com.google.api + gapic-generator-java-bom + ${gapic-generator-java-bom.version} + pom + import + + + com.google.cloud + grpc-gcp + ${grpc-gcp.version} + + + com.google.code.gson + gson + ${gson.version} + + + com.google.cloud + google-cloud-core-bom + 2.10.0 + pom + import + + + com.google.http-client + google-http-client-bom + ${google.http-client.version} + pom + import + + + com.google.oauth-client + google-oauth-client-bom + ${google.oauth-client.version} + pom + import + + + com.google.api-client + google-api-client-bom + ${google.api-client.version} + pom + import + + + + + + com.google.cloud + google-cloud-core + 2.10.0 + test-jar + + + com.google.cloud + google-cloud-core + 2.10.0 + tests + + + + diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml new file mode 100644 index 000000000000..1e9049b1b91d --- /dev/null +++ b/java-shared-dependencies/pom.xml @@ -0,0 +1,47 @@ + + + 4.0.0 + com.google.cloud + google-cloud-shared-dependencies + pom + 3.2.0 + + first-party-dependencies + third-party-dependencies + + Google Cloud Shared Dependencies + + Shared build configuration for Google Cloud Java libraries. + + + + com.google.cloud + google-cloud-pom-parent + 1.4.0 + ../google-cloud-pom-parent/pom.xml + + + + UTF-8 + ${project.artifactId} + + + + + + com.google.cloud + first-party-dependencies + 3.2.0 + pom + import + + + com.google.cloud + third-party-dependencies + 3.2.0 + pom + import + + + + diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata new file mode 100644 index 000000000000..57d8d055d1fb --- /dev/null +++ b/java-shared-dependencies/synth.metadata @@ -0,0 +1,86 @@ +{ + "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-shared-dependencies.git", + "sha": "8a7d227f2a1dab9ff23d247a4e6131c817804c36" + } + }, + { + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "a4be3384ccb92364795d981f2863f6986fcee620" + } + } + ], + "generatedFiles": [ + ".github/CODEOWNERS", + ".github/ISSUE_TEMPLATE/bug_report.md", + ".github/ISSUE_TEMPLATE/feature_request.md", + ".github/ISSUE_TEMPLATE/support_request.md", + ".github/PULL_REQUEST_TEMPLATE.md", + ".github/blunderbuss.yml", + ".github/generated-files-bot.yml", + ".github/release-trigger.yml", + ".github/snippet-bot.yml", + ".github/sync-repo-settings.yaml", + ".github/trusted-contribution.yml", + ".github/workflows/approve-readme.yaml", + ".github/workflows/ci.yaml", + ".kokoro/build.bat", + ".kokoro/build.sh", + ".kokoro/coerce_logs.sh", + ".kokoro/common.cfg", + ".kokoro/common.sh", + ".kokoro/continuous/common.cfg", + ".kokoro/continuous/java8.cfg", + ".kokoro/dependencies.sh", + ".kokoro/nightly/common.cfg", + ".kokoro/nightly/integration.cfg", + ".kokoro/nightly/java11.cfg", + ".kokoro/nightly/java7.cfg", + ".kokoro/nightly/java8-osx.cfg", + ".kokoro/nightly/java8-win.cfg", + ".kokoro/nightly/java8.cfg", + ".kokoro/nightly/samples.cfg", + ".kokoro/populate-secrets.sh", + ".kokoro/presubmit/clirr.cfg", + ".kokoro/presubmit/common.cfg", + ".kokoro/presubmit/dependencies.cfg", + ".kokoro/presubmit/integration.cfg", + ".kokoro/presubmit/java11.cfg", + ".kokoro/presubmit/java7.cfg", + ".kokoro/presubmit/java8-osx.cfg", + ".kokoro/presubmit/java8-win.cfg", + ".kokoro/presubmit/java8.cfg", + ".kokoro/presubmit/linkage-monitor.cfg", + ".kokoro/presubmit/lint.cfg", + ".kokoro/presubmit/samples.cfg", + ".kokoro/readme.sh", + ".kokoro/release/bump_snapshot.cfg", + ".kokoro/release/common.cfg", + ".kokoro/release/common.sh", + ".kokoro/release/drop.cfg", + ".kokoro/release/drop.sh", + ".kokoro/release/promote.cfg", + ".kokoro/release/promote.sh", + ".kokoro/release/publish_javadoc.cfg", + ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/publish_javadoc11.cfg", + ".kokoro/release/publish_javadoc11.sh", + ".kokoro/release/snapshot.cfg", + ".kokoro/release/snapshot.sh", + ".kokoro/release/stage.cfg", + ".kokoro/release/stage.sh", + ".kokoro/trampoline.sh", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "SECURITY.md", + "codecov.yaml", + "java.header", + "license-checks.xml" + ] +} \ No newline at end of file diff --git a/java-shared-dependencies/third-party-dependencies/java.header b/java-shared-dependencies/third-party-dependencies/java.header new file mode 100644 index 000000000000..d0970ba7d375 --- /dev/null +++ b/java-shared-dependencies/third-party-dependencies/java.header @@ -0,0 +1,15 @@ +^/\*$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|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\.$ +^ \*/$ diff --git a/java-shared-dependencies/third-party-dependencies/license-checks.xml b/java-shared-dependencies/third-party-dependencies/license-checks.xml new file mode 100644 index 000000000000..6597fced808e --- /dev/null +++ b/java-shared-dependencies/third-party-dependencies/license-checks.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml new file mode 100644 index 000000000000..ef821a27ede0 --- /dev/null +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -0,0 +1,144 @@ + + + 4.0.0 + com.google.cloud + third-party-dependencies + pom + 3.2.0 + Google Cloud Third-party Shared Dependencies + + Shared third-party dependencies for Google Cloud Java libraries. + + + + com.google.cloud + google-cloud-shared-config + 1.5.5 + + + + UTF-8 + ${project.artifactId} + + 1.6.5 + 1.3.2 + 1.22 + 0.31.1 + 3.0.2 + 2.18.0 + 2.14.2 + 1.15 + 4.4.16 + 4.5.14 + + 3.30.0 + 0.26.0 + + + + + + org.apache.httpcomponents + httpcore + ${httpcomponents.httpcore.version} + + + org.apache.httpcomponents + httpclient + ${httpcomponents.httpclient.version} + + + org.threeten + threetenbp + ${threeten.version} + + + javax.annotation + javax.annotation-api + ${javax.annotations.version} + compile + + + org.codehaus.mojo + animal-sniffer-annotations + ${animal-sniffer.version} + + + com.google.code.findbugs + jsr305 + ${findbugs.version} + + + com.google.errorprone + error_prone_annotations + ${errorprone.version} + + + com.fasterxml.jackson + jackson-bom + ${jackson.version} + pom + import + + + commons-codec + commons-codec + ${codec.version} + + + + + io.opencensus + opencensus-api + ${opencensus.version} + + + io.opencensus + opencensus-contrib-grpc-util + ${opencensus.version} + + + io.opencensus + opencensus-contrib-http-util + ${opencensus.version} + + + io.opencensus + opencensus-contrib-zpages + ${opencensus.version} + + + io.opencensus + opencensus-exporter-stats-stackdriver + ${opencensus.version} + + + io.opencensus + opencensus-exporter-trace-stackdriver + ${opencensus.version} + + + io.opencensus + opencensus-impl + ${opencensus.version} + + + io.opencensus + opencensus-impl-core + ${opencensus.version} + + + org.checkerframework + checker-qual + ${checker-qual.version} + + + io.perfmark + perfmark-api + ${perfmark-api.version} + + + + \ No newline at end of file diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml new file mode 100644 index 000000000000..577f2016107c --- /dev/null +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -0,0 +1,239 @@ + + + 4.0.0 + com.google.cloud + shared-dependencies-upper-bound-test + pom + 3.2.0 + Upper bound test for Google Cloud Shared Dependencies + + An upper bound test case for the shared dependencies BOM. A failure of this test case means + the shared dependencies BOM has outdated dependencies; there are newer version of artifacts + appearing in the dependency tree. + + + + com.google.cloud + + google-cloud-shared-config + 1.5.5 + + + + + UTF-8 + ${project.artifactId} + + + + + + com.google.cloud + google-cloud-shared-dependencies + 3.2.0 + pom + import + + + + + + + + io.grpc + grpc-alts + + + io.grpc + grpc-api + + + io.grpc + grpc-auth + + + io.grpc + grpc-benchmarks + + + io.grpc + grpc-census + + + io.grpc + grpc-context + + + io.grpc + grpc-core + + + io.grpc + grpc-grpclb + + + io.grpc + grpc-netty + + + io.grpc + grpc-netty-shaded + + + io.grpc + grpc-okhttp + + + io.grpc + grpc-protobuf + + + io.grpc + grpc-rls + + + io.grpc + grpc-services + + + io.grpc + grpc-stub + + + io.grpc + grpc-testing-proto + + + io.grpc + grpc-xds + + + com.google.api + gax + + + com.google.api + gax + + + com.google.api + gax-grpc + + + com.google.api + gax-httpjson + + + com.google.cloud + grpc-gcp + + + com.google.guava + guava + + + com.google.protobuf + protobuf-java + + + com.google.protobuf + protobuf-java-util + + + com.google.api + api-common + + + com.google.api.grpc + proto-google-common-protos + + + com.google.api.grpc + grpc-google-common-protos + + + com.google.cloud + google-cloud-core + + + com.google.cloud + google-cloud-core-grpc + + + com.google.cloud + google-cloud-core-http + + + com.google.auth + google-auth-library-credentials + + + com.google.auth + google-auth-library-oauth2-http + + + com.google.auth + google-auth-library-appengine + + + + com.google.http-client + google-http-client + + + com.google.http-client + google-http-client-android + + + com.google.http-client + google-http-client-apache-v2 + + + com.google.http-client + google-http-client-appengine + + + com.google.http-client + google-http-client-gson + + + com.google.http-client + google-http-client-jackson2 + + + com.google.http-client + google-http-client-protobuf + + + com.google.http-client + google-http-client-xml + + + + com.google.oauth-client + google-oauth-client + + + com.google.api-client + google-api-client + + + com.google.api-client + google-api-client-android + + + com.google.api.grpc + proto-google-iam-v1 + + + com.google.api.grpc + grpc-google-iam-v1 + + + diff --git a/java-shell/README.md b/java-shell/README.md index ca04a1ac295f..c7964f9ad745 100644 --- a/java-shell/README.md +++ b/java-shell/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-shell - 2.7.0 + 2.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-shell:2.7.0' +implementation 'com.google.cloud:google-cloud-shell:2.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.8.0" ``` ## Authentication diff --git a/java-shell/google-cloud-shell-bom/pom.xml b/java-shell/google-cloud-shell-bom/pom.xml index 7a463634030f..ebfe19f0a239 100644 --- a/java-shell/google-cloud-shell-bom/pom.xml +++ b/java-shell/google-cloud-shell-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-shell-bom - 2.8.0 + 2.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-shell - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-shell-v1 - 2.8.0 + 2.9.0 com.google.api.grpc proto-google-cloud-shell-v1 - 2.8.0 + 2.9.0 diff --git a/java-shell/google-cloud-shell/pom.xml b/java-shell/google-cloud-shell/pom.xml index 5e0be2bb9ed4..974e01c22557 100644 --- a/java-shell/google-cloud-shell/pom.xml +++ b/java-shell/google-cloud-shell/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-shell - 2.8.0 + 2.9.0 jar Google Cloud Shell Cloud Shell is an interactive shell environment for Google Cloud that makes it easy for you to learn and experiment with Google Cloud and manage your projects and resources from your web browser. com.google.cloud google-cloud-shell-parent - 2.8.0 + 2.9.0 google-cloud-shell diff --git a/java-shell/grpc-google-cloud-shell-v1/pom.xml b/java-shell/grpc-google-cloud-shell-v1/pom.xml index dfdeb3a500fb..1ce95bd351bf 100644 --- a/java-shell/grpc-google-cloud-shell-v1/pom.xml +++ b/java-shell/grpc-google-cloud-shell-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-shell-v1 - 2.8.0 + 2.9.0 grpc-google-cloud-shell-v1 GRPC library for google-cloud-shell com.google.cloud google-cloud-shell-parent - 2.8.0 + 2.9.0 diff --git a/java-shell/pom.xml b/java-shell/pom.xml index 45e78885a96d..1d0110234deb 100644 --- a/java-shell/pom.xml +++ b/java-shell/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-shell-parent pom - 2.8.0 + 2.9.0 Google Cloud Shell Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-shell - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-shell-v1 - 2.8.0 + 2.9.0 com.google.api.grpc proto-google-cloud-shell-v1 - 2.8.0 + 2.9.0 diff --git a/java-shell/proto-google-cloud-shell-v1/pom.xml b/java-shell/proto-google-cloud-shell-v1/pom.xml index 160742b12bf3..ce18e0d56e48 100644 --- a/java-shell/proto-google-cloud-shell-v1/pom.xml +++ b/java-shell/proto-google-cloud-shell-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-shell-v1 - 2.8.0 + 2.9.0 proto-google-cloud-shell-v1 Proto library for google-cloud-shell com.google.cloud google-cloud-shell-parent - 2.8.0 + 2.9.0 diff --git a/java-shell/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java b/java-shell/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java index 4c8ce94a405e..f4bf22dd7d8e 100644 --- a/java-shell/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java +++ b/java-shell/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/CloudShellProto.java @@ -180,9 +180,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "vePublicKeyResponse\022\027RemovePublicKeyMeta" + "data\032M\312A\031cloudshell.googleapis.com\322A.htt" + "ps://www.googleapis.com/auth/cloud-platf" - + "ormBj\n\031com.google.cloud.shell.v1B\017CloudS" - + "hellProtoP\001Z:google.golang.org/genproto/" - + "googleapis/cloud/shell/v1;shellb\006proto3" + + "ormB_\n\031com.google.cloud.shell.v1B\017CloudS" + + "hellProtoP\001Z/cloud.google.com/go/shell/a" + + "piv1/shellpb;shellpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-shell/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto b/java-shell/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto index cee2cb1887df..e27e43474d07 100644 --- a/java-shell/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto +++ b/java-shell/proto-google-cloud-shell-v1/src/main/proto/google/cloud/shell/v1/cloudshell.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/shell/v1;shell"; +option go_package = "cloud.google.com/go/shell/apiv1/shellpb;shellpb"; option java_multiple_files = true; option java_outer_classname = "CloudShellProto"; option java_package = "com.google.cloud.shell.v1"; diff --git a/java-speech/README.md b/java-speech/README.md index e1bb5d473dbf..914ddaa4dfbd 100644 --- a/java-speech/README.md +++ b/java-speech/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-speech - 4.3.0 + 4.4.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-speech:4.3.0' +implementation 'com.google.cloud:google-cloud-speech:4.4.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.4.0" ``` ## Authentication diff --git a/java-speech/google-cloud-speech-bom/pom.xml b/java-speech/google-cloud-speech-bom/pom.xml index 0e409eabccd9..8ee8b2a20183 100644 --- a/java-speech/google-cloud-speech-bom/pom.xml +++ b/java-speech/google-cloud-speech-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-speech-bom - 4.4.0 + 4.5.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,47 +23,47 @@ com.google.cloud google-cloud-speech - 4.4.0 + 4.5.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 4.4.0 + 4.5.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 2.4.0 + 2.5.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 2.4.0 + 2.5.0 com.google.api.grpc grpc-google-cloud-speech-v2 - 4.4.0 + 4.5.0 com.google.api.grpc proto-google-cloud-speech-v1 - 4.4.0 + 4.5.0 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 2.4.0 + 2.5.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 2.4.0 + 2.5.0 com.google.api.grpc proto-google-cloud-speech-v2 - 4.4.0 + 4.5.0 diff --git a/java-speech/google-cloud-speech/pom.xml b/java-speech/google-cloud-speech/pom.xml index c8c997f321b3..5f8f6fea4aa2 100644 --- a/java-speech/google-cloud-speech/pom.xml +++ b/java-speech/google-cloud-speech/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-speech - 4.4.0 + 4.5.0 jar Google Cloud Speech @@ -12,7 +12,7 @@ com.google.cloud google-cloud-speech-parent - 4.4.0 + 4.5.0 google-cloud-speech diff --git a/java-speech/grpc-google-cloud-speech-v1/pom.xml b/java-speech/grpc-google-cloud-speech-v1/pom.xml index c64c4a760789..02137004770f 100644 --- a/java-speech/grpc-google-cloud-speech-v1/pom.xml +++ b/java-speech/grpc-google-cloud-speech-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 4.4.0 + 4.5.0 grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.cloud google-cloud-speech-parent - 4.4.0 + 4.5.0 diff --git a/java-speech/grpc-google-cloud-speech-v1beta1/pom.xml b/java-speech/grpc-google-cloud-speech-v1beta1/pom.xml index 441ffec857cc..92e735a37568 100644 --- a/java-speech/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/java-speech/grpc-google-cloud-speech-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 2.4.0 + 2.5.0 grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.cloud google-cloud-speech-parent - 4.4.0 + 4.5.0 diff --git a/java-speech/grpc-google-cloud-speech-v1p1beta1/pom.xml b/java-speech/grpc-google-cloud-speech-v1p1beta1/pom.xml index 9eac5431b3db..be0948239619 100644 --- a/java-speech/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/java-speech/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 2.4.0 + 2.5.0 grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.cloud google-cloud-speech-parent - 4.4.0 + 4.5.0 diff --git a/java-speech/grpc-google-cloud-speech-v2/pom.xml b/java-speech/grpc-google-cloud-speech-v2/pom.xml index 8a07d751ab69..fb2af8350ea8 100644 --- a/java-speech/grpc-google-cloud-speech-v2/pom.xml +++ b/java-speech/grpc-google-cloud-speech-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-speech-v2 - 4.4.0 + 4.5.0 grpc-google-cloud-speech-v2 GRPC library for google-cloud-speech com.google.cloud google-cloud-speech-parent - 4.4.0 + 4.5.0 diff --git a/java-speech/pom.xml b/java-speech/pom.xml index 3b9d698508e3..f3be986bb8a0 100644 --- a/java-speech/pom.xml +++ b/java-speech/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-speech-parent pom - 4.4.0 + 4.5.0 Google Cloud speech Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,47 +29,47 @@ com.google.api.grpc proto-google-cloud-speech-v1 - 4.4.0 + 4.5.0 com.google.api.grpc proto-google-cloud-speech-v2 - 4.4.0 + 4.5.0 com.google.api.grpc grpc-google-cloud-speech-v2 - 4.4.0 + 4.5.0 com.google.cloud google-cloud-speech - 4.4.0 + 4.5.0 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 2.4.0 + 2.5.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 2.4.0 + 2.5.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 4.4.0 + 4.5.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 2.4.0 + 2.5.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 2.4.0 + 2.5.0 diff --git a/java-speech/proto-google-cloud-speech-v1/pom.xml b/java-speech/proto-google-cloud-speech-v1/pom.xml index 50c3d17a74ed..57bbce04e8af 100644 --- a/java-speech/proto-google-cloud-speech-v1/pom.xml +++ b/java-speech/proto-google-cloud-speech-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-speech-v1 - 4.4.0 + 4.5.0 proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.cloud google-cloud-speech-parent - 4.4.0 + 4.5.0 diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequest.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequest.java index 406224f1174c..f62bc43d0e72 100644 --- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequest.java +++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequest.java @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *

      -   * Required. The parent resource where this custom class will be created. Format:
      +   * Required. The parent resource where this custom class will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/customClasses`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -107,7 +108,8 @@ public java.lang.String getParent() {
          *
          *
          * 
      -   * Required. The parent resource where this custom class will be created. Format:
      +   * Required. The parent resource where this custom class will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/customClasses`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -651,7 +653,8 @@ public Builder mergeFrom(
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -681,7 +684,8 @@ public java.lang.String getParent() {
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -711,7 +715,8 @@ public com.google.protobuf.ByteString getParentBytes() {
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -740,7 +745,8 @@ public Builder setParent(java.lang.String value) {
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -765,7 +771,8 @@ public Builder clearParent() {
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequestOrBuilder.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequestOrBuilder.java
      index 14ccf162cb13..ca145a658c4e 100644
      --- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequestOrBuilder.java
      +++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequestOrBuilder.java
      @@ -27,7 +27,8 @@ public interface CreateCustomClassRequestOrBuilder
          *
          *
          * 
      -   * Required. The parent resource where this custom class will be created. Format:
      +   * Required. The parent resource where this custom class will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/customClasses`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -47,7 +48,8 @@ public interface CreateCustomClassRequestOrBuilder
          *
          *
          * 
      -   * Required. The parent resource where this custom class will be created. Format:
      +   * Required. The parent resource where this custom class will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/customClasses`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequest.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequest.java
      index 5fc91b3d7289..0bb1510e5e63 100644
      --- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequest.java
      +++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequest.java
      @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          *
          *
          * 
      -   * Required. The parent resource where this phrase set will be created. Format:
      +   * Required. The parent resource where this phrase set will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/phraseSets`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -107,7 +108,8 @@ public java.lang.String getParent() {
          *
          *
          * 
      -   * Required. The parent resource where this phrase set will be created. Format:
      +   * Required. The parent resource where this phrase set will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/phraseSets`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -650,7 +652,8 @@ public Builder mergeFrom(
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -680,7 +683,8 @@ public java.lang.String getParent() {
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -710,7 +714,8 @@ public com.google.protobuf.ByteString getParentBytes() {
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -739,7 +744,8 @@ public Builder setParent(java.lang.String value) {
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -764,7 +770,8 @@ public Builder clearParent() {
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequestOrBuilder.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequestOrBuilder.java
      index f8fffaec1d9b..6ed2b941b954 100644
      --- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequestOrBuilder.java
      +++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequestOrBuilder.java
      @@ -27,7 +27,8 @@ public interface CreatePhraseSetRequestOrBuilder
          *
          *
          * 
      -   * Required. The parent resource where this phrase set will be created. Format:
      +   * Required. The parent resource where this phrase set will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/phraseSets`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -47,7 +48,8 @@ public interface CreatePhraseSetRequestOrBuilder
          *
          *
          * 
      -   * Required. The parent resource where this phrase set will be created. Format:
      +   * Required. The parent resource where this phrase set will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/phraseSets`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSet.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSet.java
      index 6587e7bb6196..98becdcb5ce7 100644
      --- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSet.java
      +++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSet.java
      @@ -110,8 +110,8 @@ public interface PhraseOrBuilder
            * boost will simply be ignored. Though `boost` can accept a wide range of
            * positive values, most use cases are best served
            * with values between 0 and 20. We recommend using a binary search approach
      -     * to finding the optimal value for your use case. Speech recognition
      -     * will skip PhraseSets with a boost value of 0.
      +     * to finding the optimal value for your use case as well as adding
      +     * phrases both with and without boost to your requests.
            * 
      * * float boost = 2; @@ -145,8 +145,8 @@ public interface PhraseOrBuilder * Speech-to-Text supports three locations: `global`, `us` (US North America), * and `eu` (Europe). If you are calling the `speech.googleapis.com` * endpoint, use the `global` location. To specify a region, use a - * [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - * `eu` location value. + * [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + * with matching `us` or `eu` location value. *
      * * Protobuf type {@code google.cloud.speech.v1.PhraseSet.Phrase} @@ -255,8 +255,8 @@ public com.google.protobuf.ByteString getValueBytes() { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 2; @@ -463,8 +463,8 @@ protected Builder newBuilderForType( * Speech-to-Text supports three locations: `global`, `us` (US North America), * and `eu` (Europe). If you are calling the `speech.googleapis.com` * endpoint, use the `global` location. To specify a region, use a - * [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - * `eu` location value. + * [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + * with matching `us` or `eu` location value. *
      * * Protobuf type {@code google.cloud.speech.v1.PhraseSet.Phrase} @@ -776,8 +776,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 2; @@ -799,8 +799,8 @@ public float getBoost() { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 2; @@ -826,8 +826,8 @@ public Builder setBoost(float value) { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 2; @@ -1040,8 +1040,8 @@ public com.google.cloud.speech.v1.PhraseSet.PhraseOrBuilder getPhrasesOrBuilder( * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; @@ -1953,8 +1953,8 @@ public com.google.cloud.speech.v1.PhraseSet.Phrase.Builder addPhrasesBuilder(int * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; @@ -1976,8 +1976,8 @@ public float getBoost() { * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; @@ -2003,8 +2003,8 @@ public Builder setBoost(float value) { * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSetOrBuilder.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSetOrBuilder.java index 39857ed50248..f341693f7936 100644 --- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSetOrBuilder.java +++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSetOrBuilder.java @@ -111,8 +111,8 @@ public interface PhraseSetOrBuilder * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechAdaptationProto.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechAdaptationProto.java index 081817d7ecba..28187573419a 100644 --- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechAdaptationProto.java +++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeechAdaptationProto.java @@ -175,10 +175,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\344\223\0023*1/v1/{name=projects/*/locations/*/c" + "ustomClasses/*}\332A\004name\032I\312A\025speech.google" + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB|\n\032com.google.cloud.sp" - + "eech.v1B\025SpeechAdaptationProtoP\001Z4.0.0 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 2.4.0 + 2.5.0 proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.cloud google-cloud-speech-parent - 4.4.0 + 4.5.0 diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/pom.xml b/java-speech/proto-google-cloud-speech-v1p1beta1/pom.xml index 86a9508083bf..d14bab3b47cb 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 2.4.0 + 2.5.0 proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.cloud google-cloud-speech-parent - 4.4.0 + 4.5.0 diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequest.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequest.java index 8b3100d35612..b1fc669caa25 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequest.java +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequest.java @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
      -   * Required. The parent resource where this custom class will be created. Format:
      +   * Required. The parent resource where this custom class will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/customClasses`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -107,7 +108,8 @@ public java.lang.String getParent() {
          *
          *
          * 
      -   * Required. The parent resource where this custom class will be created. Format:
      +   * Required. The parent resource where this custom class will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/customClasses`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -652,7 +654,8 @@ public Builder mergeFrom(
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -682,7 +685,8 @@ public java.lang.String getParent() {
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -712,7 +716,8 @@ public com.google.protobuf.ByteString getParentBytes() {
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -741,7 +746,8 @@ public Builder setParent(java.lang.String value) {
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -766,7 +772,8 @@ public Builder clearParent() {
            *
            *
            * 
      -     * Required. The parent resource where this custom class will be created. Format:
      +     * Required. The parent resource where this custom class will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/customClasses`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequestOrBuilder.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequestOrBuilder.java
      index 0562cbcf6cdd..96fea57ca645 100644
      --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequestOrBuilder.java
      +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequestOrBuilder.java
      @@ -27,7 +27,8 @@ public interface CreateCustomClassRequestOrBuilder
          *
          *
          * 
      -   * Required. The parent resource where this custom class will be created. Format:
      +   * Required. The parent resource where this custom class will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/customClasses`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -47,7 +48,8 @@ public interface CreateCustomClassRequestOrBuilder
          *
          *
          * 
      -   * Required. The parent resource where this custom class will be created. Format:
      +   * Required. The parent resource where this custom class will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/customClasses`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequest.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequest.java
      index 39ce8dd20734..78c4494d418b 100644
      --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequest.java
      +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequest.java
      @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
          *
          *
          * 
      -   * Required. The parent resource where this phrase set will be created. Format:
      +   * Required. The parent resource where this phrase set will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/phraseSets`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -107,7 +108,8 @@ public java.lang.String getParent() {
          *
          *
          * 
      -   * Required. The parent resource where this phrase set will be created. Format:
      +   * Required. The parent resource where this phrase set will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/phraseSets`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -651,7 +653,8 @@ public Builder mergeFrom(
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -681,7 +684,8 @@ public java.lang.String getParent() {
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -711,7 +715,8 @@ public com.google.protobuf.ByteString getParentBytes() {
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -740,7 +745,8 @@ public Builder setParent(java.lang.String value) {
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -765,7 +771,8 @@ public Builder clearParent() {
            *
            *
            * 
      -     * Required. The parent resource where this phrase set will be created. Format:
      +     * Required. The parent resource where this phrase set will be created.
      +     * Format:
            * `projects/{project}/locations/{location}/phraseSets`
            * Speech-to-Text supports three locations: `global`, `us` (US North America),
            * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequestOrBuilder.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequestOrBuilder.java
      index 4b4c85e4a32a..724371c4424c 100644
      --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequestOrBuilder.java
      +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequestOrBuilder.java
      @@ -27,7 +27,8 @@ public interface CreatePhraseSetRequestOrBuilder
          *
          *
          * 
      -   * Required. The parent resource where this phrase set will be created. Format:
      +   * Required. The parent resource where this phrase set will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/phraseSets`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      @@ -47,7 +48,8 @@ public interface CreatePhraseSetRequestOrBuilder
          *
          *
          * 
      -   * Required. The parent resource where this phrase set will be created. Format:
      +   * Required. The parent resource where this phrase set will be created.
      +   * Format:
          * `projects/{project}/locations/{location}/phraseSets`
          * Speech-to-Text supports three locations: `global`, `us` (US North America),
          * and `eu` (Europe). If you are calling the `speech.googleapis.com`
      diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSet.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSet.java
      index ed04b6065554..5abc2dbde6ed 100644
      --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSet.java
      +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSet.java
      @@ -110,8 +110,8 @@ public interface PhraseOrBuilder
            * boost will simply be ignored. Though `boost` can accept a wide range of
            * positive values, most use cases are best served
            * with values between 0 and 20. We recommend using a binary search approach
      -     * to finding the optimal value for your use case. Speech recognition
      -     * will skip PhraseSets with a boost value of 0.
      +     * to finding the optimal value for your use case as well as adding
      +     * phrases both with and without boost to your requests.
            * 
      * * float boost = 2; @@ -145,8 +145,8 @@ public interface PhraseOrBuilder * Speech-to-Text supports three locations: `global`, `us` (US North America), * and `eu` (Europe). If you are calling the `speech.googleapis.com` * endpoint, use the `global` location. To specify a region, use a - * [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - * `eu` location value. + * [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + * with matching `us` or `eu` location value. *
      * * Protobuf type {@code google.cloud.speech.v1p1beta1.PhraseSet.Phrase} @@ -255,8 +255,8 @@ public com.google.protobuf.ByteString getValueBytes() { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 2; @@ -463,8 +463,8 @@ protected Builder newBuilderForType( * Speech-to-Text supports three locations: `global`, `us` (US North America), * and `eu` (Europe). If you are calling the `speech.googleapis.com` * endpoint, use the `global` location. To specify a region, use a - * [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - * `eu` location value. + * [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + * with matching `us` or `eu` location value. *
      * * Protobuf type {@code google.cloud.speech.v1p1beta1.PhraseSet.Phrase} @@ -777,8 +777,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 2; @@ -800,8 +800,8 @@ public float getBoost() { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 2; @@ -827,8 +827,8 @@ public Builder setBoost(float value) { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 2; @@ -1042,8 +1042,8 @@ public com.google.cloud.speech.v1p1beta1.PhraseSet.PhraseOrBuilder getPhrasesOrB * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; @@ -1963,8 +1963,8 @@ public com.google.cloud.speech.v1p1beta1.PhraseSet.Phrase.Builder addPhrasesBuil * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; @@ -1986,8 +1986,8 @@ public float getBoost() { * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; @@ -2013,8 +2013,8 @@ public Builder setBoost(float value) { * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSetOrBuilder.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSetOrBuilder.java index 55f1127b4ee5..91b548072ad2 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSetOrBuilder.java +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSetOrBuilder.java @@ -111,8 +111,8 @@ public interface PhraseSetOrBuilder * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
      * * float boost = 4; diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechAdaptationProto.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechAdaptationProto.java index 2d3104cbb88a..2d3857fd9f15 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechAdaptationProto.java +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechAdaptationProto.java @@ -181,11 +181,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "uf.Empty\"G\202\323\344\223\002:*8/v1p1beta1/{name=proje" + "cts/*/locations/*/customClasses/*}\332A\004nam" + "e\032I\312A\025speech.googleapis.com\322A.https://ww" - + "w.googleapis.com/auth/cloud-platformB\212\001\n" + + "w.googleapis.com/auth/cloud-platformB\200\001\n" + "!com.google.cloud.speech.v1p1beta1B\025Spee" - + "chAdaptationProtoP\001ZCgoogle.golang.org/g" - + "enproto/googleapis/cloud/speech/v1p1beta" - + "1;speech\370\001\001\242\002\003GCSb\006proto3" + + "chAdaptationProtoP\001Z9cloud.google.com/go" + + "/speech/apiv1p1beta1/speechpb;speechpb\370\001" + + "\001\242\002\003GCSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java index c0e43bb88557..00b2188560c4 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechProto.java @@ -277,11 +277,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "eRequest\0329.google.cloud.speech.v1p1beta1" + ".StreamingRecognizeResponse\"\000(\0010\001\032I\312A\025sp" + "eech.googleapis.com\322A.https://www.google" - + "apis.com/auth/cloud-platformB\200\001\n!com.goo" - + "gle.cloud.speech.v1p1beta1B\013SpeechProtoP" - + "\001ZCgoogle.golang.org/genproto/googleapis" - + "/cloud/speech/v1p1beta1;speech\370\001\001\242\002\003GCSb" - + "\006proto3" + + "apis.com/auth/cloud-platformBv\n!com.goog" + + "le.cloud.speech.v1p1beta1B\013SpeechProtoP\001" + + "Z9cloud.google.com/go/speech/apiv1p1beta" + + "1/speechpb;speechpb\370\001\001\242\002\003GCSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechResourceProto.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechResourceProto.java index 71f4e12c7685..45913fb55f79 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechResourceProto.java +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeechResourceProto.java @@ -96,10 +96,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \003(\0132<.google.cloud.speech.v1p1beta1.Tra" + "nscriptNormalization.Entry\032@\n\005Entry\022\016\n\006s" + "earch\030\001 \001(\t\022\017\n\007replace\030\002 \001(\t\022\026\n\016case_sen" - + "sitive\030\003 \001(\010B\210\001\n!com.google.cloud.speech" - + ".v1p1beta1B\023SpeechResourceProtoP\001ZCgoogl" - + "e.golang.org/genproto/googleapis/cloud/s" - + "peech/v1p1beta1;speech\370\001\001\242\002\003GCSb\006proto3" + + "sitive\030\003 \001(\010B~\n!com.google.cloud.speech." + + "v1p1beta1B\023SpeechResourceProtoP\001Z9cloud." + + "google.com/go/speech/apiv1p1beta1/speech" + + "pb;speechpb\370\001\001\242\002\003GCSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto index d1396692b608..d72ad00563a5 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech.proto @@ -27,7 +27,7 @@ import "google/protobuf/wrappers.proto"; import "google/rpc/status.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1;speech"; +option go_package = "cloud.google.com/go/speech/apiv1p1beta1/speechpb;speechpb"; option java_multiple_files = true; option java_outer_classname = "SpeechProto"; option java_package = "com.google.cloud.speech.v1p1beta1"; diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto index 45ca97f2d13a..f805dfb575ca 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1;speech"; +option go_package = "cloud.google.com/go/speech/apiv1p1beta1/speechpb;speechpb"; option java_multiple_files = true; option java_outer_classname = "SpeechAdaptationProto"; option java_package = "com.google.cloud.speech.v1p1beta1"; @@ -34,7 +34,8 @@ option objc_class_prefix = "GCS"; // Service that implements Google Cloud Speech Adaptation API. service Adaptation { option (google.api.default_host) = "speech.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Create a set of phrase hints. Each item in the set can be a single word or // a multi-word phrase. The items in the PhraseSet are favored by the @@ -86,7 +87,8 @@ service Adaptation { post: "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" body: "*" }; - option (google.api.method_signature) = "parent,custom_class,custom_class_id"; + option (google.api.method_signature) = + "parent,custom_class,custom_class_id"; } // Get a custom class. @@ -98,7 +100,8 @@ service Adaptation { } // List custom classes. - rpc ListCustomClasses(ListCustomClassesRequest) returns (ListCustomClassesResponse) { + rpc ListCustomClasses(ListCustomClassesRequest) + returns (ListCustomClassesResponse) { option (google.api.http) = { get: "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" }; @@ -115,7 +118,8 @@ service Adaptation { } // Delete a custom class. - rpc DeleteCustomClass(DeleteCustomClassRequest) returns (google.protobuf.Empty) { + rpc DeleteCustomClass(DeleteCustomClassRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}" }; @@ -125,7 +129,8 @@ service Adaptation { // Message sent by the client for the `CreatePhraseSet` method. message CreatePhraseSetRequest { - // Required. The parent resource where this phrase set will be created. Format: + // Required. The parent resource where this phrase set will be created. + // Format: // // `projects/{project}/locations/{location}/phraseSets` // @@ -248,7 +253,8 @@ message DeletePhraseSetRequest { // Message sent by the client for the `CreateCustomClass` method. message CreateCustomClassRequest { - // Required. The parent resource where this custom class will be created. Format: + // Required. The parent resource where this custom class will be created. + // Format: // // `projects/{project}/locations/{location}/customClasses` // diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/resource.proto b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/resource.proto index 6a9bcaa9837a..6deb314b8481 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/resource.proto +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/resource.proto @@ -19,7 +19,7 @@ package google.cloud.speech.v1p1beta1; import "google/api/resource.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1;speech"; +option go_package = "cloud.google.com/go/speech/apiv1p1beta1/speechpb;speechpb"; option java_multiple_files = true; option java_outer_classname = "SpeechResourceProto"; option java_package = "com.google.cloud.speech.v1p1beta1"; @@ -82,8 +82,8 @@ message PhraseSet { // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` // endpoint, use the `global` location. To specify a region, use a - // [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or - // `eu` location value. + // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) + // with matching `us` or `eu` location value. message Phrase { // The phrase itself. string value = 1; @@ -95,8 +95,8 @@ message PhraseSet { // boost will simply be ignored. Though `boost` can accept a wide range of // positive values, most use cases are best served // with values between 0 and 20. We recommend using a binary search approach - // to finding the optimal value for your use case. Speech recognition - // will skip PhraseSets with a boost value of 0. + // to finding the optimal value for your use case as well as adding + // phrases both with and without boost to your requests. float boost = 2; } @@ -113,8 +113,8 @@ message PhraseSet { // enabled, so negative boost will simply be ignored. Though `boost` can // accept a wide range of positive values, most use cases are best served with // values between 0 (exclusive) and 20. We recommend using a binary search - // approach to finding the optimal value for your use case. Speech recognition - // will skip PhraseSets with a boost value of 0. + // approach to finding the optimal value for your use case as well as adding + // phrases both with and without boost to your requests. float boost = 4; } diff --git a/java-speech/proto-google-cloud-speech-v2/pom.xml b/java-speech/proto-google-cloud-speech-v2/pom.xml index 3b8bde84d022..babd68b7950e 100644 --- a/java-speech/proto-google-cloud-speech-v2/pom.xml +++ b/java-speech/proto-google-cloud-speech-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-speech-v2 - 4.4.0 + 4.5.0 proto-google-cloud-speech-v2 Proto library for google-cloud-speech com.google.cloud google-cloud-speech-parent - 4.4.0 + 4.5.0 diff --git a/java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/CloudSpeechProto.java b/java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/CloudSpeechProto.java index dabcad59583b..bbe6c77a8ba3 100644 --- a/java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/CloudSpeechProto.java +++ b/java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/CloudSpeechProto.java @@ -726,17 +726,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "delete:\001*\332A\004name\312A\036\n\tPhraseSet\022\021Operatio" + "nMetadata\032I\312A\025speech.googleapis.com\322A.ht" + "tps://www.googleapis.com/auth/cloud-plat" - + "formB\223\003\n\032com.google.cloud.speech.v2B\020Clo" - + "udSpeechProtoP\001Z4.0.0 com.google.cloud google-cloud-storage-transfer-bom - 1.9.0 + 1.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-storage-transfer - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-storage-transfer-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-storage-transfer-v1 - 1.9.0 + 1.10.0 diff --git a/java-storage-transfer/google-cloud-storage-transfer/pom.xml b/java-storage-transfer/google-cloud-storage-transfer/pom.xml index fcac6d4cd512..69e2b5abb14b 100644 --- a/java-storage-transfer/google-cloud-storage-transfer/pom.xml +++ b/java-storage-transfer/google-cloud-storage-transfer/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-storage-transfer - 1.9.0 + 1.10.0 jar Google Storage Transfer Service Storage Transfer Service Secure, low-cost services for transferring data from cloud or on-premises sources. com.google.cloud google-cloud-storage-transfer-parent - 1.9.0 + 1.10.0 google-cloud-storage-transfer diff --git a/java-storage-transfer/grpc-google-cloud-storage-transfer-v1/pom.xml b/java-storage-transfer/grpc-google-cloud-storage-transfer-v1/pom.xml index dba72c3ac2fb..e770eec0e8ea 100644 --- a/java-storage-transfer/grpc-google-cloud-storage-transfer-v1/pom.xml +++ b/java-storage-transfer/grpc-google-cloud-storage-transfer-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-storage-transfer-v1 - 1.9.0 + 1.10.0 grpc-google-cloud-storage-transfer-v1 GRPC library for google-cloud-storage-transfer com.google.cloud google-cloud-storage-transfer-parent - 1.9.0 + 1.10.0 diff --git a/java-storage-transfer/pom.xml b/java-storage-transfer/pom.xml index e7231570386a..576e75de1bbf 100644 --- a/java-storage-transfer/pom.xml +++ b/java-storage-transfer/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-storage-transfer-parent pom - 1.9.0 + 1.10.0 Google Storage Transfer Service Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-storage-transfer - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-storage-transfer-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-storage-transfer-v1 - 1.9.0 + 1.10.0 diff --git a/java-storage-transfer/proto-google-cloud-storage-transfer-v1/pom.xml b/java-storage-transfer/proto-google-cloud-storage-transfer-v1/pom.xml index 58b335d384dd..eb54c84ba4b5 100644 --- a/java-storage-transfer/proto-google-cloud-storage-transfer-v1/pom.xml +++ b/java-storage-transfer/proto-google-cloud-storage-transfer-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-storage-transfer-v1 - 1.9.0 + 1.10.0 proto-google-cloud-storage-transfer-v1 Proto library for google-cloud-storage-transfer com.google.cloud google-cloud-storage-transfer-parent - 1.9.0 + 1.10.0 diff --git a/java-talent/README.md b/java-talent/README.md index 9bda7b513271..d95d354cb55d 100644 --- a/java-talent/README.md +++ b/java-talent/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-talent - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-talent:2.9.0' +implementation 'com.google.cloud:google-cloud-talent:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.10.0" ``` ## Authentication diff --git a/java-talent/google-cloud-talent-bom/pom.xml b/java-talent/google-cloud-talent-bom/pom.xml index a23e0c4788ed..482eb2f8f220 100644 --- a/java-talent/google-cloud-talent-bom/pom.xml +++ b/java-talent/google-cloud-talent-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-talent-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-talent - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-talent-v4 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-talent-v4beta1 - 0.53.0 + 0.54.0 com.google.api.grpc proto-google-cloud-talent-v4 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-talent-v4beta1 - 0.53.0 + 0.54.0 diff --git a/java-talent/google-cloud-talent/pom.xml b/java-talent/google-cloud-talent/pom.xml index 9d5d92c3e91c..00791de39d8e 100644 --- a/java-talent/google-cloud-talent/pom.xml +++ b/java-talent/google-cloud-talent/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-talent - 2.10.0 + 2.11.0 jar Google Cloud Talent Solution Java idiomatic client for Google Cloud Talent Solution com.google.cloud google-cloud-talent-parent - 2.10.0 + 2.11.0 google-cloud-talent diff --git a/java-talent/grpc-google-cloud-talent-v4/pom.xml b/java-talent/grpc-google-cloud-talent-v4/pom.xml index 09661815583f..4804dbf17d28 100644 --- a/java-talent/grpc-google-cloud-talent-v4/pom.xml +++ b/java-talent/grpc-google-cloud-talent-v4/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-talent-v4 - 2.10.0 + 2.11.0 grpc-google-cloud-talent-v4 GRPC library for grpc-google-cloud-talent-v4 com.google.cloud google-cloud-talent-parent - 2.10.0 + 2.11.0 diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/pom.xml b/java-talent/grpc-google-cloud-talent-v4beta1/pom.xml index 67c7275df6fe..1b865518f466 100644 --- a/java-talent/grpc-google-cloud-talent-v4beta1/pom.xml +++ b/java-talent/grpc-google-cloud-talent-v4beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-talent-v4beta1 - 0.53.0 + 0.54.0 grpc-google-cloud-talent-v4beta1 GRPC library for grpc-google-cloud-talent-v4beta1 com.google.cloud google-cloud-talent-parent - 2.10.0 + 2.11.0 diff --git a/java-talent/pom.xml b/java-talent/pom.xml index ec6ad8d72d37..7b7da3e94589 100644 --- a/java-talent/pom.xml +++ b/java-talent/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-talent-parent pom - 2.10.0 + 2.11.0 Google Cloud Talent Solution Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-talent-v4beta1 - 0.53.0 + 0.54.0 com.google.api.grpc proto-google-cloud-talent-v4 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-talent-v4beta1 - 0.53.0 + 0.54.0 com.google.api.grpc grpc-google-cloud-talent-v4 - 2.10.0 + 2.11.0 com.google.cloud google-cloud-talent - 2.10.0 + 2.11.0 com.google.cloud diff --git a/java-talent/proto-google-cloud-talent-v4/pom.xml b/java-talent/proto-google-cloud-talent-v4/pom.xml index d9b16fde4524..bb75bf06e997 100644 --- a/java-talent/proto-google-cloud-talent-v4/pom.xml +++ b/java-talent/proto-google-cloud-talent-v4/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-talent-v4 - 2.10.0 + 2.11.0 proto-google-cloud-talent-v4 PROTO library for proto-google-cloud-talent-v4 com.google.cloud google-cloud-talent-parent - 2.10.0 + 2.11.0 diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java index 7599af687ace..53819aaf3973 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java @@ -211,10 +211,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032C" + "OMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001" + "\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004\022" - + "\026\n\022TRANSIT_ACCESSIBLE\020\005Bo\n\032com.google.cl" - + "oud.talent.v4B\013CommonProtoP\001Z4.0.0 com.google.api.grpc proto-google-cloud-talent-v4beta1 - 0.53.0 + 0.54.0 proto-google-cloud-talent-v4beta1 PROTO library for proto-google-cloud-talent-v4beta1 com.google.cloud google-cloud-talent-parent - 2.10.0 + 2.11.0 diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java index ed90f94ed8bc..8b3883ea45e4 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java @@ -36,10 +36,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\'google/cloud/talent/v4beta1/batch.prot" - + "o\022\033google.cloud.talent.v4beta1Bx\n\037com.go" + + "o\022\033google.cloud.talent.v4beta1Bn\n\037com.go" + "ogle.cloud.talent.v4beta1B\nBatchProtoP\001Z" - + "Agoogle.golang.org/genproto/googleapis/c" - + "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + + "7cloud.google.com/go/talent/apiv4beta1/t" + + "alentpb;talentpb\242\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java index dbe85a81e01b..b7b7c062ad58 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java @@ -212,10 +212,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ONLY\020\002*c" + "\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_UNSPEC" + "IFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WAL" - + "KING\020\003\022\013\n\007CYCLING\020\004By\n\037com.google.cloud." - + "talent.v4beta1B\013CommonProtoP\001ZAgoogle.go" - + "lang.org/genproto/googleapis/cloud/talen" - + "t/v4beta1;talent\242\002\003CTSb\006proto3" + + "KING\020\003\022\013\n\007CYCLING\020\004Bo\n\037com.google.cloud." + + "talent.v4beta1B\013CommonProtoP\001Z7cloud.goo" + + "gle.com/go/talent/apiv4beta1/talentpb;ta" + + "lentpb\242\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java index 1b63ab21ba97..a653c633467d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java @@ -64,10 +64,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ation:\201\001\352A~\n\033jobs.googleapis.com/Company" + "\0227projects/{project}/tenants/{tenant}/co" + "mpanies/{company}\022&projects/{project}/co" - + "mpanies/{company}B\202\001\n\037com.google.cloud.t" - + "alent.v4beta1B\024CompanyResourceProtoP\001ZAg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + + "mpanies/{company}Bx\n\037com.google.cloud.ta" + + "lent.v4beta1B\024CompanyResourceProtoP\001Z7cl" + + "oud.google.com/go/talent/apiv4beta1/tale" + + "ntpb;talentpb\242\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java index 41feb9ae8cc7..c2f4f952dae5 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java @@ -117,11 +117,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "v4beta1/{parent=projects/*}/companies\332A\006" + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + "/www.googleapis.com/auth/cloud-platform," - + "https://www.googleapis.com/auth/jobsB\201\001\n" - + "\037com.google.cloud.talent.v4beta1B\023Compan" - + "yServiceProtoP\001ZAgoogle.golang.org/genpr" - + "oto/googleapis/cloud/talent/v4beta1;tale" - + "nt\242\002\003CTSb\006proto3" + + "https://www.googleapis.com/auth/jobsBw\n\037" + + "com.google.cloud.talent.v4beta1B\023Company" + + "ServiceProtoP\001Z7cloud.google.com/go/tale" + + "nt/apiv4beta1/talentpb;talentpb\242\002\003CTSb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java index 3580295427ad..0974ff1ac5c4 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java @@ -84,10 +84,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ects/*}:complete\032l\312A\023jobs.googleapis.com" + "\322AShttps://www.googleapis.com/auth/cloud" + "-platform,https://www.googleapis.com/aut" - + "h/jobsB\204\001\n\037com.google.cloud.talent.v4bet" - + "a1B\026CompletionServiceProtoP\001ZAgoogle.gol" - + "ang.org/genproto/googleapis/cloud/talent" - + "/v4beta1;talent\242\002\003CTSb\006proto3" + + "h/jobsBz\n\037com.google.cloud.talent.v4beta" + + "1B\026CompletionServiceProtoP\001Z7cloud.googl" + + "e.com/go/talent/apiv4beta1/talentpb;tale" + + "ntpb\242\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java index 9bf3bda85a3d..11fc971985b1 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java @@ -65,10 +65,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_SUB" + "MIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n" + "\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GRANT" - + "ED\020\017Bx\n\037com.google.cloud.talent.v4beta1B" - + "\nEventProtoP\001ZAgoogle.golang.org/genprot" - + "o/googleapis/cloud/talent/v4beta1;talent" - + "\242\002\003CTSb\006proto3" + + "ED\020\017Bn\n\037com.google.cloud.talent.v4beta1B" + + "\nEventProtoP\001Z7cloud.google.com/go/talen" + + "t/apiv4beta1/talentpb;talentpb\242\002\003CTSb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java index 9aeec3907ff9..bec7547c447d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java @@ -59,10 +59,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ent,client_event\032l\312A\023jobs.googleapis.com" + "\322AShttps://www.googleapis.com/auth/cloud" + "-platform,https://www.googleapis.com/aut" - + "h/jobsB\177\n\037com.google.cloud.talent.v4beta" - + "1B\021EventServiceProtoP\001ZAgoogle.golang.or" - + "g/genproto/googleapis/cloud/talent/v4bet" - + "a1;talent\242\002\003CTSb\006proto3" + + "h/jobsBu\n\037com.google.cloud.talent.v4beta" + + "1B\021EventServiceProtoP\001Z7cloud.google.com" + + "/go/talent/apiv4beta1/talentpb;talentpb\242" + + "\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java index 63e204fdce09..4e2bf50bd5ff 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java @@ -106,11 +106,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "icH\000\0220\n\016departure_time\030\006 \001(\0132\026.google.ty" + "pe.TimeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TR" + "AFFIC_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n" - + "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBz\n\037com.go" + + "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBp\n\037com.go" + "ogle.cloud.talent.v4beta1B\014FiltersProtoP" - + "\001ZAgoogle.golang.org/genproto/googleapis" - + "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot" - + "o3" + + "\001Z7cloud.google.com/go/talent/apiv4beta1" + + "/talentpb;talentpb\242\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java index c036e0f5d115..248704468b70 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java @@ -55,10 +55,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "y\030\001 \001(\t\022S\n\thistogram\030\002 \003(\0132@.google.clou" + "d.talent.v4beta1.HistogramQueryResult.Hi" + "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B|\n\037com.google.clo" - + "ud.talent.v4beta1B\016HistogramProtoP\001ZAgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/talent/v4beta1;talent\242\002\003CTSb\006proto3" + + "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001Br\n\037com.google.clo" + + "ud.talent.v4beta1B\016HistogramProtoP\001Z7clo" + + "ud.google.com/go/talent/apiv4beta1/talen" + + "tpb;talentpb\242\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java index 8985ac656fd0..73c531d01ffa 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java @@ -111,10 +111,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "alent.v4beta1.CustomAttribute:\0028\001:k\352Ah\n\027" + "jobs.googleapis.com/Job\022.projects/{proje" + "ct}/tenants/{tenant}/jobs/{job}\022\035project" - + "s/{project}/jobs/{job}B~\n\037com.google.clo" - + "ud.talent.v4beta1B\020JobResourceProtoP\001ZAg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + + "s/{project}/jobs/{job}Bt\n\037com.google.clo" + + "ud.talent.v4beta1B\020JobResourceProtoP\001Z7c" + + "loud.google.com/go/talent/apiv4beta1/tal" + + "entpb;talentpb\242\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java index e513814b921c..f1f46612b640 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java @@ -266,11 +266,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ent=projects/*}/jobs:searchForAlert:\001*\032l" + "\312A\023jobs.googleapis.com\322AShttps://www.goo" + "gleapis.com/auth/cloud-platform,https://" - + "www.googleapis.com/auth/jobsB}\n\037com.goog" + + "www.googleapis.com/auth/jobsBs\n\037com.goog" + "le.cloud.talent.v4beta1B\017JobServiceProto" - + "P\001ZAgoogle.golang.org/genproto/googleapi" - + "s/cloud/talent/v4beta1;talent\242\002\003CTSb\006pro" - + "to3" + + "P\001Z7cloud.google.com/go/talent/apiv4beta" + + "1/talentpb;talentpb\242\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java index 5b0067852a43..c8bff585a505 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java @@ -51,10 +51,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Type\022\037\n\033DATA_USAGE_TYPE_UNSPECIFIED\020\000\022\016\n" + "\nAGGREGATED\020\001\022\014\n\010ISOLATED\020\002:D\352AA\n\032jobs.g" + "oogleapis.com/Tenant\022#projects/{project}" - + "/tenants/{tenant}B\201\001\n\037com.google.cloud.t" - + "alent.v4beta1B\023TenantResourceProtoP\001ZAgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/talent/v4beta1;talent\242\002\003CTSb\006proto3" + + "/tenants/{tenant}Bw\n\037com.google.cloud.ta" + + "lent.v4beta1B\023TenantResourceProtoP\001Z7clo" + + "ud.google.com/go/talent/apiv4beta1/talen" + + "tpb;talentpb\242\002\003CTSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java index 9f97b7d7ba06..5656b77e0b73 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java @@ -109,11 +109,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "$/v4beta1/{parent=projects/*}/tenants\332A\006" + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + "/www.googleapis.com/auth/cloud-platform," - + "https://www.googleapis.com/auth/jobsB\200\001\n" - + "\037com.google.cloud.talent.v4beta1B\022Tenant" - + "ServiceProtoP\001ZAgoogle.golang.org/genpro" - + "to/googleapis/cloud/talent/v4beta1;talen" - + "t\242\002\003CTSb\006proto3" + + "https://www.googleapis.com/auth/jobsBv\n\037" + + "com.google.cloud.talent.v4beta1B\022TenantS" + + "erviceProtoP\001Z7cloud.google.com/go/talen" + + "t/apiv4beta1/talentpb;talentpb\242\002\003CTSb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto index 64a40e9cac00..e1e3ea8011f0 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package google.cloud.talent.v4beta1; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "BatchProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto index 062c5727390e..8bceefc41a89 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto @@ -23,7 +23,7 @@ import "google/type/latlng.proto"; import "google/type/money.proto"; import "google/type/postal_address.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto index 9dd4f0a64f27..48663caa279e 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/talent/v4beta1/common.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "CompanyResourceProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto index 2dd9ffca8ce6..423f43830e6d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto @@ -25,7 +25,7 @@ import "google/cloud/talent/v4beta1/company.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "CompanyServiceProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto index 48aa0bda2fbe..261f8a5c5a09 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto @@ -22,7 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/talent/v4beta1/common.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "CompletionServiceProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto index 3e4cbd0af57b..dbe275e7b532 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto @@ -19,7 +19,7 @@ package google.cloud.talent.v4beta1; import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "EventProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto index 38df2db3bff5..6d3941154ddd 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto @@ -22,7 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/talent/v4beta1/event.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "EventServiceProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto index 7818c5caf01c..5122f6affadd 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/type/latlng.proto"; import "google/type/timeofday.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "FiltersProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto index 96d2a81ddf8b..33d182beabf4 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package google.cloud.talent.v4beta1; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "HistogramProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto index 6c23bea9ca39..25f82b751b56 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/cloud/talent/v4beta1/common.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "JobResourceProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto index 3bdb56e934b1..6c0021d74f68 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto @@ -30,7 +30,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "JobServiceProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto index 53a3a515a1ad..fd74a555fd21 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto @@ -19,7 +19,7 @@ package google.cloud.talent.v4beta1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "TenantResourceProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto index 57614a45b6f1..a6a550684eac 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto @@ -25,7 +25,7 @@ import "google/cloud/talent/v4beta1/tenant.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1;talent"; +option go_package = "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb"; option java_multiple_files = true; option java_outer_classname = "TenantServiceProto"; option java_package = "com.google.cloud.talent.v4beta1"; diff --git a/java-tasks/README.md b/java-tasks/README.md index 332c04dfd297..40fd6ffea0f2 100644 --- a/java-tasks/README.md +++ b/java-tasks/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-tasks - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tasks:2.8.0' +implementation 'com.google.cloud:google-cloud-tasks:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.9.0" ``` ## Authentication diff --git a/java-tasks/google-cloud-tasks-bom/pom.xml b/java-tasks/google-cloud-tasks-bom/pom.xml index a4c80de7b84a..f07c16312126 100644 --- a/java-tasks/google-cloud-tasks-bom/pom.xml +++ b/java-tasks/google-cloud-tasks-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-tasks-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,37 +23,37 @@ com.google.cloud google-cloud-tasks - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.99.0 + 0.100.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.99.0 + 0.100.0 com.google.api.grpc grpc-google-cloud-tasks-v2 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.99.0 + 0.100.0 com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.99.0 + 0.100.0 com.google.api.grpc proto-google-cloud-tasks-v2 - 2.9.0 + 2.10.0 diff --git a/java-tasks/google-cloud-tasks/pom.xml b/java-tasks/google-cloud-tasks/pom.xml index 5ee2f89c72f4..3771af8548b9 100644 --- a/java-tasks/google-cloud-tasks/pom.xml +++ b/java-tasks/google-cloud-tasks/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-tasks - 2.9.0 + 2.10.0 jar Google Cloud Tasks Java idiomatic client for Google Cloud Tasks com.google.cloud google-cloud-tasks-parent - 2.9.0 + 2.10.0 google-cloud-tasks diff --git a/java-tasks/grpc-google-cloud-tasks-v2/pom.xml b/java-tasks/grpc-google-cloud-tasks-v2/pom.xml index 65c6f1cb41d4..f5467d6f8101 100644 --- a/java-tasks/grpc-google-cloud-tasks-v2/pom.xml +++ b/java-tasks/grpc-google-cloud-tasks-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-tasks-v2 - 2.9.0 + 2.10.0 grpc-google-cloud-tasks-v2 GRPC library for grpc-google-cloud-tasks-v2 com.google.cloud google-cloud-tasks-parent - 2.9.0 + 2.10.0 diff --git a/java-tasks/grpc-google-cloud-tasks-v2beta2/pom.xml b/java-tasks/grpc-google-cloud-tasks-v2beta2/pom.xml index 7978e3539bbd..9329b957d503 100644 --- a/java-tasks/grpc-google-cloud-tasks-v2beta2/pom.xml +++ b/java-tasks/grpc-google-cloud-tasks-v2beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.99.0 + 0.100.0 grpc-google-cloud-tasks-v2beta2 GRPC library for grpc-google-cloud-tasks-v2beta2 com.google.cloud google-cloud-tasks-parent - 2.9.0 + 2.10.0 diff --git a/java-tasks/grpc-google-cloud-tasks-v2beta3/pom.xml b/java-tasks/grpc-google-cloud-tasks-v2beta3/pom.xml index 61841b666462..c0ccdadf0841 100644 --- a/java-tasks/grpc-google-cloud-tasks-v2beta3/pom.xml +++ b/java-tasks/grpc-google-cloud-tasks-v2beta3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.99.0 + 0.100.0 grpc-google-cloud-tasks-v2beta3 GRPC library for grpc-google-cloud-tasks-v2beta3 com.google.cloud google-cloud-tasks-parent - 2.9.0 + 2.10.0 diff --git a/java-tasks/pom.xml b/java-tasks/pom.xml index 6f47c5d72ed7..d5df12aacbbe 100644 --- a/java-tasks/pom.xml +++ b/java-tasks/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-tasks-parent pom - 2.9.0 + 2.10.0 Google Cloud Tasks Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,37 +29,37 @@ com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.99.0 + 0.100.0 com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.99.0 + 0.100.0 com.google.api.grpc proto-google-cloud-tasks-v2 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta3 - 0.99.0 + 0.100.0 com.google.api.grpc grpc-google-cloud-tasks-v2beta2 - 0.99.0 + 0.100.0 com.google.api.grpc grpc-google-cloud-tasks-v2 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-tasks - 2.9.0 + 2.10.0 diff --git a/java-tasks/proto-google-cloud-tasks-v2/pom.xml b/java-tasks/proto-google-cloud-tasks-v2/pom.xml index fcc5f8d9e05e..33e534ec611b 100644 --- a/java-tasks/proto-google-cloud-tasks-v2/pom.xml +++ b/java-tasks/proto-google-cloud-tasks-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-tasks-v2 - 2.9.0 + 2.10.0 proto-google-cloud-tasks-v2 PROTO library for proto-google-cloud-tasks-v2 com.google.cloud google-cloud-tasks-parent - 2.9.0 + 2.10.0 diff --git a/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java b/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java index afa82be4bb17..89420d406a99 100644 --- a/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/CloudTasksProto.java @@ -212,10 +212,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "v2/{name=projects/*/locations/*/queues/*" + "/tasks/*}:run:\001*\332A\004name\032M\312A\031cloudtasks.g" + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformBr\n\031com.google.clo" - + "ud.tasks.v2B\017CloudTasksProtoP\001Z:google.g" - + "olang.org/genproto/googleapis/cloud/task" - + "s/v2;tasks\242\002\005TASKSb\006proto3" + + "om/auth/cloud-platformBg\n\031com.google.clo" + + "ud.tasks.v2B\017CloudTasksProtoP\001Z/cloud.go" + + "ogle.com/go/tasks/apiv2/taskspb;taskspb\242" + + "\002\005TASKSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java b/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java index db5e00c62320..3a537336dd6e 100644 --- a/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/QueueProto.java @@ -80,9 +80,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022.\n\013max_backoff\030\004 \001(\0132\031.google.protobuf." + "Duration\022\025\n\rmax_doublings\030\005 \001(\005\"2\n\030Stack" + "driverLoggingConfig\022\026\n\016sampling_ratio\030\001 " - + "\001(\001Be\n\031com.google.cloud.tasks.v2B\nQueueP" - + "rotoP\001Z:google.golang.org/genproto/googl" - + "eapis/cloud/tasks/v2;tasksb\006proto3" + + "\001(\001BZ\n\031com.google.cloud.tasks.v2B\nQueueP" + + "rotoP\001Z/cloud.google.com/go/tasks/apiv2/" + + "taskspb;taskspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java b/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java index 381852896928..581d33a78d1c 100644 --- a/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TargetProto.java @@ -91,9 +91,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002 \001(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPE" + "CIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n" + "\003PUT\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS" - + "\020\007Bf\n\031com.google.cloud.tasks.v2B\013TargetP" - + "rotoP\001Z:google.golang.org/genproto/googl" - + "eapis/cloud/tasks/v2;tasksb\006proto3" + + "\020\007B[\n\031com.google.cloud.tasks.v2B\013TargetP" + + "rotoP\001Z/cloud.google.com/go/tasks/apiv2/" + + "taskspb;taskspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java b/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java index ed8a2c9be906..1597fca17713 100644 --- a/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/TaskProto.java @@ -71,10 +71,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "imestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.google" + ".protobuf.Timestamp\0221\n\rresponse_time\030\003 \001" + "(\0132\032.google.protobuf.Timestamp\022+\n\017respon" - + "se_status\030\004 \001(\0132\022.google.rpc.StatusBd\n\031c" - + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z:g" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/tasks/v2;tasksb\006proto3" + + "se_status\030\004 \001(\0132\022.google.rpc.StatusBY\n\031c" + + "om.google.cloud.tasks.v2B\tTaskProtoP\001Z/c" + + "loud.google.com/go/tasks/apiv2/taskspb;t" + + "askspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto b/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto index d30aae519a88..edc1cbdb44b7 100644 --- a/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto +++ b/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/cloudtasks.proto @@ -28,7 +28,7 @@ import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "CloudTasksProto"; option java_package = "com.google.cloud.tasks.v2"; diff --git a/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto b/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto index 3de39792590b..ff1cb2ae6a2b 100644 --- a/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto +++ b/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/queue.proto @@ -22,7 +22,7 @@ import "google/cloud/tasks/v2/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "QueueProto"; option java_package = "com.google.cloud.tasks.v2"; diff --git a/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto b/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto index db7ef20f60fb..5141d7fb6aba 100644 --- a/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto +++ b/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/target.proto @@ -19,7 +19,7 @@ package google.cloud.tasks.v2; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "TargetProto"; option java_package = "com.google.cloud.tasks.v2"; diff --git a/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto b/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto index 9669b21ae6bf..b0efae63e3a9 100644 --- a/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto +++ b/java-tasks/proto-google-cloud-tasks-v2/src/main/proto/google/cloud/tasks/v2/task.proto @@ -23,7 +23,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "TaskProto"; option java_package = "com.google.cloud.tasks.v2"; diff --git a/java-tasks/proto-google-cloud-tasks-v2beta2/pom.xml b/java-tasks/proto-google-cloud-tasks-v2beta2/pom.xml index ece80cea07fd..e037686ce8cf 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta2/pom.xml +++ b/java-tasks/proto-google-cloud-tasks-v2beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-tasks-v2beta2 - 0.99.0 + 0.100.0 proto-google-cloud-tasks-v2beta2 PROTO library for proto-google-cloud-tasks-v2beta2 com.google.cloud google-cloud-tasks-parent - 2.9.0 + 2.10.0 diff --git a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java index e0f1f9cc56f1..95cd52d7283f 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksProto.java @@ -285,11 +285,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\"M\202\323\344\223\002@\";/v2beta2/{name=projects/*/loca" + "tions/*/queues/*/tasks/*}:run:\001*\332A\004name\032" + "M\312A\031cloudtasks.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB|" + + "www.googleapis.com/auth/cloud-platformBq" + "\n\036com.google.cloud.tasks.v2beta2B\017CloudT" - + "asksProtoP\001Z?google.golang.org/genproto/" - + "googleapis/cloud/tasks/v2beta2;tasks\242\002\005T" - + "ASKSb\006proto3" + + "asksProtoP\001Z4cloud.google.com/go/tasks/a" + + "piv2beta2/taskspb;taskspb\242\002\005TASKSb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java index 8d5cd83746d3..565be39e7f48 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueProto.java @@ -91,10 +91,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tampB\003\340A\003\022\'\n\032executed_last_minute_count\030" + "\003 \001(\003B\003\340A\003\022(\n\033concurrent_dispatches_coun" + "t\030\004 \001(\003B\003\340A\003\022%\n\030effective_execution_rate" - + "\030\005 \001(\001B\003\340A\003Bo\n\036com.google.cloud.tasks.v2" - + "beta2B\nQueueProtoP\001Z?google.golang.org/g" - + "enproto/googleapis/cloud/tasks/v2beta2;t" - + "asksb\006proto3" + + "\030\005 \001(\001B\003\340A\003Bd\n\036com.google.cloud.tasks.v2" + + "beta2B\nQueueProtoP\001Z4cloud.google.com/go" + + "/tasks/apiv2beta2/taskspb;taskspbb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java index 7f55c35de7bd..b1a0af851163 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TargetProto.java @@ -78,10 +78,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\007version\030\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004hos" + "t\030\004 \001(\t*[\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNS" + "PECIFIED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022" - + "\007\n\003PUT\020\004\022\n\n\006DELETE\020\005Bp\n\036com.google.cloud" - + ".tasks.v2beta2B\013TargetProtoP\001Z?google.go" - + "lang.org/genproto/googleapis/cloud/tasks" - + "/v2beta2;tasksb\006proto3" + + "\007\n\003PUT\020\004\022\n\n\006DELETE\020\005Be\n\036com.google.cloud" + + ".tasks.v2beta2B\013TargetProtoP\001Z4cloud.goo" + + "gle.com/go/tasks/apiv2beta2/taskspb;task" + + "spbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java index 64bafdcd44f7..bcd6da01f135 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/TaskProto.java @@ -77,10 +77,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "p\0221\n\rdispatch_time\030\002 \001(\0132\032.google.protob" + "uf.Timestamp\0221\n\rresponse_time\030\003 \001(\0132\032.go" + "ogle.protobuf.Timestamp\022+\n\017response_stat" - + "us\030\004 \001(\0132\022.google.rpc.StatusBn\n\036com.goog" - + "le.cloud.tasks.v2beta2B\tTaskProtoP\001Z?goo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/tasks/v2beta2;tasksb\006proto3" + + "us\030\004 \001(\0132\022.google.rpc.StatusBc\n\036com.goog" + + "le.cloud.tasks.v2beta2B\tTaskProtoP\001Z4clo" + + "ud.google.com/go/tasks/apiv2beta2/tasksp" + + "b;taskspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto index 8b2fa57e5530..fea304c46f40 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto +++ b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/cloudtasks.proto @@ -29,7 +29,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "CloudTasksProto"; option java_package = "com.google.cloud.tasks.v2beta2"; diff --git a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto index 2d6ba2e1a7b4..3c1c347574e0 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto +++ b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto @@ -22,7 +22,7 @@ import "google/cloud/tasks/v2beta2/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "QueueProto"; option java_package = "com.google.cloud.tasks.v2beta2"; diff --git a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto index 7ee837dbd165..e9fb4e5623f1 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto +++ b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/target.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.tasks.v2beta2; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "TargetProto"; option java_package = "com.google.cloud.tasks.v2beta2"; diff --git a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto index 5e5c35755293..6dc48cdb84d2 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto +++ b/java-tasks/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/task.proto @@ -21,7 +21,7 @@ import "google/cloud/tasks/v2beta2/target.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "TaskProto"; option java_package = "com.google.cloud.tasks.v2beta2"; diff --git a/java-tasks/proto-google-cloud-tasks-v2beta3/pom.xml b/java-tasks/proto-google-cloud-tasks-v2beta3/pom.xml index 729efce5e220..f95335ad7899 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta3/pom.xml +++ b/java-tasks/proto-google-cloud-tasks-v2beta3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-tasks-v2beta3 - 0.99.0 + 0.100.0 proto-google-cloud-tasks-v2beta3 PROTO library for proto-google-cloud-tasks-v2beta3 com.google.cloud google-cloud-tasks-parent - 2.9.0 + 2.10.0 diff --git a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java index f9f9d0eb21d9..4fa687c27816 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java @@ -221,11 +221,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\344\223\002@\";/v2beta3/{name=projects/*/location" + "s/*/queues/*/tasks/*}:run:\001*\332A\004name\032M\312A\031" + "cloudtasks.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB|\n\036co" + + "googleapis.com/auth/cloud-platformBq\n\036co" + "m.google.cloud.tasks.v2beta3B\017CloudTasks" - + "ProtoP\001Z?google.golang.org/genproto/goog" - + "leapis/cloud/tasks/v2beta3;tasks\242\002\005TASKS" - + "b\006proto3" + + "ProtoP\001Z4cloud.google.com/go/tasks/apiv2" + + "beta3/taskspb;taskspb\242\002\005TASKSb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java index 6bee2e5eab9c..1a1aa75f280e 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java @@ -98,10 +98,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e.protobuf.TimestampB\003\340A\003\022\'\n\032executed_la" + "st_minute_count\030\003 \001(\003B\003\340A\003\022(\n\033concurrent" + "_dispatches_count\030\004 \001(\003B\003\340A\003\022%\n\030effectiv" - + "e_execution_rate\030\005 \001(\001B\003\340A\003Bo\n\036com.googl" - + "e.cloud.tasks.v2beta3B\nQueueProtoP\001Z?goo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/tasks/v2beta3;tasksb\006proto3" + + "e_execution_rate\030\005 \001(\001B\003\340A\003Bd\n\036com.googl" + + "e.cloud.tasks.v2beta3B\nQueueProtoP\001Z4clo" + + "ud.google.com/go/tasks/apiv2beta3/tasksp" + + "b;taskspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java index 279f80b89b2f..a83550d62d4d 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java @@ -103,10 +103,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "(\t*s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIF" + "IED\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PU" + "T\020\004\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B" - + "p\n\036com.google.cloud.tasks.v2beta3B\013Targe" - + "tProtoP\001Z?google.golang.org/genproto/goo" - + "gleapis/cloud/tasks/v2beta3;tasksb\006proto" - + "3" + + "e\n\036com.google.cloud.tasks.v2beta3B\013Targe" + + "tProtoP\001Z4cloud.google.com/go/tasks/apiv" + + "2beta3/taskspb;taskspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java index 35a52e32869f..44c9478482c9 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java +++ b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java @@ -74,10 +74,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "patch_time\030\002 \001(\0132\032.google.protobuf.Times" + "tamp\0221\n\rresponse_time\030\003 \001(\0132\032.google.pro" + "tobuf.Timestamp\022+\n\017response_status\030\004 \001(\013" - + "2\022.google.rpc.StatusBn\n\036com.google.cloud" - + ".tasks.v2beta3B\tTaskProtoP\001Z?google.gola" - + "ng.org/genproto/googleapis/cloud/tasks/v" - + "2beta3;tasksb\006proto3" + + "2\022.google.rpc.StatusBc\n\036com.google.cloud" + + ".tasks.v2beta3B\tTaskProtoP\001Z4cloud.googl" + + "e.com/go/tasks/apiv2beta3/taskspb;tasksp" + + "bb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto index 81e2098dd19a..80c8cf9db951 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto +++ b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto @@ -27,7 +27,7 @@ import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2beta3/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "CloudTasksProto"; option java_package = "com.google.cloud.tasks.v2beta3"; diff --git a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto index f892852bedd5..1b0f5f63757e 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto +++ b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto @@ -22,7 +22,7 @@ import "google/cloud/tasks/v2beta3/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2beta3/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "QueueProto"; option java_package = "com.google.cloud.tasks.v2beta3"; diff --git a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto index efebfedf71aa..05c5d7f6d84c 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto +++ b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.tasks.v2beta3; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2beta3/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "TargetProto"; option java_package = "com.google.cloud.tasks.v2beta3"; diff --git a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto index b491b5aaa375..69ffe26f7600 100644 --- a/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto +++ b/java-tasks/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks"; +option go_package = "cloud.google.com/go/tasks/apiv2beta3/taskspb;taskspb"; option java_multiple_files = true; option java_outer_classname = "TaskProto"; option java_package = "com.google.cloud.tasks.v2beta3"; diff --git a/java-texttospeech/README.md b/java-texttospeech/README.md index af069683b0f8..9e2c71d08de9 100644 --- a/java-texttospeech/README.md +++ b/java-texttospeech/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-texttospeech - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-texttospeech:2.9.0' +implementation 'com.google.cloud:google-cloud-texttospeech:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.10.0" ``` ## Authentication diff --git a/java-texttospeech/google-cloud-texttospeech-bom/pom.xml b/java-texttospeech/google-cloud-texttospeech-bom/pom.xml index ef532979fe47..b91a1ae6b3c2 100644 --- a/java-texttospeech/google-cloud-texttospeech-bom/pom.xml +++ b/java-texttospeech/google-cloud-texttospeech-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-texttospeech-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-texttospeech - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.99.0 + 0.100.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.99.0 + 0.100.0 diff --git a/java-texttospeech/google-cloud-texttospeech/pom.xml b/java-texttospeech/google-cloud-texttospeech/pom.xml index 161c23ebf9c2..b61a9c29583b 100644 --- a/java-texttospeech/google-cloud-texttospeech/pom.xml +++ b/java-texttospeech/google-cloud-texttospeech/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-texttospeech - 2.10.0 + 2.11.0 jar Google Cloud Text-to-Speech Java idiomatic client for Google Cloud Text-to-Speech com.google.cloud google-cloud-texttospeech-parent - 2.10.0 + 2.11.0 google-cloud-texttospeech diff --git a/java-texttospeech/grpc-google-cloud-texttospeech-v1/pom.xml b/java-texttospeech/grpc-google-cloud-texttospeech-v1/pom.xml index eb4293c3a789..421693fcae73 100644 --- a/java-texttospeech/grpc-google-cloud-texttospeech-v1/pom.xml +++ b/java-texttospeech/grpc-google-cloud-texttospeech-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 2.10.0 + 2.11.0 grpc-google-cloud-texttospeech-v1 GRPC library for grpc-google-cloud-texttospeech-v1 com.google.cloud google-cloud-texttospeech-parent - 2.10.0 + 2.11.0 diff --git a/java-texttospeech/grpc-google-cloud-texttospeech-v1beta1/pom.xml b/java-texttospeech/grpc-google-cloud-texttospeech-v1beta1/pom.xml index e543f245a84e..b894b0aab6bb 100644 --- a/java-texttospeech/grpc-google-cloud-texttospeech-v1beta1/pom.xml +++ b/java-texttospeech/grpc-google-cloud-texttospeech-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.99.0 + 0.100.0 grpc-google-cloud-texttospeech-v1beta1 GRPC library for grpc-google-cloud-texttospeech-v1beta1 com.google.cloud google-cloud-texttospeech-parent - 2.10.0 + 2.11.0 diff --git a/java-texttospeech/pom.xml b/java-texttospeech/pom.xml index 86a59b6e3692..79fd70990dfa 100644 --- a/java-texttospeech/pom.xml +++ b/java-texttospeech/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-texttospeech-parent pom - 2.10.0 + 2.11.0 Google Cloud Text-to-Speech Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-texttospeech-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.99.0 + 0.100.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1beta1 - 0.99.0 + 0.100.0 com.google.api.grpc grpc-google-cloud-texttospeech-v1 - 2.10.0 + 2.11.0 com.google.cloud google-cloud-texttospeech - 2.10.0 + 2.11.0 diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1/pom.xml b/java-texttospeech/proto-google-cloud-texttospeech-v1/pom.xml index 8a1a2ec649a9..6aedd7c02f4f 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1/pom.xml +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-texttospeech-v1 - 2.10.0 + 2.11.0 proto-google-cloud-texttospeech-v1 PROTO library for proto-google-cloud-texttospeech-v1 com.google.cloud google-cloud-texttospeech-parent - 2.10.0 + 2.11.0 diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechLongAudioSynthesisProto.java b/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechLongAudioSynthesisProto.java index 73f292e20cde..169622a27350 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechLongAudioSynthesisProto.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechLongAudioSynthesisProto.java @@ -76,13 +76,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "dioResponse\022\033SynthesizeLongAudioMetadata" + "\032O\312A\033texttospeech.googleapis.com\322A.https" + "://www.googleapis.com/auth/cloud-platfor" - + "mB\366\001\n com.google.cloud.texttospeech.v1B#" - + "TextToSpeechLongAudioSynthesisProtoP\001ZHg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/texttospeech/v1;texttospeech\370\001\001\252\002\034Goo" - + "gle.Cloud.TextToSpeech.V1\312\002\034Google\\Cloud" - + "\\TextToSpeech\\V1\352\002\037Google::Cloud::TextTo" - + "Speech::V1b\006proto3" + + "mB\362\001\n com.google.cloud.texttospeech.v1B#" + + "TextToSpeechLongAudioSynthesisProtoP\001ZDc" + + "loud.google.com/go/texttospeech/apiv1/te" + + "xttospeechpb;texttospeechpb\370\001\001\252\002\034Google." + + "Cloud.TextToSpeech.V1\312\002\034Google\\Cloud\\Tex" + + "tToSpeech\\V1\352\002\037Google::Cloud::TextToSpee" + + "ch::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java b/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java index bb8f6f7d502d..00339e2effce 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/java/com/google/cloud/texttospeech/v1/TextToSpeechProto.java @@ -125,15 +125,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "sponse\"9\202\323\344\223\002\030\"\023/v1/text:synthesize:\001*\332A" + "\030input,voice,audio_config\032O\312A\033texttospee" + "ch.googleapis.com\322A.https://www.googleap" - + "is.com/auth/cloud-platformB\274\002\n com.googl" + + "is.com/auth/cloud-platformB\270\002\n com.googl" + "e.cloud.texttospeech.v1B\021TextToSpeechPro" - + "toP\001ZHgoogle.golang.org/genproto/googlea" - + "pis/cloud/texttospeech/v1;texttospeech\370\001" - + "\001\252\002\034Google.Cloud.TextToSpeech.V1\312\002\034Googl" - + "e\\Cloud\\TextToSpeech\\V1\352\002\037Google::Cloud:" - + ":TextToSpeech::V1\352AU\n\033automl.googleapis." - + "com/Model\0226projects/{project}/locations/" - + "{location}/models/{model}b\006proto3" + + "toP\001ZDcloud.google.com/go/texttospeech/a" + + "piv1/texttospeechpb;texttospeechpb\370\001\001\252\002\034" + + "Google.Cloud.TextToSpeech.V1\312\002\034Google\\Cl" + + "oud\\TextToSpeech\\V1\352\002\037Google::Cloud::Tex" + + "tToSpeech::V1\352AU\n\033automl.googleapis.com/" + + "Model\0226projects/{project}/locations/{loc" + + "ation}/models/{model}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto b/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto index b50d3698fb77..72fe71282b39 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.TextToSpeech.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1;texttospeech"; +option go_package = "cloud.google.com/go/texttospeech/apiv1/texttospeechpb;texttospeechpb"; option java_multiple_files = true; option java_outer_classname = "TextToSpeechProto"; option java_package = "com.google.cloud.texttospeech.v1"; diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts_lrs.proto b/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts_lrs.proto index d90f587160c0..6f9662355f52 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts_lrs.proto +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1/src/main/proto/google/cloud/texttospeech/v1/cloud_tts_lrs.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.TextToSpeech.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1;texttospeech"; +option go_package = "cloud.google.com/go/texttospeech/apiv1/texttospeechpb;texttospeechpb"; option java_multiple_files = true; option java_outer_classname = "TextToSpeechLongAudioSynthesisProto"; option java_package = "com.google.cloud.texttospeech.v1"; diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/pom.xml b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/pom.xml index 1d8e3e0178ac..58f93d2194c0 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/pom.xml +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-texttospeech-v1beta1 - 0.99.0 + 0.100.0 proto-google-cloud-texttospeech-v1beta1 PROTO library for proto-google-cloud-texttospeech-v1beta1 com.google.cloud google-cloud-texttospeech-parent - 2.10.0 + 2.11.0 diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechLongAudioSynthesisProto.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechLongAudioSynthesisProto.java index 1262cb3f2c52..4eec9839e881 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechLongAudioSynthesisProto.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechLongAudioSynthesisProto.java @@ -77,14 +77,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "dioResponse\022\033SynthesizeLongAudioMetadata" + "\032O\312A\033texttospeech.googleapis.com\322A.https" + "://www.googleapis.com/auth/cloud-platfor" - + "mB\217\002\n%com.google.cloud.texttospeech.v1be" + + "mB\213\002\n%com.google.cloud.texttospeech.v1be" + "ta1B#TextToSpeechLongAudioSynthesisProto" - + "P\001ZMgoogle.golang.org/genproto/googleapi" - + "s/cloud/texttospeech/v1beta1;texttospeec" - + "h\370\001\001\252\002!Google.Cloud.TextToSpeech.V1Beta1" - + "\312\002!Google\\Cloud\\TextToSpeech\\V1beta1\352\002$G" - + "oogle::Cloud::TextToSpeech::V1beta1b\006pro" - + "to3" + + "P\001ZIcloud.google.com/go/texttospeech/api" + + "v1beta1/texttospeechpb;texttospeechpb\370\001\001" + + "\252\002!Google.Cloud.TextToSpeech.V1Beta1\312\002!G" + + "oogle\\Cloud\\TextToSpeech\\V1beta1\352\002$Googl" + + "e::Cloud::TextToSpeech::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java index 9acd6a6a2d03..846549487c71 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechProto.java @@ -141,15 +141,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/text:synthesize:\001*\332A\030input,voice,audio_" + "config\032O\312A\033texttospeech.googleapis.com\322A" + ".https://www.googleapis.com/auth/cloud-p" - + "latformB\325\002\n%com.google.cloud.texttospeec" - + "h.v1beta1B\021TextToSpeechProtoP\001ZMgoogle.g" - + "olang.org/genproto/googleapis/cloud/text" - + "tospeech/v1beta1;texttospeech\370\001\001\252\002!Googl" - + "e.Cloud.TextToSpeech.V1Beta1\312\002!Google\\Cl" - + "oud\\TextToSpeech\\V1beta1\352\002$Google::Cloud" - + "::TextToSpeech::V1beta1\352AU\n\033automl.googl" - + "eapis.com/Model\0226projects/{project}/loca" - + "tions/{location}/models/{model}b\006proto3" + + "latformB\321\002\n%com.google.cloud.texttospeec" + + "h.v1beta1B\021TextToSpeechProtoP\001ZIcloud.go" + + "ogle.com/go/texttospeech/apiv1beta1/text" + + "tospeechpb;texttospeechpb\370\001\001\252\002!Google.Cl" + + "oud.TextToSpeech.V1Beta1\312\002!Google\\Cloud\\" + + "TextToSpeech\\V1beta1\352\002$Google::Cloud::Te" + + "xtToSpeech::V1beta1\352AU\n\033automl.googleapi" + + "s.com/Model\0226projects/{project}/location" + + "s/{location}/models/{model}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto index 63e5361dc0ab..b1cd1515356f 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.TextToSpeech.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1;texttospeech"; +option go_package = "cloud.google.com/go/texttospeech/apiv1beta1/texttospeechpb;texttospeechpb"; option java_multiple_files = true; option java_outer_classname = "TextToSpeechProto"; option java_package = "com.google.cloud.texttospeech.v1beta1"; diff --git a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto index 17bc9479f0b4..ecfecf0a46fb 100644 --- a/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto +++ b/java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/proto/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.TextToSpeech.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1;texttospeech"; +option go_package = "cloud.google.com/go/texttospeech/apiv1beta1/texttospeechpb;texttospeechpb"; option java_multiple_files = true; option java_outer_classname = "TextToSpeechLongAudioSynthesisProto"; option java_package = "com.google.cloud.texttospeech.v1beta1"; diff --git a/java-tpu/README.md b/java-tpu/README.md index 1a720c0468ba..a234aa784d9b 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-tpu - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tpu:2.9.0' +implementation 'com.google.cloud:google-cloud-tpu:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.10.0" ``` ## Authentication diff --git a/java-tpu/google-cloud-tpu-bom/pom.xml b/java-tpu/google-cloud-tpu-bom/pom.xml index 9db34d0aea01..c856943492e7 100644 --- a/java-tpu/google-cloud-tpu-bom/pom.xml +++ b/java-tpu/google-cloud-tpu-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-tpu-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,37 +27,37 @@ com.google.cloud google-cloud-tpu - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-tpu-v1 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-tpu-v2alpha1 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-tpu-v2 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-tpu-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-tpu-v2alpha1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-tpu-v2 - 2.10.0 + 2.11.0 diff --git a/java-tpu/google-cloud-tpu/pom.xml b/java-tpu/google-cloud-tpu/pom.xml index 305d9d6c47b9..ee2b73d367d2 100644 --- a/java-tpu/google-cloud-tpu/pom.xml +++ b/java-tpu/google-cloud-tpu/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-tpu - 2.10.0 + 2.11.0 jar Google Cloud TPU Cloud TPU are Google's custom-developed application-specific integrated circuits (ASICs) used to accelerate machine learning workloads. com.google.cloud google-cloud-tpu-parent - 2.10.0 + 2.11.0 google-cloud-tpu diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/HttpJsonTpuStub.java b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/HttpJsonTpuStub.java index 09d996c00c5c..8fede9b1915b 100644 --- a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/HttpJsonTpuStub.java +++ b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/HttpJsonTpuStub.java @@ -585,7 +585,7 @@ public class HttpJsonTpuStub extends TpuStub { .setRequestFormatter( ProtoMessageRequestFormatter.newBuilder() .setPath( - "/v1alpha1/{name=projects/*}/locations", + "/v2/{name=projects/*}/locations", request -> { Map fields = new HashMap<>(); ProtoRestSerializer serializer = @@ -593,10 +593,6 @@ public class HttpJsonTpuStub extends TpuStub { serializer.putPathParam(fields, "name", request.getName()); return fields; }) - .setAdditionalPaths( - "/v1/{name=projects/*}/locations", - "/v2alpha1/{name=projects/*}/locations", - "/v2/{name=projects/*}/locations") .setQueryParamsExtractor( request -> { Map> fields = new HashMap<>(); @@ -623,7 +619,7 @@ public class HttpJsonTpuStub extends TpuStub { .setRequestFormatter( ProtoMessageRequestFormatter.newBuilder() .setPath( - "/v1alpha1/{name=projects/*/locations/*}", + "/v2/{name=projects/*/locations/*}", request -> { Map fields = new HashMap<>(); ProtoRestSerializer serializer = @@ -631,10 +627,6 @@ public class HttpJsonTpuStub extends TpuStub { serializer.putPathParam(fields, "name", request.getName()); return fields; }) - .setAdditionalPaths( - "/v1/{name=projects/*/locations/*}", - "/v2alpha1/{name=projects/*/locations/*}", - "/v2/{name=projects/*/locations/*}") .setQueryParamsExtractor( request -> { Map> fields = new HashMap<>(); diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/TpuClient.java b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/TpuClient.java index a1919b239d38..e9f3f21dda6b 100644 --- a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/TpuClient.java +++ b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/TpuClient.java @@ -1336,7 +1336,7 @@ public final UnaryCallable getQueuedRe * * @param parent Required. The parent resource name. * @param queuedResource Required. The queued resource. - * @param queuedResourceId The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` + * @param queuedResourceId The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ * regex format. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1374,7 +1374,7 @@ public final OperationFuture createQueuedReso * * @param parent Required. The parent resource name. * @param queuedResource Required. The queued resource. - * @param queuedResourceId The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` + * @param queuedResourceId The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ * regex format. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/java-tpu/grpc-google-cloud-tpu-v1/pom.xml b/java-tpu/grpc-google-cloud-tpu-v1/pom.xml index 52d5e0877222..283b9f1bf70f 100644 --- a/java-tpu/grpc-google-cloud-tpu-v1/pom.xml +++ b/java-tpu/grpc-google-cloud-tpu-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-tpu-v1 - 2.10.0 + 2.11.0 grpc-google-cloud-tpu-v1 GRPC library for google-cloud-tpu com.google.cloud google-cloud-tpu-parent - 2.10.0 + 2.11.0 diff --git a/java-tpu/grpc-google-cloud-tpu-v2/pom.xml b/java-tpu/grpc-google-cloud-tpu-v2/pom.xml index 456642313a3d..06c1ec18889d 100644 --- a/java-tpu/grpc-google-cloud-tpu-v2/pom.xml +++ b/java-tpu/grpc-google-cloud-tpu-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-tpu-v2 - 2.10.0 + 2.11.0 grpc-google-cloud-tpu-v2 GRPC library for google-cloud-tpu com.google.cloud google-cloud-tpu-parent - 2.10.0 + 2.11.0 diff --git a/java-tpu/grpc-google-cloud-tpu-v2alpha1/pom.xml b/java-tpu/grpc-google-cloud-tpu-v2alpha1/pom.xml index ac4f95a1a62d..d617f8659fda 100644 --- a/java-tpu/grpc-google-cloud-tpu-v2alpha1/pom.xml +++ b/java-tpu/grpc-google-cloud-tpu-v2alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-tpu-v2alpha1 - 2.10.0 + 2.11.0 grpc-google-cloud-tpu-v2alpha1 GRPC library for google-cloud-tpu com.google.cloud google-cloud-tpu-parent - 2.10.0 + 2.11.0 diff --git a/java-tpu/pom.xml b/java-tpu/pom.xml index 59cca88a2c0b..1072d66865ed 100644 --- a/java-tpu/pom.xml +++ b/java-tpu/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-tpu-parent pom - 2.10.0 + 2.11.0 Google Cloud TPU Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,37 +29,37 @@ com.google.cloud google-cloud-tpu - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-tpu-v2 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-tpu-v2 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-tpu-v2alpha1 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-tpu-v2alpha1 - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-tpu-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-tpu-v1 - 2.10.0 + 2.11.0 diff --git a/java-tpu/proto-google-cloud-tpu-v1/pom.xml b/java-tpu/proto-google-cloud-tpu-v1/pom.xml index 21f4056f8bd8..dc7f42d7fe49 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/pom.xml +++ b/java-tpu/proto-google-cloud-tpu-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-tpu-v1 - 2.10.0 + 2.11.0 proto-google-cloud-tpu-v1 Proto library for google-cloud-tpu com.google.cloud google-cloud-tpu-parent - 2.10.0 + 2.11.0 diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java index f6a47cfdaf68..33e3d1b72c96 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java @@ -274,10 +274,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\344\223\0026\0224/v1/{name=projects/*/locations/*/a" + "cceleratorTypes/*}\332A\004name\032F\312A\022tpu.google" + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformBb\n\027com.google.cloud.tp" - + "u.v1B\rCloudTpuProtoP\001Z6google.golang.org" - + "/genproto/googleapis/cloud/tpu/v1;tpub\006p" - + "roto3" + + "th/cloud-platformBU\n\027com.google.cloud.tp" + + "u.v1B\rCloudTpuProtoP\001Z)cloud.google.com/" + + "go/tpu/apiv1/tpupb;tpupbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequest.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequest.java index 02afd605450f..a7d26c5a1428 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request for [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion].
      + * Request for
      + * [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion].
        * 
      * * Protobuf type {@code google.cloud.tpu.v1.GetTensorFlowVersionRequest} @@ -285,7 +286,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request for [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion].
      +   * Request for
      +   * [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion].
          * 
      * * Protobuf type {@code google.cloud.tpu.v1.GetTensorFlowVersionRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesRequest.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesRequest.java index 0fb43b28b40f..cdde6becacef 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
      + * Request for
      + * [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
        * 
      * * Protobuf type {@code google.cloud.tpu.v1.ListAcceleratorTypesRequest} @@ -495,7 +496,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
      +   * Request for
      +   * [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
          * 
      * * Protobuf type {@code google.cloud.tpu.v1.ListAcceleratorTypesRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesResponse.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesResponse.java index 98dbde9b1a5a..6a1a68f89a7d 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
      + * Response for
      + * [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
        * 
      * * Protobuf type {@code google.cloud.tpu.v1.ListAcceleratorTypesResponse} @@ -444,7 +445,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
      +   * Response for
      +   * [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
          * 
      * * Protobuf type {@code google.cloud.tpu.v1.ListAcceleratorTypesResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsRequest.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsRequest.java index 5e18f38b57a0..d1419976c8b9 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
      + * Request for
      + * [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
        * 
      * * Protobuf type {@code google.cloud.tpu.v1.ListTensorFlowVersionsRequest} @@ -496,7 +497,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
      +   * Request for
      +   * [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
          * 
      * * Protobuf type {@code google.cloud.tpu.v1.ListTensorFlowVersionsRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsResponse.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsResponse.java index e2e3d7bc384a..8590eb74fc7f 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
      + * Response for
      + * [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
        * 
      * * Protobuf type {@code google.cloud.tpu.v1.ListTensorFlowVersionsResponse} @@ -448,7 +449,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
      +   * Response for
      +   * [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
          * 
      * * Protobuf type {@code google.cloud.tpu.v1.ListTensorFlowVersionsResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/Node.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/Node.java index 0f710f8ee520..289ea470084c 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/Node.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/Node.java @@ -1094,7 +1094,7 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The ipAddress. */ @java.lang.Override @@ -1122,7 +1122,7 @@ public java.lang.String getIpAddress() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The bytes for ipAddress. */ @java.lang.Override @@ -1154,7 +1154,7 @@ public com.google.protobuf.ByteString getIpAddressBytes() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The port. */ @java.lang.Override @@ -1181,7 +1181,7 @@ public java.lang.String getPort() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The bytes for port. */ @java.lang.Override @@ -1243,8 +1243,8 @@ public com.google.cloud.tpu.v1.Node.State getState() { * * *
      -   * Output only. If this field is populated, it contains a description of why the TPU Node
      -   * is unhealthy.
      +   * Output only. If this field is populated, it contains a description of why
      +   * the TPU Node is unhealthy.
          * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1267,8 +1267,8 @@ public java.lang.String getHealthDescription() { * * *
      -   * Output only. If this field is populated, it contains a description of why the TPU Node
      -   * is unhealthy.
      +   * Output only. If this field is populated, it contains a description of why
      +   * the TPU Node is unhealthy.
          * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1467,10 +1467,10 @@ public com.google.protobuf.ByteString getCidrBlockBytes() { * * *
      -   * Output only. The service account used to run the tensor flow services within the node.
      -   * To share resources, including Google Cloud Storage data, with the
      -   * Tensorflow job running in the Node, this account must have permissions to
      -   * that data.
      +   * Output only. The service account used to run the tensor flow services
      +   * within the node. To share resources, including Google Cloud Storage data,
      +   * with the Tensorflow job running in the Node, this account must have
      +   * permissions to that data.
          * 
      * * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1493,10 +1493,10 @@ public java.lang.String getServiceAccount() { * * *
      -   * Output only. The service account used to run the tensor flow services within the node.
      -   * To share resources, including Google Cloud Storage data, with the
      -   * Tensorflow job running in the Node, this account must have permissions to
      -   * that data.
      +   * Output only. The service account used to run the tensor flow services
      +   * within the node. To share resources, including Google Cloud Storage data,
      +   * with the Tensorflow job running in the Node, this account must have
      +   * permissions to that data.
          * 
      * * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3227,7 +3227,7 @@ public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The ipAddress. */ @java.lang.Deprecated @@ -3254,7 +3254,7 @@ public java.lang.String getIpAddress() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The bytes for ipAddress. */ @java.lang.Deprecated @@ -3281,7 +3281,7 @@ public com.google.protobuf.ByteString getIpAddressBytes() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @param value The ipAddress to set. * @return This builder for chaining. */ @@ -3307,7 +3307,7 @@ public Builder setIpAddress(java.lang.String value) { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3329,7 +3329,7 @@ public Builder clearIpAddress() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ @@ -3357,7 +3357,7 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The port. */ @java.lang.Deprecated @@ -3383,7 +3383,7 @@ public java.lang.String getPort() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The bytes for port. */ @java.lang.Deprecated @@ -3409,7 +3409,7 @@ public com.google.protobuf.ByteString getPortBytes() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @param value The port to set. * @return This builder for chaining. */ @@ -3434,7 +3434,7 @@ public Builder setPort(java.lang.String value) { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3455,7 +3455,7 @@ public Builder clearPort() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @param value The bytes for port to set. * @return This builder for chaining. */ @@ -3571,8 +3571,8 @@ public Builder clearState() { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3594,8 +3594,8 @@ public java.lang.String getHealthDescription() { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3617,8 +3617,8 @@ public com.google.protobuf.ByteString getHealthDescriptionBytes() { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3639,8 +3639,8 @@ public Builder setHealthDescription(java.lang.String value) { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3657,8 +3657,8 @@ public Builder clearHealthDescription() { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4045,10 +4045,10 @@ public Builder setCidrBlockBytes(com.google.protobuf.ByteString value) { * * *
      -     * Output only. The service account used to run the tensor flow services within the node.
      -     * To share resources, including Google Cloud Storage data, with the
      -     * Tensorflow job running in the Node, this account must have permissions to
      -     * that data.
      +     * Output only. The service account used to run the tensor flow services
      +     * within the node. To share resources, including Google Cloud Storage data,
      +     * with the Tensorflow job running in the Node, this account must have
      +     * permissions to that data.
            * 
      * * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4070,10 +4070,10 @@ public java.lang.String getServiceAccount() { * * *
      -     * Output only. The service account used to run the tensor flow services within the node.
      -     * To share resources, including Google Cloud Storage data, with the
      -     * Tensorflow job running in the Node, this account must have permissions to
      -     * that data.
      +     * Output only. The service account used to run the tensor flow services
      +     * within the node. To share resources, including Google Cloud Storage data,
      +     * with the Tensorflow job running in the Node, this account must have
      +     * permissions to that data.
            * 
      * * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4095,10 +4095,10 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { * * *
      -     * Output only. The service account used to run the tensor flow services within the node.
      -     * To share resources, including Google Cloud Storage data, with the
      -     * Tensorflow job running in the Node, this account must have permissions to
      -     * that data.
      +     * Output only. The service account used to run the tensor flow services
      +     * within the node. To share resources, including Google Cloud Storage data,
      +     * with the Tensorflow job running in the Node, this account must have
      +     * permissions to that data.
            * 
      * * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4119,10 +4119,10 @@ public Builder setServiceAccount(java.lang.String value) { * * *
      -     * Output only. The service account used to run the tensor flow services within the node.
      -     * To share resources, including Google Cloud Storage data, with the
      -     * Tensorflow job running in the Node, this account must have permissions to
      -     * that data.
      +     * Output only. The service account used to run the tensor flow services
      +     * within the node. To share resources, including Google Cloud Storage data,
      +     * with the Tensorflow job running in the Node, this account must have
      +     * permissions to that data.
            * 
      * * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4139,10 +4139,10 @@ public Builder clearServiceAccount() { * * *
      -     * Output only. The service account used to run the tensor flow services within the node.
      -     * To share resources, including Google Cloud Storage data, with the
      -     * Tensorflow job running in the Node, this account must have permissions to
      -     * that data.
      +     * Output only. The service account used to run the tensor flow services
      +     * within the node. To share resources, including Google Cloud Storage data,
      +     * with the Tensorflow job running in the Node, this account must have
      +     * permissions to that data.
            * 
      * * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/NodeOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/NodeOrBuilder.java index e5ecfe38e20f..ae3b78bbac00 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/NodeOrBuilder.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/NodeOrBuilder.java @@ -114,7 +114,7 @@ public interface NodeOrBuilder * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The ipAddress. */ @java.lang.Deprecated @@ -131,7 +131,7 @@ public interface NodeOrBuilder * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The bytes for ipAddress. */ @java.lang.Deprecated @@ -148,7 +148,7 @@ public interface NodeOrBuilder * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The port. */ @java.lang.Deprecated @@ -164,7 +164,7 @@ public interface NodeOrBuilder * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The bytes for port. */ @java.lang.Deprecated @@ -201,8 +201,8 @@ public interface NodeOrBuilder * * *
      -   * Output only. If this field is populated, it contains a description of why the TPU Node
      -   * is unhealthy.
      +   * Output only. If this field is populated, it contains a description of why
      +   * the TPU Node is unhealthy.
          * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -214,8 +214,8 @@ public interface NodeOrBuilder * * *
      -   * Output only. If this field is populated, it contains a description of why the TPU Node
      -   * is unhealthy.
      +   * Output only. If this field is populated, it contains a description of why
      +   * the TPU Node is unhealthy.
          * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -321,10 +321,10 @@ public interface NodeOrBuilder * * *
      -   * Output only. The service account used to run the tensor flow services within the node.
      -   * To share resources, including Google Cloud Storage data, with the
      -   * Tensorflow job running in the Node, this account must have permissions to
      -   * that data.
      +   * Output only. The service account used to run the tensor flow services
      +   * within the node. To share resources, including Google Cloud Storage data,
      +   * with the Tensorflow job running in the Node, this account must have
      +   * permissions to that data.
          * 
      * * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -336,10 +336,10 @@ public interface NodeOrBuilder * * *
      -   * Output only. The service account used to run the tensor flow services within the node.
      -   * To share resources, including Google Cloud Storage data, with the
      -   * Tensorflow job running in the Node, this account must have permissions to
      -   * that data.
      +   * Output only. The service account used to run the tensor flow services
      +   * within the node. To share resources, including Google Cloud Storage data,
      +   * with the Tensorflow job running in the Node, this account must have
      +   * permissions to that data.
          * 
      * * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/proto/google/cloud/tpu/v1/cloud_tpu.proto b/java-tpu/proto-google-cloud-tpu-v1/src/main/proto/google/cloud/tpu/v1/cloud_tpu.proto index c2acf92f4397..8afe85b1d1bc 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/proto/google/cloud/tpu/v1/cloud_tpu.proto +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/proto/google/cloud/tpu/v1/cloud_tpu.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tpu/v1;tpu"; +option go_package = "cloud.google.com/go/tpu/apiv1/tpupb;tpupb"; option java_multiple_files = true; option java_outer_classname = "CloudTpuProto"; option java_package = "com.google.cloud.tpu.v1"; @@ -33,7 +33,8 @@ option java_package = "com.google.cloud.tpu.v1"; // TPU API v1 service Tpu { option (google.api.default_host) = "tpu.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists nodes. rpc ListNodes(ListNodesRequest) returns (ListNodesResponse) { @@ -113,7 +114,8 @@ service Tpu { } // List TensorFlow versions supported by this API. - rpc ListTensorFlowVersions(ListTensorFlowVersionsRequest) returns (ListTensorFlowVersionsResponse) { + rpc ListTensorFlowVersions(ListTensorFlowVersionsRequest) + returns (ListTensorFlowVersionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/tensorflowVersions" }; @@ -121,7 +123,8 @@ service Tpu { } // Gets TensorFlow Version. - rpc GetTensorFlowVersion(GetTensorFlowVersionRequest) returns (TensorFlowVersion) { + rpc GetTensorFlowVersion(GetTensorFlowVersionRequest) + returns (TensorFlowVersion) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/tensorflowVersions/*}" }; @@ -129,7 +132,8 @@ service Tpu { } // Lists accelerator types supported by this API. - rpc ListAcceleratorTypes(ListAcceleratorTypesRequest) returns (ListAcceleratorTypesResponse) { + rpc ListAcceleratorTypes(ListAcceleratorTypesRequest) + returns (ListAcceleratorTypesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/acceleratorTypes" }; @@ -282,8 +286,8 @@ message Node { // Output only. The current state for the TPU Node. State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If this field is populated, it contains a description of why the TPU Node - // is unhealthy. + // Output only. If this field is populated, it contains a description of why + // the TPU Node is unhealthy. string health_description = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The version of Tensorflow running in the Node. @@ -304,14 +308,15 @@ message Node { // block. string cidr_block = 13; - // Output only. The service account used to run the tensor flow services within the node. - // To share resources, including Google Cloud Storage data, with the - // Tensorflow job running in the Node, this account must have permissions to - // that data. + // Output only. The service account used to run the tensor flow services + // within the node. To share resources, including Google Cloud Storage data, + // with the Tensorflow job running in the Node, this account must have + // permissions to that data. string service_account = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the node was created. - google.protobuf.Timestamp create_time = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The scheduling options for this node. SchedulingConfig scheduling_config = 17; @@ -319,7 +324,8 @@ message Node { // Output only. The network endpoints where TPU workers can be accessed and // sent work. It is recommended that Tensorflow clients of the node reach out // to the 0th entry in this map first. - repeated NetworkEndpoint network_endpoints = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated NetworkEndpoint network_endpoints = 21 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The health status of the TPU node. Health health = 22; @@ -346,9 +352,7 @@ message ListNodesRequest { // Required. The parent resource name. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { child_type: "tpu.googleapis.com/Node" } ]; // The maximum number of items to return. @@ -375,9 +379,7 @@ message GetNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; } @@ -386,9 +388,7 @@ message CreateNodeRequest { // Required. The parent resource name. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { child_type: "tpu.googleapis.com/Node" } ]; // The unqualified resource name. @@ -403,9 +403,7 @@ message DeleteNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; } @@ -444,7 +442,8 @@ message TensorFlowVersion { string version = 2; } -// Request for [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion]. +// Request for +// [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion]. message GetTensorFlowVersionRequest { // Required. The resource name. string name = 1 [ @@ -455,7 +454,8 @@ message GetTensorFlowVersionRequest { ]; } -// Request for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions]. +// Request for +// [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions]. message ListTensorFlowVersionsRequest { // Required. The parent resource name. string parent = 1 [ @@ -478,7 +478,8 @@ message ListTensorFlowVersionsRequest { string order_by = 6; } -// Response for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions]. +// Response for +// [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions]. message ListTensorFlowVersionsResponse { // The listed nodes. repeated TensorFlowVersion tensorflow_versions = 1; @@ -515,7 +516,8 @@ message GetAcceleratorTypeRequest { ]; } -// Request for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes]. +// Request for +// [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesRequest { // Required. The parent resource name. string parent = 1 [ @@ -538,7 +540,8 @@ message ListAcceleratorTypesRequest { string order_by = 6; } -// Response for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes]. +// Response for +// [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesResponse { // The listed nodes. repeated AcceleratorType accelerator_types = 1; diff --git a/java-tpu/proto-google-cloud-tpu-v2/pom.xml b/java-tpu/proto-google-cloud-tpu-v2/pom.xml index ca87903813bb..c3d33eb4f250 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/pom.xml +++ b/java-tpu/proto-google-cloud-tpu-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-tpu-v2 - 2.10.0 + 2.11.0 proto-google-cloud-tpu-v2 Proto library for google-cloud-tpu com.google.cloud google-cloud-tpu-parent - 2.10.0 + 2.11.0 diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/CloudTpuProto.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/CloudTpuProto.java index ea0bce53b174..68f6045247c7 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/CloudTpuProto.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/CloudTpuProto.java @@ -379,9 +379,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "{name=projects/*/locations/*/nodes/*}:ge" + "tGuestAttributes:\001*\032F\312A\022tpu.googleapis.c" + "om\322A.https://www.googleapis.com/auth/clo" - + "ud-platformBb\n\027com.google.cloud.tpu.v2B\r" - + "CloudTpuProtoP\001Z6google.golang.org/genpr" - + "oto/googleapis/cloud/tpu/v2;tpub\006proto3" + + "ud-platformBU\n\027com.google.cloud.tpu.v2B\r" + + "CloudTpuProtoP\001Z)cloud.google.com/go/tpu" + + "/apiv2/tpupb;tpupbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityRequest.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityRequest.java index 937f894fce19..4e0849f7e210 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
      + * Request for
      + * [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
        * 
      * * Protobuf type {@code google.cloud.tpu.v2.GenerateServiceIdentityRequest} @@ -287,7 +288,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
      +   * Request for
      +   * [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
          * 
      * * Protobuf type {@code google.cloud.tpu.v2.GenerateServiceIdentityRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityResponse.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityResponse.java index 34e58f81d77f..5d8d4acad0d7 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
      + * Response for
      + * [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
        * 
      * * Protobuf type {@code google.cloud.tpu.v2.GenerateServiceIdentityResponse} @@ -285,7 +286,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
      +   * Response for
      +   * [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
          * 
      * * Protobuf type {@code google.cloud.tpu.v2.GenerateServiceIdentityResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GetGuestAttributesResponse.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GetGuestAttributesResponse.java index 066e422241bd..cf90385f1698 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GetGuestAttributesResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GetGuestAttributesResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response for [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].
      + * Response for
      + * [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].
        * 
      * * Protobuf type {@code google.cloud.tpu.v2.GetGuestAttributesResponse} @@ -303,7 +304,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response for [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].
      +   * Response for
      +   * [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].
          * 
      * * Protobuf type {@code google.cloud.tpu.v2.GetGuestAttributesResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesRequest.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesRequest.java index fe5f8aeaa5c3..da8d771f50cb 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
      + * Request for
      + * [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
        * 
      * * Protobuf type {@code google.cloud.tpu.v2.ListAcceleratorTypesRequest} @@ -495,7 +496,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
      +   * Request for
      +   * [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
          * 
      * * Protobuf type {@code google.cloud.tpu.v2.ListAcceleratorTypesRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesResponse.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesResponse.java index 521b2626b4a8..023331c05bc6 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
      + * Response for
      + * [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
        * 
      * * Protobuf type {@code google.cloud.tpu.v2.ListAcceleratorTypesResponse} @@ -444,7 +445,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
      +   * Response for
      +   * [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
          * 
      * * Protobuf type {@code google.cloud.tpu.v2.ListAcceleratorTypesResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsRequest.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsRequest.java index c7bebdf18528..d953427620f4 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsRequest.java @@ -22,7 +22,8 @@ * * *
      - * Request for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
      + * Request for
      + * [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
        * 
      * * Protobuf type {@code google.cloud.tpu.v2.ListRuntimeVersionsRequest} @@ -495,7 +496,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Request for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
      +   * Request for
      +   * [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
          * 
      * * Protobuf type {@code google.cloud.tpu.v2.ListRuntimeVersionsRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsResponse.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsResponse.java index 0faea51ecfc5..e029a461ee44 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsResponse.java @@ -22,7 +22,8 @@ * * *
      - * Response for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
      + * Response for
      + * [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
        * 
      * * Protobuf type {@code google.cloud.tpu.v2.ListRuntimeVersionsResponse} @@ -444,7 +445,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * Response for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
      +   * Response for
      +   * [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
          * 
      * * Protobuf type {@code google.cloud.tpu.v2.ListRuntimeVersionsResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java index c2de6ce2d4e8..8a67917e7fb6 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java @@ -1123,8 +1123,8 @@ public com.google.cloud.tpu.v2.Node.State getState() { * * *
      -   * Output only. If this field is populated, it contains a description of why the TPU Node
      -   * is unhealthy.
      +   * Output only. If this field is populated, it contains a description of why
      +   * the TPU Node is unhealthy.
          * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1147,8 +1147,8 @@ public java.lang.String getHealthDescription() { * * *
      -   * Output only. If this field is populated, it contains a description of why the TPU Node
      -   * is unhealthy.
      +   * Output only. If this field is populated, it contains a description of why
      +   * the TPU Node is unhealthy.
          * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3627,8 +3627,8 @@ public Builder clearState() { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3650,8 +3650,8 @@ public java.lang.String getHealthDescription() { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3673,8 +3673,8 @@ public com.google.protobuf.ByteString getHealthDescriptionBytes() { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3695,8 +3695,8 @@ public Builder setHealthDescription(java.lang.String value) { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3713,8 +3713,8 @@ public Builder clearHealthDescription() { * * *
      -     * Output only. If this field is populated, it contains a description of why the TPU Node
      -     * is unhealthy.
      +     * Output only. If this field is populated, it contains a description of why
      +     * the TPU Node is unhealthy.
            * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/NodeOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/NodeOrBuilder.java index 58c68a16358e..0389c8765a37 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/NodeOrBuilder.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/NodeOrBuilder.java @@ -133,8 +133,8 @@ public interface NodeOrBuilder * * *
      -   * Output only. If this field is populated, it contains a description of why the TPU Node
      -   * is unhealthy.
      +   * Output only. If this field is populated, it contains a description of why
      +   * the TPU Node is unhealthy.
          * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -146,8 +146,8 @@ public interface NodeOrBuilder * * *
      -   * Output only. If this field is populated, it contains a description of why the TPU Node
      -   * is unhealthy.
      +   * Output only. If this field is populated, it contains a description of why
      +   * the TPU Node is unhealthy.
          * 
      * * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/proto/google/cloud/tpu/v2/cloud_tpu.proto b/java-tpu/proto-google-cloud-tpu-v2/src/main/proto/google/cloud/tpu/v2/cloud_tpu.proto index b99a2013c2d2..ce3f804f7c8f 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/proto/google/cloud/tpu/v2/cloud_tpu.proto +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/proto/google/cloud/tpu/v2/cloud_tpu.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tpu/v2;tpu"; +option go_package = "cloud.google.com/go/tpu/apiv2/tpupb;tpupb"; option java_multiple_files = true; option java_outer_classname = "CloudTpuProto"; option java_package = "com.google.cloud.tpu.v2"; @@ -34,7 +34,8 @@ option java_package = "com.google.cloud.tpu.v2"; // TPU API v2 service Tpu { option (google.api.default_host) = "tpu.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists nodes. rpc ListNodes(ListNodesRequest) returns (ListNodesResponse) { @@ -115,7 +116,8 @@ service Tpu { } // Generates the Cloud TPU service identity for the project. - rpc GenerateServiceIdentity(GenerateServiceIdentityRequest) returns (GenerateServiceIdentityResponse) { + rpc GenerateServiceIdentity(GenerateServiceIdentityRequest) + returns (GenerateServiceIdentityResponse) { option (google.api.http) = { post: "/v2/{parent=projects/*/locations/*}:generateServiceIdentity" body: "*" @@ -123,7 +125,8 @@ service Tpu { } // Lists accelerator types supported by this API. - rpc ListAcceleratorTypes(ListAcceleratorTypesRequest) returns (ListAcceleratorTypesResponse) { + rpc ListAcceleratorTypes(ListAcceleratorTypesRequest) + returns (ListAcceleratorTypesResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*/locations/*}/acceleratorTypes" }; @@ -139,7 +142,8 @@ service Tpu { } // Lists runtime versions supported by this API. - rpc ListRuntimeVersions(ListRuntimeVersionsRequest) returns (ListRuntimeVersionsResponse) { + rpc ListRuntimeVersions(ListRuntimeVersionsRequest) + returns (ListRuntimeVersionsResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*/locations/*}/runtimeVersions" }; @@ -155,7 +159,8 @@ service Tpu { } // Retrieves the guest attributes for the node. - rpc GetGuestAttributes(GetGuestAttributesRequest) returns (GetGuestAttributesResponse) { + rpc GetGuestAttributes(GetGuestAttributesRequest) + returns (GetGuestAttributesResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/nodes/*}:getGuestAttributes" body: "*" @@ -389,8 +394,8 @@ message Node { // Output only. The current state for the TPU Node. State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If this field is populated, it contains a description of why the TPU Node - // is unhealthy. + // Output only. If this field is populated, it contains a description of why + // the TPU Node is unhealthy. string health_description = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The runtime version running in the Node. @@ -414,7 +419,8 @@ message Node { ServiceAccount service_account = 37; // Output only. The time when the node was created. - google.protobuf.Timestamp create_time = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The scheduling options for this node. SchedulingConfig scheduling_config = 17; @@ -422,7 +428,8 @@ message Node { // Output only. The network endpoints where TPU workers can be accessed and // sent work. It is recommended that runtime clients of the node reach out // to the 0th entry in this map first. - repeated NetworkEndpoint network_endpoints = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated NetworkEndpoint network_endpoints = 21 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The health status of the TPU node. Health health = 22; @@ -459,9 +466,7 @@ message ListNodesRequest { // Required. The parent resource name. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { child_type: "tpu.googleapis.com/Node" } ]; // The maximum number of items to return. @@ -488,9 +493,7 @@ message GetNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; } @@ -516,9 +519,7 @@ message DeleteNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; } @@ -527,9 +528,7 @@ message StopNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; } @@ -538,9 +537,7 @@ message StartNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; } @@ -549,7 +546,8 @@ message UpdateNodeRequest { // Required. Mask of fields from [Node][Tpu.Node] to update. // Supported fields: [description, tags, labels, metadata, // network_config.enable_external_ips]. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The node. Only fields specified in update_mask are updated. Node node = 2 [(google.api.field_behavior) = REQUIRED]; @@ -561,7 +559,8 @@ message ServiceIdentity { string email = 1; } -// Request for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity]. +// Request for +// [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity]. message GenerateServiceIdentityRequest { // Required. The parent resource name. string parent = 1 [ @@ -572,7 +571,8 @@ message GenerateServiceIdentityRequest { ]; } -// Response for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity]. +// Response for +// [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity]. message GenerateServiceIdentityResponse { // ServiceIdentity that was created or retrieved. ServiceIdentity identity = 1; @@ -603,7 +603,8 @@ message GetAcceleratorTypeRequest { ]; } -// Request for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes]. +// Request for +// [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesRequest { // Required. The parent resource name. string parent = 1 [ @@ -626,7 +627,8 @@ message ListAcceleratorTypesRequest { string order_by = 6; } -// Response for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes]. +// Response for +// [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesResponse { // The listed nodes. repeated AcceleratorType accelerator_types = 1; @@ -663,7 +665,8 @@ message GetRuntimeVersionRequest { ]; } -// Request for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions]. +// Request for +// [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions]. message ListRuntimeVersionsRequest { // Required. The parent resource name. string parent = 1 [ @@ -686,7 +689,8 @@ message ListRuntimeVersionsRequest { string order_by = 6; } -// Response for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions]. +// Response for +// [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions]. message ListRuntimeVersionsResponse { // The listed nodes. repeated RuntimeVersion runtime_versions = 1; @@ -769,9 +773,7 @@ message GetGuestAttributesRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; // The guest attributes path to be queried. @@ -782,7 +784,8 @@ message GetGuestAttributesRequest { repeated string worker_ids = 3; } -// Response for [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes]. +// Response for +// [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes]. message GetGuestAttributesResponse { // The guest attributes for the TPU workers. repeated GuestAttributes guest_attributes = 1; diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/pom.xml b/java-tpu/proto-google-cloud-tpu-v2alpha1/pom.xml index fb4ee1003811..b585e89e8b82 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/pom.xml +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-tpu-v2alpha1 - 2.10.0 + 2.11.0 proto-google-cloud-tpu-v2alpha1 Proto library for google-cloud-tpu com.google.cloud google-cloud-tpu-parent - 2.10.0 + 2.11.0 diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java index 61124130baca..babd352af477 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java @@ -581,10 +581,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cations/*/nodes/*}:simulateMaintenanceEv" + "ent:\001*\312A\031\n\004Node\022\021OperationMetadata\032F\312A\022t" + "pu.googleapis.com\322A.https://www.googleap" - + "is.com/auth/cloud-platformBn\n\035com.google" - + ".cloud.tpu.v2alpha1B\rCloudTpuProtoP\001Z - * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` + * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ * regex format. *
      * @@ -157,7 +157,7 @@ public java.lang.String getQueuedResourceId() { * * *
      -   * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      +   * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
          * regex format.
          * 
      * @@ -830,7 +830,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
      -     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      +     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
            * regex format.
            * 
      * @@ -853,7 +853,7 @@ public java.lang.String getQueuedResourceId() { * * *
      -     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      +     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
            * regex format.
            * 
      * @@ -876,7 +876,7 @@ public com.google.protobuf.ByteString getQueuedResourceIdBytes() { * * *
      -     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      +     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
            * regex format.
            * 
      * @@ -898,7 +898,7 @@ public Builder setQueuedResourceId(java.lang.String value) { * * *
      -     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      +     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
            * regex format.
            * 
      * @@ -916,7 +916,7 @@ public Builder clearQueuedResourceId() { * * *
      -     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      +     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
            * regex format.
            * 
      * diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequestOrBuilder.java index 00332158714b..14bc6d7bcb85 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequestOrBuilder.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequestOrBuilder.java @@ -56,7 +56,7 @@ public interface CreateQueuedResourceRequestOrBuilder * * *
      -   * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      +   * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
          * regex format.
          * 
      * @@ -69,7 +69,7 @@ public interface CreateQueuedResourceRequestOrBuilder * * *
      -   * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      +   * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
          * regex format.
          * 
      * diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/proto/google/cloud/tpu/v2alpha1/cloud_tpu.proto b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/proto/google/cloud/tpu/v2alpha1/cloud_tpu.proto index dc179c8183cf..e3a9ab24600c 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/proto/google/cloud/tpu/v2alpha1/cloud_tpu.proto +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/proto/google/cloud/tpu/v2alpha1/cloud_tpu.proto @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; import "google/type/interval.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/tpu/v2alpha1;tpu"; +option go_package = "cloud.google.com/go/tpu/apiv2alpha1/tpupb;tpupb"; option java_multiple_files = true; option java_outer_classname = "CloudTpuProto"; option java_package = "com.google.cloud.tpu.v2alpha1"; @@ -880,7 +880,7 @@ message CreateQueuedResourceRequest { } ]; - // The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` + // The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ // regex format. string queued_resource_id = 2; diff --git a/java-trace/README.md b/java-trace/README.md index 712a4d07d9d0..ca2b9cd27f25 100644 --- a/java-trace/README.md +++ b/java-trace/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-trace - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-trace:2.8.0' +implementation 'com.google.cloud:google-cloud-trace:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.9.0" ``` ## Authentication diff --git a/java-trace/google-cloud-trace-bom/pom.xml b/java-trace/google-cloud-trace-bom/pom.xml index d568cc77cb6f..8a1e19cf4bc2 100644 --- a/java-trace/google-cloud-trace-bom/pom.xml +++ b/java-trace/google-cloud-trace-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-trace-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-trace - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-trace-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-trace-v2 - 2.9.0 + 2.10.0 diff --git a/java-trace/google-cloud-trace/pom.xml b/java-trace/google-cloud-trace/pom.xml index 252e4a94b992..f20cf14a3411 100644 --- a/java-trace/google-cloud-trace/pom.xml +++ b/java-trace/google-cloud-trace/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-trace - 2.9.0 + 2.10.0 jar Google Cloud Trace @@ -12,7 +12,7 @@ com.google.cloud google-cloud-trace-parent - 2.9.0 + 2.10.0 google-cloud-trace diff --git a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java index 4e9cec181595..33cab66411ba 100644 --- a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java +++ b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/TraceServiceClient.java @@ -31,10 +31,13 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * Service Description: This file describes an API for collecting and viewing traces and spans - * within a trace. A Trace is a collection of spans corresponding to a single operation or set of - * operations for an application. A span is an individual timed event which forms a node of the - * trace tree. A single trace may contain span(s) from multiple services. + * Service Description: Service for collecting and viewing traces and spans within a trace. + * + *

      A trace is a collection of spans corresponding to a single operation or a set of operations in + * an application. + * + *

      A span is an individual timed event which forms a node of the trace tree. A single trace can + * contain spans from multiple services. * *

      This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: @@ -172,7 +175,7 @@ public TraceServiceStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sends new spans to new or existing traces. You cannot update existing spans. + * Batch writes new spans to new or existing traces. You cannot update existing spans. * *

      Sample code: * @@ -191,8 +194,8 @@ public TraceServiceStub getStub() { * * @param name Required. The name of the project where the spans belong. The format is * `projects/[PROJECT_ID]`. - * @param spans Required. A list of new spans. The span names must not match existing spans, or - * the results are undefined. + * @param spans Required. A list of new spans. The span names must not match existing spans, + * otherwise the results are undefined. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void batchWriteSpans(ProjectName name, List spans) { @@ -206,7 +209,7 @@ public final void batchWriteSpans(ProjectName name, List spans) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sends new spans to new or existing traces. You cannot update existing spans. + * Batch writes new spans to new or existing traces. You cannot update existing spans. * *

      Sample code: * @@ -225,8 +228,8 @@ public final void batchWriteSpans(ProjectName name, List spans) { * * @param name Required. The name of the project where the spans belong. The format is * `projects/[PROJECT_ID]`. - * @param spans Required. A list of new spans. The span names must not match existing spans, or - * the results are undefined. + * @param spans Required. A list of new spans. The span names must not match existing spans, + * otherwise the results are undefined. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void batchWriteSpans(String name, List spans) { @@ -237,7 +240,7 @@ public final void batchWriteSpans(String name, List spans) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sends new spans to new or existing traces. You cannot update existing spans. + * Batch writes new spans to new or existing traces. You cannot update existing spans. * *

      Sample code: * @@ -266,7 +269,7 @@ public final void batchWriteSpans(BatchWriteSpansRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sends new spans to new or existing traces. You cannot update existing spans. + * Batch writes new spans to new or existing traces. You cannot update existing spans. * *

      Sample code: * diff --git a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/package-info.java b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/package-info.java index 520764c2b90d..162582daf543 100644 --- a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/package-info.java +++ b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/package-info.java @@ -15,14 +15,19 @@ */ /** - * The interfaces provided are listed below, along with usage samples. + * A client to Stackdriver Trace API + * + *

      The interfaces provided are listed below, along with usage samples. * *

      ======================= TraceServiceClient ======================= * - *

      Service Description: This file describes an API for collecting and viewing traces and spans - * within a trace. A Trace is a collection of spans corresponding to a single operation or set of - * operations for an application. A span is an individual timed event which forms a node of the - * trace tree. A single trace may contain span(s) from multiple services. + *

      Service Description: Service for collecting and viewing traces and spans within a trace. + * + *

      A trace is a collection of spans corresponding to a single operation or a set of operations in + * an application. + * + *

      A span is an individual timed event which forms a node of the trace tree. A single trace can + * contain spans from multiple services. * *

      Sample for TraceServiceClient: * diff --git a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStubSettings.java b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStubSettings.java index bcedafd8be10..d85874d219e0 100644 --- a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStubSettings.java +++ b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/TraceServiceStubSettings.java @@ -227,7 +227,10 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); definitions.put( - "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); + "retry_policy_0_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); definitions.put( "retry_policy_1_codes", ImmutableSet.copyOf( @@ -243,12 +246,15 @@ public static class Builder extends StubSettings.Builder4.0.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-trace-v1 GRPC library for grpc-google-cloud-trace-v1 com.google.cloud google-cloud-trace-parent - 2.9.0 + 2.10.0 diff --git a/java-trace/grpc-google-cloud-trace-v2/pom.xml b/java-trace/grpc-google-cloud-trace-v2/pom.xml index 75ca43f0fd34..0318ff94d44d 100644 --- a/java-trace/grpc-google-cloud-trace-v2/pom.xml +++ b/java-trace/grpc-google-cloud-trace-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 2.9.0 + 2.10.0 grpc-google-cloud-trace-v2 GRPC library for grpc-google-cloud-trace-v2 com.google.cloud google-cloud-trace-parent - 2.9.0 + 2.10.0 diff --git a/java-trace/grpc-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceServiceGrpc.java b/java-trace/grpc-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceServiceGrpc.java index 78a2f2c69e03..2784669022f2 100644 --- a/java-trace/grpc-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceServiceGrpc.java +++ b/java-trace/grpc-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceServiceGrpc.java @@ -21,11 +21,11 @@ * * *

      - * This file describes an API for collecting and viewing traces and spans
      - * within a trace.  A Trace is a collection of spans corresponding to a single
      - * operation or set of operations for an application. A span is an individual
      - * timed event which forms a node of the trace tree. A single trace may
      - * contain span(s) from multiple services.
      + * Service for collecting and viewing traces and spans within a trace.
      + * A trace is a collection of spans corresponding to a single
      + * operation or a set of operations in an application.
      + * A span is an individual timed event which forms a node of the trace tree.
      + * A single trace can contain spans from multiple services.
        * 
      */ @javax.annotation.Generated( @@ -168,11 +168,11 @@ public TraceServiceFutureStub newStub( * * *
      -   * This file describes an API for collecting and viewing traces and spans
      -   * within a trace.  A Trace is a collection of spans corresponding to a single
      -   * operation or set of operations for an application. A span is an individual
      -   * timed event which forms a node of the trace tree. A single trace may
      -   * contain span(s) from multiple services.
      +   * Service for collecting and viewing traces and spans within a trace.
      +   * A trace is a collection of spans corresponding to a single
      +   * operation or a set of operations in an application.
      +   * A span is an individual timed event which forms a node of the trace tree.
      +   * A single trace can contain spans from multiple services.
          * 
      */ public abstract static class TraceServiceImplBase implements io.grpc.BindableService { @@ -181,7 +181,7 @@ public abstract static class TraceServiceImplBase implements io.grpc.BindableSer * * *
      -     * Sends new spans to new or existing traces. You cannot update
      +     * Batch writes new spans to new or existing traces. You cannot update
            * existing spans.
            * 
      */ @@ -228,11 +228,11 @@ public final io.grpc.ServerServiceDefinition bindService() { * * *
      -   * This file describes an API for collecting and viewing traces and spans
      -   * within a trace.  A Trace is a collection of spans corresponding to a single
      -   * operation or set of operations for an application. A span is an individual
      -   * timed event which forms a node of the trace tree. A single trace may
      -   * contain span(s) from multiple services.
      +   * Service for collecting and viewing traces and spans within a trace.
      +   * A trace is a collection of spans corresponding to a single
      +   * operation or a set of operations in an application.
      +   * A span is an individual timed event which forms a node of the trace tree.
      +   * A single trace can contain spans from multiple services.
          * 
      */ public static final class TraceServiceStub @@ -250,7 +250,7 @@ protected TraceServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * * *
      -     * Sends new spans to new or existing traces. You cannot update
      +     * Batch writes new spans to new or existing traces. You cannot update
            * existing spans.
            * 
      */ @@ -282,11 +282,11 @@ public void createSpan( * * *
      -   * This file describes an API for collecting and viewing traces and spans
      -   * within a trace.  A Trace is a collection of spans corresponding to a single
      -   * operation or set of operations for an application. A span is an individual
      -   * timed event which forms a node of the trace tree. A single trace may
      -   * contain span(s) from multiple services.
      +   * Service for collecting and viewing traces and spans within a trace.
      +   * A trace is a collection of spans corresponding to a single
      +   * operation or a set of operations in an application.
      +   * A span is an individual timed event which forms a node of the trace tree.
      +   * A single trace can contain spans from multiple services.
          * 
      */ public static final class TraceServiceBlockingStub @@ -305,7 +305,7 @@ protected TraceServiceBlockingStub build( * * *
      -     * Sends new spans to new or existing traces. You cannot update
      +     * Batch writes new spans to new or existing traces. You cannot update
            * existing spans.
            * 
      */ @@ -333,11 +333,11 @@ public com.google.devtools.cloudtrace.v2.Span createSpan( * * *
      -   * This file describes an API for collecting and viewing traces and spans
      -   * within a trace.  A Trace is a collection of spans corresponding to a single
      -   * operation or set of operations for an application. A span is an individual
      -   * timed event which forms a node of the trace tree. A single trace may
      -   * contain span(s) from multiple services.
      +   * Service for collecting and viewing traces and spans within a trace.
      +   * A trace is a collection of spans corresponding to a single
      +   * operation or a set of operations in an application.
      +   * A span is an individual timed event which forms a node of the trace tree.
      +   * A single trace can contain spans from multiple services.
          * 
      */ public static final class TraceServiceFutureStub @@ -356,7 +356,7 @@ protected TraceServiceFutureStub build( * * *
      -     * Sends new spans to new or existing traces. You cannot update
      +     * Batch writes new spans to new or existing traces. You cannot update
            * existing spans.
            * 
      */ diff --git a/java-trace/pom.xml b/java-trace/pom.xml index 3f8d25667e47..ddc2445bb2aa 100644 --- a/java-trace/pom.xml +++ b/java-trace/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-trace-parent pom - 2.9.0 + 2.10.0 Google Cloud Trace Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-trace-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-trace - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-trace-v2 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-trace-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-trace-v2 - 2.9.0 + 2.10.0 diff --git a/java-trace/proto-google-cloud-trace-v1/pom.xml b/java-trace/proto-google-cloud-trace-v1/pom.xml index 606b155eb645..20f264cd01ee 100644 --- a/java-trace/proto-google-cloud-trace-v1/pom.xml +++ b/java-trace/proto-google-cloud-trace-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-trace-v1 - 2.9.0 + 2.10.0 proto-google-cloud-trace-v1 PROTO library for proto-google-cloud-trace-v1 com.google.cloud google-cloud-trace-parent - 2.9.0 + 2.10.0 diff --git a/java-trace/proto-google-cloud-trace-v2/pom.xml b/java-trace/proto-google-cloud-trace-v2/pom.xml index 5d8f6c1307ae..e26493f6dea9 100644 --- a/java-trace/proto-google-cloud-trace-v2/pom.xml +++ b/java-trace/proto-google-cloud-trace-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-trace-v2 - 2.9.0 + 2.10.0 proto-google-cloud-trace-v2 PROTO library for proto-google-cloud-trace-v2 com.google.cloud google-cloud-trace-parent - 2.9.0 + 2.10.0 diff --git a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/AttributeValue.java b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/AttributeValue.java index 6b5f572ab1cf..bf90d9071bba 100644 --- a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/AttributeValue.java +++ b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/AttributeValue.java @@ -22,7 +22,7 @@ * * *
      - * The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
      + * The allowed types for `[VALUE]` in a `[KEY]:[VALUE]` attribute.
        * 
      * * Protobuf type {@code google.devtools.cloudtrace.v2.AttributeValue} @@ -444,7 +444,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
      -   * The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
      +   * The allowed types for `[VALUE]` in a `[KEY]:[VALUE]` attribute.
          * 
      * * Protobuf type {@code google.devtools.cloudtrace.v2.AttributeValue} diff --git a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java index 7712c7084200..459fd898d602 100644 --- a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java +++ b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java @@ -134,7 +134,7 @@ public com.google.protobuf.ByteString getNameBytes() { * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * @@ -150,7 +150,7 @@ public java.util.List getSpansList() { * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * @@ -167,7 +167,7 @@ public java.util.List getSpansList() { * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * @@ -183,7 +183,7 @@ public int getSpansCount() { * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * @@ -199,7 +199,7 @@ public com.google.devtools.cloudtrace.v2.Span getSpans(int index) { * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * @@ -768,7 +768,7 @@ private void ensureSpansIsMutable() { * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -787,7 +787,7 @@ public java.util.List getSpansList() { * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -806,7 +806,7 @@ public int getSpansCount() { * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -825,7 +825,7 @@ public com.google.devtools.cloudtrace.v2.Span getSpans(int index) { * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -850,7 +850,7 @@ public Builder setSpans(int index, com.google.devtools.cloudtrace.v2.Span value) * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -873,7 +873,7 @@ public Builder setSpans( * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -898,7 +898,7 @@ public Builder addSpans(com.google.devtools.cloudtrace.v2.Span value) { * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -923,7 +923,7 @@ public Builder addSpans(int index, com.google.devtools.cloudtrace.v2.Span value) * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -945,7 +945,7 @@ public Builder addSpans(com.google.devtools.cloudtrace.v2.Span.Builder builderFo * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -968,7 +968,7 @@ public Builder addSpans( * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -991,7 +991,7 @@ public Builder addAllSpans( * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -1013,7 +1013,7 @@ public Builder clearSpans() { * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -1035,7 +1035,7 @@ public Builder removeSpans(int index) { * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -1050,7 +1050,7 @@ public com.google.devtools.cloudtrace.v2.Span.Builder getSpansBuilder(int index) * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -1069,7 +1069,7 @@ public com.google.devtools.cloudtrace.v2.SpanOrBuilder getSpansOrBuilder(int ind * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -1089,7 +1089,7 @@ public com.google.devtools.cloudtrace.v2.SpanOrBuilder getSpansOrBuilder(int ind * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -1105,7 +1105,7 @@ public com.google.devtools.cloudtrace.v2.Span.Builder addSpansBuilder() { * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * @@ -1121,7 +1121,7 @@ public com.google.devtools.cloudtrace.v2.Span.Builder addSpansBuilder(int index) * *
            * Required. A list of new spans. The span names must not match existing
      -     * spans, or the results are undefined.
      +     * spans, otherwise the results are undefined.
            * 
      * * diff --git a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequestOrBuilder.java b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequestOrBuilder.java index 4b2627c562d1..95123debfe29 100644 --- a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequestOrBuilder.java +++ b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequestOrBuilder.java @@ -59,7 +59,7 @@ public interface BatchWriteSpansRequestOrBuilder * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * @@ -72,7 +72,7 @@ public interface BatchWriteSpansRequestOrBuilder * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * @@ -85,7 +85,7 @@ public interface BatchWriteSpansRequestOrBuilder * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * @@ -98,7 +98,7 @@ public interface BatchWriteSpansRequestOrBuilder * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * @@ -111,7 +111,7 @@ public interface BatchWriteSpansRequestOrBuilder * *
          * Required. A list of new spans. The span names must not match existing
      -   * spans, or the results are undefined.
      +   * spans, otherwise the results are undefined.
          * 
      * * diff --git a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java index 15c9eaea8281..059d98f3cd89 100644 --- a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java +++ b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/Span.java @@ -25,8 +25,9 @@ * A span represents a single operation within a trace. Spans can be * nested to form a trace tree. Often, a trace contains a root span * that describes the end-to-end latency, and one or more subspans for - * its sub-operations. A trace can also contain multiple root spans, - * or none at all. Spans do not need to be contiguous&mdash;there may be + * its sub-operations. + * A trace can also contain multiple root spans, or none at all. + * Spans do not need to be contiguous. There might be * gaps or overlaps between spans in a trace. *
      * @@ -326,9 +327,9 @@ public interface AttributesOrBuilder * * *
      -     * The set of attributes. Each attribute's key can be up to 128 bytes
      +     * A set of attributes. Each attribute's key can be up to 128 bytes
            * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -     * or the Boolean values `true` and `false`. For example:
      +     * or the boolean values `true` or `false`. For example:
            *     "/instance_id": { "string_value": { "value": "my-instance" } }
            *     "/http/request_bytes": { "int_value": 300 }
            *     "abc.com/myattribute": { "bool_value": false }
      @@ -342,9 +343,9 @@ public interface AttributesOrBuilder
            *
            *
            * 
      -     * The set of attributes. Each attribute's key can be up to 128 bytes
      +     * A set of attributes. Each attribute's key can be up to 128 bytes
            * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -     * or the Boolean values `true` and `false`. For example:
      +     * or the boolean values `true` or `false`. For example:
            *     "/instance_id": { "string_value": { "value": "my-instance" } }
            *     "/http/request_bytes": { "int_value": 300 }
            *     "abc.com/myattribute": { "bool_value": false }
      @@ -362,9 +363,9 @@ public interface AttributesOrBuilder
            *
            *
            * 
      -     * The set of attributes. Each attribute's key can be up to 128 bytes
      +     * A set of attributes. Each attribute's key can be up to 128 bytes
            * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -     * or the Boolean values `true` and `false`. For example:
      +     * or the boolean values `true` or `false`. For example:
            *     "/instance_id": { "string_value": { "value": "my-instance" } }
            *     "/http/request_bytes": { "int_value": 300 }
            *     "abc.com/myattribute": { "bool_value": false }
      @@ -379,9 +380,9 @@ public interface AttributesOrBuilder
            *
            *
            * 
      -     * The set of attributes. Each attribute's key can be up to 128 bytes
      +     * A set of attributes. Each attribute's key can be up to 128 bytes
            * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -     * or the Boolean values `true` and `false`. For example:
      +     * or the boolean values `true` or `false`. For example:
            *     "/instance_id": { "string_value": { "value": "my-instance" } }
            *     "/http/request_bytes": { "int_value": 300 }
            *     "abc.com/myattribute": { "bool_value": false }
      @@ -399,9 +400,9 @@ com.google.devtools.cloudtrace.v2.AttributeValue getAttributeMapOrDefault(
            *
            *
            * 
      -     * The set of attributes. Each attribute's key can be up to 128 bytes
      +     * A set of attributes. Each attribute's key can be up to 128 bytes
            * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -     * or the Boolean values `true` and `false`. For example:
      +     * or the boolean values `true` or `false`. For example:
            *     "/instance_id": { "string_value": { "value": "my-instance" } }
            *     "/http/request_bytes": { "int_value": 300 }
            *     "abc.com/myattribute": { "bool_value": false }
      @@ -431,7 +432,7 @@ com.google.devtools.cloudtrace.v2.AttributeValue getAttributeMapOrDefault(
          *
          *
          * 
      -   * A set of attributes, each in the format `[KEY]:[VALUE]`.
      +   * A set of attributes as key-value pairs.
          * 
      * * Protobuf type {@code google.devtools.cloudtrace.v2.Span.Attributes} @@ -524,9 +525,9 @@ public int getAttributeMapCount() { * * *
      -     * The set of attributes. Each attribute's key can be up to 128 bytes
      +     * A set of attributes. Each attribute's key can be up to 128 bytes
            * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -     * or the Boolean values `true` and `false`. For example:
      +     * or the boolean values `true` or `false`. For example:
            *     "/instance_id": { "string_value": { "value": "my-instance" } }
            *     "/http/request_bytes": { "int_value": 300 }
            *     "abc.com/myattribute": { "bool_value": false }
      @@ -553,9 +554,9 @@ public boolean containsAttributeMap(java.lang.String key) {
            *
            *
            * 
      -     * The set of attributes. Each attribute's key can be up to 128 bytes
      +     * A set of attributes. Each attribute's key can be up to 128 bytes
            * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -     * or the Boolean values `true` and `false`. For example:
      +     * or the boolean values `true` or `false`. For example:
            *     "/instance_id": { "string_value": { "value": "my-instance" } }
            *     "/http/request_bytes": { "int_value": 300 }
            *     "abc.com/myattribute": { "bool_value": false }
      @@ -573,9 +574,9 @@ public boolean containsAttributeMap(java.lang.String key) {
            *
            *
            * 
      -     * The set of attributes. Each attribute's key can be up to 128 bytes
      +     * A set of attributes. Each attribute's key can be up to 128 bytes
            * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -     * or the Boolean values `true` and `false`. For example:
      +     * or the boolean values `true` or `false`. For example:
            *     "/instance_id": { "string_value": { "value": "my-instance" } }
            *     "/http/request_bytes": { "int_value": 300 }
            *     "abc.com/myattribute": { "bool_value": false }
      @@ -600,9 +601,9 @@ public boolean containsAttributeMap(java.lang.String key) {
            *
            *
            * 
      -     * The set of attributes. Each attribute's key can be up to 128 bytes
      +     * A set of attributes. Each attribute's key can be up to 128 bytes
            * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -     * or the Boolean values `true` and `false`. For example:
      +     * or the boolean values `true` or `false`. For example:
            *     "/instance_id": { "string_value": { "value": "my-instance" } }
            *     "/http/request_bytes": { "int_value": 300 }
            *     "abc.com/myattribute": { "bool_value": false }
      @@ -828,7 +829,7 @@ protected Builder newBuilderForType(
            *
            *
            * 
      -     * A set of attributes, each in the format `[KEY]:[VALUE]`.
      +     * A set of attributes as key-value pairs.
            * 
      * * Protobuf type {@code google.devtools.cloudtrace.v2.Span.Attributes} @@ -1085,9 +1086,9 @@ public int getAttributeMapCount() { * * *
      -       * The set of attributes. Each attribute's key can be up to 128 bytes
      +       * A set of attributes. Each attribute's key can be up to 128 bytes
              * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -       * or the Boolean values `true` and `false`. For example:
      +       * or the boolean values `true` or `false`. For example:
              *     "/instance_id": { "string_value": { "value": "my-instance" } }
              *     "/http/request_bytes": { "int_value": 300 }
              *     "abc.com/myattribute": { "bool_value": false }
      @@ -1114,9 +1115,9 @@ public boolean containsAttributeMap(java.lang.String key) {
              *
              *
              * 
      -       * The set of attributes. Each attribute's key can be up to 128 bytes
      +       * A set of attributes. Each attribute's key can be up to 128 bytes
              * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -       * or the Boolean values `true` and `false`. For example:
      +       * or the boolean values `true` or `false`. For example:
              *     "/instance_id": { "string_value": { "value": "my-instance" } }
              *     "/http/request_bytes": { "int_value": 300 }
              *     "abc.com/myattribute": { "bool_value": false }
      @@ -1134,9 +1135,9 @@ public boolean containsAttributeMap(java.lang.String key) {
              *
              *
              * 
      -       * The set of attributes. Each attribute's key can be up to 128 bytes
      +       * A set of attributes. Each attribute's key can be up to 128 bytes
              * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -       * or the Boolean values `true` and `false`. For example:
      +       * or the boolean values `true` or `false`. For example:
              *     "/instance_id": { "string_value": { "value": "my-instance" } }
              *     "/http/request_bytes": { "int_value": 300 }
              *     "abc.com/myattribute": { "bool_value": false }
      @@ -1162,9 +1163,9 @@ public boolean containsAttributeMap(java.lang.String key) {
              *
              *
              * 
      -       * The set of attributes. Each attribute's key can be up to 128 bytes
      +       * A set of attributes. Each attribute's key can be up to 128 bytes
              * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -       * or the Boolean values `true` and `false`. For example:
      +       * or the boolean values `true` or `false`. For example:
              *     "/instance_id": { "string_value": { "value": "my-instance" } }
              *     "/http/request_bytes": { "int_value": 300 }
              *     "abc.com/myattribute": { "bool_value": false }
      @@ -1196,9 +1197,9 @@ public Builder clearAttributeMap() {
              *
              *
              * 
      -       * The set of attributes. Each attribute's key can be up to 128 bytes
      +       * A set of attributes. Each attribute's key can be up to 128 bytes
              * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -       * or the Boolean values `true` and `false`. For example:
      +       * or the boolean values `true` or `false`. For example:
              *     "/instance_id": { "string_value": { "value": "my-instance" } }
              *     "/http/request_bytes": { "int_value": 300 }
              *     "abc.com/myattribute": { "bool_value": false }
      @@ -1225,9 +1226,9 @@ public Builder removeAttributeMap(java.lang.String key) {
              *
              *
              * 
      -       * The set of attributes. Each attribute's key can be up to 128 bytes
      +       * A set of attributes. Each attribute's key can be up to 128 bytes
              * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -       * or the Boolean values `true` and `false`. For example:
      +       * or the boolean values `true` or `false`. For example:
              *     "/instance_id": { "string_value": { "value": "my-instance" } }
              *     "/http/request_bytes": { "int_value": 300 }
              *     "abc.com/myattribute": { "bool_value": false }
      @@ -1252,9 +1253,9 @@ public Builder putAttributeMap(
              *
              *
              * 
      -       * The set of attributes. Each attribute's key can be up to 128 bytes
      +       * A set of attributes. Each attribute's key can be up to 128 bytes
              * long. The value can be a string up to 256 bytes, a signed 64-bit integer,
      -       * or the Boolean values `true` and `false`. For example:
      +       * or the boolean values `true` or `false`. For example:
              *     "/instance_id": { "string_value": { "value": "my-instance" } }
              *     "/http/request_bytes": { "int_value": 300 }
              *     "abc.com/myattribute": { "bool_value": false }
      @@ -2673,8 +2674,7 @@ public interface MessageEventOrBuilder
              *
              * 
              * An identifier for the MessageEvent's message that can be used to match
      -       * SENT and RECEIVED MessageEvents. It is recommended to be unique within
      -       * a Span.
      +       * `SENT` and `RECEIVED` MessageEvents.
              * 
      * * int64 id = 2; @@ -2700,8 +2700,9 @@ public interface MessageEventOrBuilder * * *
      -       * The number of compressed bytes sent or received. If missing assumed to
      -       * be the same size as uncompressed.
      +       * The number of compressed bytes sent or received. If missing, the
      +       * compressed size is assumed to be the same size as the uncompressed
      +       * size.
              * 
      * * int64 compressed_size_bytes = 4; @@ -2965,8 +2966,7 @@ public com.google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent.Type getTyp * *
              * An identifier for the MessageEvent's message that can be used to match
      -       * SENT and RECEIVED MessageEvents. It is recommended to be unique within
      -       * a Span.
      +       * `SENT` and `RECEIVED` MessageEvents.
              * 
      * * int64 id = 2; @@ -3002,8 +3002,9 @@ public long getUncompressedSizeBytes() { * * *
      -       * The number of compressed bytes sent or received. If missing assumed to
      -       * be the same size as uncompressed.
      +       * The number of compressed bytes sent or received. If missing, the
      +       * compressed size is assumed to be the same size as the uncompressed
      +       * size.
              * 
      * * int64 compressed_size_bytes = 4; @@ -3541,8 +3542,7 @@ public Builder clearType() { * *
                * An identifier for the MessageEvent's message that can be used to match
      -         * SENT and RECEIVED MessageEvents. It is recommended to be unique within
      -         * a Span.
      +         * `SENT` and `RECEIVED` MessageEvents.
                * 
      * * int64 id = 2; @@ -3558,8 +3558,7 @@ public long getId() { * *
                * An identifier for the MessageEvent's message that can be used to match
      -         * SENT and RECEIVED MessageEvents. It is recommended to be unique within
      -         * a Span.
      +         * `SENT` and `RECEIVED` MessageEvents.
                * 
      * * int64 id = 2; @@ -3579,8 +3578,7 @@ public Builder setId(long value) { * *
                * An identifier for the MessageEvent's message that can be used to match
      -         * SENT and RECEIVED MessageEvents. It is recommended to be unique within
      -         * a Span.
      +         * `SENT` and `RECEIVED` MessageEvents.
                * 
      * * int64 id = 2; @@ -3652,8 +3650,9 @@ public Builder clearUncompressedSizeBytes() { * * *
      -         * The number of compressed bytes sent or received. If missing assumed to
      -         * be the same size as uncompressed.
      +         * The number of compressed bytes sent or received. If missing, the
      +         * compressed size is assumed to be the same size as the uncompressed
      +         * size.
                * 
      * * int64 compressed_size_bytes = 4; @@ -3668,8 +3667,9 @@ public long getCompressedSizeBytes() { * * *
      -         * The number of compressed bytes sent or received. If missing assumed to
      -         * be the same size as uncompressed.
      +         * The number of compressed bytes sent or received. If missing, the
      +         * compressed size is assumed to be the same size as the uncompressed
      +         * size.
                * 
      * * int64 compressed_size_bytes = 4; @@ -3688,8 +3688,9 @@ public Builder setCompressedSizeBytes(long value) { * * *
      -         * The number of compressed bytes sent or received. If missing assumed to
      -         * be the same size as uncompressed.
      +         * The number of compressed bytes sent or received. If missing, the
      +         * compressed size is assumed to be the same size as the uncompressed
      +         * size.
                * 
      * * int64 compressed_size_bytes = 4; @@ -6328,7 +6329,7 @@ public interface LinkOrBuilder * * *
      -     * The [TRACE_ID] for a trace within a project.
      +     * The `[TRACE_ID]` for a trace within a project.
            * 
      * * string trace_id = 1; @@ -6340,7 +6341,7 @@ public interface LinkOrBuilder * * *
      -     * The [TRACE_ID] for a trace within a project.
      +     * The `[TRACE_ID]` for a trace within a project.
            * 
      * * string trace_id = 1; @@ -6353,7 +6354,7 @@ public interface LinkOrBuilder * * *
      -     * The [SPAN_ID] for a span within a trace.
      +     * The `[SPAN_ID]` for a span within a trace.
            * 
      * * string span_id = 2; @@ -6365,7 +6366,7 @@ public interface LinkOrBuilder * * *
      -     * The [SPAN_ID] for a span within a trace.
      +     * The `[SPAN_ID]` for a span within a trace.
            * 
      * * string span_id = 2; @@ -6403,8 +6404,8 @@ public interface LinkOrBuilder * * *
      -     * A set of attributes on the link. You have have up to  32 attributes per
      -     * link.
      +     * A set of attributes on the link. Up to 32 attributes can be
      +     * specified per link.
            * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -6416,8 +6417,8 @@ public interface LinkOrBuilder * * *
      -     * A set of attributes on the link. You have have up to  32 attributes per
      -     * link.
      +     * A set of attributes on the link. Up to 32 attributes can be
      +     * specified per link.
            * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -6429,8 +6430,8 @@ public interface LinkOrBuilder * * *
      -     * A set of attributes on the link. You have have up to  32 attributes per
      -     * link.
      +     * A set of attributes on the link. Up to 32 attributes can be
      +     * specified per link.
            * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -6657,7 +6658,7 @@ private Type(int value) { * * *
      -     * The [TRACE_ID] for a trace within a project.
      +     * The `[TRACE_ID]` for a trace within a project.
            * 
      * * string trace_id = 1; @@ -6680,7 +6681,7 @@ public java.lang.String getTraceId() { * * *
      -     * The [TRACE_ID] for a trace within a project.
      +     * The `[TRACE_ID]` for a trace within a project.
            * 
      * * string trace_id = 1; @@ -6708,7 +6709,7 @@ public com.google.protobuf.ByteString getTraceIdBytes() { * * *
      -     * The [SPAN_ID] for a span within a trace.
      +     * The `[SPAN_ID]` for a span within a trace.
            * 
      * * string span_id = 2; @@ -6731,7 +6732,7 @@ public java.lang.String getSpanId() { * * *
      -     * The [SPAN_ID] for a span within a trace.
      +     * The `[SPAN_ID]` for a span within a trace.
            * 
      * * string span_id = 2; @@ -6794,8 +6795,8 @@ public com.google.devtools.cloudtrace.v2.Span.Link.Type getType() { * * *
      -     * A set of attributes on the link. You have have up to  32 attributes per
      -     * link.
      +     * A set of attributes on the link. Up to 32 attributes can be
      +     * specified per link.
            * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -6810,8 +6811,8 @@ public boolean hasAttributes() { * * *
      -     * A set of attributes on the link. You have have up to  32 attributes per
      -     * link.
      +     * A set of attributes on the link. Up to 32 attributes can be
      +     * specified per link.
            * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -6828,8 +6829,8 @@ public com.google.devtools.cloudtrace.v2.Span.Attributes getAttributes() { * * *
      -     * A set of attributes on the link. You have have up to  32 attributes per
      -     * link.
      +     * A set of attributes on the link. Up to 32 attributes can be
      +     * specified per link.
            * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -7272,7 +7273,7 @@ public Builder mergeFrom( * * *
      -       * The [TRACE_ID] for a trace within a project.
      +       * The `[TRACE_ID]` for a trace within a project.
              * 
      * * string trace_id = 1; @@ -7294,7 +7295,7 @@ public java.lang.String getTraceId() { * * *
      -       * The [TRACE_ID] for a trace within a project.
      +       * The `[TRACE_ID]` for a trace within a project.
              * 
      * * string trace_id = 1; @@ -7316,7 +7317,7 @@ public com.google.protobuf.ByteString getTraceIdBytes() { * * *
      -       * The [TRACE_ID] for a trace within a project.
      +       * The `[TRACE_ID]` for a trace within a project.
              * 
      * * string trace_id = 1; @@ -7337,7 +7338,7 @@ public Builder setTraceId(java.lang.String value) { * * *
      -       * The [TRACE_ID] for a trace within a project.
      +       * The `[TRACE_ID]` for a trace within a project.
              * 
      * * string trace_id = 1; @@ -7354,7 +7355,7 @@ public Builder clearTraceId() { * * *
      -       * The [TRACE_ID] for a trace within a project.
      +       * The `[TRACE_ID]` for a trace within a project.
              * 
      * * string trace_id = 1; @@ -7378,7 +7379,7 @@ public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { * * *
      -       * The [SPAN_ID] for a span within a trace.
      +       * The `[SPAN_ID]` for a span within a trace.
              * 
      * * string span_id = 2; @@ -7400,7 +7401,7 @@ public java.lang.String getSpanId() { * * *
      -       * The [SPAN_ID] for a span within a trace.
      +       * The `[SPAN_ID]` for a span within a trace.
              * 
      * * string span_id = 2; @@ -7422,7 +7423,7 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * * *
      -       * The [SPAN_ID] for a span within a trace.
      +       * The `[SPAN_ID]` for a span within a trace.
              * 
      * * string span_id = 2; @@ -7443,7 +7444,7 @@ public Builder setSpanId(java.lang.String value) { * * *
      -       * The [SPAN_ID] for a span within a trace.
      +       * The `[SPAN_ID]` for a span within a trace.
              * 
      * * string span_id = 2; @@ -7460,7 +7461,7 @@ public Builder clearSpanId() { * * *
      -       * The [SPAN_ID] for a span within a trace.
      +       * The `[SPAN_ID]` for a span within a trace.
              * 
      * * string span_id = 2; @@ -7581,8 +7582,8 @@ public Builder clearType() { * * *
      -       * A set of attributes on the link. You have have up to  32 attributes per
      -       * link.
      +       * A set of attributes on the link. Up to 32 attributes can be
      +       * specified per link.
              * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -7596,8 +7597,8 @@ public boolean hasAttributes() { * * *
      -       * A set of attributes on the link. You have have up to  32 attributes per
      -       * link.
      +       * A set of attributes on the link. Up to 32 attributes can be
      +       * specified per link.
              * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -7617,8 +7618,8 @@ public com.google.devtools.cloudtrace.v2.Span.Attributes getAttributes() { * * *
      -       * A set of attributes on the link. You have have up to  32 attributes per
      -       * link.
      +       * A set of attributes on the link. Up to 32 attributes can be
      +       * specified per link.
              * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -7640,8 +7641,8 @@ public Builder setAttributes(com.google.devtools.cloudtrace.v2.Span.Attributes v * * *
      -       * A set of attributes on the link. You have have up to  32 attributes per
      -       * link.
      +       * A set of attributes on the link. Up to 32 attributes can be
      +       * specified per link.
              * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -7661,8 +7662,8 @@ public Builder setAttributes( * * *
      -       * A set of attributes on the link. You have have up to  32 attributes per
      -       * link.
      +       * A set of attributes on the link. Up to 32 attributes can be
      +       * specified per link.
              * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -7688,8 +7689,8 @@ public Builder mergeAttributes(com.google.devtools.cloudtrace.v2.Span.Attributes * * *
      -       * A set of attributes on the link. You have have up to  32 attributes per
      -       * link.
      +       * A set of attributes on the link. Up to 32 attributes can be
      +       * specified per link.
              * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -7708,8 +7709,8 @@ public Builder clearAttributes() { * * *
      -       * A set of attributes on the link. You have have up to  32 attributes per
      -       * link.
      +       * A set of attributes on the link. Up to 32 attributes can be
      +       * specified per link.
              * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -7723,8 +7724,8 @@ public com.google.devtools.cloudtrace.v2.Span.Attributes.Builder getAttributesBu * * *
      -       * A set of attributes on the link. You have have up to  32 attributes per
      -       * link.
      +       * A set of attributes on the link. Up to 32 attributes can be
      +       * specified per link.
              * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -7742,8 +7743,8 @@ public com.google.devtools.cloudtrace.v2.Span.AttributesOrBuilder getAttributesO * * *
      -       * A set of attributes on the link. You have have up to  32 attributes per
      -       * link.
      +       * A set of attributes on the link. Up to 32 attributes can be
      +       * specified per link.
              * 
      * * .google.devtools.cloudtrace.v2.Span.Attributes attributes = 4; @@ -8933,11 +8934,14 @@ public com.google.devtools.cloudtrace.v2.Span.Links getDefaultInstanceForType() * *
          * Required. The resource name of the span in the following format:
      -   *     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
      -   * [TRACE_ID] is a unique identifier for a trace within a project;
      -   * it is a 32-character hexadecimal encoding of a 16-byte array.
      -   * [SPAN_ID] is a unique identifier for a span within a trace; it
      -   * is a 16-character hexadecimal encoding of an 8-byte array.
      +   *  * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
      +   * `[TRACE_ID]` is a unique identifier for a trace within a project;
      +   * it is a 32-character hexadecimal encoding of a 16-byte array. It should
      +   * not be zero.
      +   * `[SPAN_ID]` is a unique identifier for a span within a trace; it
      +   * is a 16-character hexadecimal encoding of an 8-byte array. It should not
      +   * be zero.
      +   * .
          * 
      * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -8961,11 +8965,14 @@ public java.lang.String getName() { * *
          * Required. The resource name of the span in the following format:
      -   *     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
      -   * [TRACE_ID] is a unique identifier for a trace within a project;
      -   * it is a 32-character hexadecimal encoding of a 16-byte array.
      -   * [SPAN_ID] is a unique identifier for a span within a trace; it
      -   * is a 16-character hexadecimal encoding of an 8-byte array.
      +   *  * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
      +   * `[TRACE_ID]` is a unique identifier for a trace within a project;
      +   * it is a 32-character hexadecimal encoding of a 16-byte array. It should
      +   * not be zero.
      +   * `[SPAN_ID]` is a unique identifier for a span within a trace; it
      +   * is a 16-character hexadecimal encoding of an 8-byte array. It should not
      +   * be zero.
      +   * .
          * 
      * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -8993,7 +9000,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
      -   * Required. The [SPAN_ID] portion of the span's resource name.
      +   * Required. The `[SPAN_ID]` portion of the span's resource name.
          * 
      * * string span_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -9016,7 +9023,7 @@ public java.lang.String getSpanId() { * * *
      -   * Required. The [SPAN_ID] portion of the span's resource name.
      +   * Required. The `[SPAN_ID]` portion of the span's resource name.
          * 
      * * string span_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -9044,7 +9051,7 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * * *
      -   * The [SPAN_ID] of this span's parent span. If this is a root span,
      +   * The `[SPAN_ID]` of this span's parent span. If this is a root span,
          * then this field must be empty.
          * 
      * @@ -9068,7 +9075,7 @@ public java.lang.String getParentSpanId() { * * *
      -   * The [SPAN_ID] of this span's parent span. If this is a root span,
      +   * The `[SPAN_ID]` of this span's parent span. If this is a root span,
          * then this field must be empty.
          * 
      * @@ -9096,8 +9103,8 @@ public com.google.protobuf.ByteString getParentSpanIdBytes() { * *
          * Required. A description of the span's operation (up to 128 bytes).
      -   * Stackdriver Trace displays the description in the
      -   * Google Cloud Platform Console.
      +   * Cloud Trace displays the description in the
      +   * Cloud console.
          * For example, the display name can be a qualified method name or a file name
          * and a line number where the operation is called. A best practice is to use
          * the same display name within an application and at the same call point.
      @@ -9119,8 +9126,8 @@ public boolean hasDisplayName() {
          *
          * 
          * Required. A description of the span's operation (up to 128 bytes).
      -   * Stackdriver Trace displays the description in the
      -   * Google Cloud Platform Console.
      +   * Cloud Trace displays the description in the
      +   * Cloud console.
          * For example, the display name can be a qualified method name or a file name
          * and a line number where the operation is called. A best practice is to use
          * the same display name within an application and at the same call point.
      @@ -9144,8 +9151,8 @@ public com.google.devtools.cloudtrace.v2.TruncatableString getDisplayName() {
          *
          * 
          * Required. A description of the span's operation (up to 128 bytes).
      -   * Stackdriver Trace displays the description in the
      -   * Google Cloud Platform Console.
      +   * Cloud Trace displays the description in the
      +   * Cloud console.
          * For example, the display name can be a qualified method name or a file name
          * and a line number where the operation is called. A best practice is to use
          * the same display name within an application and at the same call point.
      @@ -9169,9 +9176,10 @@ public com.google.devtools.cloudtrace.v2.TruncatableStringOrBuilder getDisplayNa
          *
          *
          * 
      -   * Required. The start time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution starts. On the server side, this
      -   * is the time when the server's application handler starts running.
      +   * Required. The start time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution starts. On the server
      +   * side, this is the time when the server's application handler starts
      +   * running.
          * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -9187,9 +9195,10 @@ public boolean hasStartTime() { * * *
      -   * Required. The start time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution starts. On the server side, this
      -   * is the time when the server's application handler starts running.
      +   * Required. The start time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution starts. On the server
      +   * side, this is the time when the server's application handler starts
      +   * running.
          * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -9205,9 +9214,10 @@ public com.google.protobuf.Timestamp getStartTime() { * * *
      -   * Required. The start time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution starts. On the server side, this
      -   * is the time when the server's application handler starts running.
      +   * Required. The start time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution starts. On the server
      +   * side, this is the time when the server's application handler starts
      +   * running.
          * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -9224,9 +9234,9 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
      -   * Required. The end time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution ends. On the server side, this
      -   * is the time when the server application handler stops running.
      +   * Required. The end time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution ends. On the server
      +   * side, this is the time when the server application handler stops running.
          * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -9241,9 +9251,9 @@ public boolean hasEndTime() { * * *
      -   * Required. The end time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution ends. On the server side, this
      -   * is the time when the server application handler stops running.
      +   * Required. The end time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution ends. On the server
      +   * side, this is the time when the server application handler stops running.
          * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -9258,9 +9268,9 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -   * Required. The end time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution ends. On the server side, this
      -   * is the time when the server application handler stops running.
      +   * Required. The end time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution ends. On the server
      +   * side, this is the time when the server application handler stops running.
          * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -9530,8 +9540,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { *
          * Optional. Set this parameter to indicate whether this span is in
          * the same process as its parent. If you do not set this parameter,
      -   * Stackdriver Trace is unable to take advantage of this helpful
      -   * information.
      +   * Trace is unable to take advantage of this helpful information.
          * 
      * * @@ -9550,8 +9559,7 @@ public boolean hasSameProcessAsParentSpan() { *
          * Optional. Set this parameter to indicate whether this span is in
          * the same process as its parent. If you do not set this parameter,
      -   * Stackdriver Trace is unable to take advantage of this helpful
      -   * information.
      +   * Trace is unable to take advantage of this helpful information.
          * 
      * * @@ -9572,8 +9580,7 @@ public com.google.protobuf.BoolValue getSameProcessAsParentSpan() { *
          * Optional. Set this parameter to indicate whether this span is in
          * the same process as its parent. If you do not set this parameter,
      -   * Stackdriver Trace is unable to take advantage of this helpful
      -   * information.
      +   * Trace is unable to take advantage of this helpful information.
          * 
      * * @@ -9652,9 +9659,9 @@ public com.google.protobuf.Int32ValueOrBuilder getChildSpanCountOrBuilder() { * * *
      -   * Optional. Distinguishes between spans generated in a particular context. For example,
      -   * two spans with the same name may be distinguished using `CLIENT` (caller)
      -   * and `SERVER` (callee) to identify an RPC call.
      +   * Optional. Distinguishes between spans generated in a particular context.
      +   * For example, two spans with the same name may be distinguished using
      +   * `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.
          * 
      * * @@ -9671,9 +9678,9 @@ public int getSpanKindValue() { * * *
      -   * Optional. Distinguishes between spans generated in a particular context. For example,
      -   * two spans with the same name may be distinguished using `CLIENT` (caller)
      -   * and `SERVER` (callee) to identify an RPC call.
      +   * Optional. Distinguishes between spans generated in a particular context.
      +   * For example, two spans with the same name may be distinguished using
      +   * `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.
          * 
      * * @@ -10025,8 +10032,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * A span represents a single operation within a trace. Spans can be * nested to form a trace tree. Often, a trace contains a root span * that describes the end-to-end latency, and one or more subspans for - * its sub-operations. A trace can also contain multiple root spans, - * or none at all. Spans do not need to be contiguous&mdash;there may be + * its sub-operations. + * A trace can also contain multiple root spans, or none at all. + * Spans do not need to be contiguous. There might be * gaps or overlaps between spans in a trace. *
      * @@ -10430,11 +10438,14 @@ public Builder mergeFrom( * *
            * Required. The resource name of the span in the following format:
      -     *     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
      -     * [TRACE_ID] is a unique identifier for a trace within a project;
      -     * it is a 32-character hexadecimal encoding of a 16-byte array.
      -     * [SPAN_ID] is a unique identifier for a span within a trace; it
      -     * is a 16-character hexadecimal encoding of an 8-byte array.
      +     *  * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
      +     * `[TRACE_ID]` is a unique identifier for a trace within a project;
      +     * it is a 32-character hexadecimal encoding of a 16-byte array. It should
      +     * not be zero.
      +     * `[SPAN_ID]` is a unique identifier for a span within a trace; it
      +     * is a 16-character hexadecimal encoding of an 8-byte array. It should not
      +     * be zero.
      +     * .
            * 
      * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -10457,11 +10468,14 @@ public java.lang.String getName() { * *
            * Required. The resource name of the span in the following format:
      -     *     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
      -     * [TRACE_ID] is a unique identifier for a trace within a project;
      -     * it is a 32-character hexadecimal encoding of a 16-byte array.
      -     * [SPAN_ID] is a unique identifier for a span within a trace; it
      -     * is a 16-character hexadecimal encoding of an 8-byte array.
      +     *  * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
      +     * `[TRACE_ID]` is a unique identifier for a trace within a project;
      +     * it is a 32-character hexadecimal encoding of a 16-byte array. It should
      +     * not be zero.
      +     * `[SPAN_ID]` is a unique identifier for a span within a trace; it
      +     * is a 16-character hexadecimal encoding of an 8-byte array. It should not
      +     * be zero.
      +     * .
            * 
      * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -10484,11 +10498,14 @@ public com.google.protobuf.ByteString getNameBytes() { * *
            * Required. The resource name of the span in the following format:
      -     *     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
      -     * [TRACE_ID] is a unique identifier for a trace within a project;
      -     * it is a 32-character hexadecimal encoding of a 16-byte array.
      -     * [SPAN_ID] is a unique identifier for a span within a trace; it
      -     * is a 16-character hexadecimal encoding of an 8-byte array.
      +     *  * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
      +     * `[TRACE_ID]` is a unique identifier for a trace within a project;
      +     * it is a 32-character hexadecimal encoding of a 16-byte array. It should
      +     * not be zero.
      +     * `[SPAN_ID]` is a unique identifier for a span within a trace; it
      +     * is a 16-character hexadecimal encoding of an 8-byte array. It should not
      +     * be zero.
      +     * .
            * 
      * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -10510,11 +10527,14 @@ public Builder setName(java.lang.String value) { * *
            * Required. The resource name of the span in the following format:
      -     *     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
      -     * [TRACE_ID] is a unique identifier for a trace within a project;
      -     * it is a 32-character hexadecimal encoding of a 16-byte array.
      -     * [SPAN_ID] is a unique identifier for a span within a trace; it
      -     * is a 16-character hexadecimal encoding of an 8-byte array.
      +     *  * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
      +     * `[TRACE_ID]` is a unique identifier for a trace within a project;
      +     * it is a 32-character hexadecimal encoding of a 16-byte array. It should
      +     * not be zero.
      +     * `[SPAN_ID]` is a unique identifier for a span within a trace; it
      +     * is a 16-character hexadecimal encoding of an 8-byte array. It should not
      +     * be zero.
      +     * .
            * 
      * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -10532,11 +10552,14 @@ public Builder clearName() { * *
            * Required. The resource name of the span in the following format:
      -     *     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
      -     * [TRACE_ID] is a unique identifier for a trace within a project;
      -     * it is a 32-character hexadecimal encoding of a 16-byte array.
      -     * [SPAN_ID] is a unique identifier for a span within a trace; it
      -     * is a 16-character hexadecimal encoding of an 8-byte array.
      +     *  * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
      +     * `[TRACE_ID]` is a unique identifier for a trace within a project;
      +     * it is a 32-character hexadecimal encoding of a 16-byte array. It should
      +     * not be zero.
      +     * `[SPAN_ID]` is a unique identifier for a span within a trace; it
      +     * is a 16-character hexadecimal encoding of an 8-byte array. It should not
      +     * be zero.
      +     * .
            * 
      * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -10560,7 +10583,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
      -     * Required. The [SPAN_ID] portion of the span's resource name.
      +     * Required. The `[SPAN_ID]` portion of the span's resource name.
            * 
      * * string span_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -10582,7 +10605,7 @@ public java.lang.String getSpanId() { * * *
      -     * Required. The [SPAN_ID] portion of the span's resource name.
      +     * Required. The `[SPAN_ID]` portion of the span's resource name.
            * 
      * * string span_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -10604,7 +10627,7 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * * *
      -     * Required. The [SPAN_ID] portion of the span's resource name.
      +     * Required. The `[SPAN_ID]` portion of the span's resource name.
            * 
      * * string span_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -10625,7 +10648,7 @@ public Builder setSpanId(java.lang.String value) { * * *
      -     * Required. The [SPAN_ID] portion of the span's resource name.
      +     * Required. The `[SPAN_ID]` portion of the span's resource name.
            * 
      * * string span_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -10642,7 +10665,7 @@ public Builder clearSpanId() { * * *
      -     * Required. The [SPAN_ID] portion of the span's resource name.
      +     * Required. The `[SPAN_ID]` portion of the span's resource name.
            * 
      * * string span_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -10666,7 +10689,7 @@ public Builder setSpanIdBytes(com.google.protobuf.ByteString value) { * * *
      -     * The [SPAN_ID] of this span's parent span. If this is a root span,
      +     * The `[SPAN_ID]` of this span's parent span. If this is a root span,
            * then this field must be empty.
            * 
      * @@ -10689,7 +10712,7 @@ public java.lang.String getParentSpanId() { * * *
      -     * The [SPAN_ID] of this span's parent span. If this is a root span,
      +     * The `[SPAN_ID]` of this span's parent span. If this is a root span,
            * then this field must be empty.
            * 
      * @@ -10712,7 +10735,7 @@ public com.google.protobuf.ByteString getParentSpanIdBytes() { * * *
      -     * The [SPAN_ID] of this span's parent span. If this is a root span,
      +     * The `[SPAN_ID]` of this span's parent span. If this is a root span,
            * then this field must be empty.
            * 
      * @@ -10734,7 +10757,7 @@ public Builder setParentSpanId(java.lang.String value) { * * *
      -     * The [SPAN_ID] of this span's parent span. If this is a root span,
      +     * The `[SPAN_ID]` of this span's parent span. If this is a root span,
            * then this field must be empty.
            * 
      * @@ -10752,7 +10775,7 @@ public Builder clearParentSpanId() { * * *
      -     * The [SPAN_ID] of this span's parent span. If this is a root span,
      +     * The `[SPAN_ID]` of this span's parent span. If this is a root span,
            * then this field must be empty.
            * 
      * @@ -10783,8 +10806,8 @@ public Builder setParentSpanIdBytes(com.google.protobuf.ByteString value) { * *
            * Required. A description of the span's operation (up to 128 bytes).
      -     * Stackdriver Trace displays the description in the
      -     * Google Cloud Platform Console.
      +     * Cloud Trace displays the description in the
      +     * Cloud console.
            * For example, the display name can be a qualified method name or a file name
            * and a line number where the operation is called. A best practice is to use
            * the same display name within an application and at the same call point.
      @@ -10805,8 +10828,8 @@ public boolean hasDisplayName() {
            *
            * 
            * Required. A description of the span's operation (up to 128 bytes).
      -     * Stackdriver Trace displays the description in the
      -     * Google Cloud Platform Console.
      +     * Cloud Trace displays the description in the
      +     * Cloud console.
            * For example, the display name can be a qualified method name or a file name
            * and a line number where the operation is called. A best practice is to use
            * the same display name within an application and at the same call point.
      @@ -10833,8 +10856,8 @@ public com.google.devtools.cloudtrace.v2.TruncatableString getDisplayName() {
            *
            * 
            * Required. A description of the span's operation (up to 128 bytes).
      -     * Stackdriver Trace displays the description in the
      -     * Google Cloud Platform Console.
      +     * Cloud Trace displays the description in the
      +     * Cloud console.
            * For example, the display name can be a qualified method name or a file name
            * and a line number where the operation is called. A best practice is to use
            * the same display name within an application and at the same call point.
      @@ -10863,8 +10886,8 @@ public Builder setDisplayName(com.google.devtools.cloudtrace.v2.TruncatableStrin
            *
            * 
            * Required. A description of the span's operation (up to 128 bytes).
      -     * Stackdriver Trace displays the description in the
      -     * Google Cloud Platform Console.
      +     * Cloud Trace displays the description in the
      +     * Cloud console.
            * For example, the display name can be a qualified method name or a file name
            * and a line number where the operation is called. A best practice is to use
            * the same display name within an application and at the same call point.
      @@ -10891,8 +10914,8 @@ public Builder setDisplayName(
            *
            * 
            * Required. A description of the span's operation (up to 128 bytes).
      -     * Stackdriver Trace displays the description in the
      -     * Google Cloud Platform Console.
      +     * Cloud Trace displays the description in the
      +     * Cloud console.
            * For example, the display name can be a qualified method name or a file name
            * and a line number where the operation is called. A best practice is to use
            * the same display name within an application and at the same call point.
      @@ -10925,8 +10948,8 @@ public Builder mergeDisplayName(com.google.devtools.cloudtrace.v2.TruncatableStr
            *
            * 
            * Required. A description of the span's operation (up to 128 bytes).
      -     * Stackdriver Trace displays the description in the
      -     * Google Cloud Platform Console.
      +     * Cloud Trace displays the description in the
      +     * Cloud console.
            * For example, the display name can be a qualified method name or a file name
            * and a line number where the operation is called. A best practice is to use
            * the same display name within an application and at the same call point.
      @@ -10952,8 +10975,8 @@ public Builder clearDisplayName() {
            *
            * 
            * Required. A description of the span's operation (up to 128 bytes).
      -     * Stackdriver Trace displays the description in the
      -     * Google Cloud Platform Console.
      +     * Cloud Trace displays the description in the
      +     * Cloud console.
            * For example, the display name can be a qualified method name or a file name
            * and a line number where the operation is called. A best practice is to use
            * the same display name within an application and at the same call point.
      @@ -10974,8 +10997,8 @@ public com.google.devtools.cloudtrace.v2.TruncatableString.Builder getDisplayNam
            *
            * 
            * Required. A description of the span's operation (up to 128 bytes).
      -     * Stackdriver Trace displays the description in the
      -     * Google Cloud Platform Console.
      +     * Cloud Trace displays the description in the
      +     * Cloud console.
            * For example, the display name can be a qualified method name or a file name
            * and a line number where the operation is called. A best practice is to use
            * the same display name within an application and at the same call point.
      @@ -11000,8 +11023,8 @@ public com.google.devtools.cloudtrace.v2.TruncatableStringOrBuilder getDisplayNa
            *
            * 
            * Required. A description of the span's operation (up to 128 bytes).
      -     * Stackdriver Trace displays the description in the
      -     * Google Cloud Platform Console.
      +     * Cloud Trace displays the description in the
      +     * Cloud console.
            * For example, the display name can be a qualified method name or a file name
            * and a line number where the operation is called. A best practice is to use
            * the same display name within an application and at the same call point.
      @@ -11039,9 +11062,10 @@ public com.google.devtools.cloudtrace.v2.TruncatableStringOrBuilder getDisplayNa
            *
            *
            * 
      -     * Required. The start time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution starts. On the server side, this
      -     * is the time when the server's application handler starts running.
      +     * Required. The start time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution starts. On the server
      +     * side, this is the time when the server's application handler starts
      +     * running.
            * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -11056,9 +11080,10 @@ public boolean hasStartTime() { * * *
      -     * Required. The start time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution starts. On the server side, this
      -     * is the time when the server's application handler starts running.
      +     * Required. The start time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution starts. On the server
      +     * side, this is the time when the server's application handler starts
      +     * running.
            * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -11077,9 +11102,10 @@ public com.google.protobuf.Timestamp getStartTime() { * * *
      -     * Required. The start time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution starts. On the server side, this
      -     * is the time when the server's application handler starts running.
      +     * Required. The start time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution starts. On the server
      +     * side, this is the time when the server's application handler starts
      +     * running.
            * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -11102,9 +11128,10 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { * * *
      -     * Required. The start time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution starts. On the server side, this
      -     * is the time when the server's application handler starts running.
      +     * Required. The start time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution starts. On the server
      +     * side, this is the time when the server's application handler starts
      +     * running.
            * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -11124,9 +11151,10 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu * * *
      -     * Required. The start time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution starts. On the server side, this
      -     * is the time when the server's application handler starts running.
      +     * Required. The start time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution starts. On the server
      +     * side, this is the time when the server's application handler starts
      +     * running.
            * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -11152,9 +11180,10 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { * * *
      -     * Required. The start time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution starts. On the server side, this
      -     * is the time when the server's application handler starts running.
      +     * Required. The start time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution starts. On the server
      +     * side, this is the time when the server's application handler starts
      +     * running.
            * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -11174,9 +11203,10 @@ public Builder clearStartTime() { * * *
      -     * Required. The start time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution starts. On the server side, this
      -     * is the time when the server's application handler starts running.
      +     * Required. The start time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution starts. On the server
      +     * side, this is the time when the server's application handler starts
      +     * running.
            * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -11191,9 +11221,10 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { * * *
      -     * Required. The start time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution starts. On the server side, this
      -     * is the time when the server's application handler starts running.
      +     * Required. The start time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution starts. On the server
      +     * side, this is the time when the server's application handler starts
      +     * running.
            * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -11210,9 +11241,10 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
      -     * Required. The start time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution starts. On the server side, this
      -     * is the time when the server's application handler starts running.
      +     * Required. The start time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution starts. On the server
      +     * side, this is the time when the server's application handler starts
      +     * running.
            * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -11245,9 +11277,9 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * *
      -     * Required. The end time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution ends. On the server side, this
      -     * is the time when the server application handler stops running.
      +     * Required. The end time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution ends. On the server
      +     * side, this is the time when the server application handler stops running.
            * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -11262,9 +11294,9 @@ public boolean hasEndTime() { * * *
      -     * Required. The end time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution ends. On the server side, this
      -     * is the time when the server application handler stops running.
      +     * Required. The end time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution ends. On the server
      +     * side, this is the time when the server application handler stops running.
            * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -11283,9 +11315,9 @@ public com.google.protobuf.Timestamp getEndTime() { * * *
      -     * Required. The end time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution ends. On the server side, this
      -     * is the time when the server application handler stops running.
      +     * Required. The end time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution ends. On the server
      +     * side, this is the time when the server application handler stops running.
            * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -11308,9 +11340,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Required. The end time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution ends. On the server side, this
      -     * is the time when the server application handler stops running.
      +     * Required. The end time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution ends. On the server
      +     * side, this is the time when the server application handler stops running.
            * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -11330,9 +11362,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) * * *
      -     * Required. The end time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution ends. On the server side, this
      -     * is the time when the server application handler stops running.
      +     * Required. The end time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution ends. On the server
      +     * side, this is the time when the server application handler stops running.
            * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -11358,9 +11390,9 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { * * *
      -     * Required. The end time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution ends. On the server side, this
      -     * is the time when the server application handler stops running.
      +     * Required. The end time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution ends. On the server
      +     * side, this is the time when the server application handler stops running.
            * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -11380,9 +11412,9 @@ public Builder clearEndTime() { * * *
      -     * Required. The end time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution ends. On the server side, this
      -     * is the time when the server application handler stops running.
      +     * Required. The end time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution ends. On the server
      +     * side, this is the time when the server application handler stops running.
            * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -11397,9 +11429,9 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { * * *
      -     * Required. The end time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution ends. On the server side, this
      -     * is the time when the server application handler stops running.
      +     * Required. The end time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution ends. On the server
      +     * side, this is the time when the server application handler stops running.
            * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -11416,9 +11448,9 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * *
      -     * Required. The end time of the span. On the client side, this is the time kept by
      -     * the local machine where the span execution ends. On the server side, this
      -     * is the time when the server application handler stops running.
      +     * Required. The end time of the span. On the client side, this is the time
      +     * kept by the local machine where the span execution ends. On the server
      +     * side, this is the time when the server application handler stops running.
            * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -12382,8 +12414,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { *
            * Optional. Set this parameter to indicate whether this span is in
            * the same process as its parent. If you do not set this parameter,
      -     * Stackdriver Trace is unable to take advantage of this helpful
      -     * information.
      +     * Trace is unable to take advantage of this helpful information.
            * 
      * * @@ -12401,8 +12432,7 @@ public boolean hasSameProcessAsParentSpan() { *
            * Optional. Set this parameter to indicate whether this span is in
            * the same process as its parent. If you do not set this parameter,
      -     * Stackdriver Trace is unable to take advantage of this helpful
      -     * information.
      +     * Trace is unable to take advantage of this helpful information.
            * 
      * * @@ -12426,8 +12456,7 @@ public com.google.protobuf.BoolValue getSameProcessAsParentSpan() { *
            * Optional. Set this parameter to indicate whether this span is in
            * the same process as its parent. If you do not set this parameter,
      -     * Stackdriver Trace is unable to take advantage of this helpful
      -     * information.
      +     * Trace is unable to take advantage of this helpful information.
            * 
      * * @@ -12453,8 +12482,7 @@ public Builder setSameProcessAsParentSpan(com.google.protobuf.BoolValue value) { *
            * Optional. Set this parameter to indicate whether this span is in
            * the same process as its parent. If you do not set this parameter,
      -     * Stackdriver Trace is unable to take advantage of this helpful
      -     * information.
      +     * Trace is unable to take advantage of this helpful information.
            * 
      * * @@ -12478,8 +12506,7 @@ public Builder setSameProcessAsParentSpan( *
            * Optional. Set this parameter to indicate whether this span is in
            * the same process as its parent. If you do not set this parameter,
      -     * Stackdriver Trace is unable to take advantage of this helpful
      -     * information.
      +     * Trace is unable to take advantage of this helpful information.
            * 
      * * @@ -12508,8 +12535,7 @@ public Builder mergeSameProcessAsParentSpan(com.google.protobuf.BoolValue value) *
            * Optional. Set this parameter to indicate whether this span is in
            * the same process as its parent. If you do not set this parameter,
      -     * Stackdriver Trace is unable to take advantage of this helpful
      -     * information.
      +     * Trace is unable to take advantage of this helpful information.
            * 
      * * @@ -12532,8 +12558,7 @@ public Builder clearSameProcessAsParentSpan() { *
            * Optional. Set this parameter to indicate whether this span is in
            * the same process as its parent. If you do not set this parameter,
      -     * Stackdriver Trace is unable to take advantage of this helpful
      -     * information.
      +     * Trace is unable to take advantage of this helpful information.
            * 
      * * @@ -12551,8 +12576,7 @@ public com.google.protobuf.BoolValue.Builder getSameProcessAsParentSpanBuilder() *
            * Optional. Set this parameter to indicate whether this span is in
            * the same process as its parent. If you do not set this parameter,
      -     * Stackdriver Trace is unable to take advantage of this helpful
      -     * information.
      +     * Trace is unable to take advantage of this helpful information.
            * 
      * * @@ -12574,8 +12598,7 @@ public com.google.protobuf.BoolValueOrBuilder getSameProcessAsParentSpanOrBuilde *
            * Optional. Set this parameter to indicate whether this span is in
            * the same process as its parent. If you do not set this parameter,
      -     * Stackdriver Trace is unable to take advantage of this helpful
      -     * information.
      +     * Trace is unable to take advantage of this helpful information.
            * 
      * * @@ -12814,9 +12837,9 @@ public com.google.protobuf.Int32ValueOrBuilder getChildSpanCountOrBuilder() { * * *
      -     * Optional. Distinguishes between spans generated in a particular context. For example,
      -     * two spans with the same name may be distinguished using `CLIENT` (caller)
      -     * and `SERVER` (callee) to identify an RPC call.
      +     * Optional. Distinguishes between spans generated in a particular context.
      +     * For example, two spans with the same name may be distinguished using
      +     * `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.
            * 
      * * @@ -12833,9 +12856,9 @@ public int getSpanKindValue() { * * *
      -     * Optional. Distinguishes between spans generated in a particular context. For example,
      -     * two spans with the same name may be distinguished using `CLIENT` (caller)
      -     * and `SERVER` (callee) to identify an RPC call.
      +     * Optional. Distinguishes between spans generated in a particular context.
      +     * For example, two spans with the same name may be distinguished using
      +     * `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.
            * 
      * * @@ -12855,9 +12878,9 @@ public Builder setSpanKindValue(int value) { * * *
      -     * Optional. Distinguishes between spans generated in a particular context. For example,
      -     * two spans with the same name may be distinguished using `CLIENT` (caller)
      -     * and `SERVER` (callee) to identify an RPC call.
      +     * Optional. Distinguishes between spans generated in a particular context.
      +     * For example, two spans with the same name may be distinguished using
      +     * `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.
            * 
      * * @@ -12876,9 +12899,9 @@ public com.google.devtools.cloudtrace.v2.Span.SpanKind getSpanKind() { * * *
      -     * Optional. Distinguishes between spans generated in a particular context. For example,
      -     * two spans with the same name may be distinguished using `CLIENT` (caller)
      -     * and `SERVER` (callee) to identify an RPC call.
      +     * Optional. Distinguishes between spans generated in a particular context.
      +     * For example, two spans with the same name may be distinguished using
      +     * `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.
            * 
      * * @@ -12901,9 +12924,9 @@ public Builder setSpanKind(com.google.devtools.cloudtrace.v2.Span.SpanKind value * * *
      -     * Optional. Distinguishes between spans generated in a particular context. For example,
      -     * two spans with the same name may be distinguished using `CLIENT` (caller)
      -     * and `SERVER` (callee) to identify an RPC call.
      +     * Optional. Distinguishes between spans generated in a particular context.
      +     * For example, two spans with the same name may be distinguished using
      +     * `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.
            * 
      * * diff --git a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/SpanOrBuilder.java b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/SpanOrBuilder.java index 1c5f1f8aac07..aeedba58a286 100644 --- a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/SpanOrBuilder.java +++ b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/SpanOrBuilder.java @@ -28,11 +28,14 @@ public interface SpanOrBuilder * *
          * Required. The resource name of the span in the following format:
      -   *     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
      -   * [TRACE_ID] is a unique identifier for a trace within a project;
      -   * it is a 32-character hexadecimal encoding of a 16-byte array.
      -   * [SPAN_ID] is a unique identifier for a span within a trace; it
      -   * is a 16-character hexadecimal encoding of an 8-byte array.
      +   *  * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
      +   * `[TRACE_ID]` is a unique identifier for a trace within a project;
      +   * it is a 32-character hexadecimal encoding of a 16-byte array. It should
      +   * not be zero.
      +   * `[SPAN_ID]` is a unique identifier for a span within a trace; it
      +   * is a 16-character hexadecimal encoding of an 8-byte array. It should not
      +   * be zero.
      +   * .
          * 
      * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -45,11 +48,14 @@ public interface SpanOrBuilder * *
          * Required. The resource name of the span in the following format:
      -   *     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
      -   * [TRACE_ID] is a unique identifier for a trace within a project;
      -   * it is a 32-character hexadecimal encoding of a 16-byte array.
      -   * [SPAN_ID] is a unique identifier for a span within a trace; it
      -   * is a 16-character hexadecimal encoding of an 8-byte array.
      +   *  * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]`
      +   * `[TRACE_ID]` is a unique identifier for a trace within a project;
      +   * it is a 32-character hexadecimal encoding of a 16-byte array. It should
      +   * not be zero.
      +   * `[SPAN_ID]` is a unique identifier for a span within a trace; it
      +   * is a 16-character hexadecimal encoding of an 8-byte array. It should not
      +   * be zero.
      +   * .
          * 
      * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -62,7 +68,7 @@ public interface SpanOrBuilder * * *
      -   * Required. The [SPAN_ID] portion of the span's resource name.
      +   * Required. The `[SPAN_ID]` portion of the span's resource name.
          * 
      * * string span_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -74,7 +80,7 @@ public interface SpanOrBuilder * * *
      -   * Required. The [SPAN_ID] portion of the span's resource name.
      +   * Required. The `[SPAN_ID]` portion of the span's resource name.
          * 
      * * string span_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -87,7 +93,7 @@ public interface SpanOrBuilder * * *
      -   * The [SPAN_ID] of this span's parent span. If this is a root span,
      +   * The `[SPAN_ID]` of this span's parent span. If this is a root span,
          * then this field must be empty.
          * 
      * @@ -100,7 +106,7 @@ public interface SpanOrBuilder * * *
      -   * The [SPAN_ID] of this span's parent span. If this is a root span,
      +   * The `[SPAN_ID]` of this span's parent span. If this is a root span,
          * then this field must be empty.
          * 
      * @@ -115,8 +121,8 @@ public interface SpanOrBuilder * *
          * Required. A description of the span's operation (up to 128 bytes).
      -   * Stackdriver Trace displays the description in the
      -   * Google Cloud Platform Console.
      +   * Cloud Trace displays the description in the
      +   * Cloud console.
          * For example, the display name can be a qualified method name or a file name
          * and a line number where the operation is called. A best practice is to use
          * the same display name within an application and at the same call point.
      @@ -135,8 +141,8 @@ public interface SpanOrBuilder
          *
          * 
          * Required. A description of the span's operation (up to 128 bytes).
      -   * Stackdriver Trace displays the description in the
      -   * Google Cloud Platform Console.
      +   * Cloud Trace displays the description in the
      +   * Cloud console.
          * For example, the display name can be a qualified method name or a file name
          * and a line number where the operation is called. A best practice is to use
          * the same display name within an application and at the same call point.
      @@ -155,8 +161,8 @@ public interface SpanOrBuilder
          *
          * 
          * Required. A description of the span's operation (up to 128 bytes).
      -   * Stackdriver Trace displays the description in the
      -   * Google Cloud Platform Console.
      +   * Cloud Trace displays the description in the
      +   * Cloud console.
          * For example, the display name can be a qualified method name or a file name
          * and a line number where the operation is called. A best practice is to use
          * the same display name within an application and at the same call point.
      @@ -173,9 +179,10 @@ public interface SpanOrBuilder
          *
          *
          * 
      -   * Required. The start time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution starts. On the server side, this
      -   * is the time when the server's application handler starts running.
      +   * Required. The start time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution starts. On the server
      +   * side, this is the time when the server's application handler starts
      +   * running.
          * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -188,9 +195,10 @@ public interface SpanOrBuilder * * *
      -   * Required. The start time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution starts. On the server side, this
      -   * is the time when the server's application handler starts running.
      +   * Required. The start time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution starts. On the server
      +   * side, this is the time when the server's application handler starts
      +   * running.
          * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -203,9 +211,10 @@ public interface SpanOrBuilder * * *
      -   * Required. The start time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution starts. On the server side, this
      -   * is the time when the server's application handler starts running.
      +   * Required. The start time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution starts. On the server
      +   * side, this is the time when the server's application handler starts
      +   * running.
          * 
      * * .google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = REQUIRED]; @@ -217,9 +226,9 @@ public interface SpanOrBuilder * * *
      -   * Required. The end time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution ends. On the server side, this
      -   * is the time when the server application handler stops running.
      +   * Required. The end time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution ends. On the server
      +   * side, this is the time when the server application handler stops running.
          * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -231,9 +240,9 @@ public interface SpanOrBuilder * * *
      -   * Required. The end time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution ends. On the server side, this
      -   * is the time when the server application handler stops running.
      +   * Required. The end time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution ends. On the server
      +   * side, this is the time when the server application handler stops running.
          * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -245,9 +254,9 @@ public interface SpanOrBuilder * * *
      -   * Required. The end time of the span. On the client side, this is the time kept by
      -   * the local machine where the span execution ends. On the server side, this
      -   * is the time when the server application handler stops running.
      +   * Required. The end time of the span. On the client side, this is the time
      +   * kept by the local machine where the span execution ends. On the server
      +   * side, this is the time when the server application handler stops running.
          * 
      * * .google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = REQUIRED]; @@ -441,8 +450,7 @@ public interface SpanOrBuilder *
          * Optional. Set this parameter to indicate whether this span is in
          * the same process as its parent. If you do not set this parameter,
      -   * Stackdriver Trace is unable to take advantage of this helpful
      -   * information.
      +   * Trace is unable to take advantage of this helpful information.
          * 
      * * @@ -458,8 +466,7 @@ public interface SpanOrBuilder *
          * Optional. Set this parameter to indicate whether this span is in
          * the same process as its parent. If you do not set this parameter,
      -   * Stackdriver Trace is unable to take advantage of this helpful
      -   * information.
      +   * Trace is unable to take advantage of this helpful information.
          * 
      * * @@ -475,8 +482,7 @@ public interface SpanOrBuilder *
          * Optional. Set this parameter to indicate whether this span is in
          * the same process as its parent. If you do not set this parameter,
      -   * Stackdriver Trace is unable to take advantage of this helpful
      -   * information.
      +   * Trace is unable to take advantage of this helpful information.
          * 
      * * @@ -533,9 +539,9 @@ public interface SpanOrBuilder * * *
      -   * Optional. Distinguishes between spans generated in a particular context. For example,
      -   * two spans with the same name may be distinguished using `CLIENT` (caller)
      -   * and `SERVER` (callee) to identify an RPC call.
      +   * Optional. Distinguishes between spans generated in a particular context.
      +   * For example, two spans with the same name may be distinguished using
      +   * `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.
          * 
      * * @@ -549,9 +555,9 @@ public interface SpanOrBuilder * * *
      -   * Optional. Distinguishes between spans generated in a particular context. For example,
      -   * two spans with the same name may be distinguished using `CLIENT` (caller)
      -   * and `SERVER` (callee) to identify an RPC call.
      +   * Optional. Distinguishes between spans generated in a particular context.
      +   * For example, two spans with the same name may be distinguished using
      +   * `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call.
          * 
      * * diff --git a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/StackTrace.java b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/StackTrace.java index 4b35fa3e577d..86d7bd23fde0 100644 --- a/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/StackTrace.java +++ b/java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/StackTrace.java @@ -112,9 +112,10 @@ public interface StackFrameOrBuilder * * *
      -     * An un-mangled function name, if `function_name` is
      -     * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -     * be fully-qualified (up to 1024 bytes).
      +     * An un-mangled function name, if `function_name` is mangled.
      +     * To get information about name mangling, run
      +     * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +     * The name can be fully-qualified (up to 1024 bytes).
            * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -126,9 +127,10 @@ public interface StackFrameOrBuilder * * *
      -     * An un-mangled function name, if `function_name` is
      -     * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -     * be fully-qualified (up to 1024 bytes).
      +     * An un-mangled function name, if `function_name` is mangled.
      +     * To get information about name mangling, run
      +     * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +     * The name can be fully-qualified (up to 1024 bytes).
            * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -140,9 +142,10 @@ public interface StackFrameOrBuilder * * *
      -     * An un-mangled function name, if `function_name` is
      -     * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -     * be fully-qualified (up to 1024 bytes).
      +     * An un-mangled function name, if `function_name` is mangled.
      +     * To get information about name mangling, run
      +     * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +     * The name can be fully-qualified (up to 1024 bytes).
            * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -390,9 +393,10 @@ public com.google.devtools.cloudtrace.v2.TruncatableStringOrBuilder getFunctionN * * *
      -     * An un-mangled function name, if `function_name` is
      -     * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -     * be fully-qualified (up to 1024 bytes).
      +     * An un-mangled function name, if `function_name` is mangled.
      +     * To get information about name mangling, run
      +     * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +     * The name can be fully-qualified (up to 1024 bytes).
            * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -407,9 +411,10 @@ public boolean hasOriginalFunctionName() { * * *
      -     * An un-mangled function name, if `function_name` is
      -     * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -     * be fully-qualified (up to 1024 bytes).
      +     * An un-mangled function name, if `function_name` is mangled.
      +     * To get information about name mangling, run
      +     * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +     * The name can be fully-qualified (up to 1024 bytes).
            * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -426,9 +431,10 @@ public com.google.devtools.cloudtrace.v2.TruncatableString getOriginalFunctionNa * * *
      -     * An un-mangled function name, if `function_name` is
      -     * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -     * be fully-qualified (up to 1024 bytes).
      +     * An un-mangled function name, if `function_name` is mangled.
      +     * To get information about name mangling, run
      +     * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +     * The name can be fully-qualified (up to 1024 bytes).
            * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -1367,9 +1373,10 @@ public com.google.devtools.cloudtrace.v2.TruncatableString.Builder getFunctionNa * * *
      -       * An un-mangled function name, if `function_name` is
      -       * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -       * be fully-qualified (up to 1024 bytes).
      +       * An un-mangled function name, if `function_name` is mangled.
      +       * To get information about name mangling, run
      +       * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +       * The name can be fully-qualified (up to 1024 bytes).
              * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -1383,9 +1390,10 @@ public boolean hasOriginalFunctionName() { * * *
      -       * An un-mangled function name, if `function_name` is
      -       * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -       * be fully-qualified (up to 1024 bytes).
      +       * An un-mangled function name, if `function_name` is mangled.
      +       * To get information about name mangling, run
      +       * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +       * The name can be fully-qualified (up to 1024 bytes).
              * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -1405,9 +1413,10 @@ public com.google.devtools.cloudtrace.v2.TruncatableString getOriginalFunctionNa * * *
      -       * An un-mangled function name, if `function_name` is
      -       * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -       * be fully-qualified (up to 1024 bytes).
      +       * An un-mangled function name, if `function_name` is mangled.
      +       * To get information about name mangling, run
      +       * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +       * The name can be fully-qualified (up to 1024 bytes).
              * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -1430,9 +1439,10 @@ public Builder setOriginalFunctionName( * * *
      -       * An un-mangled function name, if `function_name` is
      -       * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -       * be fully-qualified (up to 1024 bytes).
      +       * An un-mangled function name, if `function_name` is mangled.
      +       * To get information about name mangling, run
      +       * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +       * The name can be fully-qualified (up to 1024 bytes).
              * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -1452,9 +1462,10 @@ public Builder setOriginalFunctionName( * * *
      -       * An un-mangled function name, if `function_name` is
      -       * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -       * be fully-qualified (up to 1024 bytes).
      +       * An un-mangled function name, if `function_name` is mangled.
      +       * To get information about name mangling, run
      +       * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +       * The name can be fully-qualified (up to 1024 bytes).
              * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -1481,9 +1492,10 @@ public Builder mergeOriginalFunctionName( * * *
      -       * An un-mangled function name, if `function_name` is
      -       * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -       * be fully-qualified (up to 1024 bytes).
      +       * An un-mangled function name, if `function_name` is mangled.
      +       * To get information about name mangling, run
      +       * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +       * The name can be fully-qualified (up to 1024 bytes).
              * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -1502,9 +1514,10 @@ public Builder clearOriginalFunctionName() { * * *
      -       * An un-mangled function name, if `function_name` is
      -       * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -       * be fully-qualified (up to 1024 bytes).
      +       * An un-mangled function name, if `function_name` is mangled.
      +       * To get information about name mangling, run
      +       * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +       * The name can be fully-qualified (up to 1024 bytes).
              * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -1519,9 +1532,10 @@ public Builder clearOriginalFunctionName() { * * *
      -       * An un-mangled function name, if `function_name` is
      -       * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -       * be fully-qualified (up to 1024 bytes).
      +       * An un-mangled function name, if `function_name` is mangled.
      +       * To get information about name mangling, run
      +       * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +       * The name can be fully-qualified (up to 1024 bytes).
              * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; @@ -1540,9 +1554,10 @@ public Builder clearOriginalFunctionName() { * * *
      -       * An un-mangled function name, if `function_name` is
      -       * [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can
      -       * be fully-qualified (up to 1024 bytes).
      +       * An un-mangled function name, if `function_name` is mangled.
      +       * To get information about name mangling, run
      +       * [this search](https://www.google.com/search?q=cxx+name+mangling).
      +       * The name can be fully-qualified (up to 1024 bytes).
              * 
      * * .google.devtools.cloudtrace.v2.TruncatableString original_function_name = 2; diff --git a/java-trace/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/trace.proto b/java-trace/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/trace.proto index 2a3f1e31df67..f2b4b481c66a 100644 --- a/java-trace/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/trace.proto +++ b/java-trace/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/trace.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -33,8 +33,10 @@ option ruby_package = "Google::Cloud::Trace::V2"; // A span represents a single operation within a trace. Spans can be // nested to form a trace tree. Often, a trace contains a root span // that describes the end-to-end latency, and one or more subspans for -// its sub-operations. A trace can also contain multiple root spans, -// or none at all. Spans do not need to be contiguous—there may be +// its sub-operations. +// +// A trace can also contain multiple root spans, or none at all. +// Spans do not need to be contiguous. There might be // gaps or overlaps between spans in a trace. message Span { option (google.api.resource) = { @@ -42,11 +44,11 @@ message Span { pattern: "projects/{project}/traces/{trace}/spans/{span}" }; - // A set of attributes, each in the format `[KEY]:[VALUE]`. + // A set of attributes as key-value pairs. message Attributes { - // The set of attributes. Each attribute's key can be up to 128 bytes + // A set of attributes. Each attribute's key can be up to 128 bytes // long. The value can be a string up to 256 bytes, a signed 64-bit integer, - // or the Boolean values `true` and `false`. For example: + // or the boolean values `true` or `false`. For example: // // "/instance_id": { "string_value": { "value": "my-instance" } } // "/http/request_bytes": { "int_value": 300 } @@ -91,15 +93,15 @@ message Span { Type type = 1; // An identifier for the MessageEvent's message that can be used to match - // SENT and RECEIVED MessageEvents. It is recommended to be unique within - // a Span. + // `SENT` and `RECEIVED` MessageEvents. int64 id = 2; // The number of uncompressed bytes sent or received. int64 uncompressed_size_bytes = 3; - // The number of compressed bytes sent or received. If missing assumed to - // be the same size as uncompressed. + // The number of compressed bytes sent or received. If missing, the + // compressed size is assumed to be the same size as the uncompressed + // size. int64 compressed_size_bytes = 4; } @@ -151,17 +153,17 @@ message Span { PARENT_LINKED_SPAN = 2; } - // The [TRACE_ID] for a trace within a project. + // The `[TRACE_ID]` for a trace within a project. string trace_id = 1; - // The [SPAN_ID] for a span within a trace. + // The `[SPAN_ID]` for a span within a trace. string span_id = 2; // The relationship of the current span relative to the linked span. Type type = 3; - // A set of attributes on the link. You have have up to 32 attributes per - // link. + // A set of attributes on the link. Up to 32 attributes can be + // specified per link. Attributes attributes = 4; } @@ -209,40 +211,46 @@ message Span { // Required. The resource name of the span in the following format: // - // projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID] + // * `projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]` // - // [TRACE_ID] is a unique identifier for a trace within a project; - // it is a 32-character hexadecimal encoding of a 16-byte array. + // `[TRACE_ID]` is a unique identifier for a trace within a project; + // it is a 32-character hexadecimal encoding of a 16-byte array. It should + // not be zero. // - // [SPAN_ID] is a unique identifier for a span within a trace; it - // is a 16-character hexadecimal encoding of an 8-byte array. + // `[SPAN_ID]` is a unique identifier for a span within a trace; it + // is a 16-character hexadecimal encoding of an 8-byte array. It should not + // be zero. + // . string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The [SPAN_ID] portion of the span's resource name. + // Required. The `[SPAN_ID]` portion of the span's resource name. string span_id = 2 [(google.api.field_behavior) = REQUIRED]; - // The [SPAN_ID] of this span's parent span. If this is a root span, + // The `[SPAN_ID]` of this span's parent span. If this is a root span, // then this field must be empty. string parent_span_id = 3; // Required. A description of the span's operation (up to 128 bytes). - // Stackdriver Trace displays the description in the - // Google Cloud Platform Console. + // Cloud Trace displays the description in the + // Cloud console. // For example, the display name can be a qualified method name or a file name // and a line number where the operation is called. A best practice is to use // the same display name within an application and at the same call point. // This makes it easier to correlate spans in different traces. TruncatableString display_name = 4 [(google.api.field_behavior) = REQUIRED]; - // Required. The start time of the span. On the client side, this is the time kept by - // the local machine where the span execution starts. On the server side, this - // is the time when the server's application handler starts running. - google.protobuf.Timestamp start_time = 5 [(google.api.field_behavior) = REQUIRED]; + // Required. The start time of the span. On the client side, this is the time + // kept by the local machine where the span execution starts. On the server + // side, this is the time when the server's application handler starts + // running. + google.protobuf.Timestamp start_time = 5 + [(google.api.field_behavior) = REQUIRED]; - // Required. The end time of the span. On the client side, this is the time kept by - // the local machine where the span execution ends. On the server side, this - // is the time when the server application handler stops running. - google.protobuf.Timestamp end_time = 6 [(google.api.field_behavior) = REQUIRED]; + // Required. The end time of the span. On the client side, this is the time + // kept by the local machine where the span execution ends. On the server + // side, this is the time when the server application handler stops running. + google.protobuf.Timestamp end_time = 6 + [(google.api.field_behavior) = REQUIRED]; // A set of attributes on the span. You can have up to 32 attributes per // span. @@ -263,21 +271,22 @@ message Span { // Optional. Set this parameter to indicate whether this span is in // the same process as its parent. If you do not set this parameter, - // Stackdriver Trace is unable to take advantage of this helpful - // information. - google.protobuf.BoolValue same_process_as_parent_span = 12 [(google.api.field_behavior) = OPTIONAL]; + // Trace is unable to take advantage of this helpful information. + google.protobuf.BoolValue same_process_as_parent_span = 12 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The number of child spans that were generated while this span // was active. If set, allows implementation to detect missing child spans. - google.protobuf.Int32Value child_span_count = 13 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Int32Value child_span_count = 13 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Distinguishes between spans generated in a particular context. For example, - // two spans with the same name may be distinguished using `CLIENT` (caller) - // and `SERVER` (callee) to identify an RPC call. + // Optional. Distinguishes between spans generated in a particular context. + // For example, two spans with the same name may be distinguished using + // `CLIENT` (caller) and `SERVER` (callee) to identify an RPC call. SpanKind span_kind = 14 [(google.api.field_behavior) = OPTIONAL]; } -// The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute. +// The allowed types for `[VALUE]` in a `[KEY]:[VALUE]` attribute. message AttributeValue { // The type of the value. oneof value { @@ -300,9 +309,10 @@ message StackTrace { // method that is active in this frame (up to 1024 bytes). TruncatableString function_name = 1; - // An un-mangled function name, if `function_name` is - // [mangled](http://www.avabodh.com/cxxin/namemangling.html). The name can - // be fully-qualified (up to 1024 bytes). + // An un-mangled function name, if `function_name` is mangled. + // To get information about name mangling, run + // [this search](https://www.google.com/search?q=cxx+name+mangling). + // The name can be fully-qualified (up to 1024 bytes). TruncatableString original_function_name = 2; // The name of the source file where the function call appears (up to 256 diff --git a/java-trace/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/tracing.proto b/java-trace/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/tracing.proto index 7e91d92d15f7..0aac221df21f 100644 --- a/java-trace/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/tracing.proto +++ b/java-trace/proto-google-cloud-trace-v2/src/main/proto/google/devtools/cloudtrace/v2/tracing.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,18 +31,20 @@ option java_package = "com.google.devtools.cloudtrace.v2"; option php_namespace = "Google\\Cloud\\Trace\\V2"; option ruby_package = "Google::Cloud::Trace::V2"; -// This file describes an API for collecting and viewing traces and spans -// within a trace. A Trace is a collection of spans corresponding to a single -// operation or set of operations for an application. A span is an individual -// timed event which forms a node of the trace tree. A single trace may -// contain span(s) from multiple services. +// Service for collecting and viewing traces and spans within a trace. +// +// A trace is a collection of spans corresponding to a single +// operation or a set of operations in an application. +// +// A span is an individual timed event which forms a node of the trace tree. +// A single trace can contain spans from multiple services. service TraceService { option (google.api.default_host) = "cloudtrace.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform," "https://www.googleapis.com/auth/trace.append"; - // Sends new spans to new or existing traces. You cannot update + // Batch writes new spans to new or existing traces. You cannot update // existing spans. rpc BatchWriteSpans(BatchWriteSpansRequest) returns (google.protobuf.Empty) { option (google.api.http) = { @@ -73,6 +75,6 @@ message BatchWriteSpansRequest { ]; // Required. A list of new spans. The span names must not match existing - // spans, or the results are undefined. + // spans, otherwise the results are undefined. repeated Span spans = 2 [(google.api.field_behavior) = REQUIRED]; } diff --git a/java-translate/README.md b/java-translate/README.md index db5c1453d3fc..6ff33ce4228c 100644 --- a/java-translate/README.md +++ b/java-translate/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-translate - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-translate:2.8.0' +implementation 'com.google.cloud:google-cloud-translate:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.9.0" ``` ## Authentication diff --git a/java-translate/google-cloud-translate-bom/pom.xml b/java-translate/google-cloud-translate-bom/pom.xml index 77b6b9fc55cf..d6236784ad22 100644 --- a/java-translate/google-cloud-translate-bom/pom.xml +++ b/java-translate/google-cloud-translate-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-translate-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-translate - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-translate-v3beta1 - 0.91.0 + 0.92.0 com.google.api.grpc grpc-google-cloud-translate-v3 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-translate-v3beta1 - 0.91.0 + 0.92.0 com.google.api.grpc proto-google-cloud-translate-v3 - 2.9.0 + 2.10.0 diff --git a/java-translate/google-cloud-translate/pom.xml b/java-translate/google-cloud-translate/pom.xml index 73dda43d9838..6930031f3476 100644 --- a/java-translate/google-cloud-translate/pom.xml +++ b/java-translate/google-cloud-translate/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-translate - 2.9.0 + 2.10.0 jar Google Cloud Translate Java idiomatic client for Google Cloud Translate com.google.cloud google-cloud-translate-parent - 2.9.0 + 2.10.0 google-cloud-translate diff --git a/java-translate/grpc-google-cloud-translate-v3/pom.xml b/java-translate/grpc-google-cloud-translate-v3/pom.xml index 2495f7d3476b..ae5f3912f04e 100644 --- a/java-translate/grpc-google-cloud-translate-v3/pom.xml +++ b/java-translate/grpc-google-cloud-translate-v3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-translate-v3 - 2.9.0 + 2.10.0 grpc-google-cloud-translate-v3 GRPC library for grpc-google-cloud-translate-v3 com.google.cloud google-cloud-translate-parent - 2.9.0 + 2.10.0 diff --git a/java-translate/grpc-google-cloud-translate-v3beta1/pom.xml b/java-translate/grpc-google-cloud-translate-v3beta1/pom.xml index 7718f3736d22..ab5bb8472875 100644 --- a/java-translate/grpc-google-cloud-translate-v3beta1/pom.xml +++ b/java-translate/grpc-google-cloud-translate-v3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-translate-v3beta1 - 0.91.0 + 0.92.0 grpc-google-cloud-translate-v3beta1 GRPC library for grpc-google-cloud-translate-v3beta1 com.google.cloud google-cloud-translate-parent - 2.9.0 + 2.10.0 diff --git a/java-translate/pom.xml b/java-translate/pom.xml index af465955d79f..8c11461bfa5a 100644 --- a/java-translate/pom.xml +++ b/java-translate/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-translate-parent pom - 2.9.0 + 2.10.0 Google Cloud Translate Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-translate-v3beta1 - 0.91.0 + 0.92.0 com.google.api.grpc proto-google-cloud-translate-v3 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-translate-v3beta1 - 0.91.0 + 0.92.0 com.google.api.grpc grpc-google-cloud-translate-v3 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-translate - 2.9.0 + 2.10.0 diff --git a/java-translate/proto-google-cloud-translate-v3/pom.xml b/java-translate/proto-google-cloud-translate-v3/pom.xml index cac0547526d1..408177b624f6 100644 --- a/java-translate/proto-google-cloud-translate-v3/pom.xml +++ b/java-translate/proto-google-cloud-translate-v3/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-translate-v3 - 2.9.0 + 2.10.0 proto-google-cloud-translate-v3 PROTO library for proto-google-cloud-translate-v3 com.google.cloud google-cloud-translate-parent - 2.9.0 + 2.10.0 diff --git a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/TranslationServiceProto.java b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/TranslationServiceProto.java index da98187a15e4..0abb34cfbc7b 100644 --- a/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/TranslationServiceProto.java +++ b/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/TranslationServiceProto.java @@ -509,12 +509,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "slate.googleapis.com\322A`https://www.googl" + "eapis.com/auth/cloud-platform,https://ww" + "w.googleapis.com/auth/cloud-translationB" - + "\330\001\n\035com.google.cloud.translate.v3B\027Trans" - + "lationServiceProtoP\001ZBgoogle.golang.org/" - + "genproto/googleapis/cloud/translate/v3;t" - + "ranslate\370\001\001\252\002\031Google.Cloud.Translate.V3\312" - + "\002\031Google\\Cloud\\Translate\\V3\352\002\034Google::Cl" - + "oud::Translate::V3b\006proto3" + + "\327\001\n\035com.google.cloud.translate.v3B\027Trans" + + "lationServiceProtoP\001ZAcloud.google.com/g" + + "o/translation/apiv3/translationpb;transl" + + "ationpb\370\001\001\252\002\031Google.Cloud.Translate.V3\312\002" + + "\031Google\\Cloud\\Translate\\V3\352\002\034Google::Clo" + + "ud::Translate::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-translate/proto-google-cloud-translate-v3/src/main/proto/google/cloud/translate/v3/translation_service.proto b/java-translate/proto-google-cloud-translate-v3/src/main/proto/google/cloud/translate/v3/translation_service.proto index c0203c93f578..b63b233c0282 100644 --- a/java-translate/proto-google-cloud-translate-v3/src/main/proto/google/cloud/translate/v3/translation_service.proto +++ b/java-translate/proto-google-cloud-translate-v3/src/main/proto/google/cloud/translate/v3/translation_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Translate.V3"; -option go_package = "google.golang.org/genproto/googleapis/cloud/translate/v3;translate"; +option go_package = "cloud.google.com/go/translation/apiv3/translationpb;translationpb"; option java_multiple_files = true; option java_outer_classname = "TranslationServiceProto"; option java_package = "com.google.cloud.translate.v3"; diff --git a/java-translate/proto-google-cloud-translate-v3beta1/pom.xml b/java-translate/proto-google-cloud-translate-v3beta1/pom.xml index 67c617553300..d2d62da7914f 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/pom.xml +++ b/java-translate/proto-google-cloud-translate-v3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-translate-v3beta1 - 0.91.0 + 0.92.0 proto-google-cloud-translate-v3beta1 PROTO library for proto-google-cloud-translate-v3beta1 com.google.cloud google-cloud-translate-parent - 2.9.0 + 2.10.0 diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceProto.java b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceProto.java index d984714609ee..16da3dec2638 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceProto.java +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceProto.java @@ -515,13 +515,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "data\032~\312A\030translate.googleapis.com\322A`http" + "s://www.googleapis.com/auth/cloud-platfo" + "rm,https://www.googleapis.com/auth/cloud" - + "-translationB\361\001\n\"com.google.cloud.transl" - + "ate.v3beta1B\027TranslationServiceProtoP\001ZG" - + "google.golang.org/genproto/googleapis/cl" - + "oud/translate/v3beta1;translate\370\001\001\252\002\036Goo" - + "gle.Cloud.Translate.V3Beta1\312\002\036Google\\Clo" - + "ud\\Translate\\V3beta1\352\002!Google::Cloud::Tr" - + "anslate::V3beta1b\006proto3" + + "-translationB\360\001\n\"com.google.cloud.transl" + + "ate.v3beta1B\027TranslationServiceProtoP\001ZF" + + "cloud.google.com/go/translation/apiv3bet" + + "a1/translationpb;translationpb\370\001\001\252\002\036Goog" + + "le.Cloud.Translate.V3Beta1\312\002\036Google\\Clou" + + "d\\Translate\\V3beta1\352\002!Google::Cloud::Tra" + + "nslate::V3beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-translate/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto b/java-translate/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto index 07626145212d..e8835700c23b 100644 --- a/java-translate/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto +++ b/java-translate/proto-google-cloud-translate-v3beta1/src/main/proto/google/cloud/translate/v3beta1/translation_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Translate.V3Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/translate/v3beta1;translate"; +option go_package = "cloud.google.com/go/translation/apiv3beta1/translationpb;translationpb"; option java_multiple_files = true; option java_outer_classname = "TranslationServiceProto"; option java_package = "com.google.cloud.translate.v3beta1"; diff --git a/java-video-intelligence/README.md b/java-video-intelligence/README.md index b2713df7f636..168c2bee3502 100644 --- a/java-video-intelligence/README.md +++ b/java-video-intelligence/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-video-intelligence - 2.7.0 + 2.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-intelligence:2.7.0' +implementation 'com.google.cloud:google-cloud-video-intelligence:2.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.8.0" ``` ## Authentication diff --git a/java-video-intelligence/google-cloud-video-intelligence-bom/pom.xml b/java-video-intelligence/google-cloud-video-intelligence-bom/pom.xml index 929e96816c7c..672e65cdf2ce 100644 --- a/java-video-intelligence/google-cloud-video-intelligence-bom/pom.xml +++ b/java-video-intelligence/google-cloud-video-intelligence-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-video-intelligence-bom - 2.8.0 + 2.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,57 +23,57 @@ com.google.cloud google-cloud-video-intelligence - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.98.0 + 0.99.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.98.0 + 0.99.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.98.0 + 0.99.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p3beta1 - 0.98.0 + 0.99.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p3beta1 - 0.98.0 + 0.99.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.98.0 + 0.99.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.98.0 + 0.99.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 2.8.0 + 2.9.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.98.0 + 0.99.0 diff --git a/java-video-intelligence/google-cloud-video-intelligence/pom.xml b/java-video-intelligence/google-cloud-video-intelligence/pom.xml index e6d7632841e7..e8398c8e9860 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/pom.xml +++ b/java-video-intelligence/google-cloud-video-intelligence/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-video-intelligence - 2.8.0 + 2.9.0 jar Google Cloud Video Intelligence Java idiomatic client for Google Cloud Video Intelligence com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 google-cloud-video-intelligence diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java index 737c61c3ab5c..4bab403e04cd 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java +++ b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClient.java @@ -107,21 +107,6 @@ * StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings); * }
      * - *

      To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over - * the wire: - * - *

      {@code
      - * // This snippet has been automatically generated and should be regarded as a code template only.
      - * // It will require modifications to work:
      - * // - It may require correct/in-range values for request initialization.
      - * // - It may require specifying regional endpoints when creating the service client as shown in
      - * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
      - * StreamingVideoIntelligenceServiceSettings streamingVideoIntelligenceServiceSettings =
      - *     StreamingVideoIntelligenceServiceSettings.newHttpJsonBuilder().build();
      - * StreamingVideoIntelligenceServiceClient streamingVideoIntelligenceServiceClient =
      - *     StreamingVideoIntelligenceServiceClient.create(streamingVideoIntelligenceServiceSettings);
      - * }
      - * *

      Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java index 7f5dccd48a8a..8f6db0421c3f 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java +++ b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceSettings.java @@ -21,7 +21,6 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; @@ -115,13 +114,6 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi return StreamingVideoIntelligenceServiceStubSettings.defaultGrpcTransportProviderBuilder(); } - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return StreamingVideoIntelligenceServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); - } - public static TransportChannelProvider defaultTransportChannelProvider() { return StreamingVideoIntelligenceServiceStubSettings.defaultTransportChannelProvider(); } @@ -136,12 +128,6 @@ public static Builder newBuilder() { return Builder.createDefault(); } - /** Returns a new REST builder for this class. */ - @BetaApi - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -180,11 +166,6 @@ private static Builder createDefault() { return new Builder(StreamingVideoIntelligenceServiceStubSettings.newBuilder()); } - @BetaApi - private static Builder createHttpJsonDefault() { - return new Builder(StreamingVideoIntelligenceServiceStubSettings.newHttpJsonBuilder()); - } - public StreamingVideoIntelligenceServiceStubSettings.Builder getStubSettingsBuilder() { return ((StreamingVideoIntelligenceServiceStubSettings.Builder) getStubSettings()); } diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java deleted file mode 100644 index 86bfd13fb6fe..000000000000 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/HttpJsonStreamingVideoIntelligenceServiceStub.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2022 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.videointelligence.v1p3beta1.stub; - -import com.google.api.core.BetaApi; -import com.google.api.core.InternalApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.httpjson.ApiMethodDescriptor; -import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; -import com.google.api.gax.rpc.BidiStreamingCallable; -import com.google.api.gax.rpc.ClientContext; -import com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest; -import com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse; -import com.google.protobuf.TypeRegistry; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * REST stub implementation for the StreamingVideoIntelligenceService service API. - * - *

      This class is for advanced usage and reflects the underlying API directly. - */ -@BetaApi -@Generated("by gapic-generator-java") -public class HttpJsonStreamingVideoIntelligenceServiceStub - extends StreamingVideoIntelligenceServiceStub { - private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); - - private final BackgroundResource backgroundResources; - private final HttpJsonStubCallableFactory callableFactory; - - public static final HttpJsonStreamingVideoIntelligenceServiceStub create( - StreamingVideoIntelligenceServiceStubSettings settings) throws IOException { - return new HttpJsonStreamingVideoIntelligenceServiceStub( - settings, ClientContext.create(settings)); - } - - public static final HttpJsonStreamingVideoIntelligenceServiceStub create( - ClientContext clientContext) throws IOException { - return new HttpJsonStreamingVideoIntelligenceServiceStub( - StreamingVideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), clientContext); - } - - public static final HttpJsonStreamingVideoIntelligenceServiceStub create( - ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { - return new HttpJsonStreamingVideoIntelligenceServiceStub( - StreamingVideoIntelligenceServiceStubSettings.newHttpJsonBuilder().build(), - clientContext, - callableFactory); - } - - /** - * Constructs an instance of HttpJsonStreamingVideoIntelligenceServiceStub, using the given - * settings. This is protected so that it is easy to make a subclass, but otherwise, the static - * factory methods should be preferred. - */ - protected HttpJsonStreamingVideoIntelligenceServiceStub( - StreamingVideoIntelligenceServiceStubSettings settings, ClientContext clientContext) - throws IOException { - this(settings, clientContext, new HttpJsonStreamingVideoIntelligenceServiceCallableFactory()); - } - - /** - * Constructs an instance of HttpJsonStreamingVideoIntelligenceServiceStub, using the given - * settings. This is protected so that it is easy to make a subclass, but otherwise, the static - * factory methods should be preferred. - */ - protected HttpJsonStreamingVideoIntelligenceServiceStub( - StreamingVideoIntelligenceServiceStubSettings settings, - ClientContext clientContext, - HttpJsonStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - @InternalApi - public static List getMethodDescriptors() { - List methodDescriptors = new ArrayList<>(); - return methodDescriptors; - } - - @Override - public BidiStreamingCallable - streamingAnnotateVideoCallable() { - throw new UnsupportedOperationException( - "Not implemented: streamingAnnotateVideoCallable(). REST transport is not implemented for this method yet."); - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java index bb6b29be8678..c39f94d18d4b 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java +++ b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java @@ -24,9 +24,6 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.httpjson.GaxHttpJsonProperties; -import com.google.api.gax.httpjson.HttpJsonTransportChannel; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; @@ -109,11 +106,6 @@ public StreamingVideoIntelligenceServiceStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcStreamingVideoIntelligenceServiceStub.create(this); } - if (getTransportChannelProvider() - .getTransportName() - .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { - return HttpJsonStreamingVideoIntelligenceServiceStub.create(this); - } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -152,13 +144,6 @@ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProvi .setMaxInboundMessageSize(Integer.MAX_VALUE); } - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return InstantiatingHttpJsonChannelProvider.newBuilder(); - } - public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @@ -173,17 +158,6 @@ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProvider GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", - GaxProperties.getLibraryVersion(StreamingVideoIntelligenceServiceStubSettings.class)) - .setTransportToken( - GaxHttpJsonProperties.getHttpJsonTokenName(), - GaxHttpJsonProperties.getHttpJsonVersion()); - } - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return StreamingVideoIntelligenceServiceStubSettings .defaultGrpcApiClientHeaderProviderBuilder(); @@ -194,11 +168,6 @@ public static Builder newBuilder() { return Builder.createDefault(); } - /** Returns a new REST builder for this class. */ - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -290,19 +259,6 @@ private static Builder createDefault() { return initDefaults(builder); } - private static Builder createHttpJsonDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setEndpoint(getDefaultEndpoint()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - private static Builder initDefaults(Builder builder) { return builder; } diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java b/java-video-intelligence/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java deleted file mode 100644 index 693271857494..000000000000 --- a/java-video-intelligence/google-cloud-video-intelligence/src/test/java/com/google/cloud/videointelligence/v1p3beta1/StreamingVideoIntelligenceServiceClientHttpJsonTest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2022 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.videointelligence.v1p3beta1; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.httpjson.testing.MockHttpService; -import com.google.cloud.videointelligence.v1p3beta1.stub.HttpJsonStreamingVideoIntelligenceServiceStub; -import java.io.IOException; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class StreamingVideoIntelligenceServiceClientHttpJsonTest { - private static MockHttpService mockService; - private static StreamingVideoIntelligenceServiceClient client; - - @BeforeClass - public static void startStaticServer() throws IOException { - mockService = - new MockHttpService( - HttpJsonStreamingVideoIntelligenceServiceStub.getMethodDescriptors(), - StreamingVideoIntelligenceServiceSettings.getDefaultEndpoint()); - StreamingVideoIntelligenceServiceSettings settings = - StreamingVideoIntelligenceServiceSettings.newHttpJsonBuilder() - .setTransportChannelProvider( - StreamingVideoIntelligenceServiceSettings.defaultHttpJsonTransportProviderBuilder() - .setHttpTransport(mockService) - .build()) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = StreamingVideoIntelligenceServiceClient.create(settings); - } - - @AfterClass - public static void stopServer() { - client.close(); - } - - @Before - public void setUp() {} - - @After - public void tearDown() throws Exception { - mockService.reset(); - } - - @Test - public void streamingAnnotateVideoUnsupportedMethodTest() throws Exception { - // The streamingAnnotateVideo() method is not supported in REST transport. - // This empty test is generated for technical reasons. - } -} diff --git a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1/pom.xml b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1/pom.xml index 2ac5edbb7261..9b71e781f7e3 100644 --- a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1/pom.xml +++ b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 2.8.0 + 2.9.0 grpc-google-cloud-video-intelligence-v1 GRPC library for grpc-google-cloud-video-intelligence-v1 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1beta2/pom.xml b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1beta2/pom.xml index 59c1c06c37a3..6bc41504c764 100644 --- a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.98.0 + 0.99.0 grpc-google-cloud-video-intelligence-v1beta2 GRPC library for grpc-google-cloud-video-intelligence-v1beta2 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml index a22474b40e52..6a285f4c81be 100644 --- a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.98.0 + 0.99.0 grpc-google-cloud-video-intelligence-v1p1beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p1beta1 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml index 0a44e470b268..6dd658cf917a 100644 --- a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.98.0 + 0.99.0 grpc-google-cloud-video-intelligence-v1p2beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p2beta1 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p3beta1/pom.xml b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p3beta1/pom.xml index 0b1cec9ca8d5..b74975c39fe1 100644 --- a/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p3beta1/pom.xml +++ b/java-video-intelligence/grpc-google-cloud-video-intelligence-v1p3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p3beta1 - 0.98.0 + 0.99.0 grpc-google-cloud-video-intelligence-v1p3beta1 GRPC library for grpc-google-cloud-video-intelligence-v1p3beta1 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/pom.xml b/java-video-intelligence/pom.xml index f8f9af0f151c..b0f999c2e6c9 100644 --- a/java-video-intelligence/pom.xml +++ b/java-video-intelligence/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-video-intelligence-parent pom - 2.8.0 + 2.9.0 Google Cloud Video Intelligence Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,57 +29,57 @@ com.google.api.grpc proto-google-cloud-video-intelligence-v1p3beta1 - 0.98.0 + 0.99.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.98.0 + 0.99.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.98.0 + 0.99.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 2.8.0 + 2.9.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.98.0 + 0.99.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p1beta1 - 0.98.0 + 0.99.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1beta2 - 0.98.0 + 0.99.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1 - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p2beta1 - 0.98.0 + 0.99.0 com.google.api.grpc grpc-google-cloud-video-intelligence-v1p3beta1 - 0.98.0 + 0.99.0 com.google.cloud google-cloud-video-intelligence - 2.8.0 + 2.9.0 com.google.cloud diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1/pom.xml b/java-video-intelligence/proto-google-cloud-video-intelligence-v1/pom.xml index 41ca5becce54..a3de104f1343 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1/pom.xml +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1 - 2.8.0 + 2.9.0 proto-google-cloud-video-intelligence-v1 PROTO library for proto-google-cloud-video-intelligence-v1 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java b/java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java index 87de09faf434..ecf1f34dcbc2 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/VideoIntelligenceServiceProto.java @@ -440,14 +440,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "nput_uri,features\312A.\n\025AnnotateVideoRespo" + "nse\022\025AnnotateVideoProgress\032T\312A videointe" + "lligence.googleapis.com\322A.https://www.go" - + "ogleapis.com/auth/cloud-platformB\213\002\n%com" + + "ogleapis.com/auth/cloud-platformB\214\002\n%com" + ".google.cloud.videointelligence.v1B\035Vide" - + "oIntelligenceServiceProtoP\001ZRgoogle.gola" - + "ng.org/genproto/googleapis/cloud/videoin" - + "telligence/v1;videointelligence\252\002!Google" - + ".Cloud.VideoIntelligence.V1\312\002!Google\\Clo" - + "ud\\VideoIntelligence\\V1\352\002$Google::Cloud:" - + ":VideoIntelligence::V1b\006proto3" + + "oIntelligenceServiceProtoP\001ZScloud.googl" + + "e.com/go/videointelligence/apiv1/videoin" + + "telligencepb;videointelligencepb\252\002!Googl" + + "e.Cloud.VideoIntelligence.V1\312\002!Google\\Cl" + + "oud\\VideoIntelligence\\V1\352\002$Google::Cloud" + + "::VideoIntelligence::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto b/java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto index 648ec4752534..013f022ef08a 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/proto/google/cloud/videointelligence/v1/video_intelligence.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.VideoIntelligence.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1;videointelligence"; +option go_package = "cloud.google.com/go/videointelligence/apiv1/videointelligencepb;videointelligencepb"; option java_multiple_files = true; option java_outer_classname = "VideoIntelligenceServiceProto"; option java_package = "com.google.cloud.videointelligence.v1"; diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/pom.xml b/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/pom.xml index 82324acb2380..6e7f4753bb6f 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/pom.xml +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1beta2 - 0.98.0 + 0.99.0 proto-google-cloud-video-intelligence-v1beta2 PROTO library for proto-google-cloud-video-intelligence-v1beta2 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java b/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java index c7ab15fb59d7..a7556c6d3c72 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoIntelligenceServiceProto.java @@ -234,14 +234,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "A.\n\025AnnotateVideoResponse\022\025AnnotateVideo" + "Progress\032T\312A videointelligence.googleapi" + "s.com\322A.https://www.googleapis.com/auth/" - + "cloud-platformB\244\002\n*com.google.cloud.vide" + + "cloud-platformB\245\002\n*com.google.cloud.vide" + "ointelligence.v1beta2B\035VideoIntelligence" - + "ServiceProtoP\001ZWgoogle.golang.org/genpro" - + "to/googleapis/cloud/videointelligence/v1" - + "beta2;videointelligence\252\002&Google.Cloud.V" - + "ideoIntelligence.V1Beta2\312\002&Google\\Cloud\\" - + "VideoIntelligence\\V1beta2\352\002)Google::Clou" - + "d::VideoIntelligence::V1beta2b\006proto3" + + "ServiceProtoP\001ZXcloud.google.com/go/vide" + + "ointelligence/apiv1beta2/videointelligen" + + "cepb;videointelligencepb\252\002&Google.Cloud." + + "VideoIntelligence.V1Beta2\312\002&Google\\Cloud" + + "\\VideoIntelligence\\V1beta2\352\002)Google::Clo" + + "ud::VideoIntelligence::V1beta2b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto b/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto index 81648c523ecb..c2d4ec86ee89 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/proto/google/cloud/videointelligence/v1beta2/video_intelligence.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.VideoIntelligence.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2;videointelligence"; +option go_package = "cloud.google.com/go/videointelligence/apiv1beta2/videointelligencepb;videointelligencepb"; option java_multiple_files = true; option java_outer_classname = "VideoIntelligenceServiceProto"; option java_package = "com.google.cloud.videointelligence.v1beta2"; diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml index 3bab2fae04b9..8b1ad85360b4 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p1beta1 - 0.98.0 + 0.99.0 proto-google-cloud-video-intelligence-v1p1beta1 PROTO library for proto-google-cloud-video-intelligence-v1p1beta1 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java index 6947375192f2..7916d7933ee2 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/java/com/google/cloud/videointelligence/v1p1beta1/VideoIntelligenceServiceProto.java @@ -239,15 +239,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "es\312A.\n\025AnnotateVideoResponse\022\025AnnotateVi" + "deoProgress\032T\312A videointelligence.google" + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\256\002\n,com.google.cloud.v" + + "th/cloud-platformB\257\002\n,com.google.cloud.v" + "ideointelligence.v1p1beta1B\035VideoIntelli" - + "genceServiceProtoP\001ZYgoogle.golang.org/g" - + "enproto/googleapis/cloud/videointelligen" - + "ce/v1p1beta1;videointelligence\252\002(Google." - + "Cloud.VideoIntelligence.V1P1Beta1\312\002(Goog" - + "le\\Cloud\\VideoIntelligence\\V1p1beta1\352\002+G" - + "oogle::Cloud::VideoIntelligence::V1p1bet" - + "a1b\006proto3" + + "genceServiceProtoP\001ZZcloud.google.com/go" + + "/videointelligence/apiv1p1beta1/videoint" + + "elligencepb;videointelligencepb\252\002(Google" + + ".Cloud.VideoIntelligence.V1P1Beta1\312\002(Goo" + + "gle\\Cloud\\VideoIntelligence\\V1p1beta1\352\002+" + + "Google::Cloud::VideoIntelligence::V1p1be" + + "ta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto index 3c0b8b5626c9..23e6524bd2b0 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p1beta1/src/main/proto/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.VideoIntelligence.V1P1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p1beta1;videointelligence"; +option go_package = "cloud.google.com/go/videointelligence/apiv1p1beta1/videointelligencepb;videointelligencepb"; option java_multiple_files = true; option java_outer_classname = "VideoIntelligenceServiceProto"; option java_package = "com.google.cloud.videointelligence.v1p1beta1"; diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml index ad3536d5a291..977261aa05bc 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p2beta1 - 0.98.0 + 0.99.0 proto-google-cloud-video-intelligence-v1p2beta1 PROTO library for proto-google-cloud-video-intelligence-v1p2beta1 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java index 794bebaaf730..5d6906e50dec 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/VideoIntelligenceServiceProto.java @@ -270,14 +270,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "deoResponse\022\025AnnotateVideoProgress\032T\312A v" + "ideointelligence.googleapis.com\322A.https:" + "//www.googleapis.com/auth/cloud-platform" - + "B\256\002\n,com.google.cloud.videointelligence." + + "B\257\002\n,com.google.cloud.videointelligence." + "v1p2beta1B\035VideoIntelligenceServiceProto" - + "P\001ZYgoogle.golang.org/genproto/googleapi" - + "s/cloud/videointelligence/v1p2beta1;vide" - + "ointelligence\252\002(Google.Cloud.VideoIntell" - + "igence.V1P2Beta1\312\002(Google\\Cloud\\VideoInt" - + "elligence\\V1p2beta1\352\002+Google::Cloud::Vid" - + "eoIntelligence::V1p2beta1b\006proto3" + + "P\001ZZcloud.google.com/go/videointelligenc" + + "e/apiv1p2beta1/videointelligencepb;video" + + "intelligencepb\252\002(Google.Cloud.VideoIntel" + + "ligence.V1P2Beta1\312\002(Google\\Cloud\\VideoIn" + + "telligence\\V1p2beta1\352\002+Google::Cloud::Vi" + + "deoIntelligence::V1p2beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto index c185c0aa99b2..6f22c92c6aaf 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/proto/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.VideoIntelligence.V1P2Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1;videointelligence"; +option go_package = "cloud.google.com/go/videointelligence/apiv1p2beta1/videointelligencepb;videointelligencepb"; option java_multiple_files = true; option java_outer_classname = "VideoIntelligenceServiceProto"; option java_package = "com.google.cloud.videointelligence.v1p2beta1"; diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/pom.xml b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/pom.xml index 7cbac11f3fe5..0b8e3c659047 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/pom.xml +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-intelligence-v1p3beta1 - 0.98.0 + 0.99.0 proto-google-cloud-video-intelligence-v1p3beta1 PROTO library for proto-google-cloud-video-intelligence-v1p3beta1 com.google.cloud google-cloud-video-intelligence-parent - 2.8.0 + 2.9.0 diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java index 45caccf3032e..17032a2b2eb5 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/VideoIntelligenceServiceProto.java @@ -577,15 +577,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ligence.v1p3beta1.StreamingAnnotateVideo" + "Response\"\000(\0010\001\032T\312A videointelligence.goo" + "gleapis.com\322A.https://www.googleapis.com" - + "/auth/cloud-platformB\256\002\n,com.google.clou" + + "/auth/cloud-platformB\257\002\n,com.google.clou" + "d.videointelligence.v1p3beta1B\035VideoInte" - + "lligenceServiceProtoP\001ZYgoogle.golang.or" - + "g/genproto/googleapis/cloud/videointelli" - + "gence/v1p3beta1;videointelligence\252\002(Goog" - + "le.Cloud.VideoIntelligence.V1P3Beta1\312\002(G" - + "oogle\\Cloud\\VideoIntelligence\\V1p3beta1\352" - + "\002+Google::Cloud::VideoIntelligence::V1p3" - + "beta1b\006proto3" + + "lligenceServiceProtoP\001ZZcloud.google.com" + + "/go/videointelligence/apiv1p3beta1/video" + + "intelligencepb;videointelligencepb\252\002(Goo" + + "gle.Cloud.VideoIntelligence.V1P3Beta1\312\002(" + + "Google\\Cloud\\VideoIntelligence\\V1p3beta1" + + "\352\002+Google::Cloud::VideoIntelligence::V1p" + + "3beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto index db039e67a0c0..9326d84b0cff 100644 --- a/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto +++ b/java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/proto/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.VideoIntelligence.V1P3Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p3beta1;videointelligence"; +option go_package = "cloud.google.com/go/videointelligence/apiv1p3beta1/videointelligencepb;videointelligencepb"; option java_multiple_files = true; option java_outer_classname = "VideoIntelligenceServiceProto"; option java_package = "com.google.cloud.videointelligence.v1p3beta1"; diff --git a/java-video-live-stream/README.md b/java-video-live-stream/README.md index 74a1552258b3..e6daca289c9e 100644 --- a/java-video-live-stream/README.md +++ b/java-video-live-stream/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-live-stream - 0.10.0 + 0.11.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-live-stream:0.10.0' +implementation 'com.google.cloud:google-cloud-live-stream:0.11.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "0.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "0.11.0" ``` ## Authentication diff --git a/java-video-live-stream/google-cloud-live-stream-bom/pom.xml b/java-video-live-stream/google-cloud-live-stream-bom/pom.xml index bd5ad6a64de1..0af82b57f838 100644 --- a/java-video-live-stream/google-cloud-live-stream-bom/pom.xml +++ b/java-video-live-stream/google-cloud-live-stream-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-live-stream-bom - 0.11.0 + 0.12.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-live-stream - 0.11.0 + 0.12.0 com.google.api.grpc grpc-google-cloud-live-stream-v1 - 0.11.0 + 0.12.0 com.google.api.grpc proto-google-cloud-live-stream-v1 - 0.11.0 + 0.12.0 diff --git a/java-video-live-stream/google-cloud-live-stream/pom.xml b/java-video-live-stream/google-cloud-live-stream/pom.xml index 8857b8f201d5..14ca560a737d 100644 --- a/java-video-live-stream/google-cloud-live-stream/pom.xml +++ b/java-video-live-stream/google-cloud-live-stream/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-live-stream - 0.11.0 + 0.12.0 jar Google Cloud Live Stream Cloud Live Stream transcodes mezzanine live signals into direct-to-consumer streaming formats, including Dynamic Adaptive Streaming over HTTP (DASH/MPEG-DASH), and HTTP Live Streaming (HLS), for multiple device platforms. com.google.cloud google-cloud-live-stream-parent - 0.11.0 + 0.12.0 google-cloud-live-stream diff --git a/java-video-live-stream/grpc-google-cloud-live-stream-v1/pom.xml b/java-video-live-stream/grpc-google-cloud-live-stream-v1/pom.xml index 0eb263826cff..a903c09388a2 100644 --- a/java-video-live-stream/grpc-google-cloud-live-stream-v1/pom.xml +++ b/java-video-live-stream/grpc-google-cloud-live-stream-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-live-stream-v1 - 0.11.0 + 0.12.0 grpc-google-cloud-live-stream-v1 GRPC library for google-cloud-live-stream com.google.cloud google-cloud-live-stream-parent - 0.11.0 + 0.12.0 diff --git a/java-video-live-stream/pom.xml b/java-video-live-stream/pom.xml index 8d17e75dffad..83948fc467bf 100644 --- a/java-video-live-stream/pom.xml +++ b/java-video-live-stream/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-live-stream-parent pom - 0.11.0 + 0.12.0 Google Cloud Live Stream Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-live-stream - 0.11.0 + 0.12.0 com.google.api.grpc grpc-google-cloud-live-stream-v1 - 0.11.0 + 0.12.0 com.google.api.grpc proto-google-cloud-live-stream-v1 - 0.11.0 + 0.12.0 diff --git a/java-video-live-stream/proto-google-cloud-live-stream-v1/pom.xml b/java-video-live-stream/proto-google-cloud-live-stream-v1/pom.xml index fcc7b5cf5106..6963a1d5602b 100644 --- a/java-video-live-stream/proto-google-cloud-live-stream-v1/pom.xml +++ b/java-video-live-stream/proto-google-cloud-live-stream-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-live-stream-v1 - 0.11.0 + 0.12.0 proto-google-cloud-live-stream-v1 Proto library for google-cloud-live-stream com.google.cloud google-cloud-live-stream-parent - 0.11.0 + 0.12.0 diff --git a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java index c38030cfff1d..16b0756b73e2 100644 --- a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java +++ b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/OutputsProto.java @@ -148,13 +148,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_channel\030\004 \001(\005B\003\340A\002\" \n\nTextStream\022\022\n\005cod" + "ec\030\001 \001(\tB\003\340A\002\"F\n\017SegmentSettings\0223\n\020segm" + "ent_duration\030\001 \001(\0132\031.google.protobuf.Dur" - + "ationB\357\001\n$com.google.cloud.video.livestr" - + "eam.v1B\014OutputsProtoP\001ZJgoogle.golang.or" - + "g/genproto/googleapis/cloud/video/livest" - + "ream/v1;livestream\252\002 Google.Cloud.Video." - + "LiveStream.V1\312\002 Google\\Cloud\\Video\\LiveS" - + "tream\\V1\352\002$Google::Cloud::Video::LiveStr" - + "eam::V1b\006proto3" + + "ationB\351\001\n$com.google.cloud.video.livestr" + + "eam.v1B\014OutputsProtoP\001ZDcloud.google.com" + + "/go/video/livestream/apiv1/livestreampb;" + + "livestreampb\252\002 Google.Cloud.Video.LiveSt" + + "ream.V1\312\002 Google\\Cloud\\Video\\LiveStream\\" + + "V1\352\002$Google::Cloud::Video::LiveStream::V" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java index bf87f973bd0f..d05111207fe9 100644 --- a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java +++ b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ResourcesProto.java @@ -209,13 +209,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013\n\007STOPPED\020\006:o\352Al\n\037livestream.googleapis" + ".com/Event\022Iprojects/{project}/locations" + "/{location}/channels/{channel}/events/{e" - + "vent}B\006\n\004taskB\361\001\n$com.google.cloud.video" - + ".livestream.v1B\016ResourcesProtoP\001ZJgoogle" - + ".golang.org/genproto/googleapis/cloud/vi" - + "deo/livestream/v1;livestream\252\002 Google.Cl" - + "oud.Video.LiveStream.V1\312\002 Google\\Cloud\\V" - + "ideo\\LiveStream\\V1\352\002$Google::Cloud::Vide" - + "o::LiveStream::V1b\006proto3" + + "vent}B\006\n\004taskB\353\001\n$com.google.cloud.video" + + ".livestream.v1B\016ResourcesProtoP\001ZDcloud." + + "google.com/go/video/livestream/apiv1/liv" + + "estreampb;livestreampb\252\002 Google.Cloud.Vi" + + "deo.LiveStream.V1\312\002 Google\\Cloud\\Video\\L" + + "iveStream\\V1\352\002$Google::Cloud::Video::Liv" + + "eStream::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java index 9f5c1411400d..c1ef913a1863 100644 --- a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java +++ b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/ServiceProto.java @@ -279,13 +279,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "1/{name=projects/*/locations/*/channels/" + "*/events/*}\332A\004name\032M\312A\031livestream.google" + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\357\001\n$com.google.cloud.v" - + "ideo.livestream.v1B\014ServiceProtoP\001ZJgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "video/livestream/v1;livestream\252\002 Google." - + "Cloud.Video.LiveStream.V1\312\002 Google\\Cloud" - + "\\Video\\LiveStream\\V1\352\002$Google::Cloud::Vi" - + "deo::LiveStream::V1b\006proto3" + + "th/cloud-platformB\351\001\n$com.google.cloud.v" + + "ideo.livestream.v1B\014ServiceProtoP\001ZDclou" + + "d.google.com/go/video/livestream/apiv1/l" + + "ivestreampb;livestreampb\252\002 Google.Cloud." + + "Video.LiveStream.V1\312\002 Google\\Cloud\\Video" + + "\\LiveStream\\V1\352\002$Google::Cloud::Video::L" + + "iveStream::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto index 90ab85b4f7cd..fb5cc130154d 100644 --- a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto +++ b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/outputs.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.Video.LiveStream.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/livestream/v1;livestream"; +option go_package = "cloud.google.com/go/video/livestream/apiv1/livestreampb;livestreampb"; option java_multiple_files = true; option java_outer_classname = "OutputsProto"; option java_package = "com.google.cloud.video.livestream.v1"; diff --git a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto index b9159ec97448..a0d29591d8db 100644 --- a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto +++ b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/resources.proto @@ -24,7 +24,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Video.LiveStream.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/livestream/v1;livestream"; +option go_package = "cloud.google.com/go/video/livestream/apiv1/livestreampb;livestreampb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.video.livestream.v1"; diff --git a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto index 8ef65d80814b..d8c478ec6a8e 100644 --- a/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto +++ b/java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/proto/google/cloud/video/livestream/v1/service.proto @@ -27,7 +27,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Video.LiveStream.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/livestream/v1;livestream"; +option go_package = "cloud.google.com/go/video/livestream/apiv1/livestreampb;livestreampb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.video.livestream.v1"; diff --git a/java-video-stitcher/README.md b/java-video-stitcher/README.md index e6843b7e0bf2..e394a3292c55 100644 --- a/java-video-stitcher/README.md +++ b/java-video-stitcher/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-video-stitcher - 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-video-stitcher:0.8.0' +implementation 'com.google.cloud:google-cloud-video-stitcher:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "0.9.0" ``` ## Authentication diff --git a/java-video-stitcher/google-cloud-video-stitcher-bom/pom.xml b/java-video-stitcher/google-cloud-video-stitcher-bom/pom.xml index 1372409f445a..6a0e52bab807 100644 --- a/java-video-stitcher/google-cloud-video-stitcher-bom/pom.xml +++ b/java-video-stitcher/google-cloud-video-stitcher-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-video-stitcher-bom - 0.9.0 + 0.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-video-stitcher - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-video-stitcher-v1 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-video-stitcher-v1 - 0.9.0 + 0.10.0 diff --git a/java-video-stitcher/google-cloud-video-stitcher/pom.xml b/java-video-stitcher/google-cloud-video-stitcher/pom.xml index 6e33a6bccaba..035a34233f83 100644 --- a/java-video-stitcher/google-cloud-video-stitcher/pom.xml +++ b/java-video-stitcher/google-cloud-video-stitcher/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-video-stitcher - 0.9.0 + 0.10.0 jar Google Video Stitcher API Video Stitcher API allows you to manipulate video content to dynamically insert ads prior to delivery to client devices. com.google.cloud google-cloud-video-stitcher-parent - 0.9.0 + 0.10.0 google-cloud-video-stitcher diff --git a/java-video-stitcher/grpc-google-cloud-video-stitcher-v1/pom.xml b/java-video-stitcher/grpc-google-cloud-video-stitcher-v1/pom.xml index 965059546bb6..a79ba715e009 100644 --- a/java-video-stitcher/grpc-google-cloud-video-stitcher-v1/pom.xml +++ b/java-video-stitcher/grpc-google-cloud-video-stitcher-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-stitcher-v1 - 0.9.0 + 0.10.0 grpc-google-cloud-video-stitcher-v1 GRPC library for google-cloud-video-stitcher com.google.cloud google-cloud-video-stitcher-parent - 0.9.0 + 0.10.0 diff --git a/java-video-stitcher/pom.xml b/java-video-stitcher/pom.xml index 90bdb83b989c..0a342559fbce 100644 --- a/java-video-stitcher/pom.xml +++ b/java-video-stitcher/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-video-stitcher-parent pom - 0.9.0 + 0.10.0 Google Video Stitcher API Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-video-stitcher - 0.9.0 + 0.10.0 com.google.api.grpc grpc-google-cloud-video-stitcher-v1 - 0.9.0 + 0.10.0 com.google.api.grpc proto-google-cloud-video-stitcher-v1 - 0.9.0 + 0.10.0 diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/pom.xml b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/pom.xml index 972e18722489..d37f596dec1d 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/pom.xml +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-stitcher-v1 - 0.9.0 + 0.10.0 proto-google-cloud-video-stitcher-v1 Proto library for google-cloud-video-stitcher com.google.cloud google-cloud-video-stitcher-parent - 0.9.0 + 0.10.0 diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/AdTagDetailsProto.java b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/AdTagDetailsProto.java index 735a0c52c5a8..371c16835b2d 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/AdTagDetailsProto.java +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/AdTagDetailsProto.java @@ -83,11 +83,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022(\n\007headers\030\002 \001(\0132\027.google.protobuf.Stru" + "ct\022\023\n\013status_code\030\003 \001(\t\022\022\n\nsize_bytes\030\004 " + "\001(\005\022+\n\010duration\030\005 \001(\0132\031.google.protobuf." - + "Duration\022\014\n\004body\030\006 \001(\tB\201\001\n\"com.google.cl" - + "oud.video.stitcher.v1B\021AdTagDetailsProto" - + "P\001ZFgoogle.golang.org/genproto/googleapi" - + "s/cloud/video/stitcher/v1;stitcherb\006prot" - + "o3" + + "Duration\022\014\n\004body\030\006 \001(\tBy\n\"com.google.clo" + + "ud.video.stitcher.v1B\021AdTagDetailsProtoP" + + "\001Z>cloud.google.com/go/video/stitcher/ap" + + "iv1/stitcherpb;stitcherpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/CdnKeysProto.java b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/CdnKeysProto.java index 3dfd98bf9418..504798fe84e1 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/CdnKeysProto.java +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/CdnKeysProto.java @@ -68,11 +68,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogleCdnKey\022\030\n\013private_key\030\001 \001(\014B\003\340A\004\022\020\n" + "\010key_name\030\002 \001(\t\"&\n\014AkamaiCdnKey\022\026\n\ttoken" + "_key\030\001 \001(\014B\003\340A\004\"9\n\013MediaCdnKey\022\030\n\013privat" - + "e_key\030\001 \001(\014B\003\340A\004\022\020\n\010key_name\030\002 \001(\tB|\n\"co" + + "e_key\030\001 \001(\014B\003\340A\004\022\020\n\010key_name\030\002 \001(\tBt\n\"co" + "m.google.cloud.video.stitcher.v1B\014CdnKey" - + "sProtoP\001ZFgoogle.golang.org/genproto/goo" - + "gleapis/cloud/video/stitcher/v1;stitcher" - + "b\006proto3" + + "sProtoP\001Z>cloud.google.com/go/video/stit" + + "cher/apiv1/stitcherpb;stitcherpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/CompanionsProto.java b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/CompanionsProto.java index 4b8aaed74166..1580ff425d12 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/CompanionsProto.java +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/CompanionsProto.java @@ -81,10 +81,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ad_resource\"%\n\016HtmlAdResource\022\023\n\013html_so" + "urce\030\001 \001(\t\"\037\n\020IframeAdResource\022\013\n\003uri\030\001 " + "\001(\t\"6\n\020StaticAdResource\022\013\n\003uri\030\001 \001(\t\022\025\n\r" - + "creative_type\030\002 \001(\tB\177\n\"com.google.cloud." - + "video.stitcher.v1B\017CompanionsProtoP\001ZFgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/video/stitcher/v1;stitcherb\006proto3" + + "creative_type\030\002 \001(\tBw\n\"com.google.cloud." + + "video.stitcher.v1B\017CompanionsProtoP\001Z>cl" + + "oud.google.com/go/video/stitcher/apiv1/s" + + "titcherpb;stitcherpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/EventsProto.java b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/EventsProto.java index ec68351cfc96..004469cf33da 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/EventsProto.java +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/EventsProto.java @@ -62,11 +62,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "EAR\020\031\022\010\n\004SKIP\020\032\022\025\n\021ACCEPT_INVITATION\020\033\"v" + "\n\rProgressEvent\022.\n\013time_offset\030\001 \001(\0132\031.g" + "oogle.protobuf.Duration\0225\n\006events\030\002 \003(\0132" - + "%.google.cloud.video.stitcher.v1.EventB{" + + "%.google.cloud.video.stitcher.v1.EventBs" + "\n\"com.google.cloud.video.stitcher.v1B\013Ev" - + "entsProtoP\001ZFgoogle.golang.org/genproto/" - + "googleapis/cloud/video/stitcher/v1;stitc" - + "herb\006proto3" + + "entsProtoP\001Z>cloud.google.com/go/video/s" + + "titcher/apiv1/stitcherpb;stitcherpbb\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/SessionsProto.java b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/SessionsProto.java index 2c1cde44ef29..1cc379abb400 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/SessionsProto.java +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/SessionsProto.java @@ -151,10 +151,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "erPolicy\"J\n\013OrderPolicy\022\034\n\030ORDER_POLICY_" + "UNSPECIFIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESCENDI" + "NG\020\002\"6\n\017RenditionFilter\022\023\n\013bitrate_bps\030\001" - + " \001(\005\022\016\n\006codecs\030\002 \001(\tB}\n\"com.google.cloud" - + ".video.stitcher.v1B\rSessionsProtoP\001ZFgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/video/stitcher/v1;stitcherb\006proto3" + + " \001(\005\022\016\n\006codecs\030\002 \001(\tBu\n\"com.google.cloud" + + ".video.stitcher.v1B\rSessionsProtoP\001Z>clo" + + "ud.google.com/go/video/stitcher/apiv1/st" + + "itcherpb;stitcherpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/SlatesProto.java b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/SlatesProto.java index 089ecf4e854a..05ded2f545ac 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/SlatesProto.java +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/SlatesProto.java @@ -46,11 +46,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "pi/resource.proto\"\210\001\n\005Slate\022\021\n\004name\030\001 \001(" + "\tB\003\340A\003\022\013\n\003uri\030\002 \001(\t:_\352A\\\n\"videostitcher." + "googleapis.com/Slate\0226projects/{project}" - + "/locations/{location}/slates/{slate}B{\n\"" + + "/locations/{location}/slates/{slate}Bs\n\"" + "com.google.cloud.video.stitcher.v1B\013Slat" - + "esProtoP\001ZFgoogle.golang.org/genproto/go" - + "ogleapis/cloud/video/stitcher/v1;stitche" - + "rb\006proto3" + + "esProtoP\001Z>cloud.google.com/go/video/sti" + + "tcher/apiv1/stitcherpb;stitcherpbb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/StitchDetailsProto.java b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/StitchDetailsProto.java index 9607d297ac9a..d3bf4343f951 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/StitchDetailsProto.java +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/StitchDetailsProto.java @@ -67,10 +67,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle.cloud.video.stitcher.v1.AdStitchDet" + "ail.MediaEntryB\003\340A\001\032D\n\nMediaEntry\022\013\n\003key" + "\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.protobuf." - + "Value:\0028\001B\202\001\n\"com.google.cloud.video.sti" - + "tcher.v1B\022StitchDetailsProtoP\001ZFgoogle.g" - + "olang.org/genproto/googleapis/cloud/vide" - + "o/stitcher/v1;stitcherb\006proto3" + + "Value:\0028\001Bz\n\"com.google.cloud.video.stit" + + "cher.v1B\022StitchDetailsProtoP\001Z>cloud.goo" + + "gle.com/go/video/stitcher/apiv1/stitcher" + + "pb;stitcherpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/VideoStitcherServiceProto.java b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/VideoStitcherServiceProto.java index cb51fd85b327..3e6e19bf1520 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/VideoStitcherServiceProto.java +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/VideoStitcherServiceProto.java @@ -327,10 +327,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cts/*/locations/*/liveSessions/*}\332A\004name" + "\032P\312A\034videostitcher.googleapis.com\322A.http" + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\211\001\n\"com.google.cloud.video.stitcher.v" - + "1B\031VideoStitcherServiceProtoP\001ZFgoogle.g" - + "olang.org/genproto/googleapis/cloud/vide" - + "o/stitcher/v1;stitcherb\006proto3" + + "rmB\201\001\n\"com.google.cloud.video.stitcher.v" + + "1B\031VideoStitcherServiceProtoP\001Z>cloud.go" + + "ogle.com/go/video/stitcher/apiv1/stitche" + + "rpb;stitcherpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/ad_tag_details.proto b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/ad_tag_details.proto index 3c1c018b20e4..1961fa9b810b 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/ad_tag_details.proto +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/ad_tag_details.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/stitcher/v1;stitcher"; +option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; option java_multiple_files = true; option java_outer_classname = "AdTagDetailsProto"; option java_package = "com.google.cloud.video.stitcher.v1"; diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/cdn_keys.proto b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/cdn_keys.proto index c4835c5a6676..fd7a40200daa 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/cdn_keys.proto +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/cdn_keys.proto @@ -19,7 +19,7 @@ package google.cloud.video.stitcher.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/stitcher/v1;stitcher"; +option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; option java_multiple_files = true; option java_outer_classname = "CdnKeysProto"; option java_package = "com.google.cloud.video.stitcher.v1"; diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/companions.proto b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/companions.proto index af57e92ddbbd..ef87e1994de8 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/companions.proto +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/companions.proto @@ -18,7 +18,7 @@ package google.cloud.video.stitcher.v1; import "google/cloud/video/stitcher/v1/events.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/stitcher/v1;stitcher"; +option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; option java_multiple_files = true; option java_outer_classname = "CompanionsProto"; option java_package = "com.google.cloud.video.stitcher.v1"; diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/events.proto b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/events.proto index 3a5e967f5281..24e4c459c803 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/events.proto +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/events.proto @@ -18,7 +18,7 @@ package google.cloud.video.stitcher.v1; import "google/protobuf/duration.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/stitcher/v1;stitcher"; +option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; option java_multiple_files = true; option java_outer_classname = "EventsProto"; option java_package = "com.google.cloud.video.stitcher.v1"; diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/sessions.proto b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/sessions.proto index 8bbbea806969..035e274f2021 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/sessions.proto +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/sessions.proto @@ -22,7 +22,7 @@ import "google/cloud/video/stitcher/v1/companions.proto"; import "google/cloud/video/stitcher/v1/events.proto"; import "google/protobuf/duration.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/stitcher/v1;stitcher"; +option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; option java_multiple_files = true; option java_outer_classname = "SessionsProto"; option java_package = "com.google.cloud.video.stitcher.v1"; diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/slates.proto b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/slates.proto index a52de64998d8..eaa516713f9e 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/slates.proto +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/slates.proto @@ -19,7 +19,7 @@ package google.cloud.video.stitcher.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/stitcher/v1;stitcher"; +option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; option java_multiple_files = true; option java_outer_classname = "SlatesProto"; option java_package = "com.google.cloud.video.stitcher.v1"; diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/stitch_details.proto b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/stitch_details.proto index e23224e3536a..293f9b14b63d 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/stitch_details.proto +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/stitch_details.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/stitcher/v1;stitcher"; +option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; option java_multiple_files = true; option java_outer_classname = "StitchDetailsProto"; option java_package = "com.google.cloud.video.stitcher.v1"; diff --git a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/video_stitcher_service.proto b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/video_stitcher_service.proto index 938f01c8af61..8e86835a406b 100644 --- a/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/video_stitcher_service.proto +++ b/java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/proto/google/cloud/video/stitcher/v1/video_stitcher_service.proto @@ -28,7 +28,7 @@ import "google/cloud/video/stitcher/v1/stitch_details.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/stitcher/v1;stitcher"; +option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; option java_multiple_files = true; option java_outer_classname = "VideoStitcherServiceProto"; option java_package = "com.google.cloud.video.stitcher.v1"; diff --git a/java-video-transcoder/README.md b/java-video-transcoder/README.md index d9cceaf169a1..3ff5273ab9af 100644 --- a/java-video-transcoder/README.md +++ b/java-video-transcoder/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-video-transcoder - 1.7.0 + 1.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-transcoder:1.7.0' +implementation 'com.google.cloud:google-cloud-video-transcoder:1.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.8.0" ``` ## Authentication diff --git a/java-video-transcoder/google-cloud-video-transcoder-bom/pom.xml b/java-video-transcoder/google-cloud-video-transcoder-bom/pom.xml index 6927f37d6d50..37ba6c0614a7 100644 --- a/java-video-transcoder/google-cloud-video-transcoder-bom/pom.xml +++ b/java-video-transcoder/google-cloud-video-transcoder-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-video-transcoder-bom - 1.8.0 + 1.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-video-transcoder - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 1.8.0 + 1.9.0 diff --git a/java-video-transcoder/google-cloud-video-transcoder/pom.xml b/java-video-transcoder/google-cloud-video-transcoder/pom.xml index 21d7101b1585..802d940d4325 100644 --- a/java-video-transcoder/google-cloud-video-transcoder/pom.xml +++ b/java-video-transcoder/google-cloud-video-transcoder/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-video-transcoder - 1.8.0 + 1.9.0 jar Google Video Transcoder allows you to transcode videos into a variety of formats. The Transcoder API benefits broadcasters, production companies, businesses, and individuals looking to transform their video content for use across a variety of user devices. com.google.cloud google-cloud-video-transcoder-parent - 1.8.0 + 1.9.0 google-cloud-video-transcoder diff --git a/java-video-transcoder/grpc-google-cloud-video-transcoder-v1/pom.xml b/java-video-transcoder/grpc-google-cloud-video-transcoder-v1/pom.xml index 5d089ac8449e..cb8ebe847ca0 100644 --- a/java-video-transcoder/grpc-google-cloud-video-transcoder-v1/pom.xml +++ b/java-video-transcoder/grpc-google-cloud-video-transcoder-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 1.8.0 + 1.9.0 grpc-google-cloud-video-transcoder-v1 GRPC library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 1.8.0 + 1.9.0 diff --git a/java-video-transcoder/pom.xml b/java-video-transcoder/pom.xml index 85f53a0efddf..59fec8843459 100644 --- a/java-video-transcoder/pom.xml +++ b/java-video-transcoder/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-video-transcoder-parent pom - 1.8.0 + 1.9.0 Google Video Transcoder Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-video-transcoder - 1.8.0 + 1.9.0 com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 1.8.0 + 1.9.0 com.google.api.grpc grpc-google-cloud-video-transcoder-v1 - 1.8.0 + 1.9.0 diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/pom.xml b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/pom.xml index 1d4ebdc681db..bfd128efd9fd 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/pom.xml +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-video-transcoder-v1 - 1.8.0 + 1.9.0 proto-google-cloud-video-transcoder-v1 Proto library for google-cloud-video-transcoder com.google.cloud google-cloud-video-transcoder-parent - 1.8.0 + 1.9.0 diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java index 9ed3ac299103..4a527268c94e 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ResourcesProto.java @@ -401,11 +401,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\tinput_key\030\002 \001(\tB\003\340A\002\022\030\n\013input_track\030\003 " + "\001(\005B\003\340A\002\"h\n\017SegmentSettings\0223\n\020segment_d" + "uration\030\001 \001(\0132\031.google.protobuf.Duration" - + "\022 \n\023individual_segments\030\003 \001(\010B\003\340A\002B\204\001\n$c" - + "om.google.cloud.video.transcoder.v1B\016Res" - + "ourcesProtoP\001ZJgoogle.golang.org/genprot" - + "o/googleapis/cloud/video/transcoder/v1;t" - + "ranscoderb\006proto3" + + "\022 \n\023individual_segments\030\003 \001(\010B\003\340A\002B~\n$co" + + "m.google.cloud.video.transcoder.v1B\016Reso" + + "urcesProtoP\001ZDcloud.google.com/go/video/" + + "transcoder/apiv1/transcoderpb;transcoder" + + "pbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java index 25b0c447b105..85b51faa3b72 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ServicesProto.java @@ -153,13 +153,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "?\202\323\344\223\0022*0/v1/{name=projects/*/locations/" + "*/jobTemplates/*}\332A\004name\032M\312A\031transcoder." + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB\360\001\n$com.google.c" + + "com/auth/cloud-platformB\352\001\n$com.google.c" + "loud.video.transcoder.v1B\rServicesProtoP" - + "\001ZJgoogle.golang.org/genproto/googleapis" - + "/cloud/video/transcoder/v1;transcoder\252\002 " - + "Google.Cloud.Video.Transcoder.V1\312\002 Googl" - + "e\\Cloud\\Video\\Transcoder\\V1\352\002$Google::Cl" - + "oud::Video::Transcoder::V1b\006proto3" + + "\001ZDcloud.google.com/go/video/transcoder/" + + "apiv1/transcoderpb;transcoderpb\252\002 Google" + + ".Cloud.Video.Transcoder.V1\312\002 Google\\Clou" + + "d\\Video\\Transcoder\\V1\352\002$Google::Cloud::V" + + "ideo::Transcoder::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto index 08508ec87631..76f626f4eec8 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/resources.proto @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/transcoder/v1;transcoder"; +option go_package = "cloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.video.transcoder.v1"; diff --git a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto index 4d400c33b7a3..658415c87906 100644 --- a/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto +++ b/java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/proto/google/cloud/video/transcoder/v1/services.proto @@ -24,7 +24,7 @@ import "google/cloud/video/transcoder/v1/resources.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.Video.Transcoder.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/video/transcoder/v1;transcoder"; +option go_package = "cloud.google.com/go/video/transcoder/apiv1/transcoderpb;transcoderpb"; option java_multiple_files = true; option java_outer_classname = "ServicesProto"; option java_package = "com.google.cloud.video.transcoder.v1"; diff --git a/java-vision/README.md b/java-vision/README.md index b2b2bae7ec6b..82ee8cfc934f 100644 --- a/java-vision/README.md +++ b/java-vision/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-vision - 3.6.0 + 3.7.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vision:3.6.0' +implementation 'com.google.cloud:google-cloud-vision:3.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.7.0" ``` ## Authentication diff --git a/java-vision/google-cloud-vision-bom/pom.xml b/java-vision/google-cloud-vision-bom/pom.xml index 9c43e0260b83..b0bd51200efd 100644 --- a/java-vision/google-cloud-vision-bom/pom.xml +++ b/java-vision/google-cloud-vision-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-vision-bom - 3.7.0 + 3.8.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,57 +23,57 @@ com.google.cloud google-cloud-vision - 3.7.0 + 3.8.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 3.7.0 + 3.8.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 3.7.0 + 3.8.0 com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-vision-v1 - 3.7.0 + 3.8.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 3.7.0 + 3.8.0 diff --git a/java-vision/google-cloud-vision/pom.xml b/java-vision/google-cloud-vision/pom.xml index 3e741a5d3410..c56618c66f0c 100644 --- a/java-vision/google-cloud-vision/pom.xml +++ b/java-vision/google-cloud-vision/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-vision - 3.7.0 + 3.8.0 jar Google Cloud Vision Java idiomatic client for Google Cloud Vision com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 google-cloud-vision diff --git a/java-vision/grpc-google-cloud-vision-v1/pom.xml b/java-vision/grpc-google-cloud-vision-v1/pom.xml index fef04b043a04..4f8bfc5cf05e 100644 --- a/java-vision/grpc-google-cloud-vision-v1/pom.xml +++ b/java-vision/grpc-google-cloud-vision-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 3.7.0 + 3.8.0 grpc-google-cloud-vision-v1 GRPC library for grpc-google-cloud-vision-v1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/grpc-google-cloud-vision-v1p1beta1/pom.xml b/java-vision/grpc-google-cloud-vision-v1p1beta1/pom.xml index 8b9b8151efbf..59ea15e6c6c4 100644 --- a/java-vision/grpc-google-cloud-vision-v1p1beta1/pom.xml +++ b/java-vision/grpc-google-cloud-vision-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.96.0 + 0.97.0 grpc-google-cloud-vision-v1p1beta1 GRPC library for grpc-google-cloud-vision-v1p1beta1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/grpc-google-cloud-vision-v1p2beta1/pom.xml b/java-vision/grpc-google-cloud-vision-v1p2beta1/pom.xml index b64ef0201b99..efd50fd5cccb 100644 --- a/java-vision/grpc-google-cloud-vision-v1p2beta1/pom.xml +++ b/java-vision/grpc-google-cloud-vision-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 3.7.0 + 3.8.0 grpc-google-cloud-vision-v1p2beta1 GRPC library for grpc-google-cloud-vision-v1p2beta1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/grpc-google-cloud-vision-v1p3beta1/pom.xml b/java-vision/grpc-google-cloud-vision-v1p3beta1/pom.xml index 42b262c0d4a9..a4c182035317 100644 --- a/java-vision/grpc-google-cloud-vision-v1p3beta1/pom.xml +++ b/java-vision/grpc-google-cloud-vision-v1p3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.96.0 + 0.97.0 grpc-google-cloud-vision-v1p3beta1 GRPC library for grpc-google-cloud-vision-v1p3beta1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/grpc-google-cloud-vision-v1p4beta1/pom.xml b/java-vision/grpc-google-cloud-vision-v1p4beta1/pom.xml index 141c0c4c3ac5..ef930b22c407 100644 --- a/java-vision/grpc-google-cloud-vision-v1p4beta1/pom.xml +++ b/java-vision/grpc-google-cloud-vision-v1p4beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.96.0 + 0.97.0 grpc-google-cloud-vision-v1p4beta1 GRPC library for grpc-google-cloud-vision-v1p4beta1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/pom.xml b/java-vision/pom.xml index 1f23f779ef22..6a14b7e57d20 100644 --- a/java-vision/pom.xml +++ b/java-vision/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-vision-parent pom - 3.7.0 + 3.8.0 Google Cloud Vision Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,57 +29,57 @@ com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-vision-v1 - 3.7.0 + 3.8.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 3.7.0 + 3.8.0 com.google.api.grpc grpc-google-cloud-vision-v1p3beta1 - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-vision-v1p1beta1 - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-vision-v1p4beta1 - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-vision-v1p2beta1 - 3.7.0 + 3.8.0 com.google.api.grpc grpc-google-cloud-vision-v1 - 3.7.0 + 3.8.0 com.google.cloud google-cloud-vision - 3.7.0 + 3.8.0 diff --git a/java-vision/proto-google-cloud-vision-v1/pom.xml b/java-vision/proto-google-cloud-vision-v1/pom.xml index 7296e123ec4f..9e77c8eb5e31 100644 --- a/java-vision/proto-google-cloud-vision-v1/pom.xml +++ b/java-vision/proto-google-cloud-vision-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1 - 3.7.0 + 3.8.0 proto-google-cloud-vision-v1 PROTO library for proto-google-cloud-vision-v1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GeometryProto.java b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GeometryProto.java index 0c3c935a8bbe..85b00031b1a9 100644 --- a/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GeometryProto.java +++ b/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/GeometryProto.java @@ -60,10 +60,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rtex\022E\n\023normalized_vertices\030\002 \003(\0132(.goog" + "le.cloud.vision.v1.NormalizedVertex\"+\n\010P" + "osition\022\t\n\001x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002" - + "Bu\n\032com.google.cloud.vision.v1B\rGeometry" - + "ProtoP\001Z4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p1beta1 - 0.96.0 + 0.97.0 proto-google-cloud-vision-v1p1beta1 PROTO library for proto-google-cloud-vision-v1p1beta1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/GeometryProto.java b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/GeometryProto.java index 26e223e04ce2..23c04ba96311 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/GeometryProto.java +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/GeometryProto.java @@ -53,11 +53,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006Vertex\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\"G\n\014Boundin" + "gPoly\0227\n\010vertices\030\001 \003(\0132%.google.cloud.v" + "ision.v1p1beta1.Vertex\"+\n\010Position\022\t\n\001x\030" - + "\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002B|\n!com.googl" + + "\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002Br\n!com.googl" + "e.cloud.vision.v1p1beta1B\rGeometryProtoP" - + "\001ZCgoogle.golang.org/genproto/googleapis" - + "/cloud/vision/v1p1beta1;vision\370\001\001b\006proto" - + "3" + + "\001Z9cloud.google.com/go/vision/apiv1p1bet" + + "a1/visionpb;visionpb\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java index 6bd7d0d6aeb4..9ca45e2f5092 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/ImageAnnotatorProto.java @@ -285,10 +285,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "equests\032v\312A\025vision.googleapis.com\322A[http" + "s://www.googleapis.com/auth/cloud-platfo" + "rm,https://www.googleapis.com/auth/cloud" - + "-visionB\202\001\n!com.google.cloud.vision.v1p1" - + "beta1B\023ImageAnnotatorProtoP\001ZCgoogle.gol" - + "ang.org/genproto/googleapis/cloud/vision" - + "/v1p1beta1;vision\370\001\001b\006proto3" + + "-visionBx\n!com.google.cloud.vision.v1p1b" + + "eta1B\023ImageAnnotatorProtoP\001Z9cloud.googl" + + "e.com/go/vision/apiv1p1beta1/visionpb;vi" + + "sionpb\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotationProto.java b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotationProto.java index cace968cd62b..e11c9e6d7c4b 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotationProto.java +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/TextAnnotationProto.java @@ -120,10 +120,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "extAnnotation.TextProperty\022A\n\014bounding_b" + "ox\030\002 \001(\0132+.google.cloud.vision.v1p1beta1" + ".BoundingPoly\022\014\n\004text\030\003 \001(\t\022\022\n\nconfidenc" - + "e\030\004 \001(\002B\202\001\n!com.google.cloud.vision.v1p1" - + "beta1B\023TextAnnotationProtoP\001ZCgoogle.gol" - + "ang.org/genproto/googleapis/cloud/vision" - + "/v1p1beta1;vision\370\001\001b\006proto3" + + "e\030\004 \001(\002Bx\n!com.google.cloud.vision.v1p1b" + + "eta1B\023TextAnnotationProtoP\001Z9cloud.googl" + + "e.com/go/vision/apiv1p1beta1/visionpb;vi" + + "sionpb\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionProto.java b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionProto.java index 54784683e98f..8c44fa2df929 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionProto.java +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/java/com/google/cloud/vision/v1p1beta1/WebDetectionProto.java @@ -80,11 +80,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tection.WebImage\022U\n\027partial_matching_ima" + "ges\030\005 \003(\01324.google.cloud.vision.v1p1beta" + "1.WebDetection.WebImage\0320\n\010WebLabel\022\r\n\005l" - + "abel\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB\200\001\n!co" - + "m.google.cloud.vision.v1p1beta1B\021WebDete" - + "ctionProtoP\001ZCgoogle.golang.org/genproto" - + "/googleapis/cloud/vision/v1p1beta1;visio" - + "n\370\001\001b\006proto3" + + "abel\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tBv\n!com" + + ".google.cloud.vision.v1p1beta1B\021WebDetec" + + "tionProtoP\001Z9cloud.google.com/go/vision/" + + "apiv1p1beta1/visionpb;visionpb\370\001\001b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/geometry.proto b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/geometry.proto index 6d46d9c342ec..2fcc14a45347 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/geometry.proto +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/geometry.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.vision.v1p1beta1; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p1beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.vision.v1p1beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto index f66ad504fca9..a4d610392984 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/image_annotator.proto @@ -28,7 +28,7 @@ import "google/type/color.proto"; import "google/type/latlng.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p1beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ImageAnnotatorProto"; option java_package = "com.google.cloud.vision.v1p1beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/text_annotation.proto b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/text_annotation.proto index f85cc44dfd59..feca82bfd549 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/text_annotation.proto +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/text_annotation.proto @@ -19,7 +19,7 @@ package google.cloud.vision.v1p1beta1; import "google/cloud/vision/v1p1beta1/geometry.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p1beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "TextAnnotationProto"; option java_package = "com.google.cloud.vision.v1p1beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/web_detection.proto b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/web_detection.proto index c50e1ad62cc8..13029cbbd172 100644 --- a/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/web_detection.proto +++ b/java-vision/proto-google-cloud-vision-v1p1beta1/src/main/proto/google/cloud/vision/v1p1beta1/web_detection.proto @@ -18,7 +18,7 @@ package google.cloud.vision.v1p1beta1; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p1beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "WebDetectionProto"; option java_package = "com.google.cloud.vision.v1p1beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/pom.xml b/java-vision/proto-google-cloud-vision-v1p2beta1/pom.xml index e97b41606ef8..effe5b51e4ae 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/pom.xml +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p2beta1 - 3.7.0 + 3.8.0 proto-google-cloud-vision-v1p2beta1 PROTO library for proto-google-cloud-vision-v1p2beta1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GeometryProto.java b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GeometryProto.java index be69839830e6..93758d47b079 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GeometryProto.java +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/GeometryProto.java @@ -60,11 +60,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "d.vision.v1p2beta1.Vertex\022L\n\023normalized_" + "vertices\030\002 \003(\0132/.google.cloud.vision.v1p" + "2beta1.NormalizedVertex\"+\n\010Position\022\t\n\001x" - + "\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002B|\n!com.goog" + + "\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002Br\n!com.goog" + "le.cloud.vision.v1p2beta1B\rGeometryProto" - + "P\001ZCgoogle.golang.org/genproto/googleapi" - + "s/cloud/vision/v1p2beta1;vision\370\001\001b\006prot" - + "o3" + + "P\001Z9cloud.google.com/go/vision/apiv1p2be" + + "ta1/visionpb;visionpb\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java index 625320e96b6d..e28191d9991c 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/ImageAnnotatorProto.java @@ -372,11 +372,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tateFilesResponse\022\021OperationMetadata\032v\312A" + "\025vision.googleapis.com\322A[https://www.goo" + "gleapis.com/auth/cloud-platform,https://" - + "www.googleapis.com/auth/cloud-visionB\202\001\n" - + "!com.google.cloud.vision.v1p2beta1B\023Imag" - + "eAnnotatorProtoP\001ZCgoogle.golang.org/gen" - + "proto/googleapis/cloud/vision/v1p2beta1;" - + "vision\370\001\001b\006proto3" + + "www.googleapis.com/auth/cloud-visionBx\n!" + + "com.google.cloud.vision.v1p2beta1B\023Image" + + "AnnotatorProtoP\001Z9cloud.google.com/go/vi" + + "sion/apiv1p2beta1/visionpb;visionpb\370\001\001b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotationProto.java b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotationProto.java index 4b441b8828f1..9e115ba7e4ea 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotationProto.java +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/TextAnnotationProto.java @@ -120,10 +120,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "extAnnotation.TextProperty\022A\n\014bounding_b" + "ox\030\002 \001(\0132+.google.cloud.vision.v1p2beta1" + ".BoundingPoly\022\014\n\004text\030\003 \001(\t\022\022\n\nconfidenc" - + "e\030\004 \001(\002B\202\001\n!com.google.cloud.vision.v1p2" - + "beta1B\023TextAnnotationProtoP\001ZCgoogle.gol" - + "ang.org/genproto/googleapis/cloud/vision" - + "/v1p2beta1;vision\370\001\001b\006proto3" + + "e\030\004 \001(\002Bx\n!com.google.cloud.vision.v1p2b" + + "eta1B\023TextAnnotationProtoP\001Z9cloud.googl" + + "e.com/go/vision/apiv1p2beta1/visionpb;vi" + + "sionpb\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionProto.java b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionProto.java index 1c939d37fd39..ecea3a7b56c0 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionProto.java +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/java/com/google/cloud/vision/v1p2beta1/WebDetectionProto.java @@ -80,11 +80,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tection.WebImage\022U\n\027partial_matching_ima" + "ges\030\005 \003(\01324.google.cloud.vision.v1p2beta" + "1.WebDetection.WebImage\0320\n\010WebLabel\022\r\n\005l" - + "abel\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB\200\001\n!co" - + "m.google.cloud.vision.v1p2beta1B\021WebDete" - + "ctionProtoP\001ZCgoogle.golang.org/genproto" - + "/googleapis/cloud/vision/v1p2beta1;visio" - + "n\370\001\001b\006proto3" + + "abel\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tBv\n!com" + + ".google.cloud.vision.v1p2beta1B\021WebDetec" + + "tionProtoP\001Z9cloud.google.com/go/vision/" + + "apiv1p2beta1/visionpb;visionpb\370\001\001b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/geometry.proto b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/geometry.proto index e9fec20bda76..3b15ba8673ee 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/geometry.proto +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/geometry.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.vision.v1p2beta1; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p2beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.vision.v1p2beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto index 264462d48438..727c0b091245 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/image_annotator.proto @@ -30,7 +30,7 @@ import "google/type/color.proto"; import "google/type/latlng.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p2beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ImageAnnotatorProto"; option java_package = "com.google.cloud.vision.v1p2beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/text_annotation.proto b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/text_annotation.proto index af568194aa8d..dd6e21f5f57e 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/text_annotation.proto +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/text_annotation.proto @@ -19,7 +19,7 @@ package google.cloud.vision.v1p2beta1; import "google/cloud/vision/v1p2beta1/geometry.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p2beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "TextAnnotationProto"; option java_package = "com.google.cloud.vision.v1p2beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/web_detection.proto b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/web_detection.proto index 2decb8596ef2..aa0902d18bf9 100644 --- a/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/web_detection.proto +++ b/java-vision/proto-google-cloud-vision-v1p2beta1/src/main/proto/google/cloud/vision/v1p2beta1/web_detection.proto @@ -18,7 +18,7 @@ package google.cloud.vision.v1p2beta1; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p2beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "WebDetectionProto"; option java_package = "com.google.cloud.vision.v1p2beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/pom.xml b/java-vision/proto-google-cloud-vision-v1p3beta1/pom.xml index 2e2bad00bc19..863ad72959ce 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/pom.xml +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p3beta1 - 0.96.0 + 0.97.0 proto-google-cloud-vision-v1p3beta1 PROTO library for proto-google-cloud-vision-v1p3beta1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/GeometryProto.java b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/GeometryProto.java index ccd4dcd18b6e..8b41e8ba432d 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/GeometryProto.java +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/GeometryProto.java @@ -60,11 +60,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "d.vision.v1p3beta1.Vertex\022L\n\023normalized_" + "vertices\030\002 \003(\0132/.google.cloud.vision.v1p" + "3beta1.NormalizedVertex\"+\n\010Position\022\t\n\001x" - + "\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002B\203\001\n!com.goo" - + "gle.cloud.vision.v1p3beta1B\rGeometryProt" - + "oP\001ZCgoogle.golang.org/genproto/googleap" - + "is/cloud/vision/v1p3beta1;vision\370\001\001\242\002\004GC" - + "VNb\006proto3" + + "\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002By\n!com.goog" + + "le.cloud.vision.v1p3beta1B\rGeometryProto" + + "P\001Z9cloud.google.com/go/vision/apiv1p3be" + + "ta1/visionpb;visionpb\370\001\001\242\002\004GCVNb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorProto.java b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorProto.java index 4de97a5611e2..3eec352f1437 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorProto.java +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ImageAnnotatorProto.java @@ -390,10 +390,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\032v\312A\025vision.googleapis.com\322A[https://www" + ".googleapis.com/auth/cloud-platform,http" + "s://www.googleapis.com/auth/cloud-vision" - + "B\202\001\n!com.google.cloud.vision.v1p3beta1B\023" - + "ImageAnnotatorProtoP\001ZCgoogle.golang.org" - + "/genproto/googleapis/cloud/vision/v1p3be" - + "ta1;vision\370\001\001b\006proto3" + + "Bx\n!com.google.cloud.vision.v1p3beta1B\023I" + + "mageAnnotatorProtoP\001Z9cloud.google.com/g" + + "o/vision/apiv1p3beta1/visionpb;visionpb\370" + + "\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchProto.java b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchProto.java index 5518a1acc4aa..8a8c29aa2e5d 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchProto.java +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchProto.java @@ -84,11 +84,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "on.v1p3beta1.ProductSearchResults.Result" + "\022`\n\022object_annotations\030\003 \003(\0132D.google.cl" + "oud.vision.v1p3beta1.ProductSearchResult" - + "s.ObjectAnnotationB\210\001\n!com.google.cloud." - + "vision.v1p3beta1B\022ProductSearchProtoP\001ZC" - + "google.golang.org/genproto/googleapis/cl" - + "oud/vision/v1p3beta1;vision\370\001\001\242\002\004GCVNb\006p" - + "roto3" + + "s.ObjectAnnotationB~\n!com.google.cloud.v" + + "ision.v1p3beta1B\022ProductSearchProtoP\001Z9c" + + "loud.google.com/go/vision/apiv1p3beta1/v" + + "isionpb;visionpb\370\001\001\242\002\004GCVNb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchServiceProto.java b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchServiceProto.java index 7f363e3478ae..63a8ecf3102e 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchServiceProto.java +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchServiceProto.java @@ -370,10 +370,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tionMetadata\032v\312A\025vision.googleapis.com\322A" + "[https://www.googleapis.com/auth/cloud-p" + "latform,https://www.googleapis.com/auth/" - + "cloud-visionB\210\001\n!com.google.cloud.vision" - + ".v1p3beta1B\031ProductSearchServiceProtoP\001Z" - + "Cgoogle.golang.org/genproto/googleapis/c" - + "loud/vision/v1p3beta1;vision\370\001\001b\006proto3" + + "cloud-visionB~\n!com.google.cloud.vision." + + "v1p3beta1B\031ProductSearchServiceProtoP\001Z9" + + "cloud.google.com/go/vision/apiv1p3beta1/" + + "visionpb;visionpb\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextAnnotationProto.java b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextAnnotationProto.java index 878ecb4e4152..aae621f5e835 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextAnnotationProto.java +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/TextAnnotationProto.java @@ -120,10 +120,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "extAnnotation.TextProperty\022A\n\014bounding_b" + "ox\030\002 \001(\0132+.google.cloud.vision.v1p3beta1" + ".BoundingPoly\022\014\n\004text\030\003 \001(\t\022\022\n\nconfidenc" - + "e\030\004 \001(\002B\202\001\n!com.google.cloud.vision.v1p3" - + "beta1B\023TextAnnotationProtoP\001ZCgoogle.gol" - + "ang.org/genproto/googleapis/cloud/vision" - + "/v1p3beta1;vision\370\001\001b\006proto3" + + "e\030\004 \001(\002Bx\n!com.google.cloud.vision.v1p3b" + + "eta1B\023TextAnnotationProtoP\001Z9cloud.googl" + + "e.com/go/vision/apiv1p3beta1/visionpb;vi" + + "sionpb\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/WebDetectionProto.java b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/WebDetectionProto.java index d2ab1d7c80ba..f3e0ea8b48a4 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/WebDetectionProto.java +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/WebDetectionProto.java @@ -80,11 +80,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tection.WebImage\022U\n\027partial_matching_ima" + "ges\030\005 \003(\01324.google.cloud.vision.v1p3beta" + "1.WebDetection.WebImage\0320\n\010WebLabel\022\r\n\005l" - + "abel\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB\200\001\n!co" - + "m.google.cloud.vision.v1p3beta1B\021WebDete" - + "ctionProtoP\001ZCgoogle.golang.org/genproto" - + "/googleapis/cloud/vision/v1p3beta1;visio" - + "n\370\001\001b\006proto3" + + "abel\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tBv\n!com" + + ".google.cloud.vision.v1p3beta1B\021WebDetec" + + "tionProtoP\001Z9cloud.google.com/go/vision/" + + "apiv1p3beta1/visionpb;visionpb\370\001\001b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/geometry.proto b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/geometry.proto index c2c524fb559a..c3941687e197 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/geometry.proto +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/geometry.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.vision.v1p3beta1; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p3beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.vision.v1p3beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto index ebab14a6b115..16a99afe4946 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/image_annotator.proto @@ -31,7 +31,7 @@ import "google/type/color.proto"; import "google/type/latlng.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p3beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ImageAnnotatorProto"; option java_package = "com.google.cloud.vision.v1p3beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/product_search.proto b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/product_search.proto index 86ea1a064f83..7f311bee610d 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/product_search.proto +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/product_search.proto @@ -22,7 +22,7 @@ import "google/cloud/vision/v1p3beta1/product_search_service.proto"; import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p3beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ProductSearchProto"; option java_package = "com.google.cloud.vision.v1p3beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/product_search_service.proto b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/product_search_service.proto index daf1d0ddc5ec..f0ede6426192 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/product_search_service.proto +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/product_search_service.proto @@ -29,7 +29,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p3beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ProductSearchServiceProto"; option java_package = "com.google.cloud.vision.v1p3beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/text_annotation.proto b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/text_annotation.proto index 633e404ed097..67fa6eb26277 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/text_annotation.proto +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/text_annotation.proto @@ -19,7 +19,7 @@ package google.cloud.vision.v1p3beta1; import "google/cloud/vision/v1p3beta1/geometry.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p3beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "TextAnnotationProto"; option java_package = "com.google.cloud.vision.v1p3beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/web_detection.proto b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/web_detection.proto index 205dfe656d1f..4438893cdc08 100644 --- a/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/web_detection.proto +++ b/java-vision/proto-google-cloud-vision-v1p3beta1/src/main/proto/google/cloud/vision/v1p3beta1/web_detection.proto @@ -18,7 +18,7 @@ package google.cloud.vision.v1p3beta1; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p3beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "WebDetectionProto"; option java_package = "com.google.cloud.vision.v1p3beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/pom.xml b/java-vision/proto-google-cloud-vision-v1p4beta1/pom.xml index 230df6e82f95..cd658bd5906a 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/pom.xml +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vision-v1p4beta1 - 0.96.0 + 0.97.0 proto-google-cloud-vision-v1p4beta1 PROTO library for proto-google-cloud-vision-v1p4beta1 com.google.cloud google-cloud-vision-parent - 3.7.0 + 3.8.0 diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/CelebrityProto.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/CelebrityProto.java index d7626dd3b673..128c5355acc8 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/CelebrityProto.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/CelebrityProto.java @@ -56,11 +56,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "splay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\"h\n" + "\025FaceRecognitionResult\022;\n\tcelebrity\030\001 \001(" + "\0132(.google.cloud.vision.v1p4beta1.Celebr" - + "ity\022\022\n\nconfidence\030\002 \001(\002B\204\001\n!com.google.c" - + "loud.vision.v1p4beta1B\016CelebrityProtoP\001Z" - + "Cgoogle.golang.org/genproto/googleapis/c" - + "loud/vision/v1p4beta1;vision\370\001\001\242\002\004GCVNb\006" - + "proto3" + + "ity\022\022\n\nconfidence\030\002 \001(\002Bz\n!com.google.cl" + + "oud.vision.v1p4beta1B\016CelebrityProtoP\001Z9" + + "cloud.google.com/go/vision/apiv1p4beta1/" + + "visionpb;visionpb\370\001\001\242\002\004GCVNb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/GeometryProto.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/GeometryProto.java index 9beb15f16182..e78fc92d1223 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/GeometryProto.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/GeometryProto.java @@ -60,11 +60,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "d.vision.v1p4beta1.Vertex\022L\n\023normalized_" + "vertices\030\002 \003(\0132/.google.cloud.vision.v1p" + "4beta1.NormalizedVertex\"+\n\010Position\022\t\n\001x" - + "\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002B\203\001\n!com.goo" - + "gle.cloud.vision.v1p4beta1B\rGeometryProt" - + "oP\001ZCgoogle.golang.org/genproto/googleap" - + "is/cloud/vision/v1p4beta1;vision\370\001\001\242\002\004GC" - + "VNb\006proto3" + + "\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002By\n!com.goog" + + "le.cloud.vision.v1p4beta1B\rGeometryProto" + + "P\001Z9cloud.google.com/go/vision/apiv1p4be" + + "ta1/visionpb;visionpb\370\001\001\242\002\004GCVNb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorProto.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorProto.java index ff78024be0a7..4a3a86fd878a 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorProto.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorProto.java @@ -446,11 +446,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\021OperationMetadata\032v\312A\025vision.googleapis" + ".com\322A[https://www.googleapis.com/auth/c" + "loud-platform,https://www.googleapis.com" - + "/auth/cloud-visionB\211\001\n!com.google.cloud." - + "vision.v1p4beta1B\023ImageAnnotatorProtoP\001Z" - + "Cgoogle.golang.org/genproto/googleapis/c" - + "loud/vision/v1p4beta1;vision\370\001\001\242\002\004GCVNb\006" - + "proto3" + + "/auth/cloud-visionB\177\n!com.google.cloud.v" + + "ision.v1p4beta1B\023ImageAnnotatorProtoP\001Z9" + + "cloud.google.com/go/vision/apiv1p4beta1/" + + "visionpb;visionpb\370\001\001\242\002\004GCVNb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchProto.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchProto.java index 37a8754cb83a..41ae2101b16a 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchProto.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchProto.java @@ -84,11 +84,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "on.v1p4beta1.ProductSearchResults.Result" + "\022`\n\022object_annotations\030\003 \003(\0132D.google.cl" + "oud.vision.v1p4beta1.ProductSearchResult" - + "s.ObjectAnnotationB\210\001\n!com.google.cloud." - + "vision.v1p4beta1B\022ProductSearchProtoP\001ZC" - + "google.golang.org/genproto/googleapis/cl" - + "oud/vision/v1p4beta1;vision\370\001\001\242\002\004GCVNb\006p" - + "roto3" + + "s.ObjectAnnotationB~\n!com.google.cloud.v" + + "ision.v1p4beta1B\022ProductSearchProtoP\001Z9c" + + "loud.google.com/go/vision/apiv1p4beta1/v" + + "isionpb;visionpb\370\001\001\242\002\004GCVNb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchServiceProto.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchServiceProto.java index 1e9331c31988..885e9918b256 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchServiceProto.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ProductSearchServiceProto.java @@ -391,10 +391,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "adata\032v\312A\025vision.googleapis.com\322A[https:" + "//www.googleapis.com/auth/cloud-platform" + ",https://www.googleapis.com/auth/cloud-v" - + "isionB\217\001\n!com.google.cloud.vision.v1p4be" - + "ta1B\031ProductSearchServiceProtoP\001ZCgoogle" - + ".golang.org/genproto/googleapis/cloud/vi" - + "sion/v1p4beta1;vision\370\001\001\242\002\004GCVNb\006proto3" + + "isionB\205\001\n!com.google.cloud.vision.v1p4be" + + "ta1B\031ProductSearchServiceProtoP\001Z9cloud." + + "google.com/go/vision/apiv1p4beta1/vision" + + "pb;visionpb\370\001\001\242\002\004GCVNb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextAnnotationProto.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextAnnotationProto.java index 580b7dde94b3..9d6d54f14707 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextAnnotationProto.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/TextAnnotationProto.java @@ -120,10 +120,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "extAnnotation.TextProperty\022A\n\014bounding_b" + "ox\030\002 \001(\0132+.google.cloud.vision.v1p4beta1" + ".BoundingPoly\022\014\n\004text\030\003 \001(\t\022\022\n\nconfidenc" - + "e\030\004 \001(\002B\211\001\n!com.google.cloud.vision.v1p4" - + "beta1B\023TextAnnotationProtoP\001ZCgoogle.gol" - + "ang.org/genproto/googleapis/cloud/vision" - + "/v1p4beta1;vision\370\001\001\242\002\004GCVNb\006proto3" + + "e\030\004 \001(\002B\177\n!com.google.cloud.vision.v1p4b" + + "eta1B\023TextAnnotationProtoP\001Z9cloud.googl" + + "e.com/go/vision/apiv1p4beta1/visionpb;vi" + + "sionpb\370\001\001\242\002\004GCVNb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/WebDetectionProto.java b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/WebDetectionProto.java index 0e0dd53408cb..55aabee597d9 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/WebDetectionProto.java +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/WebDetectionProto.java @@ -80,11 +80,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "tection.WebImage\022U\n\027partial_matching_ima" + "ges\030\005 \003(\01324.google.cloud.vision.v1p4beta" + "1.WebDetection.WebImage\0320\n\010WebLabel\022\r\n\005l" - + "abel\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB\207\001\n!co" - + "m.google.cloud.vision.v1p4beta1B\021WebDete" - + "ctionProtoP\001ZCgoogle.golang.org/genproto" - + "/googleapis/cloud/vision/v1p4beta1;visio" - + "n\370\001\001\242\002\004GCVNb\006proto3" + + "abel\030\001 \001(\t\022\025\n\rlanguage_code\030\002 \001(\tB}\n!com" + + ".google.cloud.vision.v1p4beta1B\021WebDetec" + + "tionProtoP\001Z9cloud.google.com/go/vision/" + + "apiv1p4beta1/visionpb;visionpb\370\001\001\242\002\004GCVN" + + "b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/face.proto b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/face.proto index d2ab72f0cded..334ef5d65b29 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/face.proto +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/face.proto @@ -20,7 +20,7 @@ package google.cloud.vision.v1p4beta1; import "google/cloud/vision/v1p4beta1/geometry.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p4beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "CelebrityProto"; option java_package = "com.google.cloud.vision.v1p4beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/geometry.proto b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/geometry.proto index 877fd8972dfe..d03db990b67b 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/geometry.proto +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/geometry.proto @@ -19,7 +19,7 @@ package google.cloud.vision.v1p4beta1; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p4beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.vision.v1p4beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto index cc7836974588..3a37ce128c9e 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/image_annotator.proto @@ -32,7 +32,7 @@ import "google/type/color.proto"; import "google/type/latlng.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p4beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ImageAnnotatorProto"; option java_package = "com.google.cloud.vision.v1p4beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/product_search.proto b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/product_search.proto index ebb428acc800..060fd2a84062 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/product_search.proto +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/product_search.proto @@ -23,7 +23,7 @@ import "google/cloud/vision/v1p4beta1/product_search_service.proto"; import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p4beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ProductSearchProto"; option java_package = "com.google.cloud.vision.v1p4beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/product_search_service.proto b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/product_search_service.proto index df7bc7a38a4d..5e50202fcd49 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/product_search_service.proto +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/product_search_service.proto @@ -29,7 +29,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p4beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ProductSearchServiceProto"; option java_package = "com.google.cloud.vision.v1p4beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/text_annotation.proto b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/text_annotation.proto index 233c4c689e4f..7e6afb1ee898 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/text_annotation.proto +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/text_annotation.proto @@ -20,7 +20,7 @@ package google.cloud.vision.v1p4beta1; import "google/cloud/vision/v1p4beta1/geometry.proto"; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p4beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "TextAnnotationProto"; option java_package = "com.google.cloud.vision.v1p4beta1"; diff --git a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/web_detection.proto b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/web_detection.proto index 7d716570f45d..713474e38645 100644 --- a/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/web_detection.proto +++ b/java-vision/proto-google-cloud-vision-v1p4beta1/src/main/proto/google/cloud/vision/v1p4beta1/web_detection.proto @@ -19,7 +19,7 @@ package google.cloud.vision.v1p4beta1; option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1;vision"; +option go_package = "cloud.google.com/go/vision/apiv1p4beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "WebDetectionProto"; option java_package = "com.google.cloud.vision.v1p4beta1"; diff --git a/java-vmmigration/README.md b/java-vmmigration/README.md index 4207db2afad0..892bc6179a9e 100644 --- a/java-vmmigration/README.md +++ b/java-vmmigration/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-vmmigration - 1.8.0 + 1.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vmmigration:1.8.0' +implementation 'com.google.cloud:google-cloud-vmmigration:1.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.9.0" ``` ## Authentication diff --git a/java-vmmigration/google-cloud-vmmigration-bom/pom.xml b/java-vmmigration/google-cloud-vmmigration-bom/pom.xml index 19852f925e7c..d968200f0538 100644 --- a/java-vmmigration/google-cloud-vmmigration-bom/pom.xml +++ b/java-vmmigration/google-cloud-vmmigration-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-vmmigration-bom - 1.9.0 + 1.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-vmmigration - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-vmmigration-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-vmmigration-v1 - 1.9.0 + 1.10.0 diff --git a/java-vmmigration/google-cloud-vmmigration/pom.xml b/java-vmmigration/google-cloud-vmmigration/pom.xml index 0c5394a74a11..017fbd8b63ac 100644 --- a/java-vmmigration/google-cloud-vmmigration/pom.xml +++ b/java-vmmigration/google-cloud-vmmigration/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-vmmigration - 1.9.0 + 1.10.0 jar Google VM Migration VM Migration helps customers migrating VMs to GCP at no additional cost, as well as an extensive ecosystem of partners to help with discovery and assessment, planning, migration, special use cases, and more. com.google.cloud google-cloud-vmmigration-parent - 1.9.0 + 1.10.0 google-cloud-vmmigration diff --git a/java-vmmigration/grpc-google-cloud-vmmigration-v1/pom.xml b/java-vmmigration/grpc-google-cloud-vmmigration-v1/pom.xml index 853832269601..10dae765b2dc 100644 --- a/java-vmmigration/grpc-google-cloud-vmmigration-v1/pom.xml +++ b/java-vmmigration/grpc-google-cloud-vmmigration-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vmmigration-v1 - 1.9.0 + 1.10.0 grpc-google-cloud-vmmigration-v1 GRPC library for google-cloud-vmmigration com.google.cloud google-cloud-vmmigration-parent - 1.9.0 + 1.10.0 diff --git a/java-vmmigration/pom.xml b/java-vmmigration/pom.xml index a3184161aaaf..226391fab743 100644 --- a/java-vmmigration/pom.xml +++ b/java-vmmigration/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-vmmigration-parent pom - 1.9.0 + 1.10.0 Google VM Migration Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-vmmigration - 1.9.0 + 1.10.0 com.google.api.grpc grpc-google-cloud-vmmigration-v1 - 1.9.0 + 1.10.0 com.google.api.grpc proto-google-cloud-vmmigration-v1 - 1.9.0 + 1.10.0 diff --git a/java-vmmigration/proto-google-cloud-vmmigration-v1/pom.xml b/java-vmmigration/proto-google-cloud-vmmigration-v1/pom.xml index 4e600dea27f1..ddf672249652 100644 --- a/java-vmmigration/proto-google-cloud-vmmigration-v1/pom.xml +++ b/java-vmmigration/proto-google-cloud-vmmigration-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vmmigration-v1 - 1.9.0 + 1.10.0 proto-google-cloud-vmmigration-v1 Proto library for google-cloud-vmmigration com.google.cloud google-cloud-vmmigration-parent - 1.9.0 + 1.10.0 diff --git a/java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java b/java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java index 45113f502307..8e1a60fad3ed 100644 --- a/java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java +++ b/java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java @@ -1414,12 +1414,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gratingVms/*/replicationCycles/*}\332A\004name" + "\032N\312A\032vmmigration.googleapis.com\322A.https:" + "//www.googleapis.com/auth/cloud-platform" - + "B\332\001\n\037com.google.cloud.vmmigration.v1B\020Vm" - + "MigrationProtoP\001ZFgoogle.golang.org/genp" - + "roto/googleapis/cloud/vmmigration/v1;vmm" - + "igration\252\002\033Google.Cloud.VMMigration.V1\312\002" - + "\033Google\\Cloud\\VMMigration\\V1\352\002\036Google::C" - + "loud::VMMigration::V1b\006proto3" + + "B\325\001\n\037com.google.cloud.vmmigration.v1B\020Vm" + + "MigrationProtoP\001ZAcloud.google.com/go/vm" + + "migration/apiv1/vmmigrationpb;vmmigratio" + + "npb\252\002\033Google.Cloud.VMMigration.V1\312\002\033Goog" + + "le\\Cloud\\VMMigration\\V1\352\002\036Google::Cloud:" + + ":VMMigration::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto b/java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto index 00dd86b05f45..35c6f36d002e 100644 --- a/java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto +++ b/java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/proto/google/cloud/vmmigration/v1/vmmigration.proto @@ -28,7 +28,7 @@ import "google/rpc/error_details.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.VMMigration.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/vmmigration/v1;vmmigration"; +option go_package = "cloud.google.com/go/vmmigration/apiv1/vmmigrationpb;vmmigrationpb"; option java_multiple_files = true; option java_outer_classname = "VmMigrationProto"; option java_package = "com.google.cloud.vmmigration.v1"; diff --git a/java-vmwareengine/README.md b/java-vmwareengine/README.md index 8a4d4ae9d65a..6b2ac412e3f0 100644 --- a/java-vmwareengine/README.md +++ b/java-vmwareengine/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-vmwareengine - 0.2.0 + 0.3.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vmwareengine:0.2.0' +implementation 'com.google.cloud:google-cloud-vmwareengine:0.3.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.3.0" ``` ## Authentication diff --git a/java-vmwareengine/google-cloud-vmwareengine-bom/pom.xml b/java-vmwareengine/google-cloud-vmwareengine-bom/pom.xml index 162ed22eb814..ffb3e32873d5 100644 --- a/java-vmwareengine/google-cloud-vmwareengine-bom/pom.xml +++ b/java-vmwareengine/google-cloud-vmwareengine-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-vmwareengine-bom - 0.3.0 + 0.4.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-vmwareengine - 0.3.0 + 0.4.0 com.google.api.grpc grpc-google-cloud-vmwareengine-v1 - 0.3.0 + 0.4.0 com.google.api.grpc proto-google-cloud-vmwareengine-v1 - 0.3.0 + 0.4.0 diff --git a/java-vmwareengine/google-cloud-vmwareengine/pom.xml b/java-vmwareengine/google-cloud-vmwareengine/pom.xml index 0d06a53951cc..32d1ac5a7bef 100644 --- a/java-vmwareengine/google-cloud-vmwareengine/pom.xml +++ b/java-vmwareengine/google-cloud-vmwareengine/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-vmwareengine - 0.3.0 + 0.4.0 jar Google Google Cloud VMware Engine Google Cloud VMware Engine Easily lift and shift your VMware-based applications to Google Cloud without changes to your apps, tools, or processes. com.google.cloud google-cloud-vmwareengine-parent - 0.3.0 + 0.4.0 google-cloud-vmwareengine diff --git a/java-vmwareengine/grpc-google-cloud-vmwareengine-v1/pom.xml b/java-vmwareengine/grpc-google-cloud-vmwareengine-v1/pom.xml index 6773f491a0d9..e36d59857d6d 100644 --- a/java-vmwareengine/grpc-google-cloud-vmwareengine-v1/pom.xml +++ b/java-vmwareengine/grpc-google-cloud-vmwareengine-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vmwareengine-v1 - 0.3.0 + 0.4.0 grpc-google-cloud-vmwareengine-v1 GRPC library for google-cloud-vmwareengine com.google.cloud google-cloud-vmwareengine-parent - 0.3.0 + 0.4.0 diff --git a/java-vmwareengine/pom.xml b/java-vmwareengine/pom.xml index 453ec6c7e4ed..e3d02ee6e5e4 100644 --- a/java-vmwareengine/pom.xml +++ b/java-vmwareengine/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-vmwareengine-parent pom - 0.3.0 + 0.4.0 Google Google Cloud VMware Engine Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-vmwareengine - 0.3.0 + 0.4.0 com.google.api.grpc grpc-google-cloud-vmwareengine-v1 - 0.3.0 + 0.4.0 com.google.api.grpc proto-google-cloud-vmwareengine-v1 - 0.3.0 + 0.4.0 diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/pom.xml b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/pom.xml index 62ce9d5c3b36..ca3495e840d5 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/pom.xml +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vmwareengine-v1 - 0.3.0 + 0.4.0 proto-google-cloud-vmwareengine-v1 Proto library for google-cloud-vmwareengine com.google.cloud google-cloud-vmwareengine-parent - 0.3.0 + 0.4.0 diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Cluster.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Cluster.java index 91e5f8ea3853..31dc7b5827b2 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Cluster.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Cluster.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -55,7 +55,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor; } @@ -73,7 +73,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Cluster.class, @@ -583,7 +583,7 @@ private static final class NodeTypeConfigsDefaultEntryHolder { com.google.protobuf.MapEntry . newDefaultInstance( - com.google.cloud.vmwareengine.v1.VmwareengineProto + com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", @@ -948,7 +948,7 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.Cluster) com.google.cloud.vmwareengine.v1.ClusterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor; } @@ -975,7 +975,7 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Cluster.class, @@ -1013,7 +1013,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/ClusterOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/ClusterOrBuilder.java index 15fbffb0810e..eec45b04c993 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/ClusterOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/ClusterOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Credentials.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Credentials.java index 936335972388..90984a954b74 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Credentials.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Credentials.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -54,14 +54,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Credentials_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Credentials_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Credentials.class, @@ -352,14 +352,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.Credentials) com.google.cloud.vmwareengine.v1.CredentialsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Credentials_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Credentials_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Credentials.class, @@ -384,7 +384,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Credentials_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/CredentialsOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/CredentialsOrBuilder.java index 1cfa601bfdbd..9fe45a09d37d 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/CredentialsOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/CredentialsOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Hcx.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Hcx.java index 1ea48b3b019b..baca97fda82a 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Hcx.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Hcx.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -56,14 +56,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Hcx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Hcx_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Hcx.class, @@ -617,14 +617,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.Hcx) com.google.cloud.vmwareengine.v1.HcxOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Hcx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Hcx_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Hcx.class, @@ -651,7 +651,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Hcx_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxActivationKey.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxActivationKey.java index c6b70d01d61c..b447056fffa9 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxActivationKey.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxActivationKey.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -63,14 +63,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.HcxActivationKey.class, @@ -732,14 +732,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.HcxActivationKey) com.google.cloud.vmwareengine.v1.HcxActivationKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.HcxActivationKey.class, @@ -771,7 +771,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxActivationKeyOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxActivationKeyOrBuilder.java index 7767f469bfc3..149616541ec7 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxActivationKeyOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxActivationKeyOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxOrBuilder.java index 250cfbfa6e60..f2e830f13803 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/HcxOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkConfig.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkConfig.java index 848d46700841..c0ce0d726a9f 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkConfig.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkConfig.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -56,14 +56,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NetworkConfig.class, @@ -473,14 +473,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.NetworkConfig) com.google.cloud.vmwareengine.v1.NetworkConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NetworkConfig.class, @@ -507,7 +507,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkConfig_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkConfigOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkConfigOrBuilder.java index 15fec51ce2fe..8134a6d9c0be 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkConfigOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkConfigOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicy.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicy.java index 5cc487f8076e..d7c01c37b958 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicy.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicy.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -63,14 +63,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NetworkPolicy.class, @@ -165,14 +165,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.class, @@ -615,14 +615,14 @@ public static final class Builder // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService) com.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkServiceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.class, @@ -647,7 +647,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_descriptor; } @@ -1853,14 +1853,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.NetworkPolicy) com.google.cloud.vmwareengine.v1.NetworkPolicyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NetworkPolicy.class, @@ -1909,7 +1909,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicyOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicyOrBuilder.java index b7b2cb79d2e6..809d6b10ad57 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicyOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicyOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeType.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeType.java index ffe6ef962310..458d2952fa5b 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeType.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeType.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -56,14 +56,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeType_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NodeType.class, @@ -619,14 +619,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.NodeType) com.google.cloud.vmwareengine.v1.NodeTypeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeType_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeType_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NodeType.class, @@ -657,7 +657,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeType_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeConfig.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeConfig.java index ced80a3f248c..258e80321fb5 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeConfig.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeConfig.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -51,14 +51,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NodeTypeConfig.class, @@ -286,14 +286,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.NodeTypeConfig) com.google.cloud.vmwareengine.v1.NodeTypeConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.NodeTypeConfig.class, @@ -318,7 +318,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeConfigOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeConfigOrBuilder.java index 6ae22c9308ac..66443a49cde8 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeConfigOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeConfigOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeOrBuilder.java index ddeb49269ea2..8a473b8605f3 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NodeTypeOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Nsx.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Nsx.java index d1227be1e40e..5216d4f45617 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Nsx.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Nsx.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -56,14 +56,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Nsx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Nsx_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Nsx.class, @@ -617,14 +617,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.Nsx) com.google.cloud.vmwareengine.v1.NsxOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Nsx_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Nsx_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Nsx.class, @@ -651,7 +651,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Nsx_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NsxOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NsxOrBuilder.java index 4d5bf29e89b3..900581d4194a 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NsxOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NsxOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PrivateCloud.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PrivateCloud.java index 47fb99b008b8..cf6c3907a201 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PrivateCloud.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PrivateCloud.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -56,14 +56,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.PrivateCloud.class, @@ -473,7 +473,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor; } @@ -491,7 +491,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster.class, @@ -572,7 +572,7 @@ private static final class NodeTypeConfigsDefaultEntryHolder { com.google.protobuf.MapEntry . newDefaultInstance( - com.google.cloud.vmwareengine.v1.VmwareengineProto + com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", @@ -888,7 +888,7 @@ public static final class Builder // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster) com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementClusterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor; } @@ -915,7 +915,7 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster.class, @@ -941,7 +941,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor; } @@ -1874,7 +1874,7 @@ public com.google.cloud.vmwareengine.v1.NetworkConfigOrBuilder getNetworkConfigO * * *

      -   * Input only. The management cluster for this private cloud.
      +   * Required. Input only. The management cluster for this private cloud.
          * This field is required during creation of the private cloud to provide
          * details for the default cluster.
          * The following fields can't be changed after private cloud creation:
      @@ -1882,7 +1882,7 @@ public com.google.cloud.vmwareengine.v1.NetworkConfigOrBuilder getNetworkConfigO
          * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * * * @return Whether the managementCluster field is set. @@ -1895,7 +1895,7 @@ public boolean hasManagementCluster() { * * *
      -   * Input only. The management cluster for this private cloud.
      +   * Required. Input only. The management cluster for this private cloud.
          * This field is required during creation of the private cloud to provide
          * details for the default cluster.
          * The following fields can't be changed after private cloud creation:
      @@ -1903,7 +1903,7 @@ public boolean hasManagementCluster() {
          * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * * * @return The managementCluster. @@ -1918,7 +1918,7 @@ public com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster getManage * * *
      -   * Input only. The management cluster for this private cloud.
      +   * Required. Input only. The management cluster for this private cloud.
          * This field is required during creation of the private cloud to provide
          * details for the default cluster.
          * The following fields can't be changed after private cloud creation:
      @@ -1926,7 +1926,7 @@ public com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster getManage
          * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ @java.lang.Override @@ -2521,14 +2521,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.PrivateCloud) com.google.cloud.vmwareengine.v1.PrivateCloudOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.PrivateCloud.class, @@ -2600,7 +2600,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor; } @@ -4140,7 +4140,7 @@ public com.google.cloud.vmwareengine.v1.NetworkConfigOrBuilder getNetworkConfigO * * *
      -     * Input only. The management cluster for this private cloud.
      +     * Required. Input only. The management cluster for this private cloud.
            * This field is required during creation of the private cloud to provide
            * details for the default cluster.
            * The following fields can't be changed after private cloud creation:
      @@ -4148,7 +4148,7 @@ public com.google.cloud.vmwareengine.v1.NetworkConfigOrBuilder getNetworkConfigO
            * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * * * @return Whether the managementCluster field is set. @@ -4160,7 +4160,7 @@ public boolean hasManagementCluster() { * * *
      -     * Input only. The management cluster for this private cloud.
      +     * Required. Input only. The management cluster for this private cloud.
            * This field is required during creation of the private cloud to provide
            * details for the default cluster.
            * The following fields can't be changed after private cloud creation:
      @@ -4168,7 +4168,7 @@ public boolean hasManagementCluster() {
            * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * * * @return The managementCluster. @@ -4186,7 +4186,7 @@ public com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster getManage * * *
      -     * Input only. The management cluster for this private cloud.
      +     * Required. Input only. The management cluster for this private cloud.
            * This field is required during creation of the private cloud to provide
            * details for the default cluster.
            * The following fields can't be changed after private cloud creation:
      @@ -4194,7 +4194,7 @@ public com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster getManage
            * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ public Builder setManagementCluster( @@ -4215,7 +4215,7 @@ public Builder setManagementCluster( * * *
      -     * Input only. The management cluster for this private cloud.
      +     * Required. Input only. The management cluster for this private cloud.
            * This field is required during creation of the private cloud to provide
            * details for the default cluster.
            * The following fields can't be changed after private cloud creation:
      @@ -4223,7 +4223,7 @@ public Builder setManagementCluster(
            * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ public Builder setManagementCluster( @@ -4241,7 +4241,7 @@ public Builder setManagementCluster( * * *
      -     * Input only. The management cluster for this private cloud.
      +     * Required. Input only. The management cluster for this private cloud.
            * This field is required during creation of the private cloud to provide
            * details for the default cluster.
            * The following fields can't be changed after private cloud creation:
      @@ -4249,7 +4249,7 @@ public Builder setManagementCluster(
            * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ public Builder mergeManagementCluster( @@ -4275,7 +4275,7 @@ public Builder mergeManagementCluster( * * *
      -     * Input only. The management cluster for this private cloud.
      +     * Required. Input only. The management cluster for this private cloud.
            * This field is required during creation of the private cloud to provide
            * details for the default cluster.
            * The following fields can't be changed after private cloud creation:
      @@ -4283,7 +4283,7 @@ public Builder mergeManagementCluster(
            * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ public Builder clearManagementCluster() { @@ -4300,7 +4300,7 @@ public Builder clearManagementCluster() { * * *
      -     * Input only. The management cluster for this private cloud.
      +     * Required. Input only. The management cluster for this private cloud.
            * This field is required during creation of the private cloud to provide
            * details for the default cluster.
            * The following fields can't be changed after private cloud creation:
      @@ -4308,7 +4308,7 @@ public Builder clearManagementCluster() {
            * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ public com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster.Builder @@ -4321,7 +4321,7 @@ public Builder clearManagementCluster() { * * *
      -     * Input only. The management cluster for this private cloud.
      +     * Required. Input only. The management cluster for this private cloud.
            * This field is required during creation of the private cloud to provide
            * details for the default cluster.
            * The following fields can't be changed after private cloud creation:
      @@ -4329,7 +4329,7 @@ public Builder clearManagementCluster() {
            * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ public com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementClusterOrBuilder @@ -4346,7 +4346,7 @@ public Builder clearManagementCluster() { * * *
      -     * Input only. The management cluster for this private cloud.
      +     * Required. Input only. The management cluster for this private cloud.
            * This field is required during creation of the private cloud to provide
            * details for the default cluster.
            * The following fields can't be changed after private cloud creation:
      @@ -4354,7 +4354,7 @@ public Builder clearManagementCluster() {
            * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PrivateCloudOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PrivateCloudOrBuilder.java index cad947b67939..b3cc35ce993e 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PrivateCloudOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/PrivateCloudOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -284,7 +284,7 @@ public interface PrivateCloudOrBuilder * * *
      -   * Input only. The management cluster for this private cloud.
      +   * Required. Input only. The management cluster for this private cloud.
          * This field is required during creation of the private cloud to provide
          * details for the default cluster.
          * The following fields can't be changed after private cloud creation:
      @@ -292,7 +292,7 @@ public interface PrivateCloudOrBuilder
          * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * * * @return Whether the managementCluster field is set. @@ -302,7 +302,7 @@ public interface PrivateCloudOrBuilder * * *
      -   * Input only. The management cluster for this private cloud.
      +   * Required. Input only. The management cluster for this private cloud.
          * This field is required during creation of the private cloud to provide
          * details for the default cluster.
          * The following fields can't be changed after private cloud creation:
      @@ -310,7 +310,7 @@ public interface PrivateCloudOrBuilder
          * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * * * @return The managementCluster. @@ -320,7 +320,7 @@ public interface PrivateCloudOrBuilder * * *
      -   * Input only. The management cluster for this private cloud.
      +   * Required. Input only. The management cluster for this private cloud.
          * This field is required during creation of the private cloud to provide
          * details for the default cluster.
          * The following fields can't be changed after private cloud creation:
      @@ -328,7 +328,7 @@ public interface PrivateCloudOrBuilder
          * 
      * * - * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * .google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster management_cluster = 10 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; * */ com.google.cloud.vmwareengine.v1.PrivateCloud.ManagementClusterOrBuilder diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Subnet.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Subnet.java index 2bc7da3c6fc7..d0eb95c8bbbe 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Subnet.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Subnet.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -58,14 +58,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Subnet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Subnet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Subnet.class, @@ -737,14 +737,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.Subnet) com.google.cloud.vmwareengine.v1.SubnetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Subnet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Subnet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Subnet.class, @@ -772,7 +772,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Subnet_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/SubnetOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/SubnetOrBuilder.java index a1015d2e7fe7..2a5817c37662 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/SubnetOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/SubnetOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Vcenter.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Vcenter.java index 8a9ca11b0009..e6368720d080 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Vcenter.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/Vcenter.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -56,14 +56,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Vcenter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Vcenter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Vcenter.class, @@ -618,14 +618,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.Vcenter) com.google.cloud.vmwareengine.v1.VcenterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Vcenter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Vcenter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.Vcenter.class, @@ -652,7 +652,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_Vcenter_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VcenterOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VcenterOrBuilder.java index 539463f3a0db..a3113eb6afe4 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VcenterOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VcenterOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineNetwork.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineNetwork.java index 0a16cffc460e..bccb15bd76c3 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineNetwork.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineNetwork.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; @@ -60,14 +60,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.VmwareEngineNetwork.class, @@ -524,14 +524,14 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.class, @@ -1021,14 +1021,14 @@ public static final class Builder // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork) com.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetworkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.class, @@ -1054,7 +1054,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_descriptor; } @@ -2268,14 +2268,14 @@ public static final class Builder extends com.google.protobuf.GeneratedMessageV3 // @@protoc_insertion_point(builder_implements:google.cloud.vmwareengine.v1.VmwareEngineNetwork) com.google.cloud.vmwareengine.v1.VmwareEngineNetworkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.vmwareengine.v1.VmwareEngineNetwork.class, @@ -2321,7 +2321,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.vmwareengine.v1.VmwareengineProto + return com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto .internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor; } diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineNetworkOrBuilder.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineNetworkOrBuilder.java index fe01a46c1468..c4c7198be5f7 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineNetworkOrBuilder.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineNetworkOrBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/vmwareengine/v1/vmwareengine.proto +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto package com.google.cloud.vmwareengine.v1; diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareengineProto.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareengineProto.java index d8fc9b82a390..fda1f6bf5341 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareengineProto.java +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareengineProto.java @@ -27,26 +27,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_NetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_vmwareengine_v1_ListPrivateCloudsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -75,14 +55,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_vmwareengine_v1_UndeletePrivateCloudRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_vmwareengine_v1_UndeletePrivateCloudRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_vmwareengine_v1_ListClustersRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -107,10 +79,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_vmwareengine_v1_DeleteClusterRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_vmwareengine_v1_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_Subnet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_Subnet_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_vmwareengine_v1_ListSubnetsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -123,10 +91,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_vmwareengine_v1_OperationMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_vmwareengine_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_NodeType_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_NodeType_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_vmwareengine_v1_ListNodeTypesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -139,10 +103,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_vmwareengine_v1_GetNodeTypeRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_vmwareengine_v1_GetNodeTypeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_Credentials_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_Credentials_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_vmwareengine_v1_ShowNsxCredentialsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -163,10 +123,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_vmwareengine_v1_ListHcxActivationKeysResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_vmwareengine_v1_ListHcxActivationKeysResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_vmwareengine_v1_ListHcxActivationKeysRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -179,26 +135,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_vmwareengine_v1_CreateHcxActivationKeyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_vmwareengine_v1_CreateHcxActivationKeyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_Hcx_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_Hcx_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_Nsx_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_Nsx_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_Vcenter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_Vcenter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_vmwareengine_v1_ListNetworkPoliciesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -223,14 +159,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_vmwareengine_v1_DeleteNetworkPolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_vmwareengine_v1_DeleteNetworkPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_vmwareengine_v1_CreateVmwareEngineNetworkRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -268,496 +196,351 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ine.proto\022\034google.cloud.vmwareengine.v1\032" + "\034google/api/annotations.proto\032\027google/ap" + "i/client.proto\032\037google/api/field_behavio" - + "r.proto\032\031google/api/resource.proto\032#goog" - + "le/longrunning/operations.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\232\002\n\rNetworkConfig\022\034\n\017" - + "management_cidr\030\004 \001(\tB\003\340A\002\022V\n\025vmware_eng" - + "ine_network\030\005 \001(\tB7\340A\001\372A1\n/vmwareengine." - + "googleapis.com/VmwareEngineNetwork\022`\n\037vm" - + "ware_engine_network_canonical\030\006 \001(\tB7\340A\003" - + "\372A1\n/vmwareengine.googleapis.com/VmwareE" - + "ngineNetwork\0221\n$management_ip_address_la" - + "yout_version\030\010 \001(\005B\003\340A\003\"I\n\016NodeTypeConfi" - + "g\022\027\n\nnode_count\030\001 \001(\005B\003\340A\002\022\036\n\021custom_cor" - + "e_count\030\002 \001(\005B\003\340A\001\"\242\t\n\014PrivateCloud\022\021\n\004n" - + "ame\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\003\340A\003\0224\n\013update_t" - + "ime\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340" - + "A\003\0224\n\013delete_time\030\004 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\0224\n\013expire_time\030\005 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\022D\n\005state\030" - + "\010 \001(\01620.google.cloud.vmwareengine.v1.Pri" - + "vateCloud.StateB\003\340A\003\022H\n\016network_config\030\t" - + " \001(\0132+.google.cloud.vmwareengine.v1.Netw" - + "orkConfigB\003\340A\002\022]\n\022management_cluster\030\n \001" - + "(\0132<.google.cloud.vmwareengine.v1.Privat" - + "eCloud.ManagementClusterB\003\340A\004\022\023\n\013descrip" - + "tion\030\013 \001(\t\0223\n\003hcx\030\021 \001(\0132!.google.cloud.v" - + "mwareengine.v1.HcxB\003\340A\003\0223\n\003nsx\030\022 \001(\0132!.g" - + "oogle.cloud.vmwareengine.v1.NsxB\003\340A\003\022;\n\007" - + "vcenter\030\023 \001(\0132%.google.cloud.vmwareengin" - + "e.v1.VcenterB\003\340A\003\022\020\n\003uid\030\024 \001(\tB\003\340A\003\032\205\002\n\021" - + "ManagementCluster\022\027\n\ncluster_id\030\001 \001(\tB\003\340" - + "A\002\022q\n\021node_type_configs\030\007 \003(\0132Q.google.c" - + "loud.vmwareengine.v1.PrivateCloud.Manage" - + "mentCluster.NodeTypeConfigsEntryB\003\340A\002\032d\n" - + "\024NodeTypeConfigsEntry\022\013\n\003key\030\001 \001(\t\022;\n\005va" - + "lue\030\002 \001(\0132,.google.cloud.vmwareengine.v1" - + ".NodeTypeConfig:\0028\001\"l\n\005State\022\025\n\021STATE_UN" - + "SPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010CREATING\020\002\022\014\n" - + "\010UPDATING\020\003\022\n\n\006FAILED\020\005\022\013\n\007DELETED\020\006\022\013\n\007" - + "PURGING\020\007:t\352Aq\n(vmwareengine.googleapis." - + "com/PrivateCloud\022Eprojects/{project}/loc" - + "ations/{location}/privateClouds/{private" - + "_cloud}\"\236\001\n\030ListPrivateCloudsRequest\0229\n\006" - + "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap" - + "is.com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_" - + "by\030\005 \001(\t\"\215\001\n\031ListPrivateCloudsResponse\022B" - + "\n\016private_clouds\030\001 \003(\0132*.google.cloud.vm" - + "wareengine.v1.PrivateCloud\022\027\n\017next_page_" - + "token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"X\n\026GetP" - + "rivateCloudRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*" - + "\n(vmwareengine.googleapis.com/PrivateClo" - + "ud\"\362\001\n\031CreatePrivateCloudRequest\0229\n\006pare" - + "nt\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.c" - + "om/Location\022\035\n\020private_cloud_id\030\002 \001(\tB\003\340" - + "A\002\022F\n\rprivate_cloud\030\003 \001(\0132*.google.cloud" - + ".vmwareengine.v1.PrivateCloudB\003\340A\002\022\027\n\nre" - + "quest_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001" - + "(\010B\003\340A\001\"\262\001\n\031UpdatePrivateCloudRequest\022F\n" - + "\rprivate_cloud\030\001 \001(\0132*.google.cloud.vmwa" - + "reengine.v1.PrivateCloudB\003\340A\002\0224\n\013update_" - + "mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003" - + "\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"\267\001\n\031DeleteP" - + "rivateCloudRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*" - + "\n(vmwareengine.googleapis.com/PrivateClo" - + "ud\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\022\022\n\005force\030\003 \001" - + "(\010B\003\340A\001\022\035\n\013delay_hours\030\004 \001(\005B\003\340A\001H\000\210\001\001B\016" - + "\n\014_delay_hours\"v\n\033UndeletePrivateCloudRe" - + "quest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(vmwareengin" - + "e.googleapis.com/PrivateCloud\022\027\n\nrequest" - + "_id\030\002 \001(\tB\003\340A\001\"\240\005\n\007Cluster\022\021\n\004name\030\001 \001(\t" - + "B\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\022?\n\005sta" - + "te\030\006 \001(\0162+.google.cloud.vmwareengine.v1." - + "Cluster.StateB\003\340A\003\022\027\n\nmanagement\030\007 \001(\010B\003" - + "\340A\003\022\020\n\003uid\030\016 \001(\tB\003\340A\003\022Z\n\021node_type_confi" - + "gs\030\020 \003(\0132:.google.cloud.vmwareengine.v1." - + "Cluster.NodeTypeConfigsEntryB\003\340A\002\032d\n\024Nod" - + "eTypeConfigsEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030" - + "\002 \001(\0132,.google.cloud.vmwareengine.v1.Nod" - + "eTypeConfig:\0028\001\"c\n\005State\022\025\n\021STATE_UNSPEC" - + "IFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010CREATING\020\002\022\014\n\010UPD" - + "ATING\020\003\022\014\n\010DELETING\020\004\022\r\n\tREPAIRING\020\005:\202\001\352" - + "A\177\n#vmwareengine.googleapis.com/Cluster\022" - + "Xprojects/{project}/locations/{location}" - + "/privateClouds/{private_cloud}/clusters/" - + "{cluster}\"\240\001\n\023ListClustersRequest\022@\n\006par" - + "ent\030\001 \001(\tB0\340A\002\372A*\n(vmwareengine.googleap" - + "is.com/PrivateCloud\022\021\n\tpage_size\030\002 \001(\005\022\022" - + "\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010or" - + "der_by\030\005 \001(\t\"}\n\024ListClustersResponse\0227\n\010" - + "clusters\030\001 \003(\0132%.google.cloud.vmwareengi" - + "ne.v1.Cluster\022\027\n\017next_page_token\030\002 \001(\t\022\023" - + "\n\013unreachable\030\003 \003(\t\"N\n\021GetClusterRequest" - + "\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#vmwareengine.goo" - + "gleapis.com/Cluster\"\343\001\n\024CreateClusterReq" - + "uest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(vmwareengi" - + "ne.googleapis.com/PrivateCloud\022\027\n\ncluste" - + "r_id\030\002 \001(\tB\003\340A\002\022;\n\007cluster\030\003 \001(\0132%.googl" - + "e.cloud.vmwareengine.v1.ClusterB\003\340A\002\022\027\n\n" - + "request_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005" - + " \001(\010B\003\340A\001\"\276\001\n\024UpdateClusterRequest\0224\n\013up" - + "date_mask\030\001 \001(\0132\032.google.protobuf.FieldM" - + "askB\003\340A\002\022;\n\007cluster\030\002 \001(\0132%.google.cloud" - + ".vmwareengine.v1.ClusterB\003\340A\002\022\027\n\nrequest" - + "_id\030\003 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003\340" - + "A\001\"j\n\024DeleteClusterRequest\0229\n\004name\030\001 \001(\t" - + "B+\340A\002\372A%\n#vmwareengine.googleapis.com/Cl" - + "uster\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\360\002\n\006Subne" - + "t\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\025\n\rip_cidr_range\030\007 " - + "\001(\t\022\022\n\ngateway_ip\030\010 \001(\t\022\021\n\004type\030\013 \001(\tB\003\340" - + "A\003\022>\n\005state\030\r \001(\0162*.google.cloud.vmwaree" - + "ngine.v1.Subnet.StateB\003\340A\003\"T\n\005State\022\025\n\021S" - + "TATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010CREATI" - + "NG\020\002\022\014\n\010UPDATING\020\003\022\014\n\010DELETING\020\004:\177\352A|\n\"v" - + "mwareengine.googleapis.com/Subnet\022Vproje" - + "cts/{project}/locations/{location}/priva" - + "teClouds/{private_cloud}/subnets/{subnet" - + "}\"}\n\022ListSubnetsRequest\022@\n\006parent\030\001 \001(\tB" + + "r.proto\032\031google/api/resource.proto\0329goog" + + "le/cloud/vmwareengine/v1/vmwareengine_re" + + "sources.proto\032#google/longrunning/operat" + + "ions.proto\032 google/protobuf/field_mask.p" + + "roto\032\037google/protobuf/timestamp.proto\"\236\001" + + "\n\030ListPrivateCloudsRequest\0229\n\006parent\030\001 \001" + + "(\tB)\340A\002\372A#\n!locations.googleapis.com/Loc" + + "ation\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\215" + + "\001\n\031ListPrivateCloudsResponse\022B\n\016private_" + + "clouds\030\001 \003(\0132*.google.cloud.vmwareengine" + + ".v1.PrivateCloud\022\027\n\017next_page_token\030\002 \001(" + + "\t\022\023\n\013unreachable\030\003 \003(\t\"X\n\026GetPrivateClou" + + "dRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(vmwareen" + + "gine.googleapis.com/PrivateCloud\"\362\001\n\031Cre" + + "atePrivateCloudRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\n!locations.googleapis.com/Locatio" + + "n\022\035\n\020private_cloud_id\030\002 \001(\tB\003\340A\002\022F\n\rpriv" + + "ate_cloud\030\003 \001(\0132*.google.cloud.vmwareeng" + + "ine.v1.PrivateCloudB\003\340A\002\022\027\n\nrequest_id\030\004" + + " \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B\003\340A\001\"\262\001" + + "\n\031UpdatePrivateCloudRequest\022F\n\rprivate_c" + + "loud\030\001 \001(\0132*.google.cloud.vmwareengine.v" + + "1.PrivateCloudB\003\340A\002\0224\n\013update_mask\030\002 \001(\013" + + "2\032.google.protobuf.FieldMaskB\003\340A\002\022\027\n\nreq" + + "uest_id\030\003 \001(\tB\003\340A\001\"\267\001\n\031DeletePrivateClou" + + "dRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(vmwareen" + + "gine.googleapis.com/PrivateCloud\022\027\n\nrequ" + + "est_id\030\002 \001(\tB\003\340A\001\022\022\n\005force\030\003 \001(\010B\003\340A\001\022\035\n" + + "\013delay_hours\030\004 \001(\005B\003\340A\001H\000\210\001\001B\016\n\014_delay_h" + + "ours\"v\n\033UndeletePrivateCloudRequest\022>\n\004n" + + "ame\030\001 \001(\tB0\340A\002\372A*\n(vmwareengine.googleap" + + "is.com/PrivateCloud\022\027\n\nrequest_id\030\002 \001(\tB" + + "\003\340A\001\"\240\001\n\023ListClustersRequest\022@\n\006parent\030\001" + + " \001(\tB0\340A\002\372A*\n(vmwareengine.googleapis.co" + + "m/PrivateCloud\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + + "e_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_b" + + "y\030\005 \001(\t\"}\n\024ListClustersResponse\0227\n\010clust" + + "ers\030\001 \003(\0132%.google.cloud.vmwareengine.v1" + + ".Cluster\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unr" + + "eachable\030\003 \003(\t\"N\n\021GetClusterRequest\0229\n\004n" + + "ame\030\001 \001(\tB+\340A\002\372A%\n#vmwareengine.googleap" + + "is.com/Cluster\"\343\001\n\024CreateClusterRequest\022" + + "@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(vmwareengine.go" + + "ogleapis.com/PrivateCloud\022\027\n\ncluster_id\030" + + "\002 \001(\tB\003\340A\002\022;\n\007cluster\030\003 \001(\0132%.google.clo" + + "ud.vmwareengine.v1.ClusterB\003\340A\002\022\027\n\nreque" + + "st_id\030\004 \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\005 \001(\010B" + + "\003\340A\001\"\276\001\n\024UpdateClusterRequest\0224\n\013update_" + + "mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003" + + "\340A\002\022;\n\007cluster\030\002 \001(\0132%.google.cloud.vmwa" + + "reengine.v1.ClusterB\003\340A\002\022\027\n\nrequest_id\030\003" + + " \001(\tB\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003\340A\001\"j\n" + + "\024DeleteClusterRequest\0229\n\004name\030\001 \001(\tB+\340A\002" + + "\372A%\n#vmwareengine.googleapis.com/Cluster" + + "\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"}\n\022ListSubnets" + + "Request\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(vmwaree" + + "ngine.googleapis.com/PrivateCloud\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"e\n\023List" + + "SubnetsResponse\0225\n\007subnets\030\001 \003(\0132$.googl" + + "e.cloud.vmwareengine.v1.Subnet\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"\200\002\n\021OperationMetadata\0224\n" + + "\013create_time\030\001 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\022\023\n\006target\030\003 \001(\tB\003" + + "\340A\003\022\021\n\004verb\030\004 \001(\tB\003\340A\003\022\033\n\016status_message" + + "\030\005 \001(\tB\003\340A\003\022#\n\026requested_cancellation\030\006 " + + "\001(\010B\003\340A\003\022\030\n\013api_version\030\007 \001(\tB\003\340A\003\"\210\001\n\024L" + + "istNodeTypesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002" + + "\372A#\n!locations.googleapis.com/Location\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n" + + "\006filter\030\004 \001(\t\"\201\001\n\025ListNodeTypesResponse\022" + + ":\n\nnode_types\030\001 \003(\0132&.google.cloud.vmwar" + + "eengine.v1.NodeType\022\027\n\017next_page_token\030\002" + + " \001(\t\022\023\n\013unreachable\030\003 \003(\t\"P\n\022GetNodeType" + + "Request\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$vmwareeng" + + "ine.googleapis.com/NodeType\"d\n\031ShowNsxCr" + + "edentialsRequest\022G\n\rprivate_cloud\030\001 \001(\tB" + "0\340A\002\372A*\n(vmwareengine.googleapis.com/Pri" - + "vateCloud\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" - + "en\030\003 \001(\t\"e\n\023ListSubnetsResponse\0225\n\007subne" - + "ts\030\001 \003(\0132$.google.cloud.vmwareengine.v1." - + "Subnet\022\027\n\017next_page_token\030\002 \001(\t\"\200\002\n\021Oper" - + "ationMetadata\0224\n\013create_time\030\001 \001(\0132\032.goo" - + "gle.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\004verb\030\004 \001(\tB\003\340A\003\022\033" - + "\n\016status_message\030\005 \001(\tB\003\340A\003\022#\n\026requested" - + "_cancellation\030\006 \001(\010B\003\340A\003\022\030\n\013api_version\030" - + "\007 \001(\tB\003\340A\003\"\332\002\n\010NodeType\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\003\022\031\n\014node_type_id\030\002 \001(\tB\003\340A\003\022\031\n\014display" - + "_name\030\003 \001(\tB\003\340A\003\022\036\n\021virtual_cpu_count\030\004 " - + "\001(\005B\003\340A\003\022\035\n\020total_core_count\030\005 \001(\005B\003\340A\003\022" - + "\026\n\tmemory_gb\030\007 \001(\005B\003\340A\003\022\031\n\014disk_size_gb\030" - + "\010 \001(\005B\003\340A\003\022)\n\034available_custom_core_coun" - + "ts\030\013 \003(\005B\003\340A\003:h\352Ae\n$vmwareengine.googlea" - + "pis.com/NodeType\022=projects/{project}/loc" - + "ations/{location}/nodeTypes/{node_type}\"" - + "\210\001\n\024ListNodeTypesRequest\0229\n\006parent\030\001 \001(\t" - + "B)\340A\002\372A#\n!locations.googleapis.com/Locat" - + "ion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" - + "(\t\022\016\n\006filter\030\004 \001(\t\"\201\001\n\025ListNodeTypesResp" - + "onse\022:\n\nnode_types\030\001 \003(\0132&.google.cloud." - + "vmwareengine.v1.NodeType\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"P\n\022GetNod" - + "eTypeRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$vmwa" - + "reengine.googleapis.com/NodeType\"1\n\013Cred" - + "entials\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 " - + "\001(\t\"d\n\031ShowNsxCredentialsRequest\022G\n\rpriv" - + "ate_cloud\030\001 \001(\tB0\340A\002\372A*\n(vmwareengine.go" - + "ogleapis.com/PrivateCloud\"h\n\035ShowVcenter" - + "CredentialsRequest\022G\n\rprivate_cloud\030\001 \001(" - + "\tB0\340A\002\372A*\n(vmwareengine.googleapis.com/P" - + "rivateCloud\"~\n\032ResetNsxCredentialsReques" - + "t\022G\n\rprivate_cloud\030\001 \001(\tB0\340A\002\372A*\n(vmware" - + "engine.googleapis.com/PrivateCloud\022\027\n\nre" - + "quest_id\030\002 \001(\tB\003\340A\001\"\202\001\n\036ResetVcenterCred" - + "entialsRequest\022G\n\rprivate_cloud\030\001 \001(\tB0\340" - + "A\002\372A*\n(vmwareengine.googleapis.com/Priva" - + "teCloud\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\232\001\n\035Lis" - + "tHcxActivationKeysResponse\022K\n\023hcx_activa" - + "tion_keys\030\001 \003(\0132..google.cloud.vmwareeng" - + "ine.v1.HcxActivationKey\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"\302\003\n\020HcxAct" - + "ivationKey\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_" - + "time\030\002 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\022H\n\005state\030\003 \001(\01624.google.cloud.vmware" - + "engine.v1.HcxActivationKey.StateB\003\340A\003\022\033\n" - + "\016activation_key\030\004 \001(\tB\003\340A\003\022\020\n\003uid\030\005 \001(\tB" - + "\003\340A\003\"I\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\t" - + "AVAILABLE\020\001\022\014\n\010CONSUMED\020\002\022\014\n\010CREATING\020\003:" - + "\240\001\352A\234\001\n,vmwareengine.googleapis.com/HcxA" - + "ctivationKey\022lprojects/{project}/locatio" - + "ns/{location}/privateClouds/{private_clo" - + "ud}/hcxActivationKeys/{hcx_activation_ke" - + "y}\"\207\001\n\034ListHcxActivationKeysRequest\022@\n\006p" - + "arent\030\001 \001(\tB0\340A\002\372A*\n(vmwareengine.google" - + "apis.com/PrivateCloud\022\021\n\tpage_size\030\002 \001(\005" - + "\022\022\n\npage_token\030\003 \001(\t\"`\n\032GetHcxActivation" - + "KeyRequest\022B\n\004name\030\001 \001(\tB4\340A\002\372A.\n,vmware" - + "engine.googleapis.com/HcxActivationKey\"\352" - + "\001\n\035CreateHcxActivationKeyRequest\022@\n\006pare" - + "nt\030\001 \001(\tB0\340A\002\372A*\n(vmwareengine.googleapi" - + "s.com/PrivateCloud\022O\n\022hcx_activation_key" - + "\030\002 \001(\0132..google.cloud.vmwareengine.v1.Hc" - + "xActivationKeyB\003\340A\002\022\"\n\025hcx_activation_ke" - + "y_id\030\003 \001(\tB\003\340A\002\022\022\n\nrequest_id\030\004 \001(\t\"\260\001\n\003" - + "Hcx\022\023\n\013internal_ip\030\002 \001(\t\022\017\n\007version\030\004 \001(" - + "\t\022;\n\005state\030\005 \001(\0162\'.google.cloud.vmwareen" - + "gine.v1.Hcx.StateB\003\340A\003\022\014\n\004fqdn\030\006 \001(\t\"8\n\005" - + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" - + "\022\014\n\010CREATING\020\002\"\260\001\n\003Nsx\022\023\n\013internal_ip\030\002 " - + "\001(\t\022\017\n\007version\030\004 \001(\t\022;\n\005state\030\005 \001(\0162\'.go" - + "ogle.cloud.vmwareengine.v1.Nsx.StateB\003\340A" - + "\003\022\014\n\004fqdn\030\006 \001(\t\"8\n\005State\022\025\n\021STATE_UNSPEC" - + "IFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010CREATING\020\002\"\270\001\n\007Vc" - + "enter\022\023\n\013internal_ip\030\002 \001(\t\022\017\n\007version\030\004 " - + "\001(\t\022?\n\005state\030\005 \001(\0162+.google.cloud.vmware" - + "engine.v1.Vcenter.StateB\003\340A\003\022\014\n\004fqdn\030\006 \001" - + "(\t\"8\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006AC" - + "TIVE\020\001\022\014\n\010CREATING\020\002\"\377\006\n\rNetworkPolicy\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032" - + ".google.protobuf.TimestampB\003\340A\003\0224\n\013updat" - + "e_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\022S\n\017internet_access\030\006 \001(\0132:.google." - + "cloud.vmwareengine.v1.NetworkPolicy.Netw" - + "orkService\022O\n\013external_ip\030\007 \001(\0132:.google" - + ".cloud.vmwareengine.v1.NetworkPolicy.Net" - + "workService\022\037\n\022edge_services_cidr\030\t \001(\tB" - + "\003\340A\002\022\020\n\003uid\030\n \001(\tB\003\340A\003\022V\n\025vmware_engine_" - + "network\030\014 \001(\tB7\340A\001\372A1\n/vmwareengine.goog" - + "leapis.com/VmwareEngineNetwork\022\030\n\013descri" - + "ption\030\r \001(\tB\003\340A\001\022`\n\037vmware_engine_networ" - + "k_canonical\030\016 \001(\tB7\340A\003\372A1\n/vmwareengine." - + "googleapis.com/VmwareEngineNetwork\032\307\001\n\016N" - + "etworkService\022\017\n\007enabled\030\001 \001(\010\022T\n\005state\030" - + "\002 \001(\0162@.google.cloud.vmwareengine.v1.Net" - + "workPolicy.NetworkService.StateB\003\340A\003\"N\n\005" - + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\021\n\rUNPROVIS" - + "IONED\020\001\022\017\n\013RECONCILING\020\002\022\n\n\006ACTIVE\020\003:x\352A" - + "u\n)vmwareengine.googleapis.com/NetworkPo" - + "licy\022Hprojects/{project}/locations/{loca" - + "tion}/networkPolicies/{network_policy}\"\250" - + "\001\n\032ListNetworkPoliciesRequest\022A\n\006parent\030" - + "\001 \001(\tB1\340A\002\372A+\022)vmwareengine.googleapis.c" - + "om/NetworkPolicy\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order" - + "_by\030\005 \001(\t\"\222\001\n\033ListNetworkPoliciesRespons" - + "e\022E\n\020network_policies\030\001 \003(\0132+.google.clo" - + "ud.vmwareengine.v1.NetworkPolicy\022\027\n\017next" - + "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"Z" - + "\n\027GetNetworkPolicyRequest\022?\n\004name\030\001 \001(\tB" - + "1\340A\002\372A+\n)vmwareengine.googleapis.com/Net" - + "workPolicy\"\265\001\n\032UpdateNetworkPolicyReques" - + "t\022H\n\016network_policy\030\001 \001(\0132+.google.cloud" - + ".vmwareengine.v1.NetworkPolicyB\003\340A\002\0224\n\013u" - + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" - + "MaskB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"\342\001\n\032C" - + "reateNetworkPolicyRequest\022A\n\006parent\030\001 \001(" - + "\tB1\340A\002\372A+\022)vmwareengine.googleapis.com/N" - + "etworkPolicy\022\036\n\021network_policy_id\030\002 \001(\tB" - + "\003\340A\002\022H\n\016network_policy\030\003 \001(\0132+.google.cl" - + "oud.vmwareengine.v1.NetworkPolicyB\003\340A\002\022\027" - + "\n\nrequest_id\030\004 \001(\tB\003\340A\001\"v\n\032DeleteNetwork" - + "PolicyRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)vmw" - + "areengine.googleapis.com/NetworkPolicy\022\027" - + "\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\262\007\n\023VmwareEngine" - + "Network\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_tim" - + "e\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\023\n\013description\030\005 \001(\t\022W\n\014v" - + "pc_networks\030\006 \003(\0132<.google.cloud.vmwaree" - + "ngine.v1.VmwareEngineNetwork.VpcNetworkB" - + "\003\340A\003\022K\n\005state\030\007 \001(\01627.google.cloud.vmwar" - + "eengine.v1.VmwareEngineNetwork.StateB\003\340A" - + "\003\022I\n\004type\030\010 \001(\01626.google.cloud.vmwareeng" - + "ine.v1.VmwareEngineNetwork.TypeB\003\340A\002\022\020\n\003" - + "uid\030\t \001(\tB\003\340A\003\022\014\n\004etag\030\n \001(\t\032\347\001\n\nVpcNetw" - + "ork\022T\n\004type\030\001 \001(\0162A.google.cloud.vmwaree" - + "ngine.v1.VmwareEngineNetwork.VpcNetwork." - + "TypeB\003\340A\003\0227\n\007network\030\002 \001(\tB&\340A\003\372A \n\036comp" - + "ute.googleapis.com/Network\"J\n\004Type\022\024\n\020TY" - + "PE_UNSPECIFIED\020\000\022\014\n\010INTRANET\020\001\022\014\n\010INTERN" - + "ET\020\002\022\020\n\014GOOGLE_CLOUD\020\003\"T\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\"(\n\004Type\022\024\n\020" - + "TYPE_UNSPECIFIED\020\000\022\n\n\006LEGACY\020\001:\213\001\352A\207\001\n/v" - + "mwareengine.googleapis.com/VmwareEngineN" - + "etwork\022Tprojects/{project}/locations/{lo" - + "cation}/vmwareEngineNetworks/{vmware_eng" - + "ine_network}\"\202\002\n CreateVmwareEngineNetwo" - + "rkRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372A1\022/vmwar" - + "eengine.googleapis.com/VmwareEngineNetwo" - + "rk\022%\n\030vmware_engine_network_id\030\002 \001(\tB\003\340A" - + "\002\022U\n\025vmware_engine_network\030\003 \001(\01321.googl" - + "e.cloud.vmwareengine.v1.VmwareEngineNetw" - + "orkB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"\310\001\n Up" - + "dateVmwareEngineNetworkRequest\022U\n\025vmware" - + "_engine_network\030\001 \001(\01321.google.cloud.vmw" - + "areengine.v1.VmwareEngineNetworkB\003\340A\002\0224\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" - + "ldMaskB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340A\001\"\225\001\n" - + " DeleteVmwareEngineNetworkRequest\022E\n\004nam" - + "e\030\001 \001(\tB7\340A\002\372A1\n/vmwareengine.googleapis" - + ".com/VmwareEngineNetwork\022\027\n\nrequest_id\030\002" - + " \001(\tB\003\340A\001\022\021\n\004etag\030\003 \001(\tB\003\340A\001\"f\n\035GetVmwar" - + "eEngineNetworkRequest\022E\n\004name\030\001 \001(\tB7\340A\002" - + "\372A1\n/vmwareengine.googleapis.com/VmwareE" - + "ngineNetwork\"\245\001\n\037ListVmwareEngineNetwork" - + "sRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati" - + "ons.googleapis.com/Location\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001" - + "(\t\022\020\n\010order_by\030\005 \001(\t\"\243\001\n ListVmwareEngin" - + "eNetworksResponse\022Q\n\026vmware_engine_netwo" - + "rks\030\001 \003(\01321.google.cloud.vmwareengine.v1" - + ".VmwareEngineNetwork\022\027\n\017next_page_token\030" - + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t2\2269\n\014VmwareEng" - + "ine\022\310\001\n\021ListPrivateClouds\0226.google.cloud" - + ".vmwareengine.v1.ListPrivateCloudsReques" - + "t\0327.google.cloud.vmwareengine.v1.ListPri" - + "vateCloudsResponse\"B\202\323\344\223\0023\0221/v1/{parent=" - + "projects/*/locations/*}/privateClouds\332A\006" - + "parent\022\265\001\n\017GetPrivateCloud\0224.google.clou" - + "d.vmwareengine.v1.GetPrivateCloudRequest" - + "\032*.google.cloud.vmwareengine.v1.PrivateC" - + "loud\"@\202\323\344\223\0023\0221/v1/{name=projects/*/locat" - + "ions/*/privateClouds/*}\332A\004name\022\203\002\n\022Creat" - + "ePrivateCloud\0227.google.cloud.vmwareengin" - + "e.v1.CreatePrivateCloudRequest\032\035.google." - + "longrunning.Operation\"\224\001\202\323\344\223\002B\"1/v1/{par" - + "ent=projects/*/locations/*}/privateCloud" - + "s:\rprivate_cloud\332A%parent,private_cloud," - + "private_cloud_id\312A!\n\014PrivateCloud\022\021Opera" - + "tionMetadata\022\205\002\n\022UpdatePrivateCloud\0227.go" - + "ogle.cloud.vmwareengine.v1.UpdatePrivate" - + "CloudRequest\032\035.google.longrunning.Operat" - + "ion\"\226\001\202\323\344\223\002P2?/v1/{private_cloud.name=pr" - + "ojects/*/locations/*/privateClouds/*}:\rp" - + "rivate_cloud\332A\031private_cloud,update_mask" - + "\312A!\n\014PrivateCloud\022\021OperationMetadata\022\322\001\n" - + "\022DeletePrivateCloud\0227.google.cloud.vmwar" - + "eengine.v1.DeletePrivateCloudRequest\032\035.g" - + "oogle.longrunning.Operation\"d\202\323\344\223\0023*1/v1" - + "/{name=projects/*/locations/*/privateClo" - + "uds/*}\332A\004name\312A!\n\014PrivateCloud\022\021Operatio" - + "nMetadata\022\342\001\n\024UndeletePrivateCloud\0229.goo" - + "gle.cloud.vmwareengine.v1.UndeletePrivat" - + "eCloudRequest\032\035.google.longrunning.Opera" - + "tion\"p\202\323\344\223\002?\":/v1/{name=projects/*/locat" - + "ions/*/privateClouds/*}:undelete:\001*\332A\004na" - + "me\312A!\n\014PrivateCloud\022\021OperationMetadata\022\304" - + "\001\n\014ListClusters\0221.google.cloud.vmwareeng" - + "ine.v1.ListClustersRequest\0322.google.clou" - + "d.vmwareengine.v1.ListClustersResponse\"M" - + "\202\323\344\223\002>\022\022*\202\323\344\223\002/\022-/v1/{parent=projects/*/locatio" - + "ns/*}/nodeTypes\332A\006parent\022\245\001\n\013GetNodeType" - + "\0220.google.cloud.vmwareengine.v1.GetNodeT" - + "ypeRequest\032&.google.cloud.vmwareengine.v" - + "1.NodeType\"<\202\323\344\223\002/\022-/v1/{name=projects/*" - + "/locations/*/nodeTypes/*}\332A\004name\022\337\001\n\022Sho" - + "wNsxCredentials\0227.google.cloud.vmwareeng" - + "ine.v1.ShowNsxCredentialsRequest\032).googl" - + "e.cloud.vmwareengine.v1.Credentials\"e\202\323\344" - + "\223\002O\022M/v1/{private_cloud=projects/*/locat" - + "ions/*/privateClouds/*}:showNsxCredentia" - + "ls\332A\rprivate_cloud\022\353\001\n\026ShowVcenterCreden" - + "tials\022;.google.cloud.vmwareengine.v1.Sho" - + "wVcenterCredentialsRequest\032).google.clou" - + "d.vmwareengine.v1.Credentials\"i\202\323\344\223\002S\022Q/" + + "vateCloud\"h\n\035ShowVcenterCredentialsReque" + + "st\022G\n\rprivate_cloud\030\001 \001(\tB0\340A\002\372A*\n(vmwar" + + "eengine.googleapis.com/PrivateCloud\"~\n\032R" + + "esetNsxCredentialsRequest\022G\n\rprivate_clo" + + "ud\030\001 \001(\tB0\340A\002\372A*\n(vmwareengine.googleapi" + + "s.com/PrivateCloud\022\027\n\nrequest_id\030\002 \001(\tB\003" + + "\340A\001\"\202\001\n\036ResetVcenterCredentialsRequest\022G" + + "\n\rprivate_cloud\030\001 \001(\tB0\340A\002\372A*\n(vmwareeng" + + "ine.googleapis.com/PrivateCloud\022\027\n\nreque" + + "st_id\030\002 \001(\tB\003\340A\001\"\232\001\n\035ListHcxActivationKe" + + "ysResponse\022K\n\023hcx_activation_keys\030\001 \003(\0132" + + "..google.cloud.vmwareengine.v1.HcxActiva" + + "tionKey\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unre" + + "achable\030\003 \003(\t\"\207\001\n\034ListHcxActivationKeysR" + + "equest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(vmwareen" + + "gine.googleapis.com/PrivateCloud\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"`\n\032GetHc" + + "xActivationKeyRequest\022B\n\004name\030\001 \001(\tB4\340A\002" + + "\372A.\n,vmwareengine.googleapis.com/HcxActi" + + "vationKey\"\352\001\n\035CreateHcxActivationKeyRequ" + + "est\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(vmwareengin" + + "e.googleapis.com/PrivateCloud\022O\n\022hcx_act" + + "ivation_key\030\002 \001(\0132..google.cloud.vmwaree" + + "ngine.v1.HcxActivationKeyB\003\340A\002\022\"\n\025hcx_ac" + + "tivation_key_id\030\003 \001(\tB\003\340A\002\022\022\n\nrequest_id" + + "\030\004 \001(\t\"\250\001\n\032ListNetworkPoliciesRequest\022A\n" + + "\006parent\030\001 \001(\tB1\340A\002\372A+\022)vmwareengine.goog" + + "leapis.com/NetworkPolicy\022\021\n\tpage_size\030\002 " + + "\001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022" + + "\020\n\010order_by\030\005 \001(\t\"\222\001\n\033ListNetworkPolicie" + + "sResponse\022E\n\020network_policies\030\001 \003(\0132+.go" + + "ogle.cloud.vmwareengine.v1.NetworkPolicy" + + "\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable" + + "\030\003 \003(\t\"Z\n\027GetNetworkPolicyRequest\022?\n\004nam" + + "e\030\001 \001(\tB1\340A\002\372A+\n)vmwareengine.googleapis" + + ".com/NetworkPolicy\"\265\001\n\032UpdateNetworkPoli" + + "cyRequest\022H\n\016network_policy\030\001 \001(\0132+.goog" + + "le.cloud.vmwareengine.v1.NetworkPolicyB\003" + + "\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protob" + + "uf.FieldMaskB\003\340A\002\022\027\n\nrequest_id\030\003 \001(\tB\003\340" + + "A\001\"\342\001\n\032CreateNetworkPolicyRequest\022A\n\006par" + + "ent\030\001 \001(\tB1\340A\002\372A+\022)vmwareengine.googleap" + + "is.com/NetworkPolicy\022\036\n\021network_policy_i" + + "d\030\002 \001(\tB\003\340A\002\022H\n\016network_policy\030\003 \001(\0132+.g" + + "oogle.cloud.vmwareengine.v1.NetworkPolic" + + "yB\003\340A\002\022\027\n\nrequest_id\030\004 \001(\tB\003\340A\001\"v\n\032Delet" + + "eNetworkPolicyRequest\022?\n\004name\030\001 \001(\tB1\340A\002" + + "\372A+\n)vmwareengine.googleapis.com/Network" + + "Policy\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\"\202\002\n Crea" + + "teVmwareEngineNetworkRequest\022G\n\006parent\030\001" + + " \001(\tB7\340A\002\372A1\022/vmwareengine.googleapis.co" + + "m/VmwareEngineNetwork\022%\n\030vmware_engine_n" + + "etwork_id\030\002 \001(\tB\003\340A\002\022U\n\025vmware_engine_ne" + + "twork\030\003 \001(\01321.google.cloud.vmwareengine." + + "v1.VmwareEngineNetworkB\003\340A\002\022\027\n\nrequest_i" + + "d\030\004 \001(\tB\003\340A\001\"\310\001\n UpdateVmwareEngineNetwo" + + "rkRequest\022U\n\025vmware_engine_network\030\001 \001(\013" + + "21.google.cloud.vmwareengine.v1.VmwareEn" + + "gineNetworkB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032." + + "google.protobuf.FieldMaskB\003\340A\002\022\027\n\nreques" + + "t_id\030\003 \001(\tB\003\340A\001\"\225\001\n DeleteVmwareEngineNe" + + "tworkRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/vmwa" + + "reengine.googleapis.com/VmwareEngineNetw" + + "ork\022\027\n\nrequest_id\030\002 \001(\tB\003\340A\001\022\021\n\004etag\030\003 \001" + + "(\tB\003\340A\001\"f\n\035GetVmwareEngineNetworkRequest" + + "\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/vmwareengine.goo" + + "gleapis.com/VmwareEngineNetwork\"\245\001\n\037List" + + "VmwareEngineNetworksRequest\0229\n\006parent\030\001 " + + "\001(\tB)\340A\002\372A#\n!locations.googleapis.com/Lo" + + "cation\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"" + + "\243\001\n ListVmwareEngineNetworksResponse\022Q\n\026" + + "vmware_engine_networks\030\001 \003(\01321.google.cl" + + "oud.vmwareengine.v1.VmwareEngineNetwork\022" + + "\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030" + + "\003 \003(\t2\2269\n\014VmwareEngine\022\310\001\n\021ListPrivateCl" + + "ouds\0226.google.cloud.vmwareengine.v1.List" + + "PrivateCloudsRequest\0327.google.cloud.vmwa" + + "reengine.v1.ListPrivateCloudsResponse\"B\202" + + "\323\344\223\0023\0221/v1/{parent=projects/*/locations/" + + "*}/privateClouds\332A\006parent\022\265\001\n\017GetPrivate" + + "Cloud\0224.google.cloud.vmwareengine.v1.Get" + + "PrivateCloudRequest\032*.google.cloud.vmwar" + + "eengine.v1.PrivateCloud\"@\202\323\344\223\0023\0221/v1/{na" + + "me=projects/*/locations/*/privateClouds/" + + "*}\332A\004name\022\203\002\n\022CreatePrivateCloud\0227.googl" + + "e.cloud.vmwareengine.v1.CreatePrivateClo" + + "udRequest\032\035.google.longrunning.Operation" + + "\"\224\001\202\323\344\223\002B\"1/v1/{parent=projects/*/locati" + + "ons/*}/privateClouds:\rprivate_cloud\332A%pa" + + "rent,private_cloud,private_cloud_id\312A!\n\014" + + "PrivateCloud\022\021OperationMetadata\022\205\002\n\022Upda" + + "tePrivateCloud\0227.google.cloud.vmwareengi" + + "ne.v1.UpdatePrivateCloudRequest\032\035.google" + + ".longrunning.Operation\"\226\001\202\323\344\223\002P2?/v1/{pr" + + "ivate_cloud.name=projects/*/locations/*/" + + "privateClouds/*}:\rprivate_cloud\332A\031privat" + + "e_cloud,update_mask\312A!\n\014PrivateCloud\022\021Op" + + "erationMetadata\022\322\001\n\022DeletePrivateCloud\0227" + + ".google.cloud.vmwareengine.v1.DeletePriv" + + "ateCloudRequest\032\035.google.longrunning.Ope" + + "ration\"d\202\323\344\223\0023*1/v1/{name=projects/*/loc" + + "ations/*/privateClouds/*}\332A\004name\312A!\n\014Pri" + + "vateCloud\022\021OperationMetadata\022\342\001\n\024Undelet" + + "ePrivateCloud\0229.google.cloud.vmwareengin" + + "e.v1.UndeletePrivateCloudRequest\032\035.googl" + + "e.longrunning.Operation\"p\202\323\344\223\002?\":/v1/{na" + + "me=projects/*/locations/*/privateClouds/" + + "*}:undelete:\001*\332A\004name\312A!\n\014PrivateCloud\022\021" + + "OperationMetadata\022\304\001\n\014ListClusters\0221.goo" + + "gle.cloud.vmwareengine.v1.ListClustersRe" + + "quest\0322.google.cloud.vmwareengine.v1.Lis" + + "tClustersResponse\"M\202\323\344\223\002>\022\022*\202\323\344\223\002/\022-/v1/{parent" + + "=projects/*/locations/*}/nodeTypes\332A\006par" + + "ent\022\245\001\n\013GetNodeType\0220.google.cloud.vmwar" + + "eengine.v1.GetNodeTypeRequest\032&.google.c" + + "loud.vmwareengine.v1.NodeType\"<\202\323\344\223\002/\022-/" + + "v1/{name=projects/*/locations/*/nodeType" + + "s/*}\332A\004name\022\337\001\n\022ShowNsxCredentials\0227.goo" + + "gle.cloud.vmwareengine.v1.ShowNsxCredent" + + "ialsRequest\032).google.cloud.vmwareengine." + + "v1.Credentials\"e\202\323\344\223\002O\022M/v1/{private_clo" + + "ud=projects/*/locations/*/privateClouds/" + + "*}:showNsxCredentials\332A\rprivate_cloud\022\353\001" + + "\n\026ShowVcenterCredentials\022;.google.cloud." + + "vmwareengine.v1.ShowVcenterCredentialsRe" + + "quest\032).google.cloud.vmwareengine.v1.Cre" + + "dentials\"i\202\323\344\223\002S\022Q/v1/{private_cloud=pro" + + "jects/*/locations/*/privateClouds/*}:sho" + + "wVcenterCredentials\332A\rprivate_cloud\022\376\001\n\023" + + "ResetNsxCredentials\0228.google.cloud.vmwar" + + "eengine.v1.ResetNsxCredentialsRequest\032\035." + + "google.longrunning.Operation\"\215\001\202\323\344\223\002S\"N/" + "v1/{private_cloud=projects/*/locations/*" - + "/privateClouds/*}:showVcenterCredentials" - + "\332A\rprivate_cloud\022\376\001\n\023ResetNsxCredentials" - + "\0228.google.cloud.vmwareengine.v1.ResetNsx" - + "CredentialsRequest\032\035.google.longrunning." - + "Operation\"\215\001\202\323\344\223\002S\"N/v1/{private_cloud=p" - + "rojects/*/locations/*/privateClouds/*}:r" - + "esetNsxCredentials:\001*\332A\rprivate_cloud\312A!" - + "\n\014PrivateCloud\022\021OperationMetadata\022\212\002\n\027Re" - + "setVcenterCredentials\022<.google.cloud.vmw" - + "areengine.v1.ResetVcenterCredentialsRequ" - + "est\032\035.google.longrunning.Operation\"\221\001\202\323\344" - + "\223\002W\"R/v1/{private_cloud=projects/*/locat", - "ions/*/privateClouds/*}:resetVcenterCred" - + "entials:\001*\332A\rprivate_cloud\312A!\n\014PrivateCl" - + "oud\022\021OperationMetadata\022\262\002\n\026CreateHcxActi" - + "vationKey\022;.google.cloud.vmwareengine.v1" - + ".CreateHcxActivationKeyRequest\032\035.google." - + "longrunning.Operation\"\273\001\202\323\344\223\002[\"E/v1/{par" - + "ent=projects/*/locations/*/privateClouds" - + "/*}/hcxActivationKeys:\022hcx_activation_ke" - + "y\332A/parent,hcx_activation_key,hcx_activa" - + "tion_key_id\312A%\n\020HcxActivationKey\022\021Operat" - + "ionMetadata\022\350\001\n\025ListHcxActivationKeys\022:." - + "google.cloud.vmwareengine.v1.ListHcxActi" - + "vationKeysRequest\032;.google.cloud.vmwaree" - + "ngine.v1.ListHcxActivationKeysResponse\"V" - + "\202\323\344\223\002G\022E/v1/{parent=projects/*/locations" - + "/*/privateClouds/*}/hcxActivationKeys\332A\006" - + "parent\022\325\001\n\023GetHcxActivationKey\0228.google." - + "cloud.vmwareengine.v1.GetHcxActivationKe" - + "yRequest\032..google.cloud.vmwareengine.v1." - + "HcxActivationKey\"T\202\323\344\223\002G\022E/v1/{name=proj" - + "ects/*/locations/*/privateClouds/*/hcxAc" - + "tivationKeys/*}\332A\004name\022\272\001\n\020GetNetworkPol" - + "icy\0225.google.cloud.vmwareengine.v1.GetNe" - + "tworkPolicyRequest\032+.google.cloud.vmware" - + "engine.v1.NetworkPolicy\"B\202\323\344\223\0025\0223/v1/{na" - + "me=projects/*/locations/*/networkPolicie" - + "s/*}\332A\004name\022\320\001\n\023ListNetworkPolicies\0228.go" - + "ogle.cloud.vmwareengine.v1.ListNetworkPo" - + "liciesRequest\0329.google.cloud.vmwareengin" - + "e.v1.ListNetworkPoliciesResponse\"D\202\323\344\223\0025" - + "\0223/v1/{parent=projects/*/locations/*}/ne" - + "tworkPolicies\332A\006parent\022\213\002\n\023CreateNetwork" - + "Policy\0228.google.cloud.vmwareengine.v1.Cr" - + "eateNetworkPolicyRequest\032\035.google.longru" - + "nning.Operation\"\232\001\202\323\344\223\002E\"3/v1/{parent=pr" - + "ojects/*/locations/*}/networkPolicies:\016n" - + "etwork_policy\332A\'parent,network_policy,ne" - + "twork_policy_id\312A\"\n\rNetworkPolicy\022\021Opera" - + "tionMetadata\022\215\002\n\023UpdateNetworkPolicy\0228.g" - + "oogle.cloud.vmwareengine.v1.UpdateNetwor" - + "kPolicyRequest\032\035.google.longrunning.Oper" - + "ation\"\234\001\202\323\344\223\002T2B/v1/{network_policy.name" - + "=projects/*/locations/*/networkPolicies/" - + "*}:\016network_policy\332A\032network_policy,upda" - + "te_mask\312A\"\n\rNetworkPolicy\022\021OperationMeta" - + "data\022\337\001\n\023DeleteNetworkPolicy\0228.google.cl" - + "oud.vmwareengine.v1.DeleteNetworkPolicyR" - + "equest\032\035.google.longrunning.Operation\"o\202" - + "\323\344\223\0025*3/v1/{name=projects/*/locations/*/" - + "networkPolicies/*}\332A\004name\312A*\n\025google.pro" - + "tobuf.Empty\022\021OperationMetadata\022\267\002\n\031Creat" - + "eVmwareEngineNetwork\022>.google.cloud.vmwa" - + "reengine.v1.CreateVmwareEngineNetworkReq" - + "uest\032\035.google.longrunning.Operation\"\272\001\202\323" - + "\344\223\002Q\"8/v1/{parent=projects/*/locations/*" - + "}/vmwareEngineNetworks:\025vmware_engine_ne" - + "twork\332A5parent,vmware_engine_network,vmw" - + "are_engine_network_id\312A(\n\023VmwareEngineNe" - + "twork\022\021OperationMetadata\022\271\002\n\031UpdateVmwar" - + "eEngineNetwork\022>.google.cloud.vmwareengi" - + "ne.v1.UpdateVmwareEngineNetworkRequest\032\035" - + ".google.longrunning.Operation\"\274\001\202\323\344\223\002g2N" - + "/v1/{vmware_engine_network.name=projects" - + "/*/locations/*/vmwareEngineNetworks/*}:\025" - + "vmware_engine_network\332A!vmware_engine_ne" - + "twork,update_mask\312A(\n\023VmwareEngineNetwor" - + "k\022\021OperationMetadata\022\360\001\n\031DeleteVmwareEng" - + "ineNetwork\022>.google.cloud.vmwareengine.v" - + "1.DeleteVmwareEngineNetworkRequest\032\035.goo" - + "gle.longrunning.Operation\"t\202\323\344\223\002:*8/v1/{" - + "name=projects/*/locations/*/vmwareEngine" - + "Networks/*}\332A\004name\312A*\n\025google.protobuf.E" - + "mpty\022\021OperationMetadata\022\321\001\n\026GetVmwareEng" - + "ineNetwork\022;.google.cloud.vmwareengine.v" - + "1.GetVmwareEngineNetworkRequest\0321.google" - + ".cloud.vmwareengine.v1.VmwareEngineNetwo" - + "rk\"G\202\323\344\223\002:\0228/v1/{name=projects/*/locatio" - + "ns/*/vmwareEngineNetworks/*}\332A\004name\022\344\001\n\030" - + "ListVmwareEngineNetworks\022=.google.cloud." - + "vmwareengine.v1.ListVmwareEngineNetworks" - + "Request\032>.google.cloud.vmwareengine.v1.L" - + "istVmwareEngineNetworksResponse\"I\202\323\344\223\002:\022" - + "8/v1/{parent=projects/*/locations/*}/vmw" - + "areEngineNetworks\332A\006parent\032O\312A\033vmwareeng" - + "ine.googleapis.com\322A.https://www.googlea" - + "pis.com/auth/cloud-platformB\262\002\n com.goog" - + "le.cloud.vmwareengine.v1B\021VmwareenginePr" - + "otoP\001ZHgoogle.golang.org/genproto/google" - + "apis/cloud/vmwareengine/v1;vmwareengine\252" - + "\002\034Google.Cloud.VmwareEngine.V1\312\002\034Google\\" - + "Cloud\\VmwareEngine\\V1\352\002\037Google::Cloud::V" - + "mwareEngine::V1\352AN\n\036compute.googleapis.c" - + "om/Network\022,projects/{project}/global/ne" - + "tworks/{network}b\006proto3" + + "/privateClouds/*}:resetNsxCredentials:\001*" + + "\332A\rprivate_cloud\312A!\n\014PrivateCloud\022\021Opera" + + "tionMetadata\022\212\002\n\027ResetVcenterCredentials" + + "\022<.google.cloud.vmwareengine.v1.ResetVce" + + "nterCredentialsRequest\032\035.google.longrunn" + + "ing.Operation\"\221\001\202\323\344\223\002W\"R/v1/{private_clo" + + "ud=projects/*/locations/*/privateClouds/" + + "*}:resetVcenterCredentials:\001*\332A\rprivate_" + + "cloud\312A!\n\014PrivateCloud\022\021OperationMetadat" + + "a\022\262\002\n\026CreateHcxActivationKey\022;.google.cl" + + "oud.vmwareengine.v1.CreateHcxActivationK" + + "eyRequest\032\035.google.longrunning.Operation" + + "\"\273\001\202\323\344\223\002[\"E/v1/{parent=projects/*/locati" + + "ons/*/privateClouds/*}/hcxActivationKeys" + + ":\022hcx_activation_key\332A/parent,hcx_activa" + + "tion_key,hcx_activation_key_id\312A%\n\020HcxAc" + + "tivationKey\022\021OperationMetadata\022\350\001\n\025ListH" + + "cxActivationKeys\022:.google.cloud.vmwareen" + + "gine.v1.ListHcxActivationKeysRequest\032;.g" + + "oogle.cloud.vmwareengine.v1.ListHcxActiv" + + "ationKeysResponse\"V\202\323\344\223\002G\022E/v1/{parent=p" + + "rojects/*/locations/*/privateClouds/*}/h" + + "cxActivationKeys\332A\006parent\022\325\001\n\023GetHcxActi" + + "vationKey\0228.google.cloud.vmwareengine.v1" + + ".GetHcxActivationKeyRequest\032..google.clo" + + "ud.vmwareengine.v1.HcxActivationKey\"T\202\323\344" + + "\223\002G\022E/v1/{name=projects/*/locations/*/pr" + + "ivateClouds/*/hcxActivationKeys/*}\332A\004nam" + + "e\022\272\001\n\020GetNetworkPolicy\0225.google.cloud.vm" + + "wareengine.v1.GetNetworkPolicyRequest\032+." + + "google.cloud.vmwareengine.v1.NetworkPoli" + + "cy\"B\202\323\344\223\0025\0223/v1/{name=projects/*/locatio" + + "ns/*/networkPolicies/*}\332A\004name\022\320\001\n\023ListN" + + "etworkPolicies\0228.google.cloud.vmwareengi" + + "ne.v1.ListNetworkPoliciesRequest\0329.googl" + + "e.cloud.vmwareengine.v1.ListNetworkPolic" + + "iesResponse\"D\202\323\344\223\0025\0223/v1/{parent=project" + + "s/*/locations/*}/networkPolicies\332A\006paren" + + "t\022\213\002\n\023CreateNetworkPolicy\0228.google.cloud" + + ".vmwareengine.v1.CreateNetworkPolicyRequ" + + "est\032\035.google.longrunning.Operation\"\232\001\202\323\344" + + "\223\002E\"3/v1/{parent=projects/*/locations/*}" + + "/networkPolicies:\016network_policy\332A\'paren" + + "t,network_policy,network_policy_id\312A\"\n\rN" + + "etworkPolicy\022\021OperationMetadata\022\215\002\n\023Upda" + + "teNetworkPolicy\0228.google.cloud.vmwareeng" + + "ine.v1.UpdateNetworkPolicyRequest\032\035.goog" + + "le.longrunning.Operation\"\234\001\202\323\344\223\002T2B/v1/{" + + "network_policy.name=projects/*/locations" + + "/*/networkPolicies/*}:\016network_policy\332A\032" + + "network_policy,update_mask\312A\"\n\rNetworkPo" + + "licy\022\021OperationMetadata\022\337\001\n\023DeleteNetwor" + + "kPolicy\0228.google.cloud.vmwareengine.v1.D" + + "eleteNetworkPolicyRequest\032\035.google.longr" + + "unning.Operation\"o\202\323\344\223\0025*3/v1/{name=proj" + + "ects/*/locations/*/networkPolicies/*}\332A\004" + + "name\312A*\n\025google.protobuf.Empty\022\021Operatio" + + "nMetadata\022\267\002\n\031CreateVmwareEngineNetwork\022" + + ">.google.cloud.vmwareengine.v1.CreateVmw" + + "areEngineNetworkRequest\032\035.google.longrun" + + "ning.Operation\"\272\001\202\323\344\223\002Q\"8/v1/{parent=pro" + + "jects/*/locations/*}/vmwareEngineNetwork" + + "s:\025vmware_engine_network\332A5parent,vmware" + + "_engine_network,vmware_engine_network_id" + + "\312A(\n\023VmwareEngineNetwork\022\021OperationMetad" + + "ata\022\271\002\n\031UpdateVmwareEngineNetwork\022>.goog" + + "le.cloud.vmwareengine.v1.UpdateVmwareEng" + + "ineNetworkRequest\032\035.google.longrunning.O" + + "peration\"\274\001\202\323\344\223\002g2N/v1/{vmware_engine_ne" + + "twork.name=projects/*/locations/*/vmware" + + "EngineNetworks/*}:\025vmware_engine_network" + + "\332A!vmware_engine_network,update_mask\312A(\n" + + "\023VmwareEngineNetwork\022\021OperationMetadata\022" + + "\360\001\n\031DeleteVmwareEngineNetwork\022>.google.c" + + "loud.vmwareengine.v1.DeleteVmwareEngineN" + + "etworkRequest\032\035.google.longrunning.Opera" + + "tion\"t\202\323\344\223\002:*8/v1/{name=projects/*/locat" + + "ions/*/vmwareEngineNetworks/*}\332A\004name\312A*" + + "\n\025google.protobuf.Empty\022\021OperationMetada" + + "ta\022\321\001\n\026GetVmwareEngineNetwork\022;.google.c" + + "loud.vmwareengine.v1.GetVmwareEngineNetw" + + "orkRequest\0321.google.cloud.vmwareengine.v" + + "1.VmwareEngineNetwork\"G\202\323\344\223\002:\0228/v1/{name" + + "=projects/*/locations/*/vmwareEngineNetw" + + "orks/*}\332A\004name\022\344\001\n\030ListVmwareEngineNetwo" + + "rks\022=.google.cloud.vmwareengine.v1.ListV" + + "mwareEngineNetworksRequest\032>.google.clou" + + "d.vmwareengine.v1.ListVmwareEngineNetwor" + + "ksResponse\"I\202\323\344\223\002:\0228/v1/{parent=projects" + + "/*/locations/*}/vmwareEngineNetworks\332A\006p" + + "arent\032O\312A\033vmwareengine.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\256\002\n com.google.cloud.vmwareengine" + + ".v1B\021VmwareengineProtoP\001ZDcloud.google.c" + + "om/go/vmwareengine/apiv1/vmwareenginepb;" + + "vmwareenginepb\252\002\034Google.Cloud.VmwareEngi" + + "ne.V1\312\002\034Google\\Cloud\\VmwareEngine\\V1\352\002\037G" + + "oogle::Cloud::VmwareEngine::V1\352AN\n\036compu" + + "te.googleapis.com/Network\022,projects/{pro" + + "ject}/global/networks/{network}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -767,71 +550,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_google_cloud_vmwareengine_v1_NetworkConfig_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_vmwareengine_v1_NetworkConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_NetworkConfig_descriptor, - new java.lang.String[] { - "ManagementCidr", - "VmwareEngineNetwork", - "VmwareEngineNetworkCanonical", - "ManagementIpAddressLayoutVersion", - }); - internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_descriptor, - new java.lang.String[] { - "NodeCount", "CustomCoreCount", - }); - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "DeleteTime", - "ExpireTime", - "State", - "NetworkConfig", - "ManagementCluster", - "Description", - "Hcx", - "Nsx", - "Vcenter", - "Uid", - }); - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor = - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor, - new java.lang.String[] { - "ClusterId", "NodeTypeConfigs", - }); - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_descriptor = - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); internal_static_google_cloud_vmwareengine_v1_ListPrivateCloudsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_vmwareengine_v1_ListPrivateCloudsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListPrivateCloudsRequest_descriptor, @@ -839,7 +564,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_vmwareengine_v1_ListPrivateCloudsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(1); internal_static_google_cloud_vmwareengine_v1_ListPrivateCloudsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListPrivateCloudsResponse_descriptor, @@ -847,7 +572,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PrivateClouds", "NextPageToken", "Unreachable", }); internal_static_google_cloud_vmwareengine_v1_GetPrivateCloudRequest_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageTypes().get(2); internal_static_google_cloud_vmwareengine_v1_GetPrivateCloudRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_GetPrivateCloudRequest_descriptor, @@ -855,7 +580,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_vmwareengine_v1_CreatePrivateCloudRequest_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageTypes().get(3); internal_static_google_cloud_vmwareengine_v1_CreatePrivateCloudRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_CreatePrivateCloudRequest_descriptor, @@ -863,7 +588,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PrivateCloudId", "PrivateCloud", "RequestId", "ValidateOnly", }); internal_static_google_cloud_vmwareengine_v1_UpdatePrivateCloudRequest_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageTypes().get(4); internal_static_google_cloud_vmwareengine_v1_UpdatePrivateCloudRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_UpdatePrivateCloudRequest_descriptor, @@ -871,7 +596,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PrivateCloud", "UpdateMask", "RequestId", }); internal_static_google_cloud_vmwareengine_v1_DeletePrivateCloudRequest_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(5); internal_static_google_cloud_vmwareengine_v1_DeletePrivateCloudRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_DeletePrivateCloudRequest_descriptor, @@ -879,31 +604,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "RequestId", "Force", "DelayHours", "DelayHours", }); internal_static_google_cloud_vmwareengine_v1_UndeletePrivateCloudRequest_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(6); internal_static_google_cloud_vmwareengine_v1_UndeletePrivateCloudRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_UndeletePrivateCloudRequest_descriptor, new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_vmwareengine_v1_Cluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor, - new java.lang.String[] { - "Name", "CreateTime", "UpdateTime", "State", "Management", "Uid", "NodeTypeConfigs", - }); - internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_descriptor = - internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); internal_static_google_cloud_vmwareengine_v1_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(7); internal_static_google_cloud_vmwareengine_v1_ListClustersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListClustersRequest_descriptor, @@ -911,7 +620,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_vmwareengine_v1_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(8); internal_static_google_cloud_vmwareengine_v1_ListClustersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListClustersResponse_descriptor, @@ -919,7 +628,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Clusters", "NextPageToken", "Unreachable", }); internal_static_google_cloud_vmwareengine_v1_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(9); internal_static_google_cloud_vmwareengine_v1_GetClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_GetClusterRequest_descriptor, @@ -927,7 +636,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_vmwareengine_v1_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(10); internal_static_google_cloud_vmwareengine_v1_CreateClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_CreateClusterRequest_descriptor, @@ -935,7 +644,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", }); internal_static_google_cloud_vmwareengine_v1_UpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(11); internal_static_google_cloud_vmwareengine_v1_UpdateClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_UpdateClusterRequest_descriptor, @@ -943,23 +652,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpdateMask", "Cluster", "RequestId", "ValidateOnly", }); internal_static_google_cloud_vmwareengine_v1_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(12); internal_static_google_cloud_vmwareengine_v1_DeleteClusterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_DeleteClusterRequest_descriptor, new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_vmwareengine_v1_Subnet_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_vmwareengine_v1_Subnet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_Subnet_descriptor, - new java.lang.String[] { - "Name", "IpCidrRange", "GatewayIp", "Type", "State", - }); internal_static_google_cloud_vmwareengine_v1_ListSubnetsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_vmwareengine_v1_ListSubnetsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListSubnetsRequest_descriptor, @@ -967,7 +668,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_vmwareengine_v1_ListSubnetsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_vmwareengine_v1_ListSubnetsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListSubnetsResponse_descriptor, @@ -975,7 +676,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subnets", "NextPageToken", }); internal_static_google_cloud_vmwareengine_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_vmwareengine_v1_OperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_OperationMetadata_descriptor, @@ -988,23 +689,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestedCancellation", "ApiVersion", }); - internal_static_google_cloud_vmwareengine_v1_NodeType_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_vmwareengine_v1_NodeType_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_NodeType_descriptor, - new java.lang.String[] { - "Name", - "NodeTypeId", - "DisplayName", - "VirtualCpuCount", - "TotalCoreCount", - "MemoryGb", - "DiskSizeGb", - "AvailableCustomCoreCounts", - }); internal_static_google_cloud_vmwareengine_v1_ListNodeTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_vmwareengine_v1_ListNodeTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListNodeTypesRequest_descriptor, @@ -1012,7 +698,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", }); internal_static_google_cloud_vmwareengine_v1_ListNodeTypesResponse_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_vmwareengine_v1_ListNodeTypesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListNodeTypesResponse_descriptor, @@ -1020,23 +706,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeTypes", "NextPageToken", "Unreachable", }); internal_static_google_cloud_vmwareengine_v1_GetNodeTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_vmwareengine_v1_GetNodeTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_GetNodeTypeRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_google_cloud_vmwareengine_v1_Credentials_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_vmwareengine_v1_Credentials_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_Credentials_descriptor, - new java.lang.String[] { - "Username", "Password", - }); internal_static_google_cloud_vmwareengine_v1_ShowNsxCredentialsRequest_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(19); internal_static_google_cloud_vmwareengine_v1_ShowNsxCredentialsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ShowNsxCredentialsRequest_descriptor, @@ -1044,7 +722,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PrivateCloud", }); internal_static_google_cloud_vmwareengine_v1_ShowVcenterCredentialsRequest_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(20); internal_static_google_cloud_vmwareengine_v1_ShowVcenterCredentialsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ShowVcenterCredentialsRequest_descriptor, @@ -1052,7 +730,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PrivateCloud", }); internal_static_google_cloud_vmwareengine_v1_ResetNsxCredentialsRequest_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(21); internal_static_google_cloud_vmwareengine_v1_ResetNsxCredentialsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ResetNsxCredentialsRequest_descriptor, @@ -1060,7 +738,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PrivateCloud", "RequestId", }); internal_static_google_cloud_vmwareengine_v1_ResetVcenterCredentialsRequest_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(22); internal_static_google_cloud_vmwareengine_v1_ResetVcenterCredentialsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ResetVcenterCredentialsRequest_descriptor, @@ -1068,23 +746,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PrivateCloud", "RequestId", }); internal_static_google_cloud_vmwareengine_v1_ListHcxActivationKeysResponse_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(23); internal_static_google_cloud_vmwareengine_v1_ListHcxActivationKeysResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListHcxActivationKeysResponse_descriptor, new java.lang.String[] { "HcxActivationKeys", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_descriptor, - new java.lang.String[] { - "Name", "CreateTime", "State", "ActivationKey", "Uid", - }); internal_static_google_cloud_vmwareengine_v1_ListHcxActivationKeysRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(24); internal_static_google_cloud_vmwareengine_v1_ListHcxActivationKeysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListHcxActivationKeysRequest_descriptor, @@ -1092,7 +762,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_vmwareengine_v1_GetHcxActivationKeyRequest_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(25); internal_static_google_cloud_vmwareengine_v1_GetHcxActivationKeyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_GetHcxActivationKeyRequest_descriptor, @@ -1100,66 +770,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_vmwareengine_v1_CreateHcxActivationKeyRequest_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(26); internal_static_google_cloud_vmwareengine_v1_CreateHcxActivationKeyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_CreateHcxActivationKeyRequest_descriptor, new java.lang.String[] { "Parent", "HcxActivationKey", "HcxActivationKeyId", "RequestId", }); - internal_static_google_cloud_vmwareengine_v1_Hcx_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_vmwareengine_v1_Hcx_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_Hcx_descriptor, - new java.lang.String[] { - "InternalIp", "Version", "State", "Fqdn", - }); - internal_static_google_cloud_vmwareengine_v1_Nsx_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_vmwareengine_v1_Nsx_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_Nsx_descriptor, - new java.lang.String[] { - "InternalIp", "Version", "State", "Fqdn", - }); - internal_static_google_cloud_vmwareengine_v1_Vcenter_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_vmwareengine_v1_Vcenter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_Vcenter_descriptor, - new java.lang.String[] { - "InternalIp", "Version", "State", "Fqdn", - }); - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "InternetAccess", - "ExternalIp", - "EdgeServicesCidr", - "Uid", - "VmwareEngineNetwork", - "Description", - "VmwareEngineNetworkCanonical", - }); - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_descriptor = - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_descriptor, - new java.lang.String[] { - "Enabled", "State", - }); internal_static_google_cloud_vmwareengine_v1_ListNetworkPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageTypes().get(27); internal_static_google_cloud_vmwareengine_v1_ListNetworkPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListNetworkPoliciesRequest_descriptor, @@ -1167,7 +786,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_vmwareengine_v1_ListNetworkPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(40); + getDescriptor().getMessageTypes().get(28); internal_static_google_cloud_vmwareengine_v1_ListNetworkPoliciesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListNetworkPoliciesResponse_descriptor, @@ -1175,7 +794,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkPolicies", "NextPageToken", "Unreachable", }); internal_static_google_cloud_vmwareengine_v1_GetNetworkPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageTypes().get(29); internal_static_google_cloud_vmwareengine_v1_GetNetworkPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_GetNetworkPolicyRequest_descriptor, @@ -1183,7 +802,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_vmwareengine_v1_UpdateNetworkPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageTypes().get(30); internal_static_google_cloud_vmwareengine_v1_UpdateNetworkPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_UpdateNetworkPolicyRequest_descriptor, @@ -1191,7 +810,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkPolicy", "UpdateMask", "RequestId", }); internal_static_google_cloud_vmwareengine_v1_CreateNetworkPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageTypes().get(31); internal_static_google_cloud_vmwareengine_v1_CreateNetworkPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_CreateNetworkPolicyRequest_descriptor, @@ -1199,41 +818,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "NetworkPolicyId", "NetworkPolicy", "RequestId", }); internal_static_google_cloud_vmwareengine_v1_DeleteNetworkPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageTypes().get(32); internal_static_google_cloud_vmwareengine_v1_DeleteNetworkPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_DeleteNetworkPolicyRequest_descriptor, new java.lang.String[] { "Name", "RequestId", }); - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor, - new java.lang.String[] { - "Name", - "CreateTime", - "UpdateTime", - "Description", - "VpcNetworks", - "State", - "Type", - "Uid", - "Etag", - }); - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_descriptor = - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_descriptor, - new java.lang.String[] { - "Type", "Network", - }); internal_static_google_cloud_vmwareengine_v1_CreateVmwareEngineNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageTypes().get(33); internal_static_google_cloud_vmwareengine_v1_CreateVmwareEngineNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_CreateVmwareEngineNetworkRequest_descriptor, @@ -1241,7 +834,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "VmwareEngineNetworkId", "VmwareEngineNetwork", "RequestId", }); internal_static_google_cloud_vmwareengine_v1_UpdateVmwareEngineNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(47); + getDescriptor().getMessageTypes().get(34); internal_static_google_cloud_vmwareengine_v1_UpdateVmwareEngineNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_UpdateVmwareEngineNetworkRequest_descriptor, @@ -1249,7 +842,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "VmwareEngineNetwork", "UpdateMask", "RequestId", }); internal_static_google_cloud_vmwareengine_v1_DeleteVmwareEngineNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(48); + getDescriptor().getMessageTypes().get(35); internal_static_google_cloud_vmwareengine_v1_DeleteVmwareEngineNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_DeleteVmwareEngineNetworkRequest_descriptor, @@ -1257,7 +850,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "RequestId", "Etag", }); internal_static_google_cloud_vmwareengine_v1_GetVmwareEngineNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(49); + getDescriptor().getMessageTypes().get(36); internal_static_google_cloud_vmwareengine_v1_GetVmwareEngineNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_GetVmwareEngineNetworkRequest_descriptor, @@ -1265,7 +858,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_vmwareengine_v1_ListVmwareEngineNetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(50); + getDescriptor().getMessageTypes().get(37); internal_static_google_cloud_vmwareengine_v1_ListVmwareEngineNetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListVmwareEngineNetworksRequest_descriptor, @@ -1273,7 +866,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_vmwareengine_v1_ListVmwareEngineNetworksResponse_descriptor = - getDescriptor().getMessageTypes().get(51); + getDescriptor().getMessageTypes().get(38); internal_static_google_cloud_vmwareengine_v1_ListVmwareEngineNetworksResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_vmwareengine_v1_ListVmwareEngineNetworksResponse_descriptor, @@ -1287,7 +880,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.AnnotationsProto.http); registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); registry.add(com.google.api.ResourceProto.resourceDefinition); registry.add(com.google.api.ResourceProto.resourceReference); registry.add(com.google.longrunning.OperationsProto.operationInfo); @@ -1297,6 +889,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.vmwareengine.v1.VmwareengineResourcesProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareengineResourcesProto.java b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareengineResourcesProto.java new file mode 100644 index 000000000000..221669d2690a --- /dev/null +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/VmwareengineResourcesProto.java @@ -0,0 +1,481 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/vmwareengine/v1/vmwareengine_resources.proto + +package com.google.cloud.vmwareengine.v1; + +public final class VmwareengineResourcesProto { + private VmwareengineResourcesProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_NetworkConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_Subnet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_Subnet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_NodeType_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_NodeType_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_Credentials_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_Credentials_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_Hcx_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_Hcx_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_Nsx_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_Nsx_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_Vcenter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_Vcenter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n9google/cloud/vmwareengine/v1/vmwareeng" + + "ine_resources.proto\022\034google.cloud.vmware" + + "engine.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\232\002\n\rNetworkConfig" + + "\022\034\n\017management_cidr\030\004 \001(\tB\003\340A\002\022V\n\025vmware" + + "_engine_network\030\005 \001(\tB7\340A\001\372A1\n/vmwareeng" + + "ine.googleapis.com/VmwareEngineNetwork\022`" + + "\n\037vmware_engine_network_canonical\030\006 \001(\tB" + + "7\340A\003\372A1\n/vmwareengine.googleapis.com/Vmw" + + "areEngineNetwork\0221\n$management_ip_addres" + + "s_layout_version\030\010 \001(\005B\003\340A\003\"I\n\016NodeTypeC" + + "onfig\022\027\n\nnode_count\030\001 \001(\005B\003\340A\002\022\036\n\021custom" + + "_core_count\030\002 \001(\005B\003\340A\001\"\245\t\n\014PrivateCloud\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\0224\n\013delete_time\030\004 \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013expire_time\030\005 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022D\n\005st" + + "ate\030\010 \001(\01620.google.cloud.vmwareengine.v1" + + ".PrivateCloud.StateB\003\340A\003\022H\n\016network_conf" + + "ig\030\t \001(\0132+.google.cloud.vmwareengine.v1." + + "NetworkConfigB\003\340A\002\022`\n\022management_cluster" + + "\030\n \001(\0132<.google.cloud.vmwareengine.v1.Pr" + + "ivateCloud.ManagementClusterB\006\340A\004\340A\002\022\023\n\013" + + "description\030\013 \001(\t\0223\n\003hcx\030\021 \001(\0132!.google." + + "cloud.vmwareengine.v1.HcxB\003\340A\003\0223\n\003nsx\030\022 " + + "\001(\0132!.google.cloud.vmwareengine.v1.NsxB\003" + + "\340A\003\022;\n\007vcenter\030\023 \001(\0132%.google.cloud.vmwa" + + "reengine.v1.VcenterB\003\340A\003\022\020\n\003uid\030\024 \001(\tB\003\340" + + "A\003\032\205\002\n\021ManagementCluster\022\027\n\ncluster_id\030\001" + + " \001(\tB\003\340A\002\022q\n\021node_type_configs\030\007 \003(\0132Q.g" + + "oogle.cloud.vmwareengine.v1.PrivateCloud" + + ".ManagementCluster.NodeTypeConfigsEntryB" + + "\003\340A\002\032d\n\024NodeTypeConfigsEntry\022\013\n\003key\030\001 \001(" + + "\t\022;\n\005value\030\002 \001(\0132,.google.cloud.vmwareen" + + "gine.v1.NodeTypeConfig:\0028\001\"l\n\005State\022\025\n\021S" + + "TATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010CREATI" + + "NG\020\002\022\014\n\010UPDATING\020\003\022\n\n\006FAILED\020\005\022\013\n\007DELETE" + + "D\020\006\022\013\n\007PURGING\020\007:t\352Aq\n(vmwareengine.goog" + + "leapis.com/PrivateCloud\022Eprojects/{proje" + + "ct}/locations/{location}/privateClouds/{" + + "private_cloud}\"\240\005\n\007Cluster\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0224\n\013update_time\030\003 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022?\n\005sta" + + "te\030\006 \001(\0162+.google.cloud.vmwareengine.v1." + + "Cluster.StateB\003\340A\003\022\027\n\nmanagement\030\007 \001(\010B\003" + + "\340A\003\022\020\n\003uid\030\016 \001(\tB\003\340A\003\022Z\n\021node_type_confi" + + "gs\030\020 \003(\0132:.google.cloud.vmwareengine.v1." + + "Cluster.NodeTypeConfigsEntryB\003\340A\002\032d\n\024Nod" + + "eTypeConfigsEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030" + + "\002 \001(\0132,.google.cloud.vmwareengine.v1.Nod" + + "eTypeConfig:\0028\001\"c\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010CREATING\020\002\022\014\n\010UPD" + + "ATING\020\003\022\014\n\010DELETING\020\004\022\r\n\tREPAIRING\020\005:\202\001\352" + + "A\177\n#vmwareengine.googleapis.com/Cluster\022" + + "Xprojects/{project}/locations/{location}" + + "/privateClouds/{private_cloud}/clusters/" + + "{cluster}\"\360\002\n\006Subnet\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" + + "\025\n\rip_cidr_range\030\007 \001(\t\022\022\n\ngateway_ip\030\010 \001" + + "(\t\022\021\n\004type\030\013 \001(\tB\003\340A\003\022>\n\005state\030\r \001(\0162*.g" + + "oogle.cloud.vmwareengine.v1.Subnet.State" + + "B\003\340A\003\"T\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n" + + "\006ACTIVE\020\001\022\014\n\010CREATING\020\002\022\014\n\010UPDATING\020\003\022\014\n" + + "\010DELETING\020\004:\177\352A|\n\"vmwareengine.googleapi" + + "s.com/Subnet\022Vprojects/{project}/locatio" + + "ns/{location}/privateClouds/{private_clo" + + "ud}/subnets/{subnet}\"\332\002\n\010NodeType\022\021\n\004nam" + + "e\030\001 \001(\tB\003\340A\003\022\031\n\014node_type_id\030\002 \001(\tB\003\340A\003\022" + + "\031\n\014display_name\030\003 \001(\tB\003\340A\003\022\036\n\021virtual_cp" + + "u_count\030\004 \001(\005B\003\340A\003\022\035\n\020total_core_count\030\005" + + " \001(\005B\003\340A\003\022\026\n\tmemory_gb\030\007 \001(\005B\003\340A\003\022\031\n\014dis" + + "k_size_gb\030\010 \001(\005B\003\340A\003\022)\n\034available_custom" + + "_core_counts\030\013 \003(\005B\003\340A\003:h\352Ae\n$vmwareengi" + + "ne.googleapis.com/NodeType\022=projects/{pr" + + "oject}/locations/{location}/nodeTypes/{n" + + "ode_type}\"1\n\013Credentials\022\020\n\010username\030\001 \001" + + "(\t\022\020\n\010password\030\002 \001(\t\"\302\003\n\020HcxActivationKe" + + "y\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022H\n\005st" + + "ate\030\003 \001(\01624.google.cloud.vmwareengine.v1" + + ".HcxActivationKey.StateB\003\340A\003\022\033\n\016activati" + + "on_key\030\004 \001(\tB\003\340A\003\022\020\n\003uid\030\005 \001(\tB\003\340A\003\"I\n\005S" + + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\r\n\tAVAILABLE" + + "\020\001\022\014\n\010CONSUMED\020\002\022\014\n\010CREATING\020\003:\240\001\352A\234\001\n,v" + + "mwareengine.googleapis.com/HcxActivation" + + "Key\022lprojects/{project}/locations/{locat" + + "ion}/privateClouds/{private_cloud}/hcxAc" + + "tivationKeys/{hcx_activation_key}\"\260\001\n\003Hc" + + "x\022\023\n\013internal_ip\030\002 \001(\t\022\017\n\007version\030\004 \001(\t\022" + + ";\n\005state\030\005 \001(\0162\'.google.cloud.vmwareengi" + + "ne.v1.Hcx.StateB\003\340A\003\022\014\n\004fqdn\030\006 \001(\t\"8\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\014" + + "\n\010CREATING\020\002\"\260\001\n\003Nsx\022\023\n\013internal_ip\030\002 \001(" + + "\t\022\017\n\007version\030\004 \001(\t\022;\n\005state\030\005 \001(\0162\'.goog" + + "le.cloud.vmwareengine.v1.Nsx.StateB\003\340A\003\022" + + "\014\n\004fqdn\030\006 \001(\t\"8\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\n\n\006ACTIVE\020\001\022\014\n\010CREATING\020\002\"\270\001\n\007Vcen" + + "ter\022\023\n\013internal_ip\030\002 \001(\t\022\017\n\007version\030\004 \001(" + + "\t\022?\n\005state\030\005 \001(\0162+.google.cloud.vmwareen" + + "gine.v1.Vcenter.StateB\003\340A\003\022\014\n\004fqdn\030\006 \001(\t" + + "\"8\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTI" + + "VE\020\001\022\014\n\010CREATING\020\002\"\377\006\n\rNetworkPolicy\022\021\n\004" + + "name\030\001 \001(\tB\003\340A\003\0224\n\013create_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\0224\n\013update_" + + "time\030\003 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022S\n\017internet_access\030\006 \001(\0132:.google.cl" + + "oud.vmwareengine.v1.NetworkPolicy.Networ" + + "kService\022O\n\013external_ip\030\007 \001(\0132:.google.c" + + "loud.vmwareengine.v1.NetworkPolicy.Netwo" + + "rkService\022\037\n\022edge_services_cidr\030\t \001(\tB\003\340" + + "A\002\022\020\n\003uid\030\n \001(\tB\003\340A\003\022V\n\025vmware_engine_ne" + + "twork\030\014 \001(\tB7\340A\001\372A1\n/vmwareengine.google" + + "apis.com/VmwareEngineNetwork\022\030\n\013descript" + + "ion\030\r \001(\tB\003\340A\001\022`\n\037vmware_engine_network_" + + "canonical\030\016 \001(\tB7\340A\003\372A1\n/vmwareengine.go" + + "ogleapis.com/VmwareEngineNetwork\032\307\001\n\016Net" + + "workService\022\017\n\007enabled\030\001 \001(\010\022T\n\005state\030\002 " + + "\001(\0162@.google.cloud.vmwareengine.v1.Netwo" + + "rkPolicy.NetworkService.StateB\003\340A\003\"N\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\021\n\rUNPROVISIO" + + "NED\020\001\022\017\n\013RECONCILING\020\002\022\n\n\006ACTIVE\020\003:x\352Au\n" + + ")vmwareengine.googleapis.com/NetworkPoli" + + "cy\022Hprojects/{project}/locations/{locati" + + "on}/networkPolicies/{network_policy}\"\262\007\n" + + "\023VmwareEngineNetwork\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" + + "4\n\013create_time\030\002 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\022\023\n\013descripti" + + "on\030\005 \001(\t\022W\n\014vpc_networks\030\006 \003(\0132<.google." + + "cloud.vmwareengine.v1.VmwareEngineNetwor" + + "k.VpcNetworkB\003\340A\003\022K\n\005state\030\007 \001(\01627.googl" + + "e.cloud.vmwareengine.v1.VmwareEngineNetw" + + "ork.StateB\003\340A\003\022I\n\004type\030\010 \001(\01626.google.cl" + + "oud.vmwareengine.v1.VmwareEngineNetwork." + + "TypeB\003\340A\002\022\020\n\003uid\030\t \001(\tB\003\340A\003\022\014\n\004etag\030\n \001(" + + "\t\032\347\001\n\nVpcNetwork\022T\n\004type\030\001 \001(\0162A.google." + + "cloud.vmwareengine.v1.VmwareEngineNetwor" + + "k.VpcNetwork.TypeB\003\340A\003\0227\n\007network\030\002 \001(\tB" + + "&\340A\003\372A \n\036compute.googleapis.com/Network\"" + + "J\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\014\n\010INTRANE" + + "T\020\001\022\014\n\010INTERNET\020\002\022\020\n\014GOOGLE_CLOUD\020\003\"T\n\005S" + + "tate\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\"(\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006LEGAC" + + "Y\020\001:\213\001\352A\207\001\n/vmwareengine.googleapis.com/" + + "VmwareEngineNetwork\022Tprojects/{project}/" + + "locations/{location}/vmwareEngineNetwork" + + "s/{vmware_engine_network}B\346\001\n com.google" + + ".cloud.vmwareengine.v1B\032VmwareengineReso" + + "urcesProtoP\001ZDcloud.google.com/go/vmware" + + "engine/apiv1/vmwareenginepb;vmwareengine" + + "pb\252\002\034Google.Cloud.VmwareEngine.V1\312\002\034Goog" + + "le\\Cloud\\VmwareEngine\\V1\352\002\037Google::Cloud" + + "::VmwareEngine::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_vmwareengine_v1_NetworkConfig_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_vmwareengine_v1_NetworkConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_NetworkConfig_descriptor, + new java.lang.String[] { + "ManagementCidr", + "VmwareEngineNetwork", + "VmwareEngineNetworkCanonical", + "ManagementIpAddressLayoutVersion", + }); + internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_NodeTypeConfig_descriptor, + new java.lang.String[] { + "NodeCount", "CustomCoreCount", + }); + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "DeleteTime", + "ExpireTime", + "State", + "NetworkConfig", + "ManagementCluster", + "Description", + "Hcx", + "Nsx", + "Vcenter", + "Uid", + }); + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor = + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor, + new java.lang.String[] { + "ClusterId", "NodeTypeConfigs", + }); + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_descriptor = + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_PrivateCloud_ManagementCluster_NodeTypeConfigsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_vmwareengine_v1_Cluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor, + new java.lang.String[] { + "Name", "CreateTime", "UpdateTime", "State", "Management", "Uid", "NodeTypeConfigs", + }); + internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_descriptor = + internal_static_google_cloud_vmwareengine_v1_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_Cluster_NodeTypeConfigsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_vmwareengine_v1_Subnet_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_vmwareengine_v1_Subnet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_Subnet_descriptor, + new java.lang.String[] { + "Name", "IpCidrRange", "GatewayIp", "Type", "State", + }); + internal_static_google_cloud_vmwareengine_v1_NodeType_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_vmwareengine_v1_NodeType_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_NodeType_descriptor, + new java.lang.String[] { + "Name", + "NodeTypeId", + "DisplayName", + "VirtualCpuCount", + "TotalCoreCount", + "MemoryGb", + "DiskSizeGb", + "AvailableCustomCoreCounts", + }); + internal_static_google_cloud_vmwareengine_v1_Credentials_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_vmwareengine_v1_Credentials_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_Credentials_descriptor, + new java.lang.String[] { + "Username", "Password", + }); + internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_HcxActivationKey_descriptor, + new java.lang.String[] { + "Name", "CreateTime", "State", "ActivationKey", "Uid", + }); + internal_static_google_cloud_vmwareengine_v1_Hcx_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_vmwareengine_v1_Hcx_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_Hcx_descriptor, + new java.lang.String[] { + "InternalIp", "Version", "State", "Fqdn", + }); + internal_static_google_cloud_vmwareengine_v1_Nsx_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_vmwareengine_v1_Nsx_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_Nsx_descriptor, + new java.lang.String[] { + "InternalIp", "Version", "State", "Fqdn", + }); + internal_static_google_cloud_vmwareengine_v1_Vcenter_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_vmwareengine_v1_Vcenter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_Vcenter_descriptor, + new java.lang.String[] { + "InternalIp", "Version", "State", "Fqdn", + }); + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "InternetAccess", + "ExternalIp", + "EdgeServicesCidr", + "Uid", + "VmwareEngineNetwork", + "Description", + "VmwareEngineNetworkCanonical", + }); + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_descriptor = + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_NetworkPolicy_NetworkService_descriptor, + new java.lang.String[] { + "Enabled", "State", + }); + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Description", + "VpcNetworks", + "State", + "Type", + "Uid", + "Etag", + }); + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_descriptor = + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_vmwareengine_v1_VmwareEngineNetwork_VpcNetwork_descriptor, + new java.lang.String[] { + "Type", "Network", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/proto/google/cloud/vmwareengine/v1/vmwareengine.proto b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/proto/google/cloud/vmwareengine/v1/vmwareengine.proto index 947194c0e3cc..035c5bd397b5 100644 --- a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/proto/google/cloud/vmwareengine/v1/vmwareengine.proto +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/proto/google/cloud/vmwareengine/v1/vmwareengine.proto @@ -20,12 +20,13 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/vmwareengine/v1/vmwareengine_resources.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.VmwareEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/vmwareengine/v1;vmwareengine"; +option go_package = "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb;vmwareenginepb"; option java_multiple_files = true; option java_outer_classname = "VmwareengineProto"; option java_package = "com.google.cloud.vmwareengine.v1"; @@ -460,163 +461,6 @@ service VmwareEngine { } } -// Network configuration in the consumer project -// with which the peering has to be done. -message NetworkConfig { - // Required. Management CIDR used by VMware management appliances. - string management_cidr = 4 [(google.api.field_behavior) = REQUIRED]; - - // Optional. The relative resource name of the VMware Engine network attached - // to the private cloud. Specify the name in the following form: - // `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` - // where `{project}` can either be a project number or a project ID. - string vmware_engine_network = 5 [ - (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/VmwareEngineNetwork" - } - ]; - - // Output only. The canonical name of the VMware Engine network in the form: - // `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` - string vmware_engine_network_canonical = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/VmwareEngineNetwork" - } - ]; - - // Output only. The IP address layout version of the management IP address - // range. Possible versions include: - // * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address - // layout used by some existing private clouds. This is no longer supported - // for new private clouds as it does not support all features. - // * `managementIpAddressLayoutVersion=2`: Indicates the latest IP address - // layout used by all newly created private clouds. This version supports all - // current features. - int32 management_ip_address_layout_version = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Information about the type and number of nodes associated with the cluster. -message NodeTypeConfig { - // Required. The number of nodes of this type in the cluster - int32 node_count = 1 [(google.api.field_behavior) = REQUIRED]; - - // Optional. Customized number of cores available to each node of the type. - // This number must always be one of `nodeType.availableCustomCoreCounts`. - // If zero is provided max value from `nodeType.availableCustomCoreCounts` - // will be used. - int32 custom_core_count = 2 [(google.api.field_behavior) = OPTIONAL]; -} - -// Represents a private cloud resource. Private clouds are zonal resources. -message PrivateCloud { - option (google.api.resource) = { - type: "vmwareengine.googleapis.com/PrivateCloud" - pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}" - }; - - // Enum State defines possible states of private clouds. - enum State { - // The default value. This value should never be used. - STATE_UNSPECIFIED = 0; - - // The private cloud is ready. - ACTIVE = 1; - - // The private cloud is being created. - CREATING = 2; - - // The private cloud is being updated. - UPDATING = 3; - - // The private cloud is in failed state. - FAILED = 5; - - // The private cloud is scheduled for deletion. The deletion process can be - // cancelled by using the corresponding undelete method. - DELETED = 6; - - // The private cloud is irreversibly deleted and is being removed from the - // system. - PURGING = 7; - } - - // Management cluster configuration. - message ManagementCluster { - // Required. The user-provided identifier of the new `Cluster`. - // The identifier must meet the following requirements: - // - // * Only contains 1-63 alphanumeric characters and hyphens - // * Begins with an alphabetical character - // * Ends with a non-hyphen character - // * Not formatted as a UUID - // * Complies with [RFC - // 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) - string cluster_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The map of cluster node types in this cluster, where the key is - // canonical identifier of the node type (corresponds to the `NodeType`). - map node_type_configs = 7 - [(google.api.field_behavior) = REQUIRED]; - } - - // Output only. The resource name of this private cloud. - // Resource names are schemeless URIs that follow the conventions in - // https://cloud.google.com/apis/design/resource_names. - // For example: - // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Creation time of this resource. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last update time of this resource. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Time when the resource was scheduled for deletion. - google.protobuf.Timestamp delete_time = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Time when the resource will be irreversibly deleted. - google.protobuf.Timestamp expire_time = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. State of the resource. New values may be added to this enum - // when appropriate. - State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Network configuration of the private cloud. - NetworkConfig network_config = 9 [(google.api.field_behavior) = REQUIRED]; - - // Input only. The management cluster for this private cloud. - // This field is required during creation of the private cloud to provide - // details for the default cluster. - // - // The following fields can't be changed after private cloud creation: - // `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`. - ManagementCluster management_cluster = 10 - [(google.api.field_behavior) = INPUT_ONLY]; - - // User-provided description for this private cloud. - string description = 11; - - // Output only. HCX appliance. - Hcx hcx = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. NSX appliance. - Nsx nsx = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Vcenter appliance. - Vcenter vcenter = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. System-generated unique identifier for the resource. - string uid = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - // Request message for // [VmwareEngine.ListPrivateClouds][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateClouds] message ListPrivateCloudsRequest { @@ -828,68 +672,6 @@ message UndeletePrivateCloudRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } -// A cluster in a private cloud. -message Cluster { - option (google.api.resource) = { - type: "vmwareengine.googleapis.com/Cluster" - pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}" - }; - - // Enum State defines possible states of private cloud clusters. - enum State { - // The default value. This value should never be used. - STATE_UNSPECIFIED = 0; - - // The Cluster is operational and can be used by the user. - ACTIVE = 1; - - // The Cluster is being deployed. - CREATING = 2; - - // Adding or removing of a node to the cluster, any other cluster specific - // updates. - UPDATING = 3; - - // The Cluster is being deleted. - DELETING = 4; - - // The Cluster is undergoing maintenance, for example: a failed node is - // getting replaced. - REPAIRING = 5; - } - - // Output only. The resource name of this cluster. - // Resource names are schemeless URIs that follow the conventions in - // https://cloud.google.com/apis/design/resource_names. - // For example: - // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Creation time of this resource. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last update time of this resource. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. State of the resource. - State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if the cluster is a management cluster; false otherwise. - // There can only be one management cluster in a private cloud - // and it has to be the first one. - bool management = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. System-generated unique identifier for the resource. - string uid = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The map of cluster node types in this cluster, where the key is - // canonical identifier of the node type (corresponds to the `NodeType`). - map node_type_configs = 16 - [(google.api.field_behavior) = REQUIRED]; -} - // Request message for // [VmwareEngine.ListClusters][google.cloud.vmwareengine.v1.VmwareEngine.ListClusters] message ListClustersRequest { @@ -1056,54 +838,6 @@ message DeleteClusterRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } -// Subnet in a private cloud. Either `management` subnets (such as vMotion) that -// are read-only, or `userDefined`, which can also be updated. -message Subnet { - option (google.api.resource) = { - type: "vmwareengine.googleapis.com/Subnet" - pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/subnets/{subnet}" - }; - - // Defines possible states of subnets. - enum State { - // The default value. This value should never be used. - STATE_UNSPECIFIED = 0; - - // The subnet is ready. - ACTIVE = 1; - - // The subnet is being created. - CREATING = 2; - - // The subnet is being updated. - UPDATING = 3; - - // The subnet is being deleted. - DELETING = 4; - } - - // Output only. The resource name of this subnet. - // Resource names are schemeless URIs that follow the conventions in - // https://cloud.google.com/apis/design/resource_names. - // For example: - // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet` - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The IP address range of the subnet in CIDR format '10.0.0.0/24'. - string ip_cidr_range = 7; - - // The IP address of the gateway of this subnet. - // Must fall within the IP prefix defined above. - string gateway_ip = 8; - - // Output only. The type of the subnet. For example "management" or - // "userDefined". - string type = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The state of the resource. - State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - // Request message for // [VmwareEngine.ListSubnets][google.cloud.vmwareengine.v1.VmwareEngine.ListSubnets] message ListSubnetsRequest { @@ -1176,45 +910,6 @@ message OperationMetadata { string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// Describes node type. -message NodeType { - option (google.api.resource) = { - type: "vmwareengine.googleapis.com/NodeType" - pattern: "projects/{project}/locations/{location}/nodeTypes/{node_type}" - }; - - // Output only. The resource name of this node type. - // Resource names are schemeless URIs that follow the conventions in - // https://cloud.google.com/apis/design/resource_names. - // For example: - // `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The canonical identifier of the node type - // (corresponds to the `NodeType`). For example: standard-72. - string node_type_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The friendly name for this node type. - // For example: ve1-standard-72 - string display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total number of virtual CPUs in a single node. - int32 virtual_cpu_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total number of CPU cores in a single node. - int32 total_core_count = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The amount of physical memory available, defined in GB. - int32 memory_gb = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The amount of storage available, defined in GB. - int32 disk_size_gb = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of possible values of custom core count. - repeated int32 available_custom_core_counts = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} - // Request message for // [VmwareEngine.ListNodeTypes][google.cloud.vmwareengine.v1.VmwareEngine.ListNodeTypes] message ListNodeTypesRequest { @@ -1302,15 +997,6 @@ message GetNodeTypeRequest { ]; } -// Credentials for a private cloud. -message Credentials { - // Initial username. - string username = 1; - - // Initial password. - string password = 2; -} - // Request message for // [VmwareEngine.ShowNsxCredentials][google.cloud.vmwareengine.v1.VmwareEngine.ShowNsxCredentials] message ShowNsxCredentialsRequest { @@ -1426,56 +1112,6 @@ message ListHcxActivationKeysResponse { repeated string unreachable = 3; } -// HCX activation key. A default key is created during -// private cloud provisioning, but this behavior is subject to change -// and you should always verify active keys. -// Use -// [VmwareEngine.ListHcxActivationKeys][google.cloud.vmwareengine.v1.VmwareEngine.ListHcxActivationKeys] -// to retrieve existing keys and -// [VmwareEngine.CreateHcxActivationKey][google.cloud.vmwareengine.v1.VmwareEngine.CreateHcxActivationKey] -// to create new ones. -message HcxActivationKey { - option (google.api.resource) = { - type: "vmwareengine.googleapis.com/HcxActivationKey" - pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/hcxActivationKeys/{hcx_activation_key}" - }; - - // State of HCX activation key - enum State { - // Unspecified state. - STATE_UNSPECIFIED = 0; - - // State of a newly generated activation key. - AVAILABLE = 1; - - // State of key when it has been used to activate HCX appliance. - CONSUMED = 2; - - // State of key when it is being created. - CREATING = 3; - } - - // Output only. The resource name of this HcxActivationKey. - // Resource names are schemeless URIs that follow the conventions in - // https://cloud.google.com/apis/design/resource_names. - // For example: - // `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key` - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Creation time of HCX activation key. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. State of HCX activation key. - State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. HCX activation key. - string activation_key = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. System-generated unique identifier for the resource. - string uid = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - // Request message for // [VmwareEngine.ListHcxActivationKeys][google.cloud.vmwareengine.v1.VmwareEngine.ListHcxActivationKeys] message ListHcxActivationKeysRequest { @@ -1572,185 +1208,6 @@ message CreateHcxActivationKeyRequest { string request_id = 4; } -// Details about a HCX Cloud Manager appliance. -message Hcx { - // State of the appliance - enum State { - // Unspecified appliance state. This is the default value. - STATE_UNSPECIFIED = 0; - - // The appliance is operational and can be used. - ACTIVE = 1; - - // The appliance is being deployed. - CREATING = 2; - } - - // Internal IP address of the appliance. - string internal_ip = 2; - - // Version of the appliance. - string version = 4; - - // Output only. The state of the appliance. - State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Fully qualified domain name of the appliance. - string fqdn = 6; -} - -// Details about a NSX Manager appliance. -message Nsx { - // State of the appliance - enum State { - // Unspecified appliance state. This is the default value. - STATE_UNSPECIFIED = 0; - - // The appliance is operational and can be used. - ACTIVE = 1; - - // The appliance is being deployed. - CREATING = 2; - } - - // Internal IP address of the appliance. - string internal_ip = 2; - - // Version of the appliance. - string version = 4; - - // Output only. The state of the appliance. - State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Fully qualified domain name of the appliance. - string fqdn = 6; -} - -// Details about a vCenter Server management appliance. -message Vcenter { - // State of the appliance - enum State { - // Unspecified appliance state. This is the default value. - STATE_UNSPECIFIED = 0; - - // The appliance is operational and can be used. - ACTIVE = 1; - - // The appliance is being deployed. - CREATING = 2; - } - - // Internal IP address of the appliance. - string internal_ip = 2; - - // Version of the appliance. - string version = 4; - - // Output only. The state of the appliance. - State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Fully qualified domain name of the appliance. - string fqdn = 6; -} - -// Represents a network policy resource. Network policies are regional -// resources. You can use a network policy to enable or disable internet access -// and external IP access. Network policies are associated with a VMware Engine -// network, which might span across regions. For a given region, a network -// policy applies to all private clouds in the VMware Engine network associated -// with the policy. -message NetworkPolicy { - option (google.api.resource) = { - type: "vmwareengine.googleapis.com/NetworkPolicy" - pattern: "projects/{project}/locations/{location}/networkPolicies/{network_policy}" - }; - - // Represents a network service that is managed by a `NetworkPolicy` resource. - // A network service provides a way to control an aspect of external access to - // VMware workloads. For example, whether the VMware workloads in the - // private clouds governed by a network policy can access or be accessed from - // the internet. - message NetworkService { - // Enum State defines possible states of a network policy controlled - // service. - enum State { - // Unspecified service state. This is the default value. - STATE_UNSPECIFIED = 0; - - // Service is not provisioned. - UNPROVISIONED = 1; - - // Service is in the process of being provisioned/deprovisioned. - RECONCILING = 2; - - // Service is active. - ACTIVE = 3; - } - - // True if the service is enabled; false otherwise. - bool enabled = 1; - - // Output only. State of the service. New values may be added to this enum - // when appropriate. - State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of this network policy. - // Resource names are schemeless URIs that follow the conventions in - // https://cloud.google.com/apis/design/resource_names. - // For example: - // `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Creation time of this resource. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last update time of this resource. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Network service that allows VMware workloads to access the internet. - NetworkService internet_access = 6; - - // Network service that allows External IP addresses to be assigned to VMware - // workloads. This service can only be enabled when `internet_access` is also - // enabled. - NetworkService external_ip = 7; - - // Required. IP address range in CIDR notation used to create internet access - // and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is - // required. The range cannot overlap with any prefixes either in the consumer - // VPC network or in use by the private clouds attached to that VPC network. - string edge_services_cidr = 9 [(google.api.field_behavior) = REQUIRED]; - - // Output only. System-generated unique identifier for the resource. - string uid = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional. The relative resource name of the VMware Engine network. - // Specify the name in the following form: - // `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` - // where `{project}` can either be a project number or a project ID. - string vmware_engine_network = 12 [ - (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/VmwareEngineNetwork" - } - ]; - - // Optional. User-provided description for this network policy. - string description = 13 [(google.api.field_behavior) = OPTIONAL]; - - // Output only. The canonical name of the VMware Engine network in the form: - // `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` - string vmware_engine_network_canonical = 14 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/VmwareEngineNetwork" - } - ]; -} - // Request message for // [VmwareEngine.ListNetworkPolicies][google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPolicies] message ListNetworkPoliciesRequest { @@ -1958,121 +1415,6 @@ message DeleteNetworkPolicyRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } -// VMware Engine network resource that provides connectivity for VMware Engine -// private clouds. -message VmwareEngineNetwork { - option (google.api.resource) = { - type: "vmwareengine.googleapis.com/VmwareEngineNetwork" - pattern: "projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network}" - }; - - // Represents a VMware Engine VPC network that is managed by a - // VMware Engine network resource. - message VpcNetwork { - // Enum Type defines possible types of a VMware Engine network controlled - // service. - enum Type { - // The default value. This value should never be used. - TYPE_UNSPECIFIED = 0; - - // VPC network that will be peered with a consumer VPC network or the - // intranet VPC of another VMware Engine network. Access a private cloud - // through Compute Engine VMs on a peered VPC network or an on-premises - // resource connected to a peered consumer VPC network. - INTRANET = 1; - - // VPC network used for internet access to and from a private cloud. - INTERNET = 2; - - // VPC network used for access to Google Cloud services like - // Cloud Storage. - GOOGLE_CLOUD = 3; - } - - // Output only. Type of VPC network (INTRANET, INTERNET, or - // GOOGLE_CLOUD) - Type type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The relative resource name of the service VPC network this - // VMware Engine network is attached to. For example: - // `projects/123123/global/networks/my-network` - string network = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "compute.googleapis.com/Network" - } - ]; - } - - // Enum State defines possible states of VMware Engine network. - enum State { - // The default value. This value is used if the state is omitted. - STATE_UNSPECIFIED = 0; - - // The VMware Engine network is being created. - CREATING = 1; - - // The VMware Engine network is ready. - ACTIVE = 2; - - // The VMware Engine network is being updated. - UPDATING = 3; - - // The VMware Engine network is being deleted. - DELETING = 4; - } - - // Enum Type defines possible types of VMware Engine network. - enum Type { - // The default value. This value should never be used. - TYPE_UNSPECIFIED = 0; - - // Network type used by private clouds created in projects without a network - // of type `STANDARD`. This network type is no longer used for new VMware - // Engine private cloud deployments. - LEGACY = 1; - } - - // Output only. The resource name of the VMware Engine network. - // Resource names are schemeless URIs that follow the conventions in - // https://cloud.google.com/apis/design/resource_names. - // For example: - // `projects/my-project/locations/global/vmwareEngineNetworks/my-network` - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Creation time of this resource. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last update time of this resource. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // User-provided description for this VMware Engine network. - string description = 5; - - // Output only. VMware Engine service VPC networks that provide connectivity - // from a private cloud to customer projects, the internet, and other Google - // Cloud services. - repeated VpcNetwork vpc_networks = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. State of the VMware Engine network. - State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. VMware Engine network type. - Type type = 8 [(google.api.field_behavior) = REQUIRED]; - - // Output only. System-generated unique identifier for the resource. - string uid = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Checksum that may be sent on update and delete requests to ensure that the - // user-provided value is up to date before the server processes a request. - // The server computes checksums based on the value of other fields in the - // request. - string etag = 10; -} - // Request message for // [VmwareEngine.CreateVmwareEngineNetwork][google.cloud.vmwareengine.v1.VmwareEngine.CreateVmwareEngineNetwork] message CreateVmwareEngineNetworkRequest { diff --git a/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/proto/google/cloud/vmwareengine/v1/vmwareengine_resources.proto b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/proto/google/cloud/vmwareengine/v1/vmwareengine_resources.proto new file mode 100644 index 000000000000..4f0a496df033 --- /dev/null +++ b/java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/proto/google/cloud/vmwareengine/v1/vmwareengine_resources.proto @@ -0,0 +1,690 @@ +// Copyright 2022 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 +// +// http://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. + +syntax = "proto3"; + +package google.cloud.vmwareengine.v1; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/timestamp.proto"; + +option csharp_namespace = "Google.Cloud.VmwareEngine.V1"; +option go_package = "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb;vmwareenginepb"; +option java_multiple_files = true; +option java_outer_classname = "VmwareengineResourcesProto"; +option java_package = "com.google.cloud.vmwareengine.v1"; +option php_namespace = "Google\\Cloud\\VmwareEngine\\V1"; +option ruby_package = "Google::Cloud::VmwareEngine::V1"; + +// Network configuration in the consumer project +// with which the peering has to be done. +message NetworkConfig { + // Required. Management CIDR used by VMware management appliances. + string management_cidr = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The relative resource name of the VMware Engine network attached + // to the private cloud. Specify the name in the following form: + // `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` + // where `{project}` can either be a project number or a project ID. + string vmware_engine_network = 5 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/VmwareEngineNetwork" + } + ]; + + // Output only. The canonical name of the VMware Engine network in the form: + // `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` + string vmware_engine_network_canonical = 6 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/VmwareEngineNetwork" + } + ]; + + // Output only. The IP address layout version of the management IP address + // range. Possible versions include: + // * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address + // layout used by some existing private clouds. This is no longer supported + // for new private clouds as it does not support all features. + // * `managementIpAddressLayoutVersion=2`: Indicates the latest IP address + // layout used by all newly created private clouds. This version supports all + // current features. + int32 management_ip_address_layout_version = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Information about the type and number of nodes associated with the cluster. +message NodeTypeConfig { + // Required. The number of nodes of this type in the cluster + int32 node_count = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Customized number of cores available to each node of the type. + // This number must always be one of `nodeType.availableCustomCoreCounts`. + // If zero is provided max value from `nodeType.availableCustomCoreCounts` + // will be used. + int32 custom_core_count = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Represents a private cloud resource. Private clouds are zonal resources. +message PrivateCloud { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}" + }; + + // Enum State defines possible states of private clouds. + enum State { + // The default value. This value should never be used. + STATE_UNSPECIFIED = 0; + + // The private cloud is ready. + ACTIVE = 1; + + // The private cloud is being created. + CREATING = 2; + + // The private cloud is being updated. + UPDATING = 3; + + // The private cloud is in failed state. + FAILED = 5; + + // The private cloud is scheduled for deletion. The deletion process can be + // cancelled by using the corresponding undelete method. + DELETED = 6; + + // The private cloud is irreversibly deleted and is being removed from the + // system. + PURGING = 7; + } + + // Management cluster configuration. + message ManagementCluster { + // Required. The user-provided identifier of the new `Cluster`. + // The identifier must meet the following requirements: + // + // * Only contains 1-63 alphanumeric characters and hyphens + // * Begins with an alphabetical character + // * Ends with a non-hyphen character + // * Not formatted as a UUID + // * Complies with [RFC + // 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) + string cluster_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The map of cluster node types in this cluster, where the key is + // canonical identifier of the node type (corresponds to the `NodeType`). + map node_type_configs = 7 + [(google.api.field_behavior) = REQUIRED]; + } + + // Output only. The resource name of this private cloud. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the resource was scheduled for deletion. + google.protobuf.Timestamp delete_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the resource will be irreversibly deleted. + google.protobuf.Timestamp expire_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. State of the resource. New values may be added to this enum + // when appropriate. + State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Network configuration of the private cloud. + NetworkConfig network_config = 9 [(google.api.field_behavior) = REQUIRED]; + + // Required. Input only. The management cluster for this private cloud. + // This field is required during creation of the private cloud to provide + // details for the default cluster. + // + // The following fields can't be changed after private cloud creation: + // `ManagementCluster.clusterId`, `ManagementCluster.nodeTypeId`. + ManagementCluster management_cluster = 10 [ + (google.api.field_behavior) = INPUT_ONLY, + (google.api.field_behavior) = REQUIRED + ]; + + // User-provided description for this private cloud. + string description = 11; + + // Output only. HCX appliance. + Hcx hcx = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. NSX appliance. + Nsx nsx = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Vcenter appliance. + Vcenter vcenter = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. System-generated unique identifier for the resource. + string uid = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// A cluster in a private cloud. +message Cluster { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/Cluster" + pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}" + }; + + // Enum State defines possible states of private cloud clusters. + enum State { + // The default value. This value should never be used. + STATE_UNSPECIFIED = 0; + + // The Cluster is operational and can be used by the user. + ACTIVE = 1; + + // The Cluster is being deployed. + CREATING = 2; + + // Adding or removing of a node to the cluster, any other cluster specific + // updates. + UPDATING = 3; + + // The Cluster is being deleted. + DELETING = 4; + + // The Cluster is undergoing maintenance, for example: a failed node is + // getting replaced. + REPAIRING = 5; + } + + // Output only. The resource name of this cluster. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. State of the resource. + State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. True if the cluster is a management cluster; false otherwise. + // There can only be one management cluster in a private cloud + // and it has to be the first one. + bool management = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. System-generated unique identifier for the resource. + string uid = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The map of cluster node types in this cluster, where the key is + // canonical identifier of the node type (corresponds to the `NodeType`). + map node_type_configs = 16 + [(google.api.field_behavior) = REQUIRED]; +} + +// Subnet in a private cloud. Either `management` subnets (such as vMotion) that +// are read-only, or `userDefined`, which can also be updated. +message Subnet { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/Subnet" + pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/subnets/{subnet}" + }; + + // Defines possible states of subnets. + enum State { + // The default value. This value should never be used. + STATE_UNSPECIFIED = 0; + + // The subnet is ready. + ACTIVE = 1; + + // The subnet is being created. + CREATING = 2; + + // The subnet is being updated. + UPDATING = 3; + + // The subnet is being deleted. + DELETING = 4; + } + + // Output only. The resource name of this subnet. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The IP address range of the subnet in CIDR format '10.0.0.0/24'. + string ip_cidr_range = 7; + + // The IP address of the gateway of this subnet. + // Must fall within the IP prefix defined above. + string gateway_ip = 8; + + // Output only. The type of the subnet. For example "management" or + // "userDefined". + string type = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The state of the resource. + State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Describes node type. +message NodeType { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/NodeType" + pattern: "projects/{project}/locations/{location}/nodeTypes/{node_type}" + }; + + // Output only. The resource name of this node type. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The canonical identifier of the node type + // (corresponds to the `NodeType`). For example: standard-72. + string node_type_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The friendly name for this node type. + // For example: ve1-standard-72 + string display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total number of virtual CPUs in a single node. + int32 virtual_cpu_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total number of CPU cores in a single node. + int32 total_core_count = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The amount of physical memory available, defined in GB. + int32 memory_gb = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The amount of storage available, defined in GB. + int32 disk_size_gb = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. List of possible values of custom core count. + repeated int32 available_custom_core_counts = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Credentials for a private cloud. +message Credentials { + // Initial username. + string username = 1; + + // Initial password. + string password = 2; +} + +// HCX activation key. A default key is created during +// private cloud provisioning, but this behavior is subject to change +// and you should always verify active keys. +// Use +// [VmwareEngine.ListHcxActivationKeys][google.cloud.vmwareengine.v1.VmwareEngine.ListHcxActivationKeys] +// to retrieve existing keys and +// [VmwareEngine.CreateHcxActivationKey][google.cloud.vmwareengine.v1.VmwareEngine.CreateHcxActivationKey] +// to create new ones. +message HcxActivationKey { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/HcxActivationKey" + pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/hcxActivationKeys/{hcx_activation_key}" + }; + + // State of HCX activation key + enum State { + // Unspecified state. + STATE_UNSPECIFIED = 0; + + // State of a newly generated activation key. + AVAILABLE = 1; + + // State of key when it has been used to activate HCX appliance. + CONSUMED = 2; + + // State of key when it is being created. + CREATING = 3; + } + + // Output only. The resource name of this HcxActivationKey. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of HCX activation key. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. State of HCX activation key. + State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. HCX activation key. + string activation_key = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. System-generated unique identifier for the resource. + string uid = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Details about a HCX Cloud Manager appliance. +message Hcx { + // State of the appliance + enum State { + // Unspecified appliance state. This is the default value. + STATE_UNSPECIFIED = 0; + + // The appliance is operational and can be used. + ACTIVE = 1; + + // The appliance is being deployed. + CREATING = 2; + } + + // Internal IP address of the appliance. + string internal_ip = 2; + + // Version of the appliance. + string version = 4; + + // Output only. The state of the appliance. + State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Fully qualified domain name of the appliance. + string fqdn = 6; +} + +// Details about a NSX Manager appliance. +message Nsx { + // State of the appliance + enum State { + // Unspecified appliance state. This is the default value. + STATE_UNSPECIFIED = 0; + + // The appliance is operational and can be used. + ACTIVE = 1; + + // The appliance is being deployed. + CREATING = 2; + } + + // Internal IP address of the appliance. + string internal_ip = 2; + + // Version of the appliance. + string version = 4; + + // Output only. The state of the appliance. + State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Fully qualified domain name of the appliance. + string fqdn = 6; +} + +// Details about a vCenter Server management appliance. +message Vcenter { + // State of the appliance + enum State { + // Unspecified appliance state. This is the default value. + STATE_UNSPECIFIED = 0; + + // The appliance is operational and can be used. + ACTIVE = 1; + + // The appliance is being deployed. + CREATING = 2; + } + + // Internal IP address of the appliance. + string internal_ip = 2; + + // Version of the appliance. + string version = 4; + + // Output only. The state of the appliance. + State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Fully qualified domain name of the appliance. + string fqdn = 6; +} + +// Represents a network policy resource. Network policies are regional +// resources. You can use a network policy to enable or disable internet access +// and external IP access. Network policies are associated with a VMware Engine +// network, which might span across regions. For a given region, a network +// policy applies to all private clouds in the VMware Engine network associated +// with the policy. +message NetworkPolicy { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/NetworkPolicy" + pattern: "projects/{project}/locations/{location}/networkPolicies/{network_policy}" + }; + + // Represents a network service that is managed by a `NetworkPolicy` resource. + // A network service provides a way to control an aspect of external access to + // VMware workloads. For example, whether the VMware workloads in the + // private clouds governed by a network policy can access or be accessed from + // the internet. + message NetworkService { + // Enum State defines possible states of a network policy controlled + // service. + enum State { + // Unspecified service state. This is the default value. + STATE_UNSPECIFIED = 0; + + // Service is not provisioned. + UNPROVISIONED = 1; + + // Service is in the process of being provisioned/deprovisioned. + RECONCILING = 2; + + // Service is active. + ACTIVE = 3; + } + + // True if the service is enabled; false otherwise. + bool enabled = 1; + + // Output only. State of the service. New values may be added to this enum + // when appropriate. + State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. The resource name of this network policy. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Network service that allows VMware workloads to access the internet. + NetworkService internet_access = 6; + + // Network service that allows External IP addresses to be assigned to VMware + // workloads. This service can only be enabled when `internet_access` is also + // enabled. + NetworkService external_ip = 7; + + // Required. IP address range in CIDR notation used to create internet access + // and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is + // required. The range cannot overlap with any prefixes either in the consumer + // VPC network or in use by the private clouds attached to that VPC network. + string edge_services_cidr = 9 [(google.api.field_behavior) = REQUIRED]; + + // Output only. System-generated unique identifier for the resource. + string uid = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The relative resource name of the VMware Engine network. + // Specify the name in the following form: + // `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` + // where `{project}` can either be a project number or a project ID. + string vmware_engine_network = 12 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/VmwareEngineNetwork" + } + ]; + + // Optional. User-provided description for this network policy. + string description = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The canonical name of the VMware Engine network in the form: + // `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` + string vmware_engine_network_canonical = 14 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/VmwareEngineNetwork" + } + ]; +} + +// VMware Engine network resource that provides connectivity for VMware Engine +// private clouds. +message VmwareEngineNetwork { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/VmwareEngineNetwork" + pattern: "projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network}" + }; + + // Represents a VMware Engine VPC network that is managed by a + // VMware Engine network resource. + message VpcNetwork { + // Enum Type defines possible types of a VMware Engine network controlled + // service. + enum Type { + // The default value. This value should never be used. + TYPE_UNSPECIFIED = 0; + + // VPC network that will be peered with a consumer VPC network or the + // intranet VPC of another VMware Engine network. Access a private cloud + // through Compute Engine VMs on a peered VPC network or an on-premises + // resource connected to a peered consumer VPC network. + INTRANET = 1; + + // VPC network used for internet access to and from a private cloud. + INTERNET = 2; + + // VPC network used for access to Google Cloud services like + // Cloud Storage. + GOOGLE_CLOUD = 3; + } + + // Output only. Type of VPC network (INTRANET, INTERNET, or + // GOOGLE_CLOUD) + Type type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The relative resource name of the service VPC network this + // VMware Engine network is attached to. For example: + // `projects/123123/global/networks/my-network` + string network = 2 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "compute.googleapis.com/Network" + } + ]; + } + + // Enum State defines possible states of VMware Engine network. + enum State { + // The default value. This value is used if the state is omitted. + STATE_UNSPECIFIED = 0; + + // The VMware Engine network is being created. + CREATING = 1; + + // The VMware Engine network is ready. + ACTIVE = 2; + + // The VMware Engine network is being updated. + UPDATING = 3; + + // The VMware Engine network is being deleted. + DELETING = 4; + } + + // Enum Type defines possible types of VMware Engine network. + enum Type { + // The default value. This value should never be used. + TYPE_UNSPECIFIED = 0; + + // Network type used by private clouds created in projects without a network + // of type `STANDARD`. This network type is no longer used for new VMware + // Engine private cloud deployments. + LEGACY = 1; + } + + // Output only. The resource name of the VMware Engine network. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/global/vmwareEngineNetworks/my-network` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // User-provided description for this VMware Engine network. + string description = 5; + + // Output only. VMware Engine service VPC networks that provide connectivity + // from a private cloud to customer projects, the internet, and other Google + // Cloud services. + repeated VpcNetwork vpc_networks = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. State of the VMware Engine network. + State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. VMware Engine network type. + Type type = 8 [(google.api.field_behavior) = REQUIRED]; + + // Output only. System-generated unique identifier for the resource. + string uid = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Checksum that may be sent on update and delete requests to ensure that the + // user-provided value is up to date before the server processes a request. + // The server computes checksums based on the value of other fields in the + // request. + string etag = 10; +} diff --git a/java-vpcaccess/README.md b/java-vpcaccess/README.md index 6c6c24b204d3..c8326a53077a 100644 --- a/java-vpcaccess/README.md +++ b/java-vpcaccess/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-vpcaccess - 2.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vpcaccess:2.9.0' +implementation 'com.google.cloud:google-cloud-vpcaccess:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "2.10.0" ``` ## Authentication diff --git a/java-vpcaccess/google-cloud-vpcaccess-bom/pom.xml b/java-vpcaccess/google-cloud-vpcaccess-bom/pom.xml index 5677715cc3c4..8cc8088cb6e8 100644 --- a/java-vpcaccess/google-cloud-vpcaccess-bom/pom.xml +++ b/java-vpcaccess/google-cloud-vpcaccess-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-vpcaccess-bom - 2.10.0 + 2.11.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,17 +27,17 @@ com.google.cloud google-cloud-vpcaccess - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-vpcaccess-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-vpcaccess-v1 - 2.10.0 + 2.11.0 diff --git a/java-vpcaccess/google-cloud-vpcaccess/pom.xml b/java-vpcaccess/google-cloud-vpcaccess/pom.xml index ca5a920c39de..10f84dbc5333 100644 --- a/java-vpcaccess/google-cloud-vpcaccess/pom.xml +++ b/java-vpcaccess/google-cloud-vpcaccess/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-vpcaccess - 2.10.0 + 2.11.0 jar Google Serverless VPC Access Serverless VPC Access enables you to connect from a serverless environment on Google Cloud directly to your VPC network. This connection makes it possible for your serverless environment to access resources in your VPC network via internal IP addresses. com.google.cloud google-cloud-vpcaccess-parent - 2.10.0 + 2.11.0 google-cloud-vpcaccess diff --git a/java-vpcaccess/grpc-google-cloud-vpcaccess-v1/pom.xml b/java-vpcaccess/grpc-google-cloud-vpcaccess-v1/pom.xml index 63c0bdd90d5f..50bf8686402a 100644 --- a/java-vpcaccess/grpc-google-cloud-vpcaccess-v1/pom.xml +++ b/java-vpcaccess/grpc-google-cloud-vpcaccess-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-vpcaccess-v1 - 2.10.0 + 2.11.0 grpc-google-cloud-vpcaccess-v1 GRPC library for google-cloud-vpcaccess com.google.cloud google-cloud-vpcaccess-parent - 2.10.0 + 2.11.0 diff --git a/java-vpcaccess/pom.xml b/java-vpcaccess/pom.xml index d82cdca054bf..82d36fb999de 100644 --- a/java-vpcaccess/pom.xml +++ b/java-vpcaccess/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-vpcaccess-parent pom - 2.10.0 + 2.11.0 Google Serverless VPC Access Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,17 +29,17 @@ com.google.cloud google-cloud-vpcaccess - 2.10.0 + 2.11.0 com.google.api.grpc grpc-google-cloud-vpcaccess-v1 - 2.10.0 + 2.11.0 com.google.api.grpc proto-google-cloud-vpcaccess-v1 - 2.10.0 + 2.11.0 diff --git a/java-vpcaccess/proto-google-cloud-vpcaccess-v1/pom.xml b/java-vpcaccess/proto-google-cloud-vpcaccess-v1/pom.xml index 7bcebdcb2843..0458512bd0d8 100644 --- a/java-vpcaccess/proto-google-cloud-vpcaccess-v1/pom.xml +++ b/java-vpcaccess/proto-google-cloud-vpcaccess-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-vpcaccess-v1 - 2.10.0 + 2.11.0 proto-google-cloud-vpcaccess-v1 Proto library for google-cloud-vpcaccess com.google.cloud google-cloud-vpcaccess-parent - 2.10.0 + 2.11.0 diff --git a/java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/java/com/google/cloud/vpcaccess/v1/VpcAccessProto.java b/java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/java/com/google/cloud/vpcaccess/v1/VpcAccessProto.java index acc6a599bffb..5314b003dda5 100644 --- a/java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/java/com/google/cloud/vpcaccess/v1/VpcAccessProto.java +++ b/java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/java/com/google/cloud/vpcaccess/v1/VpcAccessProto.java @@ -130,13 +130,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/*/locations/*/connectors/*}\332A\004name\312A*\n\025" + "google.protobuf.Empty\022\021OperationMetadata" + "\032L\312A\030vpcaccess.googleapis.com\322A.https://" - + "www.googleapis.com/auth/cloud-platformB\314" + + "www.googleapis.com/auth/cloud-platformB\305" + "\001\n\035com.google.cloud.vpcaccess.v1B\016VpcAcc" - + "essProtoP\001ZBgoogle.golang.org/genproto/g" - + "oogleapis/cloud/vpcaccess/v1;vpcaccess\252\002" - + "\031Google.Cloud.VpcAccess.V1\312\002\031Google\\Clou" - + "d\\VpcAccess\\V1\352\002\034Google::Cloud::VpcAcces" - + "s::V1b\006proto3" + + "essProtoP\001Z;cloud.google.com/go/vpcacces" + + "s/apiv1/vpcaccesspb;vpcaccesspb\252\002\031Google" + + ".Cloud.VpcAccess.V1\312\002\031Google\\Cloud\\VpcAc" + + "cess\\V1\352\002\034Google::Cloud::VpcAccess::V1b\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/proto/google/cloud/vpcaccess/v1/vpc_access.proto b/java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/proto/google/cloud/vpcaccess/v1/vpc_access.proto index bf2b2fc8b3bd..21bf77757e63 100644 --- a/java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/proto/google/cloud/vpcaccess/v1/vpc_access.proto +++ b/java-vpcaccess/proto-google-cloud-vpcaccess-v1/src/main/proto/google/cloud/vpcaccess/v1/vpc_access.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.VpcAccess.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/vpcaccess/v1;vpcaccess"; +option go_package = "cloud.google.com/go/vpcaccess/apiv1/vpcaccesspb;vpcaccesspb"; option java_multiple_files = true; option java_outer_classname = "VpcAccessProto"; option java_package = "com.google.cloud.vpcaccess.v1"; diff --git a/java-webrisk/README.md b/java-webrisk/README.md index 69570ae2614f..ce07206844fa 100644 --- a/java-webrisk/README.md +++ b/java-webrisk/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-webrisk - 2.7.0 + 2.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-webrisk:2.7.0' +implementation 'com.google.cloud:google-cloud-webrisk:2.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.8.0" ``` ## Authentication diff --git a/java-webrisk/google-cloud-webrisk-bom/pom.xml b/java-webrisk/google-cloud-webrisk-bom/pom.xml index 4517b3297d3b..9be7c3bf45fa 100644 --- a/java-webrisk/google-cloud-webrisk-bom/pom.xml +++ b/java-webrisk/google-cloud-webrisk-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-webrisk-bom - 2.8.0 + 2.9.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,27 +23,27 @@ com.google.cloud google-cloud-webrisk - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-webrisk-v1 - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-webrisk-v1beta1 - 0.45.0 + 0.46.0 com.google.api.grpc proto-google-cloud-webrisk-v1 - 2.8.0 + 2.9.0 com.google.api.grpc proto-google-cloud-webrisk-v1beta1 - 0.45.0 + 0.46.0 diff --git a/java-webrisk/google-cloud-webrisk/pom.xml b/java-webrisk/google-cloud-webrisk/pom.xml index 559ecd017353..c391c6352493 100644 --- a/java-webrisk/google-cloud-webrisk/pom.xml +++ b/java-webrisk/google-cloud-webrisk/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-webrisk - 2.8.0 + 2.9.0 jar Google Cloud Web Risk Java idiomatic client for Google Cloud Web Risk com.google.cloud google-cloud-webrisk-parent - 2.8.0 + 2.9.0 google-cloud-webrisk diff --git a/java-webrisk/grpc-google-cloud-webrisk-v1/pom.xml b/java-webrisk/grpc-google-cloud-webrisk-v1/pom.xml index 2635f15772f7..b4e17004cf37 100644 --- a/java-webrisk/grpc-google-cloud-webrisk-v1/pom.xml +++ b/java-webrisk/grpc-google-cloud-webrisk-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-webrisk-v1 - 2.8.0 + 2.9.0 grpc-google-cloud-webrisk-v1 GRPC library for grpc-google-cloud-webrisk-v1 com.google.cloud google-cloud-webrisk-parent - 2.8.0 + 2.9.0 diff --git a/java-webrisk/grpc-google-cloud-webrisk-v1beta1/pom.xml b/java-webrisk/grpc-google-cloud-webrisk-v1beta1/pom.xml index 067396889635..c15e4c53d876 100644 --- a/java-webrisk/grpc-google-cloud-webrisk-v1beta1/pom.xml +++ b/java-webrisk/grpc-google-cloud-webrisk-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-webrisk-v1beta1 - 0.45.0 + 0.46.0 grpc-google-cloud-webrisk-v1beta1 GRPC library for grpc-google-cloud-webrisk-v1beta1 com.google.cloud google-cloud-webrisk-parent - 2.8.0 + 2.9.0 diff --git a/java-webrisk/pom.xml b/java-webrisk/pom.xml index 659a63cf0dbe..3db0faa74643 100644 --- a/java-webrisk/pom.xml +++ b/java-webrisk/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-webrisk-parent pom - 2.8.0 + 2.9.0 Google Cloud Web Risk Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.api.grpc proto-google-cloud-webrisk-v1 - 2.8.0 + 2.9.0 com.google.api.grpc proto-google-cloud-webrisk-v1beta1 - 0.45.0 + 0.46.0 com.google.api.grpc grpc-google-cloud-webrisk-v1 - 2.8.0 + 2.9.0 com.google.api.grpc grpc-google-cloud-webrisk-v1beta1 - 0.45.0 + 0.46.0 com.google.cloud google-cloud-webrisk - 2.8.0 + 2.9.0 diff --git a/java-webrisk/proto-google-cloud-webrisk-v1/pom.xml b/java-webrisk/proto-google-cloud-webrisk-v1/pom.xml index 9f88f139b9c1..a83e8a34190a 100644 --- a/java-webrisk/proto-google-cloud-webrisk-v1/pom.xml +++ b/java-webrisk/proto-google-cloud-webrisk-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-webrisk-v1 - 2.8.0 + 2.9.0 proto-google-cloud-webrisk-v1 PROTO library for proto-google-cloud-webrisk-v1 com.google.cloud google-cloud-webrisk-parent - 2.8.0 + 2.9.0 diff --git a/java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/WebRiskProto.java b/java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/WebRiskProto.java index 29ea06a5ecfd..bb8b412c4b85 100644 --- a/java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/WebRiskProto.java +++ b/java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/WebRiskProto.java @@ -191,12 +191,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "on\"K\202\323\344\223\0021\"#/v1/{parent=projects/*}/subm" + "issions:\nsubmission\332A\021parent,submission\032" + "J\312A\026webrisk.googleapis.com\322A.https://www" - + ".googleapis.com/auth/cloud-platformB\277\001\n\025" - + "com.google.webrisk.v1B\014WebRiskProtoP\001Z>g" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/webrisk/v1;webrisk\242\002\004GCWR\252\002\027Google.Cl" - + "oud.WebRisk.V1\312\002\027Google\\Cloud\\WebRisk\\V1" - + "\352\002\032Google::Cloud::WebRisk::V1b\006proto3" + + ".googleapis.com/auth/cloud-platformB\266\001\n\025" + + "com.google.webrisk.v1B\014WebRiskProtoP\001Z5c" + + "loud.google.com/go/webrisk/apiv1/webrisk" + + "pb;webriskpb\242\002\004GCWR\252\002\027Google.Cloud.WebRi" + + "sk.V1\312\002\027Google\\Cloud\\WebRisk\\V1\352\002\032Google" + + "::Cloud::WebRisk::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-webrisk/proto-google-cloud-webrisk-v1/src/main/proto/google/cloud/webrisk/v1/webrisk.proto b/java-webrisk/proto-google-cloud-webrisk-v1/src/main/proto/google/cloud/webrisk/v1/webrisk.proto index 186a301fb875..47281fe7f18f 100644 --- a/java-webrisk/proto-google-cloud-webrisk-v1/src/main/proto/google/cloud/webrisk/v1/webrisk.proto +++ b/java-webrisk/proto-google-cloud-webrisk-v1/src/main/proto/google/cloud/webrisk/v1/webrisk.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.WebRisk.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/webrisk/v1;webrisk"; +option go_package = "cloud.google.com/go/webrisk/apiv1/webriskpb;webriskpb"; option java_multiple_files = true; option java_outer_classname = "WebRiskProto"; option java_package = "com.google.webrisk.v1"; diff --git a/java-webrisk/proto-google-cloud-webrisk-v1beta1/pom.xml b/java-webrisk/proto-google-cloud-webrisk-v1beta1/pom.xml index 073a55e91c08..7124fd1c88bd 100644 --- a/java-webrisk/proto-google-cloud-webrisk-v1beta1/pom.xml +++ b/java-webrisk/proto-google-cloud-webrisk-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-webrisk-v1beta1 - 0.45.0 + 0.46.0 proto-google-cloud-webrisk-v1beta1 PROTO library for proto-google-cloud-webrisk-v1beta1 com.google.cloud google-cloud-webrisk-parent - 2.8.0 + 2.9.0 diff --git a/java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskProto.java b/java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskProto.java index b5d86c159f08..d82bd235d91e 100644 --- a/java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskProto.java +++ b/java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/WebRiskProto.java @@ -176,13 +176,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e\"9\202\323\344\223\002\030\022\026/v1beta1/hashes:search\332A\030hash" + "_prefix,threat_types\032J\312A\026webrisk.googlea" + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformB\330\001\n\032com.google.webrisk." - + "v1beta1B\014WebRiskProtoP\001ZCgoogle.golang.o" - + "rg/genproto/googleapis/cloud/webrisk/v1b" - + "eta1;webrisk\242\002\004GCWR\252\002\034Google.Cloud.WebRi" - + "sk.V1Beta1\312\002\034Google\\Cloud\\WebRisk\\V1beta" - + "1\352\002\037Google::Cloud::WebRisk::V1beta1b\006pro" - + "to3" + + "h/cloud-platformB\317\001\n\032com.google.webrisk." + + "v1beta1B\014WebRiskProtoP\001Z:cloud.google.co" + + "m/go/webrisk/apiv1beta1/webriskpb;webris" + + "kpb\242\002\004GCWR\252\002\034Google.Cloud.WebRisk.V1Beta" + + "1\312\002\034Google\\Cloud\\WebRisk\\V1beta1\352\002\037Googl" + + "e::Cloud::WebRisk::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/proto/google/cloud/webrisk/v1beta1/webrisk.proto b/java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/proto/google/cloud/webrisk/v1beta1/webrisk.proto index 02264252f51f..6fcdb3aec611 100644 --- a/java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/proto/google/cloud/webrisk/v1beta1/webrisk.proto +++ b/java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/proto/google/cloud/webrisk/v1beta1/webrisk.proto @@ -23,7 +23,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.WebRisk.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/webrisk/v1beta1;webrisk"; +option go_package = "cloud.google.com/go/webrisk/apiv1beta1/webriskpb;webriskpb"; option java_multiple_files = true; option java_outer_classname = "WebRiskProto"; option java_package = "com.google.webrisk.v1beta1"; diff --git a/java-websecurityscanner/README.md b/java-websecurityscanner/README.md index 4544af596f1f..a306ed936a22 100644 --- a/java-websecurityscanner/README.md +++ b/java-websecurityscanner/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-websecurityscanner - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-websecurityscanner:2.8.0' +implementation 'com.google.cloud:google-cloud-websecurityscanner:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.9.0" ``` ## Authentication diff --git a/java-websecurityscanner/google-cloud-websecurityscanner-bom/pom.xml b/java-websecurityscanner/google-cloud-websecurityscanner-bom/pom.xml index 54c639bfbe89..ee79b977024f 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner-bom/pom.xml +++ b/java-websecurityscanner/google-cloud-websecurityscanner-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-websecurityscanner-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -23,37 +23,37 @@ com.google.cloud google-cloud-websecurityscanner - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1beta - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1beta - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1 - 2.9.0 + 2.10.0 diff --git a/java-websecurityscanner/google-cloud-websecurityscanner/pom.xml b/java-websecurityscanner/google-cloud-websecurityscanner/pom.xml index 16d8bde1df8a..0adf4879c76c 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner/pom.xml +++ b/java-websecurityscanner/google-cloud-websecurityscanner/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-websecurityscanner - 2.9.0 + 2.10.0 jar Google Cloud Web Security Scanner Java idiomatic client for Google Cloud Web Security Scanner com.google.cloud google-cloud-websecurityscanner-parent - 2.9.0 + 2.10.0 google-cloud-websecurityscanner diff --git a/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1/pom.xml b/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1/pom.xml index 719bbc534ab6..905e7298b80d 100644 --- a/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1/pom.xml +++ b/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-websecurityscanner-v1 GRPC library for grpc-google-cloud-websecurityscanner-v1 com.google.cloud google-cloud-websecurityscanner-parent - 2.9.0 + 2.10.0 diff --git a/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml b/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml index e53182697a11..b5f0b7241253 100644 --- a/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.96.0 + 0.97.0 grpc-google-cloud-websecurityscanner-v1alpha GRPC library for grpc-google-cloud-websecurityscanner-v1alpha com.google.cloud google-cloud-websecurityscanner-parent - 2.9.0 + 2.10.0 diff --git a/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1beta/pom.xml b/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1beta/pom.xml index b00c992c17b8..b5d60e4906ef 100644 --- a/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1beta/pom.xml +++ b/java-websecurityscanner/grpc-google-cloud-websecurityscanner-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1beta - 0.96.0 + 0.97.0 grpc-google-cloud-websecurityscanner-v1beta GRPC library for grpc-google-cloud-websecurityscanner-v1beta com.google.cloud google-cloud-websecurityscanner-parent - 2.9.0 + 2.10.0 diff --git a/java-websecurityscanner/pom.xml b/java-websecurityscanner/pom.xml index 6ed8de79c1ea..05d74d900054 100644 --- a/java-websecurityscanner/pom.xml +++ b/java-websecurityscanner/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-websecurityscanner-parent pom - 2.9.0 + 2.10.0 Google Cloud Web Security Scanner Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,37 +29,37 @@ com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1beta - 0.96.0 + 0.97.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1alpha - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1beta - 0.96.0 + 0.97.0 com.google.api.grpc grpc-google-cloud-websecurityscanner-v1 - 2.9.0 + 2.10.0 com.google.cloud google-cloud-websecurityscanner - 2.9.0 + 2.10.0 diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/pom.xml b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/pom.xml index 54f27d113c34..64fc02bd6ce3 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/pom.xml +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1 - 2.9.0 + 2.10.0 proto-google-cloud-websecurityscanner-v1 PROTO library for proto-google-cloud-websecurityscanner-v1 com.google.cloud google-cloud-websecurityscanner-parent - 2.9.0 + 2.10.0 diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/CrawledUrlProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/CrawledUrlProto.java index be61a411b5f3..46576662aa0b 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/CrawledUrlProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/CrawledUrlProto.java @@ -43,14 +43,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n4google/cloud/websecurityscanner/v1/cra" + "wled_url.proto\022\"google.cloud.websecurity" + "scanner.v1\"<\n\nCrawledUrl\022\023\n\013http_method\030" - + "\001 \001(\t\022\013\n\003url\030\002 \001(\t\022\014\n\004body\030\003 \001(\tB\203\002\n&com" + + "\001 \001(\t\022\013\n\003url\030\002 \001(\t\022\014\n\004body\030\003 \001(\tB\205\002\n&com" + ".google.cloud.websecurityscanner.v1B\017Cra" - + "wledUrlProtoP\001ZTgoogle.golang.org/genpro" - + "to/googleapis/cloud/websecurityscanner/v" - + "1;websecurityscanner\252\002\"Google.Cloud.WebS" - + "ecurityScanner.V1\312\002\"Google\\Cloud\\WebSecu" - + "rityScanner\\V1\352\002%Google::Cloud::WebSecur" - + "ityScanner::V1b\006proto3" + + "wledUrlProtoP\001ZVcloud.google.com/go/webs" + + "ecurityscanner/apiv1/websecurityscannerp" + + "b;websecurityscannerpb\252\002\"Google.Cloud.We" + + "bSecurityScanner.V1\312\002\"Google\\Cloud\\WebSe" + + "curityScanner\\V1\352\002%Google::Cloud::WebSec" + + "urityScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingAddonProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingAddonProto.java index e942856644c3..623676aaecc1 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingAddonProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingAddonProto.java @@ -98,14 +98,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_location\030\002 \001(\01620.google.cloud.websecuri" + "tyscanner.v1.Xxe.Location\"?\n\010Location\022\030\n" + "\024LOCATION_UNSPECIFIED\020\000\022\031\n\025COMPLETE_REQU" - + "EST_BODY\020\001B\205\002\n&com.google.cloud.websecur" - + "ityscanner.v1B\021FindingAddonProtoP\001ZTgoog" - + "le.golang.org/genproto/googleapis/cloud/" - + "websecurityscanner/v1;websecurityscanner" - + "\252\002\"Google.Cloud.WebSecurityScanner.V1\312\002\"" - + "Google\\Cloud\\WebSecurityScanner\\V1\352\002%Goo" - + "gle::Cloud::WebSecurityScanner::V1b\006prot" - + "o3" + + "EST_BODY\020\001B\207\002\n&com.google.cloud.websecur" + + "ityscanner.v1B\021FindingAddonProtoP\001ZVclou" + + "d.google.com/go/websecurityscanner/apiv1" + + "/websecurityscannerpb;websecurityscanner" + + "pb\252\002\"Google.Cloud.WebSecurityScanner.V1\312" + + "\002\"Google\\Cloud\\WebSecurityScanner\\V1\352\002%G" + + "oogle::Cloud::WebSecurityScanner::V1b\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingProto.java index 3a8e619aa553..b3a0b62c9b65 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingProto.java @@ -70,13 +70,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001\n)websecurityscanner.googleapis.com/Fin" + "ding\022Sprojects/{project}/scanConfigs/{sc" + "an_config}/scanRuns/{scan_run}/findings/" - + "{finding}B\200\002\n&com.google.cloud.websecuri" - + "tyscanner.v1B\014FindingProtoP\001ZTgoogle.gol" - + "ang.org/genproto/googleapis/cloud/websec" - + "urityscanner/v1;websecurityscanner\252\002\"Goo" - + "gle.Cloud.WebSecurityScanner.V1\312\002\"Google" - + "\\Cloud\\WebSecurityScanner\\V1\352\002%Google::C" - + "loud::WebSecurityScanner::V1b\006proto3" + + "{finding}B\202\002\n&com.google.cloud.websecuri" + + "tyscanner.v1B\014FindingProtoP\001ZVcloud.goog" + + "le.com/go/websecurityscanner/apiv1/webse" + + "curityscannerpb;websecurityscannerpb\252\002\"G" + + "oogle.Cloud.WebSecurityScanner.V1\312\002\"Goog" + + "le\\Cloud\\WebSecurityScanner\\V1\352\002%Google:" + + ":Cloud::WebSecurityScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingTypeStatsProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingTypeStatsProto.java index 798dbfa50dda..1189ee34170d 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingTypeStatsProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/FindingTypeStatsProto.java @@ -44,13 +44,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ding_type_stats.proto\022\"google.cloud.webs" + "ecurityscanner.v1\"?\n\020FindingTypeStats\022\024\n" + "\014finding_type\030\001 \001(\t\022\025\n\rfinding_count\030\002 \001" - + "(\005B\211\002\n&com.google.cloud.websecurityscann" - + "er.v1B\025FindingTypeStatsProtoP\001ZTgoogle.g" - + "olang.org/genproto/googleapis/cloud/webs" - + "ecurityscanner/v1;websecurityscanner\252\002\"G" - + "oogle.Cloud.WebSecurityScanner.V1\312\002\"Goog" - + "le\\Cloud\\WebSecurityScanner\\V1\352\002%Google:" - + ":Cloud::WebSecurityScanner::V1b\006proto3" + + "(\005B\213\002\n&com.google.cloud.websecurityscann" + + "er.v1B\025FindingTypeStatsProtoP\001ZVcloud.go" + + "ogle.com/go/websecurityscanner/apiv1/web" + + "securityscannerpb;websecurityscannerpb\252\002" + + "\"Google.Cloud.WebSecurityScanner.V1\312\002\"Go" + + "ogle\\Cloud\\WebSecurityScanner\\V1\352\002%Googl" + + "e::Cloud::WebSecurityScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigErrorProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigErrorProto.java index ab191d1482fb..0427b25114c6 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigErrorProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigErrorProto.java @@ -80,14 +80,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "FO\020&\022(\n$UNSUPPORTED_BLACKLIST_PATTERN_FO" + "RMAT\020\'\022\026\n\022UNSUPPORTED_FILTER\020(\022\034\n\030UNSUPP" + "ORTED_FINDING_TYPE\020)\022\032\n\026UNSUPPORTED_URL_" - + "SCHEME\020*\032\002\020\001B\210\002\n&com.google.cloud.websec" + + "SCHEME\020*\032\002\020\001B\212\002\n&com.google.cloud.websec" + "urityscanner.v1B\024ScanConfigErrorProtoP\001Z" - + "Tgoogle.golang.org/genproto/googleapis/c" - + "loud/websecurityscanner/v1;websecuritysc" - + "anner\252\002\"Google.Cloud.WebSecurityScanner." - + "V1\312\002\"Google\\Cloud\\WebSecurityScanner\\V1\352" - + "\002%Google::Cloud::WebSecurityScanner::V1b" - + "\006proto3" + + "Vcloud.google.com/go/websecurityscanner/" + + "apiv1/websecurityscannerpb;websecuritysc" + + "annerpb\252\002\"Google.Cloud.WebSecurityScanne" + + "r.V1\312\002\"Google\\Cloud\\WebSecurityScanner\\V" + + "1\352\002%Google::Cloud::WebSecurityScanner::V" + + "1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigProto.java index d68805f2fd0e..f58adce80f12 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanConfigProto.java @@ -111,14 +111,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\n\n\006NORMAL\020\001\022\007\n\003LOW\020\002\"m\n\035ExportToSecurity" + "CommandCenter\0221\n-EXPORT_TO_SECURITY_COMM" + "AND_CENTER_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n" - + "\010DISABLED\020\002B\203\002\n&com.google.cloud.websecu" - + "rityscanner.v1B\017ScanConfigProtoP\001ZTgoogl" - + "e.golang.org/genproto/googleapis/cloud/w" - + "ebsecurityscanner/v1;websecurityscanner\252" - + "\002\"Google.Cloud.WebSecurityScanner.V1\312\002\"G" - + "oogle\\Cloud\\WebSecurityScanner\\V1\352\002%Goog" - + "le::Cloud::WebSecurityScanner::V1b\006proto" - + "3" + + "\010DISABLED\020\002B\205\002\n&com.google.cloud.websecu" + + "rityscanner.v1B\017ScanConfigProtoP\001ZVcloud" + + ".google.com/go/websecurityscanner/apiv1/" + + "websecurityscannerpb;websecurityscannerp" + + "b\252\002\"Google.Cloud.WebSecurityScanner.V1\312\002" + + "\"Google\\Cloud\\WebSecurityScanner\\V1\352\002%Go" + + "ogle::Cloud::WebSecurityScanner::V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunErrorTraceProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunErrorTraceProto.java index 16ad1d02a229..2e74c592ab13 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunErrorTraceProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunErrorTraceProto.java @@ -54,13 +54,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "SSUE\020\002\022\037\n\033AUTHENTICATION_CONFIG_ISSUE\020\003\022" + "\034\n\030TIMED_OUT_WHILE_SCANNING\020\004\022\026\n\022TOO_MAN" + "Y_REDIRECTS\020\005\022\030\n\024TOO_MANY_HTTP_ERRORS\020\006B" - + "\212\002\n&com.google.cloud.websecurityscanner." - + "v1B\026ScanRunErrorTraceProtoP\001ZTgoogle.gol" - + "ang.org/genproto/googleapis/cloud/websec" - + "urityscanner/v1;websecurityscanner\252\002\"Goo" - + "gle.Cloud.WebSecurityScanner.V1\312\002\"Google" - + "\\Cloud\\WebSecurityScanner\\V1\352\002%Google::C" - + "loud::WebSecurityScanner::V1b\006proto3" + + "\214\002\n&com.google.cloud.websecurityscanner." + + "v1B\026ScanRunErrorTraceProtoP\001ZVcloud.goog" + + "le.com/go/websecurityscanner/apiv1/webse" + + "curityscannerpb;websecurityscannerpb\252\002\"G" + + "oogle.Cloud.WebSecurityScanner.V1\312\002\"Goog" + + "le\\Cloud\\WebSecurityScanner\\V1\352\002%Google:" + + ":Cloud::WebSecurityScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunLogProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunLogProto.java index f1f55738ac7c..f825bf5164c7 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunLogProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunLogProto.java @@ -54,13 +54,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001(\003\022\031\n\021urls_tested_count\030\006 \001(\003\022\024\n\014has_fi" + "ndings\030\007 \001(\010\022J\n\013error_trace\030\010 \001(\01325.goog" + "le.cloud.websecurityscanner.v1.ScanRunEr" - + "rorTraceB\203\002\n&com.google.cloud.websecurit" - + "yscanner.v1B\017ScanRunLogProtoP\001ZTgoogle.g" - + "olang.org/genproto/googleapis/cloud/webs" - + "ecurityscanner/v1;websecurityscanner\252\002\"G" - + "oogle.Cloud.WebSecurityScanner.V1\312\002\"Goog" - + "le\\Cloud\\WebSecurityScanner\\V1\352\002%Google:" - + ":Cloud::WebSecurityScanner::V1b\006proto3" + + "rorTraceB\205\002\n&com.google.cloud.websecurit" + + "yscanner.v1B\017ScanRunLogProtoP\001ZVcloud.go" + + "ogle.com/go/websecurityscanner/apiv1/web" + + "securityscannerpb;websecurityscannerpb\252\002" + + "\"Google.Cloud.WebSecurityScanner.V1\312\002\"Go" + + "ogle\\Cloud\\WebSecurityScanner\\V1\352\002%Googl" + + "e::Cloud::WebSecurityScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunProto.java index 8294ff424cc4..c7d23e903a5f 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunProto.java @@ -64,13 +64,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "PECIFIED\020\000\022\n\n\006QUEUED\020\001\022\014\n\010SCANNING\020\002\022\014\n\010" + "FINISHED\020\003\"O\n\013ResultState\022\034\n\030RESULT_STAT" + "E_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002\022" - + "\n\n\006KILLED\020\003B\200\002\n&com.google.cloud.websecu" - + "rityscanner.v1B\014ScanRunProtoP\001ZTgoogle.g" - + "olang.org/genproto/googleapis/cloud/webs" - + "ecurityscanner/v1;websecurityscanner\252\002\"G" - + "oogle.Cloud.WebSecurityScanner.V1\312\002\"Goog" - + "le\\Cloud\\WebSecurityScanner\\V1\352\002%Google:" - + ":Cloud::WebSecurityScanner::V1b\006proto3" + + "\n\n\006KILLED\020\003B\202\002\n&com.google.cloud.websecu" + + "rityscanner.v1B\014ScanRunProtoP\001ZVcloud.go" + + "ogle.com/go/websecurityscanner/apiv1/web" + + "securityscannerpb;websecurityscannerpb\252\002" + + "\"Google.Cloud.WebSecurityScanner.V1\312\002\"Go" + + "ogle\\Cloud\\WebSecurityScanner\\V1\352\002%Googl" + + "e::Cloud::WebSecurityScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTraceProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTraceProto.java index 800c51ab8dff..4a5fe5a4b8f6 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTraceProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunWarningTraceProto.java @@ -49,14 +49,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "FFICIENT_CRAWL_RESULTS\020\001\022\032\n\026TOO_MANY_CRA" + "WL_RESULTS\020\002\022\027\n\023TOO_MANY_FUZZ_TASKS\020\003\022\022\n" + "\016BLOCKED_BY_IAP\020\004\022*\n&NO_STARTING_URL_FOU" - + "ND_FOR_MANAGED_SCAN\020\005B\214\002\n&com.google.clo" + + "ND_FOR_MANAGED_SCAN\020\005B\216\002\n&com.google.clo" + "ud.websecurityscanner.v1B\030ScanRunWarning" - + "TraceProtoP\001ZTgoogle.golang.org/genproto" - + "/googleapis/cloud/websecurityscanner/v1;" - + "websecurityscanner\252\002\"Google.Cloud.WebSec" - + "urityScanner.V1\312\002\"Google\\Cloud\\WebSecuri" - + "tyScanner\\V1\352\002%Google::Cloud::WebSecurit" - + "yScanner::V1b\006proto3" + + "TraceProtoP\001ZVcloud.google.com/go/websec" + + "urityscanner/apiv1/websecurityscannerpb;" + + "websecurityscannerpb\252\002\"Google.Cloud.WebS" + + "ecurityScanner.V1\312\002\"Google\\Cloud\\WebSecu" + + "rityScanner\\V1\352\002%Google::Cloud::WebSecur" + + "ityScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerProto.java index 2c501a3268e3..539a3983f75c 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/WebSecurityScannerProto.java @@ -219,14 +219,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "v1/{parent=projects/*/scanConfigs/*/scan" + "Runs/*}/findingTypeStats\032U\312A!websecurity" + "scanner.googleapis.com\322A.https://www.goo" - + "gleapis.com/auth/cloud-platformB\213\002\n&com." + + "gleapis.com/auth/cloud-platformB\215\002\n&com." + "google.cloud.websecurityscanner.v1B\027WebS" - + "ecurityScannerProtoP\001ZTgoogle.golang.org" - + "/genproto/googleapis/cloud/websecuritysc" - + "anner/v1;websecurityscanner\252\002\"Google.Clo" - + "ud.WebSecurityScanner.V1\312\002\"Google\\Cloud\\" - + "WebSecurityScanner\\V1\352\002%Google::Cloud::W" - + "ebSecurityScanner::V1b\006proto3" + + "ecurityScannerProtoP\001ZVcloud.google.com/" + + "go/websecurityscanner/apiv1/websecuritys" + + "cannerpb;websecurityscannerpb\252\002\"Google.C" + + "loud.WebSecurityScanner.V1\312\002\"Google\\Clou" + + "d\\WebSecurityScanner\\V1\352\002%Google::Cloud:" + + ":WebSecurityScanner::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/crawled_url.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/crawled_url.proto index 65fc000ffc40..6b8f8df3b621 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/crawled_url.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/crawled_url.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "CrawledUrlProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding.proto index 71fea9501938..0226bbf54c09 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/cloud/websecurityscanner/v1/finding_addon.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "FindingProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding_addon.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding_addon.proto index 1bcec8c716fe..409a7db542eb 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding_addon.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding_addon.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "FindingAddonProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding_type_stats.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding_type_stats.proto index 7999f76d6a75..94a5e7ea6cec 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding_type_stats.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/finding_type_stats.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "FindingTypeStatsProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_config.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_config.proto index 85641af2fb54..12f3ece58484 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_config.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_config.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanConfigProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_config_error.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_config_error.proto index 5924f91553dd..96fe523b677c 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_config_error.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_config_error.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanConfigErrorProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run.proto index 71df3a043ee0..70f5b452316d 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run.proto @@ -21,7 +21,7 @@ import "google/cloud/websecurityscanner/v1/scan_run_warning_trace.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanRunProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_error_trace.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_error_trace.proto index 0c41c14321f0..8f906a57f0db 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_error_trace.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_error_trace.proto @@ -19,7 +19,7 @@ package google.cloud.websecurityscanner.v1; import "google/cloud/websecurityscanner/v1/scan_config_error.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanRunErrorTraceProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_log.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_log.proto index 1ff167e3f3dd..c1692674de10 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_log.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_log.proto @@ -20,7 +20,7 @@ import "google/cloud/websecurityscanner/v1/scan_run.proto"; import "google/cloud/websecurityscanner/v1/scan_run_error_trace.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanRunLogProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_warning_trace.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_warning_trace.proto index dfc61697701e..db9d9330055b 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_warning_trace.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/scan_run_warning_trace.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanRunWarningTraceProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/web_security_scanner.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/web_security_scanner.proto index efcc9bf2d39d..141f432c1906 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/web_security_scanner.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/proto/google/cloud/websecurityscanner/v1/web_security_scanner.proto @@ -27,7 +27,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "WebSecurityScannerProto"; option java_package = "com.google.cloud.websecurityscanner.v1"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/pom.xml b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/pom.xml index 7580615c48e0..9fafc9dab926 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/pom.xml +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1alpha - 0.96.0 + 0.97.0 proto-google-cloud-websecurityscanner-v1alpha PROTO library for proto-google-cloud-websecurityscanner-v1alpha com.google.cloud google-cloud-websecurityscanner-parent - 2.9.0 + 2.10.0 diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrlProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrlProto.java index 215f7e4488b8..a856d347c9a5 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrlProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/CrawledUrlProto.java @@ -44,11 +44,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "a/crawled_url.proto\022\'google.cloud.websec" + "urityscanner.v1alpha\"<\n\nCrawledUrl\022\023\n\013ht" + "tp_method\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\022\014\n\004body\030\003 \001" - + "(\tB\233\001\n+com.google.cloud.websecurityscann" - + "er.v1alphaB\017CrawledUrlProtoP\001ZYgoogle.go" - + "lang.org/genproto/googleapis/cloud/webse" - + "curityscanner/v1alpha;websecurityscanner" - + "b\006proto3" + + "(\tB\235\001\n+com.google.cloud.websecurityscann" + + "er.v1alphaB\017CrawledUrlProtoP\001Z[cloud.goo" + + "gle.com/go/websecurityscanner/apiv1alpha" + + "/websecurityscannerpb;websecurityscanner" + + "pbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingAddonProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingAddonProto.java index 52d187d313b9..030622a352d1 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingAddonProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingAddonProto.java @@ -74,11 +74,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cloud.websecurityscanner.v1alpha.Vulnera" + "bleHeaders.Header\032%\n\006Header\022\014\n\004name\030\001 \001(" + "\t\022\r\n\005value\030\002 \001(\t\"2\n\003Xss\022\024\n\014stack_traces\030" - + "\001 \003(\t\022\025\n\rerror_message\030\002 \001(\tB\235\001\n+com.goo" + + "\001 \003(\t\022\025\n\rerror_message\030\002 \001(\tB\237\001\n+com.goo" + "gle.cloud.websecurityscanner.v1alphaB\021Fi" - + "ndingAddonProtoP\001ZYgoogle.golang.org/gen" - + "proto/googleapis/cloud/websecurityscanne" - + "r/v1alpha;websecurityscannerb\006proto3" + + "ndingAddonProtoP\001Z[cloud.google.com/go/w" + + "ebsecurityscanner/apiv1alpha/websecurity" + + "scannerpb;websecurityscannerpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingProto.java index ddc6f293406b..fa559dcb4038 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingProto.java @@ -72,11 +72,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "URITY_HEADER_VALUES\020\013:\204\001\352A\200\001\n)websecurit" + "yscanner.googleapis.com/Finding\022Sproject" + "s/{project}/scanConfigs/{scan_config}/sc" - + "anRuns/{scan_run}/findings/{finding}B\230\001\n" + + "anRuns/{scan_run}/findings/{finding}B\232\001\n" + "+com.google.cloud.websecurityscanner.v1a" - + "lphaB\014FindingProtoP\001ZYgoogle.golang.org/" - + "genproto/googleapis/cloud/websecuritysca" - + "nner/v1alpha;websecurityscannerb\006proto3" + + "lphaB\014FindingProtoP\001Z[cloud.google.com/g" + + "o/websecurityscanner/apiv1alpha/websecur" + + "ityscannerpb;websecurityscannerpbb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsProto.java index a83473edd8d9..1b8973126008 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/FindingTypeStatsProto.java @@ -47,11 +47,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "to\"}\n\020FindingTypeStats\022R\n\014finding_type\030\001" + " \001(\0162<.google.cloud.websecurityscanner.v" + "1alpha.Finding.FindingType\022\025\n\rfinding_co" - + "unt\030\002 \001(\005B\241\001\n+com.google.cloud.websecuri" + + "unt\030\002 \001(\005B\243\001\n+com.google.cloud.websecuri" + "tyscanner.v1alphaB\025FindingTypeStatsProto" - + "P\001ZYgoogle.golang.org/genproto/googleapi" - + "s/cloud/websecurityscanner/v1alpha;webse" - + "curityscannerb\006proto3" + + "P\001Z[cloud.google.com/go/websecurityscann" + + "er/apiv1alpha/websecurityscannerpb;webse" + + "curityscannerpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigProto.java index 3a47353f6ff1..4726d1040a4f 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanConfigProto.java @@ -95,11 +95,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "M_UNSPECIFIED\020\000\022\016\n\nAPP_ENGINE\020\001\022\013\n\007COMPU" + "TE\020\002:_\352A\\\n,websecurityscanner.googleapis" + ".com/ScanConfig\022,projects/{project}/scan" - + "Configs/{scan_config}B\233\001\n+com.google.clo" + + "Configs/{scan_config}B\235\001\n+com.google.clo" + "ud.websecurityscanner.v1alphaB\017ScanConfi" - + "gProtoP\001ZYgoogle.golang.org/genproto/goo" - + "gleapis/cloud/websecurityscanner/v1alpha" - + ";websecurityscannerb\006proto3" + + "gProtoP\001Z[cloud.google.com/go/websecurit" + + "yscanner/apiv1alpha/websecurityscannerpb" + + ";websecurityscannerpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunProto.java index f4f750e5e779..3e9cfb4a2f2c 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/ScanRunProto.java @@ -61,11 +61,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\002\022\n\n\006KILLED\020\003:p\352Am\n)websecurityscanner.g" + "oogleapis.com/ScanRun\022@projects/{project" + "}/scanConfigs/{scan_config}/scanRuns/{sc" - + "an_run}B\230\001\n+com.google.cloud.websecurity" - + "scanner.v1alphaB\014ScanRunProtoP\001ZYgoogle." - + "golang.org/genproto/googleapis/cloud/web" - + "securityscanner/v1alpha;websecurityscann" - + "erb\006proto3" + + "an_run}B\232\001\n+com.google.cloud.websecurity" + + "scanner.v1alphaB\014ScanRunProtoP\001Z[cloud.g" + + "oogle.com/go/websecurityscanner/apiv1alp" + + "ha/websecurityscannerpb;websecurityscann" + + "erpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerProto.java index be5e10e735d7..924363ca94da 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/java/com/google/cloud/websecurityscanner/v1alpha/WebSecurityScannerProto.java @@ -247,11 +247,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ects/*/scanConfigs/*/scanRuns/*}/finding" + "TypeStats\332A\006parent\032U\312A!websecurityscanne" + "r.googleapis.com\322A.https://www.googleapi" - + "s.com/auth/cloud-platformB\243\001\n+com.google" + + "s.com/auth/cloud-platformB\245\001\n+com.google" + ".cloud.websecurityscanner.v1alphaB\027WebSe" - + "curityScannerProtoP\001ZYgoogle.golang.org/" - + "genproto/googleapis/cloud/websecuritysca" - + "nner/v1alpha;websecurityscannerb\006proto3" + + "curityScannerProtoP\001Z[cloud.google.com/g" + + "o/websecurityscanner/apiv1alpha/websecur" + + "ityscannerpb;websecurityscannerpbb\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/crawled_url.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/crawled_url.proto index c22f4272f167..57d53c9ef534 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/crawled_url.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/crawled_url.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1alpha; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1alpha/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "CrawledUrlProto"; option java_package = "com.google.cloud.websecurityscanner.v1alpha"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding.proto index c02020f34319..55987fe09509 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding.proto @@ -20,7 +20,7 @@ package google.cloud.websecurityscanner.v1alpha; import "google/api/resource.proto"; import "google/cloud/websecurityscanner/v1alpha/finding_addon.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1alpha/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "FindingProto"; option java_package = "com.google.cloud.websecurityscanner.v1alpha"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding_addon.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding_addon.proto index 3fafdb40206a..f16b53ccf794 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding_addon.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding_addon.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1alpha; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1alpha/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "FindingAddonProto"; option java_package = "com.google.cloud.websecurityscanner.v1alpha"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto index e46b330c627e..4b8545a75c1c 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto @@ -19,7 +19,7 @@ package google.cloud.websecurityscanner.v1alpha; import "google/cloud/websecurityscanner/v1alpha/finding.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1alpha/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "FindingTypeStatsProto"; option java_package = "com.google.cloud.websecurityscanner.v1alpha"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/scan_config.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/scan_config.proto index 5497b1a0f6ac..e2cd7fe7135c 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/scan_config.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/scan_config.proto @@ -22,7 +22,7 @@ import "google/api/resource.proto"; import "google/cloud/websecurityscanner/v1alpha/scan_run.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1alpha/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanConfigProto"; option java_package = "com.google.cloud.websecurityscanner.v1alpha"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/scan_run.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/scan_run.proto index 79c54194938f..72d281a7d42e 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/scan_run.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/scan_run.proto @@ -20,7 +20,7 @@ package google.cloud.websecurityscanner.v1alpha; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1alpha/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanRunProto"; option java_package = "com.google.cloud.websecurityscanner.v1alpha"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto index f34bd74d56bc..13ed469e7dcc 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1alpha/src/main/proto/google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto @@ -29,7 +29,7 @@ import "google/cloud/websecurityscanner/v1alpha/scan_run.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1alpha/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "WebSecurityScannerProto"; option java_package = "com.google.cloud.websecurityscanner.v1alpha"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/pom.xml b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/pom.xml index 6a2a8dea042c..aefa03327a5a 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/pom.xml +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-websecurityscanner-v1beta - 0.96.0 + 0.97.0 proto-google-cloud-websecurityscanner-v1beta PROTO library for proto-google-cloud-websecurityscanner-v1beta com.google.cloud google-cloud-websecurityscanner-parent - 2.9.0 + 2.10.0 diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CrawledUrlProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CrawledUrlProto.java index 038d2c8ab36e..b67bba0dcc92 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CrawledUrlProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/CrawledUrlProto.java @@ -44,14 +44,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/crawled_url.proto\022&google.cloud.websecu" + "rityscanner.v1beta\"<\n\nCrawledUrl\022\023\n\013http" + "_method\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\022\014\n\004body\030\003 \001(\t" - + "B\227\002\n*com.google.cloud.websecurityscanner" - + ".v1betaB\017CrawledUrlProtoP\001ZXgoogle.golan" - + "g.org/genproto/googleapis/cloud/websecur" - + "ityscanner/v1beta;websecurityscanner\252\002&G" - + "oogle.Cloud.WebSecurityScanner.V1Beta\312\002&" - + "Google\\Cloud\\WebSecurityScanner\\V1beta\352\002" - + ")Google::Cloud::WebSecurityScanner::V1be" - + "tab\006proto3" + + "B\231\002\n*com.google.cloud.websecurityscanner" + + ".v1betaB\017CrawledUrlProtoP\001ZZcloud.google" + + ".com/go/websecurityscanner/apiv1beta/web" + + "securityscannerpb;websecurityscannerpb\252\002" + + "&Google.Cloud.WebSecurityScanner.V1Beta\312" + + "\002&Google\\Cloud\\WebSecurityScanner\\V1beta" + + "\352\002)Google::Cloud::WebSecurityScanner::V1" + + "betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingAddonProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingAddonProto.java index fe2f22f03265..f63789d49003 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingAddonProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingAddonProto.java @@ -79,14 +79,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".cloud.websecurityscanner.v1beta.Vulnera" + "bleHeaders.Header\032%\n\006Header\022\014\n\004name\030\001 \001(" + "\t\022\r\n\005value\030\002 \001(\t\"2\n\003Xss\022\024\n\014stack_traces\030" - + "\001 \003(\t\022\025\n\rerror_message\030\002 \001(\tB\231\002\n*com.goo" + + "\001 \003(\t\022\025\n\rerror_message\030\002 \001(\tB\233\002\n*com.goo" + "gle.cloud.websecurityscanner.v1betaB\021Fin" - + "dingAddonProtoP\001ZXgoogle.golang.org/genp" - + "roto/googleapis/cloud/websecurityscanner" - + "/v1beta;websecurityscanner\252\002&Google.Clou" - + "d.WebSecurityScanner.V1Beta\312\002&Google\\Clo" - + "ud\\WebSecurityScanner\\V1beta\352\002)Google::C" - + "loud::WebSecurityScanner::V1betab\006proto3" + + "dingAddonProtoP\001ZZcloud.google.com/go/we" + + "bsecurityscanner/apiv1beta/websecuritysc" + + "annerpb;websecurityscannerpb\252\002&Google.Cl" + + "oud.WebSecurityScanner.V1Beta\312\002&Google\\C" + + "loud\\WebSecurityScanner\\V1beta\352\002)Google:" + + ":Cloud::WebSecurityScanner::V1betab\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingProto.java index 84a2e4527447..de5e81023596 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingProto.java @@ -64,14 +64,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "scanner.v1beta.Xss:\204\001\352A\200\001\n)websecuritysc" + "anner.googleapis.com/Finding\022Sprojects/{" + "project}/scanConfigs/{scan_config}/scanR" - + "uns/{scan_run}/findings/{finding}B\224\002\n*co" + + "uns/{scan_run}/findings/{finding}B\226\002\n*co" + "m.google.cloud.websecurityscanner.v1beta" - + "B\014FindingProtoP\001ZXgoogle.golang.org/genp" - + "roto/googleapis/cloud/websecurityscanner" - + "/v1beta;websecurityscanner\252\002&Google.Clou" - + "d.WebSecurityScanner.V1Beta\312\002&Google\\Clo" - + "ud\\WebSecurityScanner\\V1beta\352\002)Google::C" - + "loud::WebSecurityScanner::V1betab\006proto3" + + "B\014FindingProtoP\001ZZcloud.google.com/go/we" + + "bsecurityscanner/apiv1beta/websecuritysc" + + "annerpb;websecurityscannerpb\252\002&Google.Cl" + + "oud.WebSecurityScanner.V1Beta\312\002&Google\\C" + + "loud\\WebSecurityScanner\\V1beta\352\002)Google:" + + ":Cloud::WebSecurityScanner::V1betab\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingTypeStatsProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingTypeStatsProto.java index 5b01de6ce7cb..d0000f218f6b 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingTypeStatsProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/FindingTypeStatsProto.java @@ -44,14 +44,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/finding_type_stats.proto\022&google.cloud." + "websecurityscanner.v1beta\"?\n\020FindingType" + "Stats\022\024\n\014finding_type\030\001 \001(\t\022\025\n\rfinding_c" - + "ount\030\002 \001(\005B\235\002\n*com.google.cloud.websecur" + + "ount\030\002 \001(\005B\237\002\n*com.google.cloud.websecur" + "ityscanner.v1betaB\025FindingTypeStatsProto" - + "P\001ZXgoogle.golang.org/genproto/googleapi" - + "s/cloud/websecurityscanner/v1beta;websec" - + "urityscanner\252\002&Google.Cloud.WebSecurityS" - + "canner.V1Beta\312\002&Google\\Cloud\\WebSecurity" - + "Scanner\\V1beta\352\002)Google::Cloud::WebSecur" - + "ityScanner::V1betab\006proto3" + + "P\001ZZcloud.google.com/go/websecurityscann" + + "er/apiv1beta/websecurityscannerpb;websec" + + "urityscannerpb\252\002&Google.Cloud.WebSecurit" + + "yScanner.V1Beta\312\002&Google\\Cloud\\WebSecuri" + + "tyScanner\\V1beta\352\002)Google::Cloud::WebSec" + + "urityScanner::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigErrorProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigErrorProto.java index a13075efb1b0..64a074b67e03 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigErrorProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigErrorProto.java @@ -80,14 +80,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "E_PROJECT_INFO\020&\022(\n$UNSUPPORTED_BLACKLIS" + "T_PATTERN_FORMAT\020\'\022\026\n\022UNSUPPORTED_FILTER" + "\020(\022\034\n\030UNSUPPORTED_FINDING_TYPE\020)\022\032\n\026UNSU" - + "PPORTED_URL_SCHEME\020*\032\002\020\001B\234\002\n*com.google." + + "PPORTED_URL_SCHEME\020*\032\002\020\001B\236\002\n*com.google." + "cloud.websecurityscanner.v1betaB\024ScanCon" - + "figErrorProtoP\001ZXgoogle.golang.org/genpr" - + "oto/googleapis/cloud/websecurityscanner/" - + "v1beta;websecurityscanner\252\002&Google.Cloud" - + ".WebSecurityScanner.V1Beta\312\002&Google\\Clou" - + "d\\WebSecurityScanner\\V1beta\352\002)Google::Cl" - + "oud::WebSecurityScanner::V1betab\006proto3" + + "figErrorProtoP\001ZZcloud.google.com/go/web" + + "securityscanner/apiv1beta/websecuritysca" + + "nnerpb;websecurityscannerpb\252\002&Google.Clo" + + "ud.WebSecurityScanner.V1Beta\312\002&Google\\Cl" + + "oud\\WebSecurityScanner\\V1beta\352\002)Google::" + + "Cloud::WebSecurityScanner::V1betab\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigProto.java index f60d9ba1b630..e600091fd665 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfigProto.java @@ -104,15 +104,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "OMMAND_CENTER_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001" + "\022\014\n\010DISABLED\020\002:_\352A\\\n,websecurityscanner." + "googleapis.com/ScanConfig\022,projects/{pro" - + "ject}/scanConfigs/{scan_config}B\227\002\n*com." + + "ject}/scanConfigs/{scan_config}B\231\002\n*com." + "google.cloud.websecurityscanner.v1betaB\017" - + "ScanConfigProtoP\001ZXgoogle.golang.org/gen" - + "proto/googleapis/cloud/websecurityscanne" - + "r/v1beta;websecurityscanner\252\002&Google.Clo" - + "ud.WebSecurityScanner.V1Beta\312\002&Google\\Cl" - + "oud\\WebSecurityScanner\\V1beta\352\002)Google::" - + "Cloud::WebSecurityScanner::V1betab\006proto" - + "3" + + "ScanConfigProtoP\001ZZcloud.google.com/go/w" + + "ebsecurityscanner/apiv1beta/websecuritys" + + "cannerpb;websecurityscannerpb\252\002&Google.C" + + "loud.WebSecurityScanner.V1Beta\312\002&Google\\" + + "Cloud\\WebSecurityScanner\\V1beta\352\002)Google" + + "::Cloud::WebSecurityScanner::V1betab\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunErrorTraceProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunErrorTraceProto.java index 465dba6329b5..9165c4bc96ff 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunErrorTraceProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunErrorTraceProto.java @@ -54,14 +54,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "R\020\001\022\025\n\021SCAN_CONFIG_ISSUE\020\002\022\037\n\033AUTHENTICA" + "TION_CONFIG_ISSUE\020\003\022\034\n\030TIMED_OUT_WHILE_S" + "CANNING\020\004\022\026\n\022TOO_MANY_REDIRECTS\020\005\022\030\n\024TOO" - + "_MANY_HTTP_ERRORS\020\006B\236\002\n*com.google.cloud" + + "_MANY_HTTP_ERRORS\020\006B\240\002\n*com.google.cloud" + ".websecurityscanner.v1betaB\026ScanRunError" - + "TraceProtoP\001ZXgoogle.golang.org/genproto" - + "/googleapis/cloud/websecurityscanner/v1b" - + "eta;websecurityscanner\252\002&Google.Cloud.We" - + "bSecurityScanner.V1Beta\312\002&Google\\Cloud\\W" - + "ebSecurityScanner\\V1beta\352\002)Google::Cloud" - + "::WebSecurityScanner::V1betab\006proto3" + + "TraceProtoP\001ZZcloud.google.com/go/websec" + + "urityscanner/apiv1beta/websecurityscanne" + + "rpb;websecurityscannerpb\252\002&Google.Cloud." + + "WebSecurityScanner.V1Beta\312\002&Google\\Cloud" + + "\\WebSecurityScanner\\V1beta\352\002)Google::Clo" + + "ud::WebSecurityScanner::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunProto.java index fa9530446d5e..5486ffe6872c 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunProto.java @@ -68,14 +68,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "CCESS\020\001\022\t\n\005ERROR\020\002\022\n\n\006KILLED\020\003:p\352Am\n)web" + "securityscanner.googleapis.com/ScanRun\022@" + "projects/{project}/scanConfigs/{scan_con" - + "fig}/scanRuns/{scan_run}B\224\002\n*com.google." + + "fig}/scanRuns/{scan_run}B\226\002\n*com.google." + "cloud.websecurityscanner.v1betaB\014ScanRun" - + "ProtoP\001ZXgoogle.golang.org/genproto/goog" - + "leapis/cloud/websecurityscanner/v1beta;w" - + "ebsecurityscanner\252\002&Google.Cloud.WebSecu" - + "rityScanner.V1Beta\312\002&Google\\Cloud\\WebSec" - + "urityScanner\\V1beta\352\002)Google::Cloud::Web" - + "SecurityScanner::V1betab\006proto3" + + "ProtoP\001ZZcloud.google.com/go/websecurity" + + "scanner/apiv1beta/websecurityscannerpb;w" + + "ebsecurityscannerpb\252\002&Google.Cloud.WebSe" + + "curityScanner.V1Beta\312\002&Google\\Cloud\\WebS" + + "ecurityScanner\\V1beta\352\002)Google::Cloud::W" + + "ebSecurityScanner::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunWarningTraceProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunWarningTraceProto.java index 49dc296e3066..6baa1000f03e 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunWarningTraceProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanRunWarningTraceProto.java @@ -48,15 +48,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ingTrace.Code\"\205\001\n\004Code\022\024\n\020CODE_UNSPECIFI" + "ED\020\000\022\036\n\032INSUFFICIENT_CRAWL_RESULTS\020\001\022\032\n\026" + "TOO_MANY_CRAWL_RESULTS\020\002\022\027\n\023TOO_MANY_FUZ" - + "Z_TASKS\020\003\022\022\n\016BLOCKED_BY_IAP\020\004B\240\002\n*com.go" + + "Z_TASKS\020\003\022\022\n\016BLOCKED_BY_IAP\020\004B\242\002\n*com.go" + "ogle.cloud.websecurityscanner.v1betaB\030Sc" - + "anRunWarningTraceProtoP\001ZXgoogle.golang." - + "org/genproto/googleapis/cloud/websecurit" - + "yscanner/v1beta;websecurityscanner\252\002&Goo" - + "gle.Cloud.WebSecurityScanner.V1Beta\312\002&Go" - + "ogle\\Cloud\\WebSecurityScanner\\V1beta\352\002)G" - + "oogle::Cloud::WebSecurityScanner::V1beta" - + "b\006proto3" + + "anRunWarningTraceProtoP\001ZZcloud.google.c" + + "om/go/websecurityscanner/apiv1beta/webse" + + "curityscannerpb;websecurityscannerpb\252\002&G" + + "oogle.Cloud.WebSecurityScanner.V1Beta\312\002&" + + "Google\\Cloud\\WebSecurityScanner\\V1beta\352\002" + + ")Google::Cloud::WebSecurityScanner::V1be" + + "tab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerProto.java b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerProto.java index 605c7398dd22..5af2dc366d5f 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerProto.java +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/WebSecurityScannerProto.java @@ -246,14 +246,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "onfigs/*/scanRuns/*}/findingTypeStats\332A\006" + "parent\032U\312A!websecurityscanner.googleapis" + ".com\322A.https://www.googleapis.com/auth/c" - + "loud-platformB\237\002\n*com.google.cloud.webse" + + "loud-platformB\241\002\n*com.google.cloud.webse" + "curityscanner.v1betaB\027WebSecurityScanner" - + "ProtoP\001ZXgoogle.golang.org/genproto/goog" - + "leapis/cloud/websecurityscanner/v1beta;w" - + "ebsecurityscanner\252\002&Google.Cloud.WebSecu" - + "rityScanner.V1Beta\312\002&Google\\Cloud\\WebSec" - + "urityScanner\\V1beta\352\002)Google::Cloud::Web" - + "SecurityScanner::V1betab\006proto3" + + "ProtoP\001ZZcloud.google.com/go/websecurity" + + "scanner/apiv1beta/websecurityscannerpb;w" + + "ebsecurityscannerpb\252\002&Google.Cloud.WebSe" + + "curityScanner.V1Beta\312\002&Google\\Cloud\\WebS" + + "ecurityScanner\\V1beta\352\002)Google::Cloud::W" + + "ebSecurityScanner::V1betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/crawled_url.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/crawled_url.proto index cbfead4cb3b1..235f8126469c 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/crawled_url.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/crawled_url.proto @@ -18,7 +18,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1beta; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "CrawledUrlProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding.proto index 999e0920d796..ca07cafd902b 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/cloud/websecurityscanner/v1beta/finding_addon.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "FindingProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding_addon.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding_addon.proto index c29f6cadd9a0..a64fbf8e1df2 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding_addon.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding_addon.proto @@ -18,7 +18,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1beta; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "FindingAddonProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding_type_stats.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding_type_stats.proto index 9b2157618193..842a9f359e12 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding_type_stats.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/finding_type_stats.proto @@ -18,7 +18,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1beta; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "FindingTypeStatsProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_config.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_config.proto index b25c61984150..550e2e736a8f 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_config.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_config.proto @@ -23,7 +23,7 @@ import "google/cloud/websecurityscanner/v1beta/scan_run.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanConfigProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_config_error.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_config_error.proto index 3920b74fdc74..3030f9f264fb 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_config_error.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_config_error.proto @@ -18,7 +18,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1beta; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanConfigErrorProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run.proto index 48800d247e28..da45e0a681ea 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run.proto @@ -23,7 +23,7 @@ import "google/cloud/websecurityscanner/v1beta/scan_run_warning_trace.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanRunProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto index acbdef2bdf58..5eedd11503d2 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto @@ -20,7 +20,7 @@ package google.cloud.websecurityscanner.v1beta; import "google/cloud/websecurityscanner/v1beta/scan_config_error.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanRunErrorTraceProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run_warning_trace.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run_warning_trace.proto index 6ee6b3474960..0786e94d1609 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run_warning_trace.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/scan_run_warning_trace.proto @@ -18,7 +18,7 @@ syntax = "proto3"; package google.cloud.websecurityscanner.v1beta; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "ScanRunWarningTraceProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/web_security_scanner.proto b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/web_security_scanner.proto index 79be175b5cf3..211affc4cc27 100644 --- a/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/web_security_scanner.proto +++ b/java-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/proto/google/cloud/websecurityscanner/v1beta/web_security_scanner.proto @@ -30,7 +30,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta"; -option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner"; +option go_package = "cloud.google.com/go/websecurityscanner/apiv1beta/websecurityscannerpb;websecurityscannerpb"; option java_multiple_files = true; option java_outer_classname = "WebSecurityScannerProto"; option java_package = "com.google.cloud.websecurityscanner.v1beta"; diff --git a/java-workflow-executions/README.md b/java-workflow-executions/README.md index c7945a4b387a..2d078ca97262 100644 --- a/java-workflow-executions/README.md +++ b/java-workflow-executions/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-workflow-executions - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflow-executions:2.8.0' +implementation 'com.google.cloud:google-cloud-workflow-executions:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.9.0" ``` ## Authentication diff --git a/java-workflow-executions/google-cloud-workflow-executions-bom/pom.xml b/java-workflow-executions/google-cloud-workflow-executions-bom/pom.xml index 61b493f1ab57..d8d5f90a28ce 100644 --- a/java-workflow-executions/google-cloud-workflow-executions-bom/pom.xml +++ b/java-workflow-executions/google-cloud-workflow-executions-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-workflow-executions-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-workflow-executions - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1beta - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1beta - 0.13.0 + 0.14.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1 - 2.9.0 + 2.10.0 diff --git a/java-workflow-executions/google-cloud-workflow-executions/pom.xml b/java-workflow-executions/google-cloud-workflow-executions/pom.xml index 0b5a4fdfc033..bf58f33682cf 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/pom.xml +++ b/java-workflow-executions/google-cloud-workflow-executions/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-workflow-executions - 2.9.0 + 2.10.0 jar Google Cloud Workflow Executions allows you to ochestrate and automate Google Cloud and HTTP-based API services with serverless workflows. com.google.cloud google-cloud-workflow-executions-parent - 2.9.0 + 2.10.0 google-cloud-workflow-executions diff --git a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/pom.xml b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/pom.xml index f0a4c253b520..d640f2679c37 100644 --- a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/pom.xml +++ b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-workflow-executions-v1 GRPC library for google-cloud-workflow-executions com.google.cloud google-cloud-workflow-executions-parent - 2.9.0 + 2.10.0 diff --git a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/pom.xml b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/pom.xml index 07cacf0c711a..41801ccaae54 100644 --- a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/pom.xml +++ b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1beta - 0.13.0 + 0.14.0 grpc-google-cloud-workflow-executions-v1beta GRPC library for google-cloud-workflow-executions com.google.cloud google-cloud-workflow-executions-parent - 2.9.0 + 2.10.0 diff --git a/java-workflow-executions/pom.xml b/java-workflow-executions/pom.xml index 68801d7b7f5d..624ebea4814c 100644 --- a/java-workflow-executions/pom.xml +++ b/java-workflow-executions/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-workflow-executions-parent pom - 2.9.0 + 2.10.0 Google Cloud Workflow Executions Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-workflow-executions - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1beta - 0.13.0 + 0.14.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1beta - 0.13.0 + 0.14.0 diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/pom.xml b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/pom.xml index 8a8268d2fdc1..cb4a872fe73a 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/pom.xml +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1 - 2.9.0 + 2.10.0 proto-google-cloud-workflow-executions-v1 Proto library for google-cloud-workflow-executions com.google.cloud google-cloud-workflow-executions-parent - 2.9.0 + 2.10.0 diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java index b7570155320b..0da6428144a6 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java @@ -155,14 +155,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "e=projects/*/locations/*/workflows/*/exe" + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + "executions.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB\361\001\n(c" + + "googleapis.com/auth/cloud-platformB\353\001\n(c" + "om.google.cloud.workflows.executions.v1B" - + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" - + "nproto/googleapis/cloud/workflows/execut" - + "ions/v1;executions\352Aa\n!workflows.googlea" - + "pis.com/Workflow\0224.0.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1beta - 0.13.0 + 0.14.0 proto-google-cloud-workflow-executions-v1beta Proto library for google-cloud-workflow-executions com.google.cloud google-cloud-workflow-executions-parent - 2.9.0 + 2.10.0 diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java index 53b978e9e697..46e008fbd880 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java @@ -131,14 +131,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "me=projects/*/locations/*/workflows/*/ex" + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + "wexecutions.googleapis.com\322A.https://www" - + ".googleapis.com/auth/cloud-platformB\371\001\n," + + ".googleapis.com/auth/cloud-platformB\363\001\n," + "com.google.cloud.workflows.executions.v1" - + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" - + "rg/genproto/googleapis/cloud/workflows/e" - + "xecutions/v1beta;executions\352Aa\n!workflow" - + "s.googleapis.com/Workflow\022 com.google.cloud google-cloud-workflows - 2.8.0 + 2.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflows:2.8.0' +implementation 'com.google.cloud:google-cloud-workflows:2.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.9.0" ``` ## Authentication diff --git a/java-workflows/google-cloud-workflows-bom/pom.xml b/java-workflows/google-cloud-workflows-bom/pom.xml index e98c1ee26254..c52814e6b781 100644 --- a/java-workflows/google-cloud-workflows-bom/pom.xml +++ b/java-workflows/google-cloud-workflows-bom/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.cloud google-cloud-workflows-bom - 2.9.0 + 2.10.0 pom com.google.cloud google-cloud-pom-parent - 1.3.0 + 1.4.0 ../../google-cloud-pom-parent/pom.xml @@ -27,27 +27,27 @@ com.google.cloud google-cloud-workflows - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-workflows-v1beta - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-workflows-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-workflows-v1beta - 0.15.0 + 0.16.0 com.google.api.grpc proto-google-cloud-workflows-v1 - 2.9.0 + 2.10.0 diff --git a/java-workflows/google-cloud-workflows/pom.xml b/java-workflows/google-cloud-workflows/pom.xml index ab8c3b45d2a8..570a93236d57 100644 --- a/java-workflows/google-cloud-workflows/pom.xml +++ b/java-workflows/google-cloud-workflows/pom.xml @@ -3,14 +3,14 @@ 4.0.0 com.google.cloud google-cloud-workflows - 2.9.0 + 2.10.0 jar Google Cloud Workflows allows you to ochestrate and automate Google Cloud and HTTP-based API services with serverless workflows. com.google.cloud google-cloud-workflows-parent - 2.9.0 + 2.10.0 google-cloud-workflows diff --git a/java-workflows/grpc-google-cloud-workflows-v1/pom.xml b/java-workflows/grpc-google-cloud-workflows-v1/pom.xml index 5c3b737df10e..35f402adf998 100644 --- a/java-workflows/grpc-google-cloud-workflows-v1/pom.xml +++ b/java-workflows/grpc-google-cloud-workflows-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-workflows-v1 - 2.9.0 + 2.10.0 grpc-google-cloud-workflows-v1 GRPC library for google-cloud-workflows com.google.cloud google-cloud-workflows-parent - 2.9.0 + 2.10.0 diff --git a/java-workflows/grpc-google-cloud-workflows-v1beta/pom.xml b/java-workflows/grpc-google-cloud-workflows-v1beta/pom.xml index 441e2235c28d..83c5daa37a36 100644 --- a/java-workflows/grpc-google-cloud-workflows-v1beta/pom.xml +++ b/java-workflows/grpc-google-cloud-workflows-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-workflows-v1beta - 0.15.0 + 0.16.0 grpc-google-cloud-workflows-v1beta GRPC library for google-cloud-workflows com.google.cloud google-cloud-workflows-parent - 2.9.0 + 2.10.0 diff --git a/java-workflows/pom.xml b/java-workflows/pom.xml index 654fe8b30110..8cc9242bd300 100644 --- a/java-workflows/pom.xml +++ b/java-workflows/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-workflows-parent pom - 2.9.0 + 2.10.0 Google Cloud Workflows Parent Java idiomatic client for Google Cloud Platform services. @@ -13,7 +13,7 @@ com.google.cloud google-cloud-jar-parent - 1.3.0 + 1.4.0 ../google-cloud-jar-parent/pom.xml @@ -29,27 +29,27 @@ com.google.cloud google-cloud-workflows - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-workflows-v1 - 2.9.0 + 2.10.0 com.google.api.grpc grpc-google-cloud-workflows-v1 - 2.9.0 + 2.10.0 com.google.api.grpc proto-google-cloud-workflows-v1beta - 0.15.0 + 0.16.0 com.google.api.grpc grpc-google-cloud-workflows-v1beta - 0.15.0 + 0.16.0 diff --git a/java-workflows/proto-google-cloud-workflows-v1/pom.xml b/java-workflows/proto-google-cloud-workflows-v1/pom.xml index 99b581a8986b..db4d9185b847 100644 --- a/java-workflows/proto-google-cloud-workflows-v1/pom.xml +++ b/java-workflows/proto-google-cloud-workflows-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-workflows-v1 - 2.9.0 + 2.10.0 proto-google-cloud-workflows-v1 Proto library for google-cloud-workflows com.google.cloud google-cloud-workflows-parent - 2.9.0 + 2.10.0 diff --git a/java-workflows/proto-google-cloud-workflows-v1/src/main/java/com/google/cloud/workflows/v1/WorkflowsProto.java b/java-workflows/proto-google-cloud-workflows-v1/src/main/java/com/google/cloud/workflows/v1/WorkflowsProto.java index 5b8d56112644..626ae4376e8a 100644 --- a/java-workflows/proto-google-cloud-workflows-v1/src/main/java/com/google/cloud/workflows/v1/WorkflowsProto.java +++ b/java-workflows/proto-google-cloud-workflows-v1/src/main/java/com/google/cloud/workflows/v1/WorkflowsProto.java @@ -145,10 +145,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rkflow\332A\024workflow,update_mask\312A\035\n\010Workfl" + "ow\022\021OperationMetadata\032L\312A\030workflows.goog" + "leapis.com\322A.https://www.googleapis.com/" - + "auth/cloud-platformBu\n\035com.google.cloud." - + "workflows.v1B\016WorkflowsProtoP\001ZBgoogle.g" - + "olang.org/genproto/googleapis/cloud/work" - + "flows/v1;workflowsb\006proto3" + + "auth/cloud-platformBn\n\035com.google.cloud." + + "workflows.v1B\016WorkflowsProtoP\001Z;cloud.go" + + "ogle.com/go/workflows/apiv1/workflowspb;" + + "workflowspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-workflows/proto-google-cloud-workflows-v1/src/main/proto/google/cloud/workflows/v1/workflows.proto b/java-workflows/proto-google-cloud-workflows-v1/src/main/proto/google/cloud/workflows/v1/workflows.proto index 0b14cb306b58..9b9f86eac765 100644 --- a/java-workflows/proto-google-cloud-workflows-v1/src/main/proto/google/cloud/workflows/v1/workflows.proto +++ b/java-workflows/proto-google-cloud-workflows-v1/src/main/proto/google/cloud/workflows/v1/workflows.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/workflows/v1;workflows"; +option go_package = "cloud.google.com/go/workflows/apiv1/workflowspb;workflowspb"; option java_multiple_files = true; option java_outer_classname = "WorkflowsProto"; option java_package = "com.google.cloud.workflows.v1"; diff --git a/java-workflows/proto-google-cloud-workflows-v1beta/pom.xml b/java-workflows/proto-google-cloud-workflows-v1beta/pom.xml index ff0263f9baf0..b92871d6c01f 100644 --- a/java-workflows/proto-google-cloud-workflows-v1beta/pom.xml +++ b/java-workflows/proto-google-cloud-workflows-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-workflows-v1beta - 0.15.0 + 0.16.0 proto-google-cloud-workflows-v1beta Proto library for google-cloud-workflows com.google.cloud google-cloud-workflows-parent - 2.9.0 + 2.10.0 diff --git a/java-workflows/proto-google-cloud-workflows-v1beta/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsProto.java b/java-workflows/proto-google-cloud-workflows-v1beta/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsProto.java index 0e43d1c2c0e9..1a07a8d82216 100644 --- a/java-workflows/proto-google-cloud-workflows-v1beta/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsProto.java +++ b/java-workflows/proto-google-cloud-workflows-v1beta/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsProto.java @@ -147,10 +147,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "kflow\332A\024workflow,update_mask\312A\035\n\010Workflo" + "w\022\021OperationMetadata\032L\312A\030workflows.googl" + "eapis.com\322A.https://www.googleapis.com/a" - + "uth/cloud-platformB}\n!com.google.cloud.w" - + "orkflows.v1betaB\016WorkflowsProtoP\001ZFgoogl" - + "e.golang.org/genproto/googleapis/cloud/w" - + "orkflows/v1beta;workflowsb\006proto3" + + "uth/cloud-platformBv\n!com.google.cloud.w" + + "orkflows.v1betaB\016WorkflowsProtoP\001Z?cloud" + + ".google.com/go/workflows/apiv1beta/workf" + + "lowspb;workflowspbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-workflows/proto-google-cloud-workflows-v1beta/src/main/proto/google/cloud/workflows/v1beta/workflows.proto b/java-workflows/proto-google-cloud-workflows-v1beta/src/main/proto/google/cloud/workflows/v1beta/workflows.proto index 5308fa7313d9..d929f2006d7a 100644 --- a/java-workflows/proto-google-cloud-workflows-v1beta/src/main/proto/google/cloud/workflows/v1beta/workflows.proto +++ b/java-workflows/proto-google-cloud-workflows-v1beta/src/main/proto/google/cloud/workflows/v1beta/workflows.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/cloud/workflows/v1beta;workflows"; +option go_package = "cloud.google.com/go/workflows/apiv1beta/workflowspb;workflowspb"; option java_multiple_files = true; option java_outer_classname = "WorkflowsProto"; option java_package = "com.google.cloud.workflows.v1beta"; diff --git a/pom.xml b/pom.xml index 40afd5668d3b..c1be8df05483 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,7 @@ java-containeranalysis java-container java-contentwarehouse + java-core java-datacatalog java-dataflow java-dataform @@ -92,6 +93,7 @@ java-gsuite-addons java-iam-admin java-iamcredentials + java-iam java-ids java-iot java-kms @@ -137,6 +139,7 @@ java-servicedirectory java-service-management java-service-usage + java-shared-dependencies java-shell java-speech java-storage-transfer diff --git a/release-please-config.json b/release-please-config.json index 450cab1e00a6..3602d8593afa 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,5 +1,5 @@ { - "release-type": "java-yoshi", + "release-type": "java-yoshi-mono-repo", "versioning": "always-bump-minor", "separate-pull-requests": false, "include-component-in-tag": false, diff --git a/renovate.json b/renovate.json index d45e41df681b..09cea284f42b 100644 --- a/renovate.json +++ b/renovate.json @@ -5,7 +5,9 @@ "includePaths": [ "pom.xml", "google-cloud-pom-parent/pom.xml", - "google-cloud-jar-parent/pom.xml" + "google-cloud-jar-parent/pom.xml", + "java-shared-dependencies/first-party-dependencies/pom.xml", + "java-shared-dependencies/third-party-dependencies/pom.xml" ], "regexManagers": [ { diff --git a/versions.txt b/versions.txt index 6e602ed4dcb3..66223712d4c8 100644 --- a/versions.txt +++ b/versions.txt @@ -1,605 +1,608 @@ # Format: # module:released-version:current-version -google-cloud-java:1.3.0:1.3.0 -google-cloud-accessapproval:2.10.0:2.10.0 -grpc-google-cloud-accessapproval-v1:2.10.0:2.10.0 -proto-google-cloud-accessapproval-v1:2.10.0:2.10.0 -google-identity-accesscontextmanager:1.10.0:1.10.0 -grpc-google-identity-accesscontextmanager-v1:1.10.0:1.10.0 -proto-google-identity-accesscontextmanager-v1:1.10.0:1.10.0 -proto-google-identity-accesscontextmanager-type:1.10.0:1.10.0 -google-cloud-aiplatform:3.10.0:3.10.0 -grpc-google-cloud-aiplatform-v1:3.10.0:3.10.0 -grpc-google-cloud-aiplatform-v1beta1:0.26.0:0.26.0 -proto-google-cloud-aiplatform-v1:3.10.0:3.10.0 -proto-google-cloud-aiplatform-v1beta1:0.26.0:0.26.0 -google-analytics-admin:0.19.0:0.19.0 -grpc-google-analytics-admin-v1alpha:0.19.0:0.19.0 -proto-google-analytics-admin-v1alpha:0.19.0:0.19.0 -proto-google-analytics-admin-v1beta:0.19.0:0.19.0 -grpc-google-analytics-admin-v1beta:0.19.0:0.19.0 -google-analytics-data:0.20.0:0.20.0 -grpc-google-analytics-data-v1beta:0.20.0:0.20.0 -proto-google-analytics-data-v1beta:0.20.0:0.20.0 -proto-google-analytics-data-v1alpha:0.20.0:0.20.0 -grpc-google-analytics-data-v1alpha:0.20.0:0.20.0 -google-cloud-analyticshub:0.6.0:0.6.0 -proto-google-cloud-analyticshub-v1:0.6.0:0.6.0 -grpc-google-cloud-analyticshub-v1:0.6.0:0.6.0 -google-cloud-api-gateway:2.9.0:2.9.0 -grpc-google-cloud-api-gateway-v1:2.9.0:2.9.0 -proto-google-cloud-api-gateway-v1:2.9.0:2.9.0 -google-cloud-apigee-connect:2.9.0:2.9.0 -grpc-google-cloud-apigee-connect-v1:2.9.0:2.9.0 -proto-google-cloud-apigee-connect-v1:2.9.0:2.9.0 -google-cloud-apigee-registry:0.9.0:0.9.0 -proto-google-cloud-apigee-registry-v1:0.9.0:0.9.0 -grpc-google-cloud-apigee-registry-v1:0.9.0:0.9.0 -google-cloud-apikeys:0.7.0:0.7.0 -proto-google-cloud-apikeys-v2:0.7.0:0.7.0 -grpc-google-cloud-apikeys-v2:0.7.0:0.7.0 -google-cloud-appengine-admin:2.9.0:2.9.0 -grpc-google-cloud-appengine-admin-v1:2.9.0:2.9.0 -proto-google-cloud-appengine-admin-v1:2.9.0:2.9.0 -google-area120-tables:0.13.0:0.13.0 -grpc-google-area120-tables-v1alpha1:0.13.0:0.13.0 -proto-google-area120-tables-v1alpha1:0.13.0:0.13.0 -google-cloud-artifact-registry:1.8.0:1.8.0 -grpc-google-cloud-artifact-registry-v1beta2:0.14.0:0.14.0 -grpc-google-cloud-artifact-registry-v1:1.8.0:1.8.0 -proto-google-cloud-artifact-registry-v1beta2:0.14.0:0.14.0 -proto-google-cloud-artifact-registry-v1:1.8.0:1.8.0 -google-cloud-asset:3.13.0:3.13.0 -grpc-google-cloud-asset-v1:3.13.0:3.13.0 -grpc-google-cloud-asset-v1p1beta1:0.113.0:0.113.0 -grpc-google-cloud-asset-v1p2beta1:0.113.0:0.113.0 -grpc-google-cloud-asset-v1p5beta1:0.113.0:0.113.0 -grpc-google-cloud-asset-v1p7beta1:3.13.0:3.13.0 -proto-google-cloud-asset-v1:3.13.0:3.13.0 -proto-google-cloud-asset-v1p1beta1:0.113.0:0.113.0 -proto-google-cloud-asset-v1p2beta1:0.113.0:0.113.0 -proto-google-cloud-asset-v1p5beta1:0.113.0:0.113.0 -proto-google-cloud-asset-v1p7beta1:3.13.0:3.13.0 -google-cloud-assured-workloads:2.9.0:2.9.0 -grpc-google-cloud-assured-workloads-v1beta1:0.21.0:0.21.0 -grpc-google-cloud-assured-workloads-v1:2.9.0:2.9.0 -proto-google-cloud-assured-workloads-v1beta1:0.21.0:0.21.0 -proto-google-cloud-assured-workloads-v1:2.9.0:2.9.0 -google-cloud-automl:2.9.0:2.9.0 -grpc-google-cloud-automl-v1beta1:0.96.0:0.96.0 -grpc-google-cloud-automl-v1:2.9.0:2.9.0 -proto-google-cloud-automl-v1beta1:0.96.0:0.96.0 -proto-google-cloud-automl-v1:2.9.0:2.9.0 -google-cloud-bare-metal-solution:0.9.0:0.9.0 -proto-google-cloud-bare-metal-solution-v2:0.9.0:0.9.0 -grpc-google-cloud-bare-metal-solution-v2:0.9.0:0.9.0 -google-cloud-batch:0.9.0:0.9.0 -proto-google-cloud-batch-v1:0.9.0:0.9.0 -grpc-google-cloud-batch-v1:0.9.0:0.9.0 -proto-google-cloud-batch-v1alpha:0.9.0:0.9.0 -grpc-google-cloud-batch-v1alpha:0.9.0:0.9.0 -google-cloud-beyondcorp-appconnections:0.7.0:0.7.0 -proto-google-cloud-beyondcorp-appconnections-v1:0.7.0:0.7.0 -grpc-google-cloud-beyondcorp-appconnections-v1:0.7.0:0.7.0 -google-cloud-beyondcorp-appconnectors:0.7.0:0.7.0 -proto-google-cloud-beyondcorp-appconnectors-v1:0.7.0:0.7.0 -grpc-google-cloud-beyondcorp-appconnectors-v1:0.7.0:0.7.0 -google-cloud-beyondcorp-appgateways:0.7.0:0.7.0 -proto-google-cloud-beyondcorp-appgateways-v1:0.7.0:0.7.0 -grpc-google-cloud-beyondcorp-appgateways-v1:0.7.0:0.7.0 -google-cloud-beyondcorp-clientconnectorservices:0.7.0:0.7.0 -proto-google-cloud-beyondcorp-clientconnectorservices-v1:0.7.0:0.7.0 -grpc-google-cloud-beyondcorp-clientconnectorservices-v1:0.7.0:0.7.0 -google-cloud-beyondcorp-clientgateways:0.7.0:0.7.0 -proto-google-cloud-beyondcorp-clientgateways-v1:0.7.0:0.7.0 -grpc-google-cloud-beyondcorp-clientgateways-v1:0.7.0:0.7.0 -google-cloud-bigqueryconnection:2.11.0:2.11.0 -grpc-google-cloud-bigqueryconnection-v1:2.11.0:2.11.0 -grpc-google-cloud-bigqueryconnection-v1beta1:0.19.0:0.19.0 -proto-google-cloud-bigqueryconnection-v1:2.11.0:2.11.0 -proto-google-cloud-bigqueryconnection-v1beta1:0.19.0:0.19.0 -google-cloud-bigquery-data-exchange:2.4.0:2.4.0 -proto-google-cloud-bigquery-data-exchange-v1beta1:2.4.0:2.4.0 -grpc-google-cloud-bigquery-data-exchange-v1beta1:2.4.0:2.4.0 -google-cloud-bigquerydatapolicy:0.6.0:0.6.0 -proto-google-cloud-bigquerydatapolicy-v1beta1:0.6.0:0.6.0 -grpc-google-cloud-bigquerydatapolicy-v1beta1:0.6.0:0.6.0 -google-cloud-bigquerydatatransfer:2.9.0:2.9.0 -grpc-google-cloud-bigquerydatatransfer-v1:2.9.0:2.9.0 -proto-google-cloud-bigquerydatatransfer-v1:2.9.0:2.9.0 -google-cloud-bigquerymigration:0.12.0:0.12.0 -grpc-google-cloud-bigquerymigration-v2alpha:0.12.0:0.12.0 -proto-google-cloud-bigquerymigration-v2alpha:0.12.0:0.12.0 -proto-google-cloud-bigquerymigration-v2:0.12.0:0.12.0 -grpc-google-cloud-bigquerymigration-v2:0.12.0:0.12.0 -google-cloud-bigqueryreservation:2.10.0:2.10.0 -grpc-google-cloud-bigqueryreservation-v1:2.10.0:2.10.0 -proto-google-cloud-bigqueryreservation-v1:2.10.0:2.10.0 -google-cloud-billingbudgets:2.9.0:2.9.0 -grpc-google-cloud-billingbudgets-v1beta1:0.18.0:0.18.0 -grpc-google-cloud-billingbudgets-v1:2.9.0:2.9.0 -proto-google-cloud-billingbudgets-v1beta1:0.18.0:0.18.0 -proto-google-cloud-billingbudgets-v1:2.9.0:2.9.0 -google-cloud-billing:2.9.0:2.9.0 -grpc-google-cloud-billing-v1:2.9.0:2.9.0 -proto-google-cloud-billing-v1:2.9.0:2.9.0 -google-cloud-binary-authorization:1.8.0:1.8.0 -grpc-google-cloud-binary-authorization-v1beta1:0.13.0:0.13.0 -grpc-google-cloud-binary-authorization-v1:1.8.0:1.8.0 -proto-google-cloud-binary-authorization-v1beta1:0.13.0:0.13.0 -proto-google-cloud-binary-authorization-v1:1.8.0:1.8.0 -google-cloud-certificate-manager:0.12.0:0.12.0 -proto-google-cloud-certificate-manager-v1:0.12.0:0.12.0 -grpc-google-cloud-certificate-manager-v1:0.12.0:0.12.0 -google-cloud-channel:3.13.0:3.13.0 -grpc-google-cloud-channel-v1:3.13.0:3.13.0 -proto-google-cloud-channel-v1:3.13.0:3.13.0 -google-cloud-build:3.11.0:3.11.0 -grpc-google-cloud-build-v1:3.11.0:3.11.0 -proto-google-cloud-build-v1:3.11.0:3.11.0 -google-cloud-cloudcommerceconsumerprocurement:0.7.0:0.7.0 -proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1:0.7.0:0.7.0 -grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1:0.7.0:0.7.0 -google-cloud-compute:1.19.0:1.19.0 -proto-google-cloud-compute-v1:1.19.0:1.19.0 -google-cloud-contact-center-insights:2.9.0:2.9.0 -grpc-google-cloud-contact-center-insights-v1:2.9.0:2.9.0 -proto-google-cloud-contact-center-insights-v1:2.9.0:2.9.0 -proto-google-cloud-containeranalysis-v1:2.10.0:2.10.0 -proto-google-cloud-containeranalysis-v1beta1:0.100.0:0.100.0 -grpc-google-cloud-containeranalysis-v1beta1:0.100.0:0.100.0 -grpc-google-cloud-containeranalysis-v1:2.10.0:2.10.0 -google-cloud-containeranalysis:2.10.0:2.10.0 -google-cloud-container:2.12.0:2.12.0 -grpc-google-cloud-container-v1:2.12.0:2.12.0 -grpc-google-cloud-container-v1beta1:2.12.0:2.12.0 -proto-google-cloud-container-v1:2.12.0:2.12.0 -proto-google-cloud-container-v1beta1:2.12.0:2.12.0 -google-cloud-contentwarehouse:0.5.0:0.5.0 -proto-google-cloud-contentwarehouse-v1:0.5.0:0.5.0 -grpc-google-cloud-contentwarehouse-v1:0.5.0:0.5.0 -google-cloud-datacatalog:1.15.0:1.15.0 -grpc-google-cloud-datacatalog-v1:1.15.0:1.15.0 -grpc-google-cloud-datacatalog-v1beta1:0.52.0:0.52.0 -proto-google-cloud-datacatalog-v1:1.15.0:1.15.0 -proto-google-cloud-datacatalog-v1beta1:0.52.0:0.52.0 -google-cloud-dataflow:0.13.0:0.13.0 -grpc-google-cloud-dataflow-v1beta3:0.13.0:0.13.0 -proto-google-cloud-dataflow-v1beta3:0.13.0:0.13.0 -google-cloud-dataform:0.8.0:0.8.0 -proto-google-cloud-dataform-v1alpha2:0.8.0:0.8.0 -grpc-google-cloud-dataform-v1alpha2:0.8.0:0.8.0 -proto-google-cloud-dataform-v1beta1:0.8.0:0.8.0 -grpc-google-cloud-dataform-v1beta1:0.8.0:0.8.0 -google-cloud-data-fusion:1.9.0:1.9.0 -grpc-google-cloud-data-fusion-v1beta1:0.13.0:0.13.0 -grpc-google-cloud-data-fusion-v1:1.9.0:1.9.0 -proto-google-cloud-data-fusion-v1beta1:0.13.0:0.13.0 -proto-google-cloud-data-fusion-v1:1.9.0:1.9.0 -google-cloud-datalabeling:0.129.0:0.129.0 -grpc-google-cloud-datalabeling-v1beta1:0.94.0:0.94.0 -proto-google-cloud-datalabeling-v1beta1:0.94.0:0.94.0 -google-cloud-dataplex:1.7.0:1.7.0 -proto-google-cloud-dataplex-v1:1.7.0:1.7.0 -grpc-google-cloud-dataplex-v1:1.7.0:1.7.0 -google-cloud-dataproc-metastore:2.10.0:2.10.0 -grpc-google-cloud-dataproc-metastore-v1beta:0.14.0:0.14.0 -grpc-google-cloud-dataproc-metastore-v1alpha:0.14.0:0.14.0 -grpc-google-cloud-dataproc-metastore-v1:2.10.0:2.10.0 -proto-google-cloud-dataproc-metastore-v1beta:0.14.0:0.14.0 -proto-google-cloud-dataproc-metastore-v1alpha:0.14.0:0.14.0 -proto-google-cloud-dataproc-metastore-v1:2.10.0:2.10.0 -google-cloud-dataproc:4.6.0:4.6.0 -grpc-google-cloud-dataproc-v1:4.6.0:4.6.0 -proto-google-cloud-dataproc-v1:4.6.0:4.6.0 -google-cloud-datastream:1.8.0:1.8.0 -grpc-google-cloud-datastream-v1alpha1:0.13.0:0.13.0 -proto-google-cloud-datastream-v1alpha1:0.13.0:0.13.0 -proto-google-cloud-datastream-v1:1.8.0:1.8.0 -grpc-google-cloud-datastream-v1:1.8.0:1.8.0 -google-cloud-debugger-client:1.9.0:1.9.0 -grpc-google-cloud-debugger-client-v2:1.9.0:1.9.0 -proto-google-cloud-debugger-client-v2:1.9.0:1.9.0 -proto-google-devtools-source-protos:1.9.0:1.9.0 -google-cloud-deploy:1.7.0:1.7.0 -grpc-google-cloud-deploy-v1:1.7.0:1.7.0 -proto-google-cloud-deploy-v1:1.7.0:1.7.0 -google-cloud-dialogflow-cx:0.20.0:0.20.0 -grpc-google-cloud-dialogflow-cx-v3beta1:0.20.0:0.20.0 -grpc-google-cloud-dialogflow-cx-v3:0.20.0:0.20.0 -proto-google-cloud-dialogflow-cx-v3beta1:0.20.0:0.20.0 -proto-google-cloud-dialogflow-cx-v3:0.20.0:0.20.0 -google-cloud-dialogflow:4.15.0:4.15.0 -grpc-google-cloud-dialogflow-v2beta1:0.113.0:0.113.0 -grpc-google-cloud-dialogflow-v2:4.15.0:4.15.0 -proto-google-cloud-dialogflow-v2:4.15.0:4.15.0 -proto-google-cloud-dialogflow-v2beta1:0.113.0:0.113.0 -google-cloud-discoveryengine:0.5.0:0.5.0 -proto-google-cloud-discoveryengine-v1beta:0.5.0:0.5.0 -grpc-google-cloud-discoveryengine-v1beta:0.5.0:0.5.0 -google-cloud-distributedcloudedge:0.6.0:0.6.0 -proto-google-cloud-distributedcloudedge-v1:0.6.0:0.6.0 -grpc-google-cloud-distributedcloudedge-v1:0.6.0:0.6.0 -google-cloud-dlp:3.13.0:3.13.0 -grpc-google-cloud-dlp-v2:3.13.0:3.13.0 -proto-google-cloud-dlp-v2:3.13.0:3.13.0 -google-cloud-dms:2.8.0:2.8.0 -grpc-google-cloud-dms-v1:2.8.0:2.8.0 -proto-google-cloud-dms-v1:2.8.0:2.8.0 -google-cloud-document-ai:2.13.0:2.13.0 -grpc-google-cloud-document-ai-v1beta1:0.25.0:0.25.0 -grpc-google-cloud-document-ai-v1beta2:0.25.0:0.25.0 -grpc-google-cloud-document-ai-v1beta3:0.25.0:0.25.0 -grpc-google-cloud-document-ai-v1:2.13.0:2.13.0 -proto-google-cloud-document-ai-v1beta1:0.25.0:0.25.0 -proto-google-cloud-document-ai-v1beta2:0.25.0:0.25.0 -proto-google-cloud-document-ai-v1beta3:0.25.0:0.25.0 -proto-google-cloud-document-ai-v1:2.13.0:2.13.0 -google-cloud-domains:1.6.0:1.6.0 -grpc-google-cloud-domains-v1beta1:0.14.0:0.14.0 -grpc-google-cloud-domains-v1alpha2:0.14.0:0.14.0 -grpc-google-cloud-domains-v1:1.6.0:1.6.0 -proto-google-cloud-domains-v1beta1:0.14.0:0.14.0 -proto-google-cloud-domains-v1alpha2:0.14.0:0.14.0 -proto-google-cloud-domains-v1:1.6.0:1.6.0 -google-cloud-enterpriseknowledgegraph:0.5.0:0.5.0 -proto-google-cloud-enterpriseknowledgegraph-v1:0.5.0:0.5.0 -grpc-google-cloud-enterpriseknowledgegraph-v1:0.5.0:0.5.0 -google-cloud-errorreporting:0.130.0-beta:0.130.0-beta -grpc-google-cloud-error-reporting-v1beta1:0.96.0:0.96.0 -proto-google-cloud-error-reporting-v1beta1:0.96.0:0.96.0 -google-cloud-essential-contacts:2.9.0:2.9.0 -grpc-google-cloud-essential-contacts-v1:2.9.0:2.9.0 -proto-google-cloud-essential-contacts-v1:2.9.0:2.9.0 -google-cloud-eventarc:1.9.0:1.9.0 -grpc-google-cloud-eventarc-v1:1.9.0:1.9.0 -proto-google-cloud-eventarc-v1:1.9.0:1.9.0 -google-cloud-eventarc-publishing:0.9.0:0.9.0 -proto-google-cloud-eventarc-publishing-v1:0.9.0:0.9.0 -grpc-google-cloud-eventarc-publishing-v1:0.9.0:0.9.0 -google-cloud-filestore:1.10.0:1.10.0 -grpc-google-cloud-filestore-v1beta1:0.12.0:0.12.0 -grpc-google-cloud-filestore-v1:1.10.0:1.10.0 -proto-google-cloud-filestore-v1:1.10.0:1.10.0 -proto-google-cloud-filestore-v1beta1:0.12.0:0.12.0 -google-cloud-functions:2.11.0:2.11.0 -grpc-google-cloud-functions-v1:2.11.0:2.11.0 -proto-google-cloud-functions-v1:2.11.0:2.11.0 -proto-google-cloud-functions-v2beta:2.11.0:2.11.0 -proto-google-cloud-functions-v2alpha:2.11.0:2.11.0 -grpc-google-cloud-functions-v2beta:2.11.0:2.11.0 -grpc-google-cloud-functions-v2alpha:2.11.0:2.11.0 -proto-google-cloud-functions-v2:2.11.0:2.11.0 -grpc-google-cloud-functions-v2:2.11.0:2.11.0 -google-cloud-game-servers:2.9.0:2.9.0 -grpc-google-cloud-game-servers-v1:2.9.0:2.9.0 -grpc-google-cloud-game-servers-v1beta:0.34.0:0.34.0 -proto-google-cloud-game-servers-v1:2.9.0:2.9.0 -proto-google-cloud-game-servers-v1beta:0.34.0:0.34.0 -google-cloud-gke-backup:0.8.0:0.8.0 -proto-google-cloud-gke-backup-v1:0.8.0:0.8.0 -grpc-google-cloud-gke-backup-v1:0.8.0:0.8.0 -google-cloud-gke-connect-gateway:0.10.0:0.10.0 -grpc-google-cloud-gke-connect-gateway-v1beta1:0.10.0:0.10.0 -proto-google-cloud-gke-connect-gateway-v1beta1:0.10.0:0.10.0 -google-cloud-gkehub:1.9.0:1.9.0 -grpc-google-cloud-gkehub-v1beta1:0.15.0:0.15.0 -grpc-google-cloud-gkehub-v1:1.9.0:1.9.0 -grpc-google-cloud-gkehub-v1alpha:0.15.0:0.15.0 -grpc-google-cloud-gkehub-v1beta:0.15.0:0.15.0 -grpc-google-cloud-gkehub-v1alpha2:0.15.0:0.15.0 -proto-google-cloud-gkehub-v1beta1:0.15.0:0.15.0 -proto-google-cloud-gkehub-v1:1.9.0:1.9.0 -proto-google-cloud-gkehub-v1alpha:0.15.0:0.15.0 -proto-google-cloud-gkehub-v1alpha2:0.15.0:0.15.0 -proto-google-cloud-gkehub-v1beta:0.15.0:0.15.0 -google-cloud-gke-multi-cloud:0.8.0:0.8.0 -proto-google-cloud-gke-multi-cloud-v1:0.8.0:0.8.0 -grpc-google-cloud-gke-multi-cloud-v1:0.8.0:0.8.0 -grafeas:2.10.0:2.10.0 -google-cloud-gsuite-addons:2.9.0:2.9.0 -grpc-google-cloud-gsuite-addons-v1:2.9.0:2.9.0 -proto-google-cloud-gsuite-addons-v1:2.9.0:2.9.0 -proto-google-apps-script-type-protos:2.9.0:2.9.0 -google-iam-admin:3.4.0:3.4.0 -grpc-google-iam-admin-v1:3.4.0:3.4.0 -proto-google-iam-admin-v1:3.4.0:3.4.0 -google-cloud-iamcredentials:2.9.0:2.9.0 -grpc-google-cloud-iamcredentials-v1:2.9.0:2.9.0 -proto-google-cloud-iamcredentials-v1:2.9.0:2.9.0 -google-cloud-ids:1.8.0:1.8.0 -grpc-google-cloud-ids-v1:1.8.0:1.8.0 -proto-google-cloud-ids-v1:1.8.0:1.8.0 -google-cloud-iot:2.9.0:2.9.0 -grpc-google-cloud-iot-v1:2.9.0:2.9.0 -proto-google-cloud-iot-v1:2.9.0:2.9.0 -google-cloud-kms:2.12.0:2.12.0 -grpc-google-cloud-kms-v1:0.103.0:0.103.0 -proto-google-cloud-kms-v1:0.103.0:0.103.0 -google-cloud-language:2.10.0:2.10.0 -grpc-google-cloud-language-v1:2.10.0:2.10.0 -grpc-google-cloud-language-v1beta2:0.97.0:0.97.0 -proto-google-cloud-language-v1:2.10.0:2.10.0 -proto-google-cloud-language-v1beta2:0.97.0:0.97.0 -google-cloud-life-sciences:0.11.0:0.11.0 -grpc-google-cloud-life-sciences-v2beta:0.11.0:0.11.0 -proto-google-cloud-life-sciences-v2beta:0.11.0:0.11.0 -google-cloud-managed-identities:1.7.0:1.7.0 -grpc-google-cloud-managed-identities-v1:1.7.0:1.7.0 -proto-google-cloud-managed-identities-v1:1.7.0:1.7.0 -google-cloud-mediatranslation:0.15.0:0.15.0 -grpc-google-cloud-mediatranslation-v1beta1:0.15.0:0.15.0 -proto-google-cloud-mediatranslation-v1beta1:0.15.0:0.15.0 -google-cloud-memcache:2.9.0:2.9.0 -grpc-google-cloud-memcache-v1beta2:0.16.0:0.16.0 -grpc-google-cloud-memcache-v1:2.9.0:2.9.0 -proto-google-cloud-memcache-v1beta2:0.16.0:0.16.0 -proto-google-cloud-memcache-v1:2.9.0:2.9.0 -google-cloud-monitoring-dashboard:2.11.0:2.11.0 -grpc-google-cloud-monitoring-dashboard-v1:2.11.0:2.11.0 -proto-google-cloud-monitoring-dashboard-v1:2.11.0:2.11.0 -google-cloud-monitoring:3.10.0:3.10.0 -grpc-google-cloud-monitoring-v3:3.10.0:3.10.0 -proto-google-cloud-monitoring-v3:3.10.0:3.10.0 -google-cloud-networkconnectivity:1.8.0:1.8.0 -grpc-google-cloud-networkconnectivity-v1alpha1:0.14.0:0.14.0 -grpc-google-cloud-networkconnectivity-v1:1.8.0:1.8.0 -proto-google-cloud-networkconnectivity-v1alpha1:0.14.0:0.14.0 -proto-google-cloud-networkconnectivity-v1:1.8.0:1.8.0 -google-cloud-network-management:1.10.0:1.10.0 -grpc-google-cloud-network-management-v1beta1:0.12.0:0.12.0 -grpc-google-cloud-network-management-v1:1.10.0:1.10.0 -proto-google-cloud-network-management-v1beta1:0.12.0:0.12.0 -proto-google-cloud-network-management-v1:1.10.0:1.10.0 -google-cloud-network-security:0.12.0:0.12.0 -grpc-google-cloud-network-security-v1beta1:0.12.0:0.12.0 -proto-google-cloud-network-security-v1beta1:0.12.0:0.12.0 -proto-google-cloud-network-security-v1:0.12.0:0.12.0 -grpc-google-cloud-network-security-v1:0.12.0:0.12.0 -google-cloud-notebooks:1.7.0:1.7.0 -grpc-google-cloud-notebooks-v1beta1:0.14.0:0.14.0 -grpc-google-cloud-notebooks-v1:1.7.0:1.7.0 -proto-google-cloud-notebooks-v1beta1:0.14.0:0.14.0 -proto-google-cloud-notebooks-v1:1.7.0:1.7.0 -google-cloud-notification:0.127.0-beta:0.127.0-beta -google-cloud-optimization:1.7.0:1.7.0 -proto-google-cloud-optimization-v1:1.7.0:1.7.0 -grpc-google-cloud-optimization-v1:1.7.0:1.7.0 -google-cloud-orchestration-airflow:1.9.0:1.9.0 -grpc-google-cloud-orchestration-airflow-v1:1.9.0:1.9.0 -grpc-google-cloud-orchestration-airflow-v1beta1:0.12.0:0.12.0 -proto-google-cloud-orchestration-airflow-v1:1.9.0:1.9.0 -proto-google-cloud-orchestration-airflow-v1beta1:0.12.0:0.12.0 -google-cloud-orgpolicy:2.9.0:2.9.0 -grpc-google-cloud-orgpolicy-v2:2.9.0:2.9.0 -proto-google-cloud-orgpolicy-v1:2.9.0:2.9.0 -proto-google-cloud-orgpolicy-v2:2.9.0:2.9.0 -google-cloud-os-config:2.11.0:2.11.0 -grpc-google-cloud-os-config-v1:2.11.0:2.11.0 -grpc-google-cloud-os-config-v1beta:2.11.0:2.11.0 -grpc-google-cloud-os-config-v1alpha:2.11.0:2.11.0 -proto-google-cloud-os-config-v1:2.11.0:2.11.0 -proto-google-cloud-os-config-v1alpha:2.11.0:2.11.0 -proto-google-cloud-os-config-v1beta:2.11.0:2.11.0 -google-cloud-os-login:2.8.0:2.8.0 -grpc-google-cloud-os-login-v1:2.8.0:2.8.0 -proto-google-cloud-os-login-v1:2.8.0:2.8.0 -google-cloud-phishingprotection:0.40.0:0.40.0 -grpc-google-cloud-phishingprotection-v1beta1:0.40.0:0.40.0 -proto-google-cloud-phishingprotection-v1beta1:0.40.0:0.40.0 -google-cloud-policy-troubleshooter:1.8.0:1.8.0 -grpc-google-cloud-policy-troubleshooter-v1:1.8.0:1.8.0 -proto-google-cloud-policy-troubleshooter-v1:1.8.0:1.8.0 -google-cloud-private-catalog:0.11.0:0.11.0 -grpc-google-cloud-private-catalog-v1beta1:0.11.0:0.11.0 -proto-google-cloud-private-catalog-v1beta1:0.11.0:0.11.0 -google-cloud-profiler:2.9.0:2.9.0 -grpc-google-cloud-profiler-v2:2.9.0:2.9.0 -proto-google-cloud-profiler-v2:2.9.0:2.9.0 -google-cloud-publicca:0.6.0:0.6.0 -proto-google-cloud-publicca-v1beta1:0.6.0:0.6.0 -grpc-google-cloud-publicca-v1beta1:0.6.0:0.6.0 -google-cloud-recaptchaenterprise:3.6.0:3.6.0 -grpc-google-cloud-recaptchaenterprise-v1:3.6.0:3.6.0 -grpc-google-cloud-recaptchaenterprise-v1beta1:0.48.0:0.48.0 -proto-google-cloud-recaptchaenterprise-v1:3.6.0:3.6.0 -proto-google-cloud-recaptchaenterprise-v1beta1:0.48.0:0.48.0 -google-cloud-recommendations-ai:0.16.0:0.16.0 -grpc-google-cloud-recommendations-ai-v1beta1:0.16.0:0.16.0 -proto-google-cloud-recommendations-ai-v1beta1:0.16.0:0.16.0 -google-cloud-recommender:2.11.0:2.11.0 -grpc-google-cloud-recommender-v1:2.11.0:2.11.0 -grpc-google-cloud-recommender-v1beta1:0.23.0:0.23.0 -proto-google-cloud-recommender-v1:2.11.0:2.11.0 -proto-google-cloud-recommender-v1beta1:0.23.0:0.23.0 -google-cloud-redis:2.12.0:2.12.0 -grpc-google-cloud-redis-v1beta1:0.100.0:0.100.0 -grpc-google-cloud-redis-v1:2.12.0:2.12.0 -proto-google-cloud-redis-v1:2.12.0:2.12.0 -proto-google-cloud-redis-v1beta1:0.100.0:0.100.0 -google-cloud-resourcemanager:1.11.0:1.11.0 -grpc-google-cloud-resourcemanager-v3:1.11.0:1.11.0 -proto-google-cloud-resourcemanager-v3:1.11.0:1.11.0 -google-cloud-resource-settings:1.9.0:1.9.0 -grpc-google-cloud-resource-settings-v1:1.9.0:1.9.0 -proto-google-cloud-resource-settings-v1:1.9.0:1.9.0 -google-cloud-retail:2.11.0:2.11.0 -grpc-google-cloud-retail-v2:2.11.0:2.11.0 -proto-google-cloud-retail-v2:2.11.0:2.11.0 -proto-google-cloud-retail-v2alpha:2.11.0:2.11.0 -proto-google-cloud-retail-v2beta:2.11.0:2.11.0 -grpc-google-cloud-retail-v2alpha:2.11.0:2.11.0 -grpc-google-cloud-retail-v2beta:2.11.0:2.11.0 -google-cloud-run:0.9.0:0.9.0 -proto-google-cloud-run-v2:0.9.0:0.9.0 -grpc-google-cloud-run-v2:0.9.0:0.9.0 -google-cloud-scheduler:2.9.0:2.9.0 -grpc-google-cloud-scheduler-v1beta1:0.94.0:0.94.0 -grpc-google-cloud-scheduler-v1:2.9.0:2.9.0 -proto-google-cloud-scheduler-v1beta1:0.94.0:0.94.0 -proto-google-cloud-scheduler-v1:2.9.0:2.9.0 -google-cloud-secretmanager:2.9.0:2.9.0 -grpc-google-cloud-secretmanager-v1:2.9.0:2.9.0 -grpc-google-cloud-secretmanager-v1beta1:2.9.0:2.9.0 -proto-google-cloud-secretmanager-v1:2.9.0:2.9.0 -proto-google-cloud-secretmanager-v1beta1:2.9.0:2.9.0 -google-cloud-securitycenter:2.17.0:2.17.0 -grpc-google-cloud-securitycenter-v1:2.17.0:2.17.0 -grpc-google-cloud-securitycenter-v1beta1:0.112.0:0.112.0 -grpc-google-cloud-securitycenter-v1p1beta1:0.112.0:0.112.0 -proto-google-cloud-securitycenter-v1:2.17.0:2.17.0 -proto-google-cloud-securitycenter-v1beta1:0.112.0:0.112.0 -proto-google-cloud-securitycenter-v1p1beta1:0.112.0:0.112.0 -google-cloud-securitycenter-settings:0.12.0:0.12.0 -grpc-google-cloud-securitycenter-settings-v1beta1:0.12.0:0.12.0 -proto-google-cloud-securitycenter-settings-v1beta1:0.12.0:0.12.0 -google-cloud-security-private-ca:2.11.0:2.11.0 -grpc-google-cloud-security-private-ca-v1beta1:0.18.0:0.18.0 -grpc-google-cloud-security-private-ca-v1:2.11.0:2.11.0 -proto-google-cloud-security-private-ca-v1beta1:0.18.0:0.18.0 -proto-google-cloud-security-private-ca-v1:2.11.0:2.11.0 -google-cloud-service-control:1.9.0:1.9.0 -grpc-google-cloud-service-control-v1:1.9.0:1.9.0 -proto-google-cloud-service-control-v1:1.9.0:1.9.0 -proto-google-cloud-service-control-v2:1.9.0:1.9.0 -grpc-google-cloud-service-control-v2:1.9.0:1.9.0 -google-cloud-servicedirectory:2.10.0:2.10.0 -grpc-google-cloud-servicedirectory-v1beta1:0.18.0:0.18.0 -grpc-google-cloud-servicedirectory-v1:2.10.0:2.10.0 -proto-google-cloud-servicedirectory-v1beta1:0.18.0:0.18.0 -proto-google-cloud-servicedirectory-v1:2.10.0:2.10.0 -google-cloud-service-management:3.7.0:3.7.0 -grpc-google-cloud-service-management-v1:3.7.0:3.7.0 -proto-google-cloud-service-management-v1:3.7.0:3.7.0 -google-cloud-service-usage:2.9.0:2.9.0 -grpc-google-cloud-service-usage-v1beta1:0.13.0:0.13.0 -grpc-google-cloud-service-usage-v1:2.9.0:2.9.0 -proto-google-cloud-service-usage-v1:2.9.0:2.9.0 -proto-google-cloud-service-usage-v1beta1:0.13.0:0.13.0 -google-cloud-shell:2.8.0:2.8.0 -grpc-google-cloud-shell-v1:2.8.0:2.8.0 -proto-google-cloud-shell-v1:2.8.0:2.8.0 -google-cloud-speech:4.4.0:4.4.0 -grpc-google-cloud-speech-v1:4.4.0:4.4.0 -grpc-google-cloud-speech-v1beta1:2.4.0:2.4.0 -grpc-google-cloud-speech-v1p1beta1:2.4.0:2.4.0 -proto-google-cloud-speech-v1:4.4.0:4.4.0 -proto-google-cloud-speech-v1beta1:2.4.0:2.4.0 -proto-google-cloud-speech-v1p1beta1:2.4.0:2.4.0 -proto-google-cloud-speech-v2:4.4.0:4.4.0 -grpc-google-cloud-speech-v2:4.4.0:4.4.0 -google-cloud-storage-transfer:1.9.0:1.9.0 -grpc-google-cloud-storage-transfer-v1:1.9.0:1.9.0 -proto-google-cloud-storage-transfer-v1:1.9.0:1.9.0 -google-cloud-talent:2.10.0:2.10.0 -grpc-google-cloud-talent-v4:2.10.0:2.10.0 -grpc-google-cloud-talent-v4beta1:0.53.0:0.53.0 -proto-google-cloud-talent-v4:2.10.0:2.10.0 -proto-google-cloud-talent-v4beta1:0.53.0:0.53.0 -google-cloud-tasks:2.9.0:2.9.0 -grpc-google-cloud-tasks-v2beta3:0.99.0:0.99.0 -grpc-google-cloud-tasks-v2beta2:0.99.0:0.99.0 -grpc-google-cloud-tasks-v2:2.9.0:2.9.0 -proto-google-cloud-tasks-v2beta3:0.99.0:0.99.0 -proto-google-cloud-tasks-v2beta2:0.99.0:0.99.0 -proto-google-cloud-tasks-v2:2.9.0:2.9.0 -google-cloud-texttospeech:2.10.0:2.10.0 -grpc-google-cloud-texttospeech-v1beta1:0.99.0:0.99.0 -grpc-google-cloud-texttospeech-v1:2.10.0:2.10.0 -proto-google-cloud-texttospeech-v1:2.10.0:2.10.0 -proto-google-cloud-texttospeech-v1beta1:0.99.0:0.99.0 -google-cloud-tpu:2.10.0:2.10.0 -grpc-google-cloud-tpu-v1:2.10.0:2.10.0 -grpc-google-cloud-tpu-v2alpha1:2.10.0:2.10.0 -proto-google-cloud-tpu-v1:2.10.0:2.10.0 -proto-google-cloud-tpu-v2alpha1:2.10.0:2.10.0 -google-cloud-trace:2.9.0:2.9.0 -grpc-google-cloud-trace-v1:2.9.0:2.9.0 -grpc-google-cloud-trace-v2:2.9.0:2.9.0 -proto-google-cloud-trace-v1:2.9.0:2.9.0 -proto-google-cloud-trace-v2:2.9.0:2.9.0 -google-cloud-translate:2.9.0:2.9.0 -grpc-google-cloud-translate-v3beta1:0.91.0:0.91.0 -grpc-google-cloud-translate-v3:2.9.0:2.9.0 -proto-google-cloud-translate-v3beta1:0.91.0:0.91.0 -proto-google-cloud-translate-v3:2.9.0:2.9.0 -google-cloud-video-intelligence:2.8.0:2.8.0 -grpc-google-cloud-video-intelligence-v1p1beta1:0.98.0:0.98.0 -grpc-google-cloud-video-intelligence-v1beta2:0.98.0:0.98.0 -grpc-google-cloud-video-intelligence-v1:2.8.0:2.8.0 -grpc-google-cloud-video-intelligence-v1p2beta1:0.98.0:0.98.0 -grpc-google-cloud-video-intelligence-v1p3beta1:0.98.0:0.98.0 -proto-google-cloud-video-intelligence-v1p3beta1:0.98.0:0.98.0 -proto-google-cloud-video-intelligence-v1beta2:0.98.0:0.98.0 -proto-google-cloud-video-intelligence-v1p1beta1:0.98.0:0.98.0 -proto-google-cloud-video-intelligence-v1:2.8.0:2.8.0 -proto-google-cloud-video-intelligence-v1p2beta1:0.98.0:0.98.0 -google-cloud-live-stream:0.11.0:0.11.0 -proto-google-cloud-live-stream-v1:0.11.0:0.11.0 -grpc-google-cloud-live-stream-v1:0.11.0:0.11.0 -google-cloud-video-stitcher:0.9.0:0.9.0 -proto-google-cloud-video-stitcher-v1:0.9.0:0.9.0 -grpc-google-cloud-video-stitcher-v1:0.9.0:0.9.0 -google-cloud-video-transcoder:1.8.0:1.8.0 -grpc-google-cloud-video-transcoder-v1:1.8.0:1.8.0 -proto-google-cloud-video-transcoder-v1:1.8.0:1.8.0 -google-cloud-vision:3.7.0:3.7.0 -grpc-google-cloud-vision-v1p3beta1:0.96.0:0.96.0 -grpc-google-cloud-vision-v1p1beta1:0.96.0:0.96.0 -grpc-google-cloud-vision-v1p4beta1:0.96.0:0.96.0 -grpc-google-cloud-vision-v1p2beta1:3.7.0:3.7.0 -grpc-google-cloud-vision-v1:3.7.0:3.7.0 -proto-google-cloud-vision-v1p4beta1:0.96.0:0.96.0 -proto-google-cloud-vision-v1:3.7.0:3.7.0 -proto-google-cloud-vision-v1p1beta1:0.96.0:0.96.0 -proto-google-cloud-vision-v1p3beta1:0.96.0:0.96.0 -proto-google-cloud-vision-v1p2beta1:3.7.0:3.7.0 -google-cloud-vmmigration:1.9.0:1.9.0 -grpc-google-cloud-vmmigration-v1:1.9.0:1.9.0 -proto-google-cloud-vmmigration-v1:1.9.0:1.9.0 -google-cloud-vpcaccess:2.10.0:2.10.0 -grpc-google-cloud-vpcaccess-v1:2.10.0:2.10.0 -proto-google-cloud-vpcaccess-v1:2.10.0:2.10.0 -google-cloud-webrisk:2.8.0:2.8.0 -grpc-google-cloud-webrisk-v1:2.8.0:2.8.0 -grpc-google-cloud-webrisk-v1beta1:0.45.0:0.45.0 -proto-google-cloud-webrisk-v1:2.8.0:2.8.0 -proto-google-cloud-webrisk-v1beta1:0.45.0:0.45.0 -google-cloud-websecurityscanner:2.9.0:2.9.0 -grpc-google-cloud-websecurityscanner-v1alpha:0.96.0:0.96.0 -grpc-google-cloud-websecurityscanner-v1beta:0.96.0:0.96.0 -grpc-google-cloud-websecurityscanner-v1:2.9.0:2.9.0 -proto-google-cloud-websecurityscanner-v1alpha:0.96.0:0.96.0 -proto-google-cloud-websecurityscanner-v1beta:0.96.0:0.96.0 -proto-google-cloud-websecurityscanner-v1:2.9.0:2.9.0 -google-cloud-workflow-executions:2.9.0:2.9.0 -grpc-google-cloud-workflow-executions-v1beta:0.13.0:0.13.0 -grpc-google-cloud-workflow-executions-v1:2.9.0:2.9.0 -proto-google-cloud-workflow-executions-v1beta:0.13.0:0.13.0 -proto-google-cloud-workflow-executions-v1:2.9.0:2.9.0 -google-cloud-workflows:2.9.0:2.9.0 -grpc-google-cloud-workflows-v1beta:0.15.0:0.15.0 -grpc-google-cloud-workflows-v1:2.9.0:2.9.0 -proto-google-cloud-workflows-v1beta:0.15.0:0.15.0 -proto-google-cloud-workflows-v1:2.9.0:2.9.0 -google-cloud-dns:2.7.0:2.7.0 -google-maps-routing:0.3.0:0.3.0 -proto-google-maps-routing-v2:0.3.0:0.3.0 -grpc-google-maps-routing-v2:0.3.0:0.3.0 -google-cloud-vmwareengine:0.3.0:0.3.0 -proto-google-cloud-vmwareengine-v1:0.3.0:0.3.0 -grpc-google-cloud-vmwareengine-v1:0.3.0:0.3.0 -google-maps-addressvalidation:0.3.0:0.3.0 -proto-google-maps-addressvalidation-v1:0.3.0:0.3.0 -grpc-google-maps-addressvalidation-v1:0.3.0:0.3.0 -proto-google-cloud-bigquerydatapolicy-v1:0.6.0:0.6.0 -grpc-google-cloud-bigquerydatapolicy-v1:0.6.0:0.6.0 -google-cloud-monitoring-metricsscope:0.3.0:0.3.0 -proto-google-cloud-monitoring-metricsscope-v1:0.3.0:0.3.0 -grpc-google-cloud-monitoring-metricsscope-v1:0.3.0:0.3.0 -proto-google-cloud-tpu-v2:2.10.0:2.10.0 -grpc-google-cloud-tpu-v2:2.10.0:2.10.0 -google-cloud-datalineage:0.1.0:0.1.0 -proto-google-cloud-datalineage-v1:0.1.0:0.1.0 -grpc-google-cloud-datalineage-v1:0.1.0:0.1.0 +google-cloud-java:1.4.0:1.4.0 +google-cloud-accessapproval:2.11.0:2.11.0 +grpc-google-cloud-accessapproval-v1:2.11.0:2.11.0 +proto-google-cloud-accessapproval-v1:2.11.0:2.11.0 +google-identity-accesscontextmanager:1.11.0:1.11.0 +grpc-google-identity-accesscontextmanager-v1:1.11.0:1.11.0 +proto-google-identity-accesscontextmanager-v1:1.11.0:1.11.0 +proto-google-identity-accesscontextmanager-type:1.11.0:1.11.0 +google-cloud-aiplatform:3.11.0:3.11.0 +grpc-google-cloud-aiplatform-v1:3.11.0:3.11.0 +grpc-google-cloud-aiplatform-v1beta1:0.27.0:0.27.0 +proto-google-cloud-aiplatform-v1:3.11.0:3.11.0 +proto-google-cloud-aiplatform-v1beta1:0.27.0:0.27.0 +google-analytics-admin:0.20.0:0.20.0 +grpc-google-analytics-admin-v1alpha:0.20.0:0.20.0 +proto-google-analytics-admin-v1alpha:0.20.0:0.20.0 +proto-google-analytics-admin-v1beta:0.20.0:0.20.0 +grpc-google-analytics-admin-v1beta:0.20.0:0.20.0 +google-analytics-data:0.21.0:0.21.0 +grpc-google-analytics-data-v1beta:0.21.0:0.21.0 +proto-google-analytics-data-v1beta:0.21.0:0.21.0 +proto-google-analytics-data-v1alpha:0.21.0:0.21.0 +grpc-google-analytics-data-v1alpha:0.21.0:0.21.0 +google-cloud-analyticshub:0.7.0:0.7.0 +proto-google-cloud-analyticshub-v1:0.7.0:0.7.0 +grpc-google-cloud-analyticshub-v1:0.7.0:0.7.0 +google-cloud-api-gateway:2.10.0:2.10.0 +grpc-google-cloud-api-gateway-v1:2.10.0:2.10.0 +proto-google-cloud-api-gateway-v1:2.10.0:2.10.0 +google-cloud-apigee-connect:2.10.0:2.10.0 +grpc-google-cloud-apigee-connect-v1:2.10.0:2.10.0 +proto-google-cloud-apigee-connect-v1:2.10.0:2.10.0 +google-cloud-apigee-registry:0.10.0:0.10.0 +proto-google-cloud-apigee-registry-v1:0.10.0:0.10.0 +grpc-google-cloud-apigee-registry-v1:0.10.0:0.10.0 +google-cloud-apikeys:0.8.0:0.8.0 +proto-google-cloud-apikeys-v2:0.8.0:0.8.0 +grpc-google-cloud-apikeys-v2:0.8.0:0.8.0 +google-cloud-appengine-admin:2.10.0:2.10.0 +grpc-google-cloud-appengine-admin-v1:2.10.0:2.10.0 +proto-google-cloud-appengine-admin-v1:2.10.0:2.10.0 +google-area120-tables:0.14.0:0.14.0 +grpc-google-area120-tables-v1alpha1:0.14.0:0.14.0 +proto-google-area120-tables-v1alpha1:0.14.0:0.14.0 +google-cloud-artifact-registry:1.9.0:1.9.0 +grpc-google-cloud-artifact-registry-v1beta2:0.15.0:0.15.0 +grpc-google-cloud-artifact-registry-v1:1.9.0:1.9.0 +proto-google-cloud-artifact-registry-v1beta2:0.15.0:0.15.0 +proto-google-cloud-artifact-registry-v1:1.9.0:1.9.0 +google-cloud-asset:3.14.0:3.14.0 +grpc-google-cloud-asset-v1:3.14.0:3.14.0 +grpc-google-cloud-asset-v1p1beta1:0.114.0:0.114.0 +grpc-google-cloud-asset-v1p2beta1:0.114.0:0.114.0 +grpc-google-cloud-asset-v1p5beta1:0.114.0:0.114.0 +grpc-google-cloud-asset-v1p7beta1:3.14.0:3.14.0 +proto-google-cloud-asset-v1:3.14.0:3.14.0 +proto-google-cloud-asset-v1p1beta1:0.114.0:0.114.0 +proto-google-cloud-asset-v1p2beta1:0.114.0:0.114.0 +proto-google-cloud-asset-v1p5beta1:0.114.0:0.114.0 +proto-google-cloud-asset-v1p7beta1:3.14.0:3.14.0 +google-cloud-assured-workloads:2.10.0:2.10.0 +grpc-google-cloud-assured-workloads-v1beta1:0.22.0:0.22.0 +grpc-google-cloud-assured-workloads-v1:2.10.0:2.10.0 +proto-google-cloud-assured-workloads-v1beta1:0.22.0:0.22.0 +proto-google-cloud-assured-workloads-v1:2.10.0:2.10.0 +google-cloud-automl:2.10.0:2.10.0 +grpc-google-cloud-automl-v1beta1:0.97.0:0.97.0 +grpc-google-cloud-automl-v1:2.10.0:2.10.0 +proto-google-cloud-automl-v1beta1:0.97.0:0.97.0 +proto-google-cloud-automl-v1:2.10.0:2.10.0 +google-cloud-bare-metal-solution:0.10.0:0.10.0 +proto-google-cloud-bare-metal-solution-v2:0.10.0:0.10.0 +grpc-google-cloud-bare-metal-solution-v2:0.10.0:0.10.0 +google-cloud-batch:0.10.0:0.10.0 +proto-google-cloud-batch-v1:0.10.0:0.10.0 +grpc-google-cloud-batch-v1:0.10.0:0.10.0 +proto-google-cloud-batch-v1alpha:0.10.0:0.10.0 +grpc-google-cloud-batch-v1alpha:0.10.0:0.10.0 +google-cloud-beyondcorp-appconnections:0.8.0:0.8.0 +proto-google-cloud-beyondcorp-appconnections-v1:0.8.0:0.8.0 +grpc-google-cloud-beyondcorp-appconnections-v1:0.8.0:0.8.0 +google-cloud-beyondcorp-appconnectors:0.8.0:0.8.0 +proto-google-cloud-beyondcorp-appconnectors-v1:0.8.0:0.8.0 +grpc-google-cloud-beyondcorp-appconnectors-v1:0.8.0:0.8.0 +google-cloud-beyondcorp-appgateways:0.8.0:0.8.0 +proto-google-cloud-beyondcorp-appgateways-v1:0.8.0:0.8.0 +grpc-google-cloud-beyondcorp-appgateways-v1:0.8.0:0.8.0 +google-cloud-beyondcorp-clientconnectorservices:0.8.0:0.8.0 +proto-google-cloud-beyondcorp-clientconnectorservices-v1:0.8.0:0.8.0 +grpc-google-cloud-beyondcorp-clientconnectorservices-v1:0.8.0:0.8.0 +google-cloud-beyondcorp-clientgateways:0.8.0:0.8.0 +proto-google-cloud-beyondcorp-clientgateways-v1:0.8.0:0.8.0 +grpc-google-cloud-beyondcorp-clientgateways-v1:0.8.0:0.8.0 +google-cloud-bigqueryconnection:2.12.0:2.12.0 +grpc-google-cloud-bigqueryconnection-v1:2.12.0:2.12.0 +grpc-google-cloud-bigqueryconnection-v1beta1:0.20.0:0.20.0 +proto-google-cloud-bigqueryconnection-v1:2.12.0:2.12.0 +proto-google-cloud-bigqueryconnection-v1beta1:0.20.0:0.20.0 +google-cloud-bigquery-data-exchange:2.5.0:2.5.0 +proto-google-cloud-bigquery-data-exchange-v1beta1:2.5.0:2.5.0 +grpc-google-cloud-bigquery-data-exchange-v1beta1:2.5.0:2.5.0 +google-cloud-bigquerydatapolicy:0.7.0:0.7.0 +proto-google-cloud-bigquerydatapolicy-v1beta1:0.7.0:0.7.0 +grpc-google-cloud-bigquerydatapolicy-v1beta1:0.7.0:0.7.0 +google-cloud-bigquerydatatransfer:2.10.0:2.10.0 +grpc-google-cloud-bigquerydatatransfer-v1:2.10.0:2.10.0 +proto-google-cloud-bigquerydatatransfer-v1:2.10.0:2.10.0 +google-cloud-bigquerymigration:0.13.0:0.13.0 +grpc-google-cloud-bigquerymigration-v2alpha:0.13.0:0.13.0 +proto-google-cloud-bigquerymigration-v2alpha:0.13.0:0.13.0 +proto-google-cloud-bigquerymigration-v2:0.13.0:0.13.0 +grpc-google-cloud-bigquerymigration-v2:0.13.0:0.13.0 +google-cloud-bigqueryreservation:2.11.0:2.11.0 +grpc-google-cloud-bigqueryreservation-v1:2.11.0:2.11.0 +proto-google-cloud-bigqueryreservation-v1:2.11.0:2.11.0 +google-cloud-billingbudgets:2.10.0:2.10.0 +grpc-google-cloud-billingbudgets-v1beta1:0.19.0:0.19.0 +grpc-google-cloud-billingbudgets-v1:2.10.0:2.10.0 +proto-google-cloud-billingbudgets-v1beta1:0.19.0:0.19.0 +proto-google-cloud-billingbudgets-v1:2.10.0:2.10.0 +google-cloud-billing:2.10.0:2.10.0 +grpc-google-cloud-billing-v1:2.10.0:2.10.0 +proto-google-cloud-billing-v1:2.10.0:2.10.0 +google-cloud-binary-authorization:1.9.0:1.9.0 +grpc-google-cloud-binary-authorization-v1beta1:0.14.0:0.14.0 +grpc-google-cloud-binary-authorization-v1:1.9.0:1.9.0 +proto-google-cloud-binary-authorization-v1beta1:0.14.0:0.14.0 +proto-google-cloud-binary-authorization-v1:1.9.0:1.9.0 +google-cloud-certificate-manager:0.13.0:0.13.0 +proto-google-cloud-certificate-manager-v1:0.13.0:0.13.0 +grpc-google-cloud-certificate-manager-v1:0.13.0:0.13.0 +google-cloud-channel:3.14.0:3.14.0 +grpc-google-cloud-channel-v1:3.14.0:3.14.0 +proto-google-cloud-channel-v1:3.14.0:3.14.0 +google-cloud-build:3.12.0:3.12.0 +grpc-google-cloud-build-v1:3.12.0:3.12.0 +proto-google-cloud-build-v1:3.12.0:3.12.0 +google-cloud-cloudcommerceconsumerprocurement:0.8.0:0.8.0 +proto-google-cloud-cloudcommerceconsumerprocurement-v1alpha1:0.8.0:0.8.0 +grpc-google-cloud-cloudcommerceconsumerprocurement-v1alpha1:0.8.0:0.8.0 +google-cloud-compute:1.20.0:1.20.0 +proto-google-cloud-compute-v1:1.20.0:1.20.0 +google-cloud-contact-center-insights:2.10.0:2.10.0 +grpc-google-cloud-contact-center-insights-v1:2.10.0:2.10.0 +proto-google-cloud-contact-center-insights-v1:2.10.0:2.10.0 +proto-google-cloud-containeranalysis-v1:2.11.0:2.11.0 +proto-google-cloud-containeranalysis-v1beta1:0.101.0:0.101.0 +grpc-google-cloud-containeranalysis-v1beta1:0.101.0:0.101.0 +grpc-google-cloud-containeranalysis-v1:2.11.0:2.11.0 +google-cloud-containeranalysis:2.11.0:2.11.0 +google-cloud-container:2.13.0:2.13.0 +grpc-google-cloud-container-v1:2.13.0:2.13.0 +grpc-google-cloud-container-v1beta1:2.13.0:2.13.0 +proto-google-cloud-container-v1:2.13.0:2.13.0 +proto-google-cloud-container-v1beta1:2.13.0:2.13.0 +google-cloud-contentwarehouse:0.6.0:0.6.0 +proto-google-cloud-contentwarehouse-v1:0.6.0:0.6.0 +grpc-google-cloud-contentwarehouse-v1:0.6.0:0.6.0 +google-cloud-datacatalog:1.16.0:1.16.0 +grpc-google-cloud-datacatalog-v1:1.16.0:1.16.0 +grpc-google-cloud-datacatalog-v1beta1:0.53.0:0.53.0 +proto-google-cloud-datacatalog-v1:1.16.0:1.16.0 +proto-google-cloud-datacatalog-v1beta1:0.53.0:0.53.0 +google-cloud-dataflow:0.14.0:0.14.0 +grpc-google-cloud-dataflow-v1beta3:0.14.0:0.14.0 +proto-google-cloud-dataflow-v1beta3:0.14.0:0.14.0 +google-cloud-dataform:0.9.0:0.9.0 +proto-google-cloud-dataform-v1alpha2:0.9.0:0.9.0 +grpc-google-cloud-dataform-v1alpha2:0.9.0:0.9.0 +proto-google-cloud-dataform-v1beta1:0.9.0:0.9.0 +grpc-google-cloud-dataform-v1beta1:0.9.0:0.9.0 +google-cloud-data-fusion:1.10.0:1.10.0 +grpc-google-cloud-data-fusion-v1beta1:0.14.0:0.14.0 +grpc-google-cloud-data-fusion-v1:1.10.0:1.10.0 +proto-google-cloud-data-fusion-v1beta1:0.14.0:0.14.0 +proto-google-cloud-data-fusion-v1:1.10.0:1.10.0 +google-cloud-datalabeling:0.130.0:0.130.0 +grpc-google-cloud-datalabeling-v1beta1:0.95.0:0.95.0 +proto-google-cloud-datalabeling-v1beta1:0.95.0:0.95.0 +google-cloud-dataplex:1.8.0:1.8.0 +proto-google-cloud-dataplex-v1:1.8.0:1.8.0 +grpc-google-cloud-dataplex-v1:1.8.0:1.8.0 +google-cloud-dataproc-metastore:2.11.0:2.11.0 +grpc-google-cloud-dataproc-metastore-v1beta:0.15.0:0.15.0 +grpc-google-cloud-dataproc-metastore-v1alpha:0.15.0:0.15.0 +grpc-google-cloud-dataproc-metastore-v1:2.11.0:2.11.0 +proto-google-cloud-dataproc-metastore-v1beta:0.15.0:0.15.0 +proto-google-cloud-dataproc-metastore-v1alpha:0.15.0:0.15.0 +proto-google-cloud-dataproc-metastore-v1:2.11.0:2.11.0 +google-cloud-dataproc:4.7.0:4.7.0 +grpc-google-cloud-dataproc-v1:4.7.0:4.7.0 +proto-google-cloud-dataproc-v1:4.7.0:4.7.0 +google-cloud-datastream:1.9.0:1.9.0 +grpc-google-cloud-datastream-v1alpha1:0.14.0:0.14.0 +proto-google-cloud-datastream-v1alpha1:0.14.0:0.14.0 +proto-google-cloud-datastream-v1:1.9.0:1.9.0 +grpc-google-cloud-datastream-v1:1.9.0:1.9.0 +google-cloud-debugger-client:1.10.0:1.10.0 +grpc-google-cloud-debugger-client-v2:1.10.0:1.10.0 +proto-google-cloud-debugger-client-v2:1.10.0:1.10.0 +proto-google-devtools-source-protos:1.10.0:1.10.0 +google-cloud-deploy:1.8.0:1.8.0 +grpc-google-cloud-deploy-v1:1.8.0:1.8.0 +proto-google-cloud-deploy-v1:1.8.0:1.8.0 +google-cloud-dialogflow-cx:0.21.0:0.21.0 +grpc-google-cloud-dialogflow-cx-v3beta1:0.21.0:0.21.0 +grpc-google-cloud-dialogflow-cx-v3:0.21.0:0.21.0 +proto-google-cloud-dialogflow-cx-v3beta1:0.21.0:0.21.0 +proto-google-cloud-dialogflow-cx-v3:0.21.0:0.21.0 +google-cloud-dialogflow:4.16.0:4.16.0 +grpc-google-cloud-dialogflow-v2beta1:0.114.0:0.114.0 +grpc-google-cloud-dialogflow-v2:4.16.0:4.16.0 +proto-google-cloud-dialogflow-v2:4.16.0:4.16.0 +proto-google-cloud-dialogflow-v2beta1:0.114.0:0.114.0 +google-cloud-discoveryengine:0.6.0:0.6.0 +proto-google-cloud-discoveryengine-v1beta:0.6.0:0.6.0 +grpc-google-cloud-discoveryengine-v1beta:0.6.0:0.6.0 +google-cloud-distributedcloudedge:0.7.0:0.7.0 +proto-google-cloud-distributedcloudedge-v1:0.7.0:0.7.0 +grpc-google-cloud-distributedcloudedge-v1:0.7.0:0.7.0 +google-cloud-dlp:3.14.0:3.14.0 +grpc-google-cloud-dlp-v2:3.14.0:3.14.0 +proto-google-cloud-dlp-v2:3.14.0:3.14.0 +google-cloud-dms:2.9.0:2.9.0 +grpc-google-cloud-dms-v1:2.9.0:2.9.0 +proto-google-cloud-dms-v1:2.9.0:2.9.0 +google-cloud-document-ai:2.14.0:2.14.0 +grpc-google-cloud-document-ai-v1beta1:0.26.0:0.26.0 +grpc-google-cloud-document-ai-v1beta2:0.26.0:0.26.0 +grpc-google-cloud-document-ai-v1beta3:0.26.0:0.26.0 +grpc-google-cloud-document-ai-v1:2.14.0:2.14.0 +proto-google-cloud-document-ai-v1beta1:0.26.0:0.26.0 +proto-google-cloud-document-ai-v1beta2:0.26.0:0.26.0 +proto-google-cloud-document-ai-v1beta3:0.26.0:0.26.0 +proto-google-cloud-document-ai-v1:2.14.0:2.14.0 +google-cloud-domains:1.7.0:1.7.0 +grpc-google-cloud-domains-v1beta1:0.15.0:0.15.0 +grpc-google-cloud-domains-v1alpha2:0.15.0:0.15.0 +grpc-google-cloud-domains-v1:1.7.0:1.7.0 +proto-google-cloud-domains-v1beta1:0.15.0:0.15.0 +proto-google-cloud-domains-v1alpha2:0.15.0:0.15.0 +proto-google-cloud-domains-v1:1.7.0:1.7.0 +google-cloud-enterpriseknowledgegraph:0.6.0:0.6.0 +proto-google-cloud-enterpriseknowledgegraph-v1:0.6.0:0.6.0 +grpc-google-cloud-enterpriseknowledgegraph-v1:0.6.0:0.6.0 +google-cloud-errorreporting:0.131.0-beta:0.131.0-beta +grpc-google-cloud-error-reporting-v1beta1:0.97.0:0.97.0 +proto-google-cloud-error-reporting-v1beta1:0.97.0:0.97.0 +google-cloud-essential-contacts:2.10.0:2.10.0 +grpc-google-cloud-essential-contacts-v1:2.10.0:2.10.0 +proto-google-cloud-essential-contacts-v1:2.10.0:2.10.0 +google-cloud-eventarc:1.10.0:1.10.0 +grpc-google-cloud-eventarc-v1:1.10.0:1.10.0 +proto-google-cloud-eventarc-v1:1.10.0:1.10.0 +google-cloud-eventarc-publishing:0.10.0:0.10.0 +proto-google-cloud-eventarc-publishing-v1:0.10.0:0.10.0 +grpc-google-cloud-eventarc-publishing-v1:0.10.0:0.10.0 +google-cloud-filestore:1.11.0:1.11.0 +grpc-google-cloud-filestore-v1beta1:0.13.0:0.13.0 +grpc-google-cloud-filestore-v1:1.11.0:1.11.0 +proto-google-cloud-filestore-v1:1.11.0:1.11.0 +proto-google-cloud-filestore-v1beta1:0.13.0:0.13.0 +google-cloud-functions:2.12.0:2.12.0 +grpc-google-cloud-functions-v1:2.12.0:2.12.0 +proto-google-cloud-functions-v1:2.12.0:2.12.0 +proto-google-cloud-functions-v2beta:2.12.0:2.12.0 +proto-google-cloud-functions-v2alpha:2.12.0:2.12.0 +grpc-google-cloud-functions-v2beta:2.12.0:2.12.0 +grpc-google-cloud-functions-v2alpha:2.12.0:2.12.0 +proto-google-cloud-functions-v2:2.12.0:2.12.0 +grpc-google-cloud-functions-v2:2.12.0:2.12.0 +google-cloud-game-servers:2.10.0:2.10.0 +grpc-google-cloud-game-servers-v1:2.10.0:2.10.0 +grpc-google-cloud-game-servers-v1beta:0.35.0:0.35.0 +proto-google-cloud-game-servers-v1:2.10.0:2.10.0 +proto-google-cloud-game-servers-v1beta:0.35.0:0.35.0 +google-cloud-gke-backup:0.9.0:0.9.0 +proto-google-cloud-gke-backup-v1:0.9.0:0.9.0 +grpc-google-cloud-gke-backup-v1:0.9.0:0.9.0 +google-cloud-gke-connect-gateway:0.11.0:0.11.0 +grpc-google-cloud-gke-connect-gateway-v1beta1:0.11.0:0.11.0 +proto-google-cloud-gke-connect-gateway-v1beta1:0.11.0:0.11.0 +google-cloud-gkehub:1.10.0:1.10.0 +grpc-google-cloud-gkehub-v1beta1:0.16.0:0.16.0 +grpc-google-cloud-gkehub-v1:1.10.0:1.10.0 +grpc-google-cloud-gkehub-v1alpha:0.16.0:0.16.0 +grpc-google-cloud-gkehub-v1beta:0.16.0:0.16.0 +grpc-google-cloud-gkehub-v1alpha2:0.16.0:0.16.0 +proto-google-cloud-gkehub-v1beta1:0.16.0:0.16.0 +proto-google-cloud-gkehub-v1:1.10.0:1.10.0 +proto-google-cloud-gkehub-v1alpha:0.16.0:0.16.0 +proto-google-cloud-gkehub-v1alpha2:0.16.0:0.16.0 +proto-google-cloud-gkehub-v1beta:0.16.0:0.16.0 +google-cloud-gke-multi-cloud:0.9.0:0.9.0 +proto-google-cloud-gke-multi-cloud-v1:0.9.0:0.9.0 +grpc-google-cloud-gke-multi-cloud-v1:0.9.0:0.9.0 +grafeas:2.11.0:2.11.0 +google-cloud-gsuite-addons:2.10.0:2.10.0 +grpc-google-cloud-gsuite-addons-v1:2.10.0:2.10.0 +proto-google-cloud-gsuite-addons-v1:2.10.0:2.10.0 +proto-google-apps-script-type-protos:2.10.0:2.10.0 +google-iam-admin:3.5.0:3.5.0 +grpc-google-iam-admin-v1:3.5.0:3.5.0 +proto-google-iam-admin-v1:3.5.0:3.5.0 +google-cloud-iamcredentials:2.10.0:2.10.0 +grpc-google-cloud-iamcredentials-v1:2.10.0:2.10.0 +proto-google-cloud-iamcredentials-v1:2.10.0:2.10.0 +google-cloud-ids:1.9.0:1.9.0 +grpc-google-cloud-ids-v1:1.9.0:1.9.0 +proto-google-cloud-ids-v1:1.9.0:1.9.0 +google-cloud-iot:2.10.0:2.10.0 +grpc-google-cloud-iot-v1:2.10.0:2.10.0 +proto-google-cloud-iot-v1:2.10.0:2.10.0 +google-cloud-kms:2.13.0:2.13.0 +grpc-google-cloud-kms-v1:0.104.0:0.104.0 +proto-google-cloud-kms-v1:0.104.0:0.104.0 +google-cloud-language:2.11.0:2.11.0 +grpc-google-cloud-language-v1:2.11.0:2.11.0 +grpc-google-cloud-language-v1beta2:0.98.0:0.98.0 +proto-google-cloud-language-v1:2.11.0:2.11.0 +proto-google-cloud-language-v1beta2:0.98.0:0.98.0 +google-cloud-life-sciences:0.12.0:0.12.0 +grpc-google-cloud-life-sciences-v2beta:0.12.0:0.12.0 +proto-google-cloud-life-sciences-v2beta:0.12.0:0.12.0 +google-cloud-managed-identities:1.8.0:1.8.0 +grpc-google-cloud-managed-identities-v1:1.8.0:1.8.0 +proto-google-cloud-managed-identities-v1:1.8.0:1.8.0 +google-cloud-mediatranslation:0.16.0:0.16.0 +grpc-google-cloud-mediatranslation-v1beta1:0.16.0:0.16.0 +proto-google-cloud-mediatranslation-v1beta1:0.16.0:0.16.0 +google-cloud-memcache:2.10.0:2.10.0 +grpc-google-cloud-memcache-v1beta2:0.17.0:0.17.0 +grpc-google-cloud-memcache-v1:2.10.0:2.10.0 +proto-google-cloud-memcache-v1beta2:0.17.0:0.17.0 +proto-google-cloud-memcache-v1:2.10.0:2.10.0 +google-cloud-monitoring-dashboard:2.12.0:2.12.0 +grpc-google-cloud-monitoring-dashboard-v1:2.12.0:2.12.0 +proto-google-cloud-monitoring-dashboard-v1:2.12.0:2.12.0 +google-cloud-monitoring:3.11.0:3.11.0 +grpc-google-cloud-monitoring-v3:3.11.0:3.11.0 +proto-google-cloud-monitoring-v3:3.11.0:3.11.0 +google-cloud-networkconnectivity:1.9.0:1.9.0 +grpc-google-cloud-networkconnectivity-v1alpha1:0.15.0:0.15.0 +grpc-google-cloud-networkconnectivity-v1:1.9.0:1.9.0 +proto-google-cloud-networkconnectivity-v1alpha1:0.15.0:0.15.0 +proto-google-cloud-networkconnectivity-v1:1.9.0:1.9.0 +google-cloud-network-management:1.11.0:1.11.0 +grpc-google-cloud-network-management-v1beta1:0.13.0:0.13.0 +grpc-google-cloud-network-management-v1:1.11.0:1.11.0 +proto-google-cloud-network-management-v1beta1:0.13.0:0.13.0 +proto-google-cloud-network-management-v1:1.11.0:1.11.0 +google-cloud-network-security:0.13.0:0.13.0 +grpc-google-cloud-network-security-v1beta1:0.13.0:0.13.0 +proto-google-cloud-network-security-v1beta1:0.13.0:0.13.0 +proto-google-cloud-network-security-v1:0.13.0:0.13.0 +grpc-google-cloud-network-security-v1:0.13.0:0.13.0 +google-cloud-notebooks:1.8.0:1.8.0 +grpc-google-cloud-notebooks-v1beta1:0.15.0:0.15.0 +grpc-google-cloud-notebooks-v1:1.8.0:1.8.0 +proto-google-cloud-notebooks-v1beta1:0.15.0:0.15.0 +proto-google-cloud-notebooks-v1:1.8.0:1.8.0 +google-cloud-notification:0.128.0-beta:0.128.0-beta +google-cloud-optimization:1.8.0:1.8.0 +proto-google-cloud-optimization-v1:1.8.0:1.8.0 +grpc-google-cloud-optimization-v1:1.8.0:1.8.0 +google-cloud-orchestration-airflow:1.10.0:1.10.0 +grpc-google-cloud-orchestration-airflow-v1:1.10.0:1.10.0 +grpc-google-cloud-orchestration-airflow-v1beta1:0.13.0:0.13.0 +proto-google-cloud-orchestration-airflow-v1:1.10.0:1.10.0 +proto-google-cloud-orchestration-airflow-v1beta1:0.13.0:0.13.0 +google-cloud-orgpolicy:2.10.0:2.10.0 +grpc-google-cloud-orgpolicy-v2:2.10.0:2.10.0 +proto-google-cloud-orgpolicy-v1:2.10.0:2.10.0 +proto-google-cloud-orgpolicy-v2:2.10.0:2.10.0 +google-cloud-os-config:2.12.0:2.12.0 +grpc-google-cloud-os-config-v1:2.12.0:2.12.0 +grpc-google-cloud-os-config-v1beta:2.12.0:2.12.0 +grpc-google-cloud-os-config-v1alpha:2.12.0:2.12.0 +proto-google-cloud-os-config-v1:2.12.0:2.12.0 +proto-google-cloud-os-config-v1alpha:2.12.0:2.12.0 +proto-google-cloud-os-config-v1beta:2.12.0:2.12.0 +google-cloud-os-login:2.9.0:2.9.0 +grpc-google-cloud-os-login-v1:2.9.0:2.9.0 +proto-google-cloud-os-login-v1:2.9.0:2.9.0 +google-cloud-phishingprotection:0.41.0:0.41.0 +grpc-google-cloud-phishingprotection-v1beta1:0.41.0:0.41.0 +proto-google-cloud-phishingprotection-v1beta1:0.41.0:0.41.0 +google-cloud-policy-troubleshooter:1.9.0:1.9.0 +grpc-google-cloud-policy-troubleshooter-v1:1.9.0:1.9.0 +proto-google-cloud-policy-troubleshooter-v1:1.9.0:1.9.0 +google-cloud-private-catalog:0.12.0:0.12.0 +grpc-google-cloud-private-catalog-v1beta1:0.12.0:0.12.0 +proto-google-cloud-private-catalog-v1beta1:0.12.0:0.12.0 +google-cloud-profiler:2.10.0:2.10.0 +grpc-google-cloud-profiler-v2:2.10.0:2.10.0 +proto-google-cloud-profiler-v2:2.10.0:2.10.0 +google-cloud-publicca:0.7.0:0.7.0 +proto-google-cloud-publicca-v1beta1:0.7.0:0.7.0 +grpc-google-cloud-publicca-v1beta1:0.7.0:0.7.0 +google-cloud-recaptchaenterprise:3.7.0:3.7.0 +grpc-google-cloud-recaptchaenterprise-v1:3.7.0:3.7.0 +grpc-google-cloud-recaptchaenterprise-v1beta1:0.49.0:0.49.0 +proto-google-cloud-recaptchaenterprise-v1:3.7.0:3.7.0 +proto-google-cloud-recaptchaenterprise-v1beta1:0.49.0:0.49.0 +google-cloud-recommendations-ai:0.17.0:0.17.0 +grpc-google-cloud-recommendations-ai-v1beta1:0.17.0:0.17.0 +proto-google-cloud-recommendations-ai-v1beta1:0.17.0:0.17.0 +google-cloud-recommender:2.12.0:2.12.0 +grpc-google-cloud-recommender-v1:2.12.0:2.12.0 +grpc-google-cloud-recommender-v1beta1:0.24.0:0.24.0 +proto-google-cloud-recommender-v1:2.12.0:2.12.0 +proto-google-cloud-recommender-v1beta1:0.24.0:0.24.0 +google-cloud-redis:2.13.0:2.13.0 +grpc-google-cloud-redis-v1beta1:0.101.0:0.101.0 +grpc-google-cloud-redis-v1:2.13.0:2.13.0 +proto-google-cloud-redis-v1:2.13.0:2.13.0 +proto-google-cloud-redis-v1beta1:0.101.0:0.101.0 +google-cloud-resourcemanager:1.12.0:1.12.0 +grpc-google-cloud-resourcemanager-v3:1.12.0:1.12.0 +proto-google-cloud-resourcemanager-v3:1.12.0:1.12.0 +google-cloud-resource-settings:1.10.0:1.10.0 +grpc-google-cloud-resource-settings-v1:1.10.0:1.10.0 +proto-google-cloud-resource-settings-v1:1.10.0:1.10.0 +google-cloud-retail:2.12.0:2.12.0 +grpc-google-cloud-retail-v2:2.12.0:2.12.0 +proto-google-cloud-retail-v2:2.12.0:2.12.0 +proto-google-cloud-retail-v2alpha:2.12.0:2.12.0 +proto-google-cloud-retail-v2beta:2.12.0:2.12.0 +grpc-google-cloud-retail-v2alpha:2.12.0:2.12.0 +grpc-google-cloud-retail-v2beta:2.12.0:2.12.0 +google-cloud-run:0.10.0:0.10.0 +proto-google-cloud-run-v2:0.10.0:0.10.0 +grpc-google-cloud-run-v2:0.10.0:0.10.0 +google-cloud-scheduler:2.10.0:2.10.0 +grpc-google-cloud-scheduler-v1beta1:0.95.0:0.95.0 +grpc-google-cloud-scheduler-v1:2.10.0:2.10.0 +proto-google-cloud-scheduler-v1beta1:0.95.0:0.95.0 +proto-google-cloud-scheduler-v1:2.10.0:2.10.0 +google-cloud-secretmanager:2.10.0:2.10.0 +grpc-google-cloud-secretmanager-v1:2.10.0:2.10.0 +grpc-google-cloud-secretmanager-v1beta1:2.10.0:2.10.0 +proto-google-cloud-secretmanager-v1:2.10.0:2.10.0 +proto-google-cloud-secretmanager-v1beta1:2.10.0:2.10.0 +google-cloud-securitycenter:2.18.0:2.18.0 +grpc-google-cloud-securitycenter-v1:2.18.0:2.18.0 +grpc-google-cloud-securitycenter-v1beta1:0.113.0:0.113.0 +grpc-google-cloud-securitycenter-v1p1beta1:0.113.0:0.113.0 +proto-google-cloud-securitycenter-v1:2.18.0:2.18.0 +proto-google-cloud-securitycenter-v1beta1:0.113.0:0.113.0 +proto-google-cloud-securitycenter-v1p1beta1:0.113.0:0.113.0 +google-cloud-securitycenter-settings:0.13.0:0.13.0 +grpc-google-cloud-securitycenter-settings-v1beta1:0.13.0:0.13.0 +proto-google-cloud-securitycenter-settings-v1beta1:0.13.0:0.13.0 +google-cloud-security-private-ca:2.12.0:2.12.0 +grpc-google-cloud-security-private-ca-v1beta1:0.19.0:0.19.0 +grpc-google-cloud-security-private-ca-v1:2.12.0:2.12.0 +proto-google-cloud-security-private-ca-v1beta1:0.19.0:0.19.0 +proto-google-cloud-security-private-ca-v1:2.12.0:2.12.0 +google-cloud-service-control:1.10.0:1.10.0 +grpc-google-cloud-service-control-v1:1.10.0:1.10.0 +proto-google-cloud-service-control-v1:1.10.0:1.10.0 +proto-google-cloud-service-control-v2:1.10.0:1.10.0 +grpc-google-cloud-service-control-v2:1.10.0:1.10.0 +google-cloud-servicedirectory:2.11.0:2.11.0 +grpc-google-cloud-servicedirectory-v1beta1:0.19.0:0.19.0 +grpc-google-cloud-servicedirectory-v1:2.11.0:2.11.0 +proto-google-cloud-servicedirectory-v1beta1:0.19.0:0.19.0 +proto-google-cloud-servicedirectory-v1:2.11.0:2.11.0 +google-cloud-service-management:3.8.0:3.8.0 +grpc-google-cloud-service-management-v1:3.8.0:3.8.0 +proto-google-cloud-service-management-v1:3.8.0:3.8.0 +google-cloud-service-usage:2.10.0:2.10.0 +grpc-google-cloud-service-usage-v1beta1:0.14.0:0.14.0 +grpc-google-cloud-service-usage-v1:2.10.0:2.10.0 +proto-google-cloud-service-usage-v1:2.10.0:2.10.0 +proto-google-cloud-service-usage-v1beta1:0.14.0:0.14.0 +google-cloud-shell:2.9.0:2.9.0 +grpc-google-cloud-shell-v1:2.9.0:2.9.0 +proto-google-cloud-shell-v1:2.9.0:2.9.0 +google-cloud-speech:4.5.0:4.5.0 +grpc-google-cloud-speech-v1:4.5.0:4.5.0 +grpc-google-cloud-speech-v1beta1:2.5.0:2.5.0 +grpc-google-cloud-speech-v1p1beta1:2.5.0:2.5.0 +proto-google-cloud-speech-v1:4.5.0:4.5.0 +proto-google-cloud-speech-v1beta1:2.5.0:2.5.0 +proto-google-cloud-speech-v1p1beta1:2.5.0:2.5.0 +proto-google-cloud-speech-v2:4.5.0:4.5.0 +grpc-google-cloud-speech-v2:4.5.0:4.5.0 +google-cloud-storage-transfer:1.10.0:1.10.0 +grpc-google-cloud-storage-transfer-v1:1.10.0:1.10.0 +proto-google-cloud-storage-transfer-v1:1.10.0:1.10.0 +google-cloud-talent:2.11.0:2.11.0 +grpc-google-cloud-talent-v4:2.11.0:2.11.0 +grpc-google-cloud-talent-v4beta1:0.54.0:0.54.0 +proto-google-cloud-talent-v4:2.11.0:2.11.0 +proto-google-cloud-talent-v4beta1:0.54.0:0.54.0 +google-cloud-tasks:2.10.0:2.10.0 +grpc-google-cloud-tasks-v2beta3:0.100.0:0.100.0 +grpc-google-cloud-tasks-v2beta2:0.100.0:0.100.0 +grpc-google-cloud-tasks-v2:2.10.0:2.10.0 +proto-google-cloud-tasks-v2beta3:0.100.0:0.100.0 +proto-google-cloud-tasks-v2beta2:0.100.0:0.100.0 +proto-google-cloud-tasks-v2:2.10.0:2.10.0 +google-cloud-texttospeech:2.11.0:2.11.0 +grpc-google-cloud-texttospeech-v1beta1:0.100.0:0.100.0 +grpc-google-cloud-texttospeech-v1:2.11.0:2.11.0 +proto-google-cloud-texttospeech-v1:2.11.0:2.11.0 +proto-google-cloud-texttospeech-v1beta1:0.100.0:0.100.0 +google-cloud-tpu:2.11.0:2.11.0 +grpc-google-cloud-tpu-v1:2.11.0:2.11.0 +grpc-google-cloud-tpu-v2alpha1:2.11.0:2.11.0 +proto-google-cloud-tpu-v1:2.11.0:2.11.0 +proto-google-cloud-tpu-v2alpha1:2.11.0:2.11.0 +google-cloud-trace:2.10.0:2.10.0 +grpc-google-cloud-trace-v1:2.10.0:2.10.0 +grpc-google-cloud-trace-v2:2.10.0:2.10.0 +proto-google-cloud-trace-v1:2.10.0:2.10.0 +proto-google-cloud-trace-v2:2.10.0:2.10.0 +google-cloud-translate:2.10.0:2.10.0 +grpc-google-cloud-translate-v3beta1:0.92.0:0.92.0 +grpc-google-cloud-translate-v3:2.10.0:2.10.0 +proto-google-cloud-translate-v3beta1:0.92.0:0.92.0 +proto-google-cloud-translate-v3:2.10.0:2.10.0 +google-cloud-video-intelligence:2.9.0:2.9.0 +grpc-google-cloud-video-intelligence-v1p1beta1:0.99.0:0.99.0 +grpc-google-cloud-video-intelligence-v1beta2:0.99.0:0.99.0 +grpc-google-cloud-video-intelligence-v1:2.9.0:2.9.0 +grpc-google-cloud-video-intelligence-v1p2beta1:0.99.0:0.99.0 +grpc-google-cloud-video-intelligence-v1p3beta1:0.99.0:0.99.0 +proto-google-cloud-video-intelligence-v1p3beta1:0.99.0:0.99.0 +proto-google-cloud-video-intelligence-v1beta2:0.99.0:0.99.0 +proto-google-cloud-video-intelligence-v1p1beta1:0.99.0:0.99.0 +proto-google-cloud-video-intelligence-v1:2.9.0:2.9.0 +proto-google-cloud-video-intelligence-v1p2beta1:0.99.0:0.99.0 +google-cloud-live-stream:0.12.0:0.12.0 +proto-google-cloud-live-stream-v1:0.12.0:0.12.0 +grpc-google-cloud-live-stream-v1:0.12.0:0.12.0 +google-cloud-video-stitcher:0.10.0:0.10.0 +proto-google-cloud-video-stitcher-v1:0.10.0:0.10.0 +grpc-google-cloud-video-stitcher-v1:0.10.0:0.10.0 +google-cloud-video-transcoder:1.9.0:1.9.0 +grpc-google-cloud-video-transcoder-v1:1.9.0:1.9.0 +proto-google-cloud-video-transcoder-v1:1.9.0:1.9.0 +google-cloud-vision:3.8.0:3.8.0 +grpc-google-cloud-vision-v1p3beta1:0.97.0:0.97.0 +grpc-google-cloud-vision-v1p1beta1:0.97.0:0.97.0 +grpc-google-cloud-vision-v1p4beta1:0.97.0:0.97.0 +grpc-google-cloud-vision-v1p2beta1:3.8.0:3.8.0 +grpc-google-cloud-vision-v1:3.8.0:3.8.0 +proto-google-cloud-vision-v1p4beta1:0.97.0:0.97.0 +proto-google-cloud-vision-v1:3.8.0:3.8.0 +proto-google-cloud-vision-v1p1beta1:0.97.0:0.97.0 +proto-google-cloud-vision-v1p3beta1:0.97.0:0.97.0 +proto-google-cloud-vision-v1p2beta1:3.8.0:3.8.0 +google-cloud-vmmigration:1.10.0:1.10.0 +grpc-google-cloud-vmmigration-v1:1.10.0:1.10.0 +proto-google-cloud-vmmigration-v1:1.10.0:1.10.0 +google-cloud-vpcaccess:2.11.0:2.11.0 +grpc-google-cloud-vpcaccess-v1:2.11.0:2.11.0 +proto-google-cloud-vpcaccess-v1:2.11.0:2.11.0 +google-cloud-webrisk:2.9.0:2.9.0 +grpc-google-cloud-webrisk-v1:2.9.0:2.9.0 +grpc-google-cloud-webrisk-v1beta1:0.46.0:0.46.0 +proto-google-cloud-webrisk-v1:2.9.0:2.9.0 +proto-google-cloud-webrisk-v1beta1:0.46.0:0.46.0 +google-cloud-websecurityscanner:2.10.0:2.10.0 +grpc-google-cloud-websecurityscanner-v1alpha:0.97.0:0.97.0 +grpc-google-cloud-websecurityscanner-v1beta:0.97.0:0.97.0 +grpc-google-cloud-websecurityscanner-v1:2.10.0:2.10.0 +proto-google-cloud-websecurityscanner-v1alpha:0.97.0:0.97.0 +proto-google-cloud-websecurityscanner-v1beta:0.97.0:0.97.0 +proto-google-cloud-websecurityscanner-v1:2.10.0:2.10.0 +google-cloud-workflow-executions:2.10.0:2.10.0 +grpc-google-cloud-workflow-executions-v1beta:0.14.0:0.14.0 +grpc-google-cloud-workflow-executions-v1:2.10.0:2.10.0 +proto-google-cloud-workflow-executions-v1beta:0.14.0:0.14.0 +proto-google-cloud-workflow-executions-v1:2.10.0:2.10.0 +google-cloud-workflows:2.10.0:2.10.0 +grpc-google-cloud-workflows-v1beta:0.16.0:0.16.0 +grpc-google-cloud-workflows-v1:2.10.0:2.10.0 +proto-google-cloud-workflows-v1beta:0.16.0:0.16.0 +proto-google-cloud-workflows-v1:2.10.0:2.10.0 +google-cloud-dns:2.8.0:2.8.0 +google-maps-routing:0.4.0:0.4.0 +proto-google-maps-routing-v2:0.4.0:0.4.0 +grpc-google-maps-routing-v2:0.4.0:0.4.0 +google-cloud-vmwareengine:0.4.0:0.4.0 +proto-google-cloud-vmwareengine-v1:0.4.0:0.4.0 +grpc-google-cloud-vmwareengine-v1:0.4.0:0.4.0 +google-maps-addressvalidation:0.4.0:0.4.0 +proto-google-maps-addressvalidation-v1:0.4.0:0.4.0 +grpc-google-maps-addressvalidation-v1:0.4.0:0.4.0 +proto-google-cloud-bigquerydatapolicy-v1:0.7.0:0.7.0 +grpc-google-cloud-bigquerydatapolicy-v1:0.7.0:0.7.0 +google-cloud-monitoring-metricsscope:0.4.0:0.4.0 +proto-google-cloud-monitoring-metricsscope-v1:0.4.0:0.4.0 +grpc-google-cloud-monitoring-metricsscope-v1:0.4.0:0.4.0 +proto-google-cloud-tpu-v2:2.11.0:2.11.0 +grpc-google-cloud-tpu-v2:2.11.0:2.11.0 +google-cloud-datalineage:0.2.0:0.2.0 +proto-google-cloud-datalineage-v1:0.2.0:0.2.0 +grpc-google-cloud-datalineage-v1:0.2.0:0.2.0 +google-cloud-shared-dependencies:3.2.0:3.2.0 +google-cloud-core:2.10.0:2.10.0 +google-iam-policy:1.8.0:1.8.0